/* Scheme 01 · 09-01 / 09-06. Existing read-only OA records only. */
@layer plan01 {
  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] {
    margin: 0 !important;
    padding: 0 0 22px !important;
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
    color: #172438;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .panel-header {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 16px !important;
    min-height: 48px !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .panel-header h2 {
    margin: 0 !important;
    color: #172438 !important;
    font-size: 29px !important;
    font-weight: 740 !important;
    line-height: 1.28 !important;
    letter-spacing: -.5px;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .panel-header .oa-refresh {
    flex: 0 0 auto;
    min-height: 39px !important;
    padding: 8px 15px !important;
    border: 1px solid #ccdae6 !important;
    border-radius: 5px !important;
    background: #fff !important;
    color: #172438 !important;
    font-size: 13px !important;
    font-weight: 550 !important;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .panel-header .oa-refresh:not(:disabled):hover {
    border-color: #008575 !important;
    background: #f6fcfa !important;
    color: #007568 !important;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .oa-intro {
    margin: 0 0 16px;
    padding: 14px 16px !important;
    border: 1px solid #e0e9f0;
    border-radius: 5px;
    background: #f4f8fa;
    color: #485b73;
    font-size: 13px;
    line-height: 1.65;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .oa-intro p {
    margin: 0;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .oa-intro p + p {
    margin-top: 5px;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-message {
    margin-top: 12px !important;
    padding: 10px 12px;
    border: 1px solid #d7e2eb;
    border-radius: 4px;
    background: #fff;
    color: #40536a;
    font-size: 12px;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: auto !important;
    overscroll-behavior-x: contain;
    border: 1px solid #e0e9f0 !important;
    border-radius: 5px !important;
    background: #fff !important;
    scrollbar-color: #99afca #f4f8fa;
    scrollbar-width: thin;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-table {
    width: 100% !important;
    table-layout: auto !important;
    border-collapse: collapse !important;
    color: #172438 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-variant-numeric: tabular-nums;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-table th {
    height: 43px !important;
    padding: 11px 12px !important;
    border: 1px solid #e0e9f0 !important;
    background: #f0f6f9 !important;
    color: #485b73 !important;
    font-size: 12px !important;
    font-weight: 650 !important;
    line-height: 1.4 !important;
    white-space: nowrap;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-table td {
    height: 54px !important;
    padding: 10px 12px !important;
    border: 1px solid #edf2f6 !important;
    background: #fff !important;
    color: #172438 !important;
    vertical-align: middle !important;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-table td:first-child strong {
    font-weight: 650;
    overflow-wrap: anywhere;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-table .oa-money {
    text-align: right !important;
    white-space: nowrap;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-table .status {
    min-height: 22px;
    padding: 3px 8px !important;
    border-radius: 4px !important;
    font-size: 11px !important;
    line-height: 1.5 !important;
    white-space: nowrap;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-table .status.done {
    border-color: #bfe7d4;
    background: #e0faf1 !important;
    color: #087f62 !important;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-table .status.work {
    border-color: #c8dbef;
    background: #e8f2ff !important;
    color: #276aac !important;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-table .status.warn {
    border-color: #f0d39c;
    background: #fff2dc !important;
    color: #a9600b !important;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-table .small-button {
    min-height: 30px !important;
    margin: 0 !important;
    padding: 4px 10px !important;
    border: 1px solid #ccdae6 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #172438 !important;
    font-size: 12px !important;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-table .small-button:not(:disabled):hover {
    border-color: #008575 !important;
    background: #f6fcfa !important;
    color: #007568 !important;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-table td.empty {
    height: auto !important;
    padding: 34px 16px !important;
    background: #fff !important;
    color: #66768c !important;
    text-align: center;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .oa-paging {
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 16px 0 0 !important;
    color: #66768c;
    font-size: 12px;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .oa-paging:not([hidden]):not([aria-hidden="true"]) {
    display: flex;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .oa-paging .oa-page-label {
    margin-right: auto;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .oa-paging .small-button,
  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-detail-heading .small-button {
    min-height: 32px !important;
    padding: 5px 12px !important;
    border: 1px solid #ccdae6 !important;
    border-radius: 4px !important;
    background: #fff !important;
    color: #172438 !important;
    font-size: 12px !important;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .oa-paging .small-button:not(:disabled):hover,
  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-detail-heading .small-button:not(:disabled):hover {
    border-color: #008575 !important;
    background: #f6fcfa !important;
    color: #007568 !important;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .small-button:disabled {
    cursor: not-allowed;
    opacity: .48;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .oa-detail {
    margin-top: 20px;
    padding: 20px !important;
    border: 1px solid #e0e9f0 !important;
    border-radius: 5px;
    background: #fff;
    color: #172438 !important;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-detail-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-detail-title {
    min-width: 0;
    margin: 0 !important;
    color: #172438;
    font-size: 20px !important;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-facts {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px !important;
    margin: 0 0 18px !important;
    padding: 1px;
    overflow: hidden;
    border: 0;
    border-radius: 5px;
    background: #e0e9f0;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-facts > div {
    min-width: 0;
    padding: 13px 15px;
    background: #f4f8fa;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-facts dt {
    color: #66768c !important;
    font-size: 12px;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-facts dd {
    margin: 5px 0 0 !important;
    color: #172438;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-detail-content {
    margin-top: 16px;
    color: #40536a;
    font-size: 13px;
    line-height: 1.65;
    overflow-wrap: anywhere;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-detail-content > p:first-of-type {
    margin: 0 0 16px;
    padding: 10px 12px;
    border: 1px solid #f0d39c;
    border-radius: 4px;
    background: #fff8ed;
    color: #7d4c12;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-prose {
    max-width: 72ch;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-detail h4 {
    margin: 22px 0 10px !important;
    color: #172438;
    font-size: 15px;
    font-weight: 700;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-lines {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid #e0e9f0;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-lines li {
    padding: 11px 0;
    border-bottom: 1px solid #e0e9f0;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-lines li > div {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: #172438;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] :is(.oa-lines p, .oa-trace p) {
    margin: 5px 0;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-trace {
    margin: 0;
    padding-left: 22px;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-trace li {
    margin: 12px 0;
    padding-left: 3px;
  }

  body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-trace li::marker {
    color: #008575;
    font-weight: 700;
  }

  @media (min-width: 701px) {
    body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-table {
      min-width: 860px !important;
    }
  }

  @media (max-width: 980px) {
    body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-facts {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 700px) {
    body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] {
      padding-bottom: 16px !important;
    }

    body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .panel-header {
      align-items: stretch !important;
      flex-direction: column !important;
      gap: 12px !important;
    }

    body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .panel-header .oa-refresh {
      width: 100%;
      min-height: 44px !important;
    }

    body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .oa-intro {
      padding: 12px !important;
    }

    body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-table td {
      height: auto !important;
      min-height: 0 !important;
      padding: 9px 0 !important;
      border: 0 !important;
      background: #fff !important;
    }

    body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-table td[data-label]::before {
      color: #66768c;
      font-size: 12px;
      font-weight: 550;
    }

    body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-table td.empty {
      padding: 26px 8px !important;
    }

    body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-table .small-button,
    body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .oa-paging .small-button,
    body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-detail-heading .small-button {
      min-height: 44px !important;
      padding: 8px 13px !important;
    }

    body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .oa-paging {
      padding-top: 14px !important;
    }

    body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .oa-paging .oa-page-label {
      flex-basis: 100%;
    }

    body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] > .oa-detail {
      margin-top: 18px;
      padding: 16px !important;
    }

    body.erp-plan01[data-vi-module="oa"] #financeView[data-wecom-oa-focus="true"] > #wecomOaSection[data-plan01-oa="01"] .oa-facts {
      grid-template-columns: minmax(0, 1fr);
    }
  }
}
