.finance-page {font-size:16px;line-height:1.5}
.finance-page .portal-table{font-size:16px;min-width:760px}
.finance-page .portal-table th,.finance-page .portal-table small,.finance-page .pill,.finance-page .help,.finance-page .eyebrow{font-size:13px}
.finance-page .portal-table td{padding:17px 20px;vertical-align:middle}
.finance-page .table-card{overflow-x:auto}
.finance-page .button-row{flex-wrap:wrap;gap:8px}
.finance-page .receipt-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:24px;align-items:start}
.finance-page .receipt-layout>*,.finance-page .form-grid>*,.finance-page .asset-grid>*{min-width:0}
.finance-page .receipt-code-preview{width:100%;height:1100px;min-height:850px;border:1px solid #d1e2eb;border-radius:18px;background:#effafd}
.finance-page .asset-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;margin:20px 0}
.finance-page input[type=file]{width:100%;max-width:100%;box-sizing:border-box;font-size:14px;padding:10px}
.finance-page input[type=color]{appearance:auto;-webkit-appearance:auto;width:64px;height:44px;padding:3px;display:block;border:1px solid #c6dce7;border-radius:8px}
.finance-page input[type=color]::-webkit-color-swatch{border:0;border-radius:4px}
.finance-page .code-builder textarea{font:14px/1.6 ui-monospace,monospace;min-height:300px;resize:vertical;white-space:pre;overflow:auto;width:100%;box-sizing:border-box}
.finance-page .asset-option textarea{min-height:110px}
.finance-page .form-grid label{font-size:15px;line-height:1.5;gap:8px}
.finance-page .form-grid input,.finance-page .form-grid select,.finance-page .form-grid textarea{font-size:16px;max-width:100%;box-sizing:border-box}
.finance-page .receipt-preview-shell{min-width:0}
.finance-chart{overflow-x:auto}.finance-chart svg{min-width:760px;width:100%;height:auto}
.finance-chart text{font:15px Arial;fill:#526d8b}.finance-chart .axis{stroke:#d4e3ed}
.finance-summary{background:#eef9fc;padding:18px;border-radius:12px;margin:12px 0}
.finance-schedule-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:10px 0}
.finance-page .template-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}
.finance-page .template-toolbar select{min-width:180px;flex:1;font-size:16px}
body:has(.finance-page) .modal-card{font-size:16px;line-height:1.5;max-height:88vh;overflow-y:auto}
body:has(.finance-page) .modal-card input,body:has(.finance-page) .modal-card select,body:has(.finance-page) .modal-card textarea{font-size:16px;min-width:0;max-width:100%;box-sizing:border-box}
body:has(.finance-page) .modal-card small,body:has(.finance-page) .modal-card .eyebrow{font-size:13px}
body:has(.finance-page) .modal-card .table-card{overflow-x:auto}
body:has(.finance-page) .modal-card .portal-table{font-size:15px}
body:has(.finance-page) .modal-card .portal-table th,body:has(.finance-page) .modal-card .portal-table small{font-size:13px}
@media(max-width:1100px){.finance-page .receipt-layout{grid-template-columns:minmax(0,1fr)}.finance-page .receipt-code-preview{height:950px}}
