:root{color:#121a3d;font-synthesis:none;--navy:#10194d;--navy-deep:#0b143f;--navy-soft:#27366f;--gold:#b49331;--gold-soft:#f7f0dd;--paper:#fff;--surface:#f7f8fb;--line:#dfe3eb;--muted:#6e7487;background:#f4f6fa;font-family:Inter,Noto Sans TC,PingFang TC,Microsoft JhengHei,sans-serif}.direct-expense-heading{margin-bottom:14px}.direct-expense-notice{border:1px solid #ead78b;border-left:4px solid var(--gold);color:var(--navy);background:#fff9df;border-radius:14px;align-items:center;gap:12px;margin-bottom:16px;padding:14px 18px;display:flex}.direct-expense-notice div{gap:3px;display:grid}.direct-expense-notice span{color:var(--muted);font-size:14px}.direct-expense-panel{padding:0;overflow:hidden}.direct-expense-form{gap:20px;padding:22px;display:grid}.direct-expense-form-heading{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding-bottom:18px;display:flex}.direct-expense-form-heading>div:first-child{gap:5px;display:grid}.direct-expense-form-heading span,.direct-expense-fields label>span,.direct-expense-note>span{color:var(--muted);font-size:13px;font-weight:700}.direct-expense-form-heading strong{color:var(--navy);font-size:16px}.direct-expense-live-total{border:1px solid var(--line);background:#f4f6fc;border-radius:12px;flex-direction:column;align-items:flex-end;min-width:220px;padding:12px 16px;display:flex}.direct-expense-live-total strong{color:var(--navy);font-family:Georgia,Noto Serif TC,serif;font-size:24px}.direct-expense-fields{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;display:grid}.direct-expense-fields label,.direct-expense-note{gap:7px;display:grid}.direct-expense-fields input,.direct-expense-fields select,.direct-expense-note textarea,.direct-allocation-grid input{border:1px solid var(--line);color:var(--navy);font:inherit;background:#fff;border-radius:10px;width:100%;min-height:48px;padding:10px 13px}.direct-expense-fields input:focus,.direct-expense-fields select:focus,.direct-expense-note textarea:focus,.direct-allocation-grid input:focus{border-color:#6d7fc4;outline:none;box-shadow:0 0 0 3px #465baa1f}.direct-expense-fields .wide-field{grid-column:span 4}.direct-expense-field-note{color:#9a6410;font-size:12px;font-weight:700;line-height:1.45}.voucher-derived-panel,.voucher-derived-report{gap:16px;margin-bottom:18px;display:grid}.voucher-derived-heading{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.voucher-derived-heading h2{margin:2px 0 5px}.voucher-derived-heading span{color:var(--muted);font-size:14px}.voucher-derived-heading>strong{color:var(--navy);flex:none;font-family:Georgia,Noto Serif TC,serif;font-size:24px}.voucher-derived-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.voucher-derived-grid article{border:1px solid var(--line);background:#f7f8fc;border-radius:12px;gap:7px;padding:15px;display:grid}.voucher-derived-grid article>span{color:var(--muted);font-size:13px;font-weight:800}.voucher-derived-grid article>strong{color:var(--navy);font-size:19px}.voucher-derived-grid article>small{color:var(--muted);line-height:1.45}.voucher-derived-report{margin-top:18px}.voucher-derived-table{min-width:760px}.expense-analysis-panel{gap:20px;display:grid}.expense-analysis-toolbar,.expense-drilldown-heading{justify-content:space-between;align-items:flex-end;gap:20px;display:flex}.expense-analysis-toolbar h2,.expense-drilldown-heading h2{margin:2px 0 5px}.expense-analysis-toolbar span,.expense-drilldown-heading span{color:var(--muted);font-size:14px}.expense-report-controls{align-items:center;gap:10px;display:flex}.expense-report-switch{border:1px solid var(--line);background:#eef1f7;border-radius:10px;padding:4px;display:inline-flex}.expense-report-switch button{color:var(--muted);background:0 0;border:0;border-radius:7px;min-height:40px;padding:8px 14px;font-weight:800}.expense-report-switch button.is-active{color:#fff;background:var(--navy);box-shadow:0 3px 9px #10194d2e}.expense-basis-switch{border:1px solid var(--line);background:#eef1f7;border-radius:10px;padding:4px;display:inline-flex}.expense-basis-switch button{color:var(--muted);text-align:left;background:0 0;border:0;border-radius:7px;gap:1px;min-height:42px;padding:6px 12px;font-weight:900;display:grid}.expense-basis-switch button small{color:inherit;font-size:9px;font-weight:700}.expense-basis-switch button.is-active{background:var(--navy);color:#fff;box-shadow:0 3px 9px #10194d2e}.expense-report-month-select{border:1px solid var(--line);min-height:48px;color:var(--navy);background:#fff;border-radius:10px;padding:10px 36px 10px 13px;font-weight:800}.annual-report-fixed-period{color:#7a5c0c;text-align:center;background:#f4f1e8;border:1px solid #dfd3a8;border-radius:10px;min-width:132px;padding:13px 16px;font-size:14px;font-weight:900}.month-close-button{color:#725400;min-height:48px;box-shadow:none;background:#fff7dc;border-color:#d5b341}.month-close-button:hover,.month-close-button:focus-visible{background:#f6e9b8;border-color:#b48d13;outline:none}.month-close-status{color:#23673c;background:#e9f7ef;border:1px solid #a9d9bb;border-radius:10px;align-items:center;gap:9px;min-height:48px;padding:8px 13px;display:flex}.month-close-status>div{gap:1px;display:grid}.month-close-status strong{font-size:13px}.month-close-status small{color:#4c7c5d;white-space:nowrap;font-size:10px}.expense-analysis-kpis{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.expense-analysis-kpis article{border:1px solid var(--line);background:#f7f8fc;border-radius:12px;gap:6px;padding:16px;display:grid}.expense-analysis-kpis span{color:var(--muted);font-size:13px;font-weight:800}.expense-analysis-kpis strong{color:var(--navy);font-size:22px}.expense-analysis-kpis small{color:var(--muted)}.expense-analysis-table{min-width:840px}.expense-analysis-table.annual{min-width:1540px}.report-amount-link{color:#263b78;background:0 0;border:0;border-bottom:1px dashed #8795be;padding:2px 0;font-weight:800}.report-amount-link:hover,.report-amount-link:focus-visible{border-bottom-color:var(--gold);color:#8b6500;outline:none}.report-amount-link.total{color:var(--navy);font-size:15px}.report-amount-link.warning{color:#a66b00;border-bottom-color:#c78a15}.report-entry-legend{color:var(--muted);background:#fffaf0;border:1px solid #eadcae;border-radius:10px;justify-content:flex-end;align-items:center;gap:18px;margin-top:-6px;padding:8px 12px;font-size:12px;display:flex}.report-entry-legend span{align-items:center;gap:7px;display:inline-flex}.report-entry-legend i{background:#fff4cf;border:1px solid #e5c96a;border-radius:4px;width:12px;height:12px}.report-entry-legend .settled-legend{color:#23673c;font-weight:900}.report-empty-add{color:#65708e;background:#fff;border:1px dashed #b8c1d7;border-radius:7px;justify-content:center;align-items:center;gap:3px;min-width:64px;padding:5px 8px;font-size:12px;font-weight:800;display:inline-flex}.report-empty-add:hover,.report-empty-add:focus-visible{border-color:var(--gold);color:#805d00;background:#fff8dc;outline:none}.report-empty-add:disabled{color:#5d7864;cursor:not-allowed;background:#f4f6f2;border-color:#c9d7cc}.report-settled-empty{color:#9aa2b4;font-weight:700}.expense-analysis-table tbody tr.report-direct-row>td,.expense-analysis-table td.report-direct-cell{background:#fff8dc}.expense-analysis-table tbody tr.report-direct-row>td:first-child{box-shadow:inset 4px 0 #d2aa2f}.report-direct-label{color:#705000;vertical-align:middle;background:#f4dc8c;border-radius:999px;margin-left:8px;padding:3px 7px;font-size:10px;font-weight:900;display:inline-flex}.report-cell-value{flex-direction:column;align-items:flex-end;gap:2px;display:inline-flex}.report-cell-value small{color:#8b6500;font-size:9px;font-weight:900}.report-inline-expense{border:1px solid #e5c96a;border-left:5px solid var(--gold);background:#fff8dc;border-radius:12px;gap:14px;padding:16px 18px;display:grid}.report-inline-expense-heading{justify-content:space-between;align-items:flex-end;gap:18px;display:flex}.report-inline-expense-heading>div{gap:3px;display:grid}.report-inline-expense-heading span{color:#8b6500;font-size:12px;font-weight:900}.report-inline-expense-heading strong{color:var(--navy);font-size:16px}.report-inline-expense-heading small{color:var(--muted)}.report-inline-expense-fields{grid-template-columns:minmax(220px,.8fr) minmax(320px,2fr);gap:12px;display:grid}.report-inline-expense-fields label{gap:6px;display:grid}.report-inline-expense-fields label>span{color:var(--muted);font-size:12px;font-weight:800}.report-inline-expense-fields input,.report-inline-expense-fields select{color:var(--navy);background:#fff;border:1px solid #d9c77d;border-radius:8px;width:100%;min-height:42px;padding:8px 10px}.report-inline-expense-fields input:focus,.report-inline-expense-fields select:focus{border-color:var(--gold);outline:none;box-shadow:0 0 0 3px #b4933124}.report-inline-expense-actions{justify-content:flex-end;gap:8px;display:flex}.report-inline-expense-actions .button:disabled{cursor:not-allowed;opacity:.45}.report-data-warning{color:#a66b00;margin-top:3px;font-size:10px;font-weight:800;display:block}.expense-drilldown-panel{gap:16px;margin-top:18px;display:grid}.expense-drilldown-table{min-width:1320px}.expense-drilldown-description{text-overflow:ellipsis;white-space:nowrap;max-width:360px;overflow:hidden}.report-source-pill{color:#3b4d83;white-space:nowrap;background:#eef1f8;border-radius:999px;padding:5px 9px;font-size:12px;font-weight:800;display:inline-flex}.report-source-pill.direct{color:#805d00;background:#fff1c8}.report-tax-cell{justify-items:end;gap:2px;display:grid}.report-tax-cell strong{color:var(--navy)}.report-tax-cell small{color:var(--muted);white-space:nowrap;font-size:10px}.direct-allocation-section{border:1px solid var(--line);background:#f7f8fc;border-radius:14px;gap:14px;padding:18px;display:grid}.direct-allocation-heading{align-items:baseline;gap:10px;display:flex}.direct-allocation-heading strong{color:var(--navy)}.direct-allocation-heading span{color:var(--muted);font-size:13px}.direct-allocation-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.direct-allocation-grid label{gap:7px;display:grid}.direct-allocation-grid label>span{color:var(--navy);font-size:15px;font-weight:800}.direct-allocation-grid label>div{border:1px solid var(--line);background:#fff;border-radius:10px;align-items:center;display:flex;overflow:hidden}.direct-allocation-grid b{color:var(--muted);padding-left:13px}.direct-allocation-grid input{border:0;border-radius:0;font-size:18px;font-weight:700}.direct-expense-note textarea{resize:vertical;min-height:88px}.direct-expense-validation{color:#a66b00;margin:-8px 0 0;font-size:13px}.direct-expense-actions{justify-content:flex-end;display:flex}.direct-expense-actions .button:disabled{cursor:not-allowed;opacity:.45}.direct-expense-history{margin-top:18px}.direct-expense-closed-note{color:#23673c;background:#eaf7ef;border:1px solid #b4dcc2;border-radius:10px;align-items:flex-start;gap:10px;padding:12px 14px;display:flex}.direct-expense-closed-note>div{gap:2px;display:grid}.direct-expense-closed-note span{color:#4f765d;font-size:13px}.table-icon:disabled{cursor:not-allowed;filter:grayscale();opacity:.35}.month-close-confirm .modal-header h2{color:var(--navy)}.month-close-summary{border:1px solid var(--line);background:#f7f8fc;border-radius:12px;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;margin:18px 0;display:grid;overflow:hidden}.month-close-summary>div{gap:5px;padding:14px;display:grid}.month-close-summary>div+div{border-left:1px solid var(--line)}.month-close-summary span{color:var(--muted);font-size:12px;font-weight:800}.month-close-summary strong{color:var(--navy);font-size:16px}.month-close-confirm-button{color:#fff;box-shadow:none;background:#23673c;border-color:#23673c}.month-close-confirm-button:hover,.month-close-confirm-button:focus-visible{background:#174d2b;border-color:#174d2b;outline:none}@media (width<=1000px){.direct-expense-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.direct-expense-fields .wide-field{grid-column:span 2}.voucher-derived-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.expense-analysis-toolbar,.expense-drilldown-heading{flex-direction:column;align-items:flex-start}.expense-report-controls{flex-direction:column;align-items:stretch;width:100%}.expense-report-switch{width:100%}.expense-report-switch button{flex:1}.expense-basis-switch{width:100%}.expense-basis-switch button{text-align:center;flex:1}.expense-analysis-kpis,.report-inline-expense-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (width<=680px){.direct-expense-form-heading,.direct-allocation-heading{flex-direction:column;align-items:stretch}.voucher-derived-heading{flex-direction:column;align-items:flex-start}.direct-expense-live-total{align-items:flex-start;min-width:0}.direct-expense-fields,.direct-allocation-grid,.month-close-summary{grid-template-columns:1fr}.month-close-summary>div+div{border-left:0;border-top:1px solid var(--line)}.direct-expense-fields .wide-field{grid-column:auto}.voucher-derived-grid,.expense-analysis-kpis{grid-template-columns:1fr}.report-entry-legend,.report-inline-expense-heading{flex-direction:column;align-items:flex-start}.report-inline-expense-fields{grid-template-columns:1fr}}*{box-sizing:border-box}body{-webkit-font-smoothing:antialiased;background:#f4f6fa;min-width:320px;min-height:100vh;margin:0}button,input,select,textarea{font:inherit}button{cursor:pointer}input,select,textarea{color:#151d42}.app-shell{min-height:100vh;display:flex}.sidebar{z-index:30;color:#fff;background:var(--navy-deep);border-right:1px solid #ffffff14;flex-direction:column;width:248px;display:flex;position:fixed;inset:0 auto 0 0;overflow-y:auto}.brand{align-items:center;gap:12px;min-height:102px;padding:24px 22px 20px;display:flex}.brand img{object-fit:contain;filter:drop-shadow(0 7px 12px #0003);flex:none;width:48px;height:48px}.brand strong{letter-spacing:.04em;white-space:nowrap;font-family:Georgia,Noto Serif TC,serif;font-size:22px;display:block}.brand span{color:#bac2df;letter-spacing:.08em;margin-top:4px;font-size:13px;display:block}.sidebar nav{flex:1;padding:0 20px 18px}.nav-section{border-bottom:1px solid #ffffff26;padding:13px 0 15px}.nav-section:first-child{padding-top:0}.nav-section:last-child{border:0!important}.nav-label{color:#c4cae0;letter-spacing:.05em;padding:0 8px 8px;font-size:13px;font-weight:700;display:block}.nav-item{color:#f1f3ff;text-align:left;background:0 0;border:0;border-radius:8px;align-items:center;gap:14px;width:100%;min-height:42px;padding:9px 12px;transition:background .18s,color .18s;display:flex;position:relative}.nav-item:hover{background:#ffffff14}.nav-item svg{color:#d8b43e;flex:none}.nav-item.purchase svg,.nav-item.purchase>span{color:#59ddd4}.nav-item>span{gap:2px;font-size:15px;display:grid}.nav-item small{color:#949dbd;font-size:11px}.nav-item.active{background:#2b3c7a;box-shadow:inset 3px 0 #d0a72e}.nav-item.purchase.active{background:#174d66;box-shadow:inset 3px 0 #59ddd4}.nav-item.active:before{content:"";background:#d0a72e;border-radius:2px;width:2px;position:absolute;top:8px;bottom:8px;left:0}.nav-item.purchase.active:before{background:#59ddd4}.sidebar-account{border-top:1px solid #ffffff29;padding:18px 28px 24px}.sidebar-account .nav-label{padding-left:0}.account-row{align-items:center;gap:12px;display:flex}.avatar{color:#fff;background:#b48e28;border-radius:50%;flex:none;place-items:center;width:38px;height:38px;font-family:Georgia,serif;font-size:18px;display:inline-grid}.account-row strong{font-size:14px;display:block}.account-row span{color:#aeb6d5;margin-top:3px;font-size:12px;display:block}.sync-state{color:#d7dcf0;align-items:center;gap:9px;margin-top:20px;font-size:12px;display:flex}.sync-state i{background:#59d49d;border-radius:50%;width:9px;height:9px;box-shadow:0 0 0 4px #59d49d14}.workspace{width:calc(100% - 248px);min-width:0;margin-left:248px}.topbar{z-index:20;background:#fffffffa;border-bottom:1px solid #e3e6ed;grid-template-columns:minmax(300px,1fr) 190px 238px 150px;align-items:center;gap:14px;height:79px;padding:0 28px;display:grid;position:sticky;top:0}.global-search{color:#4a5268;background:#f7f8fb;border:1px solid #d9dee8;border-radius:9px;align-items:center;gap:12px;height:44px;padding:0 13px;display:flex}.global-search input{color:#535a70;background:0 0;border:0;outline:0;width:100%;font-size:15px}.global-search kbd{color:#72798b;text-align:center;background:#fff;border:1px solid #dbe0e9;border-bottom-width:2px;border-radius:5px;min-width:30px;padding:3px 6px;font-size:11px}.select-field{white-space:nowrap;background:#fff;border:1px solid #d9dee8;border-radius:8px;align-items:center;gap:8px;height:45px;padding:0 30px 0 12px;display:flex;position:relative}.select-field>span{color:#535a6c;font-size:13px;font-weight:600}.select-field select{appearance:none;background:0 0;border:0;outline:0;flex:1;min-width:0;font-size:14px;font-weight:700}.select-field>svg{color:#14204e;pointer-events:none;position:absolute;right:11px}.top-select{height:44px}.month-select select{color:#0f1745}.top-account{color:#141b3f;text-align:left;background:0 0;border:0;align-items:center;gap:10px;height:50px;padding:0 4px;display:flex}.top-account>span:nth-child(2){flex:1;gap:2px;display:grid}.top-account strong{font-size:14px}.top-account small{color:#6f7689;font-size:11px}.mobile-menu-button{color:var(--navy);background:0 0;border:0;display:none}.content{background:#f5f7fb;min-height:calc(100vh - 79px);padding:24px 28px 40px}.voucher-draft-resume{border:1px solid #d7deef;border-left:4px solid var(--gold);min-height:60px;color:var(--navy);background:#fff;border-radius:10px;align-items:center;gap:13px;margin:0 0 16px;padding:9px 12px 9px 16px;display:flex;box-shadow:0 3px 12px #10194d0a}.voucher-draft-resume>svg{color:#a6811d;flex:none}.voucher-draft-resume>div{flex:1;gap:3px;min-width:0;display:grid}.voucher-draft-resume strong{font-size:15px}.voucher-draft-resume span{color:#737b8e;text-overflow:ellipsis;white-space:nowrap;font-size:13px;overflow:hidden}.voucher-draft-resume .button{flex:none}.page-heading{justify-content:space-between;align-items:center;gap:24px;min-height:102px;padding:0 10px 16px;display:flex}.eyebrow{color:var(--gold);letter-spacing:.18em;margin:0 0 6px;font-weight:800;font-size:12px!important}.page-heading h1{letter-spacing:.02em;color:#111b50;margin:0;font-family:Georgia,Noto Serif TC,serif;font-size:32px;line-height:1.2}.page-heading h1 span{color:var(--gold);font-size:23px}.page-heading p:not(.eyebrow){color:#686f81;margin:7px 0 0;font-size:14px}.page-heading b{color:#a8adbb;font-weight:400}.heading-actions{gap:14px;display:flex}.source-banner{border:1px solid #d9dfeb;border-left:4px solid var(--gold);color:#1b285d;background:#fff;border-radius:9px;align-items:center;gap:13px;margin-bottom:12px;padding:12px 16px;display:flex}.source-banner>svg{color:var(--gold);flex:none}.source-banner>div{flex:1;gap:3px;display:grid}.source-banner strong{font-size:13px}.source-banner span{color:#6e7588;font-size:11px}.local-pill{background:#e2f5e9;border-radius:999px;flex:none;padding:6px 10px;font-weight:800;color:#2c6749!important}.button{border:1px solid var(--navy);border-radius:7px;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:0 20px;font-size:14px;font-weight:800;transition:transform .15s,box-shadow .15s,background .15s;display:inline-flex}.button:hover{transform:translateY(-1px);box-shadow:0 6px 14px #0f184624}.button.primary{color:#fff;background:var(--navy)}.button.secondary{color:var(--navy);background:#fff}.button.small{min-height:38px;padding-inline:18px}.metric-strip{background:#fff;border:1px solid #e0e4ec;border-radius:10px;grid-template-columns:repeat(4,1fr);align-items:center;min-height:94px;margin-bottom:12px;padding:13px 16px;display:grid;box-shadow:0 2px 10px #10194d06}.metric-strip.dashboard-metric-strip{grid-template-columns:repeat(3,1fr)}.metric{border-right:1px solid #dfe3eb;align-items:center;gap:15px;min-width:0;padding:4px 16px;display:flex}.metric:last-child{border-right:0}.metric-icon{border-radius:9px;flex:none;place-items:center;width:48px;height:48px;display:grid}.metric-icon.gold{color:#b28b20;background:#faf4e2}.metric-icon.lavender{color:#4058c6;background:#eef0fb}.metric-icon.blue{color:#273e8b;background:#edf2fc}.metric-icon.gray{color:#505973;background:#f0f2f5}.metric span{color:#545b6e;font-size:13px;font-weight:700;display:block}.metric strong{color:#101949;letter-spacing:.045em;white-space:nowrap;margin-top:5px;font-family:Georgia,Times New Roman,serif;font-size:22px;display:block}.metric .warning-amount{color:#9a7213}.department-totals{flex-wrap:wrap;gap:4px 10px;margin-top:8px;display:flex}.metric .department-totals span{color:#6b7285;white-space:nowrap;font-size:11px;font-weight:600}.metric .department-totals b{color:#26346d;font-weight:900}.filter-bar{background:#fff;border:1px solid #dfe3eb;border-radius:9px;grid-template-columns:1.05fr 1.08fr 1.15fr 1.25fr 2.15fr auto;align-items:center;gap:9px;margin-bottom:10px;padding:8px 10px;display:grid}.filter-bar.imported-filters{grid-template-columns:1.08fr 1fr 1fr minmax(180px,1.35fr) auto}.filter-bar .select-field{height:38px;padding-left:7px}.filter-bar .select-field>span,.filter-bar .select-field select{font-size:12px}.date-field{white-space:nowrap;align-items:center;gap:8px;height:38px;display:flex}.date-field>span{color:#52596d;font-size:12px;font-weight:700}.date-field>div{border:1px solid #d9dee8;border-radius:7px;align-items:center;gap:8px;min-width:0;height:38px;padding:0 10px;display:flex}.date-field input{border:0;outline:0;width:100%;min-width:0;font-size:12px;font-weight:700}.reset-button{color:#5c6374;background:#f7f8fa;border:1px solid #d8dde6;border-radius:7px;height:38px;padding:0 15px;font-size:12px;font-weight:700}.history-bar{background:#fff;border:1px solid #dfe3eb;border-radius:9px;grid-template-columns:auto minmax(360px,1fr) auto;align-items:center;gap:12px;margin-bottom:12px;padding:8px 14px;display:grid}.history-bar>strong{color:#111a4b;font-family:Georgia,Noto Serif TC,serif;font-size:17px}.inline-search{color:#667086;background:#fff;border:1px solid #d8dde6;border-radius:7px;align-items:center;gap:9px;height:38px;padding:0 12px;display:flex}.inline-search input{background:0 0;border:0;outline:0;width:100%;font-size:12px}.history-help,.history-live-result{color:#5e6475;border-left:1px solid #aeb4c2;padding-left:16px;font-size:11.5px;line-height:1.5}.history-live-result{min-width:250px;font-weight:700}.panel{background:#fff;border:1px solid #dfe3eb;border-radius:10px;box-shadow:0 2px 10px #10194d05}.table-panel{overflow:hidden}.panel-title{align-items:center;min-height:46px;padding:0 16px;display:flex}.voucher-list-title{justify-content:space-between;gap:16px}.voucher-export-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.drive-export-button{color:#13245d;white-space:nowrap;background:#f7f8fc;border-color:#9eaacf}.drive-export-button:hover:not(:disabled){background:#eef2fb;border-color:#304680}.drive-export-status{color:#276c48;white-space:nowrap;align-items:center;gap:5px;font-size:12px;font-weight:800;display:inline-flex}.batch-payment-actions{align-items:center;gap:8px;margin-left:auto;display:flex}.batch-payment-actions>span{color:#626a7f;white-space:nowrap;font-size:12px;font-weight:800}.panel-title h2,.list-toolbar h2,.report-card h2{color:#111a4c;margin:0;font-family:Georgia,Noto Serif TC,serif;font-size:18px}.panel-title h2 span{color:#6f7586;margin-left:12px;font-family:Inter,Noto Sans TC,sans-serif;font-size:12px;font-weight:500}.table-scroll{width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%}.expense-table{min-width:1050px;font-size:12px}.voucher-table{min-width:1280px}.expense-table th,.expense-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #e2e5eb;height:35px;padding:0 10px}.expense-table th{color:#42495e;background:#f0f2f5;height:35px;font-weight:800}.expense-table th:first-child,.expense-table td:first-child{width:36px;padding-left:16px}.expense-table tbody tr:hover{background:#fafbfe}.expense-table tbody tr:last-child td{border-bottom:0}.expense-table input[type=checkbox]{width:14px;height:14px;accent-color:var(--navy)}.expense-table .align-right,.schedule-table .align-right{text-align:right}.category-cell{font-weight:600}.amount-cell{font-weight:800}.text-link{color:#11215f;background:0 0;border:0;padding:0;font-weight:900}.text-link:hover{text-decoration:underline}.status,.urgency{border-radius:999px;justify-content:center;align-items:center;min-width:57px;padding:4px 9px;font-size:11px;font-weight:800;display:inline-flex}.status svg{margin-left:3px}.status-amber{color:#8c6208;background:#fff0ca}.status-violet{color:#5d3bb4;background:#eee6ff}.status-blue{color:#12628f;background:#dff1fc}.status-green{color:#277347;background:#dff5e7}.status-gray{color:#606779;background:#eef0f3}.status-payment-trigger{cursor:pointer;background:0 0;border:0;border-radius:999px;padding:0}.status-payment-trigger:hover .status,.status-payment-trigger:focus-visible .status{transform:translateY(-1px);box-shadow:0 0 0 3px #be8e1433}.status-payment-trigger:focus-visible{outline:0}.empty-state{color:#747b8c;text-align:center!important;height:96px!important}.pagination{color:#6d7487;background:#fff;border-top:1px solid #e2e5eb;justify-content:space-between;align-items:center;gap:14px;min-height:48px;padding:8px 16px;font-size:12px;display:flex}.pagination>div{gap:7px;display:flex}.pagination button{color:#172354;background:#fff;border:1px solid #d5dae4;border-radius:6px;min-width:68px;height:31px;font-size:12px;font-weight:800}.pagination button:hover:not(:disabled){color:#fff;background:var(--navy)}.pagination button:disabled{color:#a5aab7;cursor:default;background:#f2f3f6}.schedule-panel{margin-top:12px;overflow:hidden}.schedule-title{justify-content:space-between;min-height:55px}.gold-link{color:#a57d17;background:0 0;border:0;align-items:center;gap:6px;padding:0;font-size:12px;font-weight:800;display:inline-flex}.schedule-table{min-width:890px;font-size:12px}.schedule-table th,.schedule-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #e2e5eb;height:37px;padding:0 16px}.schedule-table th{color:#4a5165;background:#f0f2f5;height:34px}.schedule-table tbody tr:last-child td{border-bottom:0}.voucher-code{color:#10215f;font-weight:900}.urgency.red{color:#af2a2f;background:#ffe2df}.urgency.yellow{color:#9b6808;background:#fff0ce}.urgency.neutral{color:#3a4c73;background:#e9edf5}.sync-banner{border:1px solid #d9dfeb;border-left:4px solid var(--gold);background:#fff;border-radius:10px;align-items:center;gap:16px;margin-bottom:14px;padding:18px 20px;display:flex}.sync-logo{background:#eef1f8;border-radius:11px;width:52px;height:52px;padding:5px}.sync-logo img{border-radius:8px;width:100%;height:100%}.sync-banner>div:nth-child(2){flex:1;gap:5px;display:grid}.sync-banner strong{font-size:16px}.sync-banner span{color:#6f7688;font-size:12px}.connected-pill{background:#e2f5e9;border-radius:99px;align-items:center;gap:5px;padding:7px 11px;font-weight:800;display:inline-flex;color:#287349!important}.vendor-stats{grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:14px;display:grid}.vendor-stats div{background:#fff;border:1px solid #dfe3eb;border-radius:9px;gap:6px;padding:18px 20px;display:grid}.vendor-stats span{color:#6c7385;font-size:12px}.vendor-stats strong{color:var(--navy);font-family:Georgia,serif;font-size:26px}.list-toolbar{align-items:center;gap:14px;min-height:66px;padding:11px 16px;display:flex}.list-toolbar h2{margin-right:auto}.list-toolbar .inline-search{width:min(380px,45vw)}.vendor-table{min-width:1260px}.master-note{border:1px solid #d9dfeb;border-left:4px solid var(--gold);color:#1b285d;background:#fff;border-radius:9px;align-items:center;gap:13px;margin-bottom:14px;padding:14px 18px;display:flex}.master-note>svg{color:var(--gold);flex:none}.master-note>div{gap:4px;display:grid}.master-note strong{font-size:14px}.master-note span{color:#6e7588;font-size:12px}.cheque-receipt-settings-panel{grid-template-columns:minmax(360px,.9fr) minmax(420px,1.1fr);gap:22px;padding:22px;display:grid}.cheque-receipt-settings-form{align-content:start;gap:18px;display:grid}.cheque-receipt-settings-form label{color:#263155;gap:8px;font-size:14px;font-weight:800;display:grid}.cheque-receipt-settings-form input,.cheque-receipt-settings-form textarea{color:#111a4c;background:#fff;border:1px solid #ccd3e2;border-radius:8px;width:100%;padding:12px 14px;line-height:1.6}.cheque-receipt-settings-form input:focus,.cheque-receipt-settings-form textarea:focus{border-color:#485b9a;outline:3px solid #26397d1f}.cheque-receipt-settings-form textarea{resize:vertical;min-height:190px}.cheque-receipt-settings-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.cheque-receipt-settings-actions>span{color:#747b8e;font-size:13px;font-weight:700}.cheque-receipt-settings-preview{color:#111;background:#fff;border:1px solid #cfd5e1;border-radius:8px;grid-template-rows:auto 1fr auto;gap:20px;min-height:330px;padding:28px 30px;display:grid;box-shadow:0 12px 28px #101c4314}.cheque-receipt-settings-preview>div{justify-items:center;gap:5px;display:grid}.cheque-receipt-settings-preview>div span{color:#777f91;letter-spacing:.12em;font-size:12px}.cheque-receipt-settings-preview>div strong{color:#111a4c;font-family:Georgia,Noto Serif TC,serif;font-size:22px}.cheque-receipt-settings-preview ul{border:2px solid #e5534b;border-radius:4px;align-content:start;gap:10px;margin:0;padding:18px 22px 18px 38px;line-height:1.55;display:grid}.cheque-receipt-settings-preview li.is-empty{color:#8a91a1}.cheque-receipt-settings-preview footer{color:#4c556b;justify-content:space-between;gap:18px;font-size:13px;display:flex}@media (width<=900px){.cheque-receipt-settings-panel{grid-template-columns:1fr}}.master-filter{min-width:190px;height:38px}.master-table{min-width:900px}.company-table{min-width:980px}.toolbar-hint{color:#6b7285;margin-left:auto;font-size:12px}.toolbar-hint strong{color:var(--navy)}.current-company-row{background:#f8f9fd}.current-tag{color:#30447e;background:#e8ecf8;border-radius:99px;margin-left:9px;padding:3px 7px;font-size:10px;font-weight:800;display:inline-flex}.table-action{color:#142153;background:#fff;border:1px solid #25346f;border-radius:6px;min-width:74px;height:28px;padding:0 10px;font-size:11px;font-weight:800}.table-action:hover:not(:disabled){color:#fff;background:#142153}.table-action:disabled{color:#7c8394;cursor:default;background:#eef0f4;border-color:#d6dae3}.report-grid{grid-template-columns:1.6fr 1fr;gap:16px;display:grid}.report-card{padding:22px}.report-card h2{margin-bottom:10px}.report-card-description{color:#686f81;margin:0 0 18px;font-size:14px;line-height:1.5}.report-month-table{min-width:560px}.report-month-table th,.report-month-table td{padding-block:13px}.report-month-label,.report-month-amount{color:var(--navy);font-weight:800}.bar-row{margin:18px 0}.bar-row>div:first-child{justify-content:space-between;margin-bottom:8px;font-size:13px;display:flex}.bar-row span{color:#737a8d}.bar-track{background:#e9ecf2;border-radius:99px;height:12px;overflow:hidden}.bar-track span{border-radius:inherit;background:var(--navy-soft);height:100%;display:block}.summary-number{border-bottom:1px solid #e1e4ea;justify-content:space-between;align-items:center;min-height:54px;display:flex}.summary-number span{color:#686f81}.summary-number strong{color:var(--navy)}.voucher-editor-page{gap:22px;display:grid}.voucher-editor-heading{grid-template-columns:minmax(0,1fr) minmax(340px,.48fr);align-items:flex-start;gap:20px;display:grid}.voucher-editor-heading-main{grid-template-columns:auto minmax(0,1fr) minmax(190px,230px);align-items:flex-start;gap:22px;min-width:0;display:grid}.voucher-editor-heading h1{color:var(--navy);margin:2px 0 7px;font-family:Georgia,Noto Serif TC,serif;font-size:clamp(28px,3vw,38px);font-weight:500}.voucher-editor-heading-copy>p:last-child{color:#737b8e;margin:0}.voucher-page-month{background:#fff8dc;border:2px solid #d4b04a;border-radius:11px;gap:7px;padding:11px 12px 12px;display:grid;box-shadow:0 0 0 4px #bc921e14}.voucher-page-month>span{color:#8a6500;font-size:14px;font-weight:850}.voucher-page-month input{color:#6e5100;background:#fffdf4;border:1px solid #caa33c;border-radius:7px;outline:0;width:100%;height:44px;padding:7px 10px;font-size:17px;font-weight:850}.voucher-page-month input:focus{border-color:#9a7413;box-shadow:0 0 0 3px #bc921e26}.back-button{min-height:42px;color:var(--navy);white-space:nowrap;background:#fff;border:1px solid #d4d9e3;border-radius:8px;align-items:center;gap:7px;margin-top:3px;padding:0 13px;font-weight:800;display:inline-flex}.back-button:hover{background:#f8f9fc;border-color:#aeb8d0}.voucher-editor-layout{grid-template-columns:minmax(0,1fr) minmax(340px,.48fr);align-items:start;gap:20px;display:grid}.voucher-form-panel,.previous-vouchers-panel{padding:24px}.voucher-form-title{border-bottom:1px solid #e1e4eb;justify-content:space-between;align-items:center;gap:16px;padding-bottom:17px;display:flex}.voucher-form-title-main{align-items:flex-end;gap:26px;min-width:0;display:flex}.voucher-record-id{gap:4px;display:grid}.voucher-record-id span,.voucher-heading-company>span{color:#7a8192;font-size:14px;font-weight:700}.voucher-record-id strong{color:var(--navy);font-size:20px}.voucher-heading-company{gap:5px;min-width:180px;display:grid}.voucher-heading-company select{width:100%;height:44px;color:var(--navy);background-color:#fff;border:1px solid #d3d8e2;border-radius:7px;padding:6px 34px 6px 10px;font-size:16px;font-weight:750}.voucher-page-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px 14px;padding:15px 0 17px}.voucher-page-form-grid label>span{font-size:14px}.voucher-page-form-grid input,.voucher-page-form-grid select{height:44px;min-height:44px;padding:6px 10px;font-size:16px}.voucher-primary-fields{grid-template-columns:minmax(240px,4.4fr) minmax(180px,2.6fr) minmax(200px,3fr);align-items:start;gap:14px;padding:3px 0 7px;display:grid}.voucher-department-field{gap:7px;min-width:0;display:grid}.voucher-field-label{color:#3d455a;font-size:14px;font-weight:800}.department-multi-select{position:relative}.department-multi-select summary{height:44px;min-height:44px;color:var(--navy);cursor:pointer;background:#fff;border:1px solid #d3d8e2;border-radius:7px;align-items:center;padding:6px 34px 6px 10px;font-size:16px;list-style:none;display:flex}.department-multi-select summary::-webkit-details-marker{display:none}.department-multi-select summary:after{content:"";border-bottom:2px solid #273252;border-right:2px solid #273252;width:7px;height:7px;position:absolute;right:13px;transform:translateY(-2px)rotate(45deg)}.department-multi-select[open] summary{border-color:#35467f;box-shadow:0 0 0 3px #283a7717}.department-options{z-index:20;background:#fff;border:1px solid #d6dce8;border-radius:8px;gap:3px;padding:7px;display:grid;position:absolute;top:calc(100% + 6px);left:0;right:0;box-shadow:0 12px 28px #111f4c26}.form-grid .department-option{min-height:36px;color:var(--navy);cursor:pointer;border-radius:6px;align-items:center;gap:9px;padding:6px 8px;display:flex}.form-grid .department-option:hover{background:#f1f4fb}.form-grid .department-option input{width:18px;min-height:18px;accent-color:var(--navy);margin:0;padding:0}.voucher-payment-method-field{grid-column:auto}.invoice-inline-section{background:#f8f9fc;border:1px solid #d7deea;border-radius:9px;align-items:start;gap:14px;min-height:66px;padding:10px 13px;display:grid}.invoice-inline-section.has-invoice{display:block}.invoice-toggle-field{background:0 0;border:0;align-self:start;align-items:center;min-height:44px;padding:0;grid-template-columns:none!important;gap:12px!important;display:flex!important}.invoice-inline-section.has-invoice .invoice-toggle-field{margin-top:25px}.voucher-page-form-grid .invoice-toggle-field>input{width:20px;min-height:20px;accent-color:var(--navy);flex:none}.invoice-toggle-field>span{gap:3px;display:grid}.invoice-toggle-field strong{color:var(--navy);font-size:15px}.invoice-toggle-field small{color:#747c8f;font-size:13px;font-weight:500}.invoice-details-panel{gap:8px;display:grid}.invoice-details-heading{justify-content:space-between;align-items:center;gap:10px;display:flex}.invoice-details-heading strong{color:var(--navy);font-size:14px}.invoice-add-button{min-height:30px;color:var(--navy);background:#fff;border:1px solid #9da9c5;border-radius:6px;justify-content:center;align-items:center;gap:5px;padding:4px 9px;font-size:13px;font-weight:800;display:inline-flex}.invoice-entry-table{background:#fff;border:1px solid #d7dce6;border-radius:8px;width:100%;overflow-x:auto}.invoice-entry-header,.invoice-entry-row,.invoice-entry-total{grid-template-columns:minmax(100px,.65fr) minmax(105px,.72fr) minmax(180px,1.25fr) minmax(120px,.8fr) minmax(100px,.65fr) minmax(125px,.8fr) 38px;align-items:center;min-width:900px;display:grid}.invoice-entry-header{color:#30384d;background:#edf0f5;min-height:36px;font-size:13px;font-weight:850}.invoice-entry-header>span,.invoice-entry-total>*{padding:0 10px}.invoice-entry-row{border-top:1px solid #e0e4eb;min-height:58px}.invoice-entry-row>label{min-width:0;padding:7px 5px;display:block}.invoice-entry-row>label>span{display:none}.invoice-entry-row input,.invoice-entry-row select{width:100%;min-width:0;height:42px;padding:0 10px}.invoice-entry-row input[readonly]{color:var(--navy);background:#f1f3f8;font-weight:850}.invoice-entry-total{color:#6f5100;background:#fff7ad;border-top:2px solid #b89019;min-height:43px}.invoice-entry-total b{text-align:right;font-size:14px}.invoice-entry-total>strong{color:#c13228;grid-column:1/4;font-size:15px}.invoice-remove-button{color:#ae3945;background:#fff7f7;border:1px solid #e3b6ba;border-radius:7px;place-items:center;width:34px;height:44px;display:grid}.invoice-company-report{margin-top:16px;padding:20px}.invoice-company-report-heading{justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:16px;display:flex}.invoice-company-report-heading h2{color:var(--navy);margin:4px 0 0}.invoice-company-report-heading>strong{color:#a77c10;font-family:Georgia,Times New Roman,serif;font-size:24px}.invoice-company-table{min-width:600px}.invoice-company-table tfoot th{color:#7b5700;background:#fff7ad;border-top:2px solid #b68d15;height:42px;font-size:14px}.voucher-amount-section{background:#f8f9fc;border:1px solid #d6ddeb;border-radius:10px;padding:16px}.voucher-adjustment-only{padding:14px 16px}.department-allocation-section{background:#f4f7fd;border:1px solid #b9c7e8;border-radius:10px;padding:16px}.department-allocation-heading{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:14px;display:flex}.department-allocation-heading>div{gap:4px;display:grid}.department-allocation-heading strong{color:var(--navy);font-size:16px}.department-allocation-heading span{color:#687188;font-size:13px}.department-allocation-heading>b{color:var(--navy);white-space:nowrap}.department-allocation-grid{grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px;display:grid}.department-allocation-grid label{gap:7px;display:grid}.department-allocation-grid label>span{color:#3d455a;font-size:14px;font-weight:800}.department-allocation-grid input{background:#fff;border:1px solid #c7d1e5;border-radius:7px;width:100%;min-height:44px;padding:8px 11px;font-size:16px}.department-allocation-summary{border-top:1px solid #d8dfed;justify-content:flex-end;gap:18px;margin-top:13px;padding-top:12px;font-size:14px;display:flex}.department-allocation-summary.is-valid strong{color:#278054}.department-allocation-summary.is-invalid strong{color:#b53b49}.button:disabled{opacity:.5;cursor:not-allowed}.voucher-adjustment-only .voucher-adjustment-row{border-top:0;padding-top:0}.voucher-amount-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:13px;display:flex}.voucher-amount-heading>div{gap:3px;display:grid}.voucher-amount-heading strong{color:var(--navy);font-size:16px}.voucher-amount-heading span{color:#747c8f;font-size:13px}.voucher-amount-heading>b{color:#a42f3e;white-space:nowrap;background:#fff3f4;border:1px solid #e6b7bd;border-radius:8px;padding:7px 12px;font-family:Georgia,Times New Roman,serif;font-size:22px;font-weight:900}.voucher-amount-grid{gap:14px;display:grid}.voucher-base-amount-row{grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:12px;display:grid}.voucher-adjustment-row{border-top:1px solid #dce1eb;grid-template-columns:1fr 1fr;gap:12px;padding-top:13px;display:grid}.voucher-amount-grid label{align-content:start;gap:7px;display:grid}.voucher-amount-grid label>span{color:#3d455a;font-size:14px;font-weight:800}.voucher-amount-grid input{font-variant-numeric:tabular-nums;background:#fff;border:1px solid #cfd6e3;border-radius:7px;width:100%;height:44px;min-height:44px;padding:7px 10px;font-size:16px}.voucher-amount-grid input[readonly]{color:#26346d;background:#eef1f8;font-weight:800}.voucher-amount-grid small{color:#7d8495;font-size:12px;line-height:1.4}.voucher-adjustment-label span,.voucher-adjustment-label small{display:block}.voucher-adjustment-label small{color:#4b5368;margin-top:3px;font-size:11px;font-weight:600;line-height:1.2}.final-payment-field input{border-color:#d99ca5;box-shadow:inset 4px 0 #b53b49;color:#a42f3e!important;background:#fff3f4!important;font-weight:900!important}.voucher-details-field textarea{resize:vertical;min-height:330px;padding:14px;font-size:16px;line-height:1.65}.voucher-page-actions{border-top:1px solid #e1e4eb;justify-content:flex-end;gap:10px;padding-top:18px;display:flex}.previous-vouchers-panel{flex-direction:column;max-height:calc(100vh - 122px);display:flex;position:sticky;top:96px}.previous-vouchers-header{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.previous-vouchers-header h2{color:var(--navy);margin:4px 0;font-family:Georgia,Noto Serif TC,serif;font-size:24px;font-weight:500}.previous-vouchers-header span{color:#7a8191;font-size:14px}.previous-vouchers-header>svg{color:var(--gold)}.reference-search{color:#7b8293;background:#fff;border:1px solid #d5dae4;border-radius:8px;align-items:center;gap:9px;min-height:44px;margin:18px 0 12px;padding:0 12px;display:flex}.reference-search input{border:0;outline:0;width:100%;font-size:15px}.reference-search:has(input:disabled){color:#a0a6b3;background:#f4f5f8}.reference-search input:disabled{color:#9aa1b0;cursor:not-allowed;background:0 0}.previous-voucher-list{gap:10px;min-height:0;padding-right:4px;display:grid;overflow-y:auto}.previous-voucher-list article{background:#fff;border:1px solid #dfe3eb;border-radius:10px;gap:11px;padding:15px;display:grid}.previous-voucher-card-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.previous-voucher-card-head>div{gap:3px;display:grid}.previous-voucher-card-head strong{color:var(--navy);font-size:15px}.previous-voucher-card-head span{color:#858c9c;font-size:13px}.previous-voucher-card-head b{color:var(--navy);white-space:nowrap;font-size:15px}.previous-voucher-list dl{grid-template-columns:1fr 1fr;gap:10px;margin:0;display:grid}.previous-voucher-list dl>div{gap:2px;display:grid}.previous-voucher-list dt{color:#8a91a1;font-size:12px}.previous-voucher-list dd{color:#3f475c;margin:0;font-size:13px}.previous-voucher-list article>p{color:#596176;white-space:pre-line;max-height:4.6em;margin:0;font-size:13px;line-height:1.55;overflow:hidden}.reference-actions{justify-content:flex-end;gap:8px;display:flex}.copy-safety-note{color:#665a31;background:#faf6e8;border-radius:8px;align-items:flex-start;gap:8px;margin-top:12px;padding:11px 12px;font-size:13px;line-height:1.5;display:flex}.copy-safety-note svg{flex:none;margin-top:1px}.modal-backdrop{z-index:100;background:#070c2899;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.modal{background:#fff;border:1px solid #d9deea;border-radius:12px;width:min(720px,100%);max-height:calc(100vh - 40px);padding:24px;overflow-y:auto;box-shadow:0 24px 70px #0409214d}.quick-modal{width:min(820px,100%)}.modal-header{border-bottom:1px solid #e1e4eb;justify-content:space-between;gap:20px;padding-bottom:18px;display:flex}.modal-header h2{color:var(--navy);margin:0;font-family:Georgia,Noto Serif TC,serif;font-size:24px}.modal-header p:not(.eyebrow){color:#71788a;margin:6px 0 0;font-size:13px}.icon-button{color:#2f3854;background:#fff;border:1px solid #d8dde7;border-radius:7px;flex:none;place-items:center;width:38px;height:38px;display:grid}.form-grid{grid-template-columns:1fr 1fr;gap:16px;padding:20px 0;display:grid}.form-grid label{gap:7px;display:grid}.form-grid label>span{color:#3d455a;font-size:12px;font-weight:800}.form-grid input,.form-grid select,.form-grid textarea{background:#fff;border:1px solid #d3d8e2;border-radius:7px;outline:0;width:100%;min-height:43px;padding:9px 11px}.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus{border-color:#35467f;box-shadow:0 0 0 3px #283a7717}.form-wide{grid-column:1/-1}.modal-actions{border-top:1px solid #e1e4eb;justify-content:flex-end;gap:10px;padding-top:17px;display:flex}.settlement-export-modal{width:min(760px,100%)}.settlement-export-summary{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:20px 0 14px;display:grid}.settlement-export-summary>div{background:#f8f9fc;border:1px solid #dfe3ec;border-radius:8px;min-width:0;padding:13px 14px}.settlement-export-summary span,.settlement-export-summary strong{display:block}.settlement-export-summary span{color:#6b7387;font-size:11px;font-weight:800}.settlement-export-summary strong{color:var(--navy);margin-top:6px;font-size:14px}.settlement-file-card{color:#263f80;background:#f4f7fd;border:1px solid #cbd4e8;border-left:4px solid #3e5595;border-radius:8px;align-items:center;gap:13px;padding:15px;display:flex}.settlement-file-card div{min-width:0}.settlement-file-card strong,.settlement-file-card span{display:block}.settlement-file-card strong{color:var(--navy);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.settlement-file-card span{color:#68728a;margin-top:4px;font-size:12px;line-height:1.5}.settlement-export-message{border-radius:8px;align-items:flex-start;gap:10px;margin-top:14px;padding:13px 14px;display:flex}.settlement-export-message.success{color:#246743;background:#eaf7ef}.settlement-export-message.error{color:#8d3b30;background:#fff0ed}.settlement-export-message svg{flex:none}.settlement-export-message strong,.settlement-export-message span,.settlement-export-message a{display:block}.settlement-export-message span{margin-top:3px;font-size:12px;line-height:1.5}.settlement-export-message a{color:inherit;margin-top:5px;font-size:12px;font-weight:800}.settlement-export-message a svg{vertical-align:text-bottom;margin-left:5px}.settlement-safety-note{color:#665a31;background:#faf6e8;border-radius:7px;align-items:flex-start;gap:8px;margin:14px 0 18px;padding:11px 12px;font-size:12px;line-height:1.5;display:flex}.settlement-safety-note svg{flex:none}.settlement-export-actions{flex-wrap:wrap}.purchase-payment-modal{width:min(1120px,100%)}.batch-payment-modal{width:min(920px,100%)}.batch-payment-summary{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:18px 0 12px;display:grid}.batch-payment-summary>div{background:#f8f9fc;border:1px solid #dfe3ec;border-radius:8px;padding:13px 15px}.batch-payment-summary span{color:#6c7385;font-size:13px;font-weight:700;display:block}.batch-payment-summary strong{color:var(--navy);margin-top:5px;font-family:Georgia,Times New Roman,serif;font-size:21px;display:block}.batch-payment-records{border:1px solid #dfe3ec;border-radius:8px;max-height:230px;margin-bottom:14px;overflow-y:auto}.batch-payment-record-heading,.batch-payment-record{grid-template-columns:145px minmax(200px,1fr) 120px 135px;align-items:center;gap:12px;min-height:42px;padding:7px 12px;display:grid}.batch-payment-record-heading{z-index:1;color:#545c71;background:#f0f2f5;font-size:12px;font-weight:800;position:sticky;top:0}.batch-payment-record{color:#313950;border-top:1px solid #e4e7ed;font-size:13px}.batch-payment-record strong{color:var(--navy)}.batch-payment-record b{color:var(--navy);text-align:right;white-space:nowrap}.batch-payment-fields{background:#fbfcfe;border:1px solid #dfe3ec;border-radius:9px;grid-template-columns:160px 150px minmax(300px,1fr);gap:12px;margin-bottom:16px;padding:16px;display:grid}.batch-payment-fields>label{min-width:0}.batch-payment-fields>label>span{color:#424b61;margin-bottom:6px;font-size:13px;font-weight:800;display:block}.batch-payment-fields input,.batch-payment-fields select{width:100%;height:44px;color:var(--navy);background:#fff;border:1px solid #d3d8e2;border-radius:7px;outline:0;padding:8px 10px;font-size:14px}.batch-payment-fields input:focus,.batch-payment-fields select:focus{border-color:#35467f;box-shadow:0 0 0 3px #283a7717}.payment-allocation-summary{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:10px;margin:18px 0;display:grid}.payment-allocation-summary>div{background:#f8f9fc;border:1px solid #dfe3ec;border-radius:8px;padding:13px 15px}.payment-allocation-summary span{color:#6c7385;font-size:13px;font-weight:700;display:block}.payment-allocation-summary strong{color:var(--navy);margin-top:5px;font-family:Georgia,Times New Roman,serif;font-size:21px;display:block}.payment-allocation-summary .summary-overpaid{background:#fff4f4;border-color:#efc6c6}.payment-allocation-summary .summary-overpaid strong{color:#aa3038}.payment-split-section{background:#fbfcfe;border:1px solid #dfe3ec;border-radius:9px;margin-bottom:16px;padding:16px}.payment-split-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:13px;display:flex}.payment-split-heading h3,.payment-split-heading p{margin:0}.payment-split-heading h3{color:var(--navy);font-size:17px}.payment-split-heading p{color:#747b8d;margin-top:3px;font-size:13px}.payment-split-labels,.payment-split-row{grid-template-columns:135px 120px minmax(280px,1fr) 155px 42px;align-items:center;gap:10px;display:grid}.payment-split-labels.has-exchange-rate,.payment-split-row.has-exchange-rate{grid-template-columns:120px 110px minmax(260px,1fr) 135px 165px 42px}.payment-split-labels{color:#4a5268;padding:0 1px 7px;font-size:13px;font-weight:800}.payment-split-list{gap:9px;display:grid}.payment-split-row input,.payment-split-row select{width:100%;height:44px;color:var(--navy);background:#fff;border:1px solid #d3d8e2;border-radius:7px;outline:0;padding:8px 10px;font-size:15px}.payment-split-row input:focus,.payment-split-row select:focus{border-color:#35467f;box-shadow:0 0 0 3px #283a7717}.payment-account-picker{grid-template-columns:minmax(120px,.8fr) minmax(130px,1fr);align-items:start;gap:8px;min-width:0;display:grid}.payment-account-picker select{min-width:0}.payment-account-picker select:disabled{color:#9aa1b1;background:#f4f5f7}.account-picker-selected{color:#67718a;grid-column:1/-1;margin-top:-2px;font-size:12px;font-weight:700;display:block}.exchange-rate-field{gap:3px;display:grid}.exchange-rate-field small{color:#6d7487;font-size:12px;font-weight:700}.payment-row-delete{color:#b63d43;background:#fff;border:1px solid #edc7c7;border-radius:7px;place-items:center;width:42px;height:42px;display:grid}.payment-row-delete:disabled{opacity:.35;cursor:not-allowed}.payment-confirm-note{color:#6f5814;background:#fff9e8;border:1px solid #eadba5;border-radius:8px;margin-bottom:18px;padding:12px 14px;font-size:13px;font-weight:700}.payment-confirm-error{color:#9d3038;background:#fff4f4;border-color:#efc6c6}@media (width<=760px){.batch-payment-summary,.batch-payment-fields{grid-template-columns:1fr}.batch-payment-record-heading,.batch-payment-record{grid-template-columns:110px minmax(180px,1fr) 110px 120px;min-width:560px}.payment-allocation-summary{grid-template-columns:1fr}.payment-split-labels{display:none}.payment-split-row,.payment-split-row.has-exchange-rate{grid-template-columns:1fr 42px}.payment-split-row input,.payment-split-row select,.payment-split-row .payment-account-picker{grid-column:1}.payment-row-delete{grid-area:1/2}}.modal-search{border:1px solid #d2d7e1;border-radius:8px;align-items:center;gap:10px;height:46px;margin:18px 0 12px;padding:0 13px;display:flex}.modal-search input{border:0;outline:0;width:100%}.history-list{gap:9px;display:grid}.history-list article{border:1px solid #dfe3eb;border-radius:8px;justify-content:space-between;align-items:center;gap:18px;padding:14px;display:flex}.history-list article>div{gap:4px;display:grid}.history-list article>div:last-child{grid-template-columns:auto auto;align-items:center;gap:16px}.history-list strong{color:var(--navy);font-size:14px}.history-list span{color:#757c8e;font-size:12px}.history-list b{white-space:nowrap;font-size:13px}.modal-note{color:#75560e;background:#faf2dc;border-radius:7px;align-items:center;gap:8px;margin-top:14px;padding:11px 13px;font-size:12px;display:flex}.toast{z-index:120;color:#fff;background:#142153;border-radius:8px;align-items:center;gap:9px;padding:12px 17px;font-weight:700;display:flex;position:fixed;bottom:28px;right:28px;box-shadow:0 12px 30px #04092140}.mobile-overlay{display:none}.purchase-source{border-left-color:#3d64ad}.purchase-filters{grid-template-columns:1fr 1fr 1fr minmax(280px,2fr)!important}.purchase-search{width:100%}.purchase-table{min-width:1320px}.purchase-vendor-cell{max-width:340px}.purchase-vendor-trigger{width:100%;color:inherit;font:inherit;line-height:inherit;text-align:left;text-overflow:ellipsis;white-space:nowrap;cursor:help;background:0 0;border:0;border-radius:6px;margin:-5px -7px;padding:5px 7px;transition:color .14s,background-color .14s,box-shadow .14s;display:block;overflow:hidden}.purchase-vendor-trigger:hover,.purchase-vendor-trigger:focus-visible{color:#1b397d;background:#edf3ff;outline:none;box-shadow:inset 0 0 0 1px #b7c8ef}.purchase-vendor-price-preview{z-index:240;color:#17244c;pointer-events:none;background:#fff;border:1px solid #c7d2e8;border-radius:10px;padding:16px;position:fixed;box-shadow:0 18px 48px #0c1a4338}.purchase-price-preview-heading{border-bottom:1px solid #e2e7f1;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:12px;display:flex}.purchase-price-preview-heading div{min-width:0}.purchase-price-preview-heading span{color:#8f6b0b;letter-spacing:.12em;margin-bottom:4px;font-size:11px;font-weight:900;display:block}.purchase-price-preview-heading strong{overflow-wrap:anywhere;font-size:15px;line-height:1.35;display:block}.purchase-price-preview-heading small{color:#5f6980;background:#f0f3f8;border-radius:999px;flex:none;padding:4px 7px;font-size:11px;font-weight:800}.purchase-price-preview-note,.purchase-price-preview-more,.purchase-price-preview-empty{color:#697287;margin:10px 0 0;font-size:12px;line-height:1.5}.purchase-price-preview-note{color:#795b0c;background:#fff8dd;border-radius:6px;padding:7px 9px}.purchase-price-preview-labels,.purchase-price-preview-line{grid-template-columns:minmax(86px,1.2fr) 58px minmax(92px,1fr) minmax(100px,1.1fr);align-items:center;gap:10px;display:grid}.purchase-price-preview-labels{color:#8790a3;padding:11px 4px 6px;font-size:11px;font-weight:800}.purchase-price-preview-labels span:not(:first-child),.purchase-price-preview-line span{text-align:right}.purchase-price-preview-line{border-top:1px solid #eef1f6;padding:8px 4px;font-size:12px}.purchase-price-preview-line strong{overflow-wrap:anywhere;font-size:12px}.purchase-price-preview-line span:last-child{color:#24458d;font-weight:800}.purchase-price-preview-total{color:#6d520b;background:#fff5b8;border-radius:7px;justify-content:space-between;align-items:center;gap:16px;margin-top:10px;padding:11px 12px;font-size:13px;font-weight:800;display:flex}.purchase-price-preview-total strong{color:#14245a;font-size:15px}.container-volume-panel{margin-bottom:12px;padding:18px 20px}.container-volume-layout{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:12px;display:grid}.container-volume-layout .container-volume-panel{min-width:0;margin-bottom:0}.inventory-volume-panel{border-top:3px solid #c7a335}.container-volume-heading{justify-content:space-between;align-items:center;gap:20px;display:flex}.container-volume-heading h2{color:var(--navy);margin:4px 0 0;font-size:20px}.container-volume-subtitle{color:#737b8e;margin:6px 0 0;font-size:13px}.container-volume-total{color:var(--navy);white-space:nowrap;flex:none;font-family:Georgia,Times New Roman,serif;font-size:26px}.inventory-total{color:#9a7410}.container-size-rollup{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.container-size-rollup span{color:#4f5870;background:#eef1f8;border-radius:999px;padding:7px 10px;font-size:13px}.container-type-totals{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px;margin-top:15px;display:grid}.container-type-totals>div{background:#fff;border:1px solid #dfe3eb;border-radius:9px;padding:13px}.container-type-totals span{color:#6f7689;font-size:13px;font-weight:800;display:block}.container-type-totals strong{color:var(--navy);font-size:24px}.container-type-totals small{color:#7d8495;margin-left:4px}.container-volume-layout .container-type-totals{grid-template-columns:repeat(auto-fit,minmax(92px,1fr))}.inventory-count-toggle{white-space:nowrap;align-items:center;gap:7px;font-size:13px;font-weight:800;display:inline-flex}.inventory-count-toggle input{accent-color:#17275c;width:18px;height:18px}@media (width<=1180px){.container-volume-layout{grid-template-columns:1fr}}.purchase-voucher-page{gap:22px;display:grid}.purchase-voucher-form{padding:24px}.purchase-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding-bottom:22px;display:grid}.purchase-form-grid label,.purchase-note-field{gap:7px;display:grid}.purchase-form-grid label>span,.purchase-note-field>span{color:#3d455a;font-size:14px;font-weight:800}.purchase-form-grid input,.purchase-form-grid select,.purchase-note-field textarea,.container-line-row input,.container-line-row select{width:100%;min-height:42px;color:var(--navy);background:#fff;border:1px solid #d3d8e2;border-radius:7px;padding:8px 10px;font-size:15px}.purchase-vendor-field,.purchase-payment-field{grid-column:span 2}.container-line-editor{background:#f8f9fc;border:1px solid #dbe1ec;border-radius:11px;padding:20px}.container-line-heading{justify-content:space-between;align-items:center;gap:20px;margin-bottom:14px;display:flex}.container-line-heading h2{color:var(--navy);margin:3px 0 0;font-size:21px}.container-line-labels,.container-line-row{grid-template-columns:1.4fr .55fr .8fr 1fr 44px;align-items:center;gap:10px;display:grid}.container-line-labels{color:#7b8293;padding:0 4px 7px;font-size:13px;font-weight:800}.container-line-list{gap:9px;display:grid}.container-line-row{background:#fff;border:1px solid #dfe3eb;border-radius:9px;padding:10px}.container-line-row strong{color:var(--navy);text-align:right}.line-delete-button{color:#a83c42;background:#fff;border:1px solid #e1c9cc;border-radius:7px;place-items:center;width:40px;height:40px;display:grid}.line-delete-button:disabled{opacity:.35}.container-line-summary{color:#5f677b;border-top:1px solid #dce1eb;justify-content:flex-end;gap:24px;margin-top:14px;padding-top:14px;display:flex}.container-line-summary b{color:var(--navy);margin-left:5px;font-size:18px}.purchase-note-field{margin:18px 0}.currency-pill{border-radius:99px;justify-content:center;min-width:46px;padding:4px 8px;font-size:11px;font-weight:900;display:inline-flex}.currency-pill.currency-usd{color:#29468a;background:#e7eefc;box-shadow:inset 0 0 0 1px #d6e1f8}.currency-pill.currency-twd{color:#8a5a00;background:#fff1cf;box-shadow:inset 0 0 0 1px #f3dfad}.currency-amount.currency-usd{color:#23478f}.currency-amount.currency-twd{color:#8a5a00}.table-actions{align-items:center;gap:5px;display:flex}.table-actions button{color:#25335f;white-space:nowrap;background:#fff;border:1px solid #d0d6e1;border-radius:6px;align-items:center;gap:4px;min-height:28px;padding:0 8px;font-size:11px;font-weight:800;display:inline-flex}.table-actions button:hover{color:#fff;background:var(--navy)}.table-actions button.danger{color:#9d3338;border-color:#e2c3c5}.table-actions button.danger:hover{color:#fff;background:#a63137}.vendor-tabs{border-bottom:1px solid #e1e4eb;gap:4px;padding:12px 16px 0;display:flex}.vendor-tabs button{color:#666e82;background:0 0;border:0;border-bottom:3px solid #0000;min-height:40px;padding:0 18px;font-weight:800}.vendor-tabs button.active{color:var(--navy);border-color:var(--gold)}.vendor-tabs span{min-width:24px;color:inherit;background:#edf0f6;border-radius:99px;justify-content:center;margin-left:5px;padding:3px 6px;font-size:10px;display:inline-flex}.bank-button{color:#284785;background:#f7f9fd;border:1px solid #d5dce9;border-radius:6px;align-items:center;gap:6px;min-height:30px;padding:0 9px;font-size:11px;font-weight:800;display:inline-flex}.bank-button:hover{color:#fff;background:#284785}.shared-code-button{color:#6f5411;background:#fff9e8;border:1px solid #d5c77d;border-radius:7px;align-items:center;gap:6px;min-height:31px;padding:0 10px;display:inline-flex}.shared-code-button strong{letter-spacing:.08em;font-size:12px}.shared-code-button small{color:#8b7433;font-size:10px}.shared-code-button:hover{color:#fff;background:#8a6b18}.shared-code-button:hover small{color:#fff}.unlinked-code{color:#858b9a;font-size:11px}.company-actions{align-items:center;gap:8px;display:flex}.vendor-editor-modal{width:min(980px,100%)}.field-help{color:#757d90;font-size:11px;line-height:1.5}.price-reference-panel{background:#f8f9fc;border:1px solid #d9dfeb;border-radius:10px;margin:0 0 20px;overflow:hidden}.price-reference-header{background:#fff;border-bottom:1px solid #dfe3eb;justify-content:space-between;align-items:center;gap:20px;padding:16px 18px;display:flex}.price-reference-header>div{gap:5px;display:grid}.price-reference-label{color:#8b6b18;letter-spacing:.08em;align-items:center;gap:7px;font-size:11px;font-weight:900;display:inline-flex}.price-reference-header strong{color:var(--navy);font-size:16px}.price-reference-header small{color:#6f7688;font-size:11px}.price-reference-header a{color:#19275c;white-space:nowrap;background:#fff;border:1px solid #24366f;border-radius:7px;justify-content:center;align-items:center;min-height:38px;padding:0 14px;font-size:12px;font-weight:800;text-decoration:none;display:inline-flex}.price-reference-header a:hover{color:#fff;background:#19275c}.price-reference-empty{color:#737b8d;text-align:center;padding:20px;font-size:12px;line-height:1.6}.price-reference-table{border-collapse:collapse;background:#fff;width:100%;min-width:820px;font-size:12px}.price-reference-table th,.price-reference-table td{text-align:left;white-space:nowrap;border-bottom:1px solid #e1e5ec;height:42px;padding:8px 12px}.price-reference-table th{color:#4d5569;background:#f0f2f6;font-size:11px}.price-reference-table tbody tr:last-child td{border-bottom:0}.price-change{border-radius:99px;padding:5px 9px;font-size:10px;font-weight:800;display:inline-flex}.price-change.up{color:#a12f36;background:#fde4e6}.price-change.down{color:#25744b;background:#e0f4e8}.price-change.neutral{color:#646c7f;background:#eceff4}.remittance-modal{width:min(960px,100%)}.ai-remittance-import{background:linear-gradient(135deg,#f7f9ff 0%,#fffaf0 100%);border:1px solid #d8dfef;border-radius:10px;gap:12px;margin-top:18px;padding:16px;display:grid}.ai-import-heading{align-items:flex-start;gap:11px;display:flex}.ai-import-icon{color:#825c09;background:#f8e8b9;border-radius:9px;flex:none;place-items:center;width:38px;height:38px;display:grid}.ai-import-heading h3{color:var(--navy);margin:0 0 3px;font-size:17px}.ai-import-heading p{color:#697186;margin:0;font-size:13px}.ai-remittance-import textarea{width:100%;min-height:112px;color:var(--navy);resize:vertical;background:#fff;border:1px solid #cfd7e7;border-radius:8px;padding:11px 12px;font-size:14px;line-height:1.55}.ai-import-actions{justify-content:space-between;align-items:center;gap:12px;display:flex}.ai-review-pill{color:#8a5a00;background:#fff0c8;border-radius:999px;padding:7px 10px;font-size:12px;font-weight:800;display:inline-flex}.remittance-layout{grid-template-columns:250px minmax(0,1fr);gap:20px;padding:20px 0;display:grid}.account-list{border-right:1px solid #e0e4eb;align-content:start;gap:8px;padding-right:18px;display:grid}.add-account{color:#253a73;background:#f8f9fc;border:1px dashed #9ba5bc;border-radius:7px;justify-content:center;align-items:center;gap:6px;min-height:40px;font-weight:800;display:flex}.account-card{background:#fff;border:1px solid #dfe3eb;border-radius:8px;grid-template-columns:minmax(0,1fr) 34px;display:grid}.account-card.active{border-color:#344b8b;box-shadow:0 0 0 2px #344b8b14}.account-card>button:first-child{text-align:left;background:0 0;border:0;gap:4px;padding:10px;display:grid}.account-card strong,.account-card span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-card span{color:#737b8f;font-size:11px}.account-delete{color:#9e383d;background:0 0;border:0}.remittance-form{padding:0}.check-label{grid-template-columns:auto 1fr;align-content:center;align-items:center}.check-label input{width:18px;min-height:18px}.ai-verification-check{color:#6f5107;background:#fff8e5;border:1px solid #e8c86b;border-radius:8px;align-items:center;padding:11px 12px;grid-template-columns:auto 1fr!important}.ai-verification-check input{width:20px;min-height:20px;accent-color:var(--navy)}.ai-verification-check span{font-weight:800}.danger-text{color:#a53035!important}.danger-button{color:#fff;box-shadow:none;background:#a53035}.confirm-modal{width:min(560px,100%)}.record-actions{align-items:center;gap:8px;display:flex}.print-cheque-button{color:#17275c;white-space:nowrap;background:#fff9e8;border:1px solid #c8a635;border-radius:6px;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:6px 10px;font-weight:800;display:inline-flex}.cheque-receipt-button{color:#17275c;white-space:nowrap;background:#fff8df;border:1px solid #c59a18}.print-voucher-button{color:#17275c;white-space:nowrap;background:#f4f6fb;border:1px solid #aeb9d2;border-radius:6px;justify-content:center;align-items:center;gap:6px;min-height:34px;padding:6px 10px;font-weight:800;display:inline-flex}.payment-note{border-left:4px solid #c8a635}.payment-master-sections{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-bottom:14px;display:grid}.payment-master-sections>button{min-height:72px;color:var(--navy);text-align:left;background:#fff;border:1px solid #d8dde8;border-radius:9px;justify-content:space-between;align-items:center;gap:14px;padding:14px 18px;display:flex}.payment-master-sections>button:hover,.payment-master-sections>button.is-active{background:#eef2fb;border-color:#24366f;box-shadow:inset 4px 0 #c5a333}.payment-master-sections span{font-size:16px;font-weight:800}.payment-master-sections strong{color:#fff;background:var(--navy);text-align:center;border-radius:999px;min-width:34px;padding:5px 9px}.payment-method-table.payment-section-table{min-width:900px}.payment-bank-filter{color:#6d7487;align-items:center;gap:10px;margin-top:6px;font-size:13px;font-weight:700;display:inline-flex}.payment-bank-filter button{color:var(--navy);background:#fff;border:1px solid #bcc5d8;border-radius:5px;padding:3px 8px;font-weight:800}.payment-bank-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:12px;padding:18px;display:grid}.payment-bank-grid article{background:#fbfcfe;border:1px solid #dfe3ec;border-radius:9px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:17px;display:grid}.payment-bank-grid article>svg{color:#9b7a12}.payment-bank-grid h3,.payment-bank-grid p{margin:0}.payment-bank-grid h3{color:var(--navy);font-size:17px}.payment-bank-grid p{color:#697186;margin-top:4px;font-size:13px}.payment-bank-grid span{color:#858c9d;margin-top:4px;font-size:12px;display:block}.payment-bank-grid article>button{color:var(--navy);background:#fff;border:1px solid #aeb9d2;border-radius:6px;padding:8px 11px;font-weight:800}.payment-method-table{min-width:1180px}.payment-method-table td{vertical-align:middle}.payment-type{color:#344b8b;white-space:nowrap;background:#eef1f8;border-radius:999px;padding:5px 9px;font-weight:800;display:inline-flex}.payment-type-支票{color:#7a5d00;background:#fff2c7}.payment-type-現金{color:#25744b;background:#e0f4e8}.payment-type-信用卡{color:#6a3d8f;background:#f0e5f8}.cell-subtext{color:#737b8f;margin-top:4px;display:block}@media (width<=900px){.payment-master-sections{grid-template-columns:repeat(2,minmax(0,1fr))}.payment-bank-grid{grid-template-columns:1fr}}.receipt-print-backdrop{align-items:flex-start;overflow-y:auto}.receipt-print-modal{width:min(980px,100%);margin-block:20px;overflow-x:auto}.receipt-preview-pages{gap:18px;padding:18px 0;display:grid}.receipt-print-page{box-sizing:border-box;color:#111;background:#fff;grid-template-rows:repeat(3,84mm);align-content:start;gap:7mm;width:210mm;max-width:none;min-height:297mm;margin:0 auto;padding:12mm 14mm;display:grid;box-shadow:0 10px 30px #0c143121}.cheque-receipt{box-sizing:border-box;color:#111;border-bottom:1px dashed #777;height:84mm;font-family:Noto Sans TC,PingFang TC,sans-serif;position:relative;overflow:hidden}.cheque-receipt header{justify-items:center;gap:1mm;margin-bottom:2mm;line-height:1.15;display:grid}.cheque-receipt header strong{font-size:13pt}.cheque-receipt header span{font-size:8pt}.cheque-receipt header b{font-size:11pt}.cheque-receipt table{table-layout:fixed;border-collapse:collapse;width:100%;font-size:8.5pt}.cheque-receipt th,.cheque-receipt td{box-sizing:border-box;text-align:left;vertical-align:middle;border:1px solid #222;height:8mm;padding:1.2mm 1.5mm}.cheque-receipt th{text-align:center;white-space:nowrap;background:#f5f5f5;width:16mm}.receipt-footer{grid-template-columns:minmax(0,1fr) 65mm;align-items:end;gap:4mm;padding-top:2mm;font-size:7.5pt;display:grid}.receipt-footer ul{gap:1mm;margin:0;padding-left:5mm;display:grid}.receipt-signature{white-space:nowrap;align-items:flex-end;gap:2mm;display:flex}.receipt-signature-block{gap:2mm;font-size:7.5pt;display:grid}.receipt-signature i{border-bottom:1px solid #222;flex:1;height:8mm}.cheque-modal-backdrop{align-items:flex-start;overflow-y:auto}.cheque-modal{width:min(1080px,100%);margin-block:20px}.cheque-editor{grid-template-columns:minmax(280px,1fr) 220px auto;gap:12px;padding:18px 0;display:grid}.cheque-editor label{color:#495268;gap:7px;font-weight:800;display:grid}.cheque-editor input{background:#fff;border:1px solid #ccd2df;border-radius:6px;min-height:42px;padding:9px 11px}.cheque-editor .check-option{background:#f8f9fc;border:1px solid #dfe3eb;border-radius:6px;grid-template-columns:20px 1fr;align-self:end;align-items:center;min-height:42px;padding:8px 10px}.cheque-editor .check-option input{min-height:auto}.cheque-print-sheet{width:175mm;max-width:100%;height:85mm;transform:translate(var(--cheque-offset-x), var(--cheque-offset-y));color:#161d34;background:#fffef8;border:1px solid #aeb6c7;border-radius:4px;margin:4px auto;font-family:Noto Serif TC,PingFang TC,serif;position:relative;overflow:hidden;box-shadow:0 12px 32px #0b14341f}.cheque-reference-art{z-index:0;object-fit:fill;opacity:.9;transform-origin:0 0;filter:saturate(.82)brightness(1.06);width:85mm;max-width:none;height:175mm;position:absolute;top:0;left:0;transform:translateY(85mm)rotate(-90deg)}.cheque-bank{gap:2mm;display:grid;position:absolute;top:12mm;left:14mm}.cheque-bank strong{letter-spacing:.08em;font-size:20px}.cheque-bank span,.cheque-account{color:#596174;font-size:12px}.cheque-number{letter-spacing:.08em;font-family:ui-monospace,monospace;position:absolute;top:7mm;right:12mm}.cheque-crossing{width:25mm;height:13mm;position:absolute;top:5mm;left:5mm;transform:rotate(-20deg)}.cheque-crossing i{background:#252b3c;height:2px;position:absolute;inset-inline:0}.cheque-crossing i:last-child{top:6mm}.cheque-date{align-items:baseline;gap:2mm;font-size:13px;display:flex;position:absolute;top:20mm;right:12mm}.cheque-date strong{text-align:center;border-bottom:1px solid #7a8191;min-width:8mm;padding:0 2mm 1mm;font-size:17px}.cheque-payee{z-index:2;align-items:center;width:85mm;min-height:9mm;display:grid;position:absolute;top:16mm;left:47mm}.cheque-payee strong{color:#000;letter-spacing:.02em;white-space:nowrap;font-size:19px;line-height:1.15;overflow:hidden}.cheque-amount-words{z-index:2;align-items:center;width:109mm;min-height:8mm;display:grid;position:absolute;top:28mm;left:34mm}.cheque-amount-words strong{color:#000;white-space:nowrap;font-size:17px;line-height:1.15;overflow:hidden}.cheque-amount-number{z-index:2;color:#000;white-space:nowrap;justify-content:flex-start;align-items:baseline;gap:2mm;width:48mm;min-height:8mm;display:flex;position:absolute;top:38mm;left:28mm}.cheque-amount-number span{font-size:14px;font-weight:700}.cheque-amount-number strong{font:800 20px ui-monospace,monospace}.cheque-non-transferable{z-index:2;color:#000;letter-spacing:.18em;border:2px solid #31394d;padding:1mm 3mm;font-size:12px;font-weight:900;position:absolute;top:55mm;left:76mm}.cheque-account{position:absolute;bottom:6mm;left:78mm}.cheque-signatures{color:#596174;grid-template-columns:auto 18mm 18mm;align-items:end;gap:4mm;font-size:12px;display:grid;position:absolute;bottom:5mm;right:12mm}.cheque-signatures i{border-bottom:1px solid #596174;height:10mm}.cheque-guide{color:#765d09;background:#fff7dc;border-radius:6px;align-items:center;gap:8px;margin-top:14px;padding:10px 12px;display:flex}.voucher-print-backdrop{align-items:flex-start;overflow-y:auto}.voucher-print-modal{width:min(1080px,100%);margin-block:20px;overflow-x:auto}.voucher-print-sheet{box-sizing:border-box;color:#111;background:#fff;border:2px solid #111;width:180mm;max-width:none;height:auto;min-height:104mm;max-height:126mm;margin:4px auto;font-family:Noto Sans TC,PingFang TC,sans-serif;overflow:hidden;box-shadow:0 12px 32px #0b14341f}.voucher-print-header{text-align:center}.voucher-print-header h1{letter-spacing:.04em;border-bottom:0;place-items:center;min-height:10mm;margin:0;font-size:24px;font-weight:700;display:grid}.voucher-print-header h2{border-bottom:1px solid #888;place-items:center;min-height:8mm;margin:0;font-size:20px;font-weight:500;display:grid;border-top:0!important}.voucher-document-table{border-collapse:collapse;table-layout:fixed;width:100%;height:auto;font-size:16px}.voucher-document-table th,.voucher-document-table td{vertical-align:middle;border:1px solid #111;padding:.8mm 1mm}.voucher-document-table th{white-space:nowrap;font-weight:500}.voucher-document-table td{font-weight:500}.voucher-document-table tr>:first-child{border-left:0}.voucher-document-table tr>:last-child{border-right:0}.voucher-date-cell{text-align:center;font-size:17px;text-decoration:underline}.voucher-column-headings{text-align:center;height:7mm}.voucher-main-row{height:var(--voucher-memo-height,24mm)}.voucher-main-row td{font-size:16px}.voucher-memo-cell{vertical-align:top!important;padding-left:2mm!important}.voucher-memo-content{max-height:calc(var(--voucher-memo-height,24mm) - 3mm);white-space:pre-line;font-size:var(--voucher-memo-font-size,13px);line-height:1.18;overflow:hidden}.voucher-amount-cell,.voucher-total-cell{text-align:right;white-space:nowrap}.voucher-amount-cell span,.voucher-total-cell span{margin-right:4mm}.voucher-amount-cell strong,.voucher-total-cell strong{font-size:16px}.voucher-signatures{box-sizing:border-box;border-top:2px solid #111;grid-template-columns:repeat(4,1fr);align-items:center;height:12mm;min-height:12mm;padding-inline:3mm;font-size:16px;display:grid}.voucher-signatures strong{margin-left:2mm}.expense-login-screen{background:radial-gradient(circle at 15% 20%,#d5ae3024,#0000 34%),linear-gradient(145deg,#09133f 0%,#111d56 52%,#f3f5fb 52% 100%);place-items:center;min-height:100vh;padding:32px 20px;display:grid}.expense-login-card{background:#fffffffa;border:1px solid #d6dceb;border-radius:22px;gap:18px;width:min(460px,100%);padding:36px;display:grid;box-shadow:0 30px 80px #06113a40}.expense-login-card>img{object-fit:contain;width:72px;height:72px}.expense-login-card h1{color:#0d1a55;margin:2px 0 8px;font-size:2rem}.expense-login-card p:not(.eyebrow),.expense-login-card small{color:#677087;line-height:1.65}.expense-login-card label{color:#2d3755;gap:8px;font-weight:700;display:grid}.expense-login-card input{color:#111b48;min-height:52px;font:inherit;background:#fff;border:1px solid #cbd3e5;border-radius:11px;padding:0 15px}.expense-login-card input:focus{border-color:#203b9c;outline:3px solid #2a4cb91f}.expense-login-card .button{justify-content:center;min-height:50px}.expense-login-error{color:#a11b1b;background:#fff3f3;border:1px solid #efb5b5;border-radius:10px;padding:12px 14px;font-weight:700}.expense-turnstile{gap:6px;min-height:65px;display:grid}.expense-turnstile>div:first-child{width:100%}.expense-turnstile-error{color:#b42318}.expense-login-loading{color:#111d56;background:#fff;border-radius:14px;padding:20px 26px;font-weight:700;box-shadow:0 18px 50px #06113a33}@media print{@page{size:210mm 280mm;margin:0}html,body,#root,.app-shell{background:#fff!important;width:auto!important;min-height:0!important;margin:0!important;padding:0!important;overflow:visible!important}.app-shell>.sidebar,.app-shell>.workspace,.app-shell>.mobile-overlay,.app-shell>.toast,.app-shell>.modal-backdrop:not(.voucher-print-backdrop):not(.cheque-modal-backdrop):not(.receipt-print-backdrop){display:none!important}.voucher-print-backdrop,.cheque-modal-backdrop,.receipt-print-backdrop{background:#fff!important;padding:0!important;display:block!important;position:static!important;overflow:visible!important}.voucher-print-modal,.cheque-modal,.receipt-print-modal{width:auto!important;max-width:none!important;box-shadow:none!important;background:#fff!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;overflow:visible!important}.voucher-print-sheet,.voucher-print-sheet *,.cheque-print-sheet,.cheque-print-sheet *,.receipt-print-page,.receipt-print-page *{color:#000!important;-webkit-print-color-adjust:exact!important;print-color-adjust:exact!important}.cheque-print-sheet{width:175mm;max-width:none;height:85mm;box-shadow:none;border:0;border-radius:0;margin:0;position:fixed;top:0;left:0;transform-origin:0 0!important;transform:translateX(85mm) rotate(90deg) translate(var(--cheque-offset-x), var(--cheque-offset-y))!important}.voucher-print-sheet{width:180mm;max-width:none;height:auto;min-height:104mm;max-height:126mm;box-shadow:none;margin:0;position:fixed;top:8mm;left:15mm;border:2pt solid #000!important;transform:none!important}.receipt-preview-pages{padding:0!important;display:block!important}.receipt-print-page{break-after:page;page-break-after:always;width:210mm!important;min-height:297mm!important;box-shadow:none!important;border:0!important;margin:0!important;padding:12mm 14mm!important}.receipt-print-page:last-child{break-after:auto;page-break-after:auto}.voucher-print-sheet,.voucher-document-table,.voucher-document-table th,.voucher-document-table td,.voucher-main-row td,.voucher-adjustment-label small,.voucher-signatures{font-size:16px!important}.voucher-memo-content{font-size:var(--voucher-memo-font-size,13px)!important}.voucher-print-header h2{border-top:0!important;border-bottom:1pt solid #000!important}.voucher-document-table{border-collapse:collapse!important;border-spacing:0!important}.voucher-document-table th,.voucher-document-table td,.voucher-document-table tr>:first-child,.voucher-document-table tr>:last-child{border:1pt solid #000!important}.voucher-signatures{border-top:2pt solid #000!important}.print-hidden{display:none!important}}@media (width<=1250px){.topbar{grid-template-columns:minmax(240px,1fr) 170px 210px 48px}.top-account>span:nth-child(2),.top-account>svg{display:none}.page-heading{flex-wrap:wrap}.voucher-editor-heading,.voucher-editor-layout{grid-template-columns:1fr}.metric-strip,.metric-strip.dashboard-metric-strip{grid-template-columns:1fr 1fr}.metric{padding:10px}.metric:nth-child(2){border-right:0}.metric:nth-child(-n+2){border-bottom:1px solid #dfe3eb}.metric strong{font-size:18px}.filter-bar,.filter-bar.imported-filters{grid-template-columns:repeat(3,1fr)}.purchase-filters{grid-template-columns:repeat(2,1fr)!important}.history-bar{grid-template-columns:auto minmax(220px,1fr) auto}.history-help{border:0;border-top:1px solid #e1e4ea;grid-column:1/-1;padding:8px 0 0}}@media (width<=920px){.sidebar{transition:transform .2s;transform:translate(-100%);box-shadow:18px 0 45px #02071d40}.sidebar.is-open{transform:translate(0)}.mobile-overlay{z-index:25;background:#04081c7a;border:0;display:block;position:fixed;inset:0}.workspace{width:100%;margin-left:0}.topbar{grid-template-columns:42px minmax(180px,1fr) 190px 48px;padding-inline:14px}.mobile-menu-button{place-items:center;display:grid}.top-select:first-of-type{display:none}.content{padding-inline:18px}.voucher-editor-layout,.voucher-editor-heading{grid-template-columns:1fr}.voucher-page-form-grid,.voucher-primary-fields,.voucher-base-amount-row,.voucher-adjustment-row,.purchase-form-grid{grid-template-columns:1fr 1fr}.container-volume-heading{flex-direction:column;align-items:flex-start}.container-size-rollup{justify-content:flex-start}.container-line-labels{display:none}.container-line-row{grid-template-columns:1fr 1fr}.container-line-row strong{text-align:left;grid-column:1/-1}.voucher-vendor-field,.voucher-details-field{grid-column:1/-1}.previous-vouchers-panel{max-height:none;position:static}.metric-strip,.metric-strip.dashboard-metric-strip{grid-template-columns:1fr 1fr}.metric:nth-child(2){border-right:0}.metric:nth-child(-n+2){border-bottom:1px solid #dfe3eb;padding-bottom:12px}.metric:nth-child(n+3){padding-top:12px}.report-grid{grid-template-columns:1fr}.list-toolbar .master-filter{min-width:170px}.remittance-layout{grid-template-columns:1fr}.account-list{border:0;border-bottom:1px solid #e0e4eb;grid-template-columns:repeat(2,1fr);padding:0 0 16px}.price-reference-header{flex-direction:column;align-items:flex-start}.cheque-editor{grid-template-columns:1fr 1fr}.cheque-print-sheet{transform-origin:0 0;margin-bottom:-14mm;transform:scale(.82)}.voucher-print-sheet{transform-origin:0 0;margin-bottom:-41mm;transform:scale(.72)}}@media (width<=680px){.topbar{grid-template-columns:42px 1fr 42px;gap:6px;height:66px;padding-inline:8px}.topbar .top-select,.global-search kbd{display:none}.top-account{width:42px}.top-account .avatar{width:34px;height:34px}.content{min-height:calc(100vh - 66px);padding:18px 12px 30px}.voucher-draft-resume{flex-wrap:wrap;align-items:flex-start}.voucher-draft-resume>div{width:calc(100% - 40px)}.voucher-draft-resume span{white-space:normal}.voucher-draft-resume .button{width:100%}.voucher-editor-heading{gap:13px}.voucher-editor-heading-main{grid-template-columns:1fr;gap:13px}.voucher-page-month{width:100%}.voucher-form-panel,.previous-vouchers-panel{padding:17px}.voucher-page-form-grid{grid-template-columns:1fr}.voucher-form-title{align-items:flex-start}.voucher-form-title-main{flex-direction:column;align-items:stretch;gap:13px}.voucher-heading-company{width:min(100%,240px)}.voucher-primary-fields,.invoice-inline-section.has-invoice,.voucher-base-amount-row,.voucher-adjustment-row{grid-template-columns:1fr}.invoice-inline-section.has-invoice .invoice-toggle-field{margin-top:0}.invoice-entry-header{display:none}.invoice-entry-row{grid-template-columns:1fr;gap:8px;min-width:0;padding:10px}.invoice-entry-row>label{padding:0}.invoice-entry-row>label>span{color:#4d556a;margin-bottom:5px;font-size:13px;font-weight:800;display:block}.invoice-entry-total{grid-template-columns:1fr 1fr;gap:8px;min-width:0;padding:10px}.invoice-entry-total>strong{grid-column:1/-1}.invoice-entry-total>*{padding:0}.invoice-remove-button{justify-self:end}.ai-import-actions{flex-direction:column;align-items:stretch}.ai-import-actions .button{width:100%}.purchase-voucher-form{padding:16px}.purchase-form-grid{grid-template-columns:1fr}.purchase-vendor-field,.purchase-payment-field{grid-column:auto}.container-line-heading,.container-line-summary{flex-direction:column;align-items:flex-start}.container-line-heading .button{width:100%}.container-line-row{grid-template-columns:1fr}.container-line-row strong,.voucher-vendor-field,.voucher-details-field{grid-column:auto}.voucher-page-actions,.reference-actions{flex-direction:column-reverse}.voucher-page-actions .button,.reference-actions .button{width:100%}.voucher-amount-heading{flex-direction:column;align-items:flex-start}.page-heading{flex-direction:column;align-items:flex-start;gap:14px;padding-inline:2px}.page-heading h1{font-size:28px}.heading-actions{width:100%}.heading-actions .button{flex:1;padding-inline:10px}.metric-strip{grid-template-columns:1fr;padding-block:4px}.metric-strip.dashboard-metric-strip{grid-template-columns:1fr}.metric{border-right:0;border-bottom:1px solid #dfe3eb!important;padding:12px 8px!important}.metric:last-child{border-bottom:0!important}.filter-bar,.filter-bar.imported-filters{grid-template-columns:1fr 1fr}.purchase-filters{grid-template-columns:1fr!important}.date-field{grid-column:1/-1}.history-bar{grid-template-columns:1fr auto}.history-bar>strong{grid-column:1/-1}.history-live-result{border-top:1px solid #dfe3eb;border-left:0;grid-column:1/-1;min-width:0;padding:8px 0 0}.inline-search{min-width:0}.panel-title{align-items:flex-start;padding-block:12px}.voucher-list-title{flex-direction:column}.voucher-export-actions{justify-content:space-between;width:100%;margin-left:0}.settlement-export-summary{grid-template-columns:1fr 1fr}.settlement-export-actions .button.primary{width:100%}.batch-payment-actions{flex-wrap:wrap;width:100%;margin-left:0}.panel-title h2 span{margin:5px 0 0;display:block}.schedule-title{gap:8px}.gold-link{white-space:nowrap}.sync-banner,.source-banner{flex-wrap:wrap;align-items:flex-start}.source-banner .local-pill{margin-left:35px}.connected-pill{margin-left:68px}.vendor-stats{grid-template-columns:1fr}.list-toolbar{flex-wrap:wrap}.list-toolbar h2,.list-toolbar .inline-search,.list-toolbar .master-filter{width:100%}.toolbar-hint{width:100%;margin-left:0}.form-grid{grid-template-columns:1fr}.form-wide{grid-column:auto}.history-list article{flex-direction:column;align-items:flex-start}.history-list article>div:last-child{justify-content:space-between;width:100%}.pagination{flex-direction:column;align-items:flex-start}.vendor-tabs{overflow-x:auto}.account-list,.cheque-editor{grid-template-columns:1fr}.cheque-print-sheet{margin-bottom:-40mm;transform:scale(.53)}.voucher-print-sheet{transform-origin:0 0;margin-bottom:-70mm;transform:scale(.52)}.toast{bottom:14px;left:14px;right:14px}}
