/* Original style.css; scoped to report pages. */
#content .financial-report-page{--bg:#f5f7fa;--ink:#1b293b;--muted:#718096;--line:#e5eaf0;--blue:#275ef5;--soft:#edf2ff;--green:#14845e;--amber:#946200}#content .financial-report-page *{box-sizing:border-box}#content .financial-report-page{margin:0;background:var(--bg);color:var(--ink);font:14px -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}#content .financial-report-page button,#content .financial-report-page input,#content .financial-report-page select{font:inherit}#content .financial-report-page button,#content .financial-report-page a,#content .financial-report-page select{cursor:pointer}#content .financial-report-page button{border:1px solid #d9e1ec;background:white;color:var(--ink);padding:9px 14px;border-radius:7px;white-space:nowrap}#content .financial-report-page button:hover{background:#f0f4ff;border-color:#b7c7f4}#content .financial-report-page button:disabled{opacity:.45;cursor:not-allowed}#content .financial-report-page .primary{background:var(--blue);border-color:var(--blue);color:#fff}#content .financial-report-page .primary:hover{background:#174cdb;color:#fff}#content .financial-report-page a{color:var(--blue);text-decoration:none}#content .financial-report-page aside{position:fixed;width:234px;height:100vh;background:white;border-right:1px solid var(--line);padding:28px 18px;display:flex;flex-direction:column;z-index:2}#content .financial-report-page .brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-size:18px;font-weight:650;margin-bottom:36px}#content .financial-report-page .brand small{display:block;font-size:9px;color:#8090a6;letter-spacing:1.4px;margin-top:6px}#content .financial-report-page .logo{display:grid;place-items:center;border-radius:10px;background:var(--blue);color:white;width:38px;height:42px;font-size:26px;font-weight:700}#content .financial-report-page .book-label,#content .financial-report-page .nav-label{color:#8792a4;font-size:11px;letter-spacing:.8px;margin:0 10px 10px}#content .financial-report-page .nav-label{margin-top:25px}#content .financial-report-page select,#content .financial-report-page input{border:1px solid #dbe2ec;border-radius:7px;background:#fff;padding:9px 11px;color:var(--ink);min-width:0}#content .financial-report-page #book{width:100%;font-size:13px;background:#f7f9fc}#content .financial-report-page nav{display:grid;gap:4px}#content .financial-report-page nav button{display:flex;gap:12px;align-items:center;border:0;text-align:left;background:transparent;padding:11px 13px;color:#5c6c83}#content .financial-report-page nav button.active{color:var(--blue);background:var(--soft);font-weight:600}#content .financial-report-page .nav-icon{width:18px;text-align:center;font-size:17px}#content .financial-report-page footer{margin-top:auto;color:#60748b;font-size:12px;padding:20px 8px 0}#content .financial-report-page footer small{display:block;font-size:10px;color:#9aa4b4;margin-top:8px}#content .financial-report-page .dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#28a975;margin-right:5px}#content .financial-report-page main{margin-left:234px}#content .financial-report-page header{height:80px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 34px;color:#748197;font-size:12px}#content .financial-report-page .header-right{display:flex;align-items:center;gap:20px}#content .financial-report-page{padding:32px 34px 48px;max-width:1750px;margin:auto}#content .financial-report-page h1{font-size:27px;letter-spacing:-.7px;margin:0 0 10px;font-weight:650}#content .financial-report-page h2{font-size:16px;font-weight:600;margin:0}#content .financial-report-page h3{font-size:14px;margin:0 0 10px}#content .financial-report-page .subtitle{color:var(--muted);font-size:13px;line-height:1.8;margin:0 0 26px}#content .financial-report-page .eyebrow{font-size:11px;color:var(--blue);letter-spacing:1.6px;margin-bottom:10px}#content .financial-report-page .title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}#content .financial-report-page .badge{font-size:11px;display:inline-block;background:#f1f5fa;color:#65758d;padding:5px 8px;border-radius:5px}#content .financial-report-page .badge.green{color:var(--green);background:#edf8f2}#content .financial-report-page .badge.amber{color:var(--amber);background:#fff5de}#content .financial-report-page .cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:24px 0}#content .financial-report-page .card{padding:22px;background:white;border:1px solid var(--line);border-radius:11px}#content .financial-report-page .card-label{color:#7c899c;font-size:12px}#content .financial-report-page .metric{font-size:29px;letter-spacing:-1px;font-variant-numeric:tabular-nums;margin:15px 0 8px;font-weight:650}#content .financial-report-page .metric small{font-size:12px;color:#9aa5b5;letter-spacing:0;margin-left:5px;font-weight:400}#content .financial-report-page .card-note{color:#8491a3;font-size:11px}#content .financial-report-page .panel{background:white;border:1px solid var(--line);border-radius:11px;overflow:hidden;margin-bottom:20px}#content .financial-report-page .panel-head{padding:20px 22px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:12px}#content .financial-report-page .panel-body{padding:22px}#content .financial-report-page .split{display:grid;grid-template-columns:1.45fr 1fr;gap:20px}#content .financial-report-page .step{display:flex;gap:14px;align-items:center;padding:16px 0;border-bottom:1px solid #edf1f6}#content .financial-report-page .step:last-child{border:0}#content .financial-report-page .step-num{background:var(--soft);color:var(--blue);border-radius:8px;width:34px;height:34px;display:grid;place-items:center;font-size:12px}#content .financial-report-page .step p{margin:6px 0 0;color:#8591a3;font-size:12px}#content .financial-report-page .step .badge{margin-left:auto}#content .financial-report-page .check{padding:14px 0;border-bottom:1px solid var(--line);display:flex;gap:12px}#content .financial-report-page .check:last-child{border:0}#content .financial-report-page .check-icon{color:var(--green);font-size:18px}#content .financial-report-page .check small{display:block;color:#8795a8;margin-top:6px}#content .financial-report-page .check.warn .check-icon{color:var(--amber)}#content .financial-report-page .table-wrap{overflow:auto;max-height:65vh}#content .financial-report-page table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}#content .financial-report-page th{position:sticky;top:0;background:#f8fafc;color:#7a879a;font-weight:500;text-align:left;padding:13px 16px;z-index:1}#content .financial-report-page td{padding:13px 16px;border-top:1px solid #edf1f5}#content .financial-report-page tr:hover td{background:#fafcff}#content .financial-report-page .num{text-align:right;font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}#content .financial-report-page .link{color:var(--blue);border:0;background:none;padding:0;font-size:inherit}#content .financial-report-page .total td{background:#f5f8fe;font-weight:650;color:#203a6b}#content .financial-report-page .muted{color:#95a0b0}#content .financial-report-page .toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 20px}#content .financial-report-page .toolbar label{font-size:12px;color:#6c7b91;display:flex;align-items:center;gap:8px}#content .financial-report-page .toolbar select,#content .financial-report-page .toolbar input{font-size:12px}#content .financial-report-page .toolbar input[type=search]{min-width:230px}#content .financial-report-page .push{margin-left:auto}#content .financial-report-page .notice{background:#f7f9fe;border:1px solid #e5ebf9;border-radius:8px;padding:13px 16px;color:#63738d;font-size:12px;line-height:1.8;margin-bottom:20px}#content .financial-report-page .notice.warn{background:#fffaf0;border-color:#f0e1be;color:#886626}#content .financial-report-page .empty{padding:55px 30px;text-align:center;color:#8190a5}#content .financial-report-page .actions{display:flex;gap:10px;align-items:center}#content .financial-report-page .source-bar{height:6px;background:#eef2f8;border-radius:3px;margin-top:10px}#content .financial-report-page .source-bar span{display:block;height:6px;background:#638af5;border-radius:3px}#content .financial-report-page .source-row{padding:15px 0}#content .financial-report-page .source-row>div:first-child{display:flex;justify-content:space-between;font-size:12px}#content .financial-report-page .pagination{padding:15px 20px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;color:#8090a4;font-size:12px}#content .financial-report-page .matrix-dot{color:#2a70ef}#content .financial-report-page .matrix-outline{color:#b48b38}#content .financial-report-page .matrix-cell{text-align:center}#content .financial-report-page .section-label{margin:22px 0 12px;font-size:12px;color:#7b899e}#content .financial-report-page dialog{width:min(1050px,94vw);max-height:91vh;overflow:auto;border:1px solid var(--line);padding:0;border-radius:14px;box-shadow:0 25px 100px #152e5433}#content .financial-report-page dialog::backdrop{background:#1c2c4660;backdrop-filter:blur(2px)}#content .financial-report-page .dialog-header{display:flex;justify-content:space-between;align-items:flex-start;padding:26px 28px;border-bottom:1px solid var(--line)}#content .financial-report-page .dialog-header h2{font-size:20px}#content .financial-report-page .dialog-body{padding:24px 28px}#content .financial-report-page .dialog-footer{display:flex;justify-content:flex-end;gap:10px;padding:20px 28px;border-top:1px solid var(--line)}#content .financial-report-page .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}#content .financial-report-page .form-grid label,#content .financial-report-page .form-field{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#687990;margin-bottom:16px}#content .financial-report-page .dropzone{background:#f8faff;border:1px dashed #b8c9eb;padding:30px;text-align:center;border-radius:9px;margin:15px 0 20px}#content .financial-report-page .dropzone input{max-width:100%;background:white}#content .financial-report-page .dropzone p{color:#8696ab;font-size:12px}#content .financial-report-page .error-list{color:#b04c40;font-size:12px;line-height:1.9}#content .financial-report-page .kv{display:grid;grid-template-columns:150px 1fr;font-size:12px}#content .financial-report-page .kv div{padding:10px;border-bottom:1px solid var(--line);overflow-wrap:anywhere;white-space:pre-wrap}#content .financial-report-page .kv div:nth-child(odd){color:#8290a4;background:#f9fafc}#content .financial-report-page .tab-pills{display:flex;gap:6px;margin:20px 0}#content .financial-report-page .tab-pills button.active{background:#edf2ff;color:var(--blue);border-color:#c8d5fb}#content .financial-report-page .formula{font-family:ui-monospace,monospace;color:#697f9e;font-size:12px}#content .financial-report-page #toast{display:none;position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:#21344f;color:white;z-index:10;padding:14px 22px;border-radius:8px;font-size:13px;box-shadow:0 5px 25px #20305033}#content .financial-report-page .loading{padding:60px;color:#8a98aa;text-align:center}#content .financial-report-page .data-note{font-size:11px;color:#8796ab;padding:15px 20px;line-height:1.7}#content .financial-report-page .status-line{font-size:12px;color:#7d8ca0;margin:14px 0}#content .financial-report-page .summary-amount{font-size:17px;font-weight:600}#content .financial-report-page .checkbox-row{display:flex;gap:8px;font-size:12px;line-height:1.7;color:#718199}#content .financial-report-page .tiny{font-size:10px}#content .financial-report-page .report-title{font-size:18px}#content .financial-report-page .report-sub{font-size:11px;color:#8492a6;margin-top:6px}#content .financial-report-page .scroll-hint{display:none}@media(min-width:1500px){#content .financial-report-page{padding:36px 44px}}@media(max-width:1100px){#content .financial-report-page aside{width:210px}#content .financial-report-page main{margin-left:210px}#content .financial-report-page header{padding:0 24px}#content .financial-report-page{padding:26px 24px}#content .financial-report-page .cards{grid-template-columns:repeat(2,1fr)}#content .financial-report-page .split{grid-template-columns:1fr}#content .financial-report-page .metric{font-size:26px}}@media(max-width:760px){#content .financial-report-page aside{position:relative;width:100%;height:auto;padding:18px}#content .financial-report-page .brand{margin-bottom:16px}#content .financial-report-page aside nav{display:flex;overflow:auto}#content .financial-report-page .nav-label{margin-top:15px}#content .financial-report-page nav button{flex-shrink:0;font-size:12px;padding:8px}#content .financial-report-page .book-label,#content .financial-report-page footer{display:none}#content .financial-report-page #book{max-width:300px}#content .financial-report-page main{margin-left:0}#content .financial-report-page header{height:64px;padding:0 16px}#content .financial-report-page{padding:24px 16px}#content .financial-report-page .header-right{gap:8px}#content .financial-report-page #revision{display:none}#content .financial-report-page .cards{gap:10px}#content .financial-report-page .card{padding:16px}#content .financial-report-page h1{font-size:23px}#content .financial-report-page .metric{font-size:23px}#content .financial-report-page .form-grid{grid-template-columns:1fr}#content .financial-report-page .toolbar input[type=search]{min-width:0;max-width:100%}#content .financial-report-page .dialog-body{padding:20px}#content .financial-report-page .dialog-header{padding:20px}#content .financial-report-page .title-row{flex-wrap:wrap}}
/* Period comparison and visible ledger predicates. */
#content .financial-report-page .account-toolbar select{max-width:480px}#content .financial-report-page .active-filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:-6px 0 20px;font-size:12px;color:#728298}#content .financial-report-page .filter-chip{padding:6px 10px;border-color:#cddcff;background:#edf3ff;color:#2b55a8;white-space:normal;text-align:left}#content .financial-report-page .compare-periods{display:flex;gap:12px;overflow:auto;padding:18px 22px}#content .financial-report-page .compare-period{min-width:240px;border:1px solid #dfe6ef;border-radius:9px;padding:13px;background:#f8faff}#content .financial-report-page .period-heading{display:flex;align-items:center;gap:12px;margin-bottom:14px;font-size:12px}#content .financial-report-page .period-heading select{padding:4px 8px;font-size:11px}#content .financial-report-page .period-heading .link{margin-left:auto}#content .financial-report-page .period-inputs{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px}#content .financial-report-page .period-inputs select{font-size:12px}#content .financial-report-page .range-end[hidden]{display:none}#content .financial-report-page .compare-actions{padding:0 22px 18px;margin:0}#content .financial-report-page .report-heading{flex-wrap:wrap}#content .financial-report-page .report-heading .actions{flex-wrap:wrap}#content .financial-report-page .comparison-table{max-height:72vh}#content .financial-report-page .comparison-table th{z-index:2;padding-top:17px;padding-bottom:17px}#content .financial-report-page .comparison-table th small{display:block;font-weight:400;margin-top:7px;font-size:11px;color:#8a97aa}#content .financial-report-page .comparison-table .row-label{position:sticky;left:0;min-width:270px;max-width:370px;white-space:normal;background:#fff;z-index:1;box-shadow:2px 0 4px #20304008}#content .financial-report-page .comparison-table th.row-label{z-index:3;background:#f8fafc}#content .financial-report-page .comparison-table td.num{min-width:165px}#content .financial-report-page .period-boundary{border-left:1px solid #e2e8f2}#content .financial-report-page .comparison-table .total .row-label{background:#f0f5ff}#content .financial-report-page .report-section td,#content .financial-report-page .report-section .row-label{background:#eaf0f8!important;color:#456281;font-weight:600}#content .financial-report-page .tree-label{display:flex;align-items:center;gap:6px;line-height:1.6}#content .financial-report-page .tree-label small{display:block;font-size:10px;font-weight:400}#content .financial-report-page .tree-toggle,#content .financial-report-page .tree-spacer{width:20px;min-width:20px;display:inline-block}#content .financial-report-page .tree-toggle{border:0;padding:2px 0;background:none;color:#5377ac;font-size:16px}#content .financial-report-page .depth-1{padding-left:15px}#content .financial-report-page .depth-2{padding-left:30px}#content .financial-report-page .depth-3{padding-left:45px}#content .financial-report-page .depth-4{padding-left:60px}#content .financial-report-page .depth-5{padding-left:75px}#content .financial-report-page .account-code{color:#8a98aa;font-size:11px}#content .financial-report-page .account-detail td{color:#60748a}#content .financial-report-page .account-detail .row-label{background:#fbfcfe}#content .financial-report-page .compare-controls .panel-head{padding-bottom:15px}@media(max-width:760px){#content .financial-report-page .compare-controls .panel-head{flex-wrap:wrap}#content .financial-report-page .compare-periods{padding:16px}#content .financial-report-page .compare-actions{padding:0 16px 16px}#content .financial-report-page .comparison-table .row-label{min-width:180px;max-width:220px}#content .financial-report-page .comparison-table td,#content .financial-report-page .comparison-table th{padding:12px 10px}#content .financial-report-page .account-toolbar label{max-width:100%}#content .financial-report-page .account-toolbar select{max-width:calc(100vw - 100px)}}
@media(max-width:760px){#content .financial-report-page .comparison-table .row-label{min-width:145px;max-width:180px}#content .financial-report-page .comparison-table td.num{min-width:125px}#content .financial-report-page .comparison-table th.num{min-width:125px}#content .financial-report-page .comparison-table .tree-label{gap:3px}#content .financial-report-page .comparison-table td,#content .financial-report-page .comparison-table th{padding:12px 8px}}
#content .financial-report-page .baseline-col{background:#f0f5ff}#content .financial-report-page .comparison-table th.baseline-col{background:#eaf1ff}#content .financial-report-page .change-up{color:#a66013}#content .financial-report-page .change-down{color:#087b88}#content .financial-report-page .comparison-table .rate-col{min-width:125px}#content .financial-report-page #compare-baseline{max-width:360px}#content .financial-report-page .compare-actions{row-gap:12px}

#content .financial-report-page .column-options{display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:13px 22px;border-bottom:1px solid var(--line);font-size:12px;color:#677991}#content .financial-report-page .column-options label{display:flex;align-items:center;gap:6px;color:var(--ink);cursor:pointer}#content .financial-report-page .column-options input{accent-color:var(--blue);width:15px;height:15px;margin:0}#content .financial-report-page .column-options small{font-size:11px;color:#8a98aa}

/* Compact, wrapping period cards with pointer and keyboard sorting. */
#content .financial-report-page .compare-controls{max-width:900px}#content .financial-report-page .compare-controls .panel-head{padding:14px 16px}#content .financial-report-page .compare-controls h2{font-size:14px}#content .financial-report-page .compare-controls .report-sub{font-size:11px;margin-top:5px}#content .financial-report-page .compare-controls .panel-head>button{font-size:12px;padding:7px 10px}
#content .financial-report-page .compare-periods{flex-wrap:wrap;gap:10px;padding:14px 16px;overflow:visible;align-items:flex-start}#content .financial-report-page .compare-period{flex:0 0 196px;min-width:0;max-width:100%;padding:10px;border-radius:8px;transition:box-shadow .12s,border-color .12s}#content .financial-report-page .period-heading{gap:7px;margin-bottom:9px}#content .financial-report-page .period-heading strong{white-space:nowrap;font-size:11px}#content .financial-report-page .period-heading select{font-size:11px;padding:3px 4px}#content .financial-report-page .period-heading .link{font-size:11px}#content .financial-report-page .period-inputs{display:flex;flex-wrap:wrap;gap:6px}#content .financial-report-page .period-inputs select{font-size:12px;padding:6px 8px;width:100%}#content .financial-report-page .period-inputs>select{flex:1}#content .financial-report-page .period-inputs .range-end{display:flex;align-items:center;gap:6px;width:100%;color:#8a98aa}#content .financial-report-page .period-inputs .range-end[hidden]{display:none}#content .financial-report-page .period-inputs .range-end select{flex:1}
#content .financial-report-page .period-grip{padding:0;border:0;background:transparent;color:#8b9bb2;font-size:20px;line-height:22px;cursor:grab;touch-action:none;user-select:none}#content .financial-report-page .period-grip:hover,#content .financial-report-page .period-grip:focus-visible{background:#e8efff;color:var(--blue);outline:2px solid #bccfff;outline-offset:2px}#content .financial-report-page .is-dragging{opacity:.55;border-style:dashed}#content .financial-report-page .is-dragging .period-grip{cursor:grabbing}#content .financial-report-page .drop-target{border-color:var(--blue);box-shadow:0 0 0 2px #275ef522;background:#edf3ff}#content .financial-report-page .compare-actions{padding:0 16px 14px;gap:8px}#content .financial-report-page .compare-actions button{font-size:12px;padding:7px 11px}#content .financial-report-page .compare-actions select{padding:7px 9px}#content .financial-report-page .compare-actions .tiny{flex-basis:100%}#content .financial-report-page .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:520px){#content .financial-report-page .compare-period{flex-basis:calc(50% - 5px)}#content .financial-report-page .period-heading{gap:4px;flex-wrap:wrap}#content .financial-report-page .period-heading .link{margin-left:auto}#content .financial-report-page .compare-periods{padding:12px;gap:8px}#content .financial-report-page .compare-actions{padding:0 12px 12px}}
#content .financial-report-page .wrap-cell{white-space:normal;min-width:180px;max-width:400px;line-height:1.7}#content .financial-report-page textarea{font:inherit;border:1px solid #dbe2ec;border-radius:7px;padding:10px;resize:vertical;width:100%}#content .financial-report-page .form-grid input{max-width:100%}#content .financial-report-page [data-binding] input:not([type=checkbox]){width:145px}#content .financial-report-page #biz-asof{width:100px}#content .financial-report-page .checkbox-row{margin:14px 0}#content .financial-report-page #preview-result .table-wrap,#content .financial-report-page #bu-preview .table-wrap{max-height:300px}
#content .financial-report-page aside{overflow-y:auto}#content .financial-report-page aside>nav,#content .financial-report-page aside>.brand,#content .financial-report-page aside>select,#content .financial-report-page aside>footer{flex-shrink:0}#content .financial-report-page aside footer{padding-bottom:10px}
/* v1.4: consistent panels, responsive report width, explicit sorting controls. */
#content .financial-report-page{max-width:none;width:100%}#content .financial-report-page main{min-width:0}#content .financial-report-page .panel{min-width:0}#content .financial-report-page .compare-controls{max-width:none;width:100%}#content .financial-report-page .compare-periods{display:grid;grid-template-columns:repeat(auto-fill,196px);align-items:start;gap:12px}#content .financial-report-page .compare-period{width:196px;position:relative;min-height:121px}#content .financial-report-page .period-heading{margin-bottom:4px}#content .financial-report-page .period-order{display:flex;justify-content:flex-end;gap:4px;margin-bottom:6px}#content .financial-report-page .period-order button{padding:0 8px;font-size:13px;color:#7185a7;line-height:20px}#content .financial-report-page .period-grip{min-width:20px;min-height:24px}#content .financial-report-page .is-dragging{opacity:.8;z-index:5;box-shadow:0 5px 20px #17315633;transition:none}#content .financial-report-page .drop-target{border-style:dashed}#content .financial-report-page .comparison-table table{width:100%;table-layout:auto}#content .financial-report-page .comparison-table .row-label{min-width:180px;max-width:none}#content .financial-report-page .comparison-table td.num,#content .financial-report-page .comparison-table th.num{min-width:125px}#content .financial-report-page .comparison-table th{position:sticky;padding-right:20px}#content .financial-report-page .column-resizer{position:absolute;right:0;top:0;width:8px;height:100%;cursor:col-resize;touch-action:none}#content .financial-report-page .column-resizer:hover{background:#275ef533}#content .financial-report-page .auto-width-table col{min-width:95px}
#content .financial-report-page .multi-field{display:flex;align-items:center;gap:8px;font-size:12px;color:#6c7b91}#content .financial-report-page .multi-select{position:relative;min-width:110px;max-width:300px;color:var(--ink)}#content .financial-report-page .multi-select summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #dbe2ec;border-radius:7px;background:white;padding:9px 11px;cursor:pointer}#content .financial-report-page .multi-select summary::-webkit-details-marker{display:none}#content .financial-report-page .multi-caption{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:230px}#content .financial-report-page .multi-menu{position:absolute;top:100%;left:0;z-index:25;width:280px;max-width:80vw;background:white;border:1px solid #d8e2f1;border-radius:9px;padding:10px;box-shadow:0 8px 25px #24395726}#content .financial-report-page .multi-menu>input{width:100%;margin-bottom:8px}#content .financial-report-page .multi-options{max-height:230px;overflow:auto}#content .financial-report-page .multi-options label{display:flex!important;align-items:flex-start;gap:7px;padding:7px 2px;cursor:pointer;white-space:normal}#content .financial-report-page .multi-options label[hidden]{display:none!important}#content .financial-report-page .multi-options input{margin:2px 0;accent-color:var(--blue)}#content .financial-report-page .multi-foot{display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:8px}#content .financial-report-page .multi-foot button{font-size:12px;padding:6px 12px}#content .financial-report-page .multi-select[open]{z-index:25}#content .financial-report-page .form-grid .multi-field{align-items:flex-start;flex-direction:column}#content .financial-report-page .form-grid .multi-select{width:100%}@media(max-width:520px){#content .financial-report-page .compare-periods{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#content .financial-report-page .compare-period{width:100%;min-height:131px}#content .financial-report-page .comparison-table .row-label{min-width:160px}#content .financial-report-page .multi-menu{width:240px}}
#content .financial-report-page .entry-choice{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px;border:1px solid var(--line);border-radius:8px;margin:10px 0}#content .financial-report-page .tab-pills{flex-wrap:wrap}#content .financial-report-page .business-matrix td small{font-size:11px}

#content .financial-report-page .snapshot-json{white-space:pre-wrap;overflow-wrap:anywhere;max-height:440px;overflow:auto;font-size:12px;padding:16px;background:#f6f8fb}#content .financial-report-page details{margin:12px 0}#content .financial-report-page details>summary{cursor:pointer;padding:10px 0} #content .financial-report-page .kv{overflow-wrap:anywhere}

/* Scope context stays visible on every data and report page. */
#content .financial-report-page #entity-context{padding:20px 32px 0;min-width:0}#content .financial-report-page .entity-bar{display:flex;align-items:center;gap:20px;flex-wrap:wrap;background:#fff;border:1px solid var(--border,#dfe6ef);border-radius:12px;padding:14px 18px}#content .financial-report-page .entity-bar>div{min-width:0;flex:1}#content .financial-report-page .entity-bar strong{font-size:13px;overflow-wrap:anywhere}#content .financial-report-page .entity-bar small{display:block;color:#8492a6;margin-top:4px}#content .financial-report-page .entity-bar .multi-select{flex:none}#content .financial-report-page .scope-new{margin:8px 20px 0;font-size:12px}#content .financial-report-page .report-display{padding:14px 18px;background:white;border:1px solid #e1e7f0;border-radius:10px}#content .financial-report-page .report-display label{font-size:13px}#content .financial-report-page .report-display select{font-size:13px}#content .financial-report-page .entity-bar .multi-select{max-width:350px}@media(max-width:800px){#content .financial-report-page #entity-context{padding:12px 16px 0}#content .financial-report-page .entity-bar{gap:10px}}

#content .financial-report-page .scope-mobile{display:none}@media(max-width:900px){#content .financial-report-page .scope-mobile{display:flex;align-items:center;gap:10px;width:100%}#content .financial-report-page .scope-mobile select{min-width:0;flex:1}#content .financial-report-page .entity-bar .multi-field{flex:1}#content .financial-report-page .entity-bar>div{flex-basis:100%}}
/* 1.7: one draft filter area, compact equal-height cards, no split query controls. */
#content .financial-report-page #entity-context[hidden]{display:none}#content .financial-report-page .unified-filters{overflow:visible}#content .financial-report-page .unified-filters .panel-head{border-radius:11px 11px 0 0}#content .financial-report-page .report-filter-fields{padding:16px 18px 0}#content .financial-report-page .report-filter-fields .toolbar{margin-bottom:12px}#content .financial-report-page .report-filter-fields .subject-filter{margin-bottom:12px}#content .financial-report-page .report-filter-fields .report-display{padding:0;border:0;border-radius:0;background:none}#content .financial-report-page .report-filter-fields .column-options{padding:0 0 14px;border:0}#content .financial-report-page .report-filter-fields .multi-select{margin:0}#content .financial-report-page .unified-filters .compare-periods{grid-template-columns:repeat(auto-fill,minmax(300px,320px));align-items:stretch;padding:4px 18px 14px;gap:12px}#content .financial-report-page .unified-filters .compare-period{width:100%;min-height:130px;padding:10px;display:flex;flex-direction:column;gap:8px;flex-basis:auto}#content .financial-report-page .unified-filters .period-heading{flex-wrap:nowrap;gap:6px;margin:0}#content .financial-report-page .unified-filters .period-heading strong{font-size:12px}#content .financial-report-page .unified-filters .period-order{margin:0 0 0 auto;gap:3px}#content .financial-report-page .unified-filters .period-order button{padding:1px 6px;line-height:23px}#content .financial-report-page .unified-filters .period-heading .link{margin-left:0}#content .financial-report-page .unified-filters .period-preset{display:flex;gap:6px}#content .financial-report-page .unified-filters .period-preset select{font-size:12px;padding:6px}#content .financial-report-page .unified-filters .period-preset select:first-child{width:76px}#content .financial-report-page .unified-filters .period-preset select:last-child{flex:1}#content .financial-report-page .unified-filters .period-inputs{display:flex;flex-wrap:nowrap;gap:5px;margin-top:auto}#content .financial-report-page .unified-filters .year-month{display:flex;gap:3px;min-width:0;flex:1}#content .financial-report-page .unified-filters .year-month select{padding:6px 3px;flex:1;width:0;min-width:0}#content .financial-report-page .unified-filters .year-month select:first-child{flex:1.2}#content .financial-report-page .unified-filters .range-end{width:auto;display:flex;flex:1.08;gap:5px;min-width:0}#content .financial-report-page .unified-filters .range-end .year-month{min-width:0}#content .financial-report-page .unified-filters [hidden]{display:none!important}#content .financial-report-page .unified-filters .compare-actions{padding:14px 18px;border-top:1px solid var(--line);background:#fafbfd;border-radius:0 0 11px 11px;margin:0}#content .financial-report-page .unified-filters .compare-actions .tiny{flex-basis:auto}#content .financial-report-page .unified-filters #compare-baseline{max-width:360px}#content .financial-report-page .ledger-filters .report-filter-fields{padding-bottom:4px}#content .financial-report-page .unified-filters .checkbox-row input{accent-color:var(--blue)}#content .financial-report-page [aria-busy=true]{cursor:progress}#content .financial-report-page [aria-busy=true]>.panel{opacity:.8}
@media(max-width:520px){#content .financial-report-page .unified-filters .compare-periods{grid-template-columns:1fr;padding:4px 12px 12px}#content .financial-report-page .unified-filters .compare-period{min-height:130px}#content .financial-report-page .report-filter-fields{padding:12px 12px 0}#content .financial-report-page .unified-filters .compare-actions{padding:12px}#content .financial-report-page .unified-filters .toolbar label{max-width:100%;flex-wrap:wrap}#content .financial-report-page .unified-filters #compare-baseline{max-width:100%}#content .financial-report-page .unified-filters .period-heading{gap:5px}#content .financial-report-page .unified-filters .period-heading select{padding:3px 4px}}

/* 1.11: inline month and range selectors, with no date-editor dialog. */
#content .financial-report-page .unified-filters{container-type:inline-size}
#content .financial-report-page .unified-filters .compare-periods{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;align-items:stretch}
#content .financial-report-page .unified-filters .compare-period{min-width:0;min-height:162px;padding:10px;gap:9px}
#content .financial-report-page .unified-filters .period-heading{gap:4px}
#content .financial-report-page .unified-filters .period-heading .period-remove{margin-left:auto;font-size:18px;line-height:20px;padding:0 3px;color:#7e8da4}
#content .financial-report-page .unified-filters .period-kind{display:flex;gap:6px}
#content .financial-report-page .unified-filters .period-kind select{width:auto;min-width:0;max-width:50%;padding:4px 6px;font-size:11px;line-height:1.4}
#content .financial-report-page .unified-filters .period-inputs{margin-top:0;display:flex;gap:4px;flex-wrap:nowrap;min-height:42px;align-items:end}
#content .financial-report-page .unified-filters .period-date{flex:1;min-width:0}
#content .financial-report-page .unified-filters .period-date>small{display:block;font-size:10px;color:#8292a8;margin-bottom:3px}
#content .financial-report-page .unified-filters .year-month{display:flex;gap:2px;min-width:0}
#content .financial-report-page .unified-filters .year-month select{padding:5px 1px;font-size:11px;flex:1;width:0;min-width:0;letter-spacing:-.3px}
#content .financial-report-page .unified-filters .year-month select:first-child{flex:1.35}
#content .financial-report-page .unified-filters .range-separator{font-size:10px;color:#8b9bb2;padding-bottom:7px}
#content .financial-report-page .unified-filters .period-preset{display:flex;gap:5px;align-items:end;min-height:42px}
#content .financial-report-page .unified-filters .period-preset select{min-width:0;font-size:11px;padding:5px 3px}
#content .financial-report-page .unified-filters .period-preset select:first-child{width:68px;flex:none}
#content .financial-report-page .unified-filters .period-preset select:last-child{width:0;flex:1}
#content .financial-report-page .period-foot{display:flex;align-items:center;justify-content:space-between;gap:3px;margin-top:auto;min-height:20px}
#content .financial-report-page .period-foot small{font-size:10px;color:#8292a8;line-height:1.3}#content .financial-report-page .period-feedback[role=alert]{color:#b44537}
#content .financial-report-page .unified-filters .period-order{display:flex;flex-wrap:nowrap;gap:3px;margin:0 0 0 auto;width:auto;flex-basis:auto}
#content .financial-report-page .unified-filters .period-order button{font-size:14px;line-height:20px;padding:0 5px;background:transparent;border-color:transparent}
#content .financial-report-page .unified-filters .period-order button:hover:not(:disabled),#content .financial-report-page .unified-filters .period-order button:focus-visible{border-color:#bdcde6;background:#fff}
#content .financial-report-page .period-grip:focus-visible{outline:2px solid #2e5bff;outline-offset:2px}
@container(max-width:1430px){#content .financial-report-page .unified-filters .compare-periods{grid-template-columns:repeat(4,minmax(0,1fr))}}
@container(max-width:980px){#content .financial-report-page .unified-filters .compare-periods{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container(max-width:740px){#content .financial-report-page .unified-filters .compare-periods{grid-template-columns:repeat(2,minmax(0,1fr))}}
@container(max-width:490px){#content .financial-report-page .unified-filters .compare-periods{grid-template-columns:1fr}}
#content .financial-report-page .scope-trash{margin-top:20px}#content .financial-report-page .scope-trash summary{padding:12px;cursor:pointer;color:#6a7a90}#content .financial-report-page .danger-link{color:#c14848}#content .financial-report-page .import-issues{padding-left:20px}#content .financial-report-page .import-issues li{margin:16px 0;line-height:1.7}#content .financial-report-page .import-issues p{margin:4px 0;color:#6c7b91}#content .financial-report-page .import-inspection .table-wrap{max-height:260px}#content .financial-report-page .import-inspection td{white-space:normal}

#content .financial-report-page .import-steps{display:flex;align-items:center;gap:12px;margin:0 0 20px}#content .financial-report-page .import-steps>button{display:flex;align-items:center;gap:12px;text-align:left;padding:12px 16px;flex:1;max-width:340px;background:#fff}#content .financial-report-page .import-steps strong,#content .financial-report-page .import-steps small{display:block}#content .financial-report-page .import-steps small{margin-top:4px;font-size:11px;color:#8190a5}#content .financial-report-page .step-number{background:#edf3ff;color:#3461cf;border-radius:50%;width:28px;height:28px;display:grid;place-items:center}#content .financial-report-page .step-arrow{color:#9aa7b8}#content .financial-report-page #catalog-preview .table-wrap{max-height:340px}#content .financial-report-page #catalog-preview .checkbox-row{margin:20px 0 12px}#content .financial-report-page .dialog-body .import-steps>button{padding:10px}#content .financial-report-page .dialog-body .import-steps small{white-space:normal}@media(max-width:520px){#content .financial-report-page .import-steps{gap:7px}#content .financial-report-page .import-steps>button{padding:10px;gap:6px}#content .financial-report-page .import-steps strong{font-size:12px}#content .financial-report-page .step-number{width:22px;height:22px;flex-shrink:0}}

/* 1.11.1: six compact periods at ordinary desktop widths. */
#content .financial-report-page .compact-report-filters .panel-head{padding:10px 12px;justify-content:flex-start;gap:14px;flex-wrap:wrap}
#content .financial-report-page .compact-report-filters .panel-head h2{font-size:13px;margin:0}
#content .financial-report-page .compact-report-filters .panel-head .report-sub{margin:0;font-size:10px}
#content .financial-report-page .compact-report-filters .report-filter-fields{padding:10px 12px 8px}
#content .financial-report-page .compact-report-filters .report-dimensions{display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px}
#content .financial-report-page .compact-report-filters .report-dimensions>.toolbar{display:contents}
#content .financial-report-page .compact-report-filters .multi-field{gap:5px;font-size:11px}
#content .financial-report-page .compact-report-filters .multi-select{min-width:72px;max-width:155px;margin:0}
#content .financial-report-page .compact-report-filters #report-entities{min-width:112px;max-width:200px}
#content .financial-report-page .compact-report-filters .multi-select summary{padding:5px 7px;gap:7px;min-height:28px;font-size:11px}
#content .financial-report-page .compact-report-filters .multi-caption{max-width:130px}
#content .financial-report-page .compact-report-filters .multi-menu{font-size:12px}
#content .financial-report-page .compact-report-filters .multi-menu label{white-space:normal}
#content .financial-report-page .compact-report-filters .compare-periods{grid-template-columns:repeat(6,minmax(0,1fr));padding:2px 12px 6px;gap:7px}
#content .financial-report-page .compact-report-filters .compare-period{padding:6px;gap:5px;min-height:128px;border-radius:7px}
#content .financial-report-page .compact-report-filters .period-heading{gap:2px}
#content .financial-report-page .compact-report-filters .period-heading strong{font-size:11px}
#content .financial-report-page .compact-report-filters .period-grip{font-size:17px;min-width:14px;min-height:20px;line-height:20px}
#content .financial-report-page .compact-report-filters .period-kind{gap:4px}
#content .financial-report-page .compact-report-filters .period-kind select{font-size:10px;padding:3px 4px;max-width:none}
#content .financial-report-page .compact-report-filters .period-inputs{min-height:34px;gap:3px}
#content .financial-report-page .compact-report-filters .range-separator{display:none}
#content .financial-report-page .compact-report-filters .period-date>small{font-size:9px;margin-bottom:2px}
#content .financial-report-page .compact-report-filters .year-month{gap:1px}
#content .financial-report-page .compact-report-filters .year-month select{appearance:none;background-color:#fff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='4' viewBox='0 0 6 4'%3E%3Cpath d='m1 1 2 2 2-2' fill='none' stroke='%237989a1' stroke-width='1'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1px center;background-size:4px 3px;font-size:10.5px;letter-spacing:-.3px;min-height:25px;padding:3px 6px 3px 1px;flex:1}
#content .financial-report-page .compact-report-filters .year-month select:first-child{flex:1.17}
#content .financial-report-page .compact-report-filters .period-preset{min-height:34px;gap:3px}
#content .financial-report-page .compact-report-filters .period-preset select{font-size:10.5px;padding:4px 2px;min-height:25px}
#content .financial-report-page .compact-report-filters .period-preset select:first-child{width:55px}
#content .financial-report-page .compact-report-filters .period-foot{min-height:17px;gap:2px}
#content .financial-report-page .compact-report-filters .period-foot small{font-size:9px;letter-spacing:-.2px}
#content .financial-report-page .compact-report-filters .period-order{gap:0}
#content .financial-report-page .compact-report-filters .period-order button{font-size:12px;line-height:17px;padding:0 3px}
#content .financial-report-page .compact-report-filters .period-add-row{display:flex;align-items:center;gap:8px;padding:0 12px 8px}
#content .financial-report-page .compact-report-filters .period-add-row button{padding:4px 9px;font-size:11px;line-height:18px}
#content .financial-report-page .compact-report-filters .report-options{display:flex;flex-wrap:wrap;align-items:center;gap:7px 14px;padding-top:4px;padding-bottom:10px}
#content .financial-report-page .compact-report-filters .report-options>.toolbar{display:contents}
#content .financial-report-page .compact-report-filters .report-options label{display:flex;align-items:center;gap:5px;font-size:11px;white-space:nowrap}
#content .financial-report-page .compact-report-filters .report-options select{font-size:11px;padding:5px 7px;min-height:28px}
#content .financial-report-page .compact-report-filters .report-options #compare-baseline{max-width:220px}
#content .financial-report-page .compact-report-filters .report-options .checkbox-row{margin:0}
#content .financial-report-page .compact-report-filters .report-options .number-display>.tiny{display:none}
#content .financial-report-page .compact-report-filters .report-options .column-options{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:0;border:0;font-size:11px}
#content .financial-report-page .compact-report-filters .column-options small{font-size:10px}
#content .financial-report-page .compact-report-filters .compare-actions{gap:7px;padding:9px 12px}
#content .financial-report-page .compact-report-filters .compare-actions button{font-size:11px;padding:6px 10px}
#content .financial-report-page .compact-report-filters .compare-actions .tiny{font-size:10px}
@container(max-width:939px){#content .financial-report-page .compact-report-filters .compare-periods{grid-template-columns:repeat(3,minmax(0,1fr))}}
@container(max-width:479px){#content .financial-report-page .compact-report-filters .compare-periods{grid-template-columns:repeat(2,minmax(0,1fr))}#content .financial-report-page .compact-report-filters .report-options{gap:7px 10px}}
@container(max-width:329px){#content .financial-report-page .compact-report-filters .compare-periods{grid-template-columns:1fr}}

/* Keep the applied report distinct from unsubmitted entity/filter choices. */
#content .financial-report-page .report-pending-notice{font-size:12px;color:#99671b;margin:7px 0}#content .financial-report-page .report-pending-notice[hidden]{display:none}#content .financial-report-page .report-title .badge{vertical-align:middle;font-size:11px;font-weight:500;margin-left:6px}#content .financial-report-page .multi-foot{gap:6px}#content .financial-report-page .multi-foot button{white-space:nowrap}

/* Independent elimination workspace uses the existing compact report controls. */
#content .financial-report-page .el-tabs{gap:8px;margin:0 0 16px}#content .financial-report-page .el-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:12px 0}#content .financial-report-page .el-stats>div{background:#f6f8fd;border:1px solid #e3e9f2;padding:14px;border-radius:10px}#content .financial-report-page .el-stats small{display:block;color:#76859b}#content .financial-report-page .el-stats strong{font-size:25px;display:block;margin-top:4px}#content .financial-report-page .el-rule{border:1px solid #dce4ef;border-radius:10px;background:#f8faff;padding:16px;margin:14px 0}#content .financial-report-page .el-role-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:10px 0}#content .financial-report-page .el-role-grid>div{display:flex;flex-wrap:wrap;align-items:center;gap:10px}#content .financial-report-page .el-role-grid .multi-select{min-width:200px;max-width:100%}#content .financial-report-page .elimination-report-controls select{max-width:320px}#content .financial-report-page .elimination-report-controls{border-top:1px solid #e4eaf2;padding-top:10px}#content .financial-report-page td small{display:block;color:#7a879a}#content .financial-report-page .el-rule input[data-r="basis_note"]{width:100%}@media(max-width:700px){#content .financial-report-page .el-role-grid{grid-template-columns:1fr}#content .financial-report-page .el-stats{grid-template-columns:repeat(2,1fr)}}

/* Keep the total visible while scrolling account and diagnostic rows. */
#content .financial-report-page .review-total td{position:sticky;bottom:0;background:#edf3ff!important;border-top:2px solid #c7d6f4;font-weight:650;z-index:1}#content .financial-report-page .review-total .num{color:#203a6b}
#content .financial-report-page .input-choices{display:grid;gap:12px}#content .financial-report-page .input-choices button{text-align:left;padding:16px}#content .financial-report-page .input-choices small{display:block;color:var(--muted,#7c8da5);margin-top:6px}#content .financial-report-page #fi-preview .table-wrap{max-height:300px;overflow:auto}#content .financial-report-page [data-input-map],#content .financial-report-page [data-input-dimension]{min-width:0;width:100%}

/* Business warehouse: progressive forms and report-first browsing. */
#content .financial-report-page .wh-empty{padding:48px;text-align:center;background:#fff;border:1px dashed #cbd5e1;border-radius:12px;color:#475569}#content .financial-report-page .wh-empty strong{font-size:20px;color:#172b42}#content .financial-report-page .wh-file{padding:24px;border:2px dashed #b9cbdc;border-radius:12px;background:#f7fafc;margin:16px 0}#content .financial-report-page .wh-file input[type=file]{display:block;width:100%;padding:16px 0;border:0;background:transparent}#content .financial-report-page .wh-file input::file-selector-button{padding:10px 18px;border:0;border-radius:6px;background:#1e5966;color:white;margin-right:12px;cursor:pointer}#content .financial-report-page .wh-upload-steps,#content .financial-report-page .wh-stats{display:flex;gap:24px;align-items:center;padding:16px 0;flex-wrap:wrap}#content .financial-report-page .wh-upload-steps{border-bottom:1px solid #e2e8f0;color:#64748b}#content .financial-report-page .wh-upload-steps strong{color:#176b60}#content .financial-report-page .wh-rule{padding:18px;background:#f6f9fc;border-radius:10px;margin:16px 0}#content .financial-report-page .wh-filter-row{display:grid;grid-template-columns:1fr 100px 1fr auto;gap:8px;margin:10px 0}#content .financial-report-page .wh-check{display:flex;align-items:center;gap:8px;font-size:13px;margin:14px 0}#content .financial-report-page .wh-check input{width:auto}#content .financial-report-page .wh-query{padding:16px}#content .financial-report-page .wh-query .form-field{margin:0;min-width:140px}#content .financial-report-page .wh-query .toolbar{align-items:end}#content .financial-report-page .wh-stats strong{font-size:21px;color:#183a44}#content .financial-report-page .wh-stats a{margin-left:auto}#content .financial-report-page .wh-missing{color:#9b6a31;font-size:12px}#content .financial-report-page .wh-report th,#content .financial-report-page .wh-report td{min-width:110px}#content .financial-report-page .wh-report th:first-child,#content .financial-report-page .wh-report td:first-child{position:sticky;left:0;min-width:180px;background:#fff;z-index:1}#content .financial-report-page .wh-report th:first-child{background:#f7f9fb}#content .financial-report-page .dialog-body details{margin:16px 0}#content .financial-report-page .dialog-body details summary{cursor:pointer;font-weight:600;color:#42606a}#content .financial-report-page .dialog-body .form-field small{display:block;line-height:1.6;margin-top:4px}#content .financial-report-page .dialog-body .wh-rule h3{margin-top:0}
/* Business report tree and shared period cards. */
#content .financial-report-page .wh-query .panel-head{padding:0 0 14px}#content .financial-report-page .wh-query .compare-periods{padding:16px 0}#content .financial-report-page .wh-query .period-add-row{padding-left:0}#content .financial-report-page .wh-query .compare-actions{padding:14px 0 0;margin:0}#content .financial-report-page .wh-query .wh-report-options{padding-top:14px}#content .financial-report-page .wh-report .wh-child td:first-child{padding-left:34px;background:#f8faff}#content .financial-report-page .wh-report .wh-parent td{border-top:1px solid #d9e2ed}#content .financial-report-page .wh-report .tree-label{text-align:left}#content .financial-report-page .wh-report .tree-label small{display:block}#content .financial-report-page .wh-stats .actions{margin-left:auto}#content .financial-report-page .wh-period-grip{border:0;background:none;color:#6b7e9c;cursor:grab;padding:0 3px;min-width:20px}#content .financial-report-page .wh-report-options .wh-check{margin:0}#content .financial-report-page .wh-report th{white-space:nowrap}

#content .financial-report-page .wh-dimension-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:8px;padding:8px 0;max-height:240px;overflow:auto}#content .financial-report-page .wh-dimension-picker .wh-check{padding:9px 10px;border:1px solid var(--line,#dbe3ee);border-radius:8px;flex-wrap:wrap}#content .financial-report-page .wh-dimension-picker small{flex-basis:100%;padding-left:23px}#content .financial-report-page #wh-dimensions{border:1px solid var(--line,#dbe3ee);border-radius:10px;padding:12px;margin:16px 0}#content .financial-report-page #wh-dimensions legend{font-weight:600;padding:0 6px}
/* Business metric editing and report controls, scoped away from financial reports. */
#content .financial-report-page dialog:has(.wh-editor-layout){width:min(1460px,96vw);max-width:96vw}#content .financial-report-page .wh-editor-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:22px;align-items:start}#content .financial-report-page .wh-editor-fields{min-width:0}#content .financial-report-page .wh-live-preview{position:sticky;top:0;min-width:0;max-height:70vh;overflow:auto;background:#f7fafc;border:1px solid var(--line);border-radius:12px;padding:16px}#content .financial-report-page .wh-live-preview h3{margin:0}#content .financial-report-page .wh-live-preview h4{margin:12px 0 8px}#content .financial-report-page .wh-live-preview .panel-head{padding:0}#content .financial-report-page .wh-live-preview .table-wrap{max-height:260px;overflow:auto}#content .financial-report-page .wh-live-preview td{font-size:12px}#content .financial-report-page .wh-live-preview .notice{font-size:12px;line-height:1.7;margin:12px 0}#content .financial-report-page .wh-preview-counts{display:flex;flex-wrap:wrap;gap:8px 16px;color:#176b60;padding:12px 0;border-top:1px solid var(--line)}#content .financial-report-page .wh-filter-value{min-width:0;display:grid;gap:5px}#content .financial-report-page .wh-filter-value select{font-size:12px;color:#42606a}#content .financial-report-page .wh-editor-fields .wh-filter-row{grid-template-columns:minmax(0,1fr) 76px minmax(0,1.3fr) auto;align-items:start}#content .financial-report-page .wh-editor-fields .wh-rule{padding:12px}#content .financial-report-page .wh-editor-fields .wh-filter-row>select,#content .financial-report-page .wh-editor-fields .wh-filter-row>button{min-width:0;padding-left:7px;padding-right:7px}#content .financial-report-page .wh-query .compare-periods{padding:12px 0 6px}#content .financial-report-page .wh-query .period-add-row{margin-bottom:12px}#content .financial-report-page .wh-query-filters{border-top:1px solid var(--line);padding-top:12px}#content .financial-report-page .wh-query-filters h3{font-size:13px;margin:0 0 10px;color:#53677f}#content .financial-report-page .wh-filter-grid{display:grid;grid-template-columns:1.25fr 1fr 1fr 1fr .8fr;gap:12px}#content .financial-report-page .wh-query .wh-filter-grid .form-field{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0;font-size:12px}#content .financial-report-page .wh-filter-grid select{width:100%;min-width:0}#content .financial-report-page .wh-query-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:12px}#content .financial-report-page .wh-query-buttons{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}#content .financial-report-page .wh-query-buttons small{flex-basis:100%;text-align:right;font-size:11px}#content .financial-report-page .wh-query-footer .wh-check{margin:0}
@media(max-width:1000px){#content .financial-report-page .wh-editor-layout{grid-template-columns:1fr}#content .financial-report-page .wh-live-preview{position:static;max-height:none}#content .financial-report-page .wh-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){#content .financial-report-page .wh-editor-fields .wh-filter-row{grid-template-columns:minmax(0,1fr) 80px}#content .financial-report-page .wh-filter-value{grid-column:1}#content .financial-report-page .wh-filter-grid{grid-template-columns:1fr}#content .financial-report-page .wh-query-buttons small{text-align:left}#content .financial-report-page .wh-query-buttons{justify-content:flex-start}}
#content .financial-report-page .wh-live-preview #wh-draft-preview>.table-wrap table{table-layout:fixed}#content .financial-report-page .wh-live-preview #wh-draft-preview>.table-wrap th,#content .financial-report-page .wh-live-preview #wh-draft-preview>.table-wrap td{padding:9px 8px}#content .financial-report-page .wh-live-preview #wh-draft-preview>.table-wrap th:first-child{width:78px}#content .financial-report-page .wh-live-preview #wh-draft-preview>.table-wrap th:last-child{width:80px}#content .financial-report-page .wh-live-preview #wh-draft-preview>.table-wrap td:nth-child(2){white-space:normal;overflow-wrap:anywhere;line-height:1.55}
/* Management reporting: shared source rules, independent layout, frozen output. */
#content .financial-report-page dialog:has(.mg-account-layout){width:min(1400px,96vw);max-width:96vw}#content .financial-report-page .mg-account-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px}#content .financial-report-page .mg-account-fields,#content .financial-report-page .mg-account-preview{min-width:0}#content .financial-report-page .mg-account-preview{background:#f6f9fc;padding:18px;border-radius:12px;position:sticky;top:0;align-self:start;max-height:70vh;overflow:auto}#content .financial-report-page .mg-account-preview .table-wrap{max-height:300px}#content .financial-report-page .mg-account-preview td{white-space:normal}#content .financial-report-page .mg-code-list{max-height:220px;overflow:auto;border:1px solid var(--line);border-radius:8px;padding:8px;margin-top:5px}#content .financial-report-page .mg-code-list label{display:flex;align-items:center;gap:7px;font-size:12px;padding:5px}#content .financial-report-page .mg-code-list input{width:auto}#content .financial-report-page .mg-code-list [hidden]{display:none}#content .financial-report-page .mg-filter-row{display:grid;grid-template-columns:1fr 1fr auto;gap:6px;margin:10px 0}#content .financial-report-page .mg-filter-row select[data-mg-filter-pick]{grid-column:2;grid-row:2}#content .financial-report-page .mg-filter-row button{grid-column:3;grid-row:1}#content .financial-report-page .mg-designer{display:grid;grid-template-columns:180px minmax(0,1fr) 260px;gap:12px;align-items:start}#content .financial-report-page .mg-designer .panel-head{padding:12px;flex-wrap:wrap}#content .financial-report-page .mg-designer .panel-body{padding:12px}#content .financial-report-page .mg-designer button{font-size:12px;padding:6px 9px}#content .financial-report-page .mg-designer .muted{font-size:12px;line-height:1.7}#content .financial-report-page .mg-library-item{padding:12px 0;border-bottom:1px solid var(--line);cursor:grab}#content .financial-report-page .mg-library-item strong,#content .financial-report-page .mg-library-item small{display:block}#content .financial-report-page .mg-library-item small{margin:6px 0;color:var(--muted)}#content .financial-report-page .mg-style-row{border:1px solid var(--line);border-radius:7px;padding:10px;margin:8px 0;background:#fff}#content .financial-report-page .mg-style-row.mg-level-2{margin-left:12px}#content .financial-report-page .mg-style-row.mg-level-3{margin-left:24px}#content .financial-report-page .mg-style-row.mg-level-4{margin-left:36px}#content .financial-report-page .mg-style-row.mg-level-5{margin-left:48px}#content .financial-report-page .mg-style-row.mg-level-6{margin-left:60px}#content .financial-report-page .mg-row-title{display:flex;align-items:center;gap:5px;flex-wrap:wrap}#content .financial-report-page .mg-row-title strong{flex:1}#content .financial-report-page .mg-grip{cursor:grab}#content .financial-report-page .mg-row-controls{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;font-size:11px;align-items:center}#content .financial-report-page .mg-row-controls label{display:flex;align-items:center;gap:3px}#content .financial-report-page .mg-row-controls input[type=checkbox]{width:auto}#content .financial-report-page .mg-row-controls input:not([type=checkbox]){width:130px;flex:1}#content .financial-report-page .mg-row-controls select{padding:4px}#content .financial-report-page .mg-bold>td,#content .financial-report-page .mg-bold>.mg-row-title strong{font-weight:700}#content .financial-report-page .mg-italic>td,#content .financial-report-page .mg-italic>.mg-row-title strong{font-style:italic}#content .financial-report-page .mg-separator>td,#content .financial-report-page .mg-style-row.mg-separator{border-top:2px solid #718096}#content .financial-report-page .mg-check-rule{border-bottom:1px solid var(--line);padding:10px 0 16px}#content .financial-report-page .mg-check-rule textarea{width:100%;box-sizing:border-box}#content .financial-report-page .mg-check-rule select{width:100%;font-size:12px}#content .financial-report-page .mg-equals{text-align:center;font-size:20px;color:var(--blue)}#content .financial-report-page .mg-drop-hint{padding:50px 12px;text-align:center;border:1px dashed #b9c9db;border-radius:8px;color:var(--muted)}#content .financial-report-page .mg-query-grid{border-top:1px solid var(--line);padding-top:12px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}#content .financial-report-page .mg-query-grid .form-field{min-width:0;display:flex;flex-direction:column;align-items:stretch;gap:6px}#content .financial-report-page .mg-query-footer{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:12px}#content .financial-report-page .mg-query-footer>small{flex-basis:100%}#content .financial-report-page .mg-query-footer .wh-check{margin:0}#content .financial-report-page .mg-query-footer select{max-width:240px}#content .financial-report-page .mg-entity-picker{position:relative;border:1px solid var(--line);border-radius:7px;background:#fff;padding:10px}#content .financial-report-page .mg-entity-picker>div{position:absolute;top:100%;left:0;background:#fff;z-index:6;padding:12px;box-shadow:0 4px 18px #172b4222;min-width:280px}#content .financial-report-page .mg-entity-picker label{display:flex;gap:6px;padding:7px 0}#content .financial-report-page .mg-entity-picker input{width:auto}#content .financial-report-page .mg-report table{font-size:13px}#content .financial-report-page .mg-report td:first-child,#content .financial-report-page .mg-report th:first-child{position:sticky;left:0;background:#fff;min-width:210px;z-index:1}#content .financial-report-page .mg-report-label{display:flex;align-items:center;gap:6px}#content .financial-report-page .mg-report-row.mg-level-1 .mg-report-label{font-size:16px}#content .financial-report-page .mg-report-row.mg-level-2 .mg-report-label{padding-left:14px;font-size:15px}#content .financial-report-page .mg-report-row.mg-level-3 .mg-report-label{padding-left:28px}#content .financial-report-page .mg-report-row.mg-level-4 .mg-report-label{padding-left:42px}#content .financial-report-page .mg-report-row.mg-level-5 .mg-report-label{padding-left:56px}#content .financial-report-page .mg-report-row.mg-level-6 .mg-report-label{padding-left:70px}#content .financial-report-page .mg-dimension-row td{background:#f8faff;font-size:12px}#content .financial-report-page .mg-dimension-row td:first-child{padding-left:40px;background:#f8faff}#content .financial-report-page .mg-cell-note{display:block;font-size:10px;color:#946200}#content .financial-report-page .mg-period-grip{border:0;background:none;padding:0;color:#8895a8}#content .financial-report-page .mg-report .wh-missing{display:inline-block;max-width:230px;white-space:normal;text-align:left;line-height:1.6}
@media(max-width:1100px){#content .financial-report-page .mg-designer{grid-template-columns:170px minmax(0,1fr)}#content .financial-report-page .mg-check-editor{grid-column:1/-1}#content .financial-report-page .mg-account-layout{grid-template-columns:1fr}#content .financial-report-page .mg-account-preview{position:static;max-height:none}}@media(max-width:650px){#content .financial-report-page .mg-designer,#content .financial-report-page .mg-query-grid{grid-template-columns:1fr}#content .financial-report-page .mg-check-editor{grid-column:auto}#content .financial-report-page .mg-query-footer{align-items:stretch}#content .financial-report-page .mg-library-item{display:inline-block;vertical-align:top;min-width:130px;margin-right:8px}#content .financial-report-page .mg-filter-row{grid-template-columns:1fr 1fr}#content .financial-report-page .mg-filter-row button{grid-column:1;grid-row:2}}

#content .financial-report-page .mg-row-controls input[data-mg-row-prop="label"]{min-width:110px;flex:1 1 150px}#content .financial-report-page .mg-period-grip{border:0;background:none;padding:2px;cursor:grab;color:var(--muted)}

/* In-progress analysis remains readable while background checks continue. */
#content .financial-report-page .ai-draft{margin:12px 0;padding:16px;border:1px solid var(--line,#dce5f2);border-radius:12px;background:var(--surface,#fff)}#content .financial-report-page .ai-draft>summary{color:var(--muted,#7185a7);font-size:13px;margin-bottom:12px}#content .financial-report-page .ai-draft .ai-native-reply{overflow-wrap:anywhere}

/* Formula evidence uses the saved values, with readable intermediate amounts. */
#content .financial-report-page .mg-formula-calculation{padding:12px 16px;background:#f7f9ff;border:1px solid #e1e8fa;border-radius:10px;margin:12px 0}#content .financial-report-page .mg-formula-calculation p{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:6px 0 0}#content .financial-report-page .mg-formula-steps{list-style:none;padding:0;margin:12px 0}#content .financial-report-page .mg-formula-steps li{display:flex;gap:16px;padding:7px 0;border-bottom:1px solid #edf1f7}#content .financial-report-page .mg-formula-steps li>span{flex:0 0 48px;color:#7185a7;font-size:13px}#content .financial-report-page .mg-formula-steps li>div{min-width:0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}#content .financial-report-page .num.mg-formula-value{white-space:normal;overflow-wrap:anywhere}

/* Original ai.css; scoped to report pages. */
#content .financial-report-page .ai-panel{position:fixed;right:0;top:0;bottom:0;width:min(490px,100vw);z-index:60;background:#fff;border-left:1px solid #dce4f0;box-shadow:-12px 0 32px #1d355720;display:flex;flex-direction:column}#content .financial-report-page .ai-panel[hidden]{display:none}#content .financial-report-page .ai-header{display:flex;align-items:center;justify-content:space-between;padding:20px;border-bottom:1px solid #e5ebf3}#content .financial-report-page .ai-header h2{margin:0 0 5px}#content .financial-report-page .ai-header small{color:#71819b}#content .financial-report-page .ai-body{padding:20px;overflow:auto;flex:1}#content .financial-report-page .ai-body textarea{width:100%;margin:8px 0;box-sizing:border-box}#content .financial-report-page .ai-body>small{display:block;color:#71819b;line-height:1.6;margin:12px 0}#content .financial-report-page .ai-scope{display:flex;align-items:end;gap:8px;margin-bottom:12px}#content .financial-report-page .ai-scope label{flex:1;min-width:0}#content .financial-report-page .ai-scope select{width:100%;margin-top:6px}#content .financial-report-page .ai-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin:12px 0}#content .financial-report-page .ai-suggestions button{font-size:12px;text-align:left;background:#f4f7ff;color:#3159a7}#content .financial-report-page .ai-answer{padding:16px 0;border-top:1px solid #e5ebf3;margin-top:16px}#content .financial-report-page .ai-answer h3{font-size:16px;line-height:1.6}#content .financial-report-page .ai-answer p{line-height:1.6}#content .financial-report-page .ai-answer td{white-space:normal;font-size:12px}#content .financial-report-page .ai-answer td small{display:block;color:#71819b;font-size:11px;margin-top:5px}#content .financial-report-page .ai-answer .table-wrap{max-height:430px}#content .financial-report-page .ai-history-item{display:block;text-align:left;width:100%;margin:8px 0}#content .financial-report-page .ai-history-item small{display:block;color:#71819b}#content .financial-report-page .ai-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}#content .financial-report-page .ai-settings-grid input{width:100%}#content .financial-report-page .ai-evidence{white-space:pre-wrap;word-break:break-word;font:12px/1.7 system-ui;background:#f6f8fc;padding:16px;max-height:55vh;overflow:auto}#content .financial-report-page #ai-settings-status{color:#17653a;margin-top:14px}#content .financial-report-page #ai-settings-open,#content .financial-report-page #ai-open{white-space:nowrap}

#content .financial-report-page .ai-settings-form{display:grid;grid-template-columns:1fr 1fr;gap:16px}#content .financial-report-page .ai-settings-form>:not(.form-field){grid-column:1/-1}#content .financial-report-page .ai-settings-form>.notice{margin:0}#content .financial-report-page .ai-settings-form .form-field{display:flex;flex-direction:column;gap:7px;min-width:0;margin:0;font-size:13px}#content .financial-report-page .ai-settings-form input:not([type=checkbox]),#content .financial-report-page .ai-settings-form select{width:100%;box-sizing:border-box;min-width:0;height:38px;font-size:13px}#content .financial-report-page .ai-settings-form small{font-size:12px;line-height:1.7;color:#71819b}#content .financial-report-page .ai-settings-form .wh-check,#content .financial-report-page .ai-settings-form details{margin:0}#content .financial-report-page .ai-settings-shortcut{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px}#content .financial-report-page .ai-settings-shortcut button{font-size:12px}#content .financial-report-page .ai-settings-form #ai-settings-status:empty{display:none}@media(max-width:700px){#content .financial-report-page .ai-settings-grid,#content .financial-report-page .ai-settings-form{grid-template-columns:1fr}}
#content .financial-report-page #dialog-content:has(.ai-settings-form){display:flex;flex-direction:column;max-height:calc(100dvh - 64px)}#content .financial-report-page #dialog-content:has(.ai-settings-form)>.dialog-header,#content .financial-report-page #dialog-content:has(.ai-settings-form)>.dialog-footer{flex-shrink:0;padding:18px 28px}#content .financial-report-page #dialog-content:has(.ai-settings-form)>.dialog-body{overflow-y:auto;min-height:0;padding:18px 28px}

#content .financial-report-page .ai-panel{width:min(610px,100vw)}#content .financial-report-page .ai-panel.ai-wide{width:min(1080px,100vw)}#content .financial-report-page .ai-header{gap:12px;padding:16px 20px}#content .financial-report-page .ai-header .actions{gap:5px}#content .financial-report-page .ai-header button{padding:7px 10px}#content .financial-report-page .ai-body{min-height:0}#content .financial-report-page .ai-toolbar{display:flex;align-items:start;justify-content:space-between;gap:12px;color:#71819b;font-size:12px;margin-bottom:16px}#content .financial-report-page .ai-toolbar details{max-width:65%}#content .financial-report-page .ai-toolbar summary{cursor:pointer;white-space:nowrap}#content .financial-report-page .ai-toolbar #ai-history{max-height:220px;overflow:auto}#content .financial-report-page .ai-user-message{margin:18px 0 12px auto;max-width:88%;padding:12px 16px;background:#edf2ff;border-radius:12px 12px 2px 12px;white-space:pre-wrap;line-height:1.7}#content .financial-report-page .ai-answer{border:0;margin:0;padding:0 0 20px}#content .financial-report-page .ai-answer h3{margin:8px 0;white-space:pre-wrap}#content .financial-report-page .ai-selection{font-size:11px;color:#71819b;line-height:1.7;margin-bottom:12px}#content .financial-report-page .ai-turn+.ai-turn{border-top:1px solid #edf1f6}#content .financial-report-page .ai-followups{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}#content .financial-report-page .ai-followups button{font-size:11px;padding:6px 9px;color:#3159a7;background:#f6f8ff}#content .financial-report-page .ai-notes{font-size:12px;margin:10px 0;color:#71819b}#content .financial-report-page .ai-notes summary{cursor:pointer}#content .financial-report-page .ai-composer{flex-shrink:0;padding:14px 20px;background:#fff;border-top:1px solid #e5ebf3}#content .financial-report-page .ai-composer textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:64px;max-height:160px;border:1px solid #cfd9eb;border-radius:8px;padding:10px;font:inherit}#content .financial-report-page .ai-send-row{display:flex;align-items:center;justify-content:space-between;margin:8px 0}#content .financial-report-page .ai-send-row small,#content .financial-report-page .ai-privacy{font-size:11px;color:#8492a6}#content .financial-report-page .ai-privacy{display:block;line-height:1.5}#content .financial-report-page #ai-send-status{font-size:12px;line-height:1.6;color:#946200}#content .financial-report-page .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

/* Keep query tables consistent at either panel width. */
#content .financial-report-page .ai-suggestions-label{flex-basis:100%;font-size:11px;color:var(--muted)}#content .financial-report-page .ai-suggestions button{white-space:normal;line-height:1.5}#content .financial-report-page .ai-answer .table-wrap{width:100%;border:1px solid var(--line);border-radius:8px;margin:14px 0;overflow:auto}#content .financial-report-page .ai-answer table{width:100%;min-width:0;table-layout:fixed;border-collapse:collapse}#content .financial-report-page .ai-answer th,#content .financial-report-page .ai-answer td{padding:10px 12px;overflow-wrap:anywhere;white-space:normal;text-align:left;line-height:1.6}#content .financial-report-page .ai-answer th{background:#f6f8fc;color:#60748b;font-size:12px}#content .financial-report-page .ai-answer th:last-child,#content .financial-report-page .ai-answer td:last-child{text-align:right;width:45%;font-variant-numeric:tabular-nums}#content .financial-report-page .ai-answer td button{white-space:normal;padding:0;font-size:13px}#content .financial-report-page .ai-answer p{font-size:13px;line-height:1.85;margin:10px 0}#content .financial-report-page .ai-answer h3{font-size:15px;font-weight:600}#content .financial-report-page .ai-followups button{white-space:normal;text-align:left;line-height:1.5}
#content .financial-report-page .ai-body>.ai-suggestions{position:sticky;top:-20px;z-index:2;background:#fff;padding:10px 0;border-bottom:1px solid var(--line);box-shadow:0 5px 10px #ffffffef}
#content .financial-report-page .ai-turn{scroll-margin-top:136px}

/* Management answers: a visual lead with optional source detail. */
#content .financial-report-page .ai-chart{margin:16px 0 20px;padding:14px;background:#f8faff;border:1px solid #e2e9f4;border-radius:12px}#content .financial-report-page .ai-chart-top{display:flex;justify-content:space-between;gap:12px;align-items:center}#content .financial-report-page .ai-chart-top label{display:flex;align-items:center;gap:10px;font-size:12px;color:#64758f;min-width:0}#content .financial-report-page .ai-chart-top select{font:inherit;color:#243755;max-width:250px;padding:5px 8px}#content .financial-report-page .ai-chart-top strong{color:#243755}#content .financial-report-page .ai-chart-unit{font-size:11px;color:#73839c}#content .financial-report-page .ai-chart svg{display:block;width:100%;height:auto;margin-top:6px;overflow:visible}#content .financial-report-page .ai-chart svg text{font:11px system-ui;fill:#74849a}#content .financial-report-page .ai-chart circle{cursor:help}#content .financial-report-page .ai-chart-legend{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:11px;color:#4b5d75}#content .financial-report-page .ai-chart-legend span{display:flex;align-items:center;gap:5px}#content .financial-report-page .ai-chart-legend i{display:block;width:9px;height:9px;border-radius:50%}#content .financial-report-page .ai-chart figcaption{margin-top:10px;font-size:10px;color:#8492a6}#content .financial-report-page .ai-analysis h4{font-size:12px;font-weight:600;color:#3159a7;margin:16px 0 7px}#content .financial-report-page .ai-analysis-hypothesis h4{color:#99692c}#content .financial-report-page .ai-analysis-next_step h4{color:#60718b}#content .financial-report-page .ai-analysis ul{padding-left:17px;margin:0}#content .financial-report-page .ai-analysis li{font-size:13px;line-height:1.85;padding-left:2px;margin:7px 0;color:#33445c}#content .financial-report-page .ai-demo-note{font-size:11px!important;color:#8e6c3b;background:#fffaf0;border-radius:7px;padding:7px 10px}#content .financial-report-page .ai-data{margin-top:18px;font-size:12px}#content .financial-report-page .ai-data>summary{cursor:pointer;color:#5a6e8c}#content .financial-report-page .ai-data .table-wrap{max-height:330px}#content .financial-report-page .ai-data table{table-layout:auto;width:100%;min-width:100%}#content .financial-report-page .ai-data th,#content .financial-report-page .ai-data td,#content .financial-report-page .ai-data th:last-child,#content .financial-report-page .ai-data td:last-child{width:auto;min-width:100px;white-space:nowrap;text-align:right;font-size:12px}#content .financial-report-page .ai-data th:first-child{position:sticky;left:0;text-align:left;min-width:125px;max-width:220px;white-space:normal;background:#f6f8fc;z-index:1}#content .financial-report-page .ai-data tbody th{font-weight:500}#content .financial-report-page .ai-data th small{display:block;color:#8492a6;font-size:10px}#content .financial-report-page .ai-data thead th{position:sticky;top:0;z-index:2}#content .financial-report-page .ai-data thead th:first-child{z-index:3}#content .financial-report-page .ai-unit-note{display:block;font-size:10px;color:#8492a6;margin-top:8px}#content .financial-report-page .ai-preferences{display:grid;grid-template-columns:1fr 1fr;gap:16px}#content .financial-report-page .ai-preferences>p,#content .financial-report-page .ai-preferences>fieldset,#content .financial-report-page .ai-preferences>.ai-pref-custom,#content .financial-report-page .ai-preferences>#ai-pref-status{grid-column:1/-1}#content .financial-report-page .ai-preferences>p{color:#71819b;margin:0;font-size:12px}#content .financial-report-page .ai-preferences .form-field{display:flex;flex-direction:column;gap:7px;font-size:13px;min-width:0}#content .financial-report-page .ai-preferences select,#content .financial-report-page .ai-preferences textarea{width:100%;font:inherit;box-sizing:border-box;padding:9px;border:1px solid #d6dfed;border-radius:7px}#content .financial-report-page .ai-preferences fieldset{border:1px solid #e2e9f4;border-radius:8px;padding:12px}#content .financial-report-page .ai-preferences legend{font-size:12px;color:#64758f}#content .financial-report-page .ai-preferences fieldset label{display:inline-flex;align-items:center;gap:4px;margin:4px 12px 4px 0;font-size:12px}#content .financial-report-page .ai-preferences small{font-size:11px;color:#71819b;line-height:1.7}#content .financial-report-page #ai-pref-status{font-size:12px;color:#17653a}@media(max-width:600px){#content .financial-report-page .ai-header{flex-wrap:wrap}#content .financial-report-page .ai-header .actions{margin-left:auto}#content .financial-report-page .ai-preferences{grid-template-columns:1fr}#content .financial-report-page .ai-chart-top select{max-width:180px}}
#content .financial-report-page .ai-body>.ai-suggestions{flex-wrap:nowrap;overflow-x:auto;align-items:center;gap:6px;padding:8px 0;margin:0 0 12px}#content .financial-report-page .ai-suggestions-label{flex-basis:auto;flex-shrink:0}#content .financial-report-page .ai-suggestions button{white-space:nowrap;flex-shrink:0;font-size:11px;padding:6px 9px}#content .financial-report-page .ai-turn{scroll-margin-top:70px}#content .financial-report-page .ai-chart{padding:12px}#content .financial-report-page .ai-composer{padding-top:10px;padding-bottom:10px}#content .financial-report-page .ai-composer textarea{min-height:54px}

/* Sent messages stay visible while server stages advance. No simulated percentage. */
#content .financial-report-page .ai-progress{padding:16px 18px;margin:12px 0 22px;background:#f8faff;border:1px solid #e4eaf5;border-radius:12px}#content .financial-report-page .ai-progress-heading{display:flex;align-items:center;gap:8px;font-size:13px;color:#34486a}#content .financial-report-page .ai-progress-heading small{margin-left:auto;color:#8492a6;font-size:11px;font-variant-numeric:tabular-nums}#content .financial-report-page .ai-progress-dot{width:8px;height:8px;border-radius:50%;background:#315df4;animation:ai-pulse 1.5s ease-in-out infinite}#content .financial-report-page .ai-progress-dot.failed{animation:none;background:#b57a32}#content .financial-report-page .ai-progress ol{list-style:none;margin:14px 0;padding:0;font-size:12px;line-height:1.8;color:#72829a}#content .financial-report-page .ai-progress li{padding:4px 0 4px 20px;position:relative}#content .financial-report-page .ai-progress li:before{content:'✓';position:absolute;left:0;color:#51978d}#content .financial-report-page .ai-progress li.current{color:#3159a7}#content .financial-report-page .ai-progress li.current:before{content:'•';color:#315df4}#content .financial-report-page .ai-progress p{font-size:12px;line-height:1.7;color:#71819b;margin:10px 0 0}#content .financial-report-page .ai-progress button{margin-top:12px;font-size:12px}#content .financial-report-page .ai-analysis li>strong{display:block;font-size:13px;font-weight:600;color:#2e405c}#content .financial-report-page .ai-analysis li>p{margin:3px 0 12px}#content .financial-report-page .ai-interpretation{background:#f5f8ff;border-left:3px solid #7295ef;padding:12px 14px;border-radius:0 8px 8px 0;font-size:14px!important;line-height:1.9!important;color:#2d405e}#content .financial-report-page .ai-analysis ul{list-style:none;padding:0}#content .financial-report-page .ai-analysis li{padding:0}#content .financial-report-page .ai-analysis h4{border-bottom:1px solid #edf1f6;padding-bottom:7px;font-size:12px}
@keyframes ai-pulse{50%{opacity:.35}}@media(prefers-reduced-motion:reduce){#content .financial-report-page .ai-progress-dot{animation:none}}

#content .financial-report-page .ai-chart svg{max-height:240px}#content .financial-report-page .ai-charts{min-width:0}#content .financial-report-page .ai-charts .ai-chart{min-width:0}#content .financial-report-page .ai-wide .ai-charts{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:12px;align-items:start}#content .financial-report-page .ai-wide .ai-charts>.ai-chart:only-child{grid-column:1/-1}@media(max-width:900px){#content .financial-report-page .ai-wide .ai-charts{grid-template-columns:minmax(0,1fr)}}

#content .financial-report-page .ai-settings-form [hidden]{display:none!important}

/* First-level ChatGPT-style workspace. The compact side panel remains available. */
#content .financial-report-page body:has(#ai-workspace){overflow:hidden}
#content .financial-report-page body:has(#ai-workspace) main{height:100dvh;display:flex;flex-direction:column;min-height:0}
#content .financial-report-page body:has(#ai-workspace) main>header{flex-shrink:0}
#content .financial-report-page body:has(#ai-workspace) :is(#entity-context,#related-settings){display:none}
#content .financial-report-page :has(>#ai-workspace){flex:1;min-height:0;width:100%;max-width:none;margin:0;padding:16px 24px;overflow:hidden}
#content .financial-report-page .ai-workspace{height:100%;min-height:0;display:grid;grid-template-columns:250px minmax(0,1fr);grid-template-rows:minmax(0,1fr);border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff}
#content .financial-report-page .ai-workspace-history{position:relative;width:auto;height:auto;z-index:auto;min-width:0;min-height:0;overflow:hidden;background:#f6f8fc;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:14px}
#content .financial-report-page .ai-workspace-brand{display:grid;gap:12px;padding:4px 2px 14px;flex-shrink:0}#content .financial-report-page .ai-workspace-brand strong{font-size:16px;color:#243755}#content .financial-report-page .ai-workspace-brand small{display:block;color:var(--muted);margin-top:4px}#content .financial-report-page .ai-workspace-brand button{width:100%;text-align:center}#content .financial-report-page #ai-history-toggle{display:none}
#content .financial-report-page .ai-history-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}#content .financial-report-page .ai-workspace .ai-history-item{border:0;background:transparent;color:#3d4f68;padding:10px;border-radius:8px;line-height:1.45;white-space:normal;overflow-wrap:anywhere}#content .financial-report-page .ai-workspace .ai-history-item:hover,#content .financial-report-page .ai-workspace .ai-history-item.active{background:#e8eefb;color:#244d9d}
#content .financial-report-page .ai-workspace-main{min-width:0;min-height:0;overflow:hidden;display:flex;flex-direction:column;background:#fff}#content .financial-report-page .ai-workspace .ai-header{flex-shrink:0;padding:12px 22px}#content .financial-report-page .ai-workspace .ai-body{flex:1;min-height:0;width:100%;box-sizing:border-box;margin:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:20px max(28px,calc((100% - 784px)/2))}#content .financial-report-page .ai-workspace .ai-body>.ai-suggestions{position:static;flex-wrap:wrap;overflow:visible}#content .financial-report-page .ai-workspace .ai-suggestions button{white-space:normal}#content .financial-report-page .ai-workspace .ai-composer{width:100%;box-sizing:border-box;margin:0;padding:12px max(28px,calc((100% - 784px)/2)) 14px;border-top:1px solid var(--line);background:#fff}#content .financial-report-page .ai-workspace .ai-composer textarea{min-height:58px;max-height:min(140px,22dvh);border-radius:14px;box-shadow:0 5px 22px #273b5a14}#content .financial-report-page .ai-workspace .ai-turn+.ai-turn{padding-top:16px}#content .financial-report-page .ai-workspace .ai-user-message{max-width:82%}#content .financial-report-page .ai-chart-purpose{font-size:12px;line-height:1.6;color:#3159a7;margin-bottom:8px}#content .financial-report-page .ai-chart rect{cursor:help}
@media(max-width:1000px){#content .financial-report-page .ai-workspace{grid-template-columns:210px minmax(0,1fr)}}
@media(max-width:880px){#content .financial-report-page .ai-workspace{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}#content .financial-report-page .ai-workspace-history{border-right:0;border-bottom:1px solid var(--line);padding:8px 12px}#content .financial-report-page .ai-workspace-brand{display:flex;align-items:center;padding:0;gap:8px}#content .financial-report-page .ai-workspace-brand>div{margin-right:auto}#content .financial-report-page .ai-workspace-brand small{display:none}#content .financial-report-page .ai-workspace-brand button{width:auto;padding:7px 10px}#content .financial-report-page #ai-history-toggle{display:block}#content .financial-report-page .ai-workspace .ai-history-list{display:none;flex:none;max-height:min(160px,22dvh)}#content .financial-report-page .ai-workspace-history.ai-history-open .ai-history-list{display:block}#content .financial-report-page .ai-workspace .ai-body,#content .financial-report-page .ai-workspace .ai-composer{padding-left:16px;padding-right:16px}#content .financial-report-page .ai-workspace .ai-user-message{max-width:90%}}
@media(max-width:760px){#content .financial-report-page body:has(#ai-workspace){height:100dvh;display:flex;flex-direction:column}#content .financial-report-page body:has(#ai-workspace)>aside{flex-shrink:0;max-height:130px;overflow:auto}#content .financial-report-page body:has(#ai-workspace) main{height:auto;flex:1;min-height:0}#content .financial-report-page body:has(#ai-workspace) main>header{min-height:48px;padding:8px 12px;gap:6px}#content .financial-report-page :has(>#ai-workspace){padding:8px}#content .financial-report-page .ai-workspace .ai-header{padding:8px 14px}#content .financial-report-page .ai-workspace .ai-header small{font-size:11px}#content .financial-report-page .ai-workspace .ai-composer{padding-top:8px;padding-bottom:max(8px,env(safe-area-inset-bottom))}#content .financial-report-page .ai-workspace .ai-privacy{display:none}}
@media(max-height:620px){#content .financial-report-page .ai-workspace .ai-header{padding-top:6px;padding-bottom:6px}#content .financial-report-page .ai-workspace .ai-composer{padding-top:6px;padding-bottom:6px}#content .financial-report-page .ai-workspace .ai-composer textarea{min-height:48px}#content .financial-report-page .ai-workspace .ai-privacy{display:none}#content .financial-report-page .ai-workspace .ai-send-row{margin:4px 0}}
#content .financial-report-page .ai-chart-color-0{background:#315df4}#content .financial-report-page .ai-chart-color-1{background:#14948a}#content .financial-report-page .ai-chart-color-2{background:#ad6acf}#content .financial-report-page .ai-chart-color-3{background:#e49228}#content .financial-report-page .ai-chart-color-4{background:#db647d}#content .financial-report-page .ai-chart-color-5{background:#63758a}
#content .financial-report-page .ai-mode-picker{display:flex;align-items:center;gap:8px;white-space:nowrap;font-size:12px;color:#64758f}#content .financial-report-page .ai-mode-picker select{height:34px;min-width:130px;padding:5px 9px;font:inherit;border:1px solid var(--line);border-radius:7px;background:white;color:#263b58}#content .financial-report-page .ai-mode-help{grid-column:1/-1;color:#71819b;font-size:12px;line-height:1.8}#content .financial-report-page .ai-mode-label{display:inline-block;margin:0 0 12px;padding:4px 9px;border-radius:6px;background:#eef2ff;color:#3656b5}#content .financial-report-page .ai-native-reply{font-size:15px;line-height:1.85;overflow-wrap:anywhere}#content .financial-report-page .ai-native-reply p{margin:0 0 14px}#content .financial-report-page .ai-native-reply h4{font-size:16px;margin:18px 0 9px}#content .financial-report-page .ai-native-reply ul,#content .financial-report-page .ai-native-reply ol{padding-left:22px;margin:8px 0 16px}#content .financial-report-page .ai-native-reply pre{white-space:pre-wrap;padding:12px;background:#f4f7fb;border-radius:8px}#content .financial-report-page .ai-native-table{max-width:100%;overflow:auto;margin-bottom:16px}#content .financial-report-page .ai-native-table table{width:max-content;min-width:100%;table-layout:auto}#content .financial-report-page .ai-native-reply .ai-native-table th,#content .financial-report-page .ai-native-reply .ai-native-table td{padding:8px 12px;white-space:nowrap;word-break:normal;overflow-wrap:normal}#content .financial-report-page .ai-investigation{margin:16px 0;color:#71819b;font-size:12px;line-height:1.8}#content .financial-report-page .ai-investigation summary{cursor:pointer}#content .financial-report-page .ai-investigation ol{padding-left:20px}@media(max-width:700px){#content .financial-report-page .ai-toolbar{flex-wrap:wrap;gap:8px}#content .financial-report-page .ai-native-reply{font-size:14px}}

#content .financial-report-page .ai-workspace .ai-header .actions,#content .financial-report-page .ai-panel .ai-header .actions{align-items:center;flex-wrap:wrap;gap:6px}#content .financial-report-page .ai-header .ai-mode-picker select{min-width:125px}@media(max-width:700px){#content .financial-report-page .ai-header .ai-mode-picker>span{display:none}#content .financial-report-page .ai-header .ai-mode-picker{gap:0}}

#content .financial-report-page .ai-memory-row{display:flex;align-items:center;justify-content:space-between;gap:12px}#content .financial-report-page .ai-memory-row .ai-memory-note{min-width:0}#content .financial-report-page .ai-delete-current{display:inline-flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;padding:0;border:0;border-radius:6px;background:transparent;color:#a3afbf}#content .financial-report-page .ai-delete-current:hover,#content .financial-report-page .ai-delete-current:focus-visible{background:#f1f4f8;color:#63748d}#content .financial-report-page .ai-delete-current:disabled{opacity:.4;cursor:not-allowed}#content .financial-report-page .ai-delete-current[hidden]{display:none}

/* Original dashboard.css; scoped to report pages. */
#content .financial-report-page #dashboard-nav{margin-bottom:10px}#content .financial-report-page .dash-shell{max-width:1600px;margin:auto}#content .financial-report-page .dash-filters{padding:20px 24px}#content .financial-report-page .dash-filter-grid{display:grid;grid-template-columns:1.8fr 1fr 1.2fr;gap:14px 20px}#content .financial-report-page .dash-filter-grid>label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:600;color:#64748b}#content .financial-report-page .dash-filter-grid input,#content .financial-report-page .dash-filter-grid select{width:100%;min-width:0;height:38px;font-size:13px}#content .financial-report-page .dash-filter-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;border-top:1px solid #e6ebf4;margin-top:17px;padding-top:14px;color:#74839a;font-size:12px}#content .financial-report-page .dash-entities{position:relative;font-weight:400;color:#253349}#content .financial-report-page .dash-entities summary{height:38px;padding:10px 12px;border:1px solid #d5deeb;border-radius:7px;background:white;cursor:pointer}#content .financial-report-page .dash-entities>div{position:absolute;z-index:5;top:41px;left:0;min-width:260px;max-height:280px;overflow:auto;background:white;border:1px solid #d5deeb;border-radius:8px;padding:12px;box-shadow:0 12px 32px #1b305025}#content .financial-report-page .dash-entities label,#content .financial-report-page .dash-card-picker label{display:flex;align-items:center;gap:10px;padding:9px 4px}#content .financial-report-page .dash-entities input,#content .financial-report-page .dash-card-picker input{width:16px;height:16px}#content .financial-report-page .dash-context{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 2px 13px}#content .financial-report-page .dash-context strong{font-size:15px}#content .financial-report-page .dash-context p{font-size:12px;color:#71819a;margin:9px 0 0}#content .financial-report-page .dash-context-actions{display:flex;gap:12px;align-items:center}#content .financial-report-page .dash-context-actions small{font-size:11px;color:#71819a}#content .financial-report-page .dash-live-dot{display:inline-block;width:7px;height:7px;background:#4166dc;border-radius:50%;margin-right:9px}#content .financial-report-page .dash-section-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:15px}#content .financial-report-page .dash-section-head h2{font-size:16px;margin:0}#content .financial-report-page .dash-section-head small{display:block;color:#7c899e;font-size:11px;margin-top:5px}#content .financial-report-page .dash-section-head select{max-width:220px;font-size:12px}#content .financial-report-page .dash-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:23px}#content .financial-report-page .dash-kpi{display:flex;flex-direction:column;align-items:stretch;text-align:left;min-width:0;padding:19px 20px 13px;background:white;border:1px solid #dce4f0;border-radius:12px;box-shadow:0 3px 12px #263f7004;color:#34425b;cursor:pointer}#content .financial-report-page .dash-kpi:hover{background:#f8faff;border-color:#8ca6f0}#content .financial-report-page .dash-kpi.is-selected{border-color:#627ee3;box-shadow:inset 0 3px #627ee3}#content .financial-report-page .dash-kpi>span:first-child{font-size:13px;color:#63728a}#content .financial-report-page .dash-kpi strong{font-size:clamp(22px,2.1vw,34px);letter-spacing:-.7px;font-variant-numeric:tabular-nums;color:#1e2d48;margin:13px 0;overflow-wrap:anywhere}#content .financial-report-page .dash-kpi small{font-size:11px;line-height:1.6;color:#71809a}#content .financial-report-page .dash-kpi em{font-style:normal;color:#8c641f;font-size:11px;margin-top:5px}#content .financial-report-page .dash-card-foot{border-top:1px solid #edf0f7;padding-top:12px;margin-top:15px;font-size:10px;color:#8a96aa;display:flex;justify-content:space-between;gap:10px}#content .financial-report-page .dash-card-foot b{font-weight:400;color:#4265df}#content .financial-report-page .dash-analysis{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:20px}#content .financial-report-page .dash-analysis .panel{padding:22px;margin-bottom:20px;min-width:0}#content .financial-report-page .dash-analysis h3{font-size:13px;color:#556681;margin:18px 0 0}#content .financial-report-page .dash-trend svg{display:block;width:100%;height:auto}#content .financial-report-page .dash-trend-values table{font-size:11px;text-align:center}#content .financial-report-page .dash-trend-values td,#content .financial-report-page .dash-trend-values th{padding:10px 5px;white-space:normal!important;text-align:center}#content .financial-report-page .dash-trend-values small{display:block;font-size:10px}#content .financial-report-page .dash-trend>small,#content .financial-report-page .dash-breakdown>small{display:block;color:#8a96a8;font-size:11px;margin-top:12px}#content .financial-report-page .dash-chart-empty{min-height:190px;display:flex;align-items:center;justify-content:center;text-align:center;color:#8794a7;font-size:13px;line-height:1.8;padding:25px;background:#f8fafe;border-radius:8px;margin-top:15px}#content .financial-report-page .dash-bars{max-height:310px;overflow:auto;padding:5px 3px}#content .financial-report-page .dash-bar-row{margin:14px 0 19px}#content .financial-report-page .dash-bar-row>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:12px}#content .financial-report-page .dash-bar-row strong{font-variant-numeric:tabular-nums;font-weight:500}#content .financial-report-page .dash-bar-track{height:7px;margin-top:9px;background:#eff3fa;position:relative;border-radius:4px}#content .financial-report-page .dash-bar-track:after{content:'';position:absolute;left:50%;width:1px;top:-3px;height:13px;background:#9aa9c2}#content .financial-report-page .dash-bar-track i{position:absolute;height:7px;border-radius:4px;background:#6a83d6}#content .financial-report-page .dash-bar-row small{font-size:10px;color:#947734}#content .financial-report-page .dash-quality{padding:23px}#content .financial-report-page .dash-quality-grid{display:grid;grid-template-columns:repeat(4,1fr);background:#f6f8fc;border-radius:8px;margin:18px 0;padding:18px}#content .financial-report-page .dash-quality-grid>div{padding:0 14px;border-right:1px solid #e0e6f0;display:flex;align-items:center;gap:13px}#content .financial-report-page .dash-quality-grid>div:last-child{border:0}#content .financial-report-page .dash-quality-grid strong{font-size:25px;color:#314764}#content .financial-report-page .dash-quality-grid span{font-size:11px;color:#74839a}#content .financial-report-page .dash-quality details summary{cursor:pointer;font-size:12px;color:#4b607d}#content .financial-report-page .dash-quality details>p{font-size:12px;color:#75829a}#content .financial-report-page .dash-issues{list-style:none;margin:15px 0;padding:0;max-height:260px;overflow:auto}#content .financial-report-page .dash-issues li{padding:11px 0;border-bottom:1px solid #edf0f7;display:flex;gap:20px;font-size:12px}#content .financial-report-page .dash-issues li b{min-width:180px;font-weight:500}#content .financial-report-page .dash-issues li span{color:#8c6a36}#content .financial-report-page .dash-links{display:flex;gap:10px;margin-top:18px;flex-wrap:wrap}#content .financial-report-page .dash-links button{font-size:12px}#content .financial-report-page .dash-notes{font-size:11px;color:#8290a3;line-height:1.9;padding:0 4px 24px}#content .financial-report-page .dash-notes summary{cursor:pointer}#content .financial-report-page .dash-empty{padding:40px}#content .financial-report-page .dash-empty button{margin-right:10px}#content .financial-report-page .dash-card-picker{display:grid;grid-template-columns:1fr 1fr;gap:5px 18px;max-height:55vh;overflow:auto;font-size:13px}@media(min-width:1500px){#content .financial-report-page .dash-kpis{grid-template-columns:repeat(6,minmax(0,1fr))}#content .financial-report-page .dash-kpi{padding:17px 14px 12px}#content .financial-report-page .dash-kpi strong{font-size:25px}#content .financial-report-page .dash-card-foot{flex-direction:column;gap:4px}}@media(max-width:1100px){#content .financial-report-page .dash-context{align-items:flex-start}#content .financial-report-page .dash-context-actions{flex-direction:column;align-items:flex-end}#content .financial-report-page .dash-analysis{grid-template-columns:1fr}#content .financial-report-page .dash-quality-grid>div{flex-direction:column;align-items:flex-start}}@media(max-width:760px){#content .financial-report-page .dash-filter-grid,#content .financial-report-page .dash-kpis{grid-template-columns:1fr 1fr}#content .financial-report-page .dash-quality-grid{grid-template-columns:1fr 1fr;gap:20px}#content .financial-report-page .dash-context{flex-direction:column}#content .financial-report-page .dash-context-actions{flex-direction:row}#content .financial-report-page .dash-filter-footer{align-items:flex-start;flex-direction:column}#content .financial-report-page .dash-kpi strong{font-size:24px}#content .financial-report-page .dash-section-head{flex-wrap:wrap}}@media(max-width:440px){#content .financial-report-page .dash-filter-grid,#content .financial-report-page .dash-kpis,#content .financial-report-page .dash-card-picker{grid-template-columns:1fr}}
#content .financial-report-page .dash-card-picker label[hidden]{display:none}#content .financial-report-page .dash-ratio-notes{margin-top:15px}

#content .financial-report-page svg.dash-bar-track{display:block;width:100%;height:12px}

/* Breakdown amounts remain table-sized when nested inside a headline KPI card. */
#content .financial-report-page .dash-kpi .dash-bar-row strong{font-size:13px;line-height:1.6;margin:0;letter-spacing:0;overflow-wrap:normal}
#content .financial-report-page .dash-kpi .dash-bar-row>div:first-child{align-items:baseline;flex-wrap:wrap}

/* Dense executive cards: current month above, independent monthly trend below. */
#content .financial-report-page .dash-kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}#content .financial-report-page .dash-kpi{cursor:default;padding:18px 20px 10px}#content .financial-report-page .dash-kpi:hover{background:#fff;border-color:#dce4f0}#content .financial-report-page .dash-kpi strong{margin:10px 0 4px;font-size:30px}#content .financial-report-page .dash-card-title{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#52647e}#content .financial-report-page .dash-spark{width:100%;height:auto;display:block;margin-top:12px;max-height:145px}#content .financial-report-page .dash-spark-empty{height:120px;display:grid;place-items:center;font-size:12px;color:#8b98aa}#content .financial-report-page .dash-dimension-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}#content .financial-report-page .dash-dimension-grid .panel{padding:18px 20px;min-width:0}#content .financial-report-page .dash-dimension-grid h3{margin:0;font-size:14px}#content .financial-report-page .dash-dimension-grid p{font-size:11px}#content .financial-report-page .dash-context p{line-height:1.7}#content .financial-report-page .dash-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(min-width:1600px){#content .financial-report-page .dash-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){#content .financial-report-page .dash-kpis,#content .financial-report-page .dash-dimension-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){#content .financial-report-page .dash-kpis,#content .financial-report-page .dash-dimension-grid{grid-template-columns:1fr}}

#content .financial-report-page .published-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));padding:16px;gap:16px}#content .financial-report-page .published-grid>.dash-kpi{min-width:0}#content .financial-report-page .published-grid .dash-card-title{font-size:16px}#content .financial-report-page .published-grid .dash-bars{margin-top:10px}
 #content .financial-report-page .published-report-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(400px,100%),1fr));gap:16px;padding:16px}#content .financial-report-page .published-report h3{margin:0;font-size:18px}#content .financial-report-page .published-report-rows{margin:14px 0}#content .financial-report-page .published-report-rows>div{display:grid;grid-template-columns:1fr auto;gap:4px 16px;padding:10px 0;border-bottom:1px solid #edf0f5}#content .financial-report-page .published-report-rows>div>small{grid-column:1/-1}#content .financial-report-page .published-report-rows b{font-size:20px}#content .financial-report-page .published-report-rows b small{display:inline;margin-left:6px;font-size:12px;font-weight:400}

/* The dated demo entry lists completed features; briefing remains a planned preview. */
#content .financial-report-page body.demo-reference-active #dashboard-nav [data-view="briefs"]{display:none}
#content .financial-report-page .metric-spark-wrap{position:relative;min-width:0;margin-top:8px}#content .financial-report-page .metric-spark-wrap svg{display:block;width:100%;height:auto}#content .financial-report-page .metric-spark-tip{position:absolute;top:20px;left:50%;transform:translateX(-50%);z-index:4;max-width:96%;padding:5px 8px;border:1px solid #dce4f0;border-radius:6px;background:#fff;box-shadow:0 3px 12px #24395718;color:#39506f;font-size:11px;line-height:1.5;text-align:center;pointer-events:none;overflow-wrap:anywhere}#content .financial-report-page .metric-spark-tip[hidden]{display:none}#content .financial-report-page .metric-spark-wrap [data-spark-value]:focus{outline:none}#content .financial-report-page .metric-spark-wrap [data-spark-value]:focus circle{stroke:#214bc3;stroke-width:3}#content .financial-report-page .dash-card-picker label[hidden]{display:none}

/* Original insights.css; scoped to report pages. */
#content .financial-report-page .ins-filter,#content .financial-report-page .ins-actions,#content .financial-report-page .ins-section-head,#content .financial-report-page .ins-history,#content .financial-report-page .ins-result-title{display:flex;align-items:center;justify-content:space-between;gap:16px}#content .financial-report-page .ins-filter,#content .financial-report-page .ins-query,#content .financial-report-page .ins-history{padding:20px 24px}#content .financial-report-page .ins-filter label,#content .financial-report-page .ins-query-grid>label,#content .financial-report-page .ins-rule-form>label,#content .financial-report-page .ins-history>label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#697a94}#content .financial-report-page .ins-filter input,#content .financial-report-page .ins-query input,#content .financial-report-page .ins-query select,#content .financial-report-page .ins-rule-form input,#content .financial-report-page .ins-rule-form select{font-size:13px;min-width:0}#content .financial-report-page .ins-filter small,#content .financial-report-page .ins-actions small,#content .financial-report-page .ins-section-head small,#content .financial-report-page .ins-result-title small{font-size:12px;color:#7e8da4}#content .financial-report-page .ins-query-grid{display:grid;grid-template-columns:1.6fr 1fr 1.3fr;gap:16px 20px}#content .financial-report-page .ins-query-grid select,#content .financial-report-page .ins-query-grid input{width:100%;height:38px}#content .financial-report-page .ins-actions{border-top:1px solid #e6ebf4;margin-top:18px;padding-top:16px;justify-content:flex-start}#content .financial-report-page .ins-entities{position:relative}#content .financial-report-page .ins-entities summary{border:1px solid #d6dfee;border-radius:7px;padding:10px;cursor:pointer;background:white}#content .financial-report-page .ins-entities>div{position:absolute;z-index:3;background:white;padding:12px;border:1px solid #d6dfee;min-width:250px;box-shadow:0 10px 25px #16305115}#content .financial-report-page .ins-entities label,#content .financial-report-page #ins-rows label{display:flex;gap:10px;align-items:center;padding:7px}#content .financial-report-page .ins-entities input,#content .financial-report-page #ins-rows input,#content .financial-report-page .ins-rule-form input[type=checkbox]{width:16px;height:16px}#content .financial-report-page .ins-select{margin-top:18px;border:1px solid #e0e7f0;padding:12px;border-radius:8px}#content .financial-report-page .ins-select summary, #content .financial-report-page .ins-history summary{cursor:pointer;font-size:13px}#content .financial-report-page .ins-select p{font-size:12px;color:#7c8ba1}#content .financial-report-page #ins-rows{display:grid;grid-template-columns:repeat(3,1fr);max-height:230px;overflow:auto;font-size:12px}#content .financial-report-page .ins-rule-form{display:grid;grid-template-columns:1fr 1fr;gap:18px}#content .financial-report-page .ins-rule-form small{font-size:11px;line-height:1.6}#content .financial-report-page .ins-section-head{margin-bottom:18px}#content .financial-report-page .ins-section-head h2,#content .financial-report-page .ins-result-title h2{font-size:17px;margin:0}#content .financial-report-page .ins-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin:20px 0}#content .financial-report-page .ins-stats>div{background:#f5f8fd;border:1px solid #e2e9f3;border-radius:10px;padding:20px;display:flex;align-items:center;gap:16px}#content .financial-report-page .ins-stats b{font-size:28px;color:#334f80}#content .financial-report-page .ins-stats span{font-size:12px;color:#76869f}#content .financial-report-page #ins-output>.panel{padding:24px}#content .financial-report-page #ins-output .table-wrap td{font-size:12px}#content .financial-report-page #ins-output .muted,#content .financial-report-page .ins-query .muted{font-size:12px;line-height:1.7}#content .financial-report-page .ins-block{display:block;color:#8995a7;font-size:11px;margin-top:4px}#content .financial-report-page .ins-status{white-space:nowrap;background:#eef3f9;padding:5px 8px;border-radius:5px;font-size:12px}#content .financial-report-page .ins-status.hit{background:#fff0ed;color:#a8422c}#content .financial-report-page .ins-status.pending{background:#fff7e7;color:#8e6b26}#content .financial-report-page .ins-highlights{padding-left:20px;line-height:2;font-size:14px}#content .financial-report-page .ins-history{justify-content:flex-start}#content .financial-report-page .ins-history label{min-width:300px}#content .financial-report-page .ins-section-head .button{display:inline-block;border:1px solid #d4dfef;padding:9px 14px;border-radius:7px;margin-right:8px;text-decoration:none;font-size:13px}#content .financial-report-page .ins-result-title{margin:25px 0 10px}@media(max-width:1000px){#content .financial-report-page .ins-query-grid{grid-template-columns:1fr 1fr}#content .financial-report-page #ins-rows{grid-template-columns:1fr 1fr}#content .financial-report-page .ins-stats>div{flex-direction:column;align-items:flex-start}}@media(max-width:650px){#content .financial-report-page .ins-query-grid,#content .financial-report-page .ins-rule-form,#content .financial-report-page #ins-rows{grid-template-columns:1fr}#content .financial-report-page .ins-stats{gap:8px}#content .financial-report-page .ins-stats>div{padding:12px}#content .financial-report-page .ins-section-head,#content .financial-report-page .ins-filter,#content .financial-report-page .ins-history{flex-wrap:wrap}}

/* Original access.css; scoped to report pages. */
#content .financial-report-page .login-page{display:grid;place-items:center;min-height:100vh;padding:24px}#content .financial-report-page .login-card{max-width:500px;width:100%;background:white;border:1px solid var(--line,#dce4ef);border-radius:20px;padding:40px}#content .financial-report-page .login-card h1{font-size:30px}#content .financial-report-page .login-card label,#content .financial-report-page .access-form label{display:block;text-align:left;margin:14px 0}#content .financial-report-page .login-card input{width:100%;margin-top:8px}#content .financial-report-page .login-card p{line-height:1.7;color:#64748b}#content .financial-report-page .login-card #login-error{color:#b42318}#content .financial-report-page .access-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#content .financial-report-page .access-options label{display:flex;gap:8px;align-items:center;margin:0;padding:10px;background:#f6f8fc}#content .financial-report-page .access-options input{width:auto}#content .financial-report-page .access-table small{display:block;color:#64748b}#content .financial-report-page .access-role-note{min-height:40px;line-height:1.6}#content .financial-report-page #auth-self{max-width:170px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#content .financial-report-page body.access-readonly [data-action="edit-mapping"],#content .financial-report-page body.access-readonly [data-business="new"],#content .financial-report-page body.access-readonly [data-action="upload"]{display:none}

#content .financial-report-page [hidden]{display:none!important}

#content .financial-report-page .account-switch-list{display:grid;gap:12px}#content .financial-report-page .account-switch-list button{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px;text-align:left}#content .financial-report-page .account-switch-list strong{font-size:15px}#content .financial-report-page .account-switch-list span{font-size:12px;color:#718096}

#content .financial-report-page .access-matrix{max-height:52vh}#content .financial-report-page .access-matrix th,#content .financial-report-page .access-matrix td{padding:10px;text-align:center}#content .financial-report-page .access-matrix th:first-child{text-align:left;min-width:150px}#content .financial-report-page .access-matrix thead th{position:sticky;top:0;background:#f7f9fc;z-index:2}#content .financial-report-page .access-matrix input{width:16px;height:16px;accent-color:var(--blue)}#content .financial-report-page .access-matrix small{display:block;font-size:10px;font-weight:400;color:#8290a4}#content .financial-report-page .access-matrix .access-group th{background:#edf2fa;font-size:12px;color:#4e6687}#content .financial-report-page .access-form>p{font-size:12px;line-height:1.7}

#content .financial-report-page .access-identity{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}#content .financial-report-page .access-identity label{display:flex;flex-direction:column;gap:6px;margin:0}#content .financial-report-page .access-identity input,#content .financial-report-page .access-identity select{width:100%}#content .financial-report-page .access-form .access-role-note{min-height:0;margin:10px 0 18px}#content .financial-report-page dialog:has(.access-form) .dialog-footer{position:sticky;bottom:0;background:#fff;z-index:3}@media(max-width:600px){#content .financial-report-page .access-identity{grid-template-columns:1fr}}

/* Original workspace.css; scoped to report pages. */
/* 1.28 shared workspace and query layout. Module-specific report formatting stays intact. */
#content .financial-report-page{--sidebar-width:216px;--workspace-gap:16px;--control-height:34px;--radius:10px}
#content .financial-report-page{line-height:1.5}#content .financial-report-page aside{width:var(--sidebar-width);padding:20px 14px;overscroll-behavior:contain}#content .financial-report-page .brand{font-size:16px;margin-bottom:22px}#content .financial-report-page .brand .logo{width:34px;height:38px}#content .financial-report-page .nav-label{margin-top:20px;margin-bottom:7px}#content .financial-report-page nav{gap:2px}#content .financial-report-page nav button{padding:9px 11px;font-size:13px}#content .financial-report-page main{margin-left:var(--sidebar-width);min-width:0}#content .financial-report-page header{height:64px;padding:0 24px;gap:16px}#content .financial-report-page .header-right{gap:10px;min-width:0}#content .financial-report-page #revision{font-size:11px}#content .financial-report-page{padding:24px 24px 40px;max-width:1800px}#content .financial-report-page .title-row{align-items:center;margin-bottom:20px}#content .financial-report-page .title-row h1{font-size:25px;margin:0 0 6px;letter-spacing:-.4px}#content .financial-report-page .eyebrow{font-size:10px;margin-bottom:6px;letter-spacing:1.3px}#content .financial-report-page .subtitle{margin:0;font-size:13px;line-height:1.7}#content .financial-report-page .panel{border-radius:var(--radius);margin-bottom:var(--workspace-gap)}#content .financial-report-page .panel-head{padding:16px 20px;flex-wrap:wrap}#content .financial-report-page .panel-body{padding:20px}#content .financial-report-page .panel-head h2,#content .financial-report-page .ins-section-head h2,#content .financial-report-page .dash-section-head h2{font-size:15px}#content .financial-report-page .actions{flex-wrap:wrap;gap:8px}#content .financial-report-page >.actions{margin-bottom:16px}#content .financial-report-page button,#content .financial-report-page .button{transition:background-color .12s,border-color .12s}#content .financial-report-page button:focus-visible,#content .financial-report-page a:focus-visible,#content .financial-report-page input:focus-visible,#content .financial-report-page select:focus-visible,#content .financial-report-page summary:focus-visible{outline:2px solid #3b6ff5;outline-offset:2px}#content .financial-report-page button,#content .financial-report-page input,#content .financial-report-page select,#content .financial-report-page textarea{font-family:inherit}#content .financial-report-page .notice{margin-bottom:16px}#content .financial-report-page .table-wrap{overscroll-behavior:contain;scrollbar-gutter:stable}#content .financial-report-page th{font-size:12px;font-weight:600}#content .financial-report-page td{padding:11px 14px}#content .financial-report-page table .num{font-variant-numeric:tabular-nums}#content .financial-report-page .panel-head .actions{justify-content:flex-end}#content .financial-report-page .report-sub,#content .financial-report-page .panel-head small{line-height:1.7}#content .financial-report-page .report-heading{align-items:flex-start}#content .financial-report-page .report-heading>div:first-child{min-width:0;flex:1}#content .financial-report-page .report-heading .report-sub{overflow-wrap:anywhere}#content .financial-report-page .report-title{line-height:1.6}#content .financial-report-page .toolbar{gap:10px;margin-bottom:16px}#content .financial-report-page .toolbar label{gap:6px}
/* Keep global account and AI actions visible without removing the header from document flow. */
#content .financial-report-page main > header{position:sticky;top:0;z-index:30;background:#fff}
/* One query surface: periods, fields, optional comparison controls, then actions. */
#content .financial-report-page .query-panel{padding:16px;overflow:visible;border:1px solid var(--line);background:white;border-radius:var(--radius)}#content .financial-report-page .query-panel>.panel-head{padding:0 0 12px;border-bottom:0;justify-content:space-between}#content .financial-report-page .query-panel>.panel-head h2{font-size:14px}#content .financial-report-page .query-panel>.panel-head .report-sub,#content .financial-report-page .query-panel>.panel-head>span{font-size:11px;color:var(--muted)}#content .financial-report-page .query-panel .compare-periods{padding:0 0 10px;gap:8px;grid-template-columns:repeat(6,minmax(0,1fr))}#content .financial-report-page .query-panel .compare-period{background:#f8faff;border-color:#dce5f3;min-height:126px}#content .financial-report-page .query-panel .period-add-row{padding:0;margin:0 0 14px;flex-wrap:wrap;font-size:11px;gap:8px}#content .financial-report-page .query-panel .period-add-row button{font-size:12px;padding:5px 10px}#content .financial-report-page .query-panel .period-kind select{max-width:100%}#content .financial-report-page .query-panel .period-heading strong{font-size:11px}
#content .financial-report-page .query-panel .report-filter-fields{padding:12px 0 0}#content .financial-report-page .query-panel .report-dimensions{border-top:1px solid var(--line);gap:12px 16px;align-items:flex-end}#content .financial-report-page .query-panel .report-dimensions .multi-field,#content .financial-report-page .query-panel .report-dimensions .toolbar>label{display:flex;flex-direction:column;align-items:stretch;gap:6px;font-size:12px;min-width:130px;flex:1}#content .financial-report-page .query-panel .report-dimensions .multi-select{max-width:none;width:100%}#content .financial-report-page .query-panel .multi-select summary{min-height:var(--control-height);padding:7px 9px;font-size:12px}#content .financial-report-page .query-panel .report-dimensions #report-entities{max-width:none}#content .financial-report-page .query-panel .report-options{gap:12px 16px;padding:12px 0 0;align-items:center}#content .financial-report-page .query-panel .report-options label{font-size:12px}#content .financial-report-page .query-panel .report-options select{min-height:var(--control-height);font-size:12px;padding:7px 9px}
#content .financial-report-page .query-fields,#content .financial-report-page .mg-query-grid,#content .financial-report-page .wh-filter-grid,#content .financial-report-page .dash-filter-grid,#content .financial-report-page .ins-query-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px}#content .financial-report-page .query-panel .mg-query-grid{padding-top:14px}#content .financial-report-page .query-panel .wh-query-filters{padding-top:14px}#content .financial-report-page .query-panel .wh-query-filters h3{font-size:12px;margin-bottom:12px}#content .financial-report-page .query-panel .form-field,#content .financial-report-page .query-panel .query-fields>label,#content .financial-report-page .dash-filter-grid>label,#content .financial-report-page .ins-query-grid>label{display:flex;flex-direction:column;align-items:stretch;gap:6px;min-width:0;color:#64758d;font-size:12px;margin:0}#content .financial-report-page .query-panel input:not([type=checkbox]),#content .financial-report-page .query-panel select{height:var(--control-height);padding:7px 9px;font-size:12px;min-width:0;width:100%}#content .financial-report-page .query-panel input[type=checkbox]{width:15px;height:15px;accent-color:var(--blue)}#content .financial-report-page .query-panel .compare-period input,#content .financial-report-page .query-panel .compare-period select{height:auto;padding:3px 6px 3px 2px;font-size:10.5px;width:auto}#content .financial-report-page .query-panel .compare-period .year-month select{width:0;min-width:0}#content .financial-report-page .query-panel .compare-period .period-preset select:first-child{width:55px}#content .financial-report-page .query-panel .compare-period .period-preset select:last-child{width:0}#content .financial-report-page .query-panel :is(.mg-entity-picker,.dash-entities,.ins-entities)>summary{min-height:var(--control-height);padding:7px 9px;font-size:12px;background:#fff;border:1px solid #dbe2ec;border-radius:7px}#content .financial-report-page .query-panel :is(.mg-entity-picker,.dash-entities,.ins-entities)>div{z-index:10;max-width:min(420px,80vw);max-height:320px;overflow:auto}#content .financial-report-page .query-panel .mg-query-footer{margin-top:14px;font-size:12px}#content .financial-report-page .query-panel .mg-query-footer>label:first-child{display:flex;gap:8px;align-items:center}#content .financial-report-page .query-panel .mg-query-footer select{width:auto}
#content .financial-report-page .query-panel .query-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-start;gap:8px;border-top:1px solid var(--line);margin:14px 0 0;padding:12px 0 0;background:transparent;border-radius:0}#content .financial-report-page .query-panel .query-actions button{min-height:var(--control-height);padding:7px 13px;font-size:12px}#content .financial-report-page .query-panel .query-actions :is(small,.tiny,#dash-pending){font-size:11px;line-height:1.6;color:#7b8ba2;flex:1;min-width:180px;text-align:left}#content .financial-report-page .query-panel .wh-query-footer{display:block}#content .financial-report-page .query-panel .wh-query-footer>.wh-check{margin-top:12px;font-size:12px}#content .financial-report-page .query-panel .wh-query-buttons small{flex-basis:auto}#content .financial-report-page .query-panel .dash-filter-footer #dash-pending{order:2}#content .financial-report-page .query-panel .dash-filter-footer button{order:1}#content .financial-report-page .query-panel .ins-select{padding:10px;margin-top:14px}#content .financial-report-page .query-panel.ins-filter{display:flex;justify-content:flex-start;flex-wrap:wrap;gap:16px}#content .financial-report-page .query-panel.ins-filter input{min-width:160px}#content .financial-report-page .query-panel.ins-filter label{margin:0}#content .financial-report-page .ins-history{padding:16px 20px;gap:12px}#content .financial-report-page .ins-section-head{flex-wrap:wrap}#content .financial-report-page .ins-stats{gap:12px}#content .financial-report-page .ins-stats>div{padding:16px}#content .financial-report-page .mg-history{padding:14px 20px;border:1px solid var(--line);border-radius:var(--radius);background:#fff}#content .financial-report-page .mg-history select{max-width:480px}#content .financial-report-page .wh-stats{gap:12px;font-size:12px;flex-wrap:wrap}#content .financial-report-page .mg-report .table-wrap,#content .financial-report-page .comparison-table .table-wrap{max-height:68vh}
#content .financial-report-page #query-progress{position:fixed;right:24px;bottom:22px;z-index:50;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dce5f5;border-radius:9px;box-shadow:0 6px 24px #20365816;padding:11px 16px;color:#496182;font-size:12px;pointer-events:none}#content .financial-report-page #query-progress[hidden]{display:none}#content .financial-report-page #query-progress:before{content:'';width:14px;height:14px;border:2px solid #dce5f5;border-top-color:var(--blue);border-radius:50%;animation:query-spin .8s linear infinite}@keyframes query-spin{to{transform:rotate(360deg)}}
@media(min-width:1180px){#content .financial-report-page .query-panel .compare-periods{grid-template-columns:repeat(6,minmax(0,1fr))}}
@media(max-width:1179px){#content .financial-report-page{--sidebar-width:198px}#content .financial-report-page{padding:20px}#content .financial-report-page .query-panel .compare-periods{grid-template-columns:repeat(3,minmax(0,1fr))}#content .financial-report-page .query-fields,#content .financial-report-page .mg-query-grid,#content .financial-report-page .wh-filter-grid,#content .financial-report-page .dash-filter-grid,#content .financial-report-page .ins-query-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#content .financial-report-page header{padding:0 20px}#content .financial-report-page #revision{display:none}}
@media(max-width:760px){#content .financial-report-page aside{position:relative;width:100%;height:auto;max-height:45vh;padding:16px}#content .financial-report-page main{margin-left:0}#content .financial-report-page header{height:auto;min-height:60px;flex-wrap:wrap;padding:12px 16px}#content .financial-report-page .header-right{flex-wrap:wrap}#content .financial-report-page{padding:16px}#content .financial-report-page .title-row{align-items:flex-start;flex-wrap:wrap}#content .financial-report-page .query-panel .compare-periods{grid-template-columns:repeat(2,minmax(0,1fr))}#content .financial-report-page .query-panel{padding:14px}#content .financial-report-page .panel-head{padding:14px}#content .financial-report-page .panel-head .actions{justify-content:flex-start}}
@media(max-width:480px){#content .financial-report-page .query-fields,#content .financial-report-page .mg-query-grid,#content .financial-report-page .wh-filter-grid,#content .financial-report-page .dash-filter-grid,#content .financial-report-page .ins-query-grid{grid-template-columns:1fr}#content .financial-report-page .ins-history label{min-width:0}#content .financial-report-page .ins-stats{grid-template-columns:1fr}#content .financial-report-page .mg-history select{max-width:100%}#content .financial-report-page .title-row h1{font-size:23px}#content .financial-report-page .query-panel .query-actions small{flex-basis:100%}}
@media(prefers-reduced-motion:reduce){#content .financial-report-page *,#content .financial-report-page *:before,#content .financial-report-page *:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition:none!important}}
#content .financial-report-page .query-more{margin-top:12px;border-top:1px solid var(--line);padding-top:12px}#content .financial-report-page .query-more>summary{cursor:pointer;font-size:12px;font-weight:600;color:#50647f;list-style-position:inside}#content .financial-report-page .query-more>summary>span{font-weight:400;font-size:11px;color:#8392a6;margin-left:10px}#content .financial-report-page .query-more[open]>summary{margin-bottom:12px}#content .financial-report-page .query-more .query-fields{grid-template-columns:repeat(3,minmax(0,1fr))}#content .financial-report-page .query-more .report-dimensions{border:0;padding:0}#content .financial-report-page .query-panel:has(#wh-filter-dim option:checked[value=""]) .form-field:has(#wh-filter-value),#content .financial-report-page .query-panel:has(#mg-query-dimension option:checked[value=""]) .form-field:has(#mg-query-value),#content .financial-report-page .query-panel:has(#dash-dimension option:checked[value=""]) label:has(#dash-value),#content .financial-report-page .query-panel:has(#ins-dimension option:checked[value=""]) label:has(#ins-value){display:none}#content .financial-report-page .query-panel .report-dimensions .toolbar>label{max-width:320px}#content .financial-report-page .query-panel .report-dimensions .toolbar>label>select{min-width:150px}#content .financial-report-page .query-panel .report-dimensions>.subject-filter{display:contents}#content .financial-report-page .query-panel .report-dimensions .subject-filter>label{flex:1}#content .financial-report-page .query-panel .report-dimensions .subject-filter>.multi-field{flex:1}#content .financial-report-page .query-panel .wh-query-filters>.wh-filter-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:650px){#content .financial-report-page .query-more .query-fields,#content .financial-report-page .query-panel .wh-query-filters>.wh-filter-grid{grid-template-columns:1fr}#content .financial-report-page .query-more>summary>span{display:block;margin:5px 0 0}}
#content .financial-report-page .query-more{margin-bottom:0;padding-top:10px}#content .financial-report-page .query-more>summary{padding:2px 0}#content .financial-report-page .query-panel.ledger-filters>.toolbar{margin-bottom:12px}#content .financial-report-page .query-panel.ledger-filters .report-filter-fields{padding:0}#content .financial-report-page .query-panel.ledger-filters .multi-field{font-size:12px}#content .financial-report-page .query-panel.ledger-filters .toolbar select{width:auto}#content .financial-report-page .query-panel.ledger-filters .query-more .toolbar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:12px}#content .financial-report-page .query-panel.ledger-filters .query-more .multi-field{display:flex;flex-direction:column;align-items:stretch}#content .financial-report-page .query-panel.ledger-filters .query-more .multi-select{max-width:none}#content .financial-report-page .query-panel.ledger-filters input[type=search]{width:auto;flex:1}

#content .financial-report-page .query-panel :is(.mg-entity-picker,.dash-entities,.ins-entities){margin:0;padding:0;border:0;background:transparent}#content .financial-report-page .query-panel :is(.mg-entity-picker,.dash-entities,.ins-entities)>summary{height:var(--control-height)}
@media(max-width:650px){#content .financial-report-page .query-panel.ledger-filters .query-more .toolbar{grid-template-columns:1fr}}

#content .financial-report-page .query-panel.ledger-filters .query-fields>.multi-field{display:flex;flex-direction:column;gap:6px;align-items:stretch;color:#64758d}#content .financial-report-page .query-panel.ledger-filters .query-fields .multi-select{max-width:none;width:100%}#content .financial-report-page .query-panel label:has(>select:is(#mg-query-dimension,#dash-dimension,#ins-dimension):not(:has(option:nth-child(2)))){display:none}

#content .financial-report-page .ins-rules>.ins-section-head{padding:16px 20px;margin:0}#content .financial-report-page .ins-rules>p{padding:0 20px 16px;margin:12px 0 0;font-size:12px;line-height:1.7}

/* Shared date and form controls, including modal editors. */
#content .financial-report-page .month-picker{display:flex;gap:6px;min-width:0;width:100%}#content .financial-report-page .month-picker select{flex:1;min-width:0!important;width:0!important;min-height:34px;padding:7px 9px;font-size:12px;border:1px solid #dbe2ec;border-radius:7px;background:#fff;color:#253349}#content .financial-report-page .month-picker select:first-child{flex:1.3}#content .financial-report-page .form-field>input,#content .financial-report-page .form-field>select,#content .financial-report-page .form-field>textarea{width:100%;min-width:0}#content .financial-report-page .form-field>input,#content .financial-report-page .form-field>select{min-height:34px}#content .financial-report-page .form-field{font-size:12px;color:#64758d}#content .financial-report-page .form-field>textarea{padding:9px;border:1px solid #dbe2ec;border-radius:7px;font-size:13px;line-height:1.6}

/* Workspace and business line context; loaded through the existing stylesheet. */
#content .financial-report-page #business-line-context{display:flex;align-items:center;gap:24px;padding:12px 28px;background:#f4f7f5;border-bottom:1px solid #e0e7e2}#content .financial-report-page #business-line-context label{display:flex;align-items:center;gap:10px}#content .financial-report-page #business-line-context select{min-width:180px}#content .financial-report-page .module-data-policy{min-width:180px;max-width:230px}#content .financial-report-page .module-data-policy summary{cursor:pointer;font-size:12px;padding:8px 0}#content .financial-report-page .module-data-policy label{display:block;font-size:12px;margin:10px 0}#content .financial-report-page .module-data-policy select{width:100%}#content .financial-report-page .module-data-policy select[multiple]{height:80px;margin-top:5px}#content .financial-report-page .module-data-policy input{width:100%}
@media(max-width:760px){#content .financial-report-page #business-line-context{flex-wrap:wrap;gap:10px;padding:12px 16px}}

#content .financial-report-page .mg-account-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;padding:16px 18px;border-bottom:1px solid #e5eaf0}#content .financial-report-page .mg-account-filters label{display:grid;gap:6px;font-size:12px;color:#738299}#content .financial-report-page .mg-account-filters label:first-child{flex:1;min-width:180px}#content .financial-report-page .mg-account-filters input,#content .financial-report-page .mg-account-filters select{width:100%}#content .financial-report-page .mg-account-filters small{color:#7b889b;padding-bottom:9px}#content .financial-report-page .mg-library-filters{padding:0 0 14px;margin-bottom:12px}#content .financial-report-page .mg-library-filters label{width:100%}#content .financial-report-page .mg-library-item[hidden],#content .financial-report-page [data-mg-account-item][hidden],#content .financial-report-page [data-mg-account-empty][hidden]{display:none!important}
/* Executive views and four-foundation monthly status. */
#content .financial-report-page .executive-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 22px;padding:6px;background:#eaf0f8;border-radius:12px;width:fit-content}#content .financial-report-page .executive-tabs button{border:0;background:transparent;padding:11px 18px;color:#66768e}#content .financial-report-page .executive-tabs button.active{background:#fff;color:#3156d8;box-shadow:0 2px 8px #21385c12;font-weight:650}#content .financial-report-page .integrity-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:20px}#content .financial-report-page .integrity-summary article{padding:20px;background:#fff;border:1px solid #e2e8f0;border-radius:12px}#content .financial-report-page .integrity-summary strong{display:block;margin:10px 0;color:#314b72;font-size:18px}#content .financial-report-page .integrity-summary small{display:block;color:#73819a;margin-top:8px}#content .financial-report-page .integrity-details{margin-bottom:14px}#content .financial-report-page .integrity-details>summary{cursor:pointer;list-style:none}#content .financial-report-page .source-path{white-space:pre-wrap;overflow-wrap:anywhere;background:#f5f7fb;border-radius:8px;padding:12px;font:12px/1.6 system-ui}#content .financial-report-page .alloc-matrix small,#content .financial-report-page .integrity-details small{display:block}#content .financial-report-page .account-switch-list button span{display:block;font-size:12px;color:#75839a;margin-top:6px}@media(max-width:1100px){#content .financial-report-page .integrity-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){#content .financial-report-page .executive-tabs{width:100%}#content .financial-report-page .executive-tabs button{padding:10px}#content .financial-report-page .integrity-summary{grid-template-columns:1fr}}

#content .financial-report-page .executive-filters{display:flex;flex-wrap:wrap;align-items:flex-end;gap:12px}#content .financial-report-page .executive-filters>label{flex:1;min-width:180px;max-width:320px}#content .financial-report-page .executive-filters>button{align-self:flex-end;min-height:38px}
/* The CEO edition states its environment once; source details remain accessible. */
#content .financial-report-page aside footer .environment-note{position:relative;margin:0 0 7px;color:#647b94}
#content .financial-report-page aside footer .environment-note>summary{display:flex;align-items:center;gap:7px;cursor:pointer;list-style:none;font-size:12px}
#content .financial-report-page aside footer .environment-note>div{position:absolute;bottom:26px;left:0;z-index:40;width:230px;max-width:80vw;padding:12px;border:1px solid var(--line);border-radius:8px;background:white;box-shadow:0 6px 22px #24395718;color:#6d7f97;font-size:12px;line-height:1.8}
#content .financial-report-page .presentation-context{position:relative;flex:none;margin:0;font-size:11px;color:#687c98}
#content .financial-report-page .presentation-context>summary{list-style:none;cursor:pointer;padding:6px 9px;border:1px solid #dce5f2;border-radius:6px;background:#f8faff;white-space:nowrap}
#content .financial-report-page .presentation-context>div{position:absolute;right:0;top:calc(100% + 8px);z-index:45;width:260px;padding:13px;background:white;border:1px solid var(--line);border-radius:8px;box-shadow:0 6px 22px #24395718;line-height:1.8}
#content .financial-report-page .presentation-context p{margin:6px 0 10px;font-size:12px}
#content .financial-report-page #demo-reference[hidden]{display:none}
#content .financial-report-page .source-notes{margin:10px 0 16px;color:#7d8da3;font-size:11px;text-align:left}
#content .financial-report-page .source-notes>summary{cursor:pointer;line-height:20px}
#content .financial-report-page .source-notes>div{padding:9px 12px;margin-top:6px;border-radius:7px;background:#f8faff;line-height:1.8;overflow-wrap:anywhere}
#content .financial-report-page .query-pending{font-size:12px;color:#9a742b;margin:8px 0}
#content .financial-report-page .query-pending:empty{display:none}
@media(max-width:760px){#content .financial-report-page .presentation-context>div{left:0;right:auto;max-width:calc(100vw - 40px)}}
/* Shared sidebar navigation. Do not keep these rules in feature stylesheets. */
#content .financial-report-page body>aside{overflow-y:auto}
#content .financial-report-page body>aside button.nav-label{display:flex;flex:none;width:100%;justify-content:space-between;align-items:center;min-height:34px;border:0;background:transparent;text-align:left;padding:10px 10px 6px;margin:6px 0 0;border-radius:6px;color:#798789;font-size:12px;font-weight:500;letter-spacing:0;box-shadow:none}
#content .financial-report-page body>aside button.nav-label:hover{background:#f6f8fc;color:#526987}
#content .financial-report-page body>aside .nav-label[aria-expanded=true]{color:#25756b}
#content .financial-report-page body>aside .nav-label>span{display:block;width:6px;height:6px;margin-right:3px;font-size:0;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg)}
#content .financial-report-page body>aside .nav-label[aria-expanded=false]>span{transform:rotate(-45deg)}
#content .financial-report-page body>aside nav{padding-left:4px}
#content .financial-report-page body>aside nav button{min-height:34px;padding:8px 11px;border-radius:7px;line-height:20px;font-size:13px}
#content .financial-report-page body>aside :is(nav.nav-collapsed,nav[hidden],.nav-label[hidden]){display:none}

#content .financial-report-page body>aside button.nav-direct{display:block;flex:none;width:100%;min-height:36px;margin:8px 0 3px;padding:9px 10px;border:0;border-radius:7px;background:transparent;text-align:left;font-size:13px;font-weight:600;color:#5e7089;box-shadow:none}#content .financial-report-page body>aside button.nav-direct:hover{background:#f6f8fc}#content .financial-report-page body>aside button.nav-direct.active{color:#315df4;background:#edf1ff}#content .financial-report-page body>aside button.nav-direct[hidden]{display:none}

/* Keep the workspace visible on a phone; existing group folding stays intact. */
#content .financial-report-page #mobile-menu-toggle{display:none}
@media(max-width:760px){
 #content .financial-report-page body>aside{position:sticky;top:0;z-index:80;display:block;height:auto;max-height:75dvh;padding:12px 16px;border-bottom:1px solid var(--line);background:#fff}
 #content .financial-report-page body>aside>.brand{margin:0;min-height:48px;padding-right:64px}
 #content .financial-report-page body>aside>#mobile-menu-toggle{display:block;position:absolute;top:20px;right:16px;min-height:36px;padding:6px 12px;font-size:13px}
 #content .financial-report-page body>aside:not(.mobile-nav-open)>:not(.brand):not(#mobile-menu-toggle){display:none!important}
 #content .financial-report-page body>aside.mobile-nav-open>.brand{margin-bottom:12px}
 #content .financial-report-page body>aside.mobile-nav-open nav{flex-direction:column;overflow:visible;align-items:stretch}
 #content .financial-report-page body>aside.mobile-nav-open nav button{text-align:left;flex:none}
}

/* Original warehouse_catalog.css; scoped to report pages. */
#content .financial-report-page .wc-shell{max-width:1580px;margin:auto;color:#273c57}#content .financial-report-page .wc-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}#content .financial-report-page .wc-eyebrow{font-size:10px;letter-spacing:2px;color:#5573bb;font-weight:650;margin-bottom:12px}#content .financial-report-page .wc-heading h1{font-size:28px;line-height:1.4;margin:0 0 10px}#content .financial-report-page .wc-heading p{font-size:12px;color:#8290a7;margin:0;line-height:1.7}#content .financial-report-page .wc-heading .actions{flex-shrink:0}#content .financial-report-page .wc-overview{display:flex;align-items:center;gap:28px;background:#fff;border:1px solid #e0e7f0;border-radius:10px;padding:17px 22px;margin-bottom:18px;font-size:12px;color:#8390a5}#content .financial-report-page .wc-overview b{font-size:22px;color:#3d5277;margin-right:7px;font-weight:650}#content .financial-report-page .wc-overview small{margin-left:auto;font-size:10px}#content .financial-report-page .wc-catalog-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:25px;flex-wrap:wrap}#content .financial-report-page .wc-categories{display:flex;gap:4px;flex-wrap:wrap}#content .financial-report-page .wc-btn{background:white;border:1px solid #dee5ef;border-radius:6px;color:#586d8c;font:inherit;font-size:11px;padding:8px 11px;cursor:pointer;white-space:nowrap}#content .financial-report-page .wc-btn:hover{background:#f1f5ff;border-color:#b9c7e7}#content .financial-report-page .wc-btn.selected{background:#e8efff;border-color:#d3dffd;color:#345dd1}#content .financial-report-page .wc-btn.primary{background:#edf3ff;border-color:#dae5ff;color:#345fca;font-weight:600}#content .financial-report-page .wc-query-buttons .primary{background:#315ff4;border-color:#315ff4;color:white}#content .financial-report-page .wc-btn.link{border:0;background:transparent;padding:3px 0;color:#3962c0}#content .financial-report-page .wc-search{display:flex;gap:7px}#content .financial-report-page .wc-search input{width:210px;font-size:11px}#content .financial-report-page .wc-section-label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:24px 0 13px}#content .financial-report-page .wc-section-label h2{font-size:14px;margin:0}#content .financial-report-page .wc-section-label h2 span{margin-left:7px;color:#9da9bd;font-size:12px;font-weight:400}#content .financial-report-page .wc-section-label small{font-size:10px;color:#95a2b7}#content .financial-report-page .wc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin-bottom:24px;align-items:start}#content .financial-report-page .wc-card{background:white;border:1px solid #dee6ef;border-radius:10px;padding:17px;min-width:0;position:relative;transition:border-color .15s,box-shadow .15s}#content .financial-report-page .wc-card:hover{border-color:#a9bee4;box-shadow:0 5px 18px #294f8410}#content .financial-report-page .wc-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}#content .financial-report-page .wc-source-icon{width:35px;height:35px;border-radius:9px;background:#edf2ff;color:#5c78c3;display:grid;place-items:center;font-size:16px;font-weight:650}#content .financial-report-page .wc-source-icon.wechat{background:#ebf8ee;color:#339366}#content .financial-report-page .wc-source-icon.alipay{background:#eaf4ff;color:#368bcb}#content .financial-report-page .wc-source-icon.bank{background:#fff2e7;color:#b98953}#content .financial-report-page .wc-source-icon.expense,#content .financial-report-page .wc-source-icon.salary,#content .financial-report-page .wc-source-icon.purchase{background:#f2edfc;color:#8a70b3}#content .financial-report-page .wc-badge{font-size:9px;padding:4px 7px;background:#eff4fc;color:#6f86a8;border-radius:4px;white-space:nowrap}#content .financial-report-page .wc-badge.demo{background:#f4f5f7;color:#8a94a5}#content .financial-report-page .wc-badge.ready{background:#eaf6f0;color:#4d987c}#content .financial-report-page .wc-badge.waiting{background:#fff5e5;color:#ab8744}#content .financial-report-page .wc-card h3{font-size:14px;line-height:1.5;margin:0 0 3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#content .financial-report-page .wc-system{font-size:10px;color:#97a4b8}#content .financial-report-page .wc-description{font-size:10px;line-height:1.7;color:#8392a9;height:34px;margin:12px 0;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}#content .financial-report-page .wc-card-meta{display:flex;justify-content:space-between;align-items:baseline;margin-top:12px;font-size:10px;color:#95a0b2}#content .financial-report-page .wc-card-meta strong{font-size:22px;font-weight:650;color:#344d73;font-variant-numeric:tabular-nums}#content .financial-report-page .wc-card-meta small{font-size:10px;font-weight:400;color:#8c9ab0}#content .financial-report-page .wc-updated{font-size:9px;color:#a0acbe;margin:8px 0 13px}#content .financial-report-page .wc-card-actions{border-top:1px solid #eef1f6;padding-top:11px;display:flex;gap:6px;align-items:center}#content .financial-report-page .wc-card-actions>.wc-btn:first-child{flex:1}#content .financial-report-page .wc-card-actions button{padding:7px 8px;font-size:10px}#content .financial-report-page .wc-card-more{border:0;padding:8px 0 0;margin:0;font-size:10px;color:#90a0b6}#content .financial-report-page .wc-card-more summary{cursor:pointer}#content .financial-report-page .wc-card-more button{font-size:10px;margin:8px 4px 0 0}#content .financial-report-page .wc-note{font-size:11px;color:#8695aa;line-height:1.9;padding:13px 16px;border:1px solid #e3eaf4;background:#f7faff;border-radius:8px;margin:17px 0}#content .financial-report-page .wc-note.warning{background:#fff7eb;color:#a0814d;border-color:#ecdfc9}#content .financial-report-page .wc-empty{text-align:center;padding:40px;color:#95a2b7;font-size:12px}#content .financial-report-page .wc-query-form{background:white;border:1px solid #dee6f0;border-radius:10px;padding:20px}#content .financial-report-page .wc-query-form label{display:flex;flex-direction:column;gap:8px;font-size:10px;color:#8493aa;min-width:0}#content .financial-report-page .wc-query-form input,#content .financial-report-page .wc-query-form select{width:100%;min-width:0;font-size:11px;padding:9px;color:#4d6280}#content .financial-report-page .wc-query-top{display:grid;grid-template-columns:1.3fr 1.3fr 1fr 1fr auto;gap:12px;align-items:end}#content .financial-report-page .wc-query-buttons{display:flex;gap:6px;padding-bottom:1px}#content .financial-report-page .wc-query-more{display:grid;grid-template-columns:1fr 1fr 1fr 1.5fr;gap:12px;margin-top:17px;padding-top:15px;border-top:1px solid #f0f3f8;align-items:end}#content .financial-report-page .wc-query-more span{font-size:10px;color:#9aa7ba;line-height:1.8;padding-bottom:6px}#content .financial-report-page .wc-results{background:#fff;border:1px solid #dfe7f0;border-radius:10px;overflow:hidden}#content .financial-report-page .wc-results-head{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:19px 22px}#content .financial-report-page .wc-results-head strong{font-size:14px;margin-right:12px}#content .financial-report-page .wc-results-head p{font-size:10px;color:#8c9bb0;margin:8px 0 0}#content .financial-report-page .wc-results-head>span{font-size:10px;color:#94a1b5}#content .financial-report-page .wc-table-wrap{overflow:auto;max-height:620px}#content .financial-report-page .wc-table{width:100%;border-collapse:separate;border-spacing:0;font-size:11px;white-space:nowrap}#content .financial-report-page .wc-table th{position:sticky;top:0;z-index:2;background:#f6f8fc;text-align:left;color:#8e9bb0;font-size:10px;font-weight:500;border-bottom:1px solid #e7edf5;padding:13px 15px}#content .financial-report-page .wc-table td{padding:12px 15px;border-bottom:1px solid #edf1f6;max-width:300px;overflow:hidden;text-overflow:ellipsis;color:#526786;font-variant-numeric:tabular-nums}#content .financial-report-page .wc-table td small{display:block;font-size:9px;color:#a2adc0;margin-top:4px}#content .financial-report-page .wc-table .wc-pin{position:sticky;left:0;background:#fff;z-index:1;border-right:1px solid #edf1f6;min-width:103px}#content .financial-report-page .wc-table th.wc-pin{z-index:3;background:#f6f8fc}#content .financial-report-page .wc-table tr:hover td{background:#f9fbff}#content .financial-report-page .wc-pagination{display:flex;justify-content:space-between;padding:15px 20px;align-items:center;gap:15px;font-size:10px;color:#93a2b8}#content .financial-report-page .wc-pagination>div{display:flex;gap:7px}#content .financial-report-page .wc-record-top p{color:#8a9bb1;font-size:11px;line-height:1.8}#content .financial-report-page .wc-record-top{margin-bottom:20px}
@media(min-width:1550px){#content .financial-report-page .wc-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:1150px){#content .financial-report-page .wc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#content .financial-report-page .wc-query-top{grid-template-columns:1fr 1fr}#content .financial-report-page .wc-query-buttons{grid-column:1/-1;justify-content:flex-end}#content .financial-report-page .wc-query-more{grid-template-columns:1fr 1fr 1fr}#content .financial-report-page .wc-query-more span{display:none}#content .financial-report-page .wc-overview{gap:18px;flex-wrap:wrap}#content .financial-report-page .wc-overview small{margin:0}}@media(max-width:760px){#content .financial-report-page .wc-heading{flex-direction:column;align-items:flex-start}#content .financial-report-page .wc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#content .financial-report-page .wc-card{padding:13px}#content .financial-report-page .wc-section-label small{display:none}#content .financial-report-page .wc-card-actions{flex-wrap:wrap}#content .financial-report-page .wc-card-actions>.wc-btn:first-child{flex-basis:100%}#content .financial-report-page .wc-query-more{grid-template-columns:1fr 1fr}#content .financial-report-page .wc-query-more label:last-of-type{grid-column:1/-1}#content .financial-report-page .wc-results-head{align-items:flex-start;flex-direction:column}#content .financial-report-page .wc-pagination{flex-wrap:wrap}#content .financial-report-page .wc-overview{gap:12px;padding:14px}#content .financial-report-page .wc-overview b{font-size:18px}#content .financial-report-page .wc-heading h1{font-size:25px}#content .financial-report-page .wc-search{width:100%}#content .financial-report-page .wc-search input{flex:1}#content .financial-report-page .wc-card h3{font-size:12px}}

/* Original settings.css; scoped to report pages. */
#content .financial-report-page .settings-entry{margin-top:20px;padding-top:14px;border-top:1px solid #e1e7ec}#content .financial-report-page .settings-entry>button{width:100%;text-align:left;border:0;background:none;white-space:normal}#content .financial-report-page .settings-entry #system-settings-open{font-weight:600;padding:10px 11px}#content .financial-report-page .settings-entry #system-settings-open.active{background:#eaf3ef;color:#17695d}#content .financial-report-page .settings-entry #scope-context{font-size:11px;color:#869399;padding:5px 11px;line-height:1.6;overflow-wrap:anywhere}#content .financial-report-page .settings-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}#content .financial-report-page .settings-heading h1{margin:0;font-size:25px}#content .financial-report-page .settings-heading p{margin:6px 0 0;color:#829096}#content .financial-report-page .settings-scope{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#73828b;max-width:320px;min-width:190px}#content .financial-report-page .settings-scope select{width:100%;font-size:13px}#content .financial-report-page .settings-layout{display:grid;grid-template-columns:178px minmax(0,1fr);gap:24px;align-items:start}#content .financial-report-page .settings-menu{display:flex;flex-direction:column;position:sticky;top:85px;max-height:calc(100vh - 110px);overflow-y:auto;gap:3px;padding-right:8px}#content .financial-report-page .settings-menu button{width:100%;text-align:left;border:0;background:transparent;border-radius:7px;font-size:12px;padding:8px 10px;white-space:normal;min-height:34px}#content .financial-report-page .settings-menu button.active{background:#e7efed;color:#166a5d;font-weight:600}#content .financial-report-page .settings-menu-group{margin-top:10px}#content .financial-report-page .settings-menu-group>strong{display:block;color:#87949a;font-size:11px;font-weight:500;padding:8px 10px 5px}#content .financial-report-page .settings-body{min-width:0}#content .financial-report-page .settings-body>.title-row .eyebrow{display:none}#content .financial-report-page .settings-body>.title-row h1{font-size:21px}#content .financial-report-page .settings-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}#content .financial-report-page .settings-cards .panel{margin-bottom:0}#content .financial-report-page .settings-card .panel-head small{display:block;color:#8a969b;margin-top:5px;font-size:12px}#content .financial-report-page .settings-card-links{padding:6px 10px 10px}#content .financial-report-page .settings-card-links>button{display:flex;width:100%;align-items:center;justify-content:space-between;gap:12px;border:0;background:none;text-align:left;padding:12px 10px;white-space:normal}#content .financial-report-page .settings-card-links strong{font-size:13px;font-weight:500}#content .financial-report-page .settings-card-links small{display:block;font-size:12px;color:#8a969b;margin-top:4px;line-height:1.6}#content .financial-report-page .settings-card-links>button:hover{background:#f4f8f6}#content .financial-report-page .settings-card-links>button>span:last-child{color:#90a09b}#content .financial-report-page .settings-form>.panel-body{line-height:1.7}#content .financial-report-page .settings-form-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:16px 20px;border-top:1px solid #e7ecef}#content .financial-report-page .settings-form input:not([type=checkbox]),#content .financial-report-page .settings-form select{max-width:100%}#content .financial-report-page .settings-form .ai-settings-form{max-width:760px}#content .financial-report-page .settings-metric-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:440px;overflow:auto;gap:8px 20px;padding:12px 0}#content .financial-report-page .settings-metric-picker label{display:flex;align-items:center;gap:8px;font-size:13px}#content .financial-report-page .settings-menu[hidden],#content .financial-report-page .settings-card[hidden]{display:none}@media(min-width:1600px){#content .financial-report-page .settings-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:1100px){#content .financial-report-page .settings-cards{grid-template-columns:1fr}#content .financial-report-page .settings-layout{grid-template-columns:155px minmax(0,1fr);gap:16px}}@media(max-width:760px){#content .financial-report-page .settings-heading{align-items:flex-start;flex-direction:column}#content .financial-report-page .settings-scope{width:100%;max-width:none}#content .financial-report-page .settings-layout{grid-template-columns:1fr}#content .financial-report-page .settings-menu{position:static;display:flex;flex-direction:row;overflow-x:auto;max-height:180px;flex-wrap:wrap;gap:6px}#content .financial-report-page .settings-menu-group{display:contents}#content .financial-report-page .settings-menu-group>strong{display:none}#content .financial-report-page .settings-menu button{width:auto;border:1px solid #e1e8e5}#content .financial-report-page .settings-metric-picker{grid-template-columns:1fr}}@media(max-width:1100px){}@media(max-width:760px){}
 #content .financial-report-page .navigation-order{display:grid;gap:12px}#content .financial-report-page .navigation-order-row{display:flex;align-items:center;justify-content:space-between;padding:8px 18px;border-top:1px solid #edf0f5}#content .financial-report-page .navigation-order button{white-space:nowrap}

#content .financial-report-page .ai-config-change{border-top:1px solid var(--line);padding:12px 0}#content .financial-report-page .ai-config-change h3{margin:0 0 10px}#content .financial-report-page .ai-config-layout{max-height:400px;overflow:auto}#content .financial-report-page .ai-config-change td{vertical-align:top;min-width:120px}#content .financial-report-page .ai-config-change td.wrap-cell{max-width:420px;overflow-wrap:anywhere;white-space:pre-wrap}

#content .financial-report-page .mg-filter-row{grid-template-columns:minmax(100px,1fr) minmax(120px,1fr) auto}@media(max-width:650px){#content .financial-report-page .mg-filter-row{grid-template-columns:1fr 1fr}}

#content .financial-report-page .ai-config-request{margin-top:14px}
#content .financial-report-page .ai-config-level-1 td:first-child{padding-left:12px}#content .financial-report-page .ai-config-level-2 td:first-child{padding-left:24px}#content .financial-report-page .ai-config-level-3 td:first-child{padding-left:36px}#content .financial-report-page .ai-config-level-4 td:first-child{padding-left:48px}#content .financial-report-page .ai-config-level-5 td:first-child{padding-left:60px}#content .financial-report-page .ai-config-level-6 td:first-child{padding-left:72px}

#content .financial-report-page .push-weekdays{display:flex;flex-wrap:wrap;gap:16px;margin:18px 0}#content .financial-report-page .push-weekdays label,#content .financial-report-page .push-consent{display:flex;gap:6px;align-items:center}#content .financial-report-page .push-guide{background:#f5f8fd;padding:18px;border-radius:8px;margin:18px 0}#content .financial-report-page .push-guide li{margin:8px 0}#content .financial-report-page .push-consent{margin:20px 0;color:#4d5d76}#content .financial-report-page .push-content{padding:16px 0;border-top:1px solid #e5ebf3}#content .financial-report-page .title-row>button{align-self:center;white-space:nowrap}

/* Keep each retention option and its controls in one compact row. */
#content .financial-report-page .bh-schedule .panel-head{flex-wrap:wrap;padding:14px 20px}
#content .financial-report-page .bh-schedule>.panel-body{padding:10px 20px 16px}
#content .financial-report-page .settings-form .bh-toggle{display:inline-flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;min-width:0;margin:0;color:#34445a;font-size:13px;line-height:1.5;cursor:pointer}
#content .financial-report-page .settings-form .bh-toggle input[type=checkbox]{flex:0 0 16px;width:16px;min-width:16px;height:16px;margin:0;padding:0}
#content .financial-report-page .bh-schedule-row{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:12px 16px;padding:9px 0}
#content .financial-report-page .bh-schedule-row+.bh-schedule-row{border-top:1px solid #edf1f6}
#content .financial-report-page .bh-field{display:flex;align-items:center;gap:8px;min-width:0;margin:0;font-size:12px;color:#687990}
#content .financial-report-page .bh-field>span:not(.bh-number-unit){flex:none;white-space:nowrap}
#content .financial-report-page .bh-field input,#content .financial-report-page .bh-field select{flex:1;box-sizing:border-box;width:100%;min-width:0}
#content .financial-report-page .bh-period-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}
#content .financial-report-page .bh-number-unit{flex:1;display:flex;align-items:center;gap:9px;max-width:150px}
#content .financial-report-page .bh-number-unit input{flex:1;min-width:0}
#content .financial-report-page .bh-number-unit>span{flex:none}
#content .financial-report-page .bh-schedule-row.bh-retention-row{border-top:1px solid #dfe6ef;margin-top:7px;padding-top:13px}
#content .financial-report-page .bh-schedule-footer{display:flex;align-items:center;gap:16px;margin-top:10px}
#content .financial-report-page .bh-schedule-note{flex:1;margin:0;font-size:11px;line-height:1.65}
#content .financial-report-page .bh-schedule-footer>button{flex:none;white-space:nowrap}
@media(max-width:620px){#content .financial-report-page .bh-schedule-row{grid-template-columns:minmax(0,1fr);gap:9px;padding:11px 0}#content .financial-report-page .bh-schedule-footer{flex-direction:column;align-items:stretch;gap:10px}#content .financial-report-page .bh-schedule-footer>button{align-self:flex-end}}
@media(max-width:440px){#content .financial-report-page .bh-period-fields{gap:10px}#content .financial-report-page .bh-period-fields .bh-field{flex-direction:column;align-items:stretch;gap:5px}}

/* Original funds.css; scoped to report pages. */
#content .financial-report-page .funds-filters{padding:20px;margin-bottom:20px}#content .financial-report-page .funds-filters .form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}#content .financial-report-page .funds-filters .form-grid label{margin-bottom:0}#content .financial-report-page .funds-filters .form-grid input,#content .financial-report-page .funds-filters .form-grid select{width:100%}#content .financial-report-page .funds-filter-actions{display:flex;align-items:center;gap:10px;padding:16px 20px}#content .financial-report-page .funds-filters .funds-filter-actions{padding:16px 0 0}#content .financial-report-page .funds-filter-actions>span{flex:1;color:#7d899b;font-size:12px}#content .financial-report-page .funds-analysis{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:22px 0}#content .financial-report-page .funds-analysis .panel{min-width:0;margin-bottom:0}#content .financial-report-page .funds-bank-bars{padding:22px;display:grid;gap:20px}#content .financial-report-page .funds-bank-bars>div>div:first-child{display:flex;justify-content:space-between;gap:12px;font-size:13px}#content .financial-report-page .funds-bank-bars small{font-size:11px;color:#8994a4}#content .financial-report-page .funds-bar{height:8px;background:#eff2f8;border-radius:8px;margin:10px 0 4px;width:100%}#content .financial-report-page .funds-in{color:#17816c;font-weight:600}#content .financial-report-page .funds-out{color:#ad5545;font-weight:600}#content .financial-report-page .funds-more{margin-top:14px}#content .financial-report-page .dc-heading{display:flex;justify-content:space-between;align-items:center;margin:20px 0 12px}#content .financial-report-page .dc-heading>span{font-size:16px;font-weight:650;color:#394b64}#content .financial-report-page .dc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:20px}#content .financial-report-page .dc-card{border:1px solid #e1e7f0;background:white;border-radius:12px;padding:20px;min-width:0;display:flex;flex-direction:column}#content .financial-report-page .dc-label{font-size:12px;color:#667a94;line-height:1.6}#content .financial-report-page .dc-label>small{display:inline-block;margin-left:8px;color:#a1712c;background:#fff7e9;padding:1px 5px;border-radius:3px}#content .financial-report-page .dc-value{font-size:clamp(22px,2.2vw,34px);color:#243c58;font-weight:650;letter-spacing:-.03em;margin:14px 0 8px;overflow-wrap:anywhere}#content .financial-report-page .dc-value small{display:block;font-size:11px;font-weight:500;letter-spacing:0;color:#7b8ba2;margin-top:5px}#content .financial-report-page .dc-card p{font-size:11px;line-height:1.8;color:#8c98a9;margin:0 0 8px}#content .financial-report-page .dc-card .link{margin-top:auto;align-self:flex-start}#content .financial-report-page .dc-manual{background:#fffcf5}#content .financial-report-page .dc-picker{display:grid;gap:8px;margin:15px 0}#content .financial-report-page .dc-picker-row{display:flex;justify-content:space-between;align-items:center;border:1px solid #e3e9f2;padding:10px 12px;border-radius:6px;gap:15px}#content .financial-report-page .dc-picker-row label{display:flex;align-items:center;gap:9px;font-size:13px}#content .financial-report-page .dc-picker-row>div{display:flex;gap:5px}#content .financial-report-page .dc-picker-row button{padding:4px 8px}#content .financial-report-page .dc-add{padding:14px;background:#f7f9fc;border-radius:7px}#content .financial-report-page .dc-add summary{cursor:pointer;font-weight:600;color:#466585}#content .financial-report-page .dc-add .form-grid{margin:15px 0}#content .financial-report-page .accounting-dashboard-filter{display:flex;align-items:flex-end;padding:18px 22px;gap:15px;margin-bottom:18px}#content .financial-report-page .accounting-dashboard-filter label{max-width:210px}#content .financial-report-page .accounting-dashboard-filter .actions{margin-left:auto}#content .financial-report-page .ad-attention{padding:20px;display:grid;gap:15px}#content .financial-report-page .ad-attention>div{background:#f6f8fc;border-radius:7px;padding:16px}#content .financial-report-page .ad-attention b{font-size:14px;color:#36516d}#content .financial-report-page .ad-attention p{font-size:12px;line-height:1.9;color:#7d8ca2;margin:7px 0 0}#content .financial-report-page .ad-closing p{font-size:13px;line-height:1.8;color:#8291a5}#content .financial-report-page .ad-closing small{display:block;margin-top:14px;color:#8d99a9;font-size:11px}@media(max-width:1150px){#content .financial-report-page .dc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#content .financial-report-page .funds-analysis{grid-template-columns:1fr}#content .financial-report-page .dc-value{font-size:28px}}@media(max-width:760px){#content .financial-report-page .dc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#content .financial-report-page .funds-filters .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#content .financial-report-page .accounting-dashboard-filter{align-items:stretch;flex-wrap:wrap}#content .financial-report-page .accounting-dashboard-filter .actions{margin-left:0}#content .financial-report-page .dc-picker-row{flex-wrap:wrap}}

#content .financial-report-page .funds-trend{padding:14px 22px}#content .financial-report-page .funds-trend svg{display:block;width:100%;height:auto}#content .financial-report-page .funds-trend p{color:#8a98ab;font-size:11px;text-align:center;margin:0 0 5px}

#content .financial-report-page .accounting-dashboard-filter>label{display:grid;gap:8px;width:210px;flex:0 0 210px;font-size:12px;color:#687990}#content .financial-report-page .accounting-dashboard-cards .dc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:760px){#content .financial-report-page .accounting-dashboard-cards .dc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

#content .financial-report-page .funds-period-row{display:flex;align-items:flex-end;gap:12px}#content .financial-report-page .funds-period-row>label{display:grid;gap:7px;font-size:12px;color:#687990;max-width:220px;flex:1}#content .financial-report-page .funds-compact-filters{padding:16px 20px;margin-bottom:14px}#content .financial-report-page .funds-advanced{margin-top:13px}#content .financial-report-page .funds-advanced>summary{font-size:12px;cursor:pointer;color:#7b899c}#content .financial-report-page .funds-advanced>.form-grid{margin-top:14px}#content .financial-report-page .funds-display-tools{display:flex;justify-content:flex-end;align-items:center;gap:14px;font-size:12px;margin:14px 0}#content .financial-report-page .funds-display-tools>span{margin-right:auto;color:#7d8da1}#content .financial-report-page .funds-display-tools>label{display:flex;align-items:center;gap:7px;color:#6a7c94}#content .financial-report-page .funds-display-tools select{padding:7px 10px;min-width:88px}#content .financial-report-page .funds-display-tools button{font-size:12px}#content .financial-report-page .funds-page-tabs{display:flex;gap:6px;border-bottom:1px solid #dfe6ef;padding-bottom:10px;margin-bottom:14px}#content .financial-report-page .funds-page-tabs button{padding:9px 17px;background:transparent;border-color:transparent;color:#79889c}#content .financial-report-page .funds-page-tabs button.active,#content .financial-report-page .funds-currency-switch button.active{background:#edf2ff;border-color:#cfdbfa;color:#315cda;font-weight:600}#content .financial-report-page .funds-fx-note{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;font-size:11px;color:#7d8ea3;padding:2px 0 5px}#content .financial-report-page .funds-fx-note small{font-size:11px}#content .financial-report-page .funds-fx-note.incomplete{color:#99692d}#content .financial-report-page .funds-currency-switch{display:flex;gap:8px;margin:16px 0}#content .financial-report-page .funds-currency-switch button{font-size:12px}#content .financial-report-page .funds-page-tabs+#funds-presentation{margin-top:0}@media(max-width:760px){#content .financial-report-page .funds-display-tools{gap:9px;flex-wrap:wrap}#content .financial-report-page .funds-display-tools>span{display:none}#content .financial-report-page .funds-period-row{flex-wrap:wrap}#content .financial-report-page .funds-period-row>label{min-width:40%;max-width:none}#content .financial-report-page .funds-page-tabs{overflow:auto;gap:1px}#content .financial-report-page .funds-page-tabs button{padding:9px 10px;font-size:12px}#content .financial-report-page .funds-fx-note{line-height:1.8}}

#content .financial-report-page .funds-period-row{flex-wrap:wrap}#content .financial-report-page .funds-period-shortcuts{display:flex;gap:6px;flex-wrap:wrap}#content .financial-report-page .funds-period-shortcuts button{font-size:12px;padding:8px 11px;color:#6c7d95}#content .financial-report-page .funds-period-shortcuts button.active{background:#edf2ff;color:#315cda;border-color:#c9d7f6;font-weight:600}

/* Original expenses.css; scoped to report pages. */
#content .financial-report-page .expense-filters .form-grid label{margin:0}#content .financial-report-page .expense-more{margin-top:14px}#content .financial-report-page .expense-more>summary,#content .financial-report-page .expense-config-more>summary{font-size:12px;color:#75869e;cursor:pointer}#content .financial-report-page .expense-more>.form-grid,#content .financial-report-page .expense-config-more>.form-grid{margin-top:15px}#content .financial-report-page .expense-analysis-context{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:11px;color:#8a98aa;margin:10px 0 20px}#content .financial-report-page .expense-mini-bar{height:5px;width:100%;display:block;margin-top:9px;background:#f0f3f8}#content .financial-report-page .expense-group-name{min-width:160px}#content .financial-report-page .expense-group-name strong{display:block;font-weight:550;color:#425a77}#content .financial-report-page .expense-chart{padding:20px 28px}#content .financial-report-page .expense-chart svg{width:100%;max-height:245px;display:block}#content .financial-report-page .expense-error{color:#a85a3f!important}#content .financial-report-page .expense-source-intro{display:flex;justify-content:space-between;align-items:center;padding:24px;gap:20px}#content .financial-report-page .expense-source-intro p{color:#72839b;font-size:13px;line-height:1.8;margin:12px 0}#content .financial-report-page .expense-source-intro small{color:#95a1b3;font-size:11px}#content .financial-report-page .expense-source-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}#content .financial-report-page .expense-source-card .panel-body>p{font-size:12px;color:#8292a8;line-height:1.8;min-height:40px}#content .financial-report-page .expense-source-kv{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;font-size:11px;margin:20px 0 25px}#content .financial-report-page .expense-source-kv>span{color:#8998aa}#content .financial-report-page .expense-source-kv>strong{font-weight:500;color:#61758e;overflow-wrap:anywhere}#content .financial-report-page .expense-source-card .actions{flex-wrap:wrap}#content .financial-report-page .expense-source-card .actions>button{font-size:12px}#content .financial-report-page .expense-source-card .panel-head{align-items:flex-start}#content .financial-report-page .expense-source-card .panel-head small{display:block;font-size:11px;color:#8394a9;margin-top:8px}#content .financial-report-page .expense-config-more{margin:20px 0}#content .financial-report-page .expense-filters .funds-filter-actions>span{flex:1}#content .financial-report-page .expense-filters .form-grid{gap:14px}#content .financial-report-page .expense-source-card .panel-head h2{line-height:1.5}@media(max-width:1050px){#content .financial-report-page .expense-source-grid{grid-template-columns:1fr}#content .financial-report-page .expense-filters .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#content .financial-report-page .expense-source-intro{align-items:flex-start;flex-wrap:wrap}}@media(max-width:760px){#content .financial-report-page .expense-analysis-context{display:grid}#content .financial-report-page .expense-chart{padding:14px}#content .financial-report-page .expense-source-intro{padding:18px}#content .financial-report-page .expense-filters .funds-filter-actions{flex-wrap:wrap}#content .financial-report-page .expense-filters .funds-filter-actions>span{display:none}#content .financial-report-page .expense-filters .form-grid{gap:10px}}

#content .financial-report-page .expense-query-panel table{font-size:11px}#content .financial-report-page .expense-query-panel td,#content .financial-report-page .expense-query-panel th{padding:12px 9px}#content .financial-report-page .expense-query-panel .expense-document-cell{min-width:120px;white-space:normal;max-width:155px;line-height:1.7}#content .financial-report-page .expense-query-panel .expense-entity-cell{min-width:125px;max-width:165px;white-space:normal;line-height:1.7}#content .financial-report-page .expense-query-panel .expense-entity-cell strong{font-weight:500}#content .financial-report-page .expense-query-panel .expense-category-cell{min-width:80px;max-width:110px;white-space:normal;line-height:1.7}#content .financial-report-page .expense-query-panel .expense-origin-cell{min-width:90px;max-width:145px;white-space:normal;line-height:1.8}#content .financial-report-page .expense-origin-cell .link{white-space:normal;text-align:left;line-height:1.8}#content .financial-report-page .expense-query-panel small{font-size:10px}

#content .financial-report-page .expense-period-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}#content .financial-report-page .expense-period-row label{display:flex;align-items:center;gap:8px;margin:0;white-space:nowrap}#content .financial-report-page .expense-period-row input[type=date]{width:145px}#content .financial-report-page .expense-period-row select{width:auto;min-width:100px}#content .financial-report-page .expense-period-row>.primary{margin-left:auto}#content .financial-report-page .expense-quick-row{display:flex;gap:16px;align-items:center;margin-top:12px;flex-wrap:wrap}#content .financial-report-page .expense-quick-row .funds-period-shortcuts{gap:5px}#content .financial-report-page .expense-quick-row .funds-period-shortcuts button{padding:6px 10px}#content .financial-report-page .expense-scope-picker{flex:1;min-width:110px}#content .financial-report-page .expense-scope-picker>summary{cursor:pointer;font-size:12px;color:#4264df}#content .financial-report-page .expense-scope-picker[open]{flex-basis:100%;order:5}#content .financial-report-page .expense-scope-picker .form-grid{margin:16px 0}#content .financial-report-page .expense-active-scope{font-size:11px;color:#7c8799;max-width:60%;overflow-wrap:anywhere}#content .financial-report-page .expense-trend-controls{display:flex;align-items:center;gap:10px;flex-wrap:wrap}#content .financial-report-page .expense-trend-controls select{max-width:220px;font-size:12px}#content .financial-report-page .expense-focus-button[aria-pressed=true]{font-weight:700;color:#294bd0;background:#eef2ff;padding:5px;border-radius:5px}#content .financial-report-page .expense-purpose{font-size:11px;color:#526783;line-height:1.6;white-space:normal;margin-top:5px;max-width:235px}#content .financial-report-page .expense-query-panel .expense-document-cell{min-width:165px;max-width:235px}#content .financial-report-page .expense-query-panel .expense-document-cell small{display:block}@media(max-width:900px){#content .financial-report-page .expense-active-scope{max-width:100%}#content .financial-report-page .expense-period-row>.primary{margin-left:0}#content .financial-report-page .expense-period-row input[type=date]{width:130px}}

/* Original business_hub.css; scoped to report pages. */
#content .financial-report-page .business-line-filter{display:flex;gap:10px;align-items:center;min-width:210px}#content .financial-report-page .business-line-filter select{min-width:160px}#content .financial-report-page .business-dash-controls{display:flex;gap:20px;align-items:end;padding:18px 20px;flex-wrap:wrap}#content .financial-report-page .business-dash-controls>label{display:flex;gap:8px;align-items:center}#content .financial-report-page .business-dash-controls .actions{margin-left:auto}#content .financial-report-page .business-dash-controls input[type=month]{width:155px}#content .financial-report-page .business-dash-analysis{display:grid;grid-template-columns:minmax(300px,1fr) minmax(350px,1fr);gap:24px}#content .financial-report-page .business-trend-chart{width:100%;min-height:200px}#content .financial-report-page .business-trend-chart text{font-size:12px;fill:#64718b}#content .financial-report-page .business-monitor-time{font-size:12px;color:#728096;margin:14px 0}#content .financial-report-page .wc-query-form.unified-filters{padding:18px}#content .financial-report-page .wc-query-top{grid-template-columns:repeat(4,minmax(140px,1fr))!important}#content .financial-report-page .business-query-search{display:flex;gap:8px;align-items:center}#content .financial-report-page .business-query-search input{min-width:150px}#content .financial-report-page .business-query-options{display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:14px;margin-top:14px}#content .financial-report-page .business-query-options .form-field{margin:0}@media(max-width:1050px){#content .financial-report-page .business-dash-analysis{grid-template-columns:1fr}#content .financial-report-page .wc-query-top{grid-template-columns:repeat(2,minmax(140px,1fr))!important}#content .financial-report-page .business-query-options{grid-template-columns:repeat(2,minmax(140px,1fr))}}

#content .financial-report-page #session-result-note{font-size:11px;color:#7b879d}#content .financial-report-page .report-flat-options{display:flex;gap:12px 16px;flex-wrap:wrap;align-items:end;padding:14px 18px;border-top:1px solid #edf0f5}#content .financial-report-page .report-flat-options .toolbar{display:contents}#content .financial-report-page .report-flat-options label{display:flex;flex-direction:column;gap:5px;font-size:12px;min-width:115px;flex:1}#content .financial-report-page .report-flat-entity{min-width:220px;flex:2}#content .financial-report-page .report-flat-options .checkbox-row,#content .financial-report-page .report-flat-options .column-options label{flex-direction:row;align-items:center;min-width:auto;flex:initial}#content .financial-report-page .report-flat-options .column-options{display:flex;align-items:center;gap:12px;flex:1 1 260px;font-size:12px}#content .financial-report-page .report-flat-options .tiny,#content .financial-report-page .report-flat-options .column-options small{display:none}#content .financial-report-page .report-flat-options select{min-height:34px;width:100%}#content .financial-report-page .compare-actions #compare-pending{margin-right:auto}

#content .financial-report-page .business-period-controls .funds-filter-main{grid-template-columns:minmax(155px,1fr) minmax(155px,1fr) minmax(200px,1.2fr) auto}#content .financial-report-page .business-period-controls .business-line-filter{display:flex;flex-direction:column;align-items:stretch;gap:6px}#content .financial-report-page .business-period-controls .funds-filter-actions{flex-wrap:wrap}#content .financial-report-page .business-period-controls .wh-check{margin-left:auto}@media(max-width:760px){#content .financial-report-page .business-period-controls .funds-filter-main{grid-template-columns:1fr 1fr}}

#content .financial-report-page .business-period-controls .funds-filter-main{display:grid;gap:14px;align-items:end}#content .financial-report-page .business-period-controls .funds-filter-main>label{display:flex;flex-direction:column;gap:7px;font-size:12px;color:#687990}#content .financial-report-page .business-period-controls .funds-filter-main input,#content .financial-report-page .business-period-controls .funds-filter-main select{width:100%}#content .financial-report-page .business-period-controls .funds-filter-main .primary{min-height:38px}

/* Original accounting_api_demo.css; scoped to report pages. */
#content .financial-report-page .accounting-tabs{display:flex;gap:8px;margin:0 0 20px;flex-wrap:wrap}#content .financial-report-page .accounting-tabs button{padding:10px 18px;border-radius:8px}#content .financial-report-page .accounting-tabs button.active{background:#eef2ff;border-color:#8298ef;color:#294ec1;font-weight:650}#content .financial-report-page .accounting-sections .panel{margin-bottom:18px}#content .financial-report-page .aad-source{display:flex;justify-content:space-between;gap:24px;align-items:center;background:linear-gradient(110deg,#eef3ff,#f9fbff);border:1px solid #dce5f6;border-radius:14px;padding:24px;margin-bottom:16px}#content .financial-report-page .aad-label{display:flex;align-items:center;gap:12px;color:#596a85;font-size:12px;font-weight:600;letter-spacing:.04em}#content .financial-report-page .aad-source h2{font-size:23px;line-height:1.4;margin:12px 0 8px}#content .financial-report-page .aad-source p{margin:0;color:#66758c}#content .financial-report-page .aad-source-status{min-width:200px;font-weight:600;font-size:14px}#content .financial-report-page .aad-source-status small{display:block;font-size:12px;color:#748197;font-weight:400;margin-top:12px}#content .financial-report-page .aad-online,#content .financial-report-page .aad-working{display:inline-block;width:8px;height:8px;border-radius:50%;background:#21936e;margin-right:8px}#content .financial-report-page .aad-working{background:#e7a02c}#content .financial-report-page .aad-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:18px 0}#content .financial-report-page .aad-actions>span{font-size:12px;color:#768298}#content .financial-report-page .aad-controls{margin-left:auto;position:relative}#content .financial-report-page .aad-controls summary{cursor:pointer;color:#6e7d92;font-size:13px;padding:8px}#content .financial-report-page .aad-controls>div{position:absolute;right:0;top:36px;padding:10px;display:grid;gap:8px;background:#fff;border:1px solid #dce3ef;border-radius:10px;z-index:3;min-width:180px;box-shadow:0 6px 22px #23345a14}#content .financial-report-page .aad-stats{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:20px}#content .financial-report-page .aad-stats .metric{font-size:30px;line-height:1.4}#content .financial-report-page .aad-receipt{display:flex;gap:32px;flex-wrap:wrap;padding:22px 24px;color:#65758e;font-size:13px}#content .financial-report-page .aad-receipt b{font-size:21px;color:#273950;margin:0 6px}#content .financial-report-page .aad-note{font-size:12px;line-height:1.8;color:#7d899c;margin-top:20px}#content .financial-report-page .aad-history{margin-top:18px}#content .financial-report-page .aad-history>summary{padding:18px 22px;cursor:pointer;font-weight:600;color:#45566e}#content .financial-report-page .aad-ledger{max-height:64vh;overflow:auto}#content .financial-report-page .aad-ledger .table-wrap{overflow:visible}#content .financial-report-page .aad-ledger td{white-space:nowrap}#content .financial-report-page .aad-ledger td small{max-width:180px;white-space:normal}#content .financial-report-page .accounting-intro{color:#728097;line-height:1.7;font-size:13px}#content .financial-report-page .accounting-links button small{line-height:1.65}@media(max-width:1000px){#content .financial-report-page .aad-source{align-items:flex-start;flex-direction:column}#content .financial-report-page .aad-source-status small{display:inline-block;margin:0 0 0 15px}#content .financial-report-page .aad-stats{grid-template-columns:repeat(2,minmax(0,1fr))}#content .financial-report-page .aad-source h2{font-size:20px}#content .financial-report-page .aad-controls{margin-left:0}}@media(max-width:700px){#content .financial-report-page .aad-source{padding:18px}#content .financial-report-page .aad-receipt{gap:16px;padding:18px}#content .financial-report-page .accounting-tabs button{padding:9px 11px}}

/* Original forecast.css; scoped to report pages. */
#content .financial-report-page .fc-query-row{display:grid;grid-template-columns:minmax(220px,1.5fr) minmax(130px,.8fr) minmax(155px,1fr) minmax(170px,1fr) auto;gap:14px;align-items:end;padding:0}#content .financial-report-page .fc-query-row label,#content .financial-report-page .fc-plan-bar label,#content .financial-report-page .fc-input-scope label{display:flex;flex-direction:column;gap:6px;font-size:12px}#content .financial-report-page .fc-query-row select,#content .financial-report-page .fc-query-row input{width:100%}#content .financial-report-page .fc-summary{display:flex;gap:28px;flex-wrap:wrap;font-size:13px;padding:18px 0;color:#77849a}#content .financial-report-page .fc-summary b{font-size:20px;margin-left:8px;color:#253454}#content .financial-report-page .fc-card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}#content .financial-report-page .fc-card{background:white;border:1px solid #e4e9f0;border-radius:12px;padding:20px}#content .financial-report-page .fc-card>div:first-child{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:#64738c}#content .financial-report-page .fc-card>div:first-child span{font-size:11px}#content .financial-report-page .fc-card>strong{font-size:27px;display:block;margin-top:20px;color:#253454;overflow-wrap:anywhere}#content .financial-report-page .fc-card>strong small{font-size:11px;font-weight:400;margin-left:6px}#content .financial-report-page .fc-card p{margin:4px 0 16px;font-size:11px;color:#8a96aa}#content .financial-report-page .fc-card-pair{display:flex;justify-content:space-between;gap:8px;font-size:11px;color:#8a96aa}#content .financial-report-page .fc-card-pair b{display:block;color:#536580;margin-top:5px;font-size:12px}#content .financial-report-page .fc-progress{height:5px;background:#edf1f8;border-radius:5px;overflow:hidden;margin:18px 0 8px}#content .financial-report-page .fc-progress i{display:block;height:100%;background:#6184df}#content .financial-report-page .fc-card>small{font-size:11px;color:#8190a6}#content .financial-report-page .fc-bold td{font-weight:650;background:#f8faff}#content .financial-report-page .good{color:#16877e}#content .financial-report-page .warn{color:#b27745}#content .financial-report-page .fc-plan-bar{display:flex;padding:18px;gap:16px;align-items:end}#content .financial-report-page .fc-plan-bar label{min-width:280px}#content .financial-report-page .fc-plan-bar small{margin-left:auto;color:#8290a4}#content .financial-report-page .fc-input-scope{display:flex;gap:16px}#content .financial-report-page .fc-input-scope label{min-width:180px}#content .financial-report-page .fc-row-actions{white-space:nowrap}#content .financial-report-page .fc-row-actions button{padding:5px 9px;margin-right:5px}#content .financial-report-page .fc-editor-toolbar{display:flex;align-items:center;justify-content:space-between;margin:22px 0 12px}#content .financial-report-page .fc-empty{padding:40px}#content .financial-report-page .fc-field-form textarea{min-height:80px}#content .financial-report-page .fc-field-form .wh-check{display:flex;flex-direction:row;align-items:center}#content .financial-report-page .fc-field-form input[type=checkbox]{width:auto}#content .financial-report-page .fc-card-grid+.panel small{display:block}#content .financial-report-page input[data-fc-input]{min-width:115px;width:100%;max-width:180px}@media(max-width:1100px){#content .financial-report-page .fc-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#content .financial-report-page .fc-query-row{grid-template-columns:repeat(3,minmax(140px,1fr))}}@media(max-width:650px){#content .financial-report-page .fc-query-row{grid-template-columns:1fr 1fr}#content .financial-report-page .fc-plan-bar,#content .financial-report-page .fc-input-scope{flex-wrap:wrap}#content .financial-report-page .fc-card-grid{grid-template-columns:1fr}}

#content .financial-report-page .fc-level-1>td:first-child{padding-left:16px}#content .financial-report-page .fc-level-2>td:first-child{padding-left:34px}#content .financial-report-page .fc-level-3>td:first-child{padding-left:52px}#content .financial-report-page svg.fc-progress{display:block;width:100%}

/* Original risk_warnings.css; scoped to report pages. */
#content .financial-report-page .risk-controls{display:flex;flex-wrap:wrap;gap:14px;align-items:end}#content .financial-report-page .risk-controls label{display:grid;gap:6px}#content .financial-report-page .risk-summary,#content .financial-report-page .risk-packs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:18px 0}#content .financial-report-page .risk-stat,#content .financial-report-page .risk-packs button{display:grid;text-align:left;gap:8px;padding:20px;background:#fff;border:1px solid #dce3ed;border-radius:8px}#content .financial-report-page .risk-stat b{font-size:30px;color:#253958}#content .financial-report-page .risk-stat:first-child b{color:#b33b38}#content .financial-report-page .risk-stat.selected{border:2px solid #316cb5}#content .financial-report-page .risk-badge{padding:4px 9px;border-radius:4px;white-space:nowrap}#content .financial-report-page .risk-badge.danger{color:#a13331;background:#fff0ed}#content .financial-report-page .risk-badge.pending{color:#865a16;background:#fff8e9}#content .financial-report-page .risk-badge.ok{color:#28644d;background:#eef8f1}#content .financial-report-page .risk-editor{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:16px}#content .financial-report-page .risk-editor label{display:grid;gap:5px}#content .financial-report-page .risk-editor textarea{min-height:62px}#content .financial-report-page .risk-evidence{margin:10px 0}#content .financial-report-page .risk-evidence summary{padding:12px;cursor:pointer}#content .financial-report-page .risk-evidence pre,#content .financial-report-page #dialog pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:400px;overflow:auto}#content .financial-report-page td small{display:block;margin-top:5px;color:#65748b}@media(max-width:850px){#content .financial-report-page .risk-summary,#content .financial-report-page .risk-packs{grid-template-columns:1fr 1fr}#content .financial-report-page .risk-editor{grid-template-columns:1fr}}

#content .financial-report-page .risk-rule-summary{padding:14px 18px;background:#eff4ff;border-radius:8px;color:#334c78}#content .financial-report-page .risk-threshold{display:flex;gap:8px}#content .financial-report-page .risk-threshold input{min-width:0;width:100px}#content .financial-report-page .risk-threshold #rr-unit{width:58px;background:#f7f9fc}#content .financial-report-page .risk-advanced{margin:16px 0;padding:12px;border:1px solid #e4e9f2;border-radius:8px}#content .financial-report-page .risk-advanced summary{cursor:pointer;font-weight:600;margin-bottom:10px}#content .financial-report-page .risk-packs button.selected{border-color:#4264df;background:#eff4ff}
#content .financial-report-page .risk-rule-packs{grid-template-columns:repeat(5,minmax(0,1fr))}@media(max-width:1100px){#content .financial-report-page .risk-rule-packs{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:650px){#content .financial-report-page .risk-rule-packs{grid-template-columns:1fr 1fr}}

#content .financial-report-page .risk-builder{max-width:780px;margin:auto}#content .financial-report-page .rb-step{border:1px solid #e0e7ef;border-radius:10px;padding:16px 18px;margin:0 0 14px}#content .financial-report-page .rb-step h3{display:flex;align-items:center;gap:9px;font-size:14px;margin:0 0 14px;color:#2d405d}#content .financial-report-page .rb-step h3 b{display:inline-grid;place-items:center;width:24px;height:24px;background:#edf2ff;color:#365bd1;border-radius:50%;font-size:12px}#content .financial-report-page .rb-grid,#content .financial-report-page .rb-condition{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px}#content .financial-report-page .risk-builder .rb-field{display:flex;flex-direction:column;gap:6px;min-width:0;margin-bottom:12px;color:#64758b;font-size:12px}#content .financial-report-page .rb-field input,#content .financial-report-page .rb-field select,#content .financial-report-page .rb-field textarea{box-sizing:border-box;width:100%;min-width:0}#content .financial-report-page .rb-field textarea{min-height:64px}#content .financial-report-page .rb-formula,#content .financial-report-page .rb-hint{font-size:12px;line-height:1.65;color:#748297;margin:0 0 12px}#content .financial-report-page .rb-formula{padding:9px 12px;background:#f6f8fc;border-radius:6px}#content .financial-report-page .rb-capacity{max-width:300px}#content .financial-report-page .rb-number{display:flex;align-items:center;gap:8px}#content .financial-report-page .rb-number input{flex:1}#content .financial-report-page .rb-number>span{flex:none;min-width:25px}#content .financial-report-page .rb-sentence{padding:12px 14px;margin:0 0 14px;background:#eef4ff;border-radius:7px;color:#315082;line-height:1.7;font-size:13px}#content .financial-report-page .risk-builder .rb-toggle{display:flex;flex-direction:row;align-items:center;gap:8px;font-size:13px;color:#34445a}#content .financial-report-page .rb-toggle input[type=checkbox]{flex:none;width:16px;height:16px;margin:0}#content .financial-report-page .rb-range{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) auto;gap:10px;align-items:center}#content .financial-report-page .rb-range>button{margin-top:10px}#content .financial-report-page .rb-more{border:1px solid #e2e8f0;border-radius:8px;padding:12px 16px;margin-bottom:12px}#content .financial-report-page .rb-more>summary{cursor:pointer;color:#64758b;font-size:12px}#content .financial-report-page .rb-more[open]>summary{margin-bottom:14px}#content .financial-report-page .rb-ranges+button{margin-bottom:8px}@media(max-width:620px){#content .financial-report-page .rb-grid,#content .financial-report-page .rb-condition{grid-template-columns:minmax(0,1fr)}#content .financial-report-page .rb-step{padding:14px}#content .financial-report-page .rb-range{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}#content .financial-report-page .rb-range>button{grid-column:2;justify-self:end;margin:0 0 10px}#content .financial-report-page .risk-builder .rb-field{margin-bottom:10px}}

/* Keep the three decisions visible together at ordinary desktop sizes. */
#content .financial-report-page .rb-step{padding:12px 14px;margin-bottom:10px}#content .financial-report-page .rb-step h3{margin-bottom:10px;line-height:1.4}#content .financial-report-page .risk-builder .rb-field{gap:4px;margin-bottom:8px}#content .financial-report-page .rb-step>.rb-field:last-child{margin-bottom:0}#content .financial-report-page .rb-field input,#content .financial-report-page .rb-field select{padding:7px 10px;font-size:13px}#content .financial-report-page .rb-sentence{padding:10px 12px;margin-bottom:10px;font-size:12px;line-height:1.6}#content .financial-report-page .rb-hint:empty{display:none}#content .financial-report-page .rb-extra{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#content .financial-report-page .rb-extra .rb-more{margin:0}#content .financial-report-page .rb-extra .rb-more[open]{grid-column:1/-1}#content .financial-report-page .risk-builder #rr-preview{padding:10px 12px;margin-top:10px}#content .financial-report-page .risk-builder #rr-preview[hidden]{display:none}@media(max-width:620px){#content .financial-report-page .rb-extra{grid-template-columns:minmax(0,1fr)}}

#content .financial-report-page .rb-step:first-child{display:grid;grid-template-columns:140px minmax(0,1fr);align-items:center;gap:16px}#content .financial-report-page .rb-step:first-child h3{margin:0}#content .financial-report-page .rb-primary{grid-template-columns:140px minmax(0,1fr) 170px;gap:12px}#content .financial-report-page .rb-primary-currency{grid-template-columns:120px minmax(0,1fr) 160px 120px}#content .financial-report-page .rb-extra .rb-more{padding:10px 12px}#content .financial-report-page .rb-range-hint{margin-left:12px;font-size:11px;color:#748297}@media(max-width:850px){#content .financial-report-page .rb-primary,#content .financial-report-page .rb-primary-currency{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){#content .financial-report-page .rb-step:first-child,#content .financial-report-page .rb-primary,#content .financial-report-page .rb-primary-currency{grid-template-columns:minmax(0,1fr)}#content .financial-report-page .rb-range-hint{display:block;margin:0 0 8px}}

/* Original ai_memory.css; scoped to report pages. */
#content .financial-report-page .memory-center{max-width:1180px;margin:auto}#content .financial-report-page .memory-settings{display:flex;gap:18px;align-items:center;flex-wrap:wrap}#content .financial-report-page .memory-settings>label{display:flex;gap:7px;align-items:center;font-size:13px}#content .financial-report-page .memory-settings input[type=checkbox]{accent-color:var(--blue);width:16px;height:16px}#content .financial-report-page .memory-settings p,#content .financial-report-page .memory-settings>small{flex-basis:100%;margin:0;color:#718096;line-height:1.8}#content .financial-report-page .memory-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0 16px;flex-wrap:wrap}#content .financial-report-page .memory-toolbar [role=tablist]{display:flex;gap:8px}#content .financial-report-page .memory-toolbar [aria-selected=true]{background:#edf2ff;color:#275ef5;border-color:#bfd0fa}#content .financial-report-page .memory-toolbar span{font-size:11px;margin-left:5px}#content .financial-report-page .memory-toolbar input{min-width:180px;max-width:100%}#content .financial-report-page .memory-card h2{margin-top:6px}#content .financial-report-page .memory-card small{color:#718096;font-size:12px}#content .financial-report-page .memory-content{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;margin:0 0 15px}#content .financial-report-page .memory-card details{margin:14px 0 0;font-size:12px;color:#718096}#content .financial-report-page .memory-card summary{cursor:pointer}#content .financial-report-page .memory-card details p{white-space:pre-wrap}#content .financial-report-page .memory-editor small,#content .financial-report-page .memory-editor p{color:#718096;line-height:1.8;font-size:12px}#content .financial-report-page .memory-editor textarea{width:100%;padding:10px;border:1px solid var(--line);border-radius:8px;font:inherit}#content .financial-report-page .ai-memory-note{font-size:11px;color:#718096;margin:12px 0}#content .financial-report-page .ai-memory-note button{font-size:11px;padding:5px 9px}@media(max-width:600px){#content .financial-report-page .memory-toolbar input{width:100%}#content .financial-report-page .memory-toolbar [role=tablist]{gap:4px}#content .financial-report-page .memory-toolbar button{padding:8px}#content .financial-report-page .memory-center .title-row{gap:12px}#content .financial-report-page .memory-card .panel-head{align-items:flex-start}}

/* Original query_layout.css; scoped to report pages. */
/* Query layout contract: left-aligned labels, one compact grid, one action row. */
#content .financial-report-page{--query-height:34px;--query-gap:10px;--query-radius:6px;--query-padding:14px}
#content .financial-report-page :is(.query-panel,.funds-filters,.accounting-dashboard-filter,.wc-query-form){border:1px solid var(--line);border-radius:10px;background:#fff;margin-bottom:16px;box-shadow:none;text-align:left}
#content .financial-report-page :is(.funds-filters,.wc-query-form){padding:var(--query-padding)}
#content .financial-report-page .query-panel{padding:0}
#content .financial-report-page .query-panel.wh-query{padding:14px}
#content .financial-report-page .query-panel>.panel-head{padding:10px var(--query-padding)}
#content .financial-report-page .query-panel>.panel-head h2{font-size:13px}
#content .financial-report-page .query-panel>.panel-body{padding:var(--query-padding)}
#content .financial-report-page .query-panel:not(.wh-query)>.report-filter-fields{padding:12px 14px}
#content .financial-report-page .query-panel.ledger-filters>.toolbar{margin:0;padding:12px 14px 0}
#content .financial-report-page .query-panel:not(.wh-query)>.compare-periods{padding:4px 12px 8px}
#content .financial-report-page .query-panel>.period-add-row{padding:0 12px 10px}
#content .financial-report-page .query-panel>.report-dimensions,#content .financial-report-page .query-panel>.report-options{padding-left:14px;padding-right:14px}
#content .financial-report-page :where(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select:not([multiple]),.multi-select>summary,.dash-entities>summary){height:var(--query-height);min-height:var(--query-height);max-width:100%;border:1px solid #dbe2ec;border-radius:var(--query-radius);padding:6px 10px;font-size:12px;line-height:20px;box-sizing:border-box;background-color:#fff;text-align:left}
#content .financial-report-page :is(.query-fields,.funds-filter-main,.funds-period-row,.risk-controls,.expense-period-row,.wc-query-top,.wc-query-more,.dash-filter-grid,.fc-query-row,.query-settings-fields,.mq-filters),#content .financial-report-page .funds-filters .form-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--query-gap);align-items:end;justify-content:start}
#content .financial-report-page :is(.query-fields,.funds-filter-main,.funds-period-row,.risk-controls,.expense-period-row,.wc-query-top,.wc-query-more,.dash-filter-grid,.fc-query-row,.query-settings-fields,.mq-filters,.accounting-dashboard-filter)>label:not(.wh-check),#content .financial-report-page .funds-filters .form-grid>label{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:5px;margin:0;min-width:0;max-width:none;width:auto;font-size:12px;font-weight:400;color:#687990;line-height:18px;text-align:left}
#content .financial-report-page :is(.query-panel,.funds-filters,.wc-query-form) .wh-inline{align-items:stretch;text-align:left;margin:0}
#content .financial-report-page :is(.query-fields,.funds-filter-main,.risk-controls,.funds-period-row,.wc-query-top,.wc-query-more,.dash-filter-grid,.fc-query-row) :is(input:not([type=checkbox]),select,.month-picker){width:100%;min-width:0}
#content .financial-report-page :is(.query-fields,.funds-filter-main,.risk-controls) .month-picker{display:flex;gap:5px}
#content .financial-report-page :is(.query-fields,.funds-filter-main,.risk-controls) .month-picker select{flex:1;width:0}
#content .financial-report-page :is(.query-actions,.funds-filter-actions,.wc-query-buttons,.dash-filter-footer,.wh-query-buttons){display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;text-align:left}
#content .financial-report-page :is(.query-panel,.funds-filters,.wc-query-form) :is(.query-actions,.funds-filter-actions,.wc-query-buttons,.dash-filter-footer){border-top:1px solid var(--line);margin:12px 0 0;padding:10px 0 0}
#content .financial-report-page .query-panel>:is(.funds-filter-actions,.dash-filter-footer){margin:0;padding:10px var(--query-padding)}
#content .financial-report-page :is(.query-panel,.funds-filters,.accounting-dashboard-filter,.wc-query-form) :is(button.primary,.query-actions>button,.funds-filter-actions>button,.wc-query-buttons>button){min-height:var(--query-height);padding:6px 12px;font-size:12px;line-height:20px;border-radius:var(--query-radius)}
#content .financial-report-page :is(.query-actions,.funds-filter-actions,.dash-filter-footer)>:is(span,small){min-width:0;margin-right:auto;font-size:11px;color:#8290a3;flex:1 1 180px;line-height:18px;overflow-wrap:anywhere}
#content .financial-report-page :is(.query-actions,.funds-filter-actions)>span:empty{display:none}
#content .financial-report-page :is(.query-actions,.funds-filter-actions,.wc-query-buttons)>button.primary{order:2}
#content .financial-report-page :is(.query-actions,.funds-filter-actions)>label{display:flex;align-items:center;gap:6px;margin:0;font-size:12px;text-align:left}
#content .financial-report-page .query-presets{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:10px 0 0;font-size:11px;color:#8290a3}
#content .financial-report-page .query-panel>.query-presets{padding:0 var(--query-padding) 10px}
#content .financial-report-page .query-presets>span{margin-right:4px;white-space:nowrap}
#content .financial-report-page .query-presets button{height:28px;min-height:28px;padding:3px 10px;border-radius:5px;font-size:12px;line-height:20px;background:#fff;color:#65758d;white-space:nowrap}
#content .financial-report-page .query-presets button[aria-pressed=true]{background:#edf2ff;border-color:#c9d7f6;color:#315cda}
#content .financial-report-page .query-presets small{font-size:11px;line-height:18px}
#content .financial-report-page :is(.query-more,.funds-more,.funds-advanced,.expense-more,.expense-scope-picker,.query-inline-settings){margin-top:10px;text-align:left;position:static}
#content .financial-report-page :is(.query-more,.funds-more,.funds-advanced,.expense-more,.expense-scope-picker,.query-inline-settings)>summary{display:list-item;text-align:left;font-size:12px;color:#65758d;line-height:20px;cursor:pointer;padding:0;background:transparent;border:0;border-radius:0}
#content .financial-report-page :is(.query-more,.funds-more,.expense-more,.funds-advanced) .form-grid{margin-top:10px}
#content .financial-report-page .expense-scope-picker>.form-grid{position:static;display:grid;width:auto;max-width:none;min-width:0;padding:12px 0 0;margin:0;border:0;border-radius:0;box-shadow:none;background:transparent;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#content .financial-report-page .expense-scope-picker>.form-grid>label{text-align:left}
#content .financial-report-page .expense-active-scope{font-size:11px;line-height:18px}
#content .financial-report-page .expense-quick-row{flex-wrap:wrap;gap:10px}
#content .financial-report-page .expense-quick-row>.query-actions{margin-left:auto}
#content .financial-report-page .wc-query-top{grid-template-columns:repeat(4,minmax(0,1fr))}
#content .financial-report-page .wc-query-more{margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}
#content .financial-report-page .wc-query-more .query-help{display:none}
#content .financial-report-page .wc-query-more label:last-of-type{grid-column:auto}
#content .financial-report-page .query-inline-settings{border-top:1px solid var(--line);padding:10px 0 0}
#content .financial-report-page .query-panel>.query-inline-settings{margin:0 14px 10px;padding-top:10px}
#content .financial-report-page .query-settings-body{padding-top:10px}
#content .financial-report-page .query-settings-fields{grid-template-columns:repeat(4,minmax(0,1fr))}
#content .financial-report-page .query-settings-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px 12px;margin-top:12px}
#content .financial-report-page .query-settings-metrics label{display:flex;align-items:center;gap:7px;min-width:0;margin:0;font-size:12px;line-height:20px;text-align:left;color:#52647c}
#content .financial-report-page .query-settings-metrics input{flex:none}
#content .financial-report-page .risk-filter{gap:10px;align-items:center;flex-wrap:wrap}
#content .financial-report-page .wh-filter-grid,#content .financial-report-page .mg-query-grid{gap:10px}
#content .financial-report-page :is(.wh-filter-grid,.mg-query-grid) .form-field{text-align:left;margin:0;gap:5px}
/* Comparison periods keep six columns on ordinary laptops. */
#content .financial-report-page .query-panel :is(.period-kind,.period-date,.period-preset,.period-heading) select{height:26px;min-height:26px;padding:2px 5px;font-size:11px;line-height:20px}
#content .financial-report-page .query-panel .period-date .year-month{gap:3px}
#content .financial-report-page .query-panel .period-order button{min-height:20px;height:20px;line-height:16px;padding:0 4px}
#content .financial-report-page .query-panel .compare-actions{justify-content:flex-end;gap:8px;padding:10px 12px}
#content .financial-report-page .query-panel .compare-actions .tiny{margin-right:auto}
#content .financial-report-page .query-panel .compare-actions button.primary{order:2}
#content .financial-report-page .query-panel .period-add-row{margin-bottom:0}
#content .financial-report-page :is(.mq-filters,.dash-filter-grid,.accounting-dashboard-filter){padding:14px}
#content .financial-report-page .accounting-dashboard-filter{gap:10px;flex-wrap:wrap}
#content .financial-report-page .accounting-dashboard-filter>label{flex:0 1 200px}
#content .financial-report-page .accounting-dashboard-filter .actions{margin-left:auto}
#content .financial-report-page .ai-inline-settings{margin:0 0 12px}
#content .financial-report-page .ai-inline-settings .settings-form{margin-bottom:0;padding:0}
#content .financial-report-page .ai-inline-settings .panel-head,#content .financial-report-page .ai-inline-settings .panel-body,#content .financial-report-page .ai-inline-settings .settings-form-actions{padding:12px}
@media(max-width:1150px){#content .financial-report-page :is(.query-fields,.funds-filter-main,.funds-period-row,.risk-controls,.expense-period-row,.wc-query-top,.wc-query-more,.dash-filter-grid,.fc-query-row,.mq-filters),#content .financial-report-page .funds-filters .form-grid,#content .financial-report-page .expense-scope-picker>.form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}#content .financial-report-page .query-settings-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){#content .financial-report-page :is(.query-fields,.funds-filter-main,.funds-period-row,.risk-controls,.expense-period-row,.wc-query-top,.wc-query-more,.dash-filter-grid,.fc-query-row,.query-settings-fields,.query-settings-metrics,.mq-filters),#content .financial-report-page .funds-filters .form-grid,#content .financial-report-page .expense-scope-picker>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#content .financial-report-page .query-presets small{flex-basis:100%}#content .financial-report-page .wc-query-buttons{grid-column:auto}#content .financial-report-page .funds-filter-actions>span{flex-basis:100%}#content .financial-report-page .query-panel .compare-actions{flex-wrap:wrap}#content .financial-report-page .header-right{min-width:0;gap:6px}#content .financial-report-page #auth-self{max-width:130px;overflow:hidden;text-overflow:ellipsis}}

#content .financial-report-page .report-flat-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;padding:12px 14px;align-items:end;text-align:left}
#content .financial-report-page .report-flat-options>*{min-width:0}
#content .financial-report-page .report-flat-options .number-display{display:contents}
#content .financial-report-page .report-flat-options>label,#content .financial-report-page .report-flat-options .number-display>label,#content .financial-report-page .report-flat-options .multi-field{display:flex;flex-direction:column;align-items:stretch;gap:5px;margin:0;min-width:0;font-size:12px;color:#687990;line-height:18px;text-align:left}
#content .financial-report-page .report-flat-options .multi-select{width:100%;min-width:0;max-width:none}
#content .financial-report-page .report-flat-options .multi-field>span{text-align:left}
#content .financial-report-page .report-flat-options .number-display>.tiny{display:none}
#content .financial-report-page .report-flat-options .column-options{grid-column:1/-1;display:flex;align-items:center;justify-content:flex-start;gap:10px;border:0;padding:0;margin:0;font-size:12px}
#content .financial-report-page .report-flat-options .column-options label{display:flex;align-items:center;gap:5px;margin:0;font-size:12px}
#content .financial-report-page .report-flat-options .column-options small{font-size:11px}
#content .financial-report-page .funds-filter-actions>.query-actions{border:0;padding:0;margin:0}
@media(max-width:760px){#content .financial-report-page .report-flat-options{grid-template-columns:repeat(2,minmax(0,1fr))}}
#content .financial-report-page .report-flat-options label:has(>select){display:flex;flex-direction:column;align-items:stretch;gap:5px;margin:0;min-width:0;color:#687990;font-size:12px;line-height:18px;text-align:left}

