:root {
  color-scheme: light;
  --ink: #1d2d29;
  --muted: #70807b;
  --line: #e4eae5;
  --paper: #ffffff;
  --canvas: #f3f6f2;
  --green: #2b6b54;
  --green-dark: #1f513f;
  --green-pale: #edf5ef;
  --gold: #c99b4a;
  --red: #ad4d46;
  --shadow: 0 14px 48px rgba(26, 49, 38, .065), 0 2px 8px rgba(26, 49, 38, .035);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: var(--canvas); color: var(--ink); }
button, input, select { font: inherit; }
button { cursor: pointer; }
.page-shell { width: min(1060px, calc(100% - 48px)); margin: 0 auto; }
.topbar { min-height: 83px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(33, 61, 48, .1); }
.brand { display: inline-flex; gap: 11px; align-items: center; color: inherit; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; }
.brand-copy { display: flex; flex-direction: column; gap: 3px; }
.brand-copy strong { font-size: 17px; line-height: 1; letter-spacing: -.055em; font-weight: 750; }
.brand-copy > span { font-size: 8px; letter-spacing: .17em; font-weight: 700; color: var(--muted); }
.topbar-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 12px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #5d9a72; box-shadow: 0 0 0 3px rgba(93, 154, 114, .12); }
.report { padding: 42px 0 24px; }
.report-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.eyebrow { margin: 0 0 7px; color: var(--green); font-size: 9px; line-height: 1.4; font-weight: 750; letter-spacing: .17em; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 7px; font-size: clamp(28px, 4vw, 38px); letter-spacing: -.055em; line-height: 1.12; font-weight: 680; }
.heading-note { margin: 0; color: var(--muted); font-size: 13px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 9px; }
.button { min-height: 42px; border: 1px solid transparent; border-radius: 8px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 12px; font-weight: 650; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.button:active { transform: translateY(1px); }
.button svg { width: 17px; height: 17px; }
.button-quiet { color: #596a63; background: transparent; border-color: #dfe6e0; }
.button-quiet:hover { background: #fff; border-color: #c5d2c8; }
.button-primary { color: #fff; background: var(--green); box-shadow: 0 3px 8px rgba(43, 107, 84, .15); }
.button-primary:hover { background: var(--green-dark); }
#cash-report { display: block; }
.meta-panel { display: grid; grid-template-columns: 132px minmax(180px, 1fr) 144px minmax(180px, 1fr); align-items: center; gap: 14px 15px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 11px; background: rgba(255,255,255,.8); }
.field-label { color: #556761; font-size: 12px; font-weight: 650; }
.meta-panel input, .meta-panel select { min-width: 0; height: 39px; border: 1px solid #dfe7e1; border-radius: 6px; padding: 0 11px; background: #fff; color: var(--ink); font-size: 13px; outline: none; }
.meta-panel input:focus, .meta-panel select:focus, .money-entry:focus-within { border-color: #6c9d80; box-shadow: 0 0 0 3px rgba(65, 125, 91, .1); }
.section-heading, .summary-heading, .signoff-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 18px; }
.section-heading { margin: 35px 2px 13px; }
.section-heading h2, .summary-heading h2, .signoff-heading h2 { margin: 0; font-size: 20px; letter-spacing: -.035em; font-weight: 650; }
.section-heading .eyebrow, .summary-heading .eyebrow, .signoff-heading .eyebrow { margin-bottom: 4px; }
.column-key { display: flex; gap: 18px; margin-right: 119px; color: #788780; font-size: 10px; font-weight: 650; }
.count-sections { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 16px; }
.count-card { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); box-shadow: 0 3px 10px rgba(26,49,38,.025); }
.count-card-heading { min-height: 53px; padding: 0 17px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.count-card-heading > div { display: flex; align-items: center; gap: 10px; }
.section-index { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; color: var(--green); background: var(--green-pale); font-size: 9px; font-weight: 750; }
.count-card h3 { margin: 0; font-size: 13px; font-weight: 680; }
.row-count { color: #87938d; font-size: 10px; }
.count-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.count-table th, .count-table td { border-bottom: 1px solid #edf0ed; }
.count-table thead th { height: 31px; color: #8a9690; background: #fbfcfb; text-align: right; font-size: 9px; font-weight: 650; }
.count-table thead th:first-child, .count-table thead th:nth-child(2) { text-align: left; }
.count-table .number-head { width: 38px; padding-left: 15px; text-align: left; }
.count-table .description-head { width: 21%; }
.count-table .equals-head { width: 17px; }
.count-table .value-head { width: 20%; }
.count-table .spare-head { width: 20%; }
.count-table .total-head { width: 20%; padding-right: 14px; }
.count-table td { height: 40px; padding: 5px 7px; }
.count-table tbody tr:last-child td { border-bottom-color: #e5ebe6; }
.row-number { padding-left: 15px !important; color: #a2aca6; font-size: 10px; font-variant-numeric: tabular-nums; }
.description-cell { overflow: hidden; color: #3b4b44; font-size: 12px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.denomination { font-variant-numeric: tabular-nums; }
.denomination-text { font-size: 11px; }
.equals-cell { color: #adb7b0; text-align: center; font-size: 11px; }
.input-cell { padding-left: 2px !important; padding-right: 3px !important; }
.money-entry { display: flex; align-items: center; height: 29px; min-width: 0; padding: 0 6px; border: 1px solid #e5eae6; border-radius: 5px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease; }
.money-entry > span { flex: 0 0 auto; padding-right: 3px; color: #9aa69f; font-size: 9px; }
.money-input { width: 100%; min-width: 0; height: 25px; padding: 0; border: 0; outline: none; background: transparent; color: #33443c; text-align: right; font-size: 11px; font-variant-numeric: tabular-nums; }
.money-entry:focus-within { border-color: #6c9d80; box-shadow: 0 0 0 2px rgba(65,125,91,.1); }
.row-total { padding-right: 14px !important; color: #33493e; text-align: right; font-size: 11px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.other-row-fields { display: flex; flex-direction: column; gap: 6px; width: calc(100% - 2px); }
.other-input { display: block; width: 100%; height: 29px; border: 1px solid #e5eae6; border-radius: 5px; padding: 0 5px; background: #fff; color: #53665a; font-size: 10px; outline: none; }
.other-input:focus { border-color: #6c9d80; box-shadow: 0 0 0 2px rgba(65,125,91,.1); }
.lain-lain-keterangan {
  margin-top: 12px; padding: 12px 14px 14px;
  border-top: 1px solid #e5ebe6; background: #fafcfb;
  border-radius: 0 0 8px 8px;
}
.lain-lain-keterangan__label {
  display: block; margin-bottom: 6px;
  color: #556761; font-size: 11px; font-weight: 650;
}
.lain-lain-keterangan__input {
  display: block; width: 100%; min-height: 88px; margin: 0;
  border: 1px solid #dfe6e0; border-radius: 6px; padding: 9px 10px;
  background: #fff; color: #33443c; font-size: 12px; line-height: 1.4;
  outline: none; resize: vertical;
}
.lain-lain-keterangan__input:focus {
  border-color: #6c9d80; box-shadow: 0 0 0 2px rgba(65,125,91,.1);
}
.report-people { display: flex; flex-wrap: wrap; gap: 16px 28px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.report-people p { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: 12px; }
.report-people__label { color: #8a9690; font-size: 9px; font-weight: 750; letter-spacing: 0.12em; text-transform: uppercase; }
.subtotal-row th, .subtotal-row td { height: 39px; border: 0 !important; background: #f6f9f6; color: #40534a; font-size: 10px; font-weight: 700; }
.subtotal-row th { padding-left: 15px; text-align: left; }
.subtotal-row .subtotal-value { padding: 5px 7px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.subtotal-row .subtotal-combined { padding-right: 14px; color: var(--green-dark); }
.summary-panel { margin-top: 25px; overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: #fff; box-shadow: 0 3px 10px rgba(26,49,38,.025); }
.summary-heading { padding: 20px 22px 16px; align-items: center; }
.summary-caption { color: #8a9690; font-size: 10px; }
.summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0 22px 17px; }
.summary-item { min-height: 61px; display: flex; flex-direction: column; justify-content: center; gap: 5px; padding: 8px 12px; border-top: 1px solid #edf0ed; }
.summary-item:nth-child(3n+1) { padding-left: 0; }
.summary-item span { display: flex; align-items: baseline; gap: 6px; color: #596a62; font-size: 11px; }
.summary-item small { color: #9aa49f; font-size: 9px; }
.summary-item strong { color: #344b3f; font-size: 14px; line-height: 1; font-weight: 650; font-variant-numeric: tabular-nums; }
.system-balance { min-height: 76px; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 13px 22px; background: var(--green); color: #fff; }
.system-balance > div, .reconciliation > label, .difference-row > div { display: flex; flex-direction: column; gap: 4px; }
.balance-label { font-size: 13px; font-weight: 650; }
.system-balance small { color: rgba(255,255,255,.69); font-size: 10px; }
.system-balance strong { font-size: 22px; font-weight: 650; letter-spacing: -.025em; font-variant-numeric: tabular-nums; }
.reconciliation { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 22px; border-bottom: 1px solid var(--line); }
.reconciliation label > span, .difference-row > div > span { color: #34473d; font-size: 12px; font-weight: 650; }
.reconciliation label small, .difference-row small { color: #8b9791; font-size: 10px; }
.reconciliation .money-entry { width: min(250px, 53%); height: 38px; padding: 0 10px; }
.reconciliation .money-entry > span { color: #738078; font-size: 11px; }
.reconciliation .money-input { height: 32px; color: #34473d; font-size: 13px; font-weight: 650; }
.difference-row { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 13px 22px; background: #fafcf9; }
.difference-value { font-size: 19px; font-weight: 700; font-variant-numeric: tabular-nums; }
.difference-value.is-positive { color: #387b51; }
.difference-value.is-negative { color: var(--red); }
.difference-value.is-balanced { color: #3e6651; }
.signoff { margin-top: 28px; padding: 21px 22px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.signoff-heading { align-items: center; margin-bottom: 18px; }
.signoff-heading p { margin: 0; color: #8a9690; font-size: 10px; }
.signoff-heading h2 { font-size: 17px; }
.signature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.signature-box { min-height: 100px; display: flex; flex-direction: column; justify-content: space-between; padding: 12px 13px 8px; border: 1px solid #e8ede8; border-radius: 6px; }
.signature-box > span { color: #47584f; font-size: 11px; font-weight: 700; }
.signature-box input { width: 100%; height: 30px; border: 0; border-bottom: 1px solid #cdd7cf; border-radius: 0; outline: 0; color: var(--ink); text-align: center; font-size: 11px; }
.signature-box input:focus { border-bottom-color: var(--green); }
.signature-box input::placeholder { color: #a4aea7; }
.report-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; color: #8d9992; font-size: 9px; }
.report-footer > span:first-child { font-weight: 700; letter-spacing: .11em; }
.report-footer > span:first-child span { color: var(--gold); }
.mobile-actions { display: none; }
.print-only { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 760px) {
  .page-shell { width: min(100% - 28px, 620px); }
  .topbar { min-height: 70px; }
  .report { padding-top: 31px; }
  .report-heading { align-items: flex-start; }
  .toolbar { max-width: 180px; justify-content: flex-end; }
  .button { min-height: 39px; padding: 0 11px; font-size: 11px; }
  .meta-panel { grid-template-columns: 105px minmax(0, 1fr); gap: 10px 12px; }
  .section-heading { margin-top: 29px; }
  .column-key { margin-right: 0; gap: 18px; font-size: 9px; }
  .count-sections { grid-template-columns: 1fr; }
  .count-table { width: 100%; min-width: 0; table-layout: fixed; }
  .count-table .equals-head,
  .count-table .equals-cell { display: none; }
  .count-table .number-head { width: 7%; padding-left: 6px; }
  .count-table .description-head { width: 29%; }
  .count-table .value-head { width: 21%; }
  .count-table .spare-head { width: 21%; }
  .count-table .total-head { width: 22%; padding-right: 6px; }
  .count-table .input-cell { padding-left: 1px !important; padding-right: 1px !important; }
  .count-table .money-entry { height: 27px; padding: 0 3px; }
  .count-table .input-cell .money-entry > span { display: none; }
  .count-table .money-input { font-size: 9px; }
}

@media (max-width: 520px) {
  .page-shell { width: min(100% - 20px, 440px); }
  .topbar { min-height: 63px; }
  .brand-mark { width: 35px; height: 35px; }
  .brand-copy strong { font-size: 15px; }
  .brand-copy > span { font-size: 7px; }
  .topbar-note { max-width: 150px; font-size: 10px; }
  .report { padding: 24px 0 26px; }
  .report-heading { display: block; margin-bottom: 20px; }
  h1 { font-size: 29px; }
  .heading-note { max-width: 280px; font-size: 12px; line-height: 1.5; }
  .toolbar { display: none; }
  .meta-panel { grid-template-columns: 1fr 1fr; gap: 7px 10px; padding: 13px; }
  .field-label { font-size: 10px; }
  .meta-panel input, .meta-panel select { width: 100%; height: 37px; grid-row: 2; padding: 0 8px; font-size: 11px; }
  .section-heading { margin: 24px 1px 11px; }
  .section-heading h2, .summary-heading h2 { font-size: 18px; }
  .column-key { margin-right: 58px; gap: 26px; font-size: 9px; }
  .count-sections { gap: 11px; }
  .count-card-heading { min-height: 47px; padding: 0 10px; }
  .count-card-heading h3 { font-size: 12px; }
  .count-table { width: 100%; min-width: 0 !important; table-layout: fixed; }
  .count-table thead th { font-size: 7px; padding: 0 2px; }
  .count-table .equals-head,
  .count-table .equals-cell { display: none; }
  .count-table .number-head { width: 6%; min-width: 18px; padding-left: 3px; }
  .count-table .description-head { width: 31%; }
  .count-table .value-head { width: 21%; }
  .count-table .spare-head { width: 21%; }
  .count-table .total-head { width: 21%; padding-right: 3px; }
  .count-table td { height: auto; min-height: 34px; padding: 3px 2px; }
  .count-table .input-cell { padding-left: 1px !important; padding-right: 1px !important; }
  .count-table .input-cell .money-entry > span { display: none; }
  .count-table .money-input { font-size: 8px; }
  .row-number { padding-left: 3px !important; font-size: 8px; }
  .description-cell { font-size: 9px; white-space: normal; line-height: 1.2; overflow: visible; }
  .denomination-text { font-size: 9px; }
  .count-table .money-entry { height: 26px; padding: 0 2px; }
  .money-entry { height: 28px; padding: 0 4px; }
  .money-entry > span { font-size: 8px; }
  .money-input { font-size: 10px; }
  .row-total { padding-right: 3px !important; font-size: 8px; }
  .other-input { height: 28px; padding: 0 3px; font-size: 9px; }
  .lain-lain-keterangan__input { min-height: 72px; font-size: 11px; }
  .subtotal-row th, .subtotal-row td { height: 35px; font-size: 9px; }
  .subtotal-row th { padding-left: 9px; }
  .subtotal-row .subtotal-value { padding: 4px; font-size: 9px; }
  .subtotal-row .subtotal-combined { padding-right: 9px; }
  .summary-panel { margin-top: 17px; }
  .summary-heading { padding: 16px 14px 12px; }
  .summary-caption { font-size: 9px; }
  .summary-grid { padding: 0 14px 12px; }
  .summary-item { min-height: 57px; gap: 4px; padding: 7px; }
  .summary-item span { display: block; font-size: 9px; line-height: 1.4; }
  .summary-item small { display: block; font-size: 8px; }
  .summary-item strong { font-size: 12px; }
  .system-balance, .reconciliation, .difference-row { min-height: 66px; padding: 11px 14px; }
  .balance-label { font-size: 12px; }
  .system-balance small, .reconciliation label small, .difference-row small { font-size: 9px; }
  .system-balance strong { font-size: 19px; }
  .reconciliation .money-entry { width: 48%; }
  .reconciliation label > span, .difference-row > div > span { font-size: 11px; }
  .difference-value { font-size: 17px; }
  .signoff { margin-top: 17px; padding: 16px 13px 12px; }
  .signoff-heading { margin-bottom: 12px; }
  .signoff-heading h2 { font-size: 15px; }
  .signoff-heading p { font-size: 9px; }
  .signature-grid { gap: 6px; }
  .signature-box { min-height: 77px; padding: 9px 6px 6px; }
  .signature-box > span { font-size: 9px; }
  .signature-box input { height: 25px; font-size: 9px; }
  .report-footer { font-size: 8px; }
  .mobile-actions { position: sticky; bottom: 0; z-index: 4; display: flex; gap: 9px; margin: 0 -10px; padding: 10px; border-top: 1px solid #e3e9e4; background: rgba(243,246,242,.96); backdrop-filter: blur(12px); }
  .mobile-actions .button { flex: 1; min-height: 42px; }
}

@media print {
  :root { --ink: #111; --line: #ccc; color: #111; }
  @page { size: A4 portrait; margin: 8mm; }
  html, body {
    min-width: 0;
    width: 210mm;
    max-height: 297mm;
    overflow: hidden;
    background: #fff;
    color: #111;
    font-size: 7pt;
    line-height: 1.15;
  }
  .app-layout, .app-main, .app-content, .report-canvas {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .report--in-shell {
    padding: 0 !important;
  }
  .print-only {
    display: block !important;
  }
  .topbar-note, .toolbar, .mobile-actions, .no-print,
  .form-card--cloud, .form-card__head, .report-footer,
  .signoff, .section-index, .row-count, .equals-head, .equals-cell,
  .meta-panel__people, .report-people {
    display: none !important;
  }
  #cash-report {
    display: block;
    page-break-inside: avoid;
  }
  .print-report-title {
    display: block !important;
    margin: 0 0 8px;
    padding: 0;
    text-align: center;
    font-size: 13pt;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #111;
  }
  .form-card--meta {
    border: 1px solid #bbb;
    box-shadow: none;
    padding: 6px 10px !important;
    margin-bottom: 6px !important;
  }
  .form-card--meta .form-grid--2 {
    grid-template-columns: 64px 1fr 72px 1fr;
    gap: 4px 10px;
    align-items: center;
  }
  .form-card--meta .field-group { display: contents; }
  .field-label { font-size: 7pt; font-weight: 650; }
  .field-control { font-size: 8pt; min-height: auto; height: auto; border: 0; padding: 0; }
  .section-heading {
    margin: 6px 0 4px !important;
    min-height: 0;
  }
  .section-heading h2 { font-size: 9pt; }
  .section-heading .eyebrow { font-size: 6.5pt; margin-bottom: 2px; }
  .column-key { display: none !important; }
  .count-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    align-items: start;
  }
  .count-card {
    break-inside: avoid;
    border: 1px solid #bbb;
    box-shadow: none;
    border-radius: 3px;
  }
  .count-card-heading {
    min-height: 0;
    padding: 3px 6px;
    border-bottom: 1px solid #ccc;
  }
  .count-card h3 { font-size: 8pt; }
  .count-table thead th {
    height: 16px;
    padding: 0 3px;
    font-size: 6.5pt;
    background: #f0f0f0;
  }
  .count-table .number-head { width: 18px; padding-left: 4px; }
  .count-table .description-head { width: 28%; }
  .count-table .spare-head, .count-table .total-head { width: 22%; }
  .count-table td { height: 13px; padding: 0 2px; line-height: 1.1; }
  .count-table .value-head { width: 20%; }
  .row-number { padding-left: 4px !important; font-size: 6.5pt; }
  .description-cell { font-size: 7pt; }
  .money-entry {
    height: 12px;
    padding: 0 2px;
    border: 0;
    background: transparent;
    box-shadow: none !important;
  }
  .money-entry > span { display: none; }
  .money-input { height: 12px; font-size: 7pt; color: #111; }
  .other-row-fields { gap: 1px; }
  .other-input { height: 11px; font-size: 6.5pt; border: 0; padding: 0; }
  .lain-lain-keterangan {
    margin-top: 4px; padding: 4px 0 0; border-top: 1px solid #ccc; background: transparent;
  }
  .lain-lain-keterangan__label { font-size: 6pt; margin-bottom: 2px; }
  .lain-lain-keterangan__input {
    min-height: 22px; max-height: 28px; font-size: 6pt; line-height: 1.2;
    border: 0; padding: 0; background: transparent; resize: none;
    overflow: hidden;
  }
  .row-total { font-size: 6.5pt; padding-right: 3px !important; }
  .subtotal-row th, .subtotal-row td {
    height: 14px;
    font-size: 6.5pt;
    padding: 1px 3px;
    background: #f5f5f5;
  }
  .summary-panel {
    margin-top: 6px;
    border: 1px solid #bbb;
    box-shadow: none;
    break-inside: avoid;
  }
  .summary-heading { padding: 4px 8px 3px; }
  .summary-heading h2 { font-size: 8pt; }
  .summary-caption, .summary-heading .eyebrow { display: none; }
  .summary-grid {
    grid-template-columns: repeat(3, 1fr);
    padding: 0 6px 4px;
    gap: 0;
  }
  .summary-item {
    min-height: 0;
    padding: 3px 6px;
    border-top: 1px solid #e0e0e0;
    gap: 1px;
  }
  .summary-item span { font-size: 6.5pt; flex-direction: column; gap: 0; }
  .summary-item small { font-size: 5.5pt; }
  .summary-item strong { font-size: 7.5pt; }
  .system-balance {
    min-height: 0;
    padding: 4px 8px;
    background: #e8e8e8 !important;
    color: #111 !important;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .system-balance strong { font-size: 10pt; }
  .system-balance small { font-size: 6pt; color: #444; }
  .balance-label { font-size: 7.5pt; }
  .reconciliation, .difference-row {
    min-height: 0;
    padding: 4px 8px;
    gap: 8px;
  }
  .reconciliation label > span, .difference-row > div > span { font-size: 7pt; }
  .reconciliation label small, .difference-row small { font-size: 6pt; }
  .reconciliation .money-entry { width: 38%; height: 14px; }
  .difference-value { font-size: 9pt; }
  .difference-value.is-positive,
  .difference-value.is-negative,
  .difference-value.is-balanced { color: #111; }
  .print-signatures {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 10px;
    padding: 8px 12px 0;
    border-top: 1px solid #999;
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .print-signature-box {
    text-align: center;
    padding: 0 8px;
  }
  .print-signature-role {
    display: block;
    font-size: 7.5pt;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 4px;
  }
  .print-signature-line {
    height: 36px;
    margin: 0 auto 4px;
    border-bottom: 1px solid #111;
    max-width: 85%;
  }
  .print-signature-name {
    margin: 0;
    font-size: 7.5pt;
    font-weight: 600;
    min-height: 9pt;
  }
}
