/* Westmark Operations Hub: design tokens and components (approved direction, September 2026) */

@font-face { font-family: "Outfit"; src: url("/brand/Outfit-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("/brand/Outfit-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }

:root {
  --ground: #F5F6F8; --panel: #FFFFFF; --ink: #1C1F24; --ink-2: #2B2F36; --steel: #5B616B; --mute: #6A7079;
  --rule: #E4E7EB; --rule-2: #D6DAE0; --band: #FAFBFC;
  --accent: #FDBF00; --accent-deep: #C99700; --amber-text: #633806;
  --critical: #185FA5; --high: #C8312A; --medium: #F5A800; --low: #2E7D32;
  --rail: #272B33; --rail-2: #333842; --rail-3: #454B56; --rail-text: #CFD4DB; --rail-mute: #8A9098;
  --shadow: 0 1px 2px rgba(16,24,40,.05), 0 1px 3px rgba(16,24,40,.04);
  --focus: 0 0 0 3px rgba(253,191,0,.55);
  --r-tile: 12px; --r-ctl: 8px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px;
  --measure: 68ch;
  --head: "Outfit", "Segoe UI", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--ground); color: var(--ink); font: 15px/1.5 var(--body); -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; margin: 0; letter-spacing: -0.015em; line-height: 1.15; }
