/* Finance S3 — page-scoped presentation. Shared motion, event contracts and JS remain authoritative. */
.finance-page .finance-main{--fin-muted:#616d7d;--fin-line:#e1e5eb;--fin-soft:#f6f7f9;--fin-warm:#f7f2e7;--fin-warning:#876326;--fin-danger:#9b403b;--fin-good:#35664e;padding:20px 22px 32px;max-width:none;min-width:0}
.finance-page .finance-main [hidden]{display:none!important}
.finance-page .finance-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding-bottom:16px;border-bottom:1px solid var(--fin-line)}
.finance-page .finance-head h1{margin:0;font-size:25px;font-weight:700;line-height:1.55;letter-spacing:0}
.finance-page .finance-head .eyebrow{font-size:10px;font-weight:600;line-height:1.7;margin:0 0 3px;color:var(--fin-muted)}
.finance-page .finance-head>div>p:last-child{margin:4px 0 0;max-width:68ch;color:var(--fin-muted);font-size:12px;line-height:1.8}
.finance-page .finance-head .compact-metrics{display:flex;gap:0;align-items:stretch;flex-shrink:0}
.finance-page .finance-head .compact-metrics>span{display:flex;flex-direction:column;justify-content:center;gap:2px;min-width:82px;padding:2px 13px;background:transparent;border:0;border-inline-start:1px solid var(--fin-line);border-radius:0;color:var(--fin-muted);font-size:11px;line-height:1.7;white-space:nowrap}
.finance-page .finance-head .compact-metrics b{font-size:23px;font-weight:650;line-height:1.25;margin:0;color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.finance-page .finance-head .compact-metrics>span:nth-child(2){background:var(--fin-warm);border:0;border-radius:6px;margin-inline:5px;padding-inline:15px;color:#75572c}
.finance-page .finance-head .compact-metrics>span:nth-child(2) b{color:#75572c}
.finance-page .finance-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;align-items:start;gap:20px;margin-top:18px}
.finance-page .finance-core{min-width:0}
.finance-page .finance-tabs{display:flex;gap:3px;align-items:stretch;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;border-bottom:1px solid var(--fin-line);margin:0 0 18px;padding:0 0 5px}
.finance-page .finance-tabs>button{flex:0 0 auto;min-height:40px;padding:8px 11px;border:0;border-radius:5px 5px 0 0;background:transparent;color:var(--fin-muted);font-size:12px;font-weight:550;white-space:nowrap;cursor:pointer}
.finance-page .finance-tabs>button.active{background:#fff!important;color:var(--ink)!important;font-weight:700;box-shadow:inset 0 -2px 0 var(--gold)!important}
.finance-page .view-panel.hidden{display:none}
.finance-page .section-head{align-items:center;gap:12px;margin-bottom:10px;min-width:0}
.finance-page .section-head>div{min-width:0}
.finance-page .section-head h2{font-size:17px;line-height:1.65;margin:0;font-weight:650;overflow-wrap:anywhere}
.finance-page .section-head .eyebrow{font-size:10px;line-height:1.6;font-weight:550;letter-spacing:0;color:var(--fin-muted);margin:0 0 2px}
.finance-page .section-head .text-btn{flex-shrink:0;padding:6px 0;font-size:11px;font-weight:600;min-height:36px;color:#47608a}
.finance-page #overview-view>.section-head{border-inline-start:3px solid var(--gold);padding-inline-start:12px;margin-bottom:12px}
.finance-page #overview-view>.section-head .eyebrow{color:#876326}
.finance-page .filter-row{gap:4px;flex-shrink:0}
.finance-page .filter{min-height:34px;padding:5px 9px;border:1px solid transparent;border-radius:6px;background:transparent;font-size:11px;color:var(--fin-muted)}
.finance-page .filter.active{background:#fff;border-color:#d8dfe8;color:var(--ink)}
.finance-page .filter b{font-size:10px;font-weight:550;margin-inline-start:4px;font-variant-numeric:tabular-nums}
.finance-page .attention-queue{border-top:1px solid var(--fin-line);background:#fff}
.finance-page .attention-row{display:grid;grid-template-columns:10px minmax(0,1fr) 108px 16px;align-items:center;gap:10px;min-height:73px;width:100%;padding:12px 13px!important;border:0;border-bottom:1px solid #e8ebf0;border-radius:0;text-align:start;background:transparent;cursor:pointer}
.finance-page .attention-row .row-main{min-width:0}
.finance-page .attention-row .row-main strong{font-size:13px;font-weight:650;line-height:1.7;overflow-wrap:anywhere}
.finance-page .attention-row .row-main small{font-size:11px;line-height:1.7;margin-top:3px;color:var(--fin-muted)}
.finance-page .attention-row .row-meta{text-align:end}
.finance-page .attention-row .row-meta small{font-size:10px;font-variant-numeric:tabular-nums;line-height:1.6;color:var(--fin-muted)}
.finance-page .attention-row .row-meta i{margin-top:5px;padding:3px 7px;border-radius:4px;border:1px solid #e4dfd3;background:#faf6ed;color:#795b2f;font-size:10px;font-style:normal;line-height:1.5}
.finance-page .attention-row .row-meta .late{background:#faeeeb;border-color:#edd4cf;color:var(--fin-danger)}
.finance-page .attention-row:has(.dot.red):not(.selected){background:#fffaf9}
.finance-page .attention-row .arrow{font-size:22px;color:#8592a3}
.finance-page .finance-main .ns-record.selected,.finance-page .finance-main .ns-record[aria-current="true"],.finance-page .finance-main button[data-record].selected{background:#f5f1e8!important;box-shadow:inset -3px 0 0 var(--gold)!important}
.finance-page .finance-main .ns-record.selected .arrow{color:#806331}
.finance-page .finance-section{margin-top:22px}
.finance-page .ops-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-block:1px solid var(--fin-line);background:transparent}
.finance-page .ops-strip>div{padding:12px 10px;border-inline-end:1px solid var(--fin-line);min-width:0}
.finance-page .ops-strip>div:last-child{border:0}
.finance-page .ops-strip span,.finance-page .ops-strip strong,.finance-page .ops-strip small{display:block}
.finance-page .ops-strip span{color:var(--fin-muted);font-size:11px;line-height:1.7}
.finance-page .ops-strip strong{font-size:23px;font-weight:650;font-variant-numeric:tabular-nums;line-height:1.35;margin:4px 0 2px;letter-spacing:-.01em}
.finance-page .ops-strip small{font-size:10px;color:var(--fin-muted);line-height:1.7;overflow-wrap:anywhere}
.finance-page .finance-two-col{display:grid;grid-template-columns:1.12fr .88fr;gap:22px;min-width:0}
.finance-page .finance-two-col>.finance-section{min-width:0}
.finance-page .finance-two-col .section-head h2{font-size:15px}
.finance-page .dense-table{background:#fff;border-top:1px solid var(--fin-line)}
.finance-page .dense-header,.finance-page .dense-table>button{display:grid;grid-template-columns:minmax(120px,1.4fr) 84px minmax(96px,1fr);align-items:center;gap:8px}
.finance-page .dense-header{padding:9px 10px;border-bottom:1px solid var(--fin-line);background:#f0f2f5;color:var(--fin-muted);font-size:10px;line-height:1.7}
.finance-page .dense-table>button{min-height:66px;width:100%;padding:11px 10px!important;border:0;border-bottom:1px solid #e8ebf0;border-radius:0;background:#fff;text-align:start;cursor:pointer}
.finance-page .dense-table strong{display:block;font-size:12px;font-weight:650;line-height:1.7;overflow-wrap:anywhere}
.finance-page .dense-table small{display:block;font-size:10px;line-height:1.75;color:var(--fin-muted);margin:3px 0 0;overflow-wrap:anywhere}
.finance-page .dense-table>button>b{font-size:12px;font-weight:700;line-height:1.6;font-variant-numeric:tabular-nums;color:#27354a;white-space:nowrap}
.finance-page .dense-table>button[data-record="expense-request"]>small{color:var(--fin-danger);font-weight:600}
.finance-page .budget-watch,.finance-page .budget-lines{display:grid;gap:0;border-top:1px solid var(--fin-line);background:#fff}
.finance-page .budget-watch>button{display:grid;grid-template-columns:minmax(110px,1.25fr) minmax(90px,1.2fr) 48px;gap:12px;align-items:center;min-height:66px;border:0;border-bottom:1px solid #e7ebf0;background:#fff;border-radius:0;padding:11px 10px;text-align:start;cursor:pointer}
.finance-page .budget-watch strong,.finance-page .budget-watch small{display:block}
.finance-page .budget-watch strong{font-size:12px;font-weight:650;line-height:1.7;overflow-wrap:anywhere}
.finance-page .budget-watch small{font-size:10px;color:var(--fin-muted);margin-top:3px;line-height:1.7}
.finance-page .budget-watch>button>b{font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;text-align:end;color:#47566a}
.finance-page .budget-watch>button[data-record="budget-line"]>b{color:var(--fin-warning)}
.finance-page .capacity-bar{height:7px;background:#edf0f4;border-radius:999px;overflow:hidden}
.finance-page .capacity-bar span{display:block;height:100%;background:var(--gold);border-radius:999px}
.finance-page .budget-watch>button[data-record="budget-line"] .capacity-bar span{background:#b9894e}
.finance-page .timeline{border-color:var(--fin-line)}
.finance-page .timeline>div{grid-template-columns:82px 10px minmax(0,1fr);padding:10px 2px;border-color:#e6eaf0}
.finance-page .timeline time{font-size:11px;line-height:1.7;font-variant-numeric:tabular-nums}
.finance-page .timeline strong{font-size:12px;font-weight:600;line-height:1.8}
.finance-page .timeline small{font-size:11px;line-height:1.7;color:var(--fin-muted)}
.finance-page .ops-data-table{border-top:1px solid var(--fin-line);background:#fff}
.finance-page .ops-data-head,.finance-page .ops-data-table>button{display:grid;grid-template-columns:minmax(160px,1.5fr) 64px minmax(72px,.7fr) minmax(92px,.9fr) minmax(58px,.65fr);gap:12px;align-items:center}
.finance-page .ops-data-head{padding:11px 14px;color:var(--fin-muted);font-size:10px;line-height:1.7;background:#f0f2f5;border-bottom:1px solid var(--fin-line);font-weight:500}
.finance-page .ops-data-table>button{width:100%;min-height:78px;padding:14px!important;background:#fff;border:0;border-bottom:1px solid #e6eaf0;border-radius:0;text-align:start;cursor:pointer;color:#46546a;font-size:12px;line-height:1.7}
.finance-page .ops-data-table>button>span{min-width:0;overflow-wrap:anywhere}
.finance-page .ops-data-table strong{display:block;color:var(--ink);font-size:14px;line-height:1.65;font-weight:650;overflow-wrap:anywhere}
.finance-page .ops-data-table small{display:block;font-size:11px;line-height:1.7;margin-top:4px;color:var(--fin-muted)}
.finance-page .ops-data-table>button>span:nth-child(2),.finance-page .ops-data-table>button>span:nth-child(4){font-variant-numeric:tabular-nums}
.finance-page .ops-data-table>button>span:nth-child(4){font-size:13px;font-weight:650;color:#334156}
.finance-page .ops-data-table i{display:inline-block;max-width:100%;font-style:normal;font-size:11px;font-weight:600;line-height:1.6;padding:3px 8px;border:1px solid #e1e5eb;border-radius:4px;background:#f5f6f8;color:#596779}
.finance-page .ops-data-table i.good{color:var(--fin-good);border-color:#d3e4d9;background:#edf5f0}
.finance-page .inline-search{display:flex;align-items:center;gap:8px;width:min(310px,48%);min-height:40px;padding:0 11px;border:1px solid #d7dee7;border-radius:7px;background:#fff;color:var(--fin-muted)}
.finance-page .inline-search>span{font-size:22px;line-height:1}
.finance-page .inline-search input{width:100%;min-width:0;padding:8px 0;border:0!important;box-shadow:none!important;outline:0;background:transparent;color:var(--ink);font-size:12px;line-height:1.7}
.finance-page .inline-search:focus-within{border-color:#b8a27b;box-shadow:0 0 0 3px var(--focus-soft)}
.finance-page .budget-lines button{display:grid;grid-template-columns:minmax(150px,1.35fr) minmax(110px,1fr) minmax(110px,1fr) 58px;gap:12px;align-items:center;min-height:72px;text-align:start;border:0;border-bottom:1px solid #e6eaf0;background:#fff;border-radius:0;padding:12px 14px;cursor:pointer}
.finance-page .budget-lines strong{font-size:13px;font-weight:650;line-height:1.7;overflow-wrap:anywhere}
.finance-page .budget-lines span{font-size:11px;line-height:1.7;color:var(--fin-muted);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.finance-page .budget-lines b{font-size:13px;font-weight:700;font-variant-numeric:tabular-nums;text-align:end}
.finance-page .budget-lines button[data-record="budget-line"] b{color:var(--fin-warning)}
.finance-page .empty-operational{padding:22px;border:1px dashed #d5dce6;border-radius:8px;background:#fff}
.finance-page .empty-operational h2{font-size:20px;line-height:1.6;margin:0 0 7px}
.finance-page .empty-operational p{font-size:12px;line-height:1.85;color:var(--fin-muted);max-width:72ch;overflow-wrap:anywhere}
.finance-page .empty-operational .eyebrow{font-size:10px}
.finance-page .report-catalog{display:grid;gap:0;border-top:1px solid var(--fin-line);background:#fff}
.finance-page .report-catalog>a,.finance-page .report-catalog>button{display:grid;grid-template-columns:1fr auto;grid-template-areas:"title action" "meta action";gap:3px 12px;align-items:center;min-height:72px;border:0;border-bottom:1px solid #e6eaf0;background:#fff;border-radius:0;padding:12px 14px;text-align:start;color:var(--ink);cursor:pointer}
.finance-page .report-catalog strong{grid-area:title;font-size:13px;line-height:1.7;font-weight:650}
.finance-page .report-catalog small{grid-area:meta;color:var(--fin-muted);font-size:10px;line-height:1.7}
.finance-page .report-catalog span{grid-area:action;color:#47608a;font-size:11px}
.finance-page .finance-inspector{position:sticky;top:84px;min-width:0;max-height:calc(100dvh - 225px);overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;background:#fff;border:1px solid var(--fin-line);border-radius:10px;box-shadow:none}
.finance-page .finance-inspector .inspector-head{position:sticky;top:0;z-index:3;display:flex;align-items:flex-start;gap:8px;padding:15px 15px 13px;background:#fff;border-bottom:1px solid var(--fin-line)}
.finance-page .finance-inspector .inspector-head>div{min-width:0}
.finance-page .finance-inspector .inspector-head .eyebrow{font-size:10px;font-weight:500;line-height:1.6;margin:0 0 5px;color:var(--fin-muted)}
.finance-page .finance-inspector .inspector-head h2{margin:0;font-size:15px;font-weight:650;line-height:1.75;overflow-wrap:anywhere}
.finance-page .finance-inspector .inspector-head>.icon-btn{border-color:transparent;background:transparent;color:var(--fin-muted);flex-shrink:0;width:30px;height:32px;font-size:20px}
.finance-page .finance-inspector .inspector-status{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 15px;border-bottom:1px solid #e9edf2;background:#fafbfc;font-size:10px;color:var(--fin-muted);line-height:1.7}
.finance-page .finance-inspector .inspector-status i{font-style:normal;font-size:11px;font-weight:600;line-height:1.6;margin:0;padding:3px 7px;background:#f4f0e7;color:#795b2f;border:1px solid #e7ddc9;border-radius:4px;max-width:68%;overflow-wrap:anywhere}
.finance-page .finance-inspector .inspector-facts{margin:0;padding:4px 15px 8px;border-bottom:1px solid var(--fin-line)}
.finance-page .finance-inspector .inspector-facts>div{display:grid;grid-template-columns:78px minmax(0,1fr);align-items:baseline;gap:8px;padding:8px 0;border-bottom:1px solid #eff1f4}
.finance-page .finance-inspector .inspector-facts>div:last-child{border:0}
.finance-page .finance-inspector dt{font-size:10px;font-weight:500;color:var(--fin-muted);line-height:1.75;overflow-wrap:anywhere}
.finance-page .finance-inspector dd{font-size:12px;line-height:1.8;margin:0;overflow-wrap:anywhere;color:#39475c}
.finance-page .finance-inspector #inspector-current-status,.finance-page .finance-inspector #inspector-owner{font-weight:650;color:var(--ink)}
.finance-page .finance-inspector #inspector-value{font-size:15px;font-weight:700;line-height:1.6;color:#27354a;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.finance-page .finance-inspector .finance-context-fact{grid-template-columns:1fr;gap:3px}
.finance-page .finance-inspector #inspector-context{font-size:11px;color:var(--fin-muted);line-height:1.85}
.finance-page .finance-inspector>section{padding:13px 15px;border-bottom:1px solid var(--fin-line)}
.finance-page .finance-inspector h3{font-size:11px;font-weight:700;line-height:1.7;margin:0 0 8px}
.finance-page .finance-inspector .next-action{margin:0;padding:10px 12px;background:var(--fin-warm);border-inline-start:3px solid var(--gold);border-radius:0 5px 5px 0;color:#594c34;font-size:12px;line-height:1.9;overflow-wrap:anywhere}
.finance-page .finance-inspector .mini-head{display:flex;align-items:baseline;justify-content:space-between;gap:8px}
.finance-page .finance-inspector .mini-head>span{font-size:10px;color:var(--fin-muted);font-variant-numeric:tabular-nums}
.finance-page .finance-inspector .file-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 0;border-color:#edf0f4;font-size:11px;color:#46546a;line-height:1.7;overflow-wrap:anywhere}
.finance-page .finance-inspector .file-row>span{font-size:9px;flex-shrink:0;background:#f3f5f8;border:1px solid #e4e8ee;border-radius:3px;padding:2px 5px;color:var(--fin-muted);font-variant-numeric:tabular-nums}
.finance-page .audit-list p{display:grid;grid-template-columns:84px minmax(0,1fr);gap:8px;margin:0;padding:7px 0;border-bottom:1px solid #edf0f4;font-size:10px;line-height:1.75}
.finance-page .audit-list p:last-child{border-bottom:0}
.finance-page .audit-list span{color:var(--fin-muted)}
.finance-page .audit-list b{font-size:11px;font-weight:600;color:#46546a;overflow-wrap:anywhere}
.finance-page .finance-inspector .inspector-actions{position:sticky;bottom:0;z-index:3;display:grid;grid-template-columns:1.1fr 1fr;gap:7px;padding:12px 15px;background:#fff;border-top:1px solid var(--fin-line);box-shadow:0 -5px 14px #18233a06}
.finance-page .finance-inspector .inspector-actions button{padding:7px 9px;min-height:38px;border:1px solid #d8dfe8;border-radius:6px;font-size:11px;font-weight:550;line-height:1.7;background:#fff;white-space:normal}
.finance-page .finance-inspector .inspector-actions button:last-child{grid-column:1/-1;min-height:32px;border-color:transparent;color:#586b86}
.finance-page .command-dialog{border-radius:12px}
.finance-page .command-dialog .command-head{gap:8px;padding:12px 15px}
.finance-page .command-dialog .command-head input{width:100%;min-width:0;font-size:14px;line-height:1.7}
.finance-page .command-dialog .command-results{padding:10px}
.finance-page .command-dialog .command-results>p{font-size:11px;padding:3px 8px;color:#616d7d}
.finance-page .command-dialog .command-results button{min-height:65px;padding:11px 12px;border-radius:6px}
.finance-page .command-dialog .command-results strong{font-size:13px;line-height:1.7;font-weight:650}
.finance-page .command-dialog .command-results small{font-size:11px;line-height:1.7;color:#616d7d}
@media(hover:hover){.finance-page .finance-main button[data-record]:not(.selected):not([aria-current="true"]):hover{background:#f3f5f8!important;box-shadow:inset -2px 0 0 #bfc9d6}.finance-page .finance-tabs>button:not(.active):hover{background:#edf0f5;color:var(--ink)}}
@media(min-width:1101px) and (max-width:1279px){.finance-page .finance-main{padding-inline:18px}.finance-page .finance-layout{grid-template-columns:minmax(0,1fr) 278px;gap:16px}.finance-page .finance-two-col{grid-template-columns:1fr;gap:0}.finance-page .ops-data-head,.finance-page .ops-data-table>button{grid-template-columns:minmax(135px,1.5fr) 58px 72px 88px 58px;gap:8px;padding-inline:10px!important}.finance-page .finance-head .compact-metrics>span{min-width:64px;padding-inline:9px}.finance-page .finance-head h1{font-size:23px}}
@media(max-width:1100px){.finance-page .finance-layout{grid-template-columns:minmax(0,1fr);gap:0}.finance-page .finance-inspector.ns-inspector-surface{max-height:82dvh;padding-bottom:env(safe-area-inset-bottom)}.finance-page .finance-inspector .inspector-facts>div{grid-template-columns:102px minmax(0,1fr)}.finance-page .finance-inspector .finance-context-fact{grid-template-columns:1fr}.finance-page .finance-head{flex-wrap:wrap;gap:14px}.finance-page .finance-head .compact-metrics{margin-inline-start:auto}}
@media(min-width:701px) and (max-width:760px){.finance-page .ops-data-head{display:grid!important}}
@media(max-width:700px){.finance-page .finance-main{padding:16px 12px 24px}.finance-page .finance-head{display:block;padding-bottom:14px}.finance-page .finance-head h1{font-size:23px}.finance-page .finance-head>div>p:last-child{font-size:11px;line-height:1.8}.finance-page .finance-head .compact-metrics{width:100%;margin-top:14px}.finance-page .finance-head .compact-metrics>span{flex:1;min-width:0;font-size:10px;padding:3px 7px}.finance-page .finance-head .compact-metrics>span:first-child{border:0;padding-inline-start:0}.finance-page .finance-head .compact-metrics>span:nth-child(2){padding-inline:9px}.finance-page .finance-head .compact-metrics b{font-size:20px}.finance-page .finance-layout{margin-top:14px}.finance-page .finance-tabs{margin-bottom:16px}.finance-page .finance-tabs>button{min-height:44px;font-size:12px;padding-inline:11px}.finance-page .section-head{flex-wrap:wrap;align-items:center;gap:8px}.finance-page .filter-row{max-width:100%;overflow:auto}.finance-page .filter{min-height:38px}.finance-page .attention-row{grid-template-columns:8px minmax(0,1fr) 14px;gap:7px 10px;padding:12px 10px!important;min-height:84px}.finance-page .attention-row .row-main strong{font-size:13px}.finance-page .attention-row .row-meta{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:start}.finance-page .attention-row .row-meta i{margin:0}.finance-page .attention-row .arrow{grid-column:3;grid-row:1/3}.finance-page .finance-two-col{grid-template-columns:1fr;gap:0}.finance-page .ops-strip{grid-template-columns:repeat(3,minmax(0,1fr))}.finance-page .ops-strip>div{padding:10px 8px}.finance-page .ops-strip>div:nth-child(3){border:0}.finance-page .ops-strip>div:nth-child(n+4){border-top:1px solid var(--fin-line)}.finance-page .ops-strip span{font-size:10px}.finance-page .ops-strip small{font-size:10px;line-height:1.8}.finance-page .ops-strip strong{font-size:21px}.finance-page .budget-watch>button{grid-template-columns:minmax(0,1fr) 80px 42px;gap:8px}.finance-page .dense-header,.finance-page .dense-table>button{grid-template-columns:minmax(0,1.25fr) 66px minmax(72px,1fr);gap:6px}.finance-page .dense-header{padding-inline:8px}.finance-page .dense-table>button{padding-inline:8px!important}.finance-page .inline-search{width:100%;min-height:44px}.finance-page .inline-search input{font-size:16px}.finance-page .ops-data-head{display:none}.finance-page .ops-data-table>button{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px 10px;padding:13px 12px!important}.finance-page .ops-data-table>button>span:first-child{grid-column:1/-1;padding-bottom:3px}.finance-page .ops-data-table>button>span:nth-child(2)::before{content:"الرمز";display:block;color:var(--fin-muted);font-size:10px;font-weight:400;margin-bottom:4px}.finance-page .ops-data-table>button>span:nth-child(3)::before{content:"النوع";display:block;color:var(--fin-muted);font-size:10px;font-weight:400;margin-bottom:4px}.finance-page .ops-data-table>button>span:nth-child(4)::before{content:"الرصيد";display:block;color:var(--fin-muted);font-size:10px;font-weight:400;margin-bottom:4px}.finance-page .ops-data-table>button>span:nth-child(5)::before{content:"الحالة";display:block;color:var(--fin-muted);font-size:10px;font-weight:400;margin-bottom:4px}.finance-page .budget-lines button{grid-template-columns:1fr 1fr;gap:6px 12px;padding:13px 12px}.finance-page .budget-lines strong{grid-column:1/-1}.finance-page .budget-lines b{text-align:start}.finance-page .report-catalog>a,.finance-page .report-catalog>button{padding:12px}.finance-page .empty-operational{padding:18px 15px}.finance-page .finance-inspector .inspector-facts>div{grid-template-columns:90px minmax(0,1fr)!important}.finance-page .finance-inspector .finance-context-fact{grid-template-columns:1fr!important}.finance-page .finance-inspector .inspector-actions button{min-height:44px}.finance-page .command-dialog .command-head{padding:9px 10px}.finance-page .command-dialog .command-head input{font-size:16px;padding-inline:4px}}
@media(max-width:360px){.finance-page .finance-head .compact-metrics{display:grid;grid-template-columns:1fr 1fr;gap:0}.finance-page .finance-head .compact-metrics>span{border-top:1px solid var(--fin-line);border-inline-start:0;padding:7px 8px}.finance-page .finance-head .compact-metrics>span:nth-child(2){margin:0;border-radius:0}.finance-page .budget-watch>button{grid-template-columns:1fr 42px}.finance-page .budget-watch .capacity-bar{grid-column:1/-1;grid-row:2}.finance-page .ops-strip{grid-template-columns:1fr 1fr}.finance-page .ops-strip>div:nth-child(3){border-inline-end:1px solid var(--fin-line)}.finance-page .ops-strip>div:nth-child(even){border-inline-end:0}}
@media print{.finance-page .workspace{margin:0}.finance-page .finance-main{padding:0;max-width:none}.finance-page .finance-head{break-inside:avoid}.finance-page .finance-layout{display:block;margin-top:12px}.finance-page .finance-tabs,.finance-page .filter-row,.finance-page .inline-search,.finance-page .text-btn{display:none!important}.finance-page .finance-core{width:100%}.finance-page .finance-two-col{display:block}.finance-page .attention-row,.finance-page .ops-data-table>button,.finance-page .dense-table>button,.finance-page .budget-lines button,.finance-page .budget-watch>button{break-inside:avoid}.finance-page .view-panel{animation:none!important;transform:none!important;opacity:1!important}.finance-page .ops-strip{break-inside:avoid}.finance-page .finance-inspector{display:none!important}}
/* CSP-safe presentation widths; values preserved from accepted Finance HTML. */
.finance-page .capacity-bar>.finance-budget-92{width:92%}
.finance-page .capacity-bar>.finance-budget-67{width:67%}
.finance-page .capacity-bar>.finance-budget-54{width:54%}
