/* MBF accounting-inspired original dashboard; no third-party assets. */
:root{--mbf-blue:#0877bb;--mbf-blue-deep:#07588f;--mbf-sky:#f1f7fb;--mbf-dash-line:#e3eaf0;--mbf-text:#233d54}
body{background:#f3f6f9;color:var(--mbf-text)}
.masthead{background:linear-gradient(113deg,#075b96,#0079be 58%,#09619b);height:72px;min-height:72px;box-shadow:0 2px 14px rgba(12,63,110,.09)}
.brand-icon{background:#fff;color:#09649d;border:0;border-radius:8px}.brand-sub{color:#d2ecfb}.header-tools select{background:#146b9b;border-color:#4e97c1}.demo-pill{background:#d9edf9;border:1px solid #b4d9ef;color:#12587c}.small-button{border-color:#c8e1ef}
.accounting-menubar{display:flex;gap:3px;align-items:center;margin-left:25px;margin-right:auto}
.accounting-menubar button{background:transparent;border:0;border-radius:4px;color:white;font-size:12px;font-weight:700;padding:10px 11px;white-space:nowrap}.accounting-menubar button:hover{background:#ffffff28}
.accounting-menubar .menu-current{background:#ffffff27}
.app-shell{grid-template-columns:236px minmax(0,1fr);min-height:calc(100vh - 72px)}
.sidebar{background:linear-gradient(180deg,#0879ba,#0c669e);border-right:1px solid #0a5b91;padding:16px 9px 14px;color:#fff}
.sidebar-kicker{color:#c4e8ff;font-size:10px;margin:4px 11px 7px}.side-nav{gap:3px}
.nav-item{color:#e5f4fc;font-size:12px;font-weight:600;border-radius:5px;padding:11px 12px;min-height:39px}
.nav-item:hover{background:#ffffff25;color:white}.nav-item.active{background:#fff;color:#07659d;box-shadow:0 2px 7px #043c621c}
.nav-glyph{min-width:18px;text-align:center;font-size:16px}.sidebar-foot{border-top:1px solid #68abd0;margin-top:auto}.sidebar-foot b{color:white}.sidebar-foot span{color:#ceeafa}
.dash-nav-heading{font-weight:800;font-size:9px;letter-spacing:1.2px;text-transform:uppercase;color:#b9e4fa;margin:17px 11px 6px}.nav-item.voucher{padding:8px 12px;font-size:11.5px;min-height:32px}.nav-item.voucher:before{content:'›';font-size:17px;font-weight:700;margin-right:-6px}.nav-item.planned{opacity:.45;cursor:not-allowed}.nav-item.planned:hover{background:transparent}.nav-item .nav-beta{font-size:9px;opacity:.75;margin-left:auto}
.workspace{padding:24px 2.6% 30px;max-width:none}.workspace-top{margin-bottom:15px;align-items:center}.workspace-top h1{font-size:24px}.workspace-top .eyebrow{color:#237eaa}.business-select{width:270px}.business-select select{border:1px solid #ccdce8;box-shadow:0 1px 3px rgba(0,0,0,.04)}
.dash-label{color:#0879ba;font-weight:800;text-transform:uppercase;font-size:10px;letter-spacing:1.3px}.dash-topline{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:17px}.dash-big-heading{font-size:23px;line-height:1.35;color:#173c5b;margin:5px 0}.dash-subtitle{color:#8296a6;font-size:11px}.dash-period-label{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700;color:#60788b;white-space:nowrap;margin:0}.dash-period{width:auto;min-width:137px;padding:9px 28px 9px 10px;font-size:12px;border-radius:6px}
.dash-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px;margin:0 0 16px}.dash-kpi{background:white;border:1px solid #d9e6ee;border-radius:8px;padding:17px;box-shadow:0 2px 10px #1a5c8006;position:relative;min-height:150px;min-width:0;overflow:hidden}.dash-kpi-name{color:#60788b;font-weight:700;font-size:12px}.dash-kpi strong{display:block;font-size:23px;line-height:1.25;font-weight:800;color:#1d5777;margin:10px 0 7px;overflow-wrap:anywhere;letter-spacing:-.6px}.dash-kpi strong.good{color:#16836f}.dash-kpi strong.bad{color:#d2656d}.dash-kpi-meta{font-size:10px;color:#95a6b4;display:flex;align-items:center;gap:7px}.dash-kpi .dash-spark{position:absolute;bottom:8px;right:12px;width:48%;height:35px;opacity:.95}.dash-small-dot{height:8px;width:8px;border-radius:50%;background:#008ccc;display:inline-block;flex:none;margin-right:5px}.dash-small-dot.in{background:#118bd0}.dash-small-dot.out{background:#e88e65}.dash-spark-empty{height:35px}.dash-profit-indicator{display:inline-block;background:#e4f5ef;color:#127964;border-radius:4px;padding:3px 8px;font-size:10px;margin-top:6px;font-weight:800}.dash-profit-indicator.bad{background:#fff0ec;color:#bd6151}.dash-capital-bar{margin-top:13px;height:6px;background:#e7f0f4;border-radius:99px;overflow:hidden}.dash-capital-bar span{display:block;background:#187eac;height:100%}
.dash-panel{min-width:0;background:#fff;border:1px solid #dce6ec;border-radius:7px;padding:18px 20px;margin-bottom:16px;box-shadow:0 2px 10px #1a5c8006}.dash-panel h3{font-size:14px;font-weight:800;line-height:1.35;color:#1d435d}.dash-panel p{font-size:11px;color:#7a91a3;margin-top:4px;line-height:1.55}.dash-panel-head{display:flex;align-items:start;justify-content:space-between;gap:8px;margin-bottom:12px}.dash-panel-badge{border:1px solid #e2ebf0;border-radius:4px;padding:5px 8px;background:#f5fafc;color:#628197;font-size:10px;font-weight:800}.dash-split{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(0,1fr);gap:15px}.dash-split.two-equal{grid-template-columns:repeat(2,minmax(0,1fr))}.dash-legend{display:flex;gap:16px;font-size:11px;font-weight:700;color:#61778a;margin-bottom:3px}.dash-legend span{display:flex;align-items:center}.dash-line-chart{width:100%;height:auto;max-height:245px;display:block}.dash-gridline{stroke:#eaf0f4;stroke-width:1}.dash-axis{font:10px Inter,system-ui,sans-serif;fill:#90a1ae}.dash-trend-line{stroke-width:3;fill:none;stroke-linecap:round;stroke-linejoin:round}.dash-trend-line.in{stroke:#1288cb}.dash-trend-line.out{stroke:#e89063}.dash-dot-income{fill:#1288cb;stroke:white;stroke-width:1}.dash-dot-expense{fill:#e89063;stroke:white;stroke-width:1}.dash-chart-empty{height:218px;border:1px dashed #d7e4ed;border-radius:8px;background:#fafcfd;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;text-align:center;padding:15px}.dash-chart-empty b{color:#547185;font-size:13px}.dash-chart-empty p{max-width:330px;font-size:11px}.dash-empty-icon{font-size:34px;color:#bbd5e5}
.dash-bar-row{display:grid;grid-template-columns:76px minmax(0,1fr) 110px;align-items:center;gap:10px;margin:14px 0;font-size:11px;color:#597588}.dash-bar-row>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dash-bar-row strong{text-align:right;font-size:11px;color:#234d67;overflow-wrap:anywhere}.dash-bar-track{height:12px;background:#e7f0f5;border-radius:2px;overflow:hidden}.dash-bar-fill{height:100%;background:#1b88be;min-width:3px;border-radius:2px}.dash-bar-fill.alt{background:#32a89d}.dash-bar-fill.negative{background:#df8b73}.dash-notice{border-top:1px solid #ecf1f4;padding-top:10px;margin-top:17px;color:#8094a5;font-size:10px}.dash-inline-empty{color:#8ca0b1;background:#f8fbfd;border:1px dashed #d8e5ee;border-radius:5px;padding:18px;text-align:center;font-size:11px}.dash-unavailable-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dash-unavailable-grid.single{grid-template-columns:1fr}.dash-unavailable-grid>div{border:1px solid #e5edf2;background:#f8fafc;border-radius:6px;padding:16px;display:flex;flex-direction:column;gap:5px}.dash-unavailable-grid span{color:#718da1;font-size:11px}.dash-unavailable-grid strong{font-size:24px;color:#a1b5c2}.dash-unavailable-grid small{font-size:10px;color:#8399aa}.dash-outline{border:1px solid #bad2e0;border-radius:5px;background:#f4fafd;color:#166f9e;padding:8px 11px;font-size:11px;font-weight:700}.dash-outline:hover{background:#e5f3fb}.dash-table-wrap{overflow:auto}.dash-table{width:100%;white-space:nowrap}.dash-table th{background:#f2f7fa;color:#628499;font-size:10px;text-transform:none;letter-spacing:0;padding:11px}.dash-table td{padding:11px;color:#38596e}.dash-kind{display:inline-block;padding:3px 7px;border-radius:4px;font-size:10px;font-weight:700}.dash-kind.green{background:#e0f7ee;color:#15836b}.dash-kind.red{background:#fff0eb;color:#ba5949}.dash-kind.blue{background:#eaf2fb;color:#457aa6}.dash-bottom-note{font-size:11px;color:#7991a2;margin:0 0 13px}.dash-report-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:10px 0 16px}.dash-report-heading h2{font-size:19px}
@media(max-width:1130px){.dash-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.accounting-menubar{gap:0;margin-left:10px}.accounting-menubar button{font-size:11px;padding:8px}.dash-split{grid-template-columns:1fr 1fr}.dash-bar-row{grid-template-columns:65px minmax(0,1fr) 80px;gap:6px}}
@media(max-width:860px){.accounting-menubar{display:none}.dash-split,.dash-split.two-equal{grid-template-columns:1fr}.dash-kpi{min-height:139px}.workspace{padding:20px 3%}.sidebar{padding:10px}.nav-item{white-space:normal}}
@media(max-width:740px){.masthead{min-height:72px;height:auto}.app-shell{display:block}.sidebar{background:#086da5;padding:10px 12px}.side-nav{overflow-x:auto;display:flex;gap:4px}.nav-item{white-space:nowrap;padding:9px 11px;min-height:36px;flex:none}.dash-nav-heading,.nav-item.planned{display:none}.workspace-top{align-items:stretch}.dash-topline{align-items:flex-start;flex-direction:column;gap:11px}.dash-period-label{width:100%;justify-content:space-between}.dash-period{max-width:210px}.dash-bar-row{grid-template-columns:70px minmax(0,1fr) 96px}.dash-panel{padding:15px}.header-tools{gap:6px}.header-tools a{max-width:110px;white-space:normal!important;line-height:1.2}}
@media(max-width:430px){.dash-kpis{grid-template-columns:1fr 1fr;gap:7px}.dash-kpi{padding:12px;min-height:140px}.dash-kpi strong{font-size:19px}.dash-kpi-name{font-size:10px}.dash-kpi-meta{font-size:9px}.dash-split{gap:6px}.dash-bar-row{grid-template-columns:62px minmax(0,1fr) 75px}.dash-bar-row strong{font-size:9px}.dash-unavailable-grid{grid-template-columns:1fr}}
@media print{.accounting-menubar,.dash-period-label,.dash-outline,.dash-bottom-note{display:none!important}.dash-panel{break-inside:avoid}.dash-kpi{break-inside:avoid}}
