:root{--ink:#10213a;--accent:#0b7890;--teal:#0b7861;--bg:#f0f5f9}
body{background:var(--bg)}.shell{max-width:1250px}.notice{border-radius:12px}
header{position:relative;background:linear-gradient(115deg,#10213a,#193d5a)}
.dash-hero{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:23px 25px;margin-bottom:16px;background:linear-gradient(120deg,#112f4c,#145568);border-radius:18px;color:white}
.dash-hero h2{font-size:29px;margin:6px 0}.dash-hero p{max-width:660px;color:#d9e6ee;line-height:1.55;margin:5px 0}.dash-hero .eyebrow{font-size:11px;letter-spacing:1.8px;color:#92dfd4;font-weight:800}
.hero-primary{background:#d4f2e9;color:#0b4f4c;font-weight:700}.kpis{grid-template-columns:repeat(auto-fit,minmax(195px,1fr))}.financial-card{border-top:3px solid #1e8491}.financial-card small{display:block}.quick-actions{display:flex;flex-wrap:wrap;gap:8px}
.category-row{margin:12px 0}.bar{height:7px;background:#e5edf2;border-radius:8px;margin-top:6px;overflow:hidden}.bar>span{display:block;height:100%;background:#0c8797;border-radius:8px}
.mobile-bar{display:none} .notice.small{font-size:12px;margin-top:12px}.mobile-movements .item{gap:14px}.mobile-movements b{overflow-wrap:anywhere}
@media(max-width:760px){
 body{padding-bottom:78px} header{padding:14px 16px;position:sticky;top:0;z-index:21;box-shadow:0 4px 15px #122f4740}header h1{font-size:20px!important}header .pill{font-size:10px;padding:4px 8px}header small{font-size:11px}
 .shell{padding:10px}.shell>.notice{font-size:11px;padding:10px}.dash-hero{padding:18px;border-radius:13px;flex-wrap:wrap}.dash-hero h2{font-size:24px}.dash-hero p{font-size:13px}.hero-primary{width:100%}
 .grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}.grid.two{grid-template-columns:1fr!important}.card{padding:13px;border-radius:12px;margin-bottom:10px;min-width:0}.metric{font-size:20px}.financial-card .muted{font-size:12px}.financial-card small{font-size:10px}
 .formgrid{grid-template-columns:1fr!important}.quick-actions{display:grid;grid-template-columns:repeat(2,1fr)}.quick-actions button{font-size:12px;padding:9px}
 #nav{display:none;position:fixed;left:10px;right:10px;top:63px;bottom:83px;z-index:29;background:white;box-shadow:0 8px 32px #10213a50;padding:13px;overflow:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;border-radius:16px}
 body.menu-open #nav{display:grid;align-content:start}#nav button{white-space:normal;min-height:49px;font-size:12px;border:1px solid #e2ebf2}
 .mobile-bar{display:grid;position:fixed;bottom:0;left:0;right:0;z-index:40;grid-template-columns:repeat(5,1fr);background:#10213a;padding:7px 4px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -5px 24px #1a314540}
 .mobile-bar button{border-radius:8px;background:transparent;display:grid;gap:2px;place-items:center;color:white;font-size:21px;padding:6px 0}
 .mobile-bar span{font-size:10px;font-weight:600} .tablewrap{overflow-x:auto} table{font-size:12px} footer{display:none}
 .row{min-width:0}.row > *{min-width:0} .row.item .muted{font-size:11px}.row.item >b{min-width:85px;text-align:right;font-size:13px}
}
@media(max-width:360px){.financial-card .metric{font-size:17px}.card{padding:11px}}
@media print{.mobile-bar,.dash-hero button,.quick-actions{display:none!important}header{position:static}.grid{grid-template-columns:repeat(2,1fr)}}