h1 { font-size: 32px; } h2 { font-size: 16px; } h3 { font-size: 15px; }
p { margin: 0 0 var(--s4); max-width: var(--measure); }
a { color: inherit; text-decoration: none; }
a.text { text-decoration: underline; text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; box-shadow: var(--focus); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* App frame: rail and workspace */
.app { display: grid; grid-template-columns: 232px 1fr; min-height: 100vh; align-items: stretch; }
.rail { background: var(--rail); color: var(--rail-text); padding: 28px 20px; display: flex; flex-direction: column; gap: 28px; min-height: 100vh; }
@media (min-width: 981px) { .rail { position: sticky; top: 0; height: 100vh; overflow: hidden; } .rail nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--rail-3) transparent; margin-right: -12px; padding-right: 12px; } }
.rail .mark { display: block; padding: 4px 8px 0; }
.rail .mark img { width: 176px; max-width: 100%; display: block; }
.rail nav a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-ctl); font-size: 14px; font-weight: 500; color: var(--rail-text); position: relative; }
.rail nav a:hover, .rail nav a.active { background: var(--rail-2); color: #fff; }
.rail nav a.active::before { content: ""; position: absolute; left: -20px; top: 9px; bottom: 9px; width: 3px; background: var(--accent); border-radius: 0 2px 2px 0; }
.rail nav a .c { margin-left: auto; font-size: 12px; background: var(--rail-3); color: #fff; padding: 1px 7px; border-radius: 10px; }
.rail .group { font-size: 11px; color: var(--rail-mute); letter-spacing: .06em; margin: 12px 12px 6px; }
.rail .me { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; row-gap: 8px; align-items: center; padding: 12px; border-top: 1px solid #3A3F49; }
.rail .me > div:not(.av):not(.links) { min-width: 0; flex: 1; }
.rail .me b { display: block; color: #fff; font-weight: 600; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail .me span { display: block; font-size: 12px; color: var(--rail-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail .me .links { width: 100%; display: flex; flex-direction: row; gap: 14px; padding-left: 42px; }
.rail .me .links button { background: none; border: 0; padding: 0; color: var(--rail-text); font: 12px var(--body); cursor: pointer; text-align: left; white-space: nowrap; }
.rail .me .links button:hover { color: #fff; }
.work { padding: 34px 44px 64px; max-width: 1240px; width: 100%; }
.railtoggle { display: none; }
@media (max-width: 980px) {
  .app { grid-template-columns: 1fr; }
  .rail { position: fixed; left: 0; top: 0; bottom: 0; width: 232px; transform: translateX(-100%); transition: transform 180ms; z-index: 20; }
  .rail.open { transform: none; }
  .railtoggle { display: inline-flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--rule-2); border-radius: var(--r-ctl); padding: 8px 12px; font: 500 14px var(--head); margin-bottom: 16px; cursor: pointer; }
  .work { padding: 20px 20px 56px; }
  h1 { font-size: 26px; }
}

.av { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); color: var(--ink); font: 600 12px/32px var(--head); text-align: center; flex: none; }
.av.s { width: 26px; height: 26px; line-height: 26px; font-size: 11px; background: #E9ECF0; color: var(--ink-2); }

/* Page header */
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.head p { margin: 6px 0 0; color: var(--steel); }
.crumb { font-size: 13px; color: var(--mute); margin-bottom: 6px; }
.crumb a { color: var(--steel); }

/* Buttons */
.btn { font: 500 14px/1.3 var(--head); padding: 11px 18px; min-height: 42px; border-radius: var(--r-ctl); border: 1px solid var(--ink); background: var(--ink); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background 150ms; text-decoration: none; }
.btn:hover { background: var(--ink-2); }
.btn.secondary { background: var(--panel); color: var(--ink); border-color: var(--rule-2); }
.btn.secondary:hover { background: var(--band); }
.btn.destructive { background: var(--panel); color: var(--high); border-color: #E7B3B0; }
.btn.destructive:hover { background: #FBECEB; }
.btn.small { font-size: 13px; padding: 6px 12px; min-height: 32px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; pointer-events: none; }
.actions { display: flex; gap: var(--s3); align-items: center; margin-top: var(--s5); flex-wrap: wrap; }
.actions .spacer { flex: 1; }
button.link { background: none; border: 0; padding: 0; color: var(--steel); font: 500 13px var(--body); cursor: pointer; text-decoration: underline; }

/* KPI tiles */
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.kpi { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-tile); padding: 18px 20px 16px; box-shadow: var(--shadow); color: inherit; display: block; }
a.kpi:hover { border-color: var(--rule-2); }
.kpi .l { font-size: 13px; color: var(--steel); font-weight: 500; }
.kpi .n { font: 700 34px/1 var(--head); letter-spacing: -.02em; margin: 10px 0 8px; font-variant-numeric: tabular-nums; }
.kpi .d { font-size: 12.5px; color: var(--steel); }
.kpi .d.warn { color: var(--high); font-weight: 600; }
.kpi .d.soon { color: var(--amber-text); font-weight: 600; }
@media (max-width: 980px) { .kpis { grid-template-columns: repeat(2, 1fr); } }

/* Panels */
.grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 980px) { .grid { grid-template-columns: 1fr; } }
.panel { background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-tile); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 20px; }
.panel > header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--rule); }
.panel > header a, .panel > header .link { font-size: 13px; color: var(--steel); font-weight: 500; }
.panel .body { padding: 18px 20px; }
.panel .body > p:last-child { margin-bottom: 0; }
.panel.tinted { background: #FFF8DF; border-color: #F3DA8A; }
.panel.tinted .body { color: var(--amber-text); }

/* Tables */
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-weight: 600; font-size: 12.5px; color: var(--steel); padding: 10px 20px; border-bottom: 1px solid var(--rule); background: var(--band); white-space: nowrap; }
td { padding: 8px 20px; height: 50px; border-bottom: 1px solid var(--rule); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: var(--band); }
tbody tr.current td { background: color-mix(in srgb, var(--accent) 12%, transparent); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.nowrap { white-space: nowrap; }
.who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.who b { font-weight: 600; display: block; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.who span { font-size: 12.5px; color: var(--mute); display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tablewrap { overflow-x: auto; }

/* Pills, due dates */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; padding: 3px 9px 3px 7px; border-radius: 12px; background: #EEF0F3; color: var(--ink-2); white-space: nowrap; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--steel); }
.pill.review i, .pill.conditional i, .pill.soon i { background: var(--medium); }
.pill.review, .pill.conditional, .pill.soon { background: #FFF4D6; color: var(--amber-text); }
.pill.current i, .pill.done i, .pill.reinstated i { background: var(--low); }
.pill.current, .pill.done, .pill.reinstated { background: #E8F3E8; color: #1E5A22; }
.pill.overdue i, .pill.suspended i, .pill.warn i { background: var(--high); }
.pill.overdue, .pill.suspended, .pill.warn { background: #FCEBEA; color: #8A1F19; }
.pill.declared i, .pill.info i { background: var(--critical); }
.pill.declared, .pill.info { background: #E7EFF8; color: #123F6E; }
.due { color: var(--steel); font-size: 13px; white-space: nowrap; }
.due.warn { color: var(--high); font-weight: 600; }

/* Lists in panels */
.list { list-style: none; margin: 0; padding: 6px 0; }
.list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 20px; border-bottom: 1px solid var(--rule); font-size: 14px; }
.list li:last-child { border-bottom: 0; }
.list li .t { color: var(--mute); font-size: 12.5px; white-space: nowrap; }
.list li .t.warn { color: var(--high); font-weight: 600; }
.list.activity li b { font-weight: 600; }
.empty { padding: 22px 20px; color: var(--mute); font-size: 14px; }

/* Timeline bars */
.timeline { padding: 26px 20px 12px; }
.bars { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; align-items: end; height: 110px; }
.bars div { background: var(--rule); border-radius: 3px 3px 0 0; position: relative; min-height: 3px; }
.bars div.hot { background: var(--accent); }
.bars div.now { background: var(--ink); }
.bars div span { position: absolute; top: -20px; left: 0; right: 0; text-align: center; font: 600 12px var(--head); }
.months { display: grid; grid-template-columns: repeat(12, 1fr); gap: 8px; font-size: 11.5px; color: var(--mute); margin-top: 8px; text-align: center; }

/* Step cards with the rail (engagement sequence) */
.steps { position: relative; padding-left: 28px; margin: 0; list-style: none; }
.steps::before { content: ""; position: absolute; left: 8px; top: 12px; bottom: 12px; width: 3px; background: var(--ink); border-radius: 2px; }
.step { position: relative; display: block; background: var(--panel); border: 1px solid var(--rule); border-radius: var(--r-tile); box-shadow: var(--shadow); padding: 12px 20px; margin-bottom: 10px; color: inherit; }
.step::before { content: ""; position: absolute; left: -24px; top: 16px; width: 11px; height: 11px; border-radius: 3px; background: var(--panel); border: 2px solid var(--ink); }
.step.current::before { background: var(--accent); border-color: var(--accent-deep); width: 13px; height: 13px; left: -25px; top: 15px; }
.step.complete::before { background: var(--ink); }
.step.locked { color: var(--steel); box-shadow: none; }
.step.locked::before { border-style: dashed; }
a.step:hover { border-color: var(--rule-2); }
.step h3 { margin-bottom: 2px; }
.step .state { display: block; font-size: 13.5px; color: var(--steel); }
.step .state.done { color: var(--low); }
.step .state.progress { color: var(--amber-text); }
.step .small { margin-top: 2px; }
.progress-line { display: flex; align-items: center; gap: var(--s3); color: var(--steel); font-size: 13px; margin-bottom: var(--s3); }
.progress-line .bar { flex: 1; height: 4px; background: var(--rule); border-radius: 2px; overflow: hidden; }
.progress-line .bar i { display: block; height: 100%; background: var(--accent); }

/* Forms */
.field { margin-bottom: var(--s4); max-width: 560px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: var(--s1); }
.field .hint { color: var(--steel); font-size: 13px; margin-bottom: var(--s2); }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 10px 14px; min-height: 42px; border: 1px solid var(--rule-2); border-radius: var(--r-ctl); background: var(--panel); color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.field input[type=file] { padding: 8px; background: var(--band); }
.field input[type=checkbox] { width: auto; min-height: 0; margin-right: 8px; }
.field .error { color: var(--high); font-size: 13px; margin-top: var(--s1); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s4); max-width: 620px; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }

/* Feedback */
.notice { padding: var(--s3) var(--s4); border-radius: var(--r-ctl); margin-bottom: var(--s4); font-size: 14px; }
.notice.error { background: #FBECEB; color: #8A1F19; border: 1px solid #F0B9B6; }
.notice.saved { background: #E8F3E8; color: #1E5A22; border: 1px solid #BFE0BF; }
.notice.info { background: var(--panel); border: 1px solid var(--rule); color: var(--steel); }

/* Status word plus swatch (used where a pill is too heavy) */
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.status i { width: 9px; height: 9px; border-radius: 2px; display: inline-block; background: var(--steel); }
.status.current i, .status.done i { background: var(--low); }
.status.conditional i, .status.progress i { background: var(--medium); }
.status.suspended i, .status.overdue i { background: var(--high); }
.status.declared i, .status.reinstated i { background: var(--critical); }

/* Utilities */
.muted { color: var(--steel); } .small { font-size: 13px; }
.stack > * + * { margin-top: var(--s3); }
.hidden { display: none !important; }
code { font-size: 13px; word-break: break-all; }

/* Sign-in and public pages */
.signin { max-width: 460px; margin: 0 auto; padding: var(--s8) var(--s5); }
.wordmark-large { width: 320px; max-width: 100%; height: auto; display: block; margin-bottom: var(--s5); }
.mark-large { width: 260px; }
.symbol { width: 28px; height: auto; display: inline-block; vertical-align: middle; }
.empty .symbol, .loading .symbol { width: 44px; display: block; margin: 0 auto var(--s3); opacity: .35; }
.strap { font-family: var(--head); font-weight: 500; color: var(--steel); font-size: 15px; letter-spacing: .02em; margin: 0 0 var(--s6); padding-bottom: var(--s4); border-bottom: 3px solid var(--accent); display: inline-block; }
.signin .panel { padding: var(--s6); overflow: visible; }
.signin h1 { margin-bottom: var(--s3); }
.signin .lede { color: var(--steel); }
.footnote { margin-top: var(--s5); }
.qr { display: block; width: 200px; height: 200px; margin: var(--s4) 0; border: 1px solid var(--rule); border-radius: var(--r-ctl); }
.contexts button { display: block; width: 100%; text-align: left; margin-bottom: var(--s2); }

/* Padded panel for form-style screens (engagement steps, settings) */
.panel.pad { padding: 18px 20px; }
.panel.pad > h2 { margin-bottom: var(--s3); }
.panel.pad table { margin: 0 -20px; width: calc(100% + 40px); }
.lede { color: var(--steel); margin-bottom: var(--s5); }

/* Top bar and global search */
.topbar { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.gsearch { position: relative; flex: 1; max-width: 520px; }
.gsearch input { width: 100%; font: inherit; padding: 9px 44px 9px 40px; min-height: 40px; border: 1px solid var(--rule-2); border-radius: var(--r-ctl); background: var(--panel); color: var(--ink); }
.gsearch::before { content: ""; position: absolute; left: 14px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border: 2px solid var(--steel); border-radius: 50%; box-sizing: border-box; }
.gsearch::after { content: ""; position: absolute; left: 24px; top: 50%; width: 7px; height: 2px; margin-top: 4px; background: var(--steel); transform: rotate(45deg); }
/* retired: keyboard hint */ .gsearch kbd { display: none; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font: 11px var(--body); color: var(--mute); border: 1px solid var(--rule-2); border-radius: 4px; padding: 1px 6px; background: var(--band); }
.results .hit { display: block; padding: 12px 20px; border-top: 1px solid var(--rule); color: inherit; }
.results .hit:first-of-type { border-top: 0; }
.results .hit:hover { background: var(--band); }
.results .hit b { display: block; font-weight: 600; }
.results .hit span { display: block; font-size: 13px; color: var(--steel); margin-top: 2px; }
.results .hit span b { display: inline; background: #FFF4D6; color: var(--amber-text); padding: 0 2px; border-radius: 2px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; }
.filters select, .filters input { font: inherit; padding: 8px 12px; min-height: 38px; border: 1px solid var(--rule-2); border-radius: var(--r-ctl); background: var(--panel); color: var(--ink); }
.filters input { min-width: 240px; }
@media (max-width: 980px) { .topbar { flex-wrap: wrap; } .gsearch { max-width: none; min-width: 240px; } }

.topbar #exportcsv { margin-left: auto; white-space: nowrap; }
.help p { margin: 0 0 12px; }
.warn { color: #8A1F19; }

/* Accessibility and phone width */
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: var(--r-ctl); z-index: 50; }
.skip:focus { left: 8px; }
.claim { background: var(--band); border: 1px solid var(--rule); border-radius: var(--r-ctl); padding: 12px 14px; font-size: 14px; line-height: 1.55; user-select: all; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media (max-width: 640px) {
  .work { padding: 16px 16px 48px; }
  .kpis { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .head { flex-direction: column; align-items: stretch; }
  .head .btn { width: 100%; text-align: center; }
  .filters input { min-width: 0; width: 100%; }
  .filters select { width: 100%; }
  .actions { flex-wrap: wrap; }
  .topbar #exportcsv { display: none; }
  .panel > header { flex-wrap: wrap; }
  .kpi .n { font-size: 26px; }
}

/* Utility classes replacing inline style attributes (content security policy refuses inline styles) */
.n-md { font-size: 22px; } .db { display: block; } .di { display: inline; } .m0 { margin: 0; } .m0x { margin-left: 0; margin-right: 0; }
.mb4 { margin-bottom: 4px; } .mb6 { margin-bottom: 6px; } .mb12 { margin-bottom: 12px; } .mt0 { margin-top: 0; } .mt12 { margin-top: 12px; } .mt16 { margin-top: 16px; }
.w30 { width: 30%; } .w34 { width: 34%; } .w36 { width: 36%; } .w40 { width: 40%; } .w44 { width: 44%; }
.fw400 { font-weight: 400; } .fw600 { font-weight: 600; } .full { width: 100%; } .left { text-align: left; }
.btn.disabled { opacity: .5; pointer-events: none; }
/* Public verify page, moved out of an inline style block */
.public { max-width: 880px; margin: 0 auto; padding: var(--s7) var(--s5) var(--s8); }
.public .wordmark-large { width: 300px; }
.public .search { display: grid; grid-template-columns: 1fr auto; gap: var(--s3); max-width: 620px; }
.public .search input { font: inherit; padding: 10px 14px; min-height: 44px; border: 1px solid var(--rule-2); border-radius: var(--r-ctl); }
.public .result .n { font: 700 22px var(--head); }
.public .tabs { display: flex; gap: var(--s2); margin-bottom: var(--s4); }
.public .tabs button { font: 500 14px var(--head); padding: 8px 14px; border-radius: 20px; border: 1px solid var(--rule-2); background: #fff; cursor: pointer; }
.public .tabs button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pt0 { padding-top: 0 !important; } .mt4 { margin-top: 4px; } .mt24 { margin-top: 24px; } .mt32 { margin-top: 32px; } .mb8 { margin-bottom: 8px; } .bleed { margin-left: -32px; margin-right: -32px; } .rule-top { border-top: 1px solid var(--rule); }

/* Radial gauges */
.gauges { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px 8px; padding: 18px 20px 14px; }
.gauge { margin: 0; text-align: center; }
.gauge svg { width: 124px; height: 124px; max-width: 100%; display: block; margin: 0 auto; }
.gauge.small svg { width: 88px; height: 88px; }
.gauge .track { fill: none; stroke: var(--rule); stroke-width: 10; stroke-linecap: round; }
.gauge .fill { fill: none; stroke: var(--ink); stroke-width: 10; stroke-linecap: round; transition: stroke-dasharray 500ms ease-out; }
.gauge.good .fill { stroke: var(--low); } .gauge.watch .fill { stroke: var(--medium); } .gauge.warn .fill { stroke: var(--high); }
.gauge .tick { stroke: var(--panel); stroke-width: 2.5; }
.gauge .v { font: 700 22px var(--head); fill: var(--ink); letter-spacing: -.02em; }
.gauge.small .v { font-size: 26px; }
.gauge figcaption { display: grid; gap: 2px; margin-top: 2px; }
.gauge .gl { font: 500 13px/1.3 var(--head); color: var(--ink-2); }
.gauge .gc { font-size: 12px; color: var(--steel); }
.gauge.warn .gc { color: var(--high); font-weight: 600; } .gauge.watch .gc { color: var(--amber-text); font-weight: 600; }
.gauges.inline { padding: 8px 12px 4px; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); }
@media (prefers-reduced-motion: reduce) { .gauge .fill { transition: none; } }

/* Printouts: the page body only, panels unbroken, gauges as drawn */
@media print {
  .rail, .topbar, .actions, .filters, .railtoggle, .btn, .skip { display: none !important; }
  body, html { background: #fff; }
  .app { display: block; }
  .work { padding: 0 !important; max-width: none !important; }
  .panel, .kpi, .gauge { break-inside: avoid; box-shadow: none; }
  .grid { grid-template-columns: 1fr 1fr; }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  a[href]::after { content: none; }
  .printhead { display: block !important; }
}
.printhead { display: none; font-size: 12px; color: var(--steel); margin-bottom: 12px; }
