/* NCRTC O&M Executive Dashboard
   Brand colours sampled from the NCRTC logo: blue #456BA5, orange #EB642D. */
:root {
  color-scheme: light;
  --brand: #456ba5;
  --brand-deep: #2c4776;
  --brand-orange: #eb642d;
  --nav-bg: #456ba5;
  --hero-a: #2c4776;
  --hero-b: #456ba5;
  --page: #f2f4f8;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --tint: #edf2fa;
  --border: rgba(20, 35, 60, 0.10);
  --ink: #111827;
  --text-2: #4b5563;
  --muted: #7a818c;
  --grid: #e6e8ee;
  --axis: #c8ccd4;
  --link: #3a5d96;
  --row-hover: #f1f5fb;
  --shadow: 0 1px 2px rgba(20, 35, 60, .05), 0 4px 14px rgba(20, 35, 60, .04);
  /* chart series: slots 1-2 are the NCRTC brand pair, 3-8 the validated default palette */
  --series-1: #456ba5; --series-2: #eb642d; --series-3: #1baf7a; --series-4: #eda100;
  --series-5: #e87ba4; --series-6: #008300; --series-7: #6250d6; --series-8: #e34948;
  --up: #0f8a3c; --down: #d03b3b;
  --gutter: 28px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --brand: #7b9bd2; --brand-deep: #1d2f4f; --brand-orange: #f0773f; --nav-bg: #22375b;
    --hero-a: #172741; --hero-b: #26406b;
    --page: #0e1218; --surface: #161b23; --surface-2: #1b212b; --tint: #1c2636; --border: rgba(255, 255, 255, .09);
    --ink: #eef1f5; --text-2: #c2c8d2; --muted: #8b93a0; --grid: #262d38; --axis: #3a4250; --link: #8fb0e3;
    --row-hover: #1e2632; --shadow: none;
    --series-1: #6b8fcb; --series-2: #f0773f; --series-3: #199e70; --series-4: #c98500;
    --series-5: #d55181; --series-6: #0ca30c; --series-7: #9085e9; --series-8: #e66767;
    --up: #3fbf6a; --down: #ef7070;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --brand: #7b9bd2; --brand-deep: #1d2f4f; --brand-orange: #f0773f; --nav-bg: #22375b;
  --hero-a: #172741; --hero-b: #26406b;
  --page: #0e1218; --surface: #161b23; --surface-2: #1b212b; --tint: #1c2636; --border: rgba(255, 255, 255, .09);
  --ink: #eef1f5; --text-2: #c2c8d2; --muted: #8b93a0; --grid: #262d38; --axis: #3a4250; --link: #8fb0e3;
  --row-hover: #1e2632; --shadow: none;
  --series-1: #6b8fcb; --series-2: #f0773f; --series-3: #199e70; --series-4: #c98500;
  --series-5: #d55181; --series-6: #0ca30c; --series-7: #9085e9; --series-8: #e66767;
  --up: #3fbf6a; --down: #ef7070;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--scroll-pad, 120px); }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--page); color: var(--ink); font: 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
code { font: 12px ui-monospace, Consolas, monospace; background: var(--surface-2); padding: 1px 5px; border-radius: 4px; border: 1px solid var(--border); }
h1, h2, h3 { margin: 0; line-height: 1.25; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }

/* ---------- header ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 10px var(--gutter); background: var(--surface); border-bottom: 3px solid var(--brand-orange); }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none !important; }
.brand-logo { height: 40px; width: auto; display: block; }
:root[data-theme="dark"] .brand-logo { background: #fff; border-radius: 6px; padding: 3px 6px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-logo { background: #fff; border-radius: 6px; padding: 3px 6px; } }
.brand-text { display: flex; flex-direction: column; border-left: 1px solid var(--border); padding-left: 14px; }
.brand-org { font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.brand-app { font-size: 17px; font-weight: 650; color: var(--brand); }
.topbar-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fresh { display: flex; gap: 12px; margin-right: 6px; color: var(--text-2); font-size: 12px; flex-wrap: wrap; }
.fresh b { color: var(--muted); font-weight: 600; margin-right: 3px; }
.btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 6px; border: 1px solid var(--border);
  background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; text-decoration: none !important; white-space: nowrap; }
.btn:hover { background: var(--row-hover); }
.btn.disabled { opacity: .4; pointer-events: none; }
.btn-sm { padding: 4px 10px; font-size: 12px; }

.sticky-head { position: sticky; top: 0; z-index: 30; box-shadow: 0 2px 8px rgba(20, 35, 60, .08); }
.tabs { background: var(--nav-bg); }
.tabs-inner { display: flex; gap: 2px; padding: 0 calc(var(--gutter) - 12px); overflow-x: auto; scrollbar-width: none; }
.tab { color: rgba(255, 255, 255, .86); padding: 11px 14px 9px; white-space: nowrap; font-weight: 500; border-bottom: 3px solid transparent; text-decoration: none !important; }
.tab:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.tab.active { color: #fff; border-bottom-color: var(--brand-orange); font-weight: 650; }

/* ---------- filter bar ---------- */
.filterbar { display: flex; align-items: center; gap: 10px 22px; flex-wrap: wrap; padding: 9px var(--gutter);
  background: var(--surface); border-bottom: 1px solid var(--border); }
.fb-group { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.fb-label { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.fb-to { color: var(--muted); font-size: 12px; }
.filterbar select { font: inherit; font-size: 13px; padding: 5px 8px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); }
.chip { font: inherit; font-size: 12px; padding: 4px 12px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text-2); cursor: pointer; text-decoration: none !important; white-space: nowrap; }
.chip:hover { border-color: var(--brand); color: var(--brand); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.fb-end { margin-left: auto; display: flex; gap: 14px; align-items: center; }
.fb-clear { font-size: 12px; font-weight: 600; color: var(--brand-orange); }
.fb-scope { font-size: 11px; color: var(--muted); }
.banner { margin: 12px var(--gutter) 0; padding: 10px 14px; border-radius: 8px; background: var(--tint); }

/* ---------- page skeleton (identical on every page, full width) ---------- */
.page { flex: 1 0 auto; width: 100%; padding: 20px var(--gutter) 8px; display: flex; flex-direction: column; gap: 18px; }
.page-head { display: flex; flex-direction: column; gap: 4px; }
.crumbs { font-size: 12px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs .sep { color: var(--axis); }
.page-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.page-head h1 { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.lede { margin: 4px 0 0; color: var(--text-2); max-width: 980px; }
.pager { display: flex; gap: 6px; align-items: center; }
.jump { font: inherit; font-size: 13px; padding: 6px 8px; border-radius: 6px; border: 1px solid var(--border); background: var(--surface); color: var(--ink); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); min-width: 0; }
.card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 14px 18px 10px; }
.card-head h2 { font-size: 16px; font-weight: 650; }
.card-head h3 { font-size: 15px; font-weight: 650; }
.card-head p { margin: 2px 0 0; font-size: 12px; }
.card-body { padding: 4px 18px 18px; }
.hint { font-size: 11px; color: var(--muted); white-space: nowrap; }
.note { font-size: 12px; color: var(--muted); margin: 12px 0 0; }
.sources { font-size: 12px; color: var(--muted); margin: 0 0 8px; }

/* ---------- KPI tiles ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.kpi { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--border);
  border-top: 3px solid var(--brand); border-radius: 12px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none !important; min-width: 0; }
.kpis .kpi:nth-child(even) { border-top-color: var(--brand-orange); }
a.kpi:hover { border-color: var(--brand); }
.kpi-label { font-size: 12px; font-weight: 650; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; }
.kpi-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.kpi-value { font-size: 30px; font-weight: 750; line-height: 1.1; letter-spacing: -.015em; white-space: nowrap; }
.kpi-spark { width: 96px; height: 32px; flex: none; }
.kpi-sub { font-size: 12px; color: var(--muted); }
.kpi-delta { font-weight: 650; color: var(--text-2); margin-right: 6px; }
.kpis-compact .kpi { padding: 12px 16px; border-top-width: 2px; }
.kpis-compact .kpi-value { font-size: 21px; }
.spark { display: block; overflow: visible; }
.spark polyline { fill: none; stroke: var(--brand); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.spark .spark-mark { stroke: var(--brand-orange); stroke-width: 7; }
.kpis .kpi:nth-child(even) .spark polyline:first-child { stroke: var(--brand-orange); }
.kpis .kpi:nth-child(even) .spark .spark-mark { stroke: var(--brand); }
.hero-spark { width: 100%; height: 24px; margin-top: 8px; }
.hero-spark polyline { stroke: rgba(255, 255, 255, .85); }

/* ---------- story (overview) ---------- */
.hero { color: #fff; border-radius: 16px; padding: 28px 32px 28px; overflow: hidden; position: relative;
  background: linear-gradient(120deg, var(--hero-a) 0%, var(--hero-b) 100%); box-shadow: var(--shadow); }
.hero::after { content: ""; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 100, 45, .45) 0 18%, transparent 19%) 0 0 / 46px 46px; opacity: .35; pointer-events: none; }
.hero-kicker { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #ffd2bf; font-weight: 650; }
.hero h1 { font-size: 30px; margin: 6px 0 6px; letter-spacing: -.015em; }
.hero p { margin: 0; max-width: 760px; color: rgba(255, 255, 255, .85); }
.hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1px; margin: 24px 0 0;
  background: rgba(255, 255, 255, .14); border-radius: 12px; overflow: hidden; }
