/* Scheme 01 · 08-03/06/07/08/09/10/12.
 * Styling of original finance sections and native forms.
 * Source navigation, visibility, financial states and submission stay owned
 * by the existing controllers. Nested selectors never escape these roots.
 */
@layer plan01 {
  body.erp-plan01 #financeView:not([data-plan01-ledger-active="true"]) :is(
    #financeExpenseSection,
    #financeStatementCenterSection,
    #financeReceivableRiskSection,
    #financeCollectionTaskSection,
    #financeProfitExplainSection,
    #financeFundSection,
    #financeOpeningSection,
    #financeProfileSection,
    #financeMonthCloseSection
  ) {
    min-width: 0;
    scroll-margin-top: 150px;
    margin: 0 !important;
    padding: 22px 28px 28px !important;
    color: #172438;
    background: #fff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-variant-numeric: tabular-nums;

    & *, & *::before, & *::after { box-sizing: border-box; }

    & > .panel-header {
      flex-wrap: wrap;
      align-items: flex-start !important;
      gap: 12px 20px !important;
      min-width: 0;
      margin: 0 0 20px !important;
      padding: 0 !important;
      border: 0 !important;
    }

    & > .panel-header > div { min-width: 0; }
    & > .panel-header > div:has(> button) {
      flex-wrap: wrap;
      gap: 8px !important;
      max-width: 100%;
    }
    & > .panel-header h2 {
      margin: 0 0 6px !important;
      color: #172438 !important;
      font-size: 29px !important;
      font-weight: 740 !important;
      line-height: 1.28 !important;
      letter-spacing: -.5px;
      overflow-wrap: anywhere;
    }
    & > .panel-header span {
      color: #66768c !important;
      font-size: 14px !important;
      line-height: 1.55 !important;
      white-space: normal;
    }

    & :is(button, summary) {
      min-height: 39px !important;
      max-width: 100%;
      border-radius: 5px !important;
      font-size: 13px !important;
      line-height: 1.4;
      white-space: normal;
    }
    & :is(.small-button, .ghost-button) {
      padding: 8px 15px !important;
      color: #172438;
      background: #fff;
      border: 1px solid #ccdae6;
    }
    & button:disabled { opacity: .5; cursor: not-allowed; }
    & :is(button, a, input, select, summary):focus-visible {
      outline: 2px solid #008575 !important;
      outline-offset: 3px;
    }

    & > .module-grid {
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)) !important;
      gap: 12px !important;
      min-width: 0;
      margin: 0 0 20px !important;
    }
    & > .module-grid > :is(.mini-card, .module-card, article) {
      min-width: 0;
      padding: 14px 16px !important;
      background: #f4f8fa !important;
      border: 1px solid #e0e9f0 !important;
      border-radius: 5px !important;
      box-shadow: none !important;
    }
    & > .module-grid > :is(.mini-card, .module-card, article) > span {
      color: #66768c !important;
      font-size: 12px !important;
    }
    & > .module-grid > :is(.mini-card, .module-card, article) > strong {
      display: block;
      margin: 6px 0 !important;
      color: #172438 !important;
      font-size: 22px !important;
      font-weight: 700 !important;
      line-height: 1.3;
    }
    & > .module-grid > :is(.mini-card, .module-card, article) > p {
      margin: 0;
      color: #66768c !important;
      font-size: 12px !important;
      line-height: 1.55;
    }

    & :is(.finance-account-reconcile-first-card, .finance-account-close-loop-card,
      .finance-gate-card, .finance-analysis-action-card, .finance-next-step-band,
      .finance-analysis-support-panel, .finance-account-close-loop-strip) {
      min-width: 0;
      padding: 14px 16px !important;
      background: #f4f8fa !important;
      border: 1px solid #e0e9f0 !important;
      border-radius: 5px !important;
      box-shadow: none !important;
    }
    & :is(.finance-account-reconcile-first-card, .finance-account-close-loop-card,
      .finance-gate-card, .finance-analysis-action-card) :is(p, span, em) {
      color: #66768c;
      line-height: 1.55;
      overflow-wrap: anywhere;
    }
    & :is(.finance-account-reconcile-first-card, .finance-account-close-loop-card).is-warn {
      background: #fff2dc !important;
      border-color: #e3ca9c !important;
    }
    & :is(.finance-account-reconcile-first-card, .finance-account-close-loop-card).is-warn :is(p, span, em) {
      color: #87500d;
    }
    & :is(.finance-account-reconcile-first-card, .finance-account-close-loop-card).is-work {
      background: #e8f2ff !important;
      border-color: #bed4ee !important;
    }

    & .finance-filter-toolbar {
      flex-wrap: wrap;
      align-items: center;
      gap: 10px !important;
      min-width: 0;
      margin: 0 0 16px !important;
      padding: 0 !important;
      background: #fff !important;
      border: 0 !important;
      border-radius: 0 !important;
    }
    & .finance-filter-toolbar > :is(input, select, .check-chip) {
      flex: 0 1 auto !important;
      width: auto !important;
      min-width: 0 !important;
      max-width: 100%;
      min-height: 39px;
      margin: 0;
      border: 1px solid #cad8e5 !important;
      border-radius: 5px !important;
      background: #fff !important;
      color: #40536a;
    }
    & .finance-filter-toolbar > input:not([type="date"]) {
      flex: 1 1 320px !important;
      width: 320px !important;
    }
    & .finance-filter-toolbar > :is(input, select) { padding: 8px 12px; }
    & .finance-filter-toolbar .check-chip {
      gap: 8px !important;
      padding: 8px 12px !important;
      white-space: normal;
    }
    & .check-chip input[type="checkbox"] {
      flex: 0 0 auto;
      width: 18px !important;
      height: 18px !important;
      min-height: 18px !important;
      margin: 0;
      accent-color: #008575;
    }

    & .table-wrap {
      min-width: 0;
      max-width: 100%;
      overflow-x: auto;
      margin: 0;
      border: 1px solid #e0e9f0 !important;
      border-radius: 5px !important;
      scrollbar-color: #99afca #f4f8fa;
    }
    & table {
      width: 100%;
      min-width: 960px !important;
      border-collapse: collapse;
      table-layout: auto !important;
      color: #172438;
      font-size: 13px !important;
    }
    & th {
      height: 43px;
      padding: 12px 14px !important;
      color: #485b73 !important;
      background: #f0f6f9 !important;
      border-bottom: 1px solid #e0e9f0 !important;
      font-size: 12px !important;
      font-weight: 600 !important;
      text-align: left;
      white-space: nowrap;
    }
    & td {
      padding: 14px !important;
      border-bottom: 1px solid #e0e9f0 !important;
      font-size: 13px !important;
      line-height: 1.5;
      vertical-align: middle;
    }
    & :is(th, td) + :is(th, td) { border-left: 1px solid #edf2f6; }
    & tbody tr:first-child { background: #f6fcfa; }
    & tbody tr:hover { background: #f4f8fa; }
    & td :is(a, .link-button) { color: #1879d2; text-underline-offset: 3px; }
    & input { caret-color: #008575; }
    & input::placeholder { color: #66768c; }
    & ::selection { color: #172438; background: #d0f6eb; }

    @media (max-width: 980px) {
      scroll-margin-top: 140px;
      padding: 20px 0 24px !important;
      & > .panel-header { gap: 12px !important; }
      & > .panel-header h2 { font-size: 24px !important; }
      & > .panel-header > div:has(> button) { width: 100%; }
      & > .module-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
      }
      & > .module-grid > :is(.mini-card, .module-card, article) { padding: 12px !important; }
      & > .module-grid strong { overflow-wrap: anywhere; }
      & :is(button, summary) { min-height: 44px !important; }
      & .finance-filter-toolbar > :is(input, select, .check-chip) {
        flex: 1 1 100% !important;
        width: 100% !important;
        min-height: 44px !important;
      }
      & .finance-filter-toolbar > input:not([type="date"]) {
        flex: 1 1 100% !important;
        width: 100% !important;
      }
      & .finance-filter-toolbar > button { flex: 1 1 144px; }
      & .table-wrap { margin-top: 12px; }
    }
  }

  body.erp-plan01 #financeView:not([data-plan01-ledger-active="true"]) {
    & > .module-grid[data-finance-board="collection"]:has(> #financeReceivableRiskSection) {
      grid-template-columns: minmax(0, 1fr) !important;
      min-width: 0;
      gap: 0 !important;
    }
    & :is(#financeReceivableRiskSection, #financeCollectionTaskSection) > .panel-header h2 {
      font-size: 20px !important;
    }
    & #financeProfileSection table { min-width: 700px !important; }
    & #financeFundSection table { min-width: 1160px !important; }
    & #financeFundSection > .table-wrap:has(> table > #financeFundAccountTable),
    & #financeProfileSection > .table-wrap:has(> table > #financeProfileTable) {
      margin-bottom: 24px;
    }
    & #financeMonthCloseSection > .panel-header > h2 { flex: 1 0 100%; }
    & #financeMonthCloseSection > .panel-header > span { flex: 1 1 360px; }
    & #financeStatementCenterSection .finance-filter-toolbar > .check-chip { flex-basis: auto; }

    & #financeProfileSection :is(.finance-profile-health-card, .finance-profile-boundary-card, .finance-profile-initialization-card) {
      min-width: 0;
      padding: 14px 16px !important;
      border: 1px solid #e0e9f0 !important;
      border-radius: 5px !important;
      background: #f4f8fa !important;
      box-shadow: none !important;
    }
    & #financeProfileSection :is(.finance-profile-health-strip, .finance-profile-initialization-strip) {
      grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    }
    & #financeProfileSection .finance-profile-boundary-body {
      grid-template-columns: minmax(0, 1fr);
    }
    & :is(#newCashAccountBtn, #newFinanceOpeningBtn, #closeFinanceMonthBtn) {
      background: #008575 !important;
      color: #fff !important;
      border-color: #008575 !important;
    }
    @media (max-width: 980px) {
      & #financeMonthCloseSection > .panel-header > :is(h2, span) { flex: 0 1 auto; }
    }
  }

  /* [open] leaves the browser and original controller in charge of modality. */
  body.erp-plan01 :is(#paymentDialog, #financeOpeningDialog, #cashAccountDialog)[open] {
    width: min(1040px, calc(100vw - 48px)) !important;
    max-width: calc(100vw - 48px) !important;
    max-height: calc(100dvh - 48px) !important;
    margin: auto !important;
    padding: 0 !important;
    border: 1px solid #e0e9f0 !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #172438;

    & *, & *::before, & *::after { box-sizing: border-box; }
    &::backdrop { background: rgba(23, 36, 56, .4); }
    & > .dialog-card {
      width: 100% !important;
      max-width: none !important;
      max-height: calc(100dvh - 50px) !important;
      margin: 0 !important;
      padding: 0 28px 24px !important;
      overflow-y: auto;
      overflow-x: hidden;
      gap: 0;
      border: 0 !important;
      border-radius: 0 !important;
      scrollbar-color: #99afca #f4f8fa;
    }
    & .dialog-header {
      flex-shrink: 0;
      align-items: center;
      gap: 16px;
      margin: 0 0 20px !important;
      padding: 22px 0 16px !important;
      border-bottom: 1px solid #e0e9f0 !important;
    }
    & .dialog-header h2 {
      margin: 0 !important;
      font-size: 29px !important;
      font-weight: 740 !important;
      line-height: 1.28;
      letter-spacing: -.5px;
    }
    & .dialog-header .icon-button {
      width: 44px !important;
      height: 44px !important;
      min-height: 44px !important;
      flex: 0 0 44px;
      border-radius: 5px;
    }
    & .form-grid {
      flex-shrink: 0;
      grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
      gap: 16px 24px !important;
      margin: 0 0 20px !important;
      padding: 0 !important;
    }
    & label {
      min-width: 0;
      margin: 0;
      color: #172438 !important;
      font-size: 13px !important;
      font-weight: 550;
      line-height: 1.5;
    }
    & .dialog-card > label { flex-shrink: 0; margin: 0 0 20px !important; }
    & .form-span-2 { grid-column: 1 / -1 !important; }
    & :is(input:not([type="hidden"]), select, textarea) {
      width: 100%;
      min-width: 0;
      max-width: 100%;
      min-height: 44px !important;
      margin-top: 6px;
      padding: 10px 12px;
      color: #40536a;
      border: 1px solid #cad8e5;
      border-radius: 5px;
      background: #fff;
      font-size: 14px !important;
      line-height: 1.5;
      caret-color: #008575;
    }
    & input[readonly] { background: #f6f9fb !important; }
    & input::placeholder, & textarea::placeholder { color: #66768c; }
    & small { color: #66768c; line-height: 1.55; }
    & textarea { resize: vertical; }
    & .dialog-actions {
      flex-shrink: 0;
      flex-wrap: wrap;
      gap: 10px !important;
      margin: 0 !important;
      padding: 18px 0 0 !important;
      border-top: 1px solid #e0e9f0;
    }
    & .dialog-actions button {
      min-height: 44px !important;
      padding: 10px 19px;
      border-radius: 5px !important;
      font-weight: 550;
    }
    & button:disabled { opacity: .5; cursor: not-allowed; }
    & :is(button, input, select, textarea):focus-visible {
      outline: 2px solid #008575 !important;
      outline-offset: 3px;
    }
    & ::selection { color: #172438; background: #d0f6eb; }

    @media (max-width: 980px) {
      width: calc(100vw - 24px) !important;
      max-width: calc(100vw - 24px) !important;
      max-height: calc(100dvh - 24px) !important;
      & > .dialog-card {
        max-height: calc(100dvh - 26px) !important;
        padding: 0 16px 20px !important;
      }
      & .dialog-header { padding-top: 16px !important; }
      & .dialog-header h2 { font-size: 24px !important; }
      & .form-grid { grid-template-columns: minmax(0, 1fr) !important; }
      & .form-grid > * { min-width: 0; grid-column: 1 / -1 !important; }
      & .dialog-actions button { flex: 1 1 auto; }
      & input[type="file"] { padding-inline: 8px; font-size: 12px !important; }
    }
  }
}

/* 020: the original 420-line baseline above is unchanged, including three forms.
 * Four scoped main sections only. No visibility grants or new business controls. */
@layer plan01 {
  body.erp-plan01 #financeView:not([data-plan01-ledger-active="true"]) :is(
    #financeFundSection, #financeOpeningSection, #financeProfileSection, #financeMonthCloseSection
  )[data-plan01-support-structure="020"] {
    & > .plan01-support-divider {
      margin: 24px 0 12px !important;
      padding: 20px 0 0;
      border-top: 1px solid #e0e9f0;
      color: #172438;
      font-size: 18px;
      font-weight: 700;
      line-height: 1.5;
    }
    & > .table-wrap { margin: 0 !important; }
    & > .table-wrap:focus-visible { outline: 2px solid #008575; outline-offset: 3px; }
    & > .table-wrap td { padding: 10px 12px !important; }
    & > .module-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
      gap: 12px !important;
      margin-bottom: 12px !important;
    }
    & > .module-grid > :is(.mini-card, .module-card, article) {
      padding: 12px !important;
    }
    & > .module-grid > :is(.mini-card, .module-card, article) > strong {
      font-size: 18px !important;
      overflow-wrap: normal !important;
      word-break: normal !important;
      white-space: normal !important;
    }
    & :is(.finance-account-reconcile-first-strip, .finance-account-close-loop-grid,
      .finance-profile-health-strip, .finance-profile-initialization-strip,
      .finance-gate-band, .finance-analysis-action-band, .finance-next-step-band) {
      grid-template-columns: minmax(0, 1fr) !important;
      gap: 8px !important;
    }
    & :is(.finance-account-reconcile-first-card, .finance-account-close-loop-card,
      .finance-profile-health-card, .finance-gate-card-scope, .finance-next-step-card) {
      grid-template-columns: minmax(110px, .8fr) minmax(160px, 1fr) minmax(0, 2fr) auto !important;
      align-items: center;
      gap: 12px !important;
      min-height: 0 !important;
      padding: 12px 16px !important;
      text-align: left;
    }
    & :is(.finance-account-reconcile-first-card, .finance-account-close-loop-card,
      .finance-profile-health-card, .finance-gate-card-scope, .finance-next-step-card) > :is(span, strong, p, em) {
      min-width: 0;
      margin: 0 !important;
      line-height: 1.55;
      overflow-wrap: break-word;
    }
    & :is(.finance-account-reconcile-first-card, .finance-account-close-loop-card,
      .finance-profile-health-card, .finance-gate-card-scope, .finance-next-step-card) > strong {
      font-size: 16px !important;
      word-break: normal;
      overflow-wrap: normal;
    }
    & :is(.finance-account-close-loop-strip, .finance-next-step-band) {
      padding: 0 !important;
      border: 0 !important;
      background: transparent !important;
      box-shadow: none !important;
    }
    & .finance-account-close-loop-head { margin: 16px 0 12px; gap: 12px; }
    & .finance-account-close-loop-head > div { min-width: 0; }
    & .finance-account-close-loop-head > button { flex-shrink: 0; }
    & .finance-profile-boundary-body {
      grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
      gap: 16px;
    }
    & .finance-profile-initialization-card { padding: 12px 16px !important; }
    & .finance-profile-initialization-card > header { gap: 12px; }
    & .finance-profile-initialization-card > header > div { min-width: 0; }
    & .finance-profile-initialization-card strong { font-size: 16px; }
    & .finance-profile-initialization-card p { margin: 8px 0 0; }
    & .finance-analysis-action-card-profile {
      grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto;
      gap: 16px;
      align-items: center;
      padding: 12px 16px !important;
    }
    & .finance-analysis-action-card-profile :is(p, .finance-analysis-action-head) { margin: 0; }
    & .finance-analysis-action-head { min-width: 0; flex-wrap: wrap; }
    & :is(.finance-profile-health-card, .finance-profile-initialization-card).is-warn {
      background: #fff2dc !important;
      border-color: #e3ca9c !important;
    }
    & :is(.finance-profile-health-card, .finance-profile-initialization-card).is-warn :is(span, p) { color: #87500d; }
    & .finance-jump-card:focus-visible { outline: 2px solid #008575 !important; outline-offset: 3px; }
    @media (max-width: 980px) {
      & > .module-grid { grid-template-columns: minmax(0, 1fr) !important; }
      & :is(.finance-account-reconcile-first-card, .finance-account-close-loop-card,
        .finance-profile-health-card, .finance-gate-card-scope, .finance-next-step-card,
        .finance-profile-boundary-body, .finance-analysis-action-card-profile) {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 8px !important;
        align-items: start;
      }
      & .finance-account-close-loop-head { flex-wrap: wrap; }
      & .finance-profile-initialization-card > header { flex-wrap: wrap; }
      & .finance-jump-card { min-height: 44px; }
    }
  }
  /* Preserve complete signs, decimals and grouping within original financial cells.
     Horizontal table scrolling handles width, never ellipsis or digit wrapping. */
  body.erp-plan01 #financeView:not([data-plan01-ledger-active="true"]) {
    & #financeFundSection[data-plan01-support-structure="020"] td:is(:nth-child(5), :nth-child(6), :nth-child(7), :nth-child(8)),
    & #financeOpeningSection[data-plan01-support-structure="020"] td:nth-child(5),
    & #financeProfileSection[data-plan01-support-structure="020"] td:is(:nth-child(2), :nth-child(3)),
    & #financeMonthCloseSection[data-plan01-support-structure="020"] td:nth-child(n+2):nth-child(-n+8) {
      white-space: nowrap !important;
      word-break: normal !important;
      overflow-wrap: normal !important;
      text-overflow: clip !important;
      & :is(strong, small) {
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
      }
    }
  }
}

/* 020 revision 1: only the two first-review cosmetic findings. */
@layer plan01 {
  body.erp-plan01 #financeView:not([data-plan01-ledger-active="true"]) {
    & #financeOpeningSection[data-plan01-support-structure="020"] .finance-next-step-card {
      border-radius: 5px !important;
      box-shadow: none !important;
    }
    & #financeFundSection[data-plan01-support-structure="020"]
      :is(.finance-account-reconcile-first-card, .finance-account-close-loop-card).is-warn {
      /* The warning title/surface stays amber; body and action remain distinct.
         Darker link blue retains 5.30:1 contrast on the existing amber surface. */
      & > span { color: #87500d !important; }
      & > strong { color: #172438 !important; }
      & > p { color: #485b73 !important; }
      & > em { color: #1466b3 !important; }
    }
  }
}

/* 022: user-authorized parameter auxiliary spacing and local semantic colors.
 * Retain every 020 revision-1 rule, parameter, original node and handler. */
@layer plan01 {
  body.erp-plan01 #financeView:not([data-plan01-ledger-active="true"])
    #financeProfileSection[data-plan01-support-structure="020"] {
    & #financeProfileBoundaryCard .finance-profile-boundary-body > div:first-child {
      display: grid;
      gap: 8px;
      min-width: 0;
    }
    & #financeProfileInitializationStrip .finance-profile-initialization-card.is-warn {
      & > header > div > :is(span, strong), & > p {
        color: #87500d !important;
      }
    }
    & #financeProfileScopeBand .finance-gate-card-scope > :is(span, strong) {
      color: #172438 !important;
    }
  }
}

