/* Scheme 01 · 08-01 page-specific presentation. Shared primitives live in
 * vi-plan01-components.css; these rules do not restyle other ERP modules. */
@layer plan01 {
  body.erp-plan01 #financeView[data-plan01-ledger-active="true"] > *:not(#plan01FinanceLedger):not([data-api-scope-boundary="finance"]):not([data-order-collection-boundary="finance"]) {
    display: none !important;
  }

  body.erp-plan01 #plan01FinanceLedger {
    display: block;
    margin-top: 0 !important;
    color: var(--plan01-ink, #172438);
  }

  body.erp-plan01 #plan01FinanceLedger[hidden] { display: none !important; }

  body.erp-plan01 #plan01FinanceLedger .sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    min-height: 48px;
    margin: 0 0 17px !important;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-head h2 {
    margin: 0 0 4px !important;
    color: #172438 !important;
    font-size: 29px !important;
    font-weight: 740 !important;
    line-height: 1.28 !important;
    letter-spacing: -.5px;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-head p {
    margin: 0;
    color: #66768c;
    font-size: 14px;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-actions {
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-actions > button,
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-actions > details > summary {
    min-height: 39px !important;
    padding: 8px 15px !important;
    border-radius: 5px !important;
    font-size: 13px !important;
    font-weight: 550 !important;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-actions .primary-button {
    padding-inline: 19px !important;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-menu {
    position: relative;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-menu > summary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    list-style: none;
    cursor: pointer;
    user-select: none;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-menu > summary::-webkit-details-marker { display: none; }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-menu > summary.is-disabled {
    pointer-events: none;
    opacity: .48;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-menu-panel {
    position: absolute;
    z-index: 40;
    top: calc(100% + 7px);
    right: 0;
    display: grid;
    width: 248px;
    padding: 10px;
    gap: 7px;
    background: #fff;
    border: 1px solid #cad8e5;
    border-radius: 5px;
    box-shadow: 0 12px 28px rgba(36, 57, 77, .14);
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-menu-panel strong,
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-menu-panel small {
    padding: 3px 5px;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-menu-panel strong {
    font-size: 12px;
    font-weight: 650;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-menu-panel small {
    color: #66768c;
    font-size: 11px;
    line-height: 1.55;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-menu-panel button {
    min-height: 36px;
    padding: 8px 10px;
    text-align: left;
    background: #fff;
    border: 1px solid #e0e9f0;
    border-radius: 4px;
    color: #172438;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-menu-panel button:hover { background: #f6fcfa; }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-status-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px !important;
    margin: 0 0 15px;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-source-state {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: -3px 0 14px;
    color: #66768c;
    font-size: 11px;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-source-state span {
    padding: 4px 8px;
    background: #f0f6f9;
    border-radius: 4px;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-source-state .is-ready { background: #e0faf1; color: #087f62; }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-source-state :is(.is-loading,.is-idle) { background: #e8f2ff; color: #276aac; }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-source-state :is(.is-error,.is-forbidden) { background: #fff2dc; color: #a9600b; }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-status-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 97px !important;
    height: 36px;
    padding: 7px 17px;
    background: #f8fbfd;
    border: 1px solid #e0e9f0;
    border-radius: 5px;
    color: #485b73;
    font-size: 13px !important;
    font-weight: 600;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-status-tabs button span {
    color: inherit;
    font-size: 11px;
    opacity: .82;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-status-tabs button[aria-current="page"] {
    background: #008575;
    border-color: #008575;
    color: #fff;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-filters {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 0 15px;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-filters > label,
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-filters > label > :is(input, select),
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-filters > details > summary {
    min-height: 40px !important;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-filters > label {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-filters :is(input, select) {
    box-sizing: border-box;
    height: 40px !important;
    min-width: 142px !important;
    margin: 0 !important;
    padding: 8px 11px !important;
    background: #fff;
    border: 1px solid #cad8e5;
    border-radius: 4px;
    color: #172438;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-search {
    flex: 1 1 330px;
    max-width: 470px;
    min-width: 240px;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-search input { width: 100% !important; }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-due {
    display: flex;
    align-items: center;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-due input { width: 158px !important; min-width: 158px !important; }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-advanced {
    position: relative;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-advanced > summary {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    padding: 8px 14px;
    list-style: none;
    background: #fff;
    border: 1px solid #cad8e5;
    border-radius: 4px;
    color: #172438;
    cursor: pointer;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-advanced > summary::-webkit-details-marker { display: none; }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-advanced > div {
    position: absolute;
    z-index: 35;
    top: calc(100% + 7px);
    right: 0;
    display: grid;
    width: 250px;
    padding: 12px;
    gap: 10px;
    background: #fff;
    border: 1px solid #cad8e5;
    border-radius: 5px;
    box-shadow: 0 12px 28px rgba(36, 57, 77, .14);
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-advanced label {
    display: grid;
    gap: 5px;
    color: #485b73;
    font-size: 12px;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-advanced :is(input, select) { width: 100%; }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-reset {
    min-height: 40px;
    padding: 7px 4px;
    background: transparent;
    border: 0;
    color: #1879d2;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 35px;
    margin: 0 0 9px;
    color: #66768c;
    font-size: 12px;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-toolbar > div {
    display: flex;
    align-items: center;
    gap: 9px;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-toolbar button {
    min-height: 31px;
    padding: 5px 11px;
    background: #f4f8fa;
    border: 1px solid #e0e9f0;
    border-radius: 4px;
    color: #8997a8;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-tablewrap {
    width: 100%;
    max-width: 100%;
    overflow: auto !important;
    background: #fff;
    border: 1px solid #e0e9f0;
    border-radius: 5px;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-table {
    width: 100% !important;
    min-width: 1240px !important;
    border-collapse: collapse !important;
    table-layout: auto !important;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-table th {
    height: 43px !important;
    padding: 10px 12px !important;
    white-space: nowrap !important;
    background: #f0f6f9 !important;
    border-right: 1px solid #edf2f6;
    border-bottom: 1px solid #e0e9f0;
    color: #485b73;
    font-size: 12px !important;
    font-weight: 650;
    text-align: left;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-table td {
    height: 54px !important;
    min-height: 54px !important;
    padding: 10px 12px !important;
    vertical-align: middle;
    border-right: 1px solid #edf2f6;
    border-bottom: 1px solid #e0e9f0;
    color: #172438;
    font-size: 13px !important;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-table tr:last-child td { border-bottom: 0; }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-table :is(th, td):last-child { border-right: 0; }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-first-row { background: #f6fcfa; }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-check { width: 36px !important; min-width: 36px !important; padding-inline: 10px !important; text-align: center; }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-check input {
    width: 14px !important;
    min-width: 14px !important;
    height: 14px !important;
    min-height: 14px !important;
    margin: 0 !important;
    padding: 0 !important;
    accent-color: #008575;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-table td strong,
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-table td small {
    display: block !important;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-table td strong { font-weight: 600; }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-table td small { margin-top: 3px; color: #66768c; font-size: 11px; line-height: 1.45; }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-approval { display: block !important; color: #485b73 !important; font-size: 12px !important; line-height: 1.4 !important; }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-tag,
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-status,
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-fund {
    display: inline-flex !important;
    align-items: center;
    width: fit-content;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px !important;
    font-weight: 550;
    line-height: 1.35 !important;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-tag.is-receivable,
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-status.is-done,
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-fund.is-done { background: #e0faf1 !important; color: #087f62 !important; }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-tag.is-payable,
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-status.is-warn,
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-fund.is-warn { background: #fff2dc !important; color: #a9600b !important; }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-status.is-danger,
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-fund.is-danger { background: #ffebe9 !important; color: #c83b36 !important; }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-status.is-muted { background: #f0f6f9 !important; color: #66768c !important; }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-fund.is-info { background: #e8f2ff !important; color: #276aac !important; }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-fund { margin-top: 5px !important; }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-table td small.plan01-finance-fund { display: inline-flex !important; }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-link {
    display: inline;
    min-height: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    color: #1879d2 !important;
    font-size: 13px !important;
    font-weight: 550;
    line-height: inherit;
    text-align: left;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-product-title {
    display: block !important;
    height: auto !important;
    max-height: none !important;
    white-space: pre-line !important;
    overflow: visible !important;
    overflow-wrap: anywhere;
    text-overflow: clip !important;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-detail {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 57px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 5px 10px !important;
    background: #fff;
    border: 1px solid #cad8e5;
    border-radius: 4px;
    color: #172438;
    font-size: 12px !important;
    white-space: nowrap !important;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-number {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-open { font-weight: 700; }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-overdue,
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-overdue small { color: #d74840 !important; }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-muted { color: #8b98a9; }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-empty {
    height: 140px !important;
    color: #66768c;
    text-align: center;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-pagination {
    display: flex !important;
    align-items: center !important;
    gap: 7px;
    margin: 17px 0 18px;
    color: #66768c;
    font-size: 12px;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-pagination > span { margin-right: auto; }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-pagination > div,
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-pagination form,
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-pagination label {
    display: flex !important;
    align-items: center !important;
    gap: 7px;
    margin: 0 !important;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-pagination :is(button, select, input) {
    box-sizing: border-box;
    min-width: 31px !important;
    height: 31px;
    margin: 0 !important;
    padding: 4px 9px !important;
    background: #fff !important;
    border: 1px solid #cad8e5 !important;
    border-radius: 4px;
    color: #485b73 !important;
    font-size: 12px !important;
  }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-pagination input { width: 43px; padding-inline: 4px !important; text-align: center; }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-pagination button[aria-current="page"] { border-color: #008575 !important; color: #008575 !important; font-weight: 650; }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-pagination button:disabled { background: #fafcfd !important; color: #a1afbf !important; }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-ellipsis { min-width: 18px; text-align: center; }

  body.erp-plan01 #plan01FinanceLedger .plan01-finance-note {
    margin: 0;
    padding: 12px 15px;
    background: #f5f9fb;
    border: 1px solid #e0e9f0;
    border-radius: 5px;
    color: #66768c;
    font-size: 12px;
    line-height: 1.7;
  }

  @media (max-width: 1280px) {
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-head { align-items: stretch !important; flex-direction: column !important; }
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-actions { justify-content: flex-start !important; }
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-filters { flex-wrap: wrap; }
  }

  @media (min-width: 821px) {
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-pagination :is(button, select, input) {
      height: 31px !important;
      min-height: 31px !important;
    }

    body.erp-plan01 #plan01FinanceLedger .plan01-finance-pagination input {
      width: 43px !important;
      min-width: 43px !important;
    }
  }

  @media (max-width: 820px) {
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-actions,
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-status-tabs {
      flex-wrap: nowrap;
      max-width: 100%;
      overflow-x: auto;
      padding-bottom: 3px;
    }
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-actions > *,
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-status-tabs > * {
      flex: 0 0 auto !important;
      white-space: nowrap !important;
    }
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-actions > button,
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-actions > details > summary { min-height: 44px !important; }
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-status-tabs button {
      height: 44px !important;
      min-height: 44px !important;
    }
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-filters > label,
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-filters > label > :is(input, select),
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-filters > details > summary,
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-filters > button,
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-filters :is(input, select) {
      height: 44px !important;
      min-height: 44px !important;
    }
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-check input {
      width: 20px !important;
      min-width: 20px !important;
      height: 20px !important;
      min-height: 20px !important;
    }
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-detail {
      height: 44px !important;
      min-height: 44px !important;
    }
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-toolbar button { min-height: 44px !important; }
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-search { flex-basis: 100%; max-width: none; min-width: 100%; }
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-filters > label:not(.plan01-finance-search),
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-filters > label > :is(input, select) { flex: 1 1 140px; }
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-toolbar { align-items: flex-start; flex-direction: column; gap: 7px; }
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-pagination { align-items: flex-start !important; flex-direction: column !important; }
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-pagination > div { width: 100%; max-width: 100%; flex-wrap: wrap; }
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-pagination :is(button, select, input) { min-height: 44px !important; }
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-pagination input { width: 50px !important; min-width: 50px !important; }
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-menu-panel,
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-advanced > div { position: fixed; inset: auto 16px 18px; width: auto; }
  }
}

/* 110: preserve complete amounts and compact labels inside the existing scrollable ledger. */
@layer plan01 {
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-table td.plan01-finance-number {
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    min-width: 105px !important;
    font-variant-numeric: tabular-nums;
  }
  body.erp-plan01 #plan01FinanceLedger :is(.plan01-finance-tag,.plan01-finance-status,.plan01-finance-fund) {
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    flex-shrink: 0;
  }
  body.erp-plan01 #plan01FinanceLedger .plan01-finance-pagination :is(label,form,button) {
    white-space: nowrap !important;
    word-break: normal !important;
    flex: 0 0 auto !important;
  }
}


/* 286: ledger action column remains visible while financial data scrolls. */
@layer plan01 {
  @media (min-width: 900px) {
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-table :is(th,td):last-child:not([colspan]) {
      position: sticky !important; right: 0 !important; left: auto !important;
      min-width: 94px; z-index: 2; border-left: 1px solid #ccdae6;
      background: #fff !important;
    }
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-table th:last-child { background: #f0f6f9 !important; }
    body.erp-plan01 #plan01FinanceLedger .plan01-finance-first-row td:last-child { background: #f6fcfa !important; }
  }
}

/* Finance daily workspace: existing VI palette and generous, responsive spacing. */
.finance-simple-summary{display:grid;grid-template-columns:1fr 1fr 1.3fr;gap:18px;margin:22px 0}.finance-simple-summary>div{display:flex;flex-direction:column;gap:10px;padding:22px;border:1px solid #dce8ed;border-radius:10px;background:#f3f9f9}.finance-simple-summary span,.finance-simple-summary small{color:#69818f}.finance-simple-summary strong{font-size:24px;color:#153447}.finance-simple-panel{border:1px solid #dce8ed;border-radius:10px;margin:22px 0;overflow:hidden}.finance-simple-panel-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 22px;background:#f2f8f9}.finance-simple-panel-head h3{margin:0;font-size:19px}.finance-simple-panel-head span{color:#69818f;font-size:13px}.finance-simple-panel table{width:100%;border-collapse:collapse;min-width:850px}.finance-simple-panel th,.finance-simple-panel td{padding:16px;text-align:left;border-bottom:1px solid #e7eef1}.finance-simple-panel th{background:#f4f8fa;color:#506777}.finance-simple-panel small{display:block;margin-top:6px;color:#718596}.finance-simple-panel .finance-confirm-receipt-button{background:#008979;color:white;border-color:#008979;white-space:nowrap}.finance-simple-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:24px 0}.finance-simple-links>button{display:flex;justify-content:space-between;gap:12px;text-align:left;padding:24px;background:white;border:1px solid #dce8ed;border-radius:10px;color:#183447;cursor:pointer}.finance-simple-links>button:hover{border-color:#008979;background:#f1faf7}.finance-simple-links span{color:#008979}.finance-simple-context{padding:12px 18px;background:#eaf7f3;border-radius:8px}@media(max-width:800px){.finance-simple-summary,.finance-simple-links{grid-template-columns:1fr}.finance-simple-panel-head{align-items:flex-start;flex-direction:column}}

#plan01FinanceLedger .finance-simple-panel .finance-confirm-receipt-button{background:#008979!important;color:#fff!important;border-color:#008979!important}#plan01FinanceLedger>.plan01-finance-head h2{font-size:28px;line-height:1.3;margin:0 0 8px}

body #financeView #plan01FinanceLedger .finance-simple-panel table button.finance-confirm-receipt-button.small-button{background:#008979!important;color:white!important;border-color:#008979!important}

/* Receipt preview must fit both landscape and portrait images in the viewport. */
body.erp-plan01 #paymentProofDialog{position:fixed!important;inset:0!important;transform:none!important;margin:auto!important;width:min(1100px,calc(100vw - 32px))!important;height:min(900px,calc(100dvh - 32px))!important;max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 32px)!important;padding:0!important;overflow:hidden!important;box-sizing:border-box!important;border:1px solid #dce8ed;border-radius:12px}
body.erp-plan01 #paymentProofDialog .payment-proof-dialog-card{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;margin:0!important;padding:0!important;overflow:hidden!important;box-sizing:border-box!important}
body.erp-plan01 #paymentProofDialog .dialog-header{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;padding:14px 20px!important;margin:0!important;min-height:0!important}
body.erp-plan01 #paymentProofDialog .dialog-header h2{font-size:20px!important;line-height:1.4!important;margin:0!important;overflow-wrap:anywhere}
body.erp-plan01 #paymentProofDialog .payment-proof-dialog-content{display:grid!important;grid-template-rows:minmax(0,1fr) auto!important;gap:10px!important;min-width:0!important;min-height:0!important;width:100%!important;height:100%!important;max-height:none!important;margin:0!important;padding:16px!important;overflow:hidden!important;box-sizing:border-box!important;background:#f3f7f8}
body.erp-plan01 #paymentProofDialog #paymentProofDialogImage:not([hidden]){display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;min-width:0!important;min-height:0!important;object-fit:contain!important;object-position:center!important;margin:0!important}
body.erp-plan01 #paymentProofDialogCaption{font-size:13px!important;line-height:1.5!important;text-align:center!important;overflow-wrap:anywhere;max-height:48px;overflow:auto;color:#617787}
body.erp-plan01 #paymentProofDialog .dialog-actions{padding:10px 20px!important;margin:0!important;min-height:0!important;border-top:1px solid #dce8ed}
@media(max-width:600px){body.erp-plan01 #paymentProofDialog{width:calc(100vw - 16px)!important;height:calc(100dvh - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 16px)!important}body.erp-plan01 #paymentProofDialog .dialog-header h2{font-size:16px!important}}

body.erp-plan01.ui-simple #paymentProofDialog .dialog-card.payment-proof-dialog-card{width:100%!important;max-width:none!important;grid-template-columns:minmax(0,1fr)!important}

body.erp-plan01 #plan01FinanceLedger [data-plan01-command="toggle-date-sort"]{border:1px solid #c8dedc;background:#eef8f6;color:#007f73;border-radius:6px;padding:9px 14px;min-height:40px;font:inherit;font-weight:600;cursor:pointer;white-space:nowrap} 
body.erp-plan01 #plan01FinanceLedger [data-plan01-command="toggle-date-sort"]:hover{background:#dff2ed}
body.erp-plan01 #plan01FinanceLedger .plan01-finance-table th:nth-child(9),body.erp-plan01 #plan01FinanceLedger .plan01-finance-table td:nth-child(9){min-width:115px;white-space:nowrap}