.hero-stat { padding: 16px 18px; background: rgba(10, 20, 40, .22); }
.hv { font-size: 28px; font-weight: 750; letter-spacing: -.015em; white-space: nowrap; }
.hl { font-size: 12px; color: rgba(255, 255, 255, .78); text-transform: uppercase; letter-spacing: .05em; }
/* chapter bar: pinned under the header while the chapters scroll beneath it */
.chapter-nav { position: sticky; top: var(--head-h, 0px); z-index: 20; margin: -6px 0 0;
  background: linear-gradient(120deg, var(--hero-a) 0%, var(--hero-b) 100%); border-radius: 12px;
  box-shadow: 0 6px 16px rgba(20, 35, 60, .18); }
.chapter-nav-inner { display: flex; gap: 2px; overflow-x: auto; padding: 0 10px; scrollbar-width: none; }
.chapter-nav-inner::-webkit-scrollbar { display: none; }
.chapter-nav a { color: rgba(255, 255, 255, .82); padding: 11px 12px 9px; white-space: nowrap; font-size: 13px; font-weight: 500;
  display: flex; gap: 7px; align-items: center; text-decoration: none !important; border-bottom: 3px solid transparent; }
.chapter-nav a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.chapter-nav a.active { color: #fff; font-weight: 650; border-bottom-color: var(--brand-orange); background: rgba(255, 255, 255, .10); }
.chapter-nav span { width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .22); color: #fff; font-size: 11px;
  font-weight: 700; display: inline-grid; place-items: center; flex: none; }