/* 024 · Four-state workspace exception; marker is projected from original
 * navigation AND actual visibility by the local adapter. No show/hide grant.
 * Keep 022 above byte-for-byte. Existing shell, forms and table widths untouched.
 */
@layer plan01 {
  html:not(.mobile-nav-open):not([hidden]):not([inert]):not([aria-hidden="true"])
    > body.erp-plan01.erp-operate-ui[data-active-view="finance"]:not([data-vi-module="oa"]):not(.mobile-nav-open):not([hidden]):not([inert]):not([aria-hidden="true"]):not(:has(dialog[open], .topbar details[open], .plan01-finance-menu[open]))
    > .app-shell:not([hidden]):not([inert]):not([aria-hidden="true"])
    > .workspace:not([hidden]):not([inert]):not([aria-hidden="true"]):is(
      [data-plan01-finance-scroll-target="financeFundSection"]:has(> #financeView.active[data-plan01-ledger-active="false"]:not([data-wecom-oa-focus="true"]):not([hidden]):not([inert]):not([aria-hidden="true"]) > #financeFundSection:not([hidden]):not([inert]):not([aria-hidden="true"])),
      [data-plan01-finance-scroll-target="financeOpeningSection"]:has(> #financeView.active[data-plan01-ledger-active="false"]:not([data-wecom-oa-focus="true"]):not([hidden]):not([inert]):not([aria-hidden="true"]) > #financeOpeningSection:not([hidden]):not([inert]):not([aria-hidden="true"])),
      [data-plan01-finance-scroll-target="financeProfileSection"]:has(> #financeView.active[data-plan01-ledger-active="false"]:not([data-wecom-oa-focus="true"]):not([hidden]):not([inert]):not([aria-hidden="true"]) > #financeProfileSection:not([hidden]):not([inert]):not([aria-hidden="true"])),
      [data-plan01-finance-scroll-target="financeMonthCloseSection"]:has(> #financeView.active[data-plan01-ledger-active="false"]:not([data-wecom-oa-focus="true"]):not([hidden]):not([inert]):not([aria-hidden="true"]) > #financeMonthCloseSection:not([hidden]):not([inert]):not([aria-hidden="true"]))
    ) {
    /* The ancestor height fix is only for the observed legacy <=760px conflict. */
    @media (max-width: 760px) {
      height: 100dvh !important;
      min-height: 0 !important;
      overflow-y: auto !important;
    }
    /* Region is a native horizontal-scroll container, not a button. */
    &[data-plan01-finance-scroll-target="financeFundSection"] > #financeView.active[data-plan01-ledger-active="false"]:not([data-wecom-oa-focus="true"]):not([hidden]):not([inert]):not([aria-hidden="true"]) > #financeFundSection[data-plan01-support-structure="020"]:not([hidden]):not([inert]):not([aria-hidden="true"]) > .table-wrap:focus-visible,
    &[data-plan01-finance-scroll-target="financeOpeningSection"] > #financeView.active[data-plan01-ledger-active="false"]:not([data-wecom-oa-focus="true"]):not([hidden]):not([inert]):not([aria-hidden="true"]) > #financeOpeningSection[data-plan01-support-structure="020"]:not([hidden]):not([inert]):not([aria-hidden="true"]) > .table-wrap:focus-visible,
    &[data-plan01-finance-scroll-target="financeProfileSection"] > #financeView.active[data-plan01-ledger-active="false"]:not([data-wecom-oa-focus="true"]):not([hidden]):not([inert]):not([aria-hidden="true"]) > #financeProfileSection[data-plan01-support-structure="020"]:not([hidden]):not([inert]):not([aria-hidden="true"]) > .table-wrap:focus-visible,
    &[data-plan01-finance-scroll-target="financeMonthCloseSection"] > #financeView.active[data-plan01-ledger-active="false"]:not([data-wecom-oa-focus="true"]):not([hidden]):not([inert]):not([aria-hidden="true"]) > #financeMonthCloseSection[data-plan01-support-structure="020"]:not([hidden]):not([inert]):not([aria-hidden="true"]) > .table-wrap:focus-visible {
      outline: 2px solid #008575 !important;
      outline-offset: 3px;
    }
  }
}
