/* Financial desk presentation; existing calculations and permissions are preserved. */
@media(max-width:760px){body.financial-desk .reports-view .request-tab-bar{display:flex;flex-wrap:wrap}body.financial-desk .reports-view .request-tab-bar>button{flex:1 1 130px;min-width:0;white-space:normal;overflow-wrap:anywhere}}
body.financial-desk .sidebar::before{display:none}
body.financial-desk .sidebar-brand-mark{padding:0;border:0;background:none;box-shadow:none}
body.financial-desk .financial-account #logout-btn{width:auto;flex:0 0 auto}
body.financial-desk .financial-account :is(.sidebar-user-meta,.sidebar-user-role){flex:0 1 auto}
body.financial-desk .language-picker-compact>span{display:none}
body.financial-desk .financial-list-main .invoice-list-mobile-filters{display:none}
body.financial-desk .content :is(.stack,.form-grid,.row,.panel,form){min-width:0}
body.financial-desk .stats-grid>.stat{background:#fff;box-shadow:none;border-radius:3px}
body.financial-desk :is(.request-workspace-tab,.payment-workspace-tab,.invoice-workspace-tab){background:#fff;border-radius:3px}
@media(max-width:1100px){body.financial-desk .form-grid.request-item-grid,body.financial-desk .branch-need-item-fields{grid-template-columns:repeat(2,minmax(0,1fr))}body.financial-desk .request-item-row-actions{grid-template-columns:repeat(3,minmax(0,1fr))}body.financial-desk .branch-need-item-row.is-collapsed .branch-need-item-summary .branch-need-summary-details{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:480px){body.financial-desk .form-grid.request-item-grid,body.financial-desk .branch-need-item-fields{grid-template-columns:minmax(0,1fr)}body.financial-desk .request-item-row-actions{grid-template-columns:minmax(0,1fr)}body.financial-desk .branch-need-item-row.is-collapsed .branch-need-item-summary .branch-need-summary-details{grid-template-columns:repeat(2,minmax(0,1fr))}}
.financial-preview-banner{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 22px;background:#eaf3ff;border-bottom:1px solid #c2d7f0;color:#174372;font:12px/1.5 'Segoe UI',sans-serif}.financial-preview-banner button{padding:5px 10px;font:inherit;min-height:30px;border:1px solid #b6cce7;background:white;color:#174372;border-radius:3px;white-space:nowrap}.financial-login-hint{padding:14px;background:#eaf3ff;color:#174372;font-size:13px;line-height:1.6;border-radius:4px}
body.financial-desk{background:#f1f3f5;color:#263244;font-family:'Segoe UI',Tahoma,Arial,sans-serif;--shadow:none;--line:#dfe5ed;--muted:#617186;--list-pad-y:6px;--list-pad-x:11px;--list-font-size:13px;--list-gap:5px;overflow:auto!important}
.financial-desk .page{display:block;min-height:100vh}.financial-desk .sidebar{position:relative;inset:auto;transform:none!important;width:100%;height:auto;min-height:0;max-height:none;display:grid;grid-template-columns:190px minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px 22px 0;background:#12263f;color:#eef4ff;border:0;box-shadow:none;overflow:visible;z-index:30}
.financial-desk .sidebar-brand-card{display:flex;align-items:center;gap:10px;padding:0;border:0;background:none;box-shadow:none;grid-column:1}.financial-desk .sidebar-brand-top,.financial-desk .sidebar-brand-copy-card,.financial-desk .sidebar-brand-copy{padding:0;margin:0;background:none;border:0;box-shadow:none}.financial-desk .sidebar-brand-mark{width:38px;height:38px;margin:0;flex-shrink:0}.financial-desk .sidebar-brand-mark img{width:38px;height:38px;border-radius:50%;box-shadow:none}.financial-desk .sidebar-brand-copy h2{font:650 17px/1.2 'Segoe UI',sans-serif;color:#fff;white-space:nowrap;margin:0}.financial-desk .sidebar-brand-copy .eyebrow{display:none}
.financial-desk .financial-account{display:flex;align-items:center;justify-content:flex-end;gap:12px;grid-column:2/4;grid-row:1;min-width:0}.financial-desk .financial-account .sidebar-user-meta{font-size:12px;color:#fff;margin:0}.financial-desk .financial-account .sidebar-user-role{font-size:11px;color:#aabed6;margin:0}.financial-desk .financial-account #logout-btn{min-height:30px;padding:4px 10px;border:1px solid #536780;color:#e5effd;background:transparent;font-size:11px;border-radius:3px}
.financial-desk .nav{grid-column:1/-1;display:flex;align-items:stretch;gap:4px;padding:0;margin:0;flex-wrap:wrap;overflow:visible}.financial-desk .nav>button,.financial-desk .financial-more>summary{padding:11px 16px;min-height:42px;border:0;border-radius:0;background:transparent;color:#c9d8eb;font-size:13px;box-shadow:none;white-space:nowrap;border-bottom:3px solid transparent;cursor:pointer}.financial-desk .nav>button.active,.financial-desk .financial-more>summary.active{border-bottom-color:#75b8ff;background:#ffffff0b;color:#fff;box-shadow:none}.financial-desk .nav>button:hover,.financial-desk .financial-more>summary:hover{background:#ffffff12;color:white}.financial-desk .nav-button-inner{gap:8px}.financial-desk .nav-badge{background:#355780;box-shadow:none;min-width:19px;height:19px;padding:2px 5px;font-size:10px;line-height:15px}.financial-desk .financial-more{position:relative}.financial-desk .financial-more>summary{list-style:none;display:flex;align-items:center;gap:8px}.financial-desk .financial-more>summary::after{content:'▾';font-size:10px}.financial-desk .financial-more-items{position:absolute;right:0;top:100%;width:250px;background:#fff;box-shadow:0 10px 30px #10263f30;border:1px solid var(--line);padding:6px;z-index:60}.financial-desk .financial-more-items button{display:block;width:100%;padding:10px 12px;border:0;border-radius:3px;background:#fff;color:#263244;font-size:13px;min-height:36px;text-align:left}.financial-desk .financial-more-items button:hover,.financial-desk .financial-more-items button.active{background:#eaf3ff;color:#135eac;box-shadow:none}
.financial-desk .mobile-nav-toggle,.financial-desk .mobile-nav-backdrop{display:none!important}.financial-desk .content{display:grid;grid-template-columns:minmax(0,1fr);padding:0 24px 35px;gap:16px;max-width:1920px;margin:auto;width:100%;min-width:0}.financial-desk .content-topbar{min-height:40px;height:auto;margin:0 -24px;padding:6px 24px;border-bottom:1px solid #dfe5ed;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:12px}.financial-desk .content-topbar-glow{display:none}.financial-desk .financial-breadcrumb{font-size:11px;color:#68788b;overflow-wrap:anywhere}.financial-desk .content-topbar-tools{margin:0;flex-shrink:0}.financial-desk .language-switch span{display:none}.financial-desk #language-select{font-size:12px;padding:4px 9px;min-height:29px;border-radius:3px;width:auto;min-width:110px}
.financial-desk :is(.hero,.panel){border:1px solid var(--line);background:#fff;border-radius:4px;box-shadow:none;padding:18px;overflow:visible}.financial-desk :is(.hero,.panel)::before{display:none}.financial-desk .hero{padding:16px 18px;gap:12px}.financial-desk h1{font-size:24px;letter-spacing:-.3px}.financial-desk h2{font-size:20px;line-height:1.25}.financial-desk h3{font-size:15px}.financial-desk .eyebrow{font-size:10px;letter-spacing:1px}.financial-desk p.muted{font-size:13px}.financial-desk .stack{gap:12px}.financial-desk .row{gap:10px}.financial-desk button,.financial-desk input,.financial-desk select,.financial-desk textarea{border-radius:3px;font-size:13px;padding:7px 10px;min-height:34px}.financial-desk :is(input,select,textarea){border-color:#ccd7e5}.financial-desk button.primary{background:#1768bc;box-shadow:none;border-color:#1768bc}.financial-desk button.secondary{background:white;border-color:#ccd7e5;box-shadow:none}.financial-desk button.secondary.active{background:#eaf3ff;color:#155fae;border-color:#8eb7e6}.financial-desk button:focus-visible,.financial-desk summary:focus-visible{outline:2px solid #5b9bdc;outline-offset:3px}.financial-desk label{font-size:12px}.financial-desk .pill{padding:3px 7px;border-radius:3px;font-size:11px;line-height:1.5}.financial-desk input:is([type=checkbox],[type=radio]){min-height:0;padding:0;width:16px;height:16px;flex-shrink:0;accent-color:#1768bc}
.financial-desk .dashboard-stats-grid{gap:0;border:1px solid var(--line);border-radius:3px;background:white;align-items:start}.financial-desk .dashboard-stats-grid>.stat{border:0;border-right:1px solid var(--line);border-radius:0;box-shadow:none;background:white;padding:16px;min-height:0}.financial-desk .dashboard-stats-grid>.stat:last-child{border-right:0}.financial-desk .dashboard-stats-grid .stat strong{font-size:26px;font-variant-numeric:tabular-nums}.financial-desk .dashboard-stats-grid>.stat>strong{font:600 26px/1.2 Consolas,'Courier New',monospace}.financial-desk .review-details{background:none;border:0;padding:4px 0;font-size:12px}.financial-desk .review-details summary{font-size:11px;color:#46658a}.financial-desk .dashboard-budget-card,.financial-desk .upcoming-payment-card,.financial-desk .budget-mobile-card{border-radius:3px;background:#fff;padding:10px;border-color:var(--line)}
.financial-desk :is(.table,.table-scroll table,.table-wrap table,.comparison-scroll table,.review-table-scroll table) :is(th,td){padding:6px 11px;font-size:13px;line-height:1.35;vertical-align:middle}.financial-desk table th{background:#f4f6f9;color:#5c6b7f;font-weight:600;font-size:12px!important}.financial-desk table tbody tr:nth-child(even){background:#fafbfd}.financial-desk table tbody tr:hover{background:#edf4fc}.financial-desk :is(td.money,td.num,.money){font-family:Consolas,'Courier New',monospace;font-variant-numeric:tabular-nums}.financial-desk table button{border-radius:3px;min-height:29px;padding:4px 8px;font-size:12px}.financial-desk :is(.table-scroll,.table-wrap,.comparison-scroll,.review-table-scroll,.catalog-table-scroll,.payment-debt-table-scroll){min-width:0;max-width:100%;overflow-x:auto}.financial-desk :is(.payment-choice,.invoice-mobile-card,.request-mobile-card,.payment-debt-card,.otp-pick,.branch-need-card){border-radius:3px;box-shadow:none}.financial-desk .payment-choice{background:white;border:1px solid #e0e6ee;padding:7px 10px;margin:0;border-bottom:0}.financial-desk .payment-choice:last-child{border-bottom:1px solid #e0e6ee}.financial-desk .payment-choice:nth-child(even){background:#f8fafc}.financial-desk .payment-choice-meta{font-size:11px;gap:4px 10px}.financial-desk .payment-choice-body{gap:3px}.financial-desk .payment-choice-topline strong{font-size:13px}.financial-desk .payment-amount-box input{min-height:34px;font-family:Consolas,monospace}.financial-desk .payment-amount-box{max-width:240px}.financial-desk .payment-select-current-page{border-radius:3px;font-size:12px}.financial-desk .payment-submit-top{padding:10px;background:#f3f6fa;border:1px solid var(--line);margin:0;justify-content:flex-start}.financial-desk .payment-submit-top strong{font-size:12px}.financial-desk .invoice-upload-box{border-radius:4px}.financial-desk .otp-pick:has(>input){background:#fff;border-radius:3px;padding:8px 11px}.financial-desk .bank-invoice-timing{font-size:11px}
.financial-desk .financial-list-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:18px;align-items:start;min-width:0}.financial-desk .financial-filter-rail{background:#f8fafc;border:1px solid var(--line);padding:14px;min-width:0;display:grid;gap:13px}.financial-desk .financial-filter-rail h3{font-size:13px;margin:0}.financial-desk .financial-list-main{display:grid;gap:12px;min-width:0}.financial-desk .financial-filter-rail :is(.review-filters,.debt-register-filters,.debt-quick-filter-row){display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:0;border:0;background:none;width:100%;min-width:0}.financial-desk .financial-filter-rail :is(label,input,select,.searchable-select,.localized-date-input){width:100%;min-width:0;max-width:100%}.financial-desk .financial-filter-rail :is(button,label span){font-size:12px}.financial-desk .financial-filter-rail .filter-reset-row{margin:0;display:grid}.financial-desk .financial-filter-rail .debt-quick-filter-row{gap:5px}.financial-desk .financial-filter-rail .debt-quick-filter-row button{min-height:30px;text-align:left}.financial-desk .financial-filter-rail .review-chips{display:flex;flex-wrap:wrap;gap:5px}.financial-desk .financial-filter-rail .review-chips button{white-space:normal;overflow-wrap:anywhere}.financial-desk .financial-list-main .invoice-list-pagination{margin:0;padding:0}.financial-desk .financial-list-main .invoice-list-mobile-filters{display:none}.financial-desk .review-dialog{border-radius:5px;box-shadow:0 15px 70px #12263f40}.financial-desk .review-dialog header{background:#f5f7fa;padding:14px;border-bottom:1px solid var(--line)}
@media(max-width:1100px){.financial-desk .sidebar{grid-template-columns:190px 1fr;gap:10px}.financial-desk .financial-account{grid-column:2}.financial-desk .nav>button,.financial-desk .financial-more>summary{font-size:12px;padding:10px 12px}.financial-desk .financial-list-layout{grid-template-columns:200px minmax(0,1fr)}.financial-desk .financial-account .sidebar-user-role{display:none}.financial-desk .dashboard-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.financial-desk .dashboard-stats-grid>.stat{border-bottom:1px solid var(--line)}}
@media(max-width:760px){.financial-preview-banner{padding:8px 12px;font-size:11px;gap:8px}.financial-preview-banner span{max-width:70%}.financial-desk .sidebar{position:relative!important;inset:auto!important;transform:none!important;display:flex;flex-wrap:wrap;padding:12px 12px 0;width:100%!important;max-width:none!important;height:auto!important;transition:none}.financial-desk .sidebar-brand-card{flex:1}.financial-desk .sidebar-brand-copy h2{font-size:16px}.financial-desk .financial-account{display:flex;gap:8px}.financial-desk .financial-account .sidebar-user-meta{display:none}.financial-desk .nav{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin-top:5px}.financial-desk .nav>button,.financial-desk .financial-more>summary{white-space:normal;padding:8px 5px;min-height:40px;font-size:11px;justify-content:center;text-align:center}.financial-desk .nav-button-inner{flex-wrap:wrap;gap:4px;justify-content:center}.financial-desk .nav-badge{font-size:9px;min-width:16px;height:16px;line-height:12px}.financial-desk .financial-more-items{right:0;max-width:calc(100vw - 24px);width:240px}.financial-desk .financial-more-items button{text-align:left;font-size:13px;min-height:40px}.financial-desk .content{padding:0 12px 25px;gap:12px}.financial-desk .content-topbar{margin:0 -12px;padding:6px 12px;min-height:38px}.financial-desk .financial-breadcrumb{font-size:10px}.financial-desk :is(.hero,.panel){padding:14px}.financial-desk .hero h1{font-size:22px}.financial-desk h2{font-size:19px}.financial-desk .hero .row{flex-wrap:wrap}.financial-desk .financial-list-layout{grid-template-columns:minmax(0,1fr);gap:12px}.financial-desk .financial-filter-rail{padding:12px}.financial-desk .financial-filter-rail :is(.review-filters,.debt-register-filters){grid-template-columns:repeat(2,minmax(0,1fr))}.financial-desk .financial-filter-rail .debt-quick-filter-row{display:flex;flex-wrap:wrap}.financial-desk .financial-filter-rail .debt-quick-filter-row button{flex:1 1 100px;text-align:center}.financial-desk .financial-list-main .invoice-list-mobile-filters{display:flex}.financial-desk .dashboard-stats-grid>.stat{padding:13px}.financial-desk .dashboard-stats-grid>.stat>strong{font-size:22px}.financial-desk .payment-choice{padding:9px}.financial-desk .payment-amount-box{max-width:none}.financial-desk input,.financial-desk select,.financial-desk button{min-height:36px}.financial-desk .payment-pick input{min-height:0}.financial-desk #language-select{min-width:90px;min-height:29px}.financial-desk .grid-2{grid-template-columns:minmax(0,1fr)}}
@media print{.financial-preview-banner,.financial-desk .sidebar,.financial-desk .content-topbar{display:none!important}}

/* V2: the selected laboratory composition, not just its navigation colors. */
/* Reset the legacy mobile drawer's 320px cap at every breakpoint. */
body.financial-desk .sidebar{width:100%!important;max-width:none!important;min-width:0;box-sizing:border-box}
body.financial-desk .panel.financial-page-heading{background:none;border:0;padding:12px 0 6px;border-radius:0;min-height:0}
body.financial-desk .panel.financial-page-heading h2{font-size:22px}
body.financial-desk.interface-refresh :is(.table,.table-scroll table,.review-table-scroll table) button{min-height:26px;padding:3px 7px;font-size:11px}
body.financial-desk.interface-refresh .table button.financial-document-link{min-height:20px;padding:0}
body.financial-desk.interface-refresh :is(.invoice-list-table,.request-compact-table,.payment-debt-table-scroll) .pill{padding:1px 5px;font-size:10px}
body.financial-desk .review-dialog>.review-filters{border-radius:0;margin:0}
body.financial-desk{font-family:Tahoma,Verdana,sans-serif;font-size:13px;color:#232b37;background:#f1f3f5;--line:#e0e5ec;--muted:#65758b;--list-font-size:11px;--list-pad-y:8px;--list-pad-x:11px;--list-gap:4px}
body.financial-desk :is(h1,h2,h3,h4,button,input,select,textarea){font-family:Tahoma,Verdana,sans-serif}
body.financial-desk :is(h1,h2,h3,h4){color:#232b37;letter-spacing:0}
body.financial-desk h1{font-size:22px;font-weight:700}
body.financial-desk h2{font-size:18px;font-weight:700}
body.financial-desk h3{font-size:13px;font-weight:600}
body.financial-desk p.muted{font-size:11px;line-height:1.6}
body.financial-desk .small{font-size:11px}
body.financial-desk .content{gap:16px;max-width:1920px}
body.financial-desk :is(.hero,.panel){border-radius:0;background:#fff;box-shadow:none;border-color:var(--line)}
body.financial-desk .hero{padding:12px 0 4px;background:none;border:0;min-height:0}
body.financial-desk .hero :is(h1,h2){font-size:22px}
body.financial-desk .hero .eyebrow{font-size:9px;letter-spacing:1.1px;color:#1668dc;margin-bottom:7px}
body.financial-desk .hero p.muted{font-size:11px;margin-top:5px}
body.financial-desk :is(button,input,select,textarea){font-size:12px;border-radius:2px;box-shadow:none}
body.financial-desk :is(input,select,textarea){background:#fff;border-color:#dfe5ed;color:#232b37}
body.financial-desk label{font-size:11px;color:#65758b}
body.financial-desk button.primary{background:#1668dc;border-color:#1668dc}
body.financial-desk button.secondary{background:#fff;border-color:#dfe5ed;color:#283c55}
body.financial-desk button.secondary:hover{border-color:#1668dc;color:#1668dc;background:#f5f9ff}
body.financial-desk :is(.invoice-workspace-panel,.request-workspace-panel,.payment-workspace-panel){border-radius:0}
body.financial-desk :is(.invoice-workspace-tab,.request-workspace-tab,.payment-workspace-tab,.catalog-tab-btn){border-radius:2px;background:#fff;border:1px solid #dfe5ed;font-size:12px;padding:8px 13px;box-shadow:none}
body.financial-desk :is(.invoice-workspace-tab,.request-workspace-tab,.payment-workspace-tab,.catalog-tab-btn).active{background:#eaf3ff;border-color:#a1c5f7;color:#1668dc}
body.financial-desk .content-topbar{min-height:33px;padding-top:3px;padding-bottom:3px}
body.financial-desk .financial-breadcrumb{font-size:10px}
body.financial-desk .sidebar{background:#11243b}
body.financial-desk .sidebar-brand-copy h2{font-size:16px;color:white}
body.financial-desk .sidebar-brand-mark,body.financial-desk .sidebar-brand-mark img{width:31px;height:31px}
body.financial-desk .nav>button,body.financial-desk .financial-more>summary{font-size:12px}
body.financial-desk .financial-account .sidebar-user-meta{font-size:10px}
body.financial-desk .financial-account .sidebar-user-role{display:none}
@media(min-width:1250px){
 body.financial-desk .sidebar{display:grid;grid-template-columns:177px minmax(0,1fr) auto;gap:8px;padding:0 24px;min-height:58px}
 body.financial-desk .sidebar-brand-card{grid-column:1;grid-row:1}
 body.financial-desk .nav{grid-column:2;grid-row:1;align-self:stretch;gap:2px}
 body.financial-desk .nav>button,body.financial-desk .financial-more>summary{padding:15px 12px;height:58px;min-height:58px;display:flex;align-items:center}
 body.financial-desk .financial-account{grid-column:3;grid-row:1;gap:10px;max-width:160px}
 body.financial-desk .financial-account .sidebar-user-meta{max-width:85px}
}
body.financial-desk :is(.table,.table-scroll table,.table-wrap table,.comparison-scroll table,.review-table-scroll table) :is(th,td){font-size:11px;padding:9px 11px;line-height:1.45}
body.financial-desk table th{font-size:11px!important;font-weight:600;background:#f7f9fc;color:#65758b;word-break:normal;overflow-wrap:normal}
body.financial-desk table tbody tr:nth-child(even){background:#f8fafc}
body.financial-desk table tbody tr:hover{background:#eaf3ff}
body.financial-desk table a,body.financial-desk .financial-document-link{color:#1668dc;text-decoration:none;font-weight:600}
body.financial-desk table a:hover{text-decoration:underline}
body.financial-desk :is(.money,td.num){font-family:Consolas,'Courier New',monospace;font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
body.financial-desk table button{font-size:11px;min-height:27px;padding:4px 7px}
body.financial-desk .pill{font-size:10px;font-weight:400;border:1px solid currentColor;border-radius:3px;padding:1px 5px;line-height:1.5;background:#f5f8fd;color:#47617d}
body.financial-desk .pill.ok{color:#16815c;background:#f1fcf7}
body.financial-desk .pill.warn{color:#a76a00;background:#fffaf0}
body.financial-desk .pill.danger{color:#c52b42;background:#fff3f4}
body.financial-desk .financial-filter-rail{background:white;border-radius:0;border-color:var(--line);padding:16px}
body.financial-desk .financial-filter-rail :is(label,button,input,select){font-size:11px}
body.financial-desk .financial-filter-rail h3{font-size:13px;color:#232b37}
body.financial-desk .financial-filter-rail .review-filters{gap:15px}
body.financial-desk .financial-list-layout{grid-template-columns:220px minmax(0,1fr);gap:16px}
body.financial-desk .panel:has(>.financial-list-layout){padding:0;border:0;background:none}
body.financial-desk .panel:has(>.financial-list-layout)>:first-child:not(.financial-list-layout){padding:0 0 2px}
body.financial-desk .financial-list-main{border:1px solid var(--line);background:#fff;gap:0;align-content:start}
body.financial-desk .financial-list-main>:not(.table-scroll,.table-wrap,.financial-list-layout){padding:10px 12px}
body.financial-desk .financial-list-main .invoice-list-pagination{padding:10px 12px;background:#f8fafc;border-bottom:1px solid var(--line);font-size:11px}
body.financial-desk .financial-list-main .invoice-list-pagination p{font-size:11px}
body.financial-desk .financial-list-main .invoice-list-table{table-layout:auto}
body.financial-desk .financial-list-main .invoice-list-table th{white-space:nowrap}
body.financial-desk .financial-dashboard-heading>.row>div>p{display:none}
body.financial-desk .dashboard-stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;background:#fff;border:1px solid var(--line);border-radius:0;align-items:stretch}
body.financial-desk .dashboard-stats-grid>.stat{display:flex;align-items:center;gap:17px;padding:14px 13px;min-height:60px;background:#fff;border:0;border-right:1px solid var(--line);border-radius:0;box-shadow:none}
body.financial-desk .dashboard-stats-grid>.stat:last-child{border-right:0}
body.financial-desk .dashboard-stats-grid>.stat>span{font-size:10px;line-height:1.5}
body.financial-desk .dashboard-stats-grid>.stat>strong{font:600 21px/1.3 Consolas,'Courier New',monospace;white-space:nowrap;letter-spacing:-.5px}
body.financial-desk .dashboard-stats-grid>.overdue-dashboard-stat>strong{color:#c52b42}
body.financial-desk .financial-notices{font-size:11px;color:#8d621b;background:#fff9ec;border-left:3px solid #e0b35a;padding:8px 12px;line-height:1.6}
body.financial-desk .financial-notices>span{display:block;color:inherit;font-size:11px}
body.financial-desk .financial-calculations{font-size:11px;color:#65758b;margin-top:-6px}
body.financial-desk .financial-calculations>summary{cursor:pointer;width:fit-content}
body.financial-desk .financial-breakdowns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;background:white;border:1px solid var(--line);padding:16px;margin-top:10px}
body.financial-desk .financial-breakdowns .review-details{font-size:11px;min-width:0}
body.financial-desk .financial-breakdowns .request-dashboard-line{font-size:11px;gap:10px;flex-wrap:wrap}
body.financial-desk .financial-workspace{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:16px;align-items:start;min-width:0}
body.financial-desk .financial-work-main{display:grid;gap:18px;min-width:0}
body.financial-desk .financial-work-rail{min-width:0}
body.financial-desk .financial-workspace .panel{padding:0;gap:0;border-radius:0;min-width:0}
body.financial-desk .financial-workspace .panel>div:first-child{padding:14px 18px;border-bottom:1px solid var(--line)}
body.financial-desk .financial-workspace .panel>div:first-child p{font-size:10px;margin-top:5px;line-height:1.5}
body.financial-desk .financial-workspace .dashboard-payments-scroll{margin:0;min-width:0;overflow-x:auto}
body.financial-desk .financial-workspace .dashboard-payments-scroll table{width:100%;min-width:800px}
body.financial-desk .financial-document-link{background:none;border:0;padding:0;min-height:20px;white-space:nowrap}
body.financial-desk .financial-workspace .action-center-grid{display:flex;flex-direction:column;gap:0;padding:0 18px}
body.financial-desk .financial-workspace .action-card{padding:17px 0;box-shadow:none;border:0;border-bottom:1px solid var(--line);border-radius:0;background:none;display:grid;gap:9px}
body.financial-desk .financial-workspace .action-card:last-child{border-bottom:0}
body.financial-desk .financial-workspace .action-card-head{display:flex;flex-direction:row;align-items:start;gap:10px}
body.financial-desk .financial-workspace .action-card-head>span{font-size:11px;line-height:1.55;color:#283c55}
body.financial-desk .financial-workspace .action-card-head>strong{font:600 19px/1.2 Consolas,monospace;margin-left:auto}
body.financial-desk .financial-workspace .action-card button{font-size:11px;padding:4px 8px;min-height:27px;justify-self:start}
body.financial-desk .financial-workspace .dashboard-budget-panel{position:static}
body.financial-desk .financial-workspace .dashboard-budget-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:18px;gap:20px}
body.financial-desk .financial-workspace .dashboard-budget-card{padding:0;border:0;border-radius:0;background:none;gap:10px;min-width:0}
body.financial-desk .financial-workspace .dashboard-budget-card .row{display:grid;gap:6px;min-width:0}
body.financial-desk .financial-workspace .dashboard-budget-card strong{font-size:11px}
body.financial-desk .financial-workspace .dashboard-budget-card .pill{border:0;padding:0;color:#1668dc;font-size:10px;background:none}
body.financial-desk .financial-workspace .dashboard-budget-card .pill.danger{color:#c52b42}
body.financial-desk .financial-workspace .dashboard-budget-card .pill.warn{color:#a76a00}
body.financial-desk .budget-track{height:6px;border-radius:3px;background:#eaf0f6}
body.financial-desk .budget-track>span{background:#1677ff;border-radius:3px}
body.financial-desk .budget-track>span.over{background:#c52b42}
body.financial-desk .review-dialog{width:min(1160px,94vw);border-radius:0;padding:0;font-family:Tahoma,Verdana,sans-serif;border:1px solid var(--line)}
body.financial-desk .review-dialog>header{background:#fff;padding:22px 24px}
body.financial-desk .review-dialog h2{font-size:21px}
body.financial-desk .review-dialog>.review-filters{padding:14px 24px;background:#f7f9fc;border-bottom:1px solid var(--line)}
body.financial-desk .review-dialog [data-result]{padding:16px 24px}
body.financial-desk .review-dialog .review-kpis{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;border:1px solid var(--line);border-radius:0}
body.financial-desk .review-dialog .review-kpis .stat{padding:13px;border:0;border-right:1px solid var(--line);border-radius:0;background:white;box-shadow:none;min-width:0}
body.financial-desk .review-dialog .review-kpis .stat strong{font:600 20px/1.3 Consolas,monospace}
body.financial-desk .review-dialog .review-kpis .stat span{font-size:10px}
@media(max-width:1249px){
 body.financial-desk .dashboard-stats-grid>.stat{flex-direction:column;align-items:start;gap:5px}
 body.financial-desk .financial-workspace{grid-template-columns:minmax(0,1fr) 225px}
 body.financial-desk .financial-workspace .dashboard-budget-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:950px){
 body.financial-desk .financial-workspace{grid-template-columns:minmax(0,1fr)}
 body.financial-desk .financial-work-rail{grid-row:2}
 body.financial-desk .financial-workspace .action-center-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
 body.financial-desk .financial-list-layout{grid-template-columns:190px minmax(0,1fr)}
 body.financial-desk .review-dialog .review-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
 body.financial-desk .sidebar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:8px;padding:12px 12px 0}
 body.financial-desk .sidebar-brand-card{grid-row:1;grid-column:1;width:auto;justify-content:start;min-width:0}
 body.financial-desk .sidebar-brand-top{margin:0}
 body.financial-desk .sidebar-brand-copy-card{width:auto;text-align:left}
 body.financial-desk .financial-account{grid-row:1;grid-column:2;width:auto;margin:0;justify-content:end}
 body.financial-desk .nav{grid-row:2;grid-column:1/-1}
 body.financial-desk :is(button,input,select,textarea){font-size:13px;min-height:36px}
 body.financial-desk .hero :is(h1,h2){font-size:21px}
 body.financial-desk .financial-account #logout-btn{min-height:32px}
 body.financial-desk .dashboard-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.financial-desk .dashboard-stats-grid>.stat{padding:13px;min-height:75px;border-bottom:1px solid var(--line)}
 body.financial-desk .dashboard-stats-grid>.stat>strong{font-size:20px;white-space:normal}
 body.financial-desk .financial-list-layout{grid-template-columns:minmax(0,1fr)}
 body.financial-desk .financial-breakdowns{grid-template-columns:minmax(0,1fr)}
 body.financial-desk .financial-workspace .upcoming-payments-mobile-list{padding:12px;gap:8px}
 body.financial-desk .financial-workspace .upcoming-payment-card{padding:12px;border-radius:2px;box-shadow:none}
 body.financial-desk .financial-workspace .upcoming-payment-card :is(strong,p){font-size:12px}
 body.financial-desk .financial-workspace .upcoming-payment-meta{gap:8px}
 body.financial-desk .financial-workspace .action-center-grid{grid-template-columns:minmax(0,1fr)}
 body.financial-desk .financial-workspace .action-card button{min-height:36px}
 body.financial-desk .review-dialog>header,body.financial-desk .review-dialog>.review-filters,body.financial-desk .review-dialog [data-result]{padding:14px}
 body.financial-desk .financial-list-main>:not(.table-scroll,.table-wrap,.financial-list-layout){padding:8px}
}

/* Light workspace header and direct, single-level KPI explanations. */
body.financial-desk .sidebar{background:#fff;color:#26384d;border-bottom:1px solid #dfe5ed}
body.financial-desk .sidebar-brand-copy h2{color:#20334c}
body.financial-desk .financial-account .sidebar-user-meta{color:#65758b}
body.financial-desk .financial-account #logout-btn{color:#334963;border-color:#dfe5ed;background:#fff}
body.financial-desk .nav>button,body.financial-desk .financial-more>summary{color:#53647a}
body.financial-desk .nav>button.active,body.financial-desk .financial-more>summary.active{color:#1668dc;background:#edf5ff;border-bottom-color:#1668dc}
body.financial-desk .nav>button:hover,body.financial-desk .financial-more>summary:hover{color:#1668dc;background:#f4f8fd}
body.financial-desk .nav-badge{background:#e8f1fe;color:#275c9c}
body.financial-desk .dashboard-stats-grid>.stat{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;position:relative;padding:13px 16px}
body.financial-desk .dashboard-stats-grid>.stat>strong{font-size:22px}
body.financial-desk .financial-metric-detail{justify-self:start;min-height:26px;padding:2px 0;background:none;color:#1668dc;border:0;border-radius:0;font-size:11px;border-bottom:1px dotted #a8c8f0}
body.financial-desk .financial-metric-detail:hover{color:#124f9e;border-bottom-style:solid}
body.financial-desk .dashboard-stats-grid>.financial-metric-active{background:#f3f8ff;box-shadow:inset 0 -2px #1668dc}
body.financial-desk .financial-calculations{margin:0;border:1px solid #dbe6f3;border-radius:4px;background:white;overflow:hidden;color:#334963}
body.financial-desk .financial-calculations[hidden],body.financial-desk [data-financial-breakdown][hidden]{display:none!important}
body.financial-desk .financial-calculations>header{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f4f8fd;padding:12px 18px;border-bottom:1px solid #e0e8f2}
body.financial-desk .financial-calculations>header h3{font-size:14px;line-height:1.5}
body.financial-desk .financial-calculations>header button{background:white;border:1px solid #d7e1ee;color:#54667c;min-height:30px;font-size:11px}
body.financial-desk .financial-breakdowns{display:block;margin:0;border:0;padding:16px 18px;font-size:12px}
body.financial-desk [data-financial-breakdown]>span{display:block;margin:0 0 10px;font-size:12px;line-height:1.6;color:#65758b}
body.financial-desk [data-financial-breakdown] .request-dashboard-breakdown{margin-top:0;gap:0}
body.financial-desk [data-financial-breakdown] .request-dashboard-line{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:9px 0;border-top:1px solid #edf0f5;font-size:12px;line-height:1.5;flex-wrap:wrap}
body.financial-desk [data-financial-breakdown] .request-dashboard-line b{font:600 13px/1.5 Consolas,monospace;color:#283b52;white-space:nowrap}
body.financial-desk .financial-budget-caption{display:block;font-size:10px;line-height:1.55;color:#65758b;overflow-wrap:anywhere}
@media(max-width:760px){
 body.financial-desk .financial-metric-detail{min-height:34px;font-size:12px}
 body.financial-desk .financial-calculations>header{padding:12px;align-items:start}
 body.financial-desk .financial-breakdowns{padding:12px}
 body.financial-desk .financial-calculations>header button{min-height:36px}
}

/* All permitted sections stay visible; subsections are optional disclosures. */
body.financial-desk .sidebar{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;background:#11243b;color:#e5eefb;padding:12px 24px 0;gap:8px 16px;min-height:0}
body.financial-desk .sidebar-brand-card{grid-column:1;grid-row:1;justify-self:start;margin:0}
body.financial-desk .financial-account{grid-column:2;grid-row:1;max-width:none}
body.financial-desk .sidebar-brand-copy h2{color:#fff}
body.financial-desk .financial-account .sidebar-user-meta{color:#bccbe0;max-width:none}
body.financial-desk .financial-account #logout-btn{background:transparent;color:#e5eefb;border-color:#4b607c}
body.financial-desk .nav{grid-column:1/-1;grid-row:2;display:grid;grid-template-columns:repeat(var(--financial-nav-columns,7),minmax(0,1fr));gap:2px 5px;width:100%;margin:0;align-items:stretch;overflow:visible}
body.financial-desk .financial-nav-item{position:relative;display:flex;min-width:0;border-bottom:2px solid transparent;align-items:stretch}
body.financial-desk .financial-nav-item.active{background:#1a3553;border-bottom-color:#7fb7ff}
body.financial-desk .financial-nav-item>button[data-view]{display:flex;align-items:center;flex:1 1 auto;min-width:0;min-height:39px;height:auto;padding:8px 6px 8px 10px;background:none;color:#d4e1f3;border:0;border-radius:0;box-shadow:none;text-align:left;font-size:12px;white-space:normal;line-height:1.4}
body.financial-desk .financial-nav-item>button[data-view].active{color:white;background:none}
body.financial-desk .financial-nav-item>button:hover{background:#ffffff0c;color:#fff}
body.financial-desk .financial-nav-item .nav-button-inner{justify-content:start;flex-wrap:nowrap;gap:6px;min-width:0}
body.financial-desk .financial-nav-item .nav-badge{background:#385b84;color:#fff;flex-shrink:0}
body.financial-desk .financial-nav-toggle{align-self:stretch;flex:0 0 28px;padding:0;min-height:36px;border:0;border-radius:0;background:none;color:#9cb9de;font-size:17px}
body.financial-desk .financial-nav-toggle[aria-expanded=true]{background:#254568;color:#fff}
body.financial-desk .financial-subnav{position:absolute;top:100%;left:0;width:265px;max-width:calc(100vw - 24px);padding:6px;background:white;color:#283c55;border:1px solid #d8e2ee;box-shadow:0 10px 25px #13284026;z-index:100;display:grid;border-radius:0 0 4px 4px}
body.financial-desk .financial-subnav[hidden]{display:none!important}
body.financial-desk .financial-subnav>button{display:block;text-align:left;background:white;color:#344961;border:0;border-radius:2px;min-height:36px;height:auto;padding:9px 11px;font-size:12px;white-space:normal;line-height:1.4}
body.financial-desk .financial-subnav>button:hover,body.financial-desk .financial-subnav>button:focus-visible{color:#1668dc;background:#edf5ff}
@media(min-width:1900px){body.financial-desk .nav{display:flex;flex-wrap:wrap}body.financial-desk .financial-nav-item{flex:1 1 auto}}
@media(max-width:960px){body.financial-desk .sidebar{padding:12px 16px 0}body.financial-desk .financial-nav-item>button[data-view]{font-size:11px;padding:8px 3px 8px 5px}body.financial-desk .financial-nav-toggle{flex-basis:22px}body.financial-desk .financial-nav-item .nav-button-inner{flex-wrap:wrap;gap:3px}}
@media(max-width:600px){body.financial-desk .sidebar{padding:12px 12px 0}body.financial-desk .nav{grid-template-columns:repeat(3,minmax(0,1fr))}body.financial-desk .financial-nav-item>button[data-view]{min-height:42px}body.financial-desk .financial-subnav>button{min-height:44px}body.financial-desk .financial-nav-toggle{flex-basis:26px}}
@media(max-width:380px){body.financial-desk .nav{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Purpose selection floats above the report and keeps each checkbox with its label. */
body.financial-desk .reports-top-panel{backdrop-filter:none;position:relative;z-index:10}
body.financial-desk .financial-multiselect{position:relative;border:1px solid #dfe5ed;border-radius:2px;background:white;min-width:0}
body.financial-desk .financial-multiselect>summary{padding:8px 10px;min-height:34px;font-size:12px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:pointer;color:#283c55}
body.financial-desk .financial-multiselect[open]>summary{outline:2px solid #b7d4fa;outline-offset:-1px}
body.financial-desk .financial-multiselect .financial-filter-popup{position:fixed;z-index:80;display:flex;flex-direction:column;gap:2px;padding:6px;margin:0;box-sizing:border-box;background:#fff;border:1px solid #d8e2ee;border-radius:4px;box-shadow:0 8px 24px #13284024;overflow-y:auto;overscroll-behavior:contain}
body.financial-desk .financial-multiselect:not([open]) .financial-filter-popup{display:none}
body.financial-desk .financial-multiselect .comparison-options{display:flex;flex-direction:column;gap:2px;max-height:none;overflow:visible;padding:0}
body.financial-desk .financial-multiselect .comparison-search{position:sticky;top:0;z-index:1;flex:none;width:100%;margin:0 0 6px;box-sizing:border-box;background:white}
body.financial-desk .financial-multiselect .financial-filter-options>label{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:9px;width:100%;box-sizing:border-box;min-width:0;padding:8px;min-height:36px;margin:0;cursor:pointer;font-size:12px;font-weight:400;line-height:1.4;color:#283c55;border-radius:2px;flex-shrink:0}
body.financial-desk .financial-multiselect .financial-filter-options>label[hidden]{display:none}
body.financial-desk .financial-multiselect .financial-filter-options>label:hover{background:#f3f7fd}
body.financial-desk .financial-multiselect .financial-filter-options>label:has(input:checked){background:#edf5ff;color:#1668dc}
body.financial-desk .financial-multiselect .financial-filter-options input[type=checkbox]{display:block;flex:0 0 16px;width:16px;height:16px;min-height:0;margin:0;padding:0}
body.financial-desk .financial-multiselect .financial-filter-options label>span{display:block;flex:1;min-width:0;margin:0;font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit;overflow-wrap:anywhere}
@media(max-width:760px){body.financial-desk .financial-multiselect .financial-filter-options>label{min-height:42px;font-size:13px}}

/* Local A/B comparison: CSS-only switching preserves forms and current filters. */
.financial-preview-banner{flex-wrap:wrap}
.financial-preview-banner>span{flex:1;min-width:160px}
.financial-preview-banner>button{order:3}
.financial-layout-switch{display:flex;gap:0;order:2;border:1px solid #b6cce7;border-radius:4px;overflow:hidden}
.financial-layout-switch button{border:0;border-radius:0;padding:7px 12px;background:white;min-height:32px}
.financial-layout-switch button+button{border-left:1px solid #b6cce7}
.financial-layout-switch button[aria-pressed=true]{background:#173955;color:white}
.financial-layout-note{display:none;order:4;width:100%;font-size:11px}
@media(min-width:761px){
 body.financial-desk[data-financial-nav=left] .page{display:grid;grid-template-columns:238px minmax(0,1fr);align-items:start}
 body.financial-desk[data-financial-nav=left] .sidebar{position:sticky;top:0;display:flex;flex-direction:column;align-items:stretch;gap:20px;padding:20px 12px;min-height:100vh;height:100vh;max-height:100vh;overflow-y:auto;overflow-x:visible;border:0;scrollbar-width:thin;scrollbar-color:#48617d #11243b}
 body.financial-desk[data-financial-nav=left] .sidebar-brand-card{flex:0 0 auto;gap:8px;align-self:stretch}
 body.financial-desk[data-financial-nav=left] .sidebar-brand-copy h2{font-size:16px}
 body.financial-desk[data-financial-nav=left] .nav{display:flex;flex-direction:column;gap:3px;flex:0 0 auto;order:2}
 body.financial-desk[data-financial-nav=left] .financial-nav-item{flex:0 0 auto;border:0;border-left:3px solid transparent}
 body.financial-desk[data-financial-nav=left] .financial-nav-item.active{border-left-color:#7fb7ff}
 body.financial-desk[data-financial-nav=left] .financial-nav-item>button[data-view]{padding:10px 12px;min-height:41px;font-size:12px}
 body.financial-desk[data-financial-nav=left] .financial-nav-item .nav-button-inner{width:100%;flex-wrap:nowrap;justify-content:space-between}
 body.financial-desk[data-financial-nav=left] .financial-subnav{position:fixed;border-radius:4px;max-height:calc(100vh - 16px);overflow-y:auto}
 body.financial-desk[data-financial-nav=left] .financial-account{order:3;margin-top:auto;flex-wrap:wrap;justify-content:space-between;padding:16px 8px 0;border-top:1px solid #ffffff20;flex:0 0 auto}
 body.financial-desk[data-financial-nav=left] .content{width:100%;min-width:0;margin:0;align-content:start}
}
@media(min-width:761px) and (max-width:1250px){
 body.financial-desk[data-financial-nav=left] .page{grid-template-columns:210px minmax(0,1fr)}
 body.financial-desk[data-financial-nav=left] .sidebar-brand-copy h2{font-size:14px}
 body.financial-desk[data-financial-nav=left] .dashboard-stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.financial-desk[data-financial-nav=left] .financial-workspace{grid-template-columns:minmax(0,1fr)}
 body.financial-desk[data-financial-nav=left] .financial-list-layout{grid-template-columns:minmax(0,1fr)}
 body.financial-desk[data-financial-nav=left] .financial-filter-rail .review-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){body.financial-desk[data-financial-nav=left] .financial-layout-note{display:block}.financial-layout-switch button{font-size:12px;padding:8px 10px}}

body.financial-desk .financial-calendar{position:fixed;margin:0;width:340px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);box-sizing:border-box;overflow:auto;border:1px solid #cad8e9;border-radius:8px;padding:14px;background:#fff;color:#283c55;box-shadow:0 16px 50px #10233c30;font-family:Tahoma,Verdana,sans-serif}
body.financial-desk .financial-calendar::backdrop{background:#10233c14}
body.financial-desk .financial-calendar header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
body.financial-desk .financial-calendar header strong{font-size:14px}
body.financial-desk .financial-calendar header button{border:0;background:none;min-height:28px;font-size:21px;padding:0 8px;color:#65758b}
body.financial-desk .financial-calendar-toolbar{display:grid;grid-template-columns:28px minmax(0,1fr) 78px 28px;align-items:center;gap:6px}
body.financial-desk .financial-calendar-toolbar :is(button,input,select){width:100%;min-width:0;min-height:36px;height:36px;padding:5px;font-size:13px;border:1px solid #d4deeb;background:#fff;color:#283c55;border-radius:4px}
body.financial-desk .financial-calendar-toolbar button{font-size:23px;padding:0}
body.financial-desk .financial-calendar-hint{font-size:11px;line-height:1.5;color:#65758b;margin:10px 0}
body.financial-desk .financial-calendar-weekdays,body.financial-desk .financial-calendar-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px;text-align:center}
body.financial-desk .financial-calendar-weekdays{font-size:11px;color:#75859b;padding:5px 0}
body.financial-desk .financial-calendar-days button{padding:0;min-height:36px;height:36px;font-size:13px;background:white;color:#283c55;border:1px solid transparent;border-radius:4px}
body.financial-desk .financial-calendar-days button:hover:not(:disabled){background:#eaf3ff;border-color:#accbf1}
body.financial-desk .financial-calendar-days button.today{border-color:#86afe5}
body.financial-desk .financial-calendar-days button.selected{background:#1668dc;color:#fff;border-color:#1668dc}
body.financial-desk .financial-calendar button:disabled{color:#aab4c1;background:#f6f7f9;cursor:default;opacity:.65}
body.financial-desk .financial-calendar footer{display:flex;justify-content:space-between;border-top:1px solid #e6ecf3;padding-top:10px;margin-top:12px}
body.financial-desk .financial-calendar footer button{background:#f4f8fd;color:#1668dc;border:1px solid #d9e5f4;min-height:34px;font-size:12px;padding:6px 12px}

/* Budget filters: one aligned control row and a shared selection/reset footer. */
body.financial-desk .financial-budget-panel{container-type:inline-size;gap:12px}
body.financial-desk .financial-budget-panel>.row{justify-content:space-between;align-items:center;gap:12px}
body.financial-desk .financial-budget-panel>.row>.actions{margin-left:auto}
body.financial-desk .financial-budget-panel .financial-budget-filters{display:grid!important;grid-template-columns:minmax(140px,.8fr) minmax(300px,1.6fr) minmax(170px,1fr);gap:12px 16px;padding:16px;background:#f7f9fc;border-radius:6px;align-items:end}
body.financial-desk .financial-budget-filters>.budget-month-nav{grid-column:auto;display:grid;gap:6px}
body.financial-desk .financial-budget-filters>label,body.financial-desk .financial-budget-filters>.budget-month-nav{font-size:11px;min-width:0}
body.financial-desk .financial-budget-filters .budget-month-input-row{display:grid;grid-template-columns:34px minmax(0,1fr) 88px 34px;gap:5px}
body.financial-desk .financial-budget-filters .budget-month-input-row>*{width:100%;min-width:0}
body.financial-desk .financial-budget-filters :is(select,button,.localized-date-input,.localized-date-display){height:36px;min-height:36px}
body.financial-desk .financial-budget-filters .budget-month-input-row button{padding:0;font:22px/1 Tahoma,sans-serif}
body.financial-desk .financial-budget-filters select{padding:6px 10px}
body.financial-desk .financial-budget-filters .financial-budget-filter-footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:12px;border-top:1px solid var(--line)}
body.financial-desk .financial-budget-filter-footer .review-chips{margin:0;gap:6px}
body.financial-desk .financial-budget-filter-footer .review-chips button{height:auto;min-height:28px;padding:4px 8px;font-size:11px}
body.financial-desk .financial-budget-filter-footer .filter-clear-action{margin-left:auto;flex:none}
body.financial-desk .financial-budget-filter-footer .filter-clear-action button{white-space:nowrap;padding:6px 12px}
body.financial-desk .financial-budget-panel .financial-budget-custom{grid-template-columns:repeat(4,minmax(0,1fr))}
@container (max-width:760px){
 body.financial-desk .financial-budget-panel .financial-budget-filters{grid-template-columns:minmax(130px,1fr) minmax(280px,1.8fr)}
 body.financial-desk .financial-budget-panel .financial-budget-custom{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container (max-width:480px){
 body.financial-desk .financial-budget-panel .financial-budget-filters{grid-template-columns:minmax(0,1fr);padding:12px;gap:12px}
 body.financial-desk .financial-budget-filters .budget-month-input-row{grid-template-columns:30px minmax(0,1fr) 76px 30px;gap:4px}
 body.financial-desk .financial-budget-filters .budget-month-input-row select{padding-left:6px;padding-right:3px}
 body.financial-desk .financial-budget-filters .financial-budget-filter-footer{flex-wrap:wrap;align-items:center}
 body.financial-desk .financial-budget-filter-footer .filter-clear-action{margin-left:0}
 body.financial-desk .financial-budget-panel>.row>.actions{margin-left:0;flex-wrap:wrap}
}
body.financial-desk .financial-budget-panel>.row>.actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
body.financial-desk .financial-budget-panel>.row>.actions>.pill{display:inline-flex;align-items:center;flex:0 1 auto;width:auto;min-height:30px;padding:5px 8px}
body.financial-desk .financial-budget-filters>.budget-month-nav>span{color:var(--muted)}

/* Shared filter panels: aligned fields, selected filters and actions in one footer. */
body.financial-desk .financial-filter-group{container-type:inline-size;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;padding:14px!important;border:1px solid var(--line)!important;border-radius:6px!important;background:#f7f9fc!important;min-width:0;max-width:100%;box-sizing:border-box}
body.financial-desk .financial-filter-fields{display:grid;grid-column:1/-1;grid-template-columns:repeat(4,minmax(0,1fr));align-items:end;gap:12px 14px;min-width:0}
body.financial-desk .financial-filter-fields[data-columns="1"]{grid-template-columns:minmax(0,1fr)}
body.financial-desk .financial-filter-fields[data-columns="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
body.financial-desk .financial-filter-fields[data-columns="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
body.financial-desk .financial-filter-fields>*{min-width:0;max-width:100%;grid-column:auto}
body.financial-desk .financial-filter-fields>label{display:grid;gap:6px;margin:0;font-size:11px;align-self:end}
body.financial-desk .financial-filter-fields :is(select,input:not([type=checkbox]):not([type=hidden]),.searchable-select-trigger,.localized-date-input){width:100%;min-width:0;max-width:100%;height:36px;min-height:36px;box-sizing:border-box}
body.financial-desk .financial-filter-fields select{padding:6px 10px}
body.financial-desk .financial-filter-fields .reports-product-filter{grid-column:span 2}
body.financial-desk .financial-filter-fields .field-note{display:grid;gap:6px;margin:0;font-size:11px}
body.financial-desk .financial-filter-fields .auto-note{min-height:36px;padding:8px 10px;box-sizing:border-box}
body.financial-desk .financial-filter-footer{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding-top:12px;border-top:1px solid var(--line);min-width:0}
body.financial-desk .financial-filter-footer .review-chips{margin:0;flex:1 1 180px;gap:6px;min-width:0}
body.financial-desk .financial-filter-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-left:auto;max-width:100%}
body.financial-desk .financial-filter-actions :is(.filter-clear-action,.filter-reset-row,.actions){display:flex;flex-wrap:wrap;gap:8px;margin:0;max-width:100%;align-items:center}
body.financial-desk .financial-filter-actions button{min-height:34px;height:auto;padding:6px 12px;white-space:normal}
body.financial-desk .financial-filter-footer .review-chips button{min-height:28px;height:auto;padding:4px 8px;font-size:11px}
body.financial-desk .financial-filter-rail{border-radius:6px;padding:12px;gap:12px}
body.financial-desk .financial-filter-rail .financial-filter-group{border:0!important;padding:0!important;background:none!important}
body.financial-desk .financial-filter-rail .financial-filter-fields{grid-template-columns:minmax(0,1fr)}
body.financial-desk .financial-filter-rail .financial-filter-actions{margin-left:0;width:100%}
body.financial-desk .financial-filter-rail .financial-filter-actions :is(button,.filter-reset-row){width:100%}
body.financial-desk .financial-list-main .invoice-list-mobile-filters{display:none!important}
@container (max-width:720px){
 body.financial-desk .financial-filter-fields:not([data-columns="1"]){grid-template-columns:repeat(2,minmax(0,1fr))}
}
@container (max-width:420px){
 body.financial-desk .financial-filter-fields:not([data-columns="1"]){grid-template-columns:minmax(0,1fr)}
 body.financial-desk .financial-filter-fields .reports-product-filter{grid-column:auto}
 body.financial-desk .financial-filter-actions{margin-left:0}
}
/* Keep inactive meal tabs hidden even when the shared filter style uses grid. */
body.financial-desk :is(.meal-workspace-hidden,.meal-access-section-hidden){display:none!important}
body.financial-desk .financial-filter-fields>label,body.financial-desk .financial-filter-fields>label>span,body.financial-desk .financial-filter-fields>div>span,body.financial-desk .financial-filter-footer .review-filter-label{font-family:Tahoma,Verdana,sans-serif;font-size:11px;font-weight:400;line-height:1.4;color:var(--muted)}

/* Invoice workspace: horizontal filtering and a complete item on one line. */
body.financial-desk .financial-invoice-filters .financial-filter-fields{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px 12px}
body.financial-desk[data-financial-view="invoices"] .invoice-list-mobile-filters{display:none!important}
body.financial-desk #invoice-form label:has(>input[name="comment"]){display:none!important}
body.financial-desk #invoice-form>.form-grid:has(input[name="comment"]){grid-template-columns:repeat(2,minmax(0,1fr))}
body.financial-desk #invoice-items{overflow-x:auto;max-width:100%;padding-bottom:6px}
body.financial-desk #invoice-items>[data-invoice-item]{min-width:880px}
body.financial-desk #invoice-form .invoice-item-grid{display:grid;grid-template-columns:minmax(140px,1.8fr) minmax(48px,.6fr) minmax(56px,.7fr) minmax(70px,.9fr) minmax(48px,.55fr) minmax(70px,.9fr) minmax(82px,1fr) minmax(72px,.9fr) minmax(92px,1.15fr) 58px;gap:6px;align-items:end}
body.financial-desk #invoice-form .invoice-item-grid>label{min-width:0;grid-column:auto;gap:5px;margin:0;font-size:11px}
body.financial-desk #invoice-form .invoice-item-grid>label>span{font:400 11px/1.3 Tahoma,Verdana,sans-serif;color:var(--muted)}
body.financial-desk #invoice-form .invoice-item-grid :is(input:not([type=hidden]),select,button){width:100%;min-width:0;min-height:34px;height:34px;padding:5px 6px;font-size:11px;box-sizing:border-box}
body.financial-desk #invoice-form .invoice-item-grid>.actions{grid-column:auto;align-self:end;margin:0}
body.financial-desk #invoice-form .invoice-item-grid input[name="lineAmount"]{font-weight:700;color:#193e65;background:#eef5ff}
@container (max-width:600px){body.financial-desk .financial-invoice-filters .financial-filter-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container (max-width:420px){body.financial-desk .financial-invoice-filters .financial-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 8px}}
body.financial-desk #invoice-form .request-product-menu[popover]{max-width:calc(100vw - 24px);box-sizing:border-box}
body.financial-desk #invoice-form .request-product-menu .request-product-option{height:auto;min-height:34px;white-space:normal;text-align:left}

/* Invoice metadata: two rows followed by one payment row. */
body.financial-desk #invoice-form .financial-invoice-header{display:grid;gap:12px;min-width:0}
body.financial-desk #invoice-form .financial-invoice-meta{display:grid;grid-template-columns:1fr .85fr 1fr 1.4fr;gap:12px;align-items:end}
body.financial-desk #invoice-form .financial-invoice-links{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3.35fr);gap:12px;align-items:start}
body.financial-desk #invoice-form .financial-invoice-request-host{gap:10px}
body.financial-desk #invoice-form .financial-invoice-request-host>[data-request-link]{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr) auto;gap:12px;align-items:end}
body.financial-desk #invoice-form .financial-invoice-request-host [data-request-link-actions]{display:flex;flex-wrap:nowrap;gap:6px;align-items:end}
body.financial-desk #invoice-form .financial-invoice-header label{display:grid;gap:6px;min-width:0;margin:0;align-self:end}
body.financial-desk #invoice-form .financial-invoice-header label>span{font:400 11px/1.4 Tahoma,Verdana,sans-serif;color:var(--muted)}
body.financial-desk #invoice-form .financial-invoice-header :is(input:not([type=hidden]),select,button,.localized-date-input){height:36px;min-height:36px;box-sizing:border-box;min-width:0}
body.financial-desk #invoice-form .financial-invoice-header button{padding:6px 8px;font-size:11px;white-space:nowrap}
body.financial-desk #invoice-form .form-grid[hidden],body.financial-desk #invoice-form [data-invoice-cash-fields][hidden]{display:none!important}
body.financial-desk #invoice-form .invoice-payment-section{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(2,minmax(0,1fr));gap:10px 12px;padding:12px 14px;align-items:end;border-radius:6px}
body.financial-desk #invoice-form .invoice-payment-section>.form-grid:not([hidden]){display:contents}
body.financial-desk #invoice-form .invoice-payment-section label{display:grid;gap:6px;min-width:0;margin:0}
body.financial-desk #invoice-form .invoice-payment-section label>span{font:400 11px/1.4 Tahoma,Verdana,sans-serif;color:var(--muted)}
body.financial-desk #invoice-form .invoice-payment-section :is(input,select,.localized-date-input){height:36px;min-height:36px;box-sizing:border-box;min-width:0}
body.financial-desk #invoice-form .invoice-payment-section>p{grid-column:1/-1;margin:0}
@media(max-width:1000px){
 body.financial-desk #invoice-form .financial-invoice-request-host>[data-request-link]{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.financial-desk #invoice-form .financial-invoice-request-host [data-request-link-actions]{grid-column:1/-1;flex-wrap:wrap}
}
@media(max-width:640px){
 body.financial-desk #invoice-form .financial-invoice-meta{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.financial-desk #invoice-form .financial-invoice-links{grid-template-columns:minmax(0,1fr)}
 body.financial-desk #invoice-form .invoice-payment-section{grid-template-columns:minmax(0,1fr)}
}
body.financial-desk #invoice-form .financial-invoice-header [data-invoice-duplicate]:empty{display:none}
body.financial-desk #invoice-form .financial-invoice-meta>label,body.financial-desk #invoice-form .financial-invoice-links>label{align-self:start}
/* Request actions: compare, add another request, remove. */
body.financial-desk #invoice-form [data-request-link-actions]>button:first-child:nth-last-child(3){order:1}
body.financial-desk #invoice-form [data-request-link-actions]>button:last-child{order:2}

/* Keep the main navigation available while scrolling any test workspace. */
body.financial-desk[data-financial-nav=top] .sidebar{position:sticky!important;top:0!important;bottom:auto!important;z-index:40;align-self:start;box-shadow:0 3px 10px #11243b1a}
@media(max-width:760px){body.financial-desk[data-financial-nav=left] .sidebar{position:sticky!important;top:0!important;bottom:auto!important;z-index:40;box-shadow:0 3px 10px #11243b1a}}

/* Separate phone presentation; desktop layout and original controls stay intact. */
.financial-mobile-shell{display:none}
@media(max-width:760px){
 body.financial-desk{background:#f2f5f9}
 body.financial-desk .sidebar,body.financial-desk .mobile-nav-toggle,body.financial-desk .mobile-nav-backdrop{display:none!important}
 body.financial-desk .financial-mobile-header{display:flex;align-items:center;justify-content:space-between;gap:12px;position:sticky;top:0;z-index:40;min-height:62px;padding:10px 16px;background:#11243b;color:#fff;box-sizing:border-box;box-shadow:0 3px 12px #11243b18}
 body.financial-desk .financial-mobile-brand{display:flex;align-items:center;gap:10px;min-width:0}
 body.financial-desk .financial-mobile-brand img{width:34px;height:34px;flex:none}
 body.financial-desk .financial-mobile-brand>div{display:grid;gap:3px;min-width:0}
 body.financial-desk .financial-mobile-brand span{font-size:10px;color:#adc3dd;letter-spacing:.25px}
 body.financial-desk .financial-mobile-brand strong{font-size:14px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
 body.financial-desk .financial-mobile-menu-button{display:grid;place-items:center;flex:none;width:42px;height:42px;border:1px solid #36516f;border-radius:10px;background:#1d3551;color:#fff;padding:9px}
 body.financial-desk .financial-mobile-shell svg{width:22px;height:22px;display:block}
 body.financial-desk .financial-mobile-bottom{display:grid;grid-template-columns:repeat(var(--mobile-tabs,5),minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:40;padding:7px 6px calc(7px + env(safe-area-inset-bottom,0px));border-top:1px solid #dce4ee;background:#fffffff5;box-shadow:0 -4px 18px #142f4e0b;box-sizing:border-box}
 body.financial-desk .financial-mobile-bottom>button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:51px;min-width:0;padding:5px 2px;background:none;border:0;border-radius:9px;color:#697a90;font-size:10px;line-height:1.2;overflow-wrap:anywhere}
 body.financial-desk .financial-mobile-bottom>button[aria-current=page]{color:#1468d4;background:#edf4ff;font-weight:600}
 body.financial-desk .financial-mobile-badge{position:absolute;top:1px;left:calc(50% + 7px);min-width:15px;padding:2px 4px;border-radius:8px;background:#df455a;color:#fff;font-size:9px;line-height:1}
 body.financial-desk .content{padding:0 14px calc(100px + env(safe-area-inset-bottom,0px));gap:16px}
 body.financial-desk .content-topbar{margin:0 -14px;padding:6px 14px;min-height:37px;background:transparent;border:0;justify-content:flex-end}
 body.financial-desk .financial-breadcrumb{display:none}
 body.financial-desk .financial-preview-banner{padding:5px 12px;min-height:0;gap:6px}
 body.financial-desk .financial-preview-banner>span{font-size:9px;max-width:none;flex:1}
 body.financial-desk .financial-preview-banner>button{min-height:26px;font-size:10px;padding:3px 6px}
 body.financial-desk .financial-layout-switch,body.financial-desk .financial-layout-note{display:none!important}
 body.financial-desk .financial-mobile-menu[open]{display:block;position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;max-height:88dvh;padding:0 16px calc(18px + env(safe-area-inset-bottom,0px));box-sizing:border-box;border:0;border-radius:18px 18px 0 0;background:#fff;color:#253952;overflow-y:auto;overscroll-behavior:contain;font-family:Tahoma,Verdana,sans-serif}
 body.financial-desk .financial-mobile-menu::backdrop{background:#11243b88}
 body.financial-desk .financial-mobile-menu>header{position:sticky;top:0;background:#fff;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 0 14px;border-bottom:1px solid var(--line);z-index:1}
 body.financial-desk .financial-mobile-menu h2{font-size:20px;margin:0}
 body.financial-desk .financial-mobile-menu header p{font-size:12px;color:#697a90;margin-top:5px}
 body.financial-desk .financial-mobile-menu header button{width:44px;height:44px;flex:none;font-size:25px;border:0;background:#f2f5f9;border-radius:10px;color:#344963}
 body.financial-desk .financial-mobile-menu-group{border-bottom:1px solid #edf1f6;padding:6px 0}
 body.financial-desk .financial-mobile-menu-group>button{display:block;width:100%;text-align:left;min-height:44px;border:0;background:none;padding:10px;border-radius:8px;font-size:14px;font-weight:600;color:#263c56}
 body.financial-desk .financial-mobile-menu-group>button[aria-current=page]{background:#edf4ff;color:#1468d4}
 body.financial-desk .financial-mobile-menu summary{padding:7px 10px;font-size:12px;color:#667b95;cursor:pointer}
 body.financial-desk .financial-mobile-menu details>button{display:block;width:100%;min-height:44px;padding:10px 14px;text-align:left;border:0;border-radius:7px;background:#f6f8fc;color:#315279;font-size:13px;margin:4px 0}
 body.financial-desk .financial-mobile-logout{margin-top:16px;width:100%;min-height:44px;background:#fff;border:1px solid #dce4ee;border-radius:9px;font-size:13px}
 body.financial-desk .financial-dashboard-heading{padding:2px 0 0}
 body.financial-desk .financial-dashboard-heading h1{font-size:23px;letter-spacing:-.5px}
 body.financial-desk .dashboard-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;border:0;background:none}
 body.financial-desk .dashboard-stats-grid>.stat{display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:14px 12px;min-height:114px;border:1px solid #dce5f0!important;border-radius:12px;background:#fff;box-shadow:0 2px 5px #19375604;box-sizing:border-box}
 body.financial-desk .dashboard-stats-grid>.stat>span{font-size:12px;color:#647890}
 body.financial-desk .dashboard-stats-grid>.stat>strong{font:600 clamp(17px,5vw,23px)/1.25 Tahoma,sans-serif;letter-spacing:-.6px;white-space:normal;overflow-wrap:anywhere}
 body.financial-desk .dashboard-stats-grid .financial-metric-detail{margin-top:auto;min-height:32px;font-size:12px;padding:5px 0}
 body.financial-desk .financial-notices{font-size:11px;border-radius:8px;padding:10px 12px}
 body.financial-desk .financial-workspace{display:flex;flex-direction:column;gap:16px}
 body.financial-desk .financial-work-main,body.financial-desk .financial-work-rail{width:100%;min-width:0}
 body.financial-desk .financial-work-rail{order:-1}
 body.financial-desk .financial-workspace .panel{border-radius:12px;border:1px solid #dce5f0;background:#fff}
 body.financial-desk .financial-workspace .panel>div:first-child{padding:14px;border-bottom:1px solid #edf1f6}
 body.financial-desk .financial-workspace .panel h3{font-size:16px}
 body.financial-desk .financial-workspace .action-center-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:0 14px}
 body.financial-desk .financial-workspace .action-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:12px 0;align-items:center}
 body.financial-desk .financial-workspace .action-card-head{align-items:center;gap:8px}
 body.financial-desk .financial-workspace .action-card-head>span{font-size:12px}
 body.financial-desk .financial-workspace .action-card-head>strong{font-size:19px}
 body.financial-desk .financial-workspace .action-card button{min-height:40px;padding:8px 10px;border-radius:8px;font-size:12px}
 body.financial-desk .dashboard-payments-panel .dashboard-payments-scroll{display:none}
 body.financial-desk .dashboard-payments-panel .upcoming-payments-mobile-list{display:grid;gap:10px;padding:12px}
 body.financial-desk .financial-workspace .upcoming-payment-card{padding:12px;border:1px solid #e5ebf3;border-radius:10px;background:#fbfcfe;gap:10px}
 body.financial-desk .upcoming-payment-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
 body.financial-desk .upcoming-payment-meta>div{min-width:0}
 body.financial-desk .upcoming-payment-meta strong{overflow-wrap:anywhere}
 body.financial-desk .financial-mobile-invoice-link{min-height:36px;padding:5px 0;font-size:12px;background:none;color:#1668dc;border:0;font-weight:600}
 body.financial-desk .financial-workspace .dashboard-budget-list{grid-template-columns:minmax(0,1fr);padding:14px;gap:16px}
 body.financial-desk .financial-workspace .dashboard-budget-card{gap:8px;border-bottom:1px solid #edf1f6;padding-bottom:14px}
 body.financial-desk .financial-workspace .dashboard-budget-card:last-child{border:0;padding-bottom:0}
 body.financial-desk .financial-workspace .dashboard-budget-card .row{display:flex;align-items:center;justify-content:space-between;gap:10px}
 body.financial-desk .financial-workspace .dashboard-budget-card strong{font-size:12px}
 body.financial-desk .financial-workspace .dashboard-budget-card .pill{font-size:11px}
 body.financial-desk .financial-budget-caption{font-size:11px}
 body.financial-desk .financial-calculations{border-radius:12px}
 body.financial-desk .financial-calculations>header{padding:12px}
 body.financial-desk .financial-calculations>header h3{font-size:14px}
 body.financial-desk .financial-calculations>header button{min-height:40px}
}
@media print{.financial-mobile-shell{display:none!important}}
.financial-mobile-invoice-link{display:none}
@media(max-width:760px){body.financial-desk .financial-mobile-invoice-link{display:inline-block}body.financial-desk .financial-mobile-invoice-number{display:none}}
@media(max-width:760px){
 body.financial-desk .financial-workspace .panel :is(h3,strong,button),body.financial-desk .financial-mobile-menu :is(button,h2,summary){font-family:'Segoe UI',Arial,sans-serif}
 body.financial-desk .upcoming-payment-card-head>div{display:grid;gap:3px;min-width:0}
 body.financial-desk .financial-mobile-invoice-link{justify-self:start}
}
@media(max-width:760px){
 body.financial-desk .financial-mobile-menu>header{padding-top:26px;touch-action:none}
 body.financial-desk .financial-mobile-menu>header>div{flex:1;min-width:0}
 body.financial-desk .financial-mobile-grip{position:absolute;top:9px;left:calc(50% - 19px);width:38px;height:4px;border-radius:2px;background:#bfccdc}
 body.financial-desk .financial-mobile-menu header button{touch-action:manipulation}
 body.financial-desk .financial-mobile-menu header .financial-mobile-menu-back{width:auto;font-size:13px;padding:8px 10px}
 body.financial-desk .financial-mobile-menu [hidden]{display:none!important}
 body.financial-desk .financial-mobile-menu-group>button{min-height:48px}
}
/* Mobile keeps document order; desktop puts actions beside the budget. */
body.financial-desk .financial-workspace,
body.financial-desk[data-financial-nav=left] .financial-workspace{display:flex;flex-direction:column;gap:16px;align-items:stretch}
@media(min-width:761px){
 body.financial-desk .financial-workspace,
 body.financial-desk[data-financial-nav=left] .financial-workspace{display:grid;grid-template-columns:minmax(0,1fr) 270px;align-items:start}
 body.financial-desk .financial-workspace>.dashboard-budget-panel{grid-column:1;grid-row:1}
 body.financial-desk .financial-workspace>.action-center-panel{grid-column:2;grid-row:1}
 body.financial-desk .financial-workspace>.dashboard-payments-panel{grid-column:1 / -1;grid-row:2}
 body.financial-desk .financial-workspace .action-center-grid{display:flex;flex-direction:column;gap:0;padding:0 18px}
}
@media(max-width:760px){
 body.financial-desk .financial-workspace .action-center-grid{grid-template-columns:minmax(0,1fr)}
 body.financial-desk .financial-mobile-bottom-expanded>button{font-size:9px;gap:5px}
 body.financial-desk .financial-mobile-bottom-expanded>button>span{white-space:nowrap}
}
@media(max-width:359px){
 body.financial-desk .financial-mobile-bottom-expanded{grid-template-columns:repeat(4,minmax(0,1fr))}
 body.financial-desk .financial-mobile-bottom-expanded>button{font-size:10px;min-height:48px}
 body.financial-desk:has(.financial-mobile-bottom-expanded) .content{padding-bottom:calc(145px + env(safe-area-inset-bottom,0px))}
}
body.financial-desk .financial-workspace>.panel{width:100%;max-width:none;box-sizing:border-box;align-self:stretch}
@media(min-width:761px){
 body.financial-desk .financial-workspace>.panel{align-self:start}
}
/* Compact action rows share the budget panel's desktop height. */
@media(min-width:761px){
 body.financial-desk .financial-workspace,
 body.financial-desk[data-financial-nav=left] .financial-workspace{grid-template-columns:minmax(0,1fr) minmax(300px,32%)}
 body.financial-desk .financial-workspace>:is(.dashboard-budget-panel,.action-center-panel){align-self:stretch;display:flex;flex-direction:column;justify-content:flex-start}
 body.financial-desk .financial-workspace .action-center-grid{padding:5px 14px;flex:1;justify-content:space-evenly}
 body.financial-desk .financial-workspace .action-card{display:flex;align-items:center;gap:8px;padding:3px 0;min-width:0}
 body.financial-desk .financial-workspace .action-card-head{flex:1;min-width:0;align-items:center;gap:8px}
 body.financial-desk .financial-workspace .action-card-head>span{font-size:11px;line-height:1.3}
 body.financial-desk .financial-workspace .action-card-head>strong{font-size:15px;flex:none}
 body.financial-desk .financial-workspace .action-card button{flex:none;min-height:24px;padding:3px 6px;font-size:10px}
}
/* New-request metadata: four aligned fields, no duplicated workflow note. */
body.financial-desk #request-form>.financial-request-create-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:end}
body.financial-desk #request-form>.financial-request-create-fields>label{min-width:0;margin:0}
@media(max-width:760px){body.financial-desk #request-form>.financial-request-create-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){body.financial-desk #request-form>.financial-request-create-fields{grid-template-columns:minmax(0,1fr)}}
body.financial-desk .request-workspace-panel:has(.financial-request-create-fields){min-height:0;align-content:start}

@media(max-width:760px){
 body.financial-desk .financial-multiselect>summary{min-height:44px;box-sizing:border-box;line-height:26px}
 body.financial-desk .financial-multiselect .financial-filter-options>label{min-height:44px;touch-action:manipulation}
 body.financial-desk .financial-multiselect .comparison-search{font-size:16px;min-height:44px}
}

/* Phone controls: readable input text and a consistent finger-sized target.
   Override compact desktop rules only inside the mobile workspace/dialogs. */
@media(max-width:760px){
 body.financial-desk :is(main.content,.review-dialog) button{min-height:44px!important;min-width:44px!important;white-space:normal;overflow-wrap:anywhere;touch-action:manipulation}
 body.financial-desk :is(main.content,.review-dialog) :is(select,textarea,input:not([type=checkbox],[type=radio],[type=hidden],[aria-hidden=true])){min-height:44px!important;font-size:16px!important;max-width:100%;box-sizing:border-box}
 body.financial-desk :is(main.content,.review-dialog) summary{min-height:44px;box-sizing:border-box;padding-top:12px;padding-bottom:12px;cursor:pointer}
 body.financial-desk :is(main.content,.review-dialog) label:has(input[type=checkbox],input[type=radio]){min-height:44px;box-sizing:border-box;cursor:pointer}
 body.financial-desk :is(main.content,.review-dialog) .localized-date-input{min-height:44px;min-width:0}
 body.financial-desk :is(main.content,.review-dialog) .localized-date-display{padding-right:48px}
 body.financial-desk :is(main.content,.review-dialog) .localized-date-picker{width:44px;height:44px;top:0;right:0;transform:none;padding:10px}
 body.financial-desk #invoice-form .invoice-item-grid :is(input:not([type=hidden]),select,button){height:44px}
 body.financial-desk .content :is(button,input,select,textarea,summary){scroll-margin-top:76px;scroll-margin-bottom:155px}
}
@media(max-width:760px){
 body.financial-desk .payment-choice .payment-pick{flex:0 0 44px;width:44px;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}
 body.financial-desk main.content .localized-date-display{padding-right:48px!important}
 /* Keep invoice entry fields on screen; desktop retains its single-row editor. */
 body.financial-desk #invoice-items>[data-invoice-item]{min-width:0}
 body.financial-desk #invoice-form .invoice-item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 body.financial-desk #invoice-form .invoice-item-grid>label:first-child{grid-column:1 / -1}
 body.financial-desk #invoice-form .invoice-item-grid>.actions{grid-column:1 / -1;justify-self:end}
}
@media(max-width:760px){
 body.financial-desk .request-item-row.is-collapsed .request-item-summary .request-item-summary-details{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0}
 body.financial-desk :is(.request-item-summary,.branch-need-item-summary){width:100%;max-width:100%;min-width:0}
 body.financial-desk :is(.request-item-summary-details,.branch-need-summary-details) :is(small,b){white-space:normal;overflow-wrap:anywhere}
}
@media(max-width:760px){
 body.financial-desk .financial-mobile-menu-button{width:44px;height:44px}
 body.financial-desk .financial-calendar-toolbar{grid-template-columns:44px minmax(0,1fr) 76px 44px}
 body.financial-desk .financial-calendar-toolbar :is(button,input,select){min-height:44px;height:44px;font-size:16px}
 body.financial-desk .financial-calendar-days button{min-height:44px;height:44px}
 body.financial-desk .financial-calendar :is(header,footer) button{min-height:44px;min-width:44px}
}
@media(max-width:760px){
 body.financial-desk .financial-calendar-days{touch-action:none}
 body.financial-desk .financial-calendar-toolbar{grid-template-columns:44px minmax(0,1fr) 88px 44px}
}
body.financial-desk :is(.financial-calendar-days,.financial-calendar-weekdays){user-select:none;-webkit-user-select:none}
/* Reports on phones: two fields per row, with each date range kept together. */
@media(max-width:760px){
 body.financial-desk .reports-filter-grid .financial-filter-fields:not([data-columns="1"]),
 body.financial-desk #reconciliation-form .financial-filter-fields:not([data-columns="1"]),
 body.financial-desk #comparison-form>.comparison-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px;align-items:end;min-width:0}
 body.financial-desk .reports-filter-grid label:has(#reports-period){grid-area:1 / 1}
 body.financial-desk .reports-filter-grid label:has(#report-branch-filter){grid-area:1 / 2}
 body.financial-desk .reports-filter-grid label:has(#reports-date-from){grid-area:2 / 1}
 body.financial-desk .reports-filter-grid label:has(#reports-date-to){grid-area:2 / 2}
 body.financial-desk .reports-filter-grid label:has(#report-supplier-filter){grid-area:3 / 1}
 body.financial-desk .reports-filter-grid .report-purpose-field{grid-area:3 / 2}
 body.financial-desk .reports-filter-grid .financial-filter-fields .reports-product-filter{grid-area:4 / 1 / auto / -1}
 body.financial-desk #reconciliation-form label:has(#recon-supplier){grid-column:1 / -1}
 body.financial-desk #comparison-form>.comparison-grid>label{display:grid;gap:6px;min-width:0;margin:0}
 body.financial-desk #comparison-form>.comparison-grid>*{min-width:0;max-width:100%}
 body.financial-desk #comparison-form .comparison-dates select{width:100%;min-width:0;max-width:100%}
}
@media(max-width:420px){
 /* Put the calendar target beside the caption, leaving room for a full date. */
 body.financial-desk :is(.reports-filter-grid,#comparison-form,#reconciliation-form) label:has(input[type=date])>span:first-child{min-height:44px;padding-right:44px;display:flex;align-items:center}
 body.financial-desk main.content :is(.reports-filter-grid,#comparison-form,#reconciliation-form) .localized-date-picker{top:-50px}
 body.financial-desk main.content :is(.reports-filter-grid,#comparison-form,#reconciliation-form) .localized-date-display{padding-left:6px;padding-right:6px!important}
}
/* Invoice list: no amount filter; keep the date range together at every width. */
body.financial-desk .financial-invoice-filters .financial-filter-fields{grid-template-columns:repeat(4,minmax(0,1fr))}
body.financial-desk .financial-invoice-date-range{grid-column:span 2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 8px;min-width:0;align-items:end}
body.financial-desk .financial-invoice-date-range>label{display:grid;gap:6px;min-width:0;margin:0}
body.financial-desk .financial-invoice-date-range>label>span:first-child{font:400 11px/1.4 Tahoma,Verdana,sans-serif;color:var(--muted)}
@container(max-width:600px){body.financial-desk .financial-invoice-filters .financial-filter-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){
 body.financial-desk .financial-invoice-date-range>label>span:first-child{min-height:44px;padding-right:44px;display:flex;align-items:center}
 body.financial-desk main.content .financial-invoice-date-range .localized-date-picker{top:-50px}
 body.financial-desk main.content .financial-invoice-date-range .localized-date-display{padding-left:6px;padding-right:6px!important}
}

/* The same two-column phone filter layout throughout the test workspace. */
@media(max-width:760px){
 body.financial-desk main.content .financial-mobile-filter-grid,
 body.financial-desk .review-dialog form.financial-mobile-filter-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 8px;align-items:end;min-width:0}
 body.financial-desk main.content .financial-mobile-filter-grid[data-columns="1"]{grid-template-columns:minmax(0,1fr)}
 body.financial-desk .financial-mobile-filter-grid>label{min-width:0;max-width:100%;display:grid;gap:6px;margin:0}
 body.financial-desk .financial-mobile-filter-grid>.financial-filter-range-start{grid-column:1}
 body.financial-desk .financial-mobile-filter-grid>.financial-filter-range-end{grid-column:2}
 body.financial-desk .financial-mobile-filter-grid>.financial-filter-range-lead{grid-column:1 / -1}
 body.financial-desk :is(#payment-history-filter,.review-dialog form.financial-mobile-filter-grid)>button{grid-column:1 / -1;justify-self:start}
 body.financial-desk .financial-mobile-filter-grid :is(select,.searchable-select,.searchable-select-trigger){min-width:0;max-width:100%;width:100%;box-sizing:border-box}
 body.financial-desk .financial-budget-panel .financial-budget-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.financial-desk .financial-budget-filters>label:has(#budget-period-preset){grid-area:1 / 1}
 body.financial-desk .financial-budget-filters>.budget-branch-filter{grid-area:1 / 2}
 body.financial-desk .financial-budget-filters:not(:has(.budget-branch-filter))>label:has(#budget-period-preset){grid-column:1 / -1}
 body.financial-desk .financial-budget-filters>.budget-month-nav{grid-area:2 / 1 / auto / -1}
 body.financial-desk .financial-budget-filters>label:has(#budget-date-from){grid-area:2 / 1}
 body.financial-desk .financial-budget-filters>label:has(#budget-date-to){grid-area:2 / 2}
}
@media(max-width:420px){
 body.financial-desk .financial-mobile-filter-grid .financial-filter-date>span:first-child{min-height:44px;padding-right:44px;display:flex;align-items:center}
 body.financial-desk :is(main.content,.review-dialog) .financial-mobile-filter-grid .financial-filter-date .localized-date-picker{top:-50px}
 body.financial-desk :is(main.content,.review-dialog) .financial-mobile-filter-grid .financial-filter-date .localized-date-display{padding-left:6px;padding-right:6px!important}
}

/* Shared phone summary cards, including late-loaded reports and supplier dialogs.
   The dashboard already has its own two-column layout and detail buttons. */
@media(max-width:760px){
 body.financial-desk :is(main.content,.review-dialog) :is(.stats-grid,.hero-grid,.review-kpis):has(>.stat):not(.dashboard-stats-grid){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:stretch}
 body.financial-desk :is(main.content,.review-dialog) :is(.stats-grid,.hero-grid,.review-kpis):not(.dashboard-stats-grid)>.stat{min-width:0;padding:10px;overflow-wrap:anywhere}
 body.financial-desk :is(main.content,.review-dialog) :is(.stats-grid,.hero-grid,.review-kpis):not(.dashboard-stats-grid)>.stat>strong{font-size:clamp(16px,4.2vw,22px);line-height:1.3;font-variant-numeric:tabular-nums;white-space:normal}
 body.financial-desk :is(main.content,.review-dialog) :is(.stats-grid,.hero-grid,.review-kpis):not(.dashboard-stats-grid)>.stat>.muted{font-size:11px;line-height:1.4}
}
/* Palette trial: original ORIZONT colours on the current financial-desk layout.
   Colour/background overrides only; no dimensions or responsive layout changes. */
body.financial-desk{
 --bg:#eef6ff;--panel:rgba(255,255,255,.96);--ink:#17324d;--muted:#61758b;
 --line:rgba(186,204,226,.92);--accent:#0b63ad;--accent-soft:#e3f0ff;
 --school-blue:#075da6;--accent-red:#ed1c2e;--accent-yellow:#ffe600;--accent-green:#36a852;
 --warn:#c08414;--danger:#cf3346;
 color:var(--ink);
 background:linear-gradient(120deg,rgba(7,93,166,.08),rgba(227,240,255,.35) 52%,rgba(255,255,255,.4)),repeating-linear-gradient(135deg,rgba(7,93,166,.055) 0 1px,transparent 1px 18px),var(--bg);
}
body.financial-desk :is(.sidebar,.financial-mobile-header){background:var(--ink);color:#fff}
body.financial-desk main.content :is(.panel,.hero){background:var(--school-stripe) left top/100% 3px no-repeat,var(--panel);border-color:var(--line)}
body.financial-desk :is(.content-topbar,.financial-filter-rail,.financial-mobile-bottom){background:var(--panel);border-color:var(--line)}
body.financial-desk :is(.financial-filter-group,.financial-budget-filters){background:#f0f6fc!important;border-color:var(--line)!important}
body.financial-desk :is(main.content,.review-dialog) .stat{background:linear-gradient(180deg,#fff,#f2f7ff);border-color:var(--line)!important;color:var(--ink)}
body.financial-desk :is(main.content,.review-dialog) :is(input,select,textarea,.searchable-select-trigger){border-color:var(--line);color:var(--ink)}
body.financial-desk button.primary{background:var(--accent);border-color:var(--accent);color:#fff}
body.financial-desk button.secondary,
body.financial-desk :is(.invoice-workspace-tab,.request-workspace-tab,.payment-workspace-tab,.catalog-tab-btn){background:linear-gradient(180deg,#f7fbff,#e8f2fc);border-color:#bdd3e9;color:var(--ink)}
body.financial-desk button.secondary.active,
body.financial-desk :is(.invoice-workspace-tab,.request-workspace-tab,.payment-workspace-tab,.catalog-tab-btn).active{background:var(--accent);border-color:var(--accent);color:#fff}
body.financial-desk :is(.financial-subnav,.financial-mobile-menu-group) button[aria-current=page],
body.financial-desk .financial-mobile-bottom>button[aria-current=page]{background:var(--accent-soft);color:var(--accent)}
body.financial-desk :is(.nav>button.active,.financial-nav-group>button.active){background:#ffffff15;border-bottom-color:#75b8ff;color:#fff}
body.financial-desk :is(.financial-document-link,.financial-mobile-invoice-link,.financial-metric-detail,table a){color:var(--accent)}
body.financial-desk .pill.ok{background:var(--accent-soft);color:var(--accent)}
body.financial-desk .pill.warn{background:#fff4d6;color:#97620c}
body.financial-desk .pill.danger{background:#ffe2e6;color:var(--danger)}
body.financial-desk .overdue-dashboard-stat>strong{color:var(--danger)}
body.financial-desk .budget-track{background:#dfeaf5}
body.financial-desk .budget-track span{background:linear-gradient(90deg,var(--accent),#59a68d)}
body.financial-desk .budget-track span.over{background:linear-gradient(90deg,var(--danger),#d78379)}
body.financial-desk table th{background:#edf4fc;color:var(--muted)}
body.financial-desk table tbody tr:nth-child(even){background:#f4f8fe}
body.financial-desk table tbody tr:hover{background:var(--accent-soft)}
body.financial-desk .financial-mobile-badge{background:var(--accent-red);color:#fff}

/* Original school crest and readable complete monetary values. */
@media(min-width:761px){
 body.financial-desk[data-financial-nav=left] .sidebar-brand-card{flex-direction:column;align-items:center;gap:12px;text-align:center}
 body.financial-desk[data-financial-nav=left] .sidebar-brand-mark{width:144px;height:144px;background:#fff;border-radius:50%;padding:0}
 body.financial-desk[data-financial-nav=left] .sidebar-brand-mark img{display:block;width:144px;height:144px;object-fit:contain;border-radius:50%}
}
body.financial-desk :is(main.content,.review-dialog) .stat{min-width:0}
body.financial-desk :is(main.content,.review-dialog) .stat>strong.financial-money{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px .3em;width:100%;min-width:0;max-width:100%;white-space:normal}
body.financial-desk .financial-money-number{flex:none;white-space:nowrap;overflow-wrap:normal;word-break:normal;font-variant-numeric:tabular-nums}
body.financial-desk .financial-money-currency{flex:none;white-space:nowrap;font-size:.72em;letter-spacing:0}
@media(max-width:760px){
 body.financial-desk .financial-mobile-brand img{width:48px;height:48px;object-fit:contain;border-radius:50%;background:#fff}
}

/* Shared value layout for budget branch cards and report cells/drill-downs. */
body.financial-desk :is(.budget-mobile-meta,.reports-view) .financial-money{display:inline-flex;flex-wrap:wrap;align-items:baseline;gap:2px .3em;max-width:100%;min-width:0;white-space:normal;vertical-align:baseline}
body.financial-desk .budget-mobile-meta :is(div,strong,button){min-width:0;max-width:100%}
body.financial-desk .budget-mobile-meta strong.financial-money{width:100%}
body.financial-desk .budget-mobile-meta .financial-money-number{font:inherit;color:inherit;line-height:inherit;white-space:nowrap;overflow-wrap:normal}
body.financial-desk .budget-mobile-meta .financial-money-currency{font-size:.72em;color:inherit;line-height:inherit;white-space:nowrap}

/* School branding stays in the sidebar; the signed-in role accompanies language. */
body.financial-desk .content-topbar{justify-content:space-between;gap:12px}
body.financial-desk .financial-current-role{min-width:0;font:600 15px/1.35 'Segoe UI',Arial,sans-serif;color:var(--ink);overflow-wrap:anywhere}
body.financial-desk .content-topbar-tools{flex:none}
@media(min-width:761px){
 body.financial-desk[data-financial-nav=left] .sidebar-brand-mark{box-sizing:border-box;padding:8px;border:4px solid transparent;background:linear-gradient(#fff,#fff) padding-box,var(--school-stripe) border-box;box-shadow:0 12px 28px #075da62e}
 body.financial-desk[data-financial-nav=left] .sidebar-brand-mark img{width:100%;height:100%}
 body.financial-desk[data-financial-nav=left] .sidebar-brand-copy-card{align-self:stretch;min-width:0}
 body.financial-desk[data-financial-nav=left] .sidebar-brand-copy h2{font-size:18px;line-height:1.35;white-space:normal;text-align:left;overflow-wrap:normal}
}
@media(max-width:760px){
 body.financial-desk .financial-current-role{font-size:13px}
}

/* Approved readability: larger type and a mobile brand header without a duplicate section title. */
body.financial-desk[data-financial-nav]{font-family:'Segoe UI',Arial,sans-serif;font-size:16px;line-height:1.5}
body.financial-desk[data-financial-nav] :is(main.content,.review-dialog,.sidebar,.financial-mobile-shell){font-family:'Segoe UI',Arial,sans-serif}
body.financial-desk[data-financial-nav] :is(h1,h2,h3,h4,strong,button,input,select,textarea){font-family:inherit}
body.financial-desk[data-financial-nav] :is(.hero,.panel) :is(h1,h2){font-size:24px;line-height:1.3}
body.financial-desk[data-financial-nav] :is(.panel,.review-dialog) h3{font-size:19px;line-height:1.4}
body.financial-desk[data-financial-nav] :is(main.content,.review-dialog) :is(p,label,summary,.small,.muted,.review-muted,.review-note,.field-note){font-size:14px;line-height:1.5}
body.financial-desk[data-financial-nav] :is(main.content,.review-dialog) :is(input,select,textarea,.searchable-select-trigger){font-size:16px;line-height:1.4}
body.financial-desk[data-financial-nav] :is(main.content,.review-dialog) button{font-size:14px;line-height:1.4;min-height:36px}
body.financial-desk[data-financial-nav] :is(main.content,.review-dialog) :is(table th,table td){font-size:14px;line-height:1.5}
body.financial-desk[data-financial-nav] .sidebar :is(.nav>button,.financial-nav-group>button,.financial-subnav button,#logout-btn){font-size:14px;line-height:1.4}
body.financial-desk[data-financial-nav] :is(.stat>span,.stat>.muted,.dashboard-stats-grid>.stat>span,.financial-budget-caption,.financial-workspace .dashboard-budget-card strong,.financial-workspace .dashboard-budget-card .pill,.financial-workspace .action-card-head>span,.payment-choice-meta,.payment-amount-box>span,.budget-mobile-meta span,.review-details summary){font-size:14px;line-height:1.5}
body.financial-desk[data-financial-nav] :is(.financial-notices,.financial-notices>*,.financial-calculations header p,.financial-metric-detail,.financial-workspace .action-card button,.financial-filter-footer,.review-chips,.pill){font-size:14px;line-height:1.5}
body.financial-desk[data-financial-nav] .financial-workspace .action-card-head>strong{font-size:18px}
body.financial-desk[data-financial-nav] .financial-workspace .action-card{min-width:0}
body.financial-desk[data-financial-nav] .financial-workspace .action-card-head{min-width:0}
body.financial-desk[data-financial-nav] .financial-workspace .action-card-head>span{overflow-wrap:anywhere}
body.financial-desk[data-financial-nav] .stat>strong.financial-money{font-size:22px;line-height:1.3}
body.financial-desk[data-financial-nav] .financial-current-role{font-size:16px}
body.financial-desk[data-financial-nav] .financial-calendar :is(button,select,input){font-size:16px}
body.financial-desk[data-financial-nav] .financial-calendar-weekday{font-size:14px}
/* Currency is deliberately smaller than its number, never treated as a caption. */
body.financial-desk[data-financial-nav] .financial-money .financial-money-number{font:inherit;white-space:nowrap;line-height:inherit}
body.financial-desk[data-financial-nav] .financial-money .financial-money-currency{font-size:.72em;line-height:inherit}
@media(max-width:760px){
 body.financial-desk[data-financial-nav] .financial-mobile-brand strong{display:none}
 body.financial-desk[data-financial-nav] .financial-mobile-brand span{font-size:16px;line-height:1.35;color:#fff;font-weight:600;letter-spacing:0}
 body.financial-desk[data-financial-nav] .financial-current-role{font-size:14px}
 body.financial-desk[data-financial-nav] .financial-mobile-bottom>button{font-size:11px;line-height:1.3;min-height:64px;padding:5px 2px}
 body.financial-desk[data-financial-nav] .financial-mobile-menu :is(button,summary){font-size:16px}
 body.financial-desk[data-financial-nav] .financial-mobile-menu header p{font-size:14px}
 body.financial-desk[data-financial-nav] :is(main.content,.review-dialog) button{min-height:44px}
 body.financial-desk[data-financial-nav] :is(main.content,.review-dialog) :is(table th,table td){font-size:14px}
 body.financial-desk[data-financial-nav] :is(.budget-mobile-meta>div,.budget-mobile-meta strong){min-width:0}
 body.financial-desk[data-financial-nav] .financial-calendar-heading button{font-size:16px}
}

/* The compact base has very specific header/table selectors: readability wins. */
body.financial-desk[data-financial-nav] :is(main.content,.review-dialog) :is(p,label,summary,.small,.muted,.review-muted,.review-note,.field-note){font-size:14px!important;line-height:1.5!important}
body.financial-desk[data-financial-nav] :is(main.content,.review-dialog) :is(table th,table td){font-size:14px!important;line-height:1.5!important}
body.financial-desk[data-financial-nav] :is(.upcoming-payment-card,.payment-choice-meta,.invoice-mobile-meta,.request-mobile-meta) :is(span,strong){font-size:14px;line-height:1.5}
body.financial-desk[data-financial-nav] .upcoming-payment-card-head>.pill{align-self:start}