.chapter-nav a.active span { background: var(--brand-orange); }

.chapter { display: grid; grid-template-columns: minmax(320px, 2fr) minmax(0, 3fr); background: var(--surface);
  border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.chapter-text { padding: 26px 28px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(180deg, var(--tint), var(--surface) 70%);
  border-right: 1px solid var(--border); }
.chapter-kicker { display: flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .07em; }
.chapter-n { font-size: 13px; color: #fff; background: var(--brand-orange); border-radius: 6px; padding: 2px 7px; letter-spacing: 0; }
.chapter h2 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.chapter-stat { display: flex; flex-direction: column; }
.cs-value { font-size: 40px; font-weight: 800; color: var(--brand); letter-spacing: -.02em; line-height: 1.05; }
.cs-label { font-size: 13px; color: var(--muted); }
.chapter-body { margin: 0; color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.chapter-link { margin-top: auto; font-weight: 650; color: var(--brand-orange); }
.chapter-visual { padding: 18px 20px 14px; min-width: 0; display: flex; flex-direction: column; justify-content: center; }

.gauge { position: relative; width: 220px; max-width: 100%; }
.gauge svg { width: 100%; display: block; }
.gauge path { fill: none; stroke-width: 16; stroke-linecap: round; }
.g-track { stroke: var(--grid); }
.g-fill { stroke: var(--brand); }
.g-text { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; }
.g-value { font-size: 32px; font-weight: 800; color: var(--brand); line-height: 1; }
.g-label { font-size: 12px; color: var(--muted); }

.progress-block { display: flex; flex-direction: column; gap: 8px; }
.pb-top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pb-value { font-size: 30px; font-weight: 800; color: var(--brand); letter-spacing: -.015em; }
.pb-of { color: var(--muted); font-size: 13px; }
.pb-track { position: relative; height: 16px; background: var(--grid); border-radius: 8px; margin-top: 18px; }
.pb-fill { height: 100%; border-radius: 8px; background: linear-gradient(90deg, var(--brand), var(--series-1)); }
.pb-mark { position: absolute; top: -6px; bottom: -6px; width: 3px; margin-left: -1px; background: var(--brand-orange); border-radius: 2px; }
.pb-mark span { position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%); font-size: 11px; color: var(--brand-orange); white-space: nowrap; font-weight: 600; }
.pb-legend { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.mini-svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); gap: 10px; }
.mini-svc > div { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; }
.ms-name { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.ms-v { font-size: 22px; font-weight: 750; color: var(--brand); }
.ms-l { font-size: 12px; color: var(--muted); }
.fix-list { margin: 0; padding: 0; list-style: none; counter-reset: fix; display: grid; gap: 10px; }
.fix-list li { counter-increment: fix; position: relative; padding: 12px 14px 12px 50px; background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; }
.fix-list li::before { content: counter(fix); position: absolute; left: 14px; top: 12px; width: 24px; height: 24px; border-radius: 50%; background: var(--tint); color: var(--brand); font-weight: 700; display: grid; place-items: center; font-size: 12px; }
.fix-where { font-size: 12px; color: var(--muted); }
.fix-what { font-weight: 600; }

/* ---------- one-screen summary (cockpit) ---------- */
.page-summary .page { gap: 10px; padding-top: 10px; padding-bottom: 2px; }
.page-summary .topbar { padding-top: 4px; padding-bottom: 4px; }
.page-summary .brand-logo { height: 28px; }
.page-summary .brand-org { display: none; }
.page-summary .tab { padding: 7px 12px 5px; }
.page-summary .filterbar { padding-top: 5px; padding-bottom: 5px; gap: 6px 14px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.page-summary .fb-label, .page-summary .fb-scope { display: none; }
.page-summary .fb-group { flex-wrap: nowrap; }
.page-summary .chip { padding: 3px 9px; font-size: 11.5px; }
.page-summary .verdict { padding: 9px 16px; }
.page-summary .verdict-text { font-size: 16px; }
.page-summary .ck { padding: 8px 12px; }
.page-summary .ck-value { font-size: 22px; }
.page-summary .ck-panel { padding: 10px 12px; }
.page-summary .ck-panel li a { padding: 3px 6px; }
.page-summary .ck-txt b { font-size: 13px; }
.page-summary .ck-txt span { font-size: 11.5px; }
.page-summary .ck-bars { gap: 6px; margin: 4px 0 8px; }
.page-summary .ck-cost a { padding: 6px 8px; }
.briefing-compact .brief-go { display: none; }
.page-summary .page-head h1 { font-size: 21px; }
.page-summary .lede { font-size: 13px; margin-top: 2px; }
.page-summary .kpis { gap: 12px; }
.page-summary .kpi { padding: 10px 14px; gap: 4px; }
.page-summary .kpi-value { font-size: 24px; }
.page-summary .kpi-spark { width: 80px; height: 28px; }
.page-summary .ck-unit .ck-bars { gap: 5px; }
.briefing-compact .briefing-head { padding: 6px 16px 0 !important; align-items: center; }
.briefing-compact .briefing-kicker { font-size: 11px; }
.briefing-compact .briefing-badge { padding: 3px 10px; font-size: 11px; }
.briefing-compact .briefing-grid { padding: 4px 16px 8px !important; }
.briefing-compact .brief-card { padding: 7px 12px !important; gap: 3px !important; }
.briefing-compact .brief-headline { font-size: 13.5px !important; line-height: 1.3; }
.briefing-compact .brief-bullets li { font-size: 12px !important; line-height: 1.35 !important; }
.page-summary .ck-panel header { margin-bottom: 3px; }
.page-summary .ck-panel ol { gap: 0; }
.page-summary .ck-bars { margin: 2px 0 6px; }
.verdict { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-radius: 12px; color: #fff;
  background: linear-gradient(120deg, var(--hero-a) 0%, var(--hero-b) 100%); box-shadow: var(--shadow); }
.verdict-tag { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px;
  border-radius: 10px; background: rgba(255, 255, 255, .16); white-space: nowrap; }
.verdict-text { margin: 0; font-size: 17px; font-weight: 650; line-height: 1.35; }
.cockpit-kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.ck { display: flex; flex-direction: column; gap: 3px; padding: 10px 14px; min-width: 0; background: var(--surface); color: var(--ink);
  border: 1px solid var(--border); border-top: 3px solid var(--brand); border-radius: 10px; box-shadow: var(--shadow); text-decoration: none !important; }
.ck:nth-child(even) { border-top-color: var(--brand-orange); }
.ck:hover { border-color: var(--brand); }
.ck-label { font-size: 11px; font-weight: 650; color: var(--text-2); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck-main { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.ck-value { font-size: 24px; font-weight: 750; letter-spacing: -.01em; white-space: nowrap; }
.ck-spark { width: 64px; height: 26px; flex: none; }
.ck-sub { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ck-delta { font-weight: 700; margin-right: 6px; }
.ck-delta.up { color: var(--up); }
.ck-delta.down { color: var(--down); }
.cockpit-row { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 12px; }
.ck-panel { padding: 12px 14px; min-width: 0; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--brand);
  border-radius: 12px; box-shadow: var(--shadow); }
.ck-attention { border-top-color: var(--brand-orange); }
.ck-good { border-top-color: var(--up); }
.ck-panel header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.ck-panel h2 { margin: 0; font-size: 14.5px; font-weight: 750; }
.ck-panel header > span { font-size: 11px; color: var(--muted); display: inline-flex; align-items: center; }
.ck-panel ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ck-panel li { display: flex; align-items: center; gap: 2px; }
.ck-panel li a { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 5px 6px; border-radius: 8px; color: var(--ink); text-decoration: none !important; }
.ck-panel li a:hover { background: var(--row-hover); }
.ck-n { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: var(--brand-orange); }
.ck-good .ck-n { background: var(--up); }
.ck-txt { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.ck-txt b { font-size: 13.5px; font-weight: 700; }
.ck-txt span { font-size: 12px; color: var(--text-2); }
.ck-bars { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 10px; }
.ck-bar { display: grid; grid-template-columns: 128px 1fr 78px; align-items: center; gap: 8px; font-size: 12.5px; }
.ck-bar-t { height: 12px; background: var(--grid); border-radius: 6px; overflow: hidden; }
.ck-bar-f { display: block; height: 100%; border-radius: 6px; }
.c-s1 { background: var(--series-1); }
.c-s2 { background: var(--series-2); }
.c-muted { background: var(--muted); }
.ck-bar-v { font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.ck-cost { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ck-cost a { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 8px; background: var(--tint); color: var(--ink);
  font-size: 12px; text-decoration: none !important; }
.ck-cost a:hover { box-shadow: 0 0 0 1px var(--brand); }
.ck-cost b { font-size: 13px; }
.ck-cost span { color: var(--text-2); }
.briefing-compact { border-top-width: 3px; }
.briefing-compact .briefing-head { padding: 8px 16px 0; }
.briefing-compact .briefing-head h2 { display: none; }
.briefing-compact .briefing-grid { padding: 6px 16px 10px; gap: 12px; }
.briefing-compact .brief-card { padding: 8px 12px; gap: 4px; }
.briefing-compact .brief-headline { font-size: 14px; }
.briefing-compact .brief-bullets { gap: 5px; }
.briefing-compact .brief-bullets li { font-size: 12.5px; line-height: 1.4; }
.briefing-compact .briefing-foot { padding: 6px 18px 8px; font-size: 11px; }
.pt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding: 0 18px 12px; }
.pt-block { display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.pt-title { font-weight: 700; color: var(--brand); }
.pt-figs, .dis-figs { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 8px; row-gap: 14px; }
.dis-figs { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 4px; }
@media (max-width: 1200px) { .cockpit-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cockpit-row { grid-template-columns: 1fr 1fr; } .ck-unit { grid-column: 1 / -1; } }
@media (max-width: 900px) { .cockpit-row, .pt-grid { grid-template-columns: 1fr; } .verdict { flex-direction: column; align-items: flex-start; } .pt-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cockpit-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ck-value { font-size: 19px; } .ck-spark { display: none; } .ck-cost, .dis-figs { grid-template-columns: 1fr; } }

/* ---------- management view on every page ---------- */
.cockpit-row.cols-2 { grid-template-columns: 1fr 1fr; }
.kpis-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.section-title { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.section-title h2 { font-size: 17px; font-weight: 750; }
.section-title p { margin: 0; font-size: 12px; }
.story-kicker { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.story-kicker .chapter-n { font-size: 11px; padding: 1px 6px; }
.story-go { font-weight: 650; color: var(--brand-orange); text-decoration: none; }
.story-go:hover { text-decoration: underline; }
.kpis-6 .kpi-value { font-size: 22px; }
.kpis-6 .kpi-spark { width: 64px; }
@media (max-width: 1200px) { .kpis-6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 560px) { .kpis-6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ck-li { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; padding: 5px 6px; border-radius: 8px; color: var(--ink); text-decoration: none !important; }
a.ck-li:hover { background: var(--row-hover); }
.ck-none { font-size: 12.5px; color: var(--muted); padding: 6px; }
a.ck-bar { color: var(--ink); text-decoration: none !important; border-radius: 6px; }
a.ck-bar:hover .ck-bar-l { color: var(--brand); text-decoration: underline; }
.ck-bar-v small { display: inline; margin-left: 5px; font-size: 10.5px; font-weight: 600; color: var(--muted); }
.ck-unit .ck-bar { grid-template-columns: 140px 1fr 104px; }
.c-s3 { background: var(--series-3); }
.c-s4 { background: var(--series-4); }
.c-s5 { background: var(--series-5); }
.ck-figs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 6px; }
.ck-figs > div { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 8px; background: var(--tint); }
.ck-figs b { font-size: 16px; font-weight: 750; }
.ck-figs span { font-size: 11.5px; color: var(--text-2); }
.ck-progress { margin: 4px 0 10px; }
.ck-progress .pb-value { font-size: 22px; }
.ck-progress .pb-track { margin-top: 16px; height: 12px; }

/* ---------- executive briefing (top of Story page) ---------- */
.briefing { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow);
  border-top: 4px solid var(--brand-orange); overflow: hidden; }
.briefing-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 18px 22px 6px; }
.briefing-kicker { font-size: 12px; font-weight: 700; color: var(--brand-orange); text-transform: uppercase; letter-spacing: .08em; }
.briefing-head h2 { font-size: 20px; font-weight: 750; letter-spacing: -.01em; }
.briefing-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 650; padding: 5px 12px;
  border-radius: 14px; background: var(--tint); color: var(--brand); }
.briefing-ai { background: linear-gradient(90deg, var(--hero-a), var(--hero-b)); color: #fff; }
.bb-dot { width: 8px; height: 8px; border-radius: 50%; background: #5be38a; box-shadow: 0 0 0 3px rgba(91, 227, 138, .25); }
.bb-spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: bbspin .8s linear infinite; }
@keyframes bbspin { to { transform: rotate(360deg); } }
.briefing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 12px 22px 18px; }
.brief-card { border-radius: 12px; padding: 16px 18px; background: linear-gradient(180deg, var(--tint), var(--surface-2));
  border: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.brief-period { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.brief-title { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--brand); }
.brief-month .brief-title { color: var(--brand-orange); }
.brief-label { font-size: 12px; color: var(--muted); font-weight: 600; }
.brief-headline { margin: 0; font-size: 17px; font-weight: 750; line-height: 1.35; letter-spacing: -.005em; }
.brief-bullets { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.brief-bullets li { position: relative; padding-left: 16px; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }
.brief-bullets li::before { content: ""; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 2px; background: var(--brand-orange); }
.briefing-empty { margin: 12px 22px 4px; padding: 14px 16px; border-radius: 10px; background: var(--tint); color: var(--text-2); }
.briefing-hint { margin: 0; padding: 0 22px; font-size: 12px; color: var(--muted); }
a.brief-headline { color: var(--ink); text-decoration: none; display: block; }
a.brief-headline:hover { color: var(--brand); }
.brief-bullets li { display: flex; align-items: flex-start; gap: 4px; }
.brief-link, .brief-text { display: flex; flex-direction: column; gap: 2px; flex: 1; color: inherit; text-decoration: none !important;
  border-radius: 8px; margin: -4px -8px; padding: 4px 8px; }
a.brief-link:hover { background: var(--surface); box-shadow: 0 0 0 1px var(--border); color: var(--ink); }
.brief-go { font-size: 11px; font-weight: 700; color: var(--brand-orange); letter-spacing: .02em; }
a.brief-link:hover .brief-go { text-decoration: underline; }
.briefing-area { border-top-color: var(--brand); }
.briefing-area .briefing-kicker { color: var(--brand); }
.briefing-foot { padding: 10px 22px 14px; font-size: 11.5px; color: var(--muted); border-top: 1px dashed var(--border); }
@media (max-width: 1100px) { .briefing-grid { grid-template-columns: 1fr; } }

/* ---------- insights (neutral, numbered) ---------- */
.insights { list-style: none; margin: 0; padding: 0 18px 18px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.insight { display: flex; gap: 12px; padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); color: var(--ink); text-decoration: none !important; height: 100%; }
a.insight:hover { border-color: var(--brand); background: var(--row-hover); }
.insight-n { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--tint); color: var(--brand); font-weight: 700; font-size: 12px; display: grid; place-items: center; }
.insight-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.insight-area { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.insight-title { font-weight: 650; }
.insight-detail { font-size: 12.5px; color: var(--text-2); }

/* ---------- charts ---------- */
.chart-card { display: flex; flex-direction: column; }
.chart-box { position: relative; padding: 4px 16px 14px; }
.chapter-visual .chart-box { padding: 0; }
.chart-key { position: absolute; right: 18px; bottom: -2px; font-size: 11px; color: var(--muted); }
.chart-key .up { color: var(--up); margin-right: 2px; }
.chart-key .down { color: var(--down); margin-right: 5px; }
.chart-card .chart-box { margin-bottom: 10px; }
.chart-source { margin: 0; padding: 8px 18px 12px; font-size: 11.5px; color: var(--muted); border-top: 1px dashed var(--border); }
.chart-source b { color: var(--text-2); font-weight: 600; }
/* source icon + floating popup */
.src-i { display: inline-grid; place-items: center; width: 15px; height: 15px; margin-left: 6px; border-radius: 50%;
  border: 1px solid currentColor; font: italic 700 10px/1 Georgia, serif; text-transform: none; letter-spacing: 0;
  opacity: .55; cursor: help; vertical-align: 1px; flex: none; }
.src-i:hover, .src-i:focus { opacity: 1; outline: none; }
.src-i:focus-visible { box-shadow: 0 0 0 2px var(--brand-orange); }
.src-pop { position: fixed; z-index: 100; max-width: 360px; padding: 9px 12px; border-radius: 8px; font-size: 12px; line-height: 1.45;
  background: var(--ink); color: var(--surface); box-shadow: 0 8px 24px rgba(0, 0, 0, .25); pointer-events: none;
  font-family: ui-monospace, Consolas, monospace; white-space: normal; word-break: break-word; }
.src-pop b { font-family: system-ui, -apple-system, "Segoe UI", sans-serif; display: block; margin-bottom: 2px; color: #ffb48f; }
.src-pop[hidden] { display: none; }
.chapter-visual .chart-source { padding: 18px 0 0; border-top: 0; }
.chapter-visual .chart-key { bottom: -16px; right: 0; }

/* ---------- visual cards ---------- */
.head-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; padding: 0 18px 18px; }
.head-card { display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--surface-2); color: var(--ink); text-decoration: none !important; }
.head-card:hover { border-color: var(--brand); }
.hc-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.hc-name { font-weight: 650; }
.hc-change { color: var(--text-2); font-weight: 650; font-variant-numeric: tabular-nums; }
.hc-value { font-size: 22px; font-weight: 750; }
.hc-share { height: 6px; background: var(--grid); border-radius: 3px; overflow: hidden; }
.hc-share span { display: block; height: 100%; background: var(--brand); border-radius: 3px; }
.hc-foot { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); }
.hc-spark { width: 80px; height: 22px; }
.svc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; padding: 0 18px 18px; }
.svc-card { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 10px; background: linear-gradient(135deg, var(--tint), var(--surface-2));
  border: 1px solid var(--border); color: var(--ink); text-decoration: none !important; }
.svc-card:hover { border-color: var(--brand); }
.svc-name { font-size: 15px; font-weight: 750; color: var(--brand); }
.svc-figs { display: flex; gap: 24px; }
.svc-figs > div { display: flex; flex-direction: column; }
.svc-v { font-size: 24px; font-weight: 750; }
.svc-l { font-size: 12px; color: var(--muted); }
.mini-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 22px; }
.mini-figs > div, .dues-total { display: flex; flex-direction: column; }
.mf-v { font-size: 20px; font-weight: 750; }
.mf-l { font-size: 12px; color: var(--muted); }
.progress-card { padding-top: 14px; }
.dues-total { margin-bottom: 14px; }
.dues-total .mf-v { font-size: 28px; color: var(--brand-orange); }
.bar-list { display: flex; flex-direction: column; gap: 10px; }
.bl-row { display: grid; grid-template-columns: minmax(120px, 1.3fr) 2fr auto; gap: 10px; align-items: center; font-size: 13px; }
.bl-track { height: 10px; background: var(--grid); border-radius: 5px; overflow: hidden; }
.bl-track span { display: block; height: 100%; background: var(--brand-orange); border-radius: 5px; }
.bl-v { font-weight: 650; font-variant-numeric: tabular-nums; }
.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cmp { display: flex; flex-direction: column; padding: 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.cmp-l { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.cmp-a { font-size: 24px; font-weight: 750; color: var(--brand); }
.cmp-vs { font-size: 12px; color: var(--text-2); }
.incidents { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; padding: 0 18px 18px; }
.incident { padding: 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 6px; }
.inc-type { font-weight: 750; color: var(--brand); }
.inc-figs { display: flex; gap: 18px; font-size: 13px; color: var(--text-2); }
.officer-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; padding: 0 18px 18px; }
.officer { display: flex; flex-direction: column; padding: 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.of-name { font-weight: 750; color: var(--brand); }
.of-v { font-size: 26px; font-weight: 750; }
.of-l { font-size: 12px; color: var(--muted); }
.notice { display: flex; gap: 16px; padding: 20px 22px; border-left: 4px solid var(--brand-orange); }
.notice h2 { font-size: 17px; margin-bottom: 6px; }
.notice p { margin: 6px 0; color: var(--text-2); }
.notice-icon { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--brand-orange); color: #fff; font-weight: 800; display: grid; place-items: center; font-style: italic; }
.col-chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.col-chips span { padding: 4px 10px; border-radius: 6px; background: var(--tint); color: var(--brand); font-weight: 650; font-size: 13px; }
.dq-groups { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 18px; align-items: start; }
.dq-list { list-style: none; margin: 0; padding: 0 18px 16px; display: flex; flex-direction: column; gap: 10px; }
.dq-list li { padding: 12px 14px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.dq-what { font-weight: 650; }
.dq-why { font-size: 12.5px; color: var(--text-2); margin-top: 2px; }
.dq-fix { font-size: 12px; color: var(--muted); margin-top: 6px; }
.dq-fix span { font-weight: 700; color: var(--brand-orange); }
.plain-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- data drawers ---------- */
.drawer > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; padding: 14px 18px; }
.drawer > summary::-webkit-details-marker { display: none; }
.drawer-icon { color: var(--brand); transition: transform .15s; display: inline-block; }
.drawer[open] .drawer-icon { transform: rotate(90deg); }
.drawer-csv { margin-left: auto; }
.drawer-body { padding: 0 0 8px; border-top: 1px solid var(--border); }

/* ---------- tables (inside drawers) ---------- */
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table th { text-align: left; font-size: 11px; font-weight: 650; color: var(--muted); text-transform: uppercase; letter-spacing: .03em;
  padding: 9px 12px; border-bottom: 1px solid var(--border); background: var(--surface-2); white-space: nowrap; }
.table td { padding: 8px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.table tbody tr:last-child td { border-bottom: 0; }
.num { text-align: right !important; font-variant-numeric: tabular-nums; white-space: nowrap; }
.strong { font-weight: 650; }
.table-click tbody tr[data-href] { cursor: pointer; }
.table-click tbody tr[data-href]:hover td { background: var(--row-hover); }
.row-total td, .row-subtotal td { font-weight: 650; background: var(--surface-2); }
.row-result td { font-weight: 650; }
.row-ratio td { color: var(--text-2); }
.row-future td { color: var(--muted); }
.pnl td:first-child { min-width: 240px; }
.pnl .row-item td:first-child { padding-left: 24px; }
.tag { display: inline-block; font-size: 10px; font-weight: 700; color: var(--muted); border: 1px solid var(--border); border-radius: 4px; padding: 0 4px; line-height: 15px; vertical-align: middle; text-transform: uppercase; }

.page-note { font-size: 12px; color: var(--muted); margin: 0 0 6px; }
/* page footer: full-width bar at the bottom of every page */
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px 24px; flex-wrap: wrap;
  margin-top: 16px; padding: 14px var(--gutter); background: var(--surface); border-top: 1px solid var(--border);
  font-size: 12.5px; color: var(--text-2); }
.sf-left, .sf-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sf-left b { color: var(--brand); font-weight: 650; }
.sf-sep { color: var(--axis); margin: 0 4px; }
.sf-dot { color: var(--muted); }
.sf-right { color: var(--muted); }

/* ---------- responsive ---------- */
@media (max-width: 1200px) {
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chapter { grid-template-columns: 1fr; }
  .chapter-text { border-right: 0; border-bottom: 1px solid var(--border); }
}
@media (max-width: 900px) {
  .grid-2, .insights { grid-template-columns: 1fr; }
  .fresh, .fb-scope { display: none; }
  .sticky-head { position: static; }
  .mini-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dq-groups { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .kpis { grid-template-columns: 1fr; }
  .brand-org { display: none; }
  .page-head h1, .hero h1 { font-size: 21px; }
  .hero { padding: 20px 18px; }
  .hv { font-size: 22px; }
  .chapter-text { padding: 20px 18px; }
  .chapter h2 { font-size: 19px; }
  .cs-value { font-size: 32px; }
  .compare { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; align-items: flex-start; }
  .fb-end { margin-left: 0; }
}

/* ---------- print (A4 landscape board pack) ---------- */
@media print {
  @page { size: A4 landscape; margin: 10mm; }
  body { background: #fff; font-size: 11px; }
  .sticky-head, .topbar-meta, .pager, .hint, .btn, .chapter-nav, .chapter-link { display: none !important; }
  .topbar { padding: 0 0 6px; }
  .page { padding: 8px 0; }
  .card, .kpi, .chapter { box-shadow: none; break-inside: avoid; }
  .drawer { display: none; }
}

/* ---- MD strip: What it means / What to do (above the KPI cards on every page) ---- */
.md-strip { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 0; background: var(--surface);
  border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; }
.md-col { padding: 8px 14px 9px; min-width: 0; }
.md-means { border-left: 4px solid var(--brand); }
.md-do { border-left: 1px solid var(--border); box-shadow: inset 4px 0 0 var(--brand-orange); }
.md-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 3px; }
.md-kicker { font-size: 11px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); }
.md-do .md-kicker { color: var(--brand-orange); }
.md-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 650; color: var(--muted); }
.md-badge.md-ai { color: var(--brand); }
.md-badge .bb-spin { width: 10px; height: 10px; }
.md-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.md-list li { display: flex; align-items: flex-start; gap: 4px; }
.md-item { flex: 1; display: flex; align-items: flex-start; gap: 8px; padding: 3px 6px; margin-left: -6px; border-radius: 6px;
  color: var(--ink); font-size: 12.5px; line-height: 1.38; }
a.md-item:hover { background: var(--row-hover); text-decoration: none; }
.md-n { flex: none; width: 17px; height: 17px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center;
  font-size: 10.5px; font-weight: 700; color: #fff; background: var(--brand); }
.md-do .md-n { background: var(--brand-orange); }
.md-dims { white-space: nowrap; font-size: 10.5px; font-weight: 650; color: var(--muted); }
.md-when { display: inline-block; font-size: 10.5px; font-weight: 700; color: var(--brand-orange); background: var(--tint);
  border-radius: 4px; padding: 0 5px; margin-right: 2px; }
.md-list .src-i { margin-top: 4px; }
@media (max-width: 900px) { .md-strip { grid-template-columns: 1fr; } .md-do { border-left: 4px solid var(--brand-orange); box-shadow: none; border-top: 1px solid var(--border); } }

/* action under each Needs attention item: what the MD / management should do */
.ck-txt .ck-act { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.3; color: var(--ink); }
.ck-act em { font-style: normal; font-size: 9.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: #fff; background: var(--brand-orange); border-radius: 3px; padding: 0 4px; margin-right: 5px; vertical-align: 1px; }
.page-summary .ck-txt .ck-act { font-size: 11px; }

/* earned since opening (Financial) */
.so-figs { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 4px 18px 16px; }
.so-figs .mf-v { display: inline-flex; align-items: center; gap: 4px; }
@media (max-width: 700px) { .so-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* strategic challenges coverage (Summary) */
.cov-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cov-table th { text-align: left; font-size: 11.5px; color: var(--muted); font-weight: 650; padding: 8px 10px; border-bottom: 1px solid var(--border); }
.cov-table td { padding: 8px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.cov-table td:first-child { width: 26%; }
.cov-table td:nth-child(2) { width: 38%; }
.cov-grp td { background: var(--surface-2); font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); padding: 6px 10px; }
.cov-table tr.clickable { cursor: pointer; }
.cov-table tr.clickable:hover td { background: var(--row-hover); }
.cov-chip { display: inline-block; font-size: 10.5px; font-weight: 700; border-radius: 999px; padding: 1px 8px; margin-right: 4px; border: 1px solid currentColor; }
.cov-shown { color: var(--brand); }
.cov-partly { color: var(--brand-orange); }
.cov-needs { color: var(--muted); }
.cov-go { font-size: 12px; white-space: nowrap; }
