@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{font-family:Manrope,Arial,sans-serif;color:#1c1c19;background:#f5f4f0;font-synthesis:none;--ink:#1c1c19;--muted:#77766f;--line:#dfded8;--paper:#fff;--red:#a83e2b;--green:#55745b;--amber:#a36c31}*{box-sizing:border-box}body{margin:0;min-height:100vh}.sidebar{position:fixed;inset:0 auto 0 0;width:252px;background:#1d1d1a;color:#f6f5f0;padding:25px 16px 17px;display:flex;flex-direction:column;z-index:5}.brand{display:flex;align-items:center;gap:12px;padding:7px 10px 31px;color:inherit;text-decoration:none}.brand img{width:85px;height:33px;object-fit:contain;filter:invert(1)}.brand span,.nav-label,.side-bottom,.eyebrow,.metric-label,.table th,.tag,.mono{font-family:'DM Mono',monospace;letter-spacing:.08em}.brand span{font-size:8px;color:#a5a39a;line-height:1.5}.nav-label{font-size:9px;color:#88867e;padding:0 12px 10px}.nav-list{display:grid;gap:4px}.nav-item{border:0;background:none;color:#bcbab2;text-align:left;padding:11px 12px;border-radius:5px;display:flex;align-items:center;gap:12px;font:600 12px Manrope,sans-serif;cursor:pointer;min-height:42px}.nav-item:hover{background:#2a2a26;color:#fff}.nav-item.active{background:#34332e;color:#fff}.nav-item.active:before{content:"";position:absolute;left:0;width:3px;height:25px;background:#c04e36;border-radius:0 3px 3px 0}.nav-icon{font-size:15px;width:18px;text-align:center;color:#c6c3b9}.side-bottom{margin-top:auto;padding:16px 10px 2px;border-top:1px solid #383833;font-size:8px;color:#aaa89f;display:flex;align-items:center;gap:7px}.side-bottom small{margin-left:auto;font-size:8px}.live-dot{width:6px;height:6px;border-radius:50%;background:#d38452}.main{margin-left:252px;min-height:100vh}.topbar{height:62px;background:rgba(255,255,255,.86);border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 38px;position:sticky;top:0;z-index:3;backdrop-filter:blur(12px)}.crumb{font-size:11px;font-weight:700;letter-spacing:.07em}.crumb span{color:#aaa;margin:0 9px}.crumb b{font-weight:500;color:#777}.source-link{font-size:11px;color:var(--ink);text-decoration:none;border-bottom:1px solid #b6b4ad;padding:5px 0}.source-link:hover{color:var(--red);border-color:var(--red)}.menu-toggle{display:none}.content{max-width:1320px;padding:36px 40px 60px;margin:0 auto}.page-head{display:flex;justify-content:space-between;align-items:end;gap:18px;margin-bottom:28px}.eyebrow{font-size:9px;color:var(--red);text-transform:uppercase;margin:0 0 9px}.page-head h1{font-size:clamp(27px,3vw,38px);letter-spacing:-.055em;line-height:1.05;margin:0;font-weight:700}.page-head p{color:var(--muted);font-size:12px;margin:9px 0 0;max-width:620px;line-height:1.6}.tag{font-size:9px;color:#746b5e;background:#ece9e0;padding:8px 10px;border-radius:3px;white-space:nowrap}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-bottom:15px}.metric,.panel,.data-card{background:var(--paper);border:1px solid var(--line);border-radius:5px}.metric{padding:17px 18px;min-height:111px}.metric-label{font-size:9px;color:var(--muted);text-transform:uppercase}.metric-value{font-size:29px;line-height:1.2;letter-spacing:-.06em;font-weight:700;margin:11px 0 5px}.metric-note{font-size:10px;color:var(--muted)}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(260px,.8fr);gap:14px}.panel{padding:19px}.panel-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.panel h2{margin:0;font-size:13px;letter-spacing:-.02em}.panel-kicker{font:9px 'DM Mono',monospace;color:var(--muted)}.progress-row{display:grid;grid-template-columns:100px 1fr 32px;align-items:center;gap:10px;margin:14px 0;font-size:10px}.progress{height:5px;background:#eeede8;border-radius:5px;overflow:hidden}.progress i{display:block;height:100%;background:var(--red);border-radius:5px}.progress-row strong{text-align:right;font:10px 'DM Mono',monospace;color:var(--muted)}.attention-list,.feed-list{list-style:none;margin:0;padding:0}.attention-list li{border-top:1px solid #eeede8;padding:11px 0;display:flex;gap:10px;align-items:flex-start;font-size:11px;line-height:1.5}.attention-list li:first-child{border-top:0}.bullet{width:7px;height:7px;margin-top:4px;background:var(--amber);border-radius:50%;flex:none}.bullet.red{background:var(--red)}.bullet.green{background:var(--green)}.attention-list small{display:block;color:var(--muted);font-size:9px;margin-top:3px}.feed{margin-top:14px}.feed-list li{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #eeede8;padding:10px 0;font-size:10px}.feed-list time{font:9px 'DM Mono',monospace;color:var(--muted);white-space:nowrap}.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:5px}.data-table{border-collapse:collapse;width:100%;min-width:680px;font-size:11px}.data-table th{text-align:left;color:var(--muted);font-size:8px;text-transform:uppercase;background:#f9f8f5;padding:12px 14px;border-bottom:1px solid var(--line);white-space:nowrap}.data-table td{padding:13px 14px;border-bottom:1px solid #eeede8;vertical-align:top;line-height:1.55}.data-table tr:last-child td{border-bottom:0}.data-table td:first-child{font-weight:700;min-width:125px}.data-table td.muted{color:var(--muted)}.status{display:inline-block;border-radius:3px;padding:4px 7px;background:#f1efe9;color:#71695d;font-size:9px;white-space:nowrap}.status.critical,.status.risk,.status.tbd{background:#f7e8e3;color:#9b402d}.status.done,.status.approve{background:#e8efe8;color:#47694d}.section-block{margin-top:18px}.section-title{font-size:12px;margin:0 0 10px}.swot-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.swot-box{padding:18px;background:#fff;border:1px solid var(--line);border-radius:5px}.swot-box h2{font:10px 'DM Mono',monospace;text-transform:uppercase;letter-spacing:.1em;margin:0 0 12px}.swot-box.strength h2{color:#547557}.swot-box.weakness h2{color:#a36c31}.swot-box.opportunity h2{color:#426e70}.swot-box.threat h2{color:#a83e2b}.swot-item{padding:10px 0;border-top:1px solid #eeede8;font-size:11px;line-height:1.5}.swot-item b{display:block;font-size:11px;margin-bottom:4px}.swot-item small{color:var(--muted);font-size:9px}.notice{padding:12px 14px;border-left:3px solid var(--amber);background:#f1eee7;color:#5b554b;font-size:10px;line-height:1.6;margin:14px 0}.role-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.data-card{padding:15px}.data-card h3{font-size:11px;margin:0 0 6px}.data-card p{font-size:10px;color:var(--muted);line-height:1.5;margin:0}.flow{display:grid;grid-template-columns:repeat(7,minmax(105px,1fr));gap:8px;overflow:auto;padding:4px 0 12px}.flow-step{background:#fff;border:1px solid var(--line);padding:13px;border-radius:4px;min-height:100px;position:relative}.flow-step b{display:block;font:9px 'DM Mono',monospace;color:var(--red);margin-bottom:9px}.flow-step strong{font-size:10px;line-height:1.4;display:block}.flow-step small{display:block;font-size:9px;color:var(--muted);margin-top:6px;line-height:1.4}.mobile-backdrop{display:none}
@media(max-width:1050px){.sidebar{width:220px}.main{margin-left:220px}.content{padding:30px 24px 48px}.topbar{padding:0 24px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.role-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.sidebar{width:min(280px,84vw);transform:translateX(-102%);transition:transform .22s ease;box-shadow:12px 0 35px #0002}.sidebar.open{transform:translateX(0)}.mobile-backdrop.show{display:block;position:fixed;inset:0;background:#0006;z-index:4}.main{margin-left:0}.topbar{height:56px;padding:0 16px}.menu-toggle{display:block;border:0;background:none;font-size:18px;padding:8px;margin-left:-8px;color:var(--ink)}.crumb{margin-right:auto;margin-left:9px;font-size:10px}.source-link{font-size:9px}.content{padding:26px 16px 45px}.page-head{align-items:flex-start;flex-direction:column;margin-bottom:20px}.page-head h1{font-size:30px}.tag{font-size:8px}.metrics{gap:8px}.metric{padding:13px;min-height:97px}.metric-label{font-size:8px}.metric-value{font-size:24px;margin:9px 0 3px}.metric-note{font-size:9px}.dashboard-grid{grid-template-columns:1fr;gap:10px}.panel{padding:15px}.swot-grid{grid-template-columns:1fr}.role-grid{grid-template-columns:1fr 1fr}.flow{grid-template-columns:repeat(7,118px)}.table-wrap{margin-left:-1px;margin-right:-1px}.data-table{min-width:650px}.progress-row{grid-template-columns:90px 1fr 29px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
.nav-icon img,.tab-item img,.menu-toggle img{display:block;width:21px;height:21px;object-fit:contain}.nav-icon img{filter:brightness(0) invert(.78)}.nav-item.active .nav-icon img{filter:brightness(0) invert(1)}.menu-toggle img{width:22px;height:22px}.tab-bar{display:none}.menu-sheet{border:0;padding:8px 18px calc(18px + env(safe-area-inset-bottom));width:100%;max-width:none;max-height:min(78dvh,640px);margin:auto 0 0;border-radius:20px 20px 0 0;background:#f8f7f3;color:var(--ink);box-shadow:0 -12px 50px #0002}.menu-sheet[open]{animation:sheet-in .2s ease-out}.menu-sheet::backdrop{background:#17171470;backdrop-filter:blur(2px)}.sheet-grip{width:34px;height:4px;border-radius:4px;background:#c8c6bd;margin:2px auto 15px}.sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.sheet-head h2{font-size:17px;letter-spacing:-.03em;margin:0}.sheet-head button{width:44px;height:44px;border:0;border-radius:50%;background:#eeece5;font-size:23px;color:var(--ink)}#more-nav .nav-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#more-nav .nav-item{height:58px;border:1px solid var(--line);background:#fff;color:var(--ink);gap:10px;font-size:12px}#more-nav .nav-item.active{border-color:#c77662;background:#f9ece8;color:var(--ink)}#more-nav .nav-item:before{display:none}#more-nav .nav-icon img{filter:none}
@keyframes sheet-in{from{transform:translateY(18px);opacity:.7}to{transform:translateY(0);opacity:1}}
@media(max-width:700px){
 html,body{min-height:100%;min-height:100svh}body{-webkit-tap-highlight-color:transparent}.sidebar{display:none}.main{min-height:100svh;padding-bottom:calc(74px + env(safe-area-inset-bottom))}.topbar{height:calc(56px + env(safe-area-inset-top));padding:env(safe-area-inset-top) 16px 0;top:0}.menu-toggle{display:none}.crumb{margin-left:0;font-size:11px}.source-link{min-height:44px;display:flex;align-items:center;font-size:10px}.content{padding:24px 16px 22px}.page-head{gap:12px}.page-head p{font-size:13px}.tag{padding:9px 11px}.metrics{gap:9px}.metric{min-height:104px;padding:15px 13px;border-radius:8px}.metric-value{font-size:25px}.metric-note{font-size:10px;line-height:1.45}.panel,.swot-box,.data-card{border-radius:8px}.panel{padding:16px}.panel h2{font-size:14px}.panel-kicker{font-size:8px}.attention-list li{font-size:12px;min-height:50px}.attention-list small{font-size:10px}.data-table{font-size:12px}.data-table th{font-size:9px}.data-table td{padding:14px 13px}.table-wrap{-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}.role-grid{grid-template-columns:1fr 1fr}.data-card{min-height:84px;padding:14px}.tab-bar{position:fixed;inset:auto 0 0;z-index:6;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:7px 8px calc(7px + env(safe-area-inset-bottom));min-height:calc(66px + env(safe-area-inset-bottom));background:rgba(255,255,255,.94);border-top:1px solid var(--line);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}.tab-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:50px;border:0;border-radius:8px;background:transparent;color:#79776f;font:600 9px Manrope,sans-serif;white-space:nowrap}.tab-item img{width:22px;height:22px;opacity:.75}.tab-item.active{color:var(--red);background:#f7eeeb}.tab-item.active img{filter:invert(29%) sepia(29%) saturate(1905%) hue-rotate(330deg) brightness(84%) contrast(88%);opacity:1}.menu-sheet{position:fixed;inset:auto 0 0;overflow:auto}.feed-list li{font-size:11px}.feed-list time{font-size:8px}}
@media(prefers-reduced-motion:reduce){.menu-sheet[open]{animation:none}}

/* BIBO-like mobile hierarchy, kept in MARTA's material palette. */
.top-identity{display:flex;align-items:center;gap:10px;min-width:0;color:var(--ink);text-decoration:none}.top-identity>img{width:62px;height:28px;object-fit:contain}.top-identity>span{display:grid;gap:1px}.top-identity b{font-size:10px;line-height:1;letter-spacing:.1em}.top-identity small{font:8px 'DM Mono',monospace;color:var(--muted);letter-spacing:.08em;text-transform:uppercase}.topbar .menu-toggle+.top-identity{margin-left:12px}.tab-icon{display:flex;align-items:center;justify-content:center}.tab-icon img{display:block;width:21px;height:21px}.more-item{width:100%;display:grid;grid-template-columns:43px minmax(0,1fr) 18px;align-items:center;gap:12px;padding:12px 6px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);text-align:left;font:inherit}.more-item:last-child{border-bottom:0}.more-item strong{display:block;font-size:13px;letter-spacing:-.02em}.more-item small{display:block;margin-top:2px;color:var(--muted);font-size:10px}.more-item>b{font-size:20px;font-weight:400;color:#aaa59b}.more-icon{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#f3e8e4}.more-icon img{width:21px;height:21px;filter:invert(29%) sepia(29%) saturate(1905%) hue-rotate(330deg) brightness(84%) contrast(88%)}.more-item:nth-child(2) .more-icon{background:#edf2ea}.more-item:nth-child(2) .more-icon img{filter:invert(42%) sepia(14%) saturate(1053%) hue-rotate(77deg) brightness(87%) contrast(84%)}.more-item:nth-child(3) .more-icon{background:#f4ede3}.more-item:nth-child(4) .more-icon{background:#eeeae4}.more-item.active strong{color:var(--red)}

@media(min-width:701px){.top-identity>img{width:72px}.top-identity b{font-size:11px}.top-identity small{font-size:8px}}
@media(max-width:700px){.topbar{justify-content:space-between}.top-identity{margin-right:auto}.top-identity>img{width:56px;height:25px}.top-identity b{font-size:9px}.top-identity small{font-size:8px}.source-link{border:1px solid var(--line);border-radius:7px;padding:0 9px;min-height:32px;font-size:9px}.tab-bar{gap:2px;padding:7px 8px calc(7px + env(safe-area-inset-bottom));min-height:calc(68px + env(safe-area-inset-bottom));background:#1d1d1a;border-top:0;box-shadow:0 -7px 22px #0002}.tab-item{position:relative;min-height:52px;color:#aca9a1;border-radius:9px;font-size:8px}.tab-item img{filter:brightness(0) invert(.73);opacity:1}.tab-item.active{color:#fff;background:#393733}.tab-item.active img{filter:brightness(0) invert(1)}.tab-item.featured{margin:-20px auto 0;align-self:start;width:54px;height:54px;min-height:54px;border:4px solid #f5f4f0;border-radius:50%;background:var(--red);box-shadow:0 8px 16px #0004;color:#fff;gap:1px}.tab-item.featured img{width:20px;height:20px;filter:brightness(0) invert(1)}.tab-item.featured.active{background:#c7533a}.menu-sheet{padding:8px 18px calc(18px + env(safe-area-inset-bottom));border-radius:22px 22px 0 0}.sheet-head{margin-bottom:6px}.sheet-head h2{font-size:18px}#more-nav{padding-bottom:2px}.page-head h1{font-size:29px;max-width:330px}.page-head p{max-width:360px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{border-radius:12px}.panel,.swot-box,.data-card{border-radius:12px}.notice{border-radius:0 9px 9px 0}.dashboard-grid>aside{display:contents}.dashboard-grid>aside .panel:first-child{order:-1}.panel-head{min-height:25px}.source-link:hover{color:var(--ink);border-color:var(--line)}}
