/* GridSolver Project Hub — calm, readable, one window */
:root {
  --side: #1E2A3A; --side-ink: #E7EDF4; --side-ink2: #9FB0C3; --side-hover: #2A3A4F; --side-active: #33475F;
  --bg: #F5F6F8; --panel: #FFFFFF; --line: #E3E7ED; --line2: #EEF1F5;
  --ink: #18212C; --ink2: #4A5666; --ink3: #7B8794;
  --accent: #2266AA; --accent-soft: #E8F0FA; --accent-ink: #fff;
  --good: #1E8A55; --good-soft: #E4F4EC;
  --warn: #B7791F; --warn-soft: #FDF3DC;
  --bad: #C8402F; --bad-soft: #FCE9E6;
  --violet: #6D4FBF; --violet-soft: #EFEAFB;
  --grey-soft: #EEF1F5;
  --rad: 10px; --shadow: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.06);
  --shadow-lg: 0 20px 50px rgba(16,24,40,.22);
}
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body { font-family: Inter, "Segoe UI", system-ui, sans-serif; font-size: 14.5px; line-height: 1.5; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.boot { display: grid; place-items: center; height: 100vh; color: var(--ink3); }
h1 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
h2 { font-size: 16px; font-weight: 650; letter-spacing: -.01em; }
h3 { font-size: 13px; font-weight: 600; color: var(--ink2); text-transform: uppercase; letter-spacing: .05em; }
.muted { color: var(--ink3); } .small { font-size: 12.5px; } .right { margin-left: auto; }
.row { display: flex; align-items: center; gap: 10px; } .wrap { flex-wrap: wrap; } .grow { flex: 1; min-width: 0; }
.hide { display: none !important; }

/* ── shell ── */
#app { display: grid; grid-template-columns: 232px 1fr; height: 100vh; }
.side { background: var(--side); color: var(--side-ink); display: flex; flex-direction: column; padding: 16px 10px 12px; overflow-y: auto; }
.brand { display: flex; gap: 10px; align-items: center; padding: 2px 8px 16px; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: #2B3D55; display: grid; place-items: center; flex: none; }
.brand b { display: block; font-size: 15px; letter-spacing: -.01em; } .brand span { font-size: 11.5px; color: var(--side-ink2); }
.nav-label { font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: #6F8299; padding: 14px 10px 5px; }
.nav { display: flex; align-items: center; gap: 11px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none; color: var(--side-ink2); text-align: left; font-size: 14px; font-weight: 500; }
.nav svg { width: 18px; height: 18px; flex: none; opacity: .9; }
.nav:hover { background: var(--side-hover); color: var(--side-ink); }
.nav.on { background: var(--side-active); color: #fff; }
.nav .count { margin-left: auto; font-size: 11px; font-weight: 600; background: rgba(255,255,255,.12); padding: 1px 7px; border-radius: 99px; }
.nav .count.red { background: var(--bad); color: #fff; }
.side-foot { margin-top: auto; padding: 12px 8px 0; border-top: 1px solid #2C3B4F; font-size: 11.5px; color: #6F8299; }
.main { display: flex; flex-direction: column; min-width: 0; height: 100vh; }
.top { display: flex; align-items: center; gap: 12px; padding: 10px 28px; background: var(--panel); border-bottom: 1px solid var(--line); flex: none; }
.search { flex: 1; max-width: 420px; position: relative; }
.search input { width: 100%; padding: 8px 12px 8px 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); }
.search svg { position: absolute; left: 10px; top: 9px; width: 16px; height: 16px; color: var(--ink3); }
.search-results { position: absolute; top: 42px; left: 0; right: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow-lg); z-index: 30; max-height: 380px; overflow: auto; padding: 6px; }
.search-results button { display: flex; gap: 10px; width: 100%; text-align: left; border: 0; background: none; padding: 8px 10px; border-radius: 7px; }
.search-results button:hover { background: var(--bg); }
.content { flex: 1; overflow-y: auto; padding: 26px 28px 60px; }
.page { max-width: 1180px; margin: 0 auto; }
.page-head { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.page-head p { color: var(--ink2); margin-top: 3px; max-width: 720px; }

/* ── buttons, chips ── */
.btn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); font-weight: 550; font-size: 13.5px; white-space: nowrap; box-shadow: var(--shadow); }
.btn:hover { background: var(--bg); text-decoration: none; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; } .btn.primary:hover { background: #1C5690; }
.btn.ghost { border-color: transparent; box-shadow: none; background: none; color: var(--ink2); } .btn.ghost:hover { background: var(--grey-soft); }
.btn.danger { color: var(--bad); } .btn.sm { padding: 5px 10px; font-size: 12.5px; }
.btn svg { width: 16px; height: 16px; }
.icon-btn { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border: 0; background: none; border-radius: 8px; color: var(--ink2); }
.icon-btn:hover { background: var(--grey-soft); } .icon-btn svg { width: 20px; height: 20px; }
.badge-dot { position: absolute; top: 5px; right: 5px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--bad); color: #fff; font-size: 10px; font-weight: 700; display: grid; place-items: center; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 550; background: var(--grey-soft); color: var(--ink2); white-space: nowrap; }
.chip.good { background: var(--good-soft); color: var(--good); } .chip.warn { background: var(--warn-soft); color: var(--warn); }
.chip.bad { background: var(--bad-soft); color: var(--bad); } .chip.blue { background: var(--accent-soft); color: var(--accent); }
.chip.violet { background: var(--violet-soft); color: var(--violet); }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10.5px; font-weight: 700; color: #fff; flex: none; }
.avatar.lg { width: 40px; height: 40px; font-size: 14px; }
.me-btn { display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 4px 8px; border-radius: 8px; } .me-btn:hover { background: var(--grey-soft); }

/* ── cards & lists ── */
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--rad); box-shadow: var(--shadow); }
.card-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line2); }
.card-body { padding: 14px 18px; }
.grid { display: grid; gap: 16px; } .g2 { grid-template-columns: 1fr 1fr; } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
.stat { padding: 16px 18px; text-align: left; border: 1px solid var(--line); background: var(--panel); border-radius: var(--rad); box-shadow: var(--shadow); }
.stat:hover { border-color: #C9D3E0; }
.stat .n { font-size: 30px; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; } .stat .l { color: var(--ink2); font-size: 13px; margin-top: 2px; }
.stat.bad .n { color: var(--bad); } .stat.warn .n { color: var(--warn); } .stat.good .n { color: var(--good); }
.list > .li { display: flex; align-items: center; gap: 12px; padding: 11px 18px; border-bottom: 1px solid var(--line2); cursor: pointer; }
.list > .li:last-child { border-bottom: 0; } .list > .li:hover { background: #FAFBFC; }
.li .t { font-weight: 550; } .li .s { font-size: 12.5px; color: var(--ink3); }
.li.done .t { text-decoration: line-through; color: var(--ink3); }
.check { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #C3CCD8; background: #fff; flex: none; display: grid; place-items: center; padding: 0; }
.check:hover { border-color: var(--good); } .check.on { background: var(--good); border-color: var(--good); }
.check svg { width: 12px; height: 12px; color: #fff; }
.empty { padding: 28px 18px; text-align: center; color: var(--ink3); }
.tip { background: var(--accent-soft); color: #1B4F86; border-radius: 9px; padding: 10px 14px; font-size: 13.5px; margin-bottom: 16px; display: flex; gap: 10px; align-items: flex-start; }
.tip svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

/* health banner */
.health { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--rad); margin-bottom: 16px; border: 1px solid; }
.health.good { background: var(--good-soft); border-color: #BFE3CF; } .health.warn { background: var(--warn-soft); border-color: #F2DDA6; } .health.bad { background: var(--bad-soft); border-color: #F3C4BD; }
.health .light { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex: none; }
.health.good .light { background: var(--good); } .health.warn .light { background: var(--warn); } .health.bad .light { background: var(--bad); }
.health .light svg { width: 24px; height: 24px; }
.health b { font-size: 16px; }

/* suggestions */
.sug { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line2); }
.sug:last-child { border-bottom: 0; }
.sug .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; } .sug .ic svg { width: 18px; height: 18px; }
.sug .ic.bad { background: var(--bad-soft); color: var(--bad); } .sug .ic.warn { background: var(--warn-soft); color: var(--warn); } .sug .ic.blue { background: var(--accent-soft); color: var(--accent); }

/* progress */
.bar { height: 8px; border-radius: 99px; background: var(--grey-soft); overflow: hidden; display: flex; gap: 2px; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: var(--accent); } .bar > i.good { background: var(--good); } .bar > i.warn { background: var(--warn); } .bar > i.bad { background: var(--bad); }

/* plan */
.phase { margin-bottom: 18px; }
.phase-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; }
.ms { display: grid; grid-template-columns: 22px 1fr 150px 110px 90px; gap: 12px; align-items: center; padding: 10px 18px; border-top: 1px solid var(--line2); cursor: pointer; }
.ms:hover { background: #FAFBFC; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid #C3CCD8; background: #fff; }
.dot.done { background: var(--good); border-color: var(--good); } .dot.active { border-color: var(--accent); background: var(--accent-soft); } .dot.late { border-color: var(--bad); background: var(--bad-soft); }

/* board */
.board { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 14px; align-items: start; }
.col { background: #ECEFF3; border-radius: var(--rad); padding: 10px; min-height: 200px; }
.col.over { outline: 2px dashed var(--accent); }
.col-head { display: flex; align-items: center; gap: 8px; padding: 4px 6px 10px; font-weight: 600; font-size: 13.5px; }
.col-head .n { color: var(--ink3); font-weight: 500; }
.kard { background: var(--panel); border: 1px solid var(--line); border-radius: 9px; padding: 11px 12px; margin-bottom: 8px; box-shadow: var(--shadow); cursor: pointer; }
.kard:hover { border-color: #C0CBD9; } .kard.drag { opacity: .4; }
.kard .t { font-weight: 550; font-size: 13.5px; line-height: 1.4; } .kard .meta { display: flex; align-items: center; gap: 6px; margin-top: 9px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--grey-soft); border-radius: 8px; padding: 3px; }
.seg button { border: 0; background: none; padding: 5px 12px; border-radius: 6px; font-size: 13px; font-weight: 550; color: var(--ink2); }
.seg button.on { background: var(--panel); color: var(--ink); box-shadow: var(--shadow); }

/* calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); border-top: 1px solid var(--line2); }
.cal .dow { padding: 8px 10px; font-size: 11.5px; font-weight: 600; color: var(--ink3); text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--line2); }
.day { min-height: 108px; padding: 6px; border-right: 1px solid var(--line2); border-bottom: 1px solid var(--line2); cursor: pointer; }
.day:nth-child(7n) { border-right: 0; } .day:hover { background: #FAFBFC; } .day.out { background: #FAFBFC; color: var(--ink3); }
.day .num { font-size: 12.5px; font-weight: 600; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; margin-bottom: 3px; }
.day.today .num { background: var(--accent); color: #fff; }
.ev { display: block; width: 100%; text-align: left; border: 0; font-size: 11.5px; font-weight: 550; padding: 2px 6px; border-radius: 5px; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ev.meeting { background: var(--accent-soft); color: #1B4F86; } .ev.action { background: var(--grey-soft); color: var(--ink2); } .ev.action.late { background: var(--bad-soft); color: var(--bad); }
.ev.milestone { background: var(--violet-soft); color: var(--violet); } .ev.risk { background: var(--warn-soft); color: var(--warn); } .ev.request { background: var(--good-soft); color: var(--good); }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink2); } .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; }

/* risk heat */
.heat { display: grid; grid-template-columns: 26px repeat(5, 1fr); gap: 3px; font-size: 11px; }
.heat .cell { aspect-ratio: 1.7; border-radius: 6px; display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff; border: 0; }
.heat .cell.l { background: #CFE8DA; color: #17603B; } .heat .cell.m { background: #F6DF9E; color: #7A4F0B; } .heat .cell.h { background: #E9907F; } .heat .cell.vh { background: var(--bad); }
.heat .cell:empty { opacity: .45; } .heat .ax { display: grid; place-items: center; color: var(--ink3); }

/* drawer */
#drawer-wrap.open { position: fixed; inset: 0; z-index: 50; background: rgba(16,24,40,.35); display: flex; justify-content: flex-end; }
.drawer { width: min(560px, 100vw); height: 100%; background: var(--panel); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; animation: slide .18s ease-out; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.drawer-head { display: flex; align-items: center; gap: 10px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 22px 30px; }
.drawer-foot { display: flex; gap: 10px; padding: 14px 22px; border-top: 1px solid var(--line); background: #FAFBFC; }
.field { margin-bottom: 14px; } .field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink2); margin-bottom: 5px; }
.field .hint { font-size: 12px; color: var(--ink3); margin-top: 4px; }
.field input, .field select, .field textarea, .inp { width: 100%; padding: 9px 11px; border: 1px solid #D5DBE4; border-radius: 8px; background: #fff; }
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent-soft); border-color: var(--accent); }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pick { display: flex; flex-wrap: wrap; gap: 6px; } .pick button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 4px 11px 4px 5px; font-size: 12.5px; display: flex; align-items: center; gap: 6px; }
.pick button.on { background: var(--accent-soft); border-color: var(--accent); color: #1B4F86; }
.scale { display: flex; gap: 6px; } .scale button { flex: 1; padding: 8px 0; border: 1px solid var(--line); background: #fff; border-radius: 8px; font-weight: 600; }
.scale button.on { background: var(--accent); border-color: var(--accent); color: #fff; }
.helper-box { background: var(--bg); border: 1px dashed #CBD3DE; border-radius: 9px; padding: 12px; margin-bottom: 14px; }
.comment { display: flex; gap: 10px; margin-bottom: 12px; } .comment .bubble { background: var(--bg); border-radius: 9px; padding: 8px 12px; flex: 1; }

/* popovers, modal, toast */
.pop { position: absolute; right: 0; top: 46px; width: 380px; max-height: 480px; overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); z-index: 40; }
.pop .li.unread { background: #F3F8FE; }
.menu { width: 230px; padding: 6px; } .menu button { display: flex; gap: 10px; align-items: center; width: 100%; border: 0; background: none; text-align: left; padding: 9px 10px; border-radius: 7px; }
.menu button:hover { background: var(--bg); } .menu svg { width: 17px; height: 17px; color: var(--ink2); }
#overlay.open { position: fixed; inset: 0; z-index: 60; background: rgba(16,24,40,.45); display: grid; place-items: center; padding: 20px; overflow: auto; }
.modal { width: min(560px, 100%); background: var(--panel); border-radius: 14px; box-shadow: var(--shadow-lg); padding: 24px; }
#toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 99; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast { background: #18212C; color: #fff; padding: 10px 16px; border-radius: 9px; box-shadow: var(--shadow-lg); font-size: 13.5px; animation: slide .2s; } .toast.err { background: var(--bad); }

/* auth */
.auth { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(1100px 600px at 78% -10%, #27405C 0%, transparent 55%), #131C27; padding: 20px; }
.auth-card { width: min(440px, 100%); background: var(--panel); border-radius: 16px; padding: 32px; box-shadow: var(--shadow-lg); }
.auth-card h1 { font-size: 21px; margin: 14px 0 4px; } .auth-card .err { background: var(--bad-soft); color: var(--bad); padding: 9px 12px; border-radius: 8px; font-size: 13.5px; margin-bottom: 14px; }

/* reports & slides */
.report-shell { position: fixed; inset: 0; z-index: 70; background: #DDE2E9; overflow: auto; }
.report-bar { position: sticky; top: 0; z-index: 2; display: flex; gap: 10px; align-items: center; padding: 10px 20px; background: var(--side); color: #fff; }
.report-bar .btn { box-shadow: none; }
.paper { width: min(980px, calc(100% - 32px)); margin: 22px auto 60px; background: #fff; padding: 46px 52px; box-shadow: var(--shadow-lg); border-radius: 4px; }
.paper h1 { font-size: 28px; } .paper h2 { font-size: 18px; margin: 30px 0 12px; padding-bottom: 7px; border-bottom: 2px solid var(--ink); }
.paper .kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.kpi { border: 1px solid var(--line); border-radius: 10px; padding: 14px; } .kpi .n { font-size: 28px; font-weight: 700; letter-spacing: -.03em; } .kpi .l { font-size: 12.5px; color: var(--ink2); }
table.t { width: 100%; border-collapse: collapse; font-size: 13px; } table.t th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink3); padding: 7px 8px; border-bottom: 1.5px solid var(--line); }
table.t td { padding: 8px; border-bottom: 1px solid var(--line2); vertical-align: top; }
.viz-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.viz { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; break-inside: avoid; } .viz h4 { font-size: 13px; margin-bottom: 8px; }
.viz svg { width: 100%; height: auto; display: block; } .viz svg text { font-family: Inter, sans-serif; }
.report-card { padding: 20px; text-align: left; display: flex; flex-direction: column; gap: 8px; cursor: pointer; border: 1px solid var(--line); background: var(--panel); border-radius: var(--rad); box-shadow: var(--shadow); }
.report-card:hover { border-color: var(--accent); } .report-card .ic { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; } .report-card .ic svg { width: 22px; height: 22px; }
.deck { position: fixed; inset: 0; z-index: 80; background: #0E151E; display: flex; flex-direction: column; }
.deck-stage { flex: 1; display: grid; place-items: center; padding: 18px; min-height: 0; }
.slide { width: min(100%, calc((100vh - 110px) * 16 / 9)); aspect-ratio: 16/9; background: #fff; border-radius: 8px; padding: 4.2% 5%; display: flex; flex-direction: column; overflow: hidden; font-size: clamp(10px, 1.25vw, 17px); position: relative; }
.slide h1 { font-size: 2.3em; } .slide h2 { font-size: 1.7em; margin-bottom: .7em; border: 0; padding: 0; } .slide .foot { position: absolute; left: 5%; right: 5%; bottom: 3.2%; display: flex; font-size: .72em; color: var(--ink3); }
.slide.cover { background: var(--side); color: #fff; justify-content: center; } .slide.cover .foot { color: var(--side-ink2); }
.slide table.t { font-size: .82em; } .slide table.t th { font-size: .8em; } .slide table.t td { padding: .45em .5em; }
.slide .kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1em; margin: .6em 0 1em; } .slide .kpi .n { font-size: 2.2em; } .slide .kpi .l { font-size: .85em; }
.slide ul { padding-left: 1.2em; } .slide li { margin-bottom: .45em; }
.slide .viz { padding: .8em 1em; } .slide .viz h4 { font-size: .85em; }
.deck-bar { display: flex; align-items: center; gap: 10px; padding: 10px 18px; color: #C7D2DF; }
.deck-bar .btn { background: #1E2A3A; border-color: #33475F; color: #E7EDF4; box-shadow: none; }

@media (max-width: 980px) {
  #app { grid-template-columns: 1fr; } .side { display: none; } .side.open { display: flex; position: fixed; inset: 0 30% 0 0; z-index: 45; }
  .g4 { grid-template-columns: 1fr 1fr; } .g2, .g3, .viz-grid { grid-template-columns: 1fr; } .content { padding: 18px 14px 60px; } .top { padding: 10px 14px; }
  .ms { grid-template-columns: 22px 1fr 90px; } .ms > :nth-child(3), .ms > :nth-child(5) { display: none; }
  .board { grid-template-columns: repeat(4, 260px); overflow-x: auto; } .burger { display: grid !important; }
}
.burger { display: none; }

@media print {
  body { background: #fff; } #app, #drawer-wrap, #toasts, .report-bar, .deck-bar { display: none !important; }
  .report-shell, .deck { position: static; background: #fff; overflow: visible; display: block; }
  .paper { box-shadow: none; margin: 0; width: 100%; padding: 0; }
  .deck-stage { display: block; padding: 0; } .deck .slide { display: flex !important; width: 100%; height: 100vh; aspect-ratio: auto; border-radius: 0; page-break-after: always; font-size: 13px; }
  .viz, table.t tr, .kpi { break-inside: avoid; } h2 { break-after: avoid; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

.report-bar .btn { color: var(--ink); } .report-bar .btn.primary { color: #fff; }
.ms .chip { justify-self: start; }
