/* ChangeIntel console. Tokens first; components only reference tokens. */
:root {
  color-scheme: light;
  --bg: #f1f3f6;
  --surface: #ffffff;
  --raised: #f7f8fa;
  --ink: #0d1520;
  --ink-2: #334052;
  --muted: #5f6a7c;
  --faint: #7f8a9b;
  --line: #e1e5eb;
  --line-2: #edf0f3;
  --accent: #2c5ff0;
  --accent-ink: #ffffff;
  --rm: #7657e6;
  --wn: #0a8f81;
  --kb: #1b77cf;
  --sn: #b87308;
  --ms: #d23445;
  --ot: #5f6a7c;
  --pn: #c0417b;
  --az: #0a82a3;
  --cm: #5d7a12;
  --ok: #10915a;
  --warn: #b87006;
  --crit: #d23445;
  --soft: 11%;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 1px 1px rgba(16, 24, 40, .03);
  --pop: 0 12px 32px -12px rgba(16, 24, 40, .24);
  --display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --sans: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --mono: "Cascadia Mono", "Cascadia Code", Consolas, "SF Mono", ui-monospace, monospace;
  --topbar: 56px;
  --scroll-thumb: #c4cad4;
  --scroll-thumb-hover: #a3abb8;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #0a0d12; --surface: #11151c; --raised: #161b24; --ink: #e8ecf3; --ink-2: #c3cad6;
    --muted: #939cad; --faint: #6f7a8c; --line: #232b38; --line-2: #1a202a;
    --accent: #7399ff; --accent-ink: #0a0d12;
    --rm: #a38bff; --wn: #3bcbb5; --kb: #5eb0f6; --sn: #eeb446; --ms: #ff6d7a; --ot: #939cad;
    --pn: #f27bb5; --az: #43c6ea; --cm: #a6cb4a;
    --ok: #3ccf8e; --warn: #eeb446; --crit: #ff6d7a; --soft: 16%;
    --shadow: 0 0 0 1px rgba(0, 0, 0, .2); --pop: 0 16px 40px -12px rgba(0, 0, 0, .6);
    --scroll-thumb: #2c3444; --scroll-thumb-hover: #3d475a;
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0a0d12; --surface: #11151c; --raised: #161b24; --ink: #e8ecf3; --ink-2: #c3cad6;
  --muted: #939cad; --faint: #6f7a8c; --line: #232b38; --line-2: #1a202a;
  --accent: #7399ff; --accent-ink: #0a0d12;
  --rm: #a38bff; --wn: #3bcbb5; --kb: #5eb0f6; --sn: #eeb446; --ms: #ff6d7a; --ot: #939cad;
  --pn: #f27bb5; --az: #43c6ea; --cm: #a6cb4a;
  --ok: #3ccf8e; --warn: #eeb446; --crit: #ff6d7a; --soft: 16%;
  --shadow: 0 0 0 1px rgba(0, 0, 0, .2); --pop: 0 16px 40px -12px rgba(0, 0, 0, .6);
  --scroll-thumb: #2c3444; --scroll-thumb-hover: #3d475a;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); scrollbar-color: var(--scroll-thumb) var(--bg); }
.rail, .tbl-wrap, .chips, .mobile-nav-panel { scrollbar-width: thin; scrollbar-color: var(--scroll-thumb) transparent; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--scroll-thumb); border: 3px solid var(--bg); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--scroll-thumb-hover); }
::-webkit-scrollbar-corner { background: var(--bg); }
body { margin: 0; color: var(--ink); background: var(--bg); font: 14px/1.45 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -40px; z-index: 100; padding: 8px 12px; border-radius: 6px; background: var(--ink); color: var(--bg); font-weight: 600; }
.skip-link:focus { top: 12px; }
[id] { scroll-margin-top: calc(var(--topbar) + 12px); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
svg.i { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }

/* ---------- shell ---------- */
.app { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.rail { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 22px; padding: 18px 12px 16px; background: var(--surface); border-right: 1px solid var(--line); overflow-y: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 2px 8px; width: fit-content; }
.brand-mark { width: 28px; height: 28px; flex: none; }
.brand-name { display: block; font: 700 18px/1 var(--display); letter-spacing: -.02em; }
.brand-tag { display: block; margin-top: 4px; color: var(--faint); font: 500 10.5px/1 var(--mono); }
.nav-group { display: grid; gap: 2px; }
.nav-label { padding: 0 10px 6px; color: var(--faint); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.nav-item { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 34px; padding: 0 10px; border-radius: 7px; color: var(--ink-2); font-size: 13.5px; font-weight: 500; }
.nav-item:hover { background: var(--raised); color: var(--ink); }
.nav-item.active { background: color-mix(in srgb, var(--accent) var(--soft), transparent); color: var(--accent); font-weight: 600; }
.nav-item .count { margin-left: auto; color: var(--faint); font: 500 11px var(--mono); }
.nav-item .lock { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; color: var(--faint); font: 500 10.5px var(--mono); }
.nav-item .lock svg { width: 12px; height: 12px; }
.nav-item.is-off { color: var(--muted); }
.nav-item.is-off.active { color: var(--accent); }
.nav-item .on { margin-left: auto; color: var(--ok); font: 600 10.5px var(--mono); }
.rail-foot { margin-top: auto; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--raised); font-size: 12px; color: var(--muted); }
.rail-foot strong { display: flex; align-items: center; gap: 7px; color: var(--ink); font-size: 12.5px; }
.rail-foot p { margin: 6px 0 0; line-height: 1.45; }

.main { min-width: 0; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; height: var(--topbar); padding: 0 24px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.search { position: relative; flex: 1; max-width: 520px; margin: 0; }
.search svg { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.search input { width: 100%; height: 36px; padding: 0 44px 0 34px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-size: 13px; outline: none; }
.search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.search kbd { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); padding: 2px 6px; border: 1px solid var(--line); border-radius: 5px; background: var(--raised); color: var(--faint); font: 500 10.5px var(--mono); }
.topbar-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.fresh { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--muted); font-size: 12px; white-space: nowrap; }
.fresh b { color: var(--ink); font-weight: 600; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent); flex: none; }
.dot.is-warn { background: var(--warn); box-shadow: 0 0 0 3px color-mix(in srgb, var(--warn) 20%, transparent); }
.dot.is-crit { background: var(--crit); box-shadow: 0 0 0 3px color-mix(in srgb, var(--crit) 20%, transparent); }
.dot.is-idle { background: var(--faint); box-shadow: none; }
.mode { height: 32px; display: inline-flex; align-items: center; gap: 6px; padding: 0 11px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 600; white-space: nowrap; }
.mode svg { width: 13px; height: 13px; }
.icon-btn { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--muted); list-style: none; }
.icon-btn:hover { color: var(--ink); }
.icon-btn::-webkit-details-marker { display: none; }
.mobile-nav { display: none; position: relative; }
.mobile-nav summary { cursor: pointer; }
.mobile-nav-panel { position: absolute; left: 0; top: 42px; z-index: 40; display: grid; gap: 14px; width: min(290px, calc(100vw - 32px)); padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--pop); }

.content { width: 100%; max-width: 2200px; margin: 0 auto; padding: 22px 24px 64px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; padding: 4px 0 2px; }
.page-head h1 { margin: 0; font: 650 26px/1.12 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.page-head p { margin: 5px 0 0; max-width: 72ch; color: var(--muted); font-size: 13px; }
.refs { display: flex; flex-wrap: wrap; gap: 6px; }
.seg { display: inline-flex; flex-wrap: wrap; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.seg a { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 6px; color: var(--muted); font-size: 12.5px; font-weight: 500; }
.seg a:hover { color: var(--ink); }
.seg a[aria-current="page"], .seg a[aria-pressed="true"] { background: var(--raised); color: var(--ink); box-shadow: var(--shadow); font-weight: 600; }
.seg svg { width: 14px; height: 14px; }

.panel { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 0; }
.panel-head.ruled { padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.panel-head h2 { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.panel-head h2 svg { color: var(--faint); }
.link { display: inline-flex; align-items: center; gap: 4px; color: var(--accent); font-size: 12px; font-weight: 600; white-space: nowrap; }
.link:hover { text-decoration: underline; }
.link svg { width: 13px; height: 13px; }
.panel-body { padding: 14px 16px 16px; }
.sub { color: var(--muted); font-size: 12px; }
.eyeline { color: var(--muted); font-size: 12px; font-weight: 500; margin-bottom: 7px; }
.big { font: 700 34px/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.big small { margin-left: 6px; color: var(--muted); font: 500 14px var(--sans); letter-spacing: 0; }
.panel-empty { margin: 0; color: var(--muted); font-size: 13px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink-2); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.btn:hover { border-color: var(--faint); color: var(--ink); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { color: var(--accent-ink); filter: brightness(1.06); }
.btn svg { width: 14px; height: 14px; }

/* ---------- category + cadence marks ---------- */
.k-rm { --c: var(--rm); } .k-wn { --c: var(--wn); } .k-kb { --c: var(--kb); } .k-sn { --c: var(--sn); } .k-ms { --c: var(--ms); } .k-ot { --c: var(--ot); } .k-pn { --c: var(--pn); } .k-az { --c: var(--az); } .k-cm { --c: var(--cm); }
.kglyph { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 7px; color: var(--c); background: color-mix(in srgb, var(--c) var(--soft), transparent); }
.kglyph svg { width: 15px; height: 15px; }
.kdot { display: inline-block; width: 8px; height: 8px; flex: none; border-radius: 2px; background: var(--c); }
.tag { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 7px; border-radius: 5px; background: var(--raised); border: 1px solid var(--line-2); color: var(--ink-2); font-size: 11.5px; font-weight: 500; white-space: nowrap; }
.rt { display: inline-flex; align-items: center; height: 19px; padding: 0 6px; border-radius: 4px; font: 600 10.5px/1 var(--mono); letter-spacing: .02em; white-space: nowrap; }
.rt-b { color: var(--kb); background: color-mix(in srgb, var(--kb) var(--soft), transparent); }
.rt-d, .rt-other { color: var(--muted); background: var(--raised); border: 1px solid var(--line); }
.rt-oob { color: var(--warn); background: color-mix(in srgb, var(--warn) var(--soft), transparent); }

/* ---------- notices ---------- */
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border: 1px solid color-mix(in srgb, var(--warn) 35%, var(--line)); border-radius: 10px; background: color-mix(in srgb, var(--warn) 8%, var(--surface)); color: var(--ink-2); font-size: 13px; }
.notice svg { margin-top: 1px; color: var(--warn); }
.notice p { margin: 0; }
.notice a { color: var(--accent); font-weight: 600; }
.about { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); color: var(--muted); font-size: 12px; line-height: 1.5; }
.about svg { margin-top: 2px; color: var(--faint); }
.about p { margin: 0; }
.about b { color: var(--ink-2); }

/* ---------- overview lead ---------- */
.lead { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.cycle-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; }
.cycle-legend { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; color: var(--muted); font-size: 12px; }
.cycle-legend span { display: inline-flex; align-items: center; gap: 5px; }
.cycle-track { position: relative; height: 92px; margin: 14px 8px 12px; }
.cycle-track::before { content: ""; position: absolute; left: 0; right: 0; top: 38px; height: 2px; border-radius: 2px; background: var(--line); }
.cycle-past { position: absolute; left: 0; top: 38px; height: 2px; border-radius: 2px; background: var(--ink-2); }
.cycle-mark { position: absolute; top: 0; display: grid; justify-items: center; gap: 6px; transform: translateX(-50%); }
.cycle-mark .when { color: var(--ink-2); font: 600 10.5px/1 var(--mono); white-space: nowrap; }
.cycle-mark .pt { width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; background: var(--c, var(--kb)); box-shadow: 0 0 0 2px var(--surface); }
.cycle-mark.is-future .when { color: var(--faint); }
.cycle-mark.is-future .pt { background: var(--surface); border: 2px dashed var(--kb); box-shadow: none; }
.cycle-mark .codes { display: flex; gap: 3px; }
.cycle-mark.c-b { --c: var(--kb); } .cycle-mark.c-oob { --c: var(--warn); } .cycle-mark.c-d { --c: var(--faint); }
.cycle-today { position: absolute; top: 24px; bottom: 0; width: 2px; margin-left: -1px; background: var(--accent); }
.cycle-today span { position: absolute; bottom: 0; left: 6px; color: var(--accent); font: 700 10.5px/1 var(--mono); letter-spacing: .04em; }
.cycle-edge { position: absolute; bottom: 0; color: var(--faint); font: 600 10.5px/1 var(--mono); }
.cycle-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cstat { display: block; padding: 9px 10px; border-radius: 8px; background: var(--raised); border: 1px solid var(--line-2); }
a.cstat:hover { border-color: var(--line); }
.cstat b { display: block; font: 650 18px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.cstat span { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 4px; color: var(--muted); font-size: 11.5px; }

.msrc-title { margin: 0; font: 650 19px/1.2 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.msrc-title a:hover { color: var(--accent); }
.months { list-style: none; padding: 0; margin: 12px 0 0; border-top: 1px solid var(--line-2); }
.months li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line-2); font-size: 12.5px; }
.months a:hover { color: var(--accent); }
.months li > span { color: var(--muted); }
.panel-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 12px; }

.bars { display: grid; gap: 9px; margin-top: 14px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) 34px; align-items: center; gap: 10px; font-size: 12.5px; }
.bar-row a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.bar-row a:hover { color: var(--accent); }
.bar-row a[aria-current="page"] { color: var(--rm); font-weight: 600; }
.track { height: 8px; border-radius: 3px; background: var(--raised); overflow: hidden; }
.track i { display: block; height: 100%; border-radius: 3px; background: var(--rm); }
.bar-row .n { text-align: right; color: var(--muted); font: 500 12px var(--mono); }

/* ---------- activity chart (HTML bars keep labels readable at any width) ---------- */
.chart { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; padding: 12px 16px 14px; }
.chart-y { position: relative; height: 150px; color: var(--faint); font: 500 10.5px var(--mono); }
.chart-y span { position: absolute; right: 0; transform: translateY(-50%); }
.chart-plot { position: relative; height: 150px; display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; align-items: end; }
.chart-grid { position: absolute; inset: 0; pointer-events: none; }
.chart-grid i { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line-2); }
.chart-day { position: relative; height: 100%; display: flex; flex-direction: column-reverse; gap: 1px; border-radius: 3px; }
.chart-day:hover { background: var(--raised); }
.chart-day i { display: block; width: 100%; min-height: 2px; border-radius: 2px; background: var(--c); }
.chart-day.is-today::after { content: ""; position: absolute; inset: 0 -2px; border: 1px dashed var(--faint); border-radius: 4px; }
.chart-x { grid-column: 2; display: grid; grid-template-columns: repeat(30, minmax(0, 1fr)); gap: 3px; color: var(--faint); font: 500 10.5px var(--mono); }
.chart-x span { display: flex; justify-content: center; white-space: nowrap; }
.chart-x span:last-child { justify-content: flex-end; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; }
.legend span, .legend a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.legend a:hover { color: var(--ink); }
a.chart-day { color: inherit; }
a.chart-day:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- stream ---------- */
.work { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 16px; align-items: start; }
.side { display: grid; gap: 16px; position: sticky; top: calc(var(--topbar) + 16px); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px 0; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 12px; font-weight: 500; white-space: nowrap; }
.chip:hover { border-color: var(--faint); }
.chip .n { color: var(--faint); font: 500 11px var(--mono); }
.chip[aria-current="page"] { border-color: var(--c, var(--ink)); background: color-mix(in srgb, var(--c, var(--ink)) var(--soft), transparent); color: var(--ink); }
.chip[aria-current="page"] .n { color: var(--ink-2); }
.filters { display: grid; grid-template-columns: minmax(160px, 1fr) minmax(0, 180px) minmax(0, 175px) auto; gap: 8px; padding: 10px 16px 12px; border-bottom: 1px solid var(--line); }
.filters input, .filters select { min-width: 0; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--raised); font-size: 12.5px; outline: none; }
.filters input:focus, .filters select:focus { border-color: var(--accent); background: var(--surface); }
.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 9px 16px; border-bottom: 1px solid var(--line-2); background: var(--raised); color: var(--muted); font-size: 12px; }
.active-filters b { color: var(--ink); font-weight: 600; }
.day-head { position: sticky; top: var(--topbar); z-index: 2; display: flex; justify-content: space-between; align-items: center; padding: 7px 16px; background: color-mix(in srgb, var(--raised) 94%, transparent); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line-2); color: var(--muted); font-size: 11.5px; font-weight: 600; }
.day-head span:last-child { color: var(--faint); font: 500 11px var(--mono); }
.row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 11px 16px; border-bottom: 1px solid var(--line-2); }
.row:hover { background: var(--raised); }
.row-title { display: block; color: var(--ink); font-size: 13.5px; font-weight: 500; line-height: 1.38; overflow-wrap: anywhere; }
a.row-title:hover { color: var(--accent); }
.row-body { min-width: 0; padding-right: 6px; }
.row-title .ext { display: inline-block; vertical-align: -2px; width: 12px; height: 12px; margin: 0 -16px 0 4px; color: var(--faint); opacity: 0; transition: opacity .12s; }
.row:hover .ext, .row-title:focus-visible .ext { opacity: 1; }
.row-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 6px; color: var(--muted); font-size: 12px; }
.row-meta .sep { color: var(--faint); }
.row-meta .kbid { color: var(--ink-2); font: 500 12px var(--mono); }
.row-meta .build { font: 500 11.5px var(--mono); }
.row-date { color: var(--faint); font: 500 11.5px var(--mono); white-space: nowrap; padding-top: 2px; }
.row-end { display: grid; justify-items: end; align-content: start; gap: 6px; }
.stream.is-compact .row { grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; padding-block: 7px; }
.stream.is-compact .kglyph { width: 22px; height: 22px; border-radius: 5px; }
.stream.is-compact .kglyph svg { width: 12px; height: 12px; }
.stream.is-compact .row-body { display: flex; align-items: center; gap: 10px; min-width: 0; }
.stream.is-compact .row-title { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
.stream.is-compact .row-meta { flex: none; flex-wrap: nowrap; margin-top: 0; }
.stream.is-compact .row-meta .src, .stream.is-compact .row-meta .sep, .stream.is-compact .row-meta .build { display: none; }
.stream-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 11px 16px; color: var(--muted); font-size: 12px; }
.stream-foot div { display: flex; gap: 6px; }
.empty { display: grid; justify-items: center; gap: 6px; padding: 46px 16px; text-align: center; color: var(--muted); }
.empty svg { width: 22px; height: 22px; color: var(--faint); }
.empty h3 { margin: 4px 0 0; color: var(--ink); font-size: 15px; }
.empty p { margin: 0; max-width: 52ch; font-size: 13px; }

/* ---------- tables ---------- */
.tbl-wrap { position: relative; overflow-x: auto; }
table.tbl { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.tbl th { padding: 8px 12px; text-align: left; color: var(--faint); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; border-bottom: 1px solid var(--line); white-space: nowrap; }
.tbl td { padding: 8px 12px; border-bottom: 1px solid var(--line-2); white-space: nowrap; vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td.stack { white-space: normal; }
.tbl td.stack .line { display: inline-flex; align-items: center; gap: 6px; }
.tbl td.stack .sub { display: block; margin-top: 3px; font-size: 11.5px; white-space: nowrap; }
.tbl td:has(.cve-count) { white-space: normal; }
.tbl tbody th.name { white-space: normal; min-width: 170px; }
.cve-count { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; max-width: 230px; }
.cve-count:hover .num-strong { color: var(--accent); }
.tbl tbody th { padding: 8px 12px; text-align: left; text-transform: none; letter-spacing: 0; font-size: 12.5px; border-bottom: 1px solid var(--line-2); }
.tbl tr.fam td { padding-top: 12px; color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; border-bottom-color: var(--line); }
.tbl tbody tr:not(.fam):hover td { background: var(--raised); }
.tbl .name { color: var(--ink); font-weight: 500; }
.tbl .num { text-align: right; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tbl a.kbl { color: var(--ink-2); font: 500 12px var(--mono); border-bottom: 1px dotted var(--faint); }
.tbl a.kbl:hover { color: var(--accent); border-color: var(--accent); }
.tbl .age { color: var(--faint); font: 500 11.5px var(--mono); }
.tbl tr.is-dormant td { color: var(--muted); }
.tbl tr.is-dormant .name { color: var(--muted); }
.flag { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; }
.flag svg { width: 13px; height: 13px; }
.flag.is-warn { color: var(--warn); }
.flag.is-ok { color: var(--faint); }
.status { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; }
.status.is-ok { color: var(--ok); } .status.is-warn { color: var(--warn); } .status.is-crit { color: var(--crit); }

/* ---------- data layers ---------- */
.layers { display: grid; gap: 8px; }
.layer { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 10px 11px; border: 1px solid var(--line-2); border-radius: 8px; background: var(--raised); }
.layer .lv { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 7px; font: 600 11px var(--mono); background: var(--surface); border: 1px solid var(--line); color: var(--muted); }
.layer.is-on .lv { background: color-mix(in srgb, var(--ok) var(--soft), transparent); border-color: transparent; color: var(--ok); }
.layer b { display: block; font-size: 12.5px; font-weight: 600; }
.layer .d { display: block; margin-top: 2px; color: var(--muted); font-size: 11.5px; line-height: 1.35; }
.layer .state { display: inline-flex; align-items: center; gap: 5px; color: var(--faint); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.layer.is-on .state { color: var(--ok); }
.layer .state svg { width: 13px; height: 13px; }
.layer-cards { display: grid; gap: 16px; }
.layer-card { scroll-margin-top: calc(var(--topbar) + 16px); padding: 20px 22px; }
.layer-card header { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.layer-card h2 { margin: 0; font: 650 18px/1.2 var(--display); letter-spacing: -.01em; }
.layer-card p { margin: 10px 0 0; max-width: 70ch; color: var(--muted); line-height: 1.55; }
.layer-card ul { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.layer-card li { display: flex; gap: 9px; align-items: flex-start; color: var(--ink-2); font-size: 13px; }
.layer-card li svg { flex: none; margin-top: 2px; color: var(--faint); }
.layer-card li > span { min-width: 0; overflow-wrap: anywhere; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--raised); border: 1px solid var(--line); color: var(--muted); font: 600 11.5px var(--mono); white-space: nowrap; }
.pill svg { width: 12px; height: 12px; }
.pill.is-on { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); background: color-mix(in srgb, var(--ok) 8%, var(--surface)); }

/* ---------- secondary pages ---------- */
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.timeline { list-style: none; margin: 0; padding: 6px 16px 10px; }
.timeline li { display: grid; grid-template-columns: 94px 14px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 0; }
.timeline .when { color: var(--muted); font: 500 12px var(--mono); }
.timeline .pin { width: 10px; height: 10px; justify-self: center; border-radius: 50%; border: 2px solid var(--ms); background: var(--surface); }
.timeline li:first-child .pin { background: var(--ms); }
.timeline .what { font-size: 13px; font-weight: 500; }
.timeline .what:hover { color: var(--accent); }
.timeline .ok { display: inline-flex; align-items: center; gap: 4px; color: var(--faint); font-size: 11.5px; white-space: nowrap; }
.timeline .ok svg { width: 13px; height: 13px; }

.doc { width: 100%; padding: 34px 40px 40px; }
/* Columns rather than a grid: sections of very different lengths pack without row gaps, on screen and in print. */
.doc-sections { columns: 2 460px; column-gap: 44px; margin-top: 18px; }
.doc-sections > .doc-section:first-child > h2:first-child { margin-top: 0; }
.doc-section { min-width: 0; break-inside: avoid; }
.doc-kicker { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); font: 500 12px var(--mono); letter-spacing: .02em; }
.doc h1 { margin: 16px 0 10px; font: 650 30px/1.14 var(--display); letter-spacing: -.025em; text-wrap: balance; }
.doc .lede { margin: 0; max-width: 90ch; color: var(--ink-2); font-size: 15px; line-height: 1.6; }
.doc .keys { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; margin: 22px 0 6px; }
.doc .key { padding: 12px; border-radius: 8px; background: var(--raised); border: 1px solid var(--line-2); }
.doc .key b { display: block; font: 650 22px/1 var(--display); font-variant-numeric: tabular-nums; }
.doc .key span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; line-height: 1.35; }
.doc h2 { display: flex; align-items: center; gap: 9px; margin: 28px 0 6px; padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 600; }
.doc h2 .n { margin-left: auto; color: var(--faint); font: 500 12px var(--mono); }
.doc ul { margin: 0; padding: 0; list-style: none; }
.doc li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line-2); font-size: 13.5px; }
.doc li a { overflow-wrap: anywhere; }
.doc li a:hover { color: var(--accent); }
.doc li .mono { color: var(--faint); font-size: 11.5px; }
.doc .grp { margin: 14px 0 2px; color: var(--muted); font-size: 12px; font-weight: 600; }
.doc .doc-foot { margin: 26px 0 0; color: var(--muted); font-size: 12px; }

.status-page { max-width: 620px; padding: 40px 0; }
.status-page h1 { margin: 10px 0 12px; font: 650 34px/1.1 var(--display); letter-spacing: -.03em; }
.status-page p { color: var(--muted); line-height: 1.6; }
.status-page .request-id { margin-top: 24px; font-size: 12px; }

/* ---------- team + tenant ---------- */
.decision { border-bottom: 1px solid var(--line); }
.decision .row { border-bottom: 0; }
.decision-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 0 16px 14px 56px; }
.decision-form label { display: grid; gap: 5px; min-width: 0; color: var(--muted); font-size: 11.5px; font-weight: 600; }
.decision-form input, .decision-form select, .decision-form textarea { min-width: 0; width: 100%; padding: 7px 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--raised); color: var(--ink); font-size: 12.5px; font-weight: 400; }
.decision-form input:focus, .decision-form select:focus, .decision-form textarea:focus { outline: none; border-color: var(--accent); background: var(--surface); }
.decision-note, .decision-actions { grid-column: 1 / -1; }
.decision-form textarea { resize: vertical; }
.decision-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--faint); font-size: 11.5px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.stat { padding: 14px 16px; }
.stat b { display: block; font: 650 26px/1 var(--display); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
.health-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.health-item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; }
.health-item span { color: var(--muted); text-align: right; }

/* ---------- security ---------- */
.sev { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 5px; font-size: 11.5px; font-weight: 600; white-space: nowrap; color: var(--muted); background: var(--raised); border: 1px solid var(--line); }
.sev-critical { color: var(--crit); background: color-mix(in srgb, var(--crit) var(--soft), transparent); border-color: transparent; }
.sev-important { color: var(--warn); background: color-mix(in srgb, var(--warn) var(--soft), transparent); border-color: transparent; }
.cve-flag { display: inline-flex; align-items: center; gap: 4px; height: 20px; padding: 0 7px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.cve-flag svg { width: 12px; height: 12px; }
.cve-flag.is-exploited { color: #fff; background: var(--crit); }
.cve-flag.is-kev { color: var(--crit); background: color-mix(in srgb, var(--crit) var(--soft), transparent); }
.cve-flag.is-disclosed { color: var(--warn); background: color-mix(in srgb, var(--warn) var(--soft), transparent); }
.cve-flag.is-revised { color: var(--muted); background: var(--raised); border: 1px solid var(--line); }
:root[data-theme="dark"] .cve-flag.is-exploited { color: #1a0a0c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cve-flag.is-exploited { color: #1a0a0c; } }
.cve-id { font: 600 12.5px var(--mono); color: var(--ink); white-space: nowrap; }
a.cve-id:hover { color: var(--accent); }
.cve-flags { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.kb-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.kb-chip { display: inline-flex; align-items: center; height: 20px; padding: 0 6px; border-radius: 4px; border: 1px solid var(--line); background: var(--raised); color: var(--ink-2); font: 500 11px var(--mono); white-space: nowrap; }
a.kb-chip:hover { border-color: var(--accent); color: var(--accent); }
.tbl td.wrap { white-space: normal; min-width: 260px; }
.tbl td.wrap .sub { display: block; margin-top: 2px; }
.tbl .num-strong { font: 650 13px var(--mono); color: var(--ink); }
.stat-row.security-stats { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
.stat.is-alert b { color: var(--crit); }
.stat.is-warn b { color: var(--warn); }
a.stat:hover { border-color: var(--faint); }
.priority { display: grid; }
.priority-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 14px; align-items: center; padding: 11px 16px; border-bottom: 1px solid var(--line-2); }
.priority-row:last-child { border-bottom: 0; }
.priority-row:hover { background: var(--raised); }
.priority-row .top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.priority-row .title { display: block; margin-top: 4px; color: var(--ink); font-size: 13.5px; font-weight: 500; }
.priority-row .title:hover { color: var(--accent); }
.priority-row .side-meta { display: grid; justify-items: end; gap: 4px; color: var(--muted); font-size: 11.5px; text-align: right; }
.filters.security-filters { grid-template-columns: minmax(160px, 1fr) repeat(3, minmax(0, 150px)) auto auto; align-items: center; }
.check { display: inline-flex; align-items: center; gap: 6px; color: var(--ink-2); font-size: 12.5px; white-space: nowrap; }
.check input { width: 15px; height: 15px; accent-color: var(--accent); }
.filters .check input { height: 15px; padding: 0; grid-column: auto; border: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; margin: 0; background: var(--line-2); border-top: 1px solid var(--line-2); }
.facts div { padding: 12px 16px; background: var(--surface); }
.facts dt { color: var(--muted); font-size: 11.5px; font-weight: 600; }
.facts dd { margin: 4px 0 0; color: var(--ink); font-size: 13.5px; font-weight: 500; overflow-wrap: anywhere; }
.facts dd .mono { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 400; color: var(--muted); }
.facts dd .note { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: var(--muted); }
.cve-head { display: grid; gap: 10px; }
.cve-head h1 { margin: 0; font: 650 24px/1.2 var(--display); letter-spacing: -.02em; text-wrap: balance; }
.cve-head .cve-id { font-size: 14px; }
.prose { margin: 0; max-width: 75ch; color: var(--ink-2); font-size: 14px; line-height: 1.6; }
.kev-box { display: grid; gap: 6px; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--crit) 35%, var(--line)); border-radius: 10px; background: color-mix(in srgb, var(--crit) 6%, var(--surface)); }
.kev-box strong { display: flex; align-items: center; gap: 8px; color: var(--crit); font-size: 13.5px; }
.kev-box p { margin: 0; color: var(--ink-2); font-size: 13px; }
details.more summary { cursor: pointer; color: var(--accent); font-size: 12.5px; font-weight: 600; }
details.more ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 12.5px; columns: 2 260px; }
.link-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cve-matches { display: grid; gap: 0; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--ms) 4%, var(--surface)); }
.cve-matches .head { display: flex; justify-content: space-between; gap: 10px; padding: 9px 16px 4px; color: var(--muted); font-size: 12px; font-weight: 600; }
.msrc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.msrc-stats a { display: block; padding: 8px 9px; border-radius: 8px; background: var(--raised); border: 1px solid var(--line-2); }
.msrc-stats a:hover { border-color: var(--line); }
.msrc-stats b { display: block; font: 650 18px/1.1 var(--display); font-variant-numeric: tabular-nums; }
.msrc-stats b.is-alert { color: var(--crit); }
.msrc-stats span { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; }
.zero-days { list-style: none; margin: 12px 0 0; padding: 0; border-top: 1px solid var(--line-2); }
.zero-days li { display: grid; gap: 3px; padding: 8px 0; border-bottom: 1px solid var(--line-2); }
.zero-days a.t { color: var(--ink); font-size: 12.5px; font-weight: 500; }
.zero-days a.t:hover { color: var(--accent); }
.zero-days .top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }

/* ---------- roadmap, known issues, lifecycle, community ---------- */
.status-badge { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 999px; font-size: 11px; font-weight: 700; white-space: nowrap; color: var(--muted); background: var(--raised); border: 1px solid var(--line); }
.st-active { color: var(--ok); background: color-mix(in srgb, var(--ok) var(--soft), transparent); border-color: transparent; }
.st-planned { color: var(--rm); background: color-mix(in srgb, var(--rm) var(--soft), transparent); border-color: transparent; }
.st-done { color: var(--kb); background: color-mix(in srgb, var(--kb) var(--soft), transparent); border-color: transparent; }
.st-alert { color: var(--crit); background: color-mix(in srgb, var(--crit) var(--soft), transparent); border-color: transparent; }
.st-warn { color: var(--warn); background: color-mix(in srgb, var(--warn) var(--soft), transparent); border-color: transparent; }
.cloud-tag { display: inline-flex; align-items: center; height: 18px; padding: 0 6px; border-radius: 4px; border: 1px dashed var(--line); color: var(--muted); font: 600 10.5px var(--mono); white-space: nowrap; }
.issue-list { list-style: none; margin: 0; padding: 0; }
.issue-list li { display: grid; gap: 5px; padding: 10px 16px; border-bottom: 1px solid var(--line-2); }
.issue-list li:last-child { border-bottom: 0; }
.issue-list .top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; color: var(--muted); font-size: 11.5px; }
.issue-list a.t { color: var(--ink); font-size: 13px; font-weight: 500; }
.issue-list a.t:hover { color: var(--accent); }
.milestones { list-style: none; margin: 0; padding: 0; }
.milestones li { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 9px 16px; border-bottom: 1px solid var(--line-2); }
.milestones li:last-child { border-bottom: 0; }
.milestones .when { color: var(--ink-2); font: 600 12px var(--mono); }
.milestones .what { min-width: 0; color: var(--ink); font-size: 13px; font-weight: 500; }
.milestones .what:hover { color: var(--accent); }
.milestones .kind { color: var(--muted); font-size: 11.5px; white-space: nowrap; }
.month-head { padding: 8px 16px; background: var(--raised); border-bottom: 1px solid var(--line-2); color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.source-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.source-card { display: grid; gap: 6px; align-content: start; padding: 14px 16px; }
.source-card .name { display: flex; justify-content: space-between; gap: 8px; color: var(--ink); font-size: 13.5px; font-weight: 600; }
.source-card .name span { color: var(--faint); font: 500 11px var(--mono); white-space: nowrap; }
.source-card a.latest { color: var(--ink-2); font-size: 12.5px; line-height: 1.4; }
.source-card a.latest:hover { color: var(--accent); }
.source-card .sub { font-size: 11.5px; }

/* ---------- my view ---------- */
.view-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line)); border-radius: 10px; background: color-mix(in srgb, var(--accent) 7%, var(--surface)); color: var(--ink-2); font-size: 13px; }
.view-banner svg { color: var(--accent); }
.view-banner p { flex: 1; min-width: 220px; margin: 0; }
.fresh.my-view { color: var(--ink-2); }
.fresh.my-view svg { width: 14px; height: 14px; }
.fresh.my-view.is-on { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); color: var(--accent); font-weight: 600; }
.notice.is-ok { border-color: color-mix(in srgb, var(--ok) 35%, var(--line)); background: color-mix(in srgb, var(--ok) 8%, var(--surface)); }
.notice.is-ok svg { color: var(--ok); }
.prefs { display: grid; gap: 16px; }
.pref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px 24px; }
.pref-grid fieldset.wide { grid-column: 1 / -1; }
.prefs fieldset { min-width: 0; margin: 0; padding: 0; border: 0; display: grid; gap: 7px; align-content: start; }
.prefs legend { margin-bottom: 8px; color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.check-columns { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 7px 18px; }
.check-columns .n { color: var(--faint); font: 500 11px var(--mono); }
.pref-note { margin: 0; padding: 0 16px 14px; color: var(--muted); font-size: 12px; }
.pref-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.src-link { display: inline-flex; align-items: center; gap: 3px; color: var(--faint); font-size: 11.5px; }
.src-link:hover { color: var(--accent); }
.src-link svg { width: 11px; height: 11px; }
.issue-list .summary { color: var(--muted); font-size: 12px; line-height: 1.45; }
.issue-list a.kbid:hover { color: var(--accent); }
svg.ext-inline { width: 11px; height: 11px; margin-left: 4px; vertical-align: -1px; color: var(--faint); }

/* ---------- review fixes ---------- */
.stat .stat-sub { margin-top: 2px; color: var(--faint); font-size: 11.5px; }
.subhead { display: flex; justify-content: space-between; gap: 10px; padding: 9px 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line-2); background: var(--raised); color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.jump { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); color: var(--ink); font-size: 13.5px; }
.jump svg { color: var(--accent); }
.jump:hover b { color: var(--accent); }
.site-footer .made-by { color: var(--muted); }
.site-footer { display: grid; gap: 4px; width: 100%; max-width: 2200px; margin: 0 auto; padding: 18px 24px 28px; border-top: 1px solid var(--line); color: var(--faint); font-size: 11.5px; line-height: 1.5; }
@media (max-width: 860px) { .site-footer { padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } .content { padding-bottom: 24px; } }

.epss { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.epss.is-high { color: var(--warn); font-weight: 700; }
abbr[title] { text-decoration: none; cursor: help; }

.service-side { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border: 1px dashed var(--line); border-radius: 5px; color: var(--muted); font-size: 11px; font-weight: 600; white-space: nowrap; }

.doc-section ul.grouped li { align-items: baseline; }
.doc-section ul.grouped .what { line-height: 1.55; }
.doc-section ul.grouped .what b { color: var(--ink); font-weight: 650; }
.doc-section ul.grouped .what a { color: var(--ink-2); }
.doc-section ul.grouped .what a:hover { color: var(--accent); }

.tbl th.name .edition { display: block; margin-top: 2px; color: var(--muted); font-size: 11.5px; font-weight: 500; }
.more-issues > summary { padding: 10px 16px; border-top: 1px solid var(--line-2); color: var(--accent); font-size: 12.5px; font-weight: 600; cursor: pointer; list-style: none; }
.more-issues > summary::-webkit-details-marker { display: none; }
.more-issues[open] > summary { color: var(--muted); }

.tbl tr.fam .fam-n { margin-left: 10px; color: var(--faint); font: 500 11px var(--mono); letter-spacing: 0; text-transform: none; }

.prose-block { display: grid; gap: 8px; }
.prose-block .prose { margin: 0; }
.para-head { margin: 6px 0 -2px; color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.para-head:first-child { margin-top: 0; }

.tbl td.age.is-quiet { color: var(--warn); }
.quiet-tag { margin-left: 6px; padding: 0 5px; border: 1px solid color-mix(in srgb, var(--warn) 40%, var(--line)); border-radius: 4px; font: 600 10px var(--mono); text-transform: uppercase; }

/* ---------- needs attention ---------- */
.attention { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 10px; }
.attn { --tone: var(--accent); display: flex; gap: 11px; align-items: flex-start; min-width: 0; padding: 12px 14px; border: 1px solid var(--line); border-left: 3px solid var(--tone); border-radius: 10px; background: var(--surface); color: var(--ink-2); transition: border-color .12s, background .12s; }
.attn:hover { background: color-mix(in srgb, var(--tone) 6%, var(--surface)); border-color: color-mix(in srgb, var(--tone) 45%, var(--line)); border-left-color: var(--tone); }
.attn-critical { --tone: var(--crit); }
.attn-warning { --tone: var(--warn); }
.attn-info { --tone: var(--accent); }
.attn-icon { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: color-mix(in srgb, var(--tone) var(--soft), transparent); color: var(--tone); }
.attn-icon svg { width: 16px; height: 16px; }
.attn-body { display: grid; gap: 3px; min-width: 0; }
.attn-title { color: var(--ink); font-size: 13.5px; font-weight: 650; line-height: 1.3; }
.attn-detail { overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* ---------- key dates ---------- */
.key-dates { display: grid; margin: 6px 0 0; padding: 0; list-style: none; }
.key-dates li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 9px 16px; border-top: 1px solid var(--line-2); }
.kd-when { display: grid; justify-items: center; padding: 4px 0; border: 1px solid var(--line); border-radius: 8px; background: var(--raised); line-height: 1.1; }
.kd-when b { color: var(--ink); font: 700 15px var(--display); }
.kd-when span { color: var(--muted); font: 600 10px var(--mono); text-transform: uppercase; }
.kd-what { display: grid; gap: 2px; min-width: 0; color: var(--ink); }
.kd-title { display: inline-flex; align-items: flex-start; gap: 6px; font-size: 13px; font-weight: 600; line-height: 1.35; }
.kd-title svg { width: 13px; height: 13px; flex: none; margin-top: 2px; color: var(--muted); }
.kd-text { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.kd-what:hover .kd-title { color: var(--accent); }
.kd-detail { overflow: hidden; color: var(--muted); font-size: 11.5px; white-space: nowrap; text-overflow: ellipsis; }
.kd-in { color: var(--faint); font: 500 11px var(--mono); white-space: nowrap; }
.kd-patchtuesday .kd-when { border-color: color-mix(in srgb, var(--kb) 45%, var(--line)); }
.kd-patchtuesday .kd-title svg { color: var(--kb); }
.kd-knownexploiteddue .kd-title svg { color: var(--crit); }
.kd-lifecycle .kd-title svg { color: var(--warn); }
.kd-roadmapavailability .kd-title svg { color: var(--rm); }

/* ---------- roadmap changes ---------- */
.rm-changes { display: grid; margin: 0; padding: 0; list-style: none; }
.rm-changes li { display: grid; gap: 3px; padding: 10px 16px; border-top: 1px solid var(--line-2); }
.rm-changes.is-compact li { padding: 7px 0; border-top: 1px dashed var(--line-2); }
.rm-change { justify-self: start; padding: 1px 7px; border-radius: 5px; background: var(--raised); color: var(--ink-2); font: 600 11.5px var(--mono); }
.rm-change.is-late { background: color-mix(in srgb, var(--warn) 16%, transparent); color: var(--warn); }
.rm-change.is-good { background: color-mix(in srgb, var(--ok) 16%, transparent); color: var(--ok); }
.rm-title { color: var(--ink); font-size: 13px; font-weight: 500; line-height: 1.35; }
.rm-title:hover { color: var(--accent); }
.rm-changes.is-compact .rm-title { overflow: hidden; font-size: 12.5px; white-space: nowrap; text-overflow: ellipsis; }
.rm-meta { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; color: var(--faint); font-size: 11.5px; }
.subhead-mini { margin: 14px 0 2px; color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.card-foot-link { display: flex; align-items: center; gap: 6px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 12.5px; }
.card-foot-link b { color: var(--ink); }
.card-foot-link svg { margin-left: auto; width: 13px; height: 13px; }
.card-foot-link:hover { color: var(--accent); }
.cycle-week { display: flex; align-items: center; gap: 7px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line-2); color: var(--muted); font-size: 12.5px; }
.cycle-week svg { width: 13px; height: 13px; }
.cycle-week svg:last-child { margin-left: auto; }
.cycle-week:hover { color: var(--accent); }
.active-filters.is-range { display: flex; align-items: center; gap: 8px; }
.active-filters.is-range svg { width: 14px; height: 14px; color: var(--accent); }

/* ---------- patch readiness ---------- */
.v-now { --v: var(--crit); } .v-test { --v: var(--warn); } .v-pilot { --v: var(--accent); } .v-ready { --v: var(--ok); } .v-super { --v: var(--muted); }
.verdict { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--v) 16%, transparent); color: var(--v); font-size: 12px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.verdict svg { width: 13px; height: 13px; }
.section-title { display: flex; align-items: center; gap: 8px; margin: 4px 0 10px; color: var(--ink); font: 650 16px/1.3 var(--display); }
.section-title svg { width: 16px; height: 16px; color: var(--muted); }
.readiness-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.readiness { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border: 1px solid var(--line); border-top: 3px solid var(--v); border-radius: 12px; background: var(--surface); }
.readiness-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.readiness-kb { font-size: 13px !important; }
.readiness-for { flex-basis: 100%; color: var(--ink); font-size: 13.5px; font-weight: 650; }
.readiness-summary { margin: 0; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.readiness-meters { display: flex; flex-wrap: wrap; gap: 6px; }
.meter { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-2); font-size: 11.5px; }
.meter b { color: var(--faint); font-weight: 700; letter-spacing: .03em; text-transform: uppercase; font-size: 10.5px; }
.meter.u-critical, .meter.r-high { border-color: color-mix(in srgb, var(--crit) 45%, var(--line)); color: var(--crit); }
.meter.u-elevated, .meter.r-moderate { border-color: color-mix(in srgb, var(--warn) 45%, var(--line)); color: var(--warn); }
.meter.r-low { color: var(--ok); }
.readiness-reasons { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; }
.readiness-reasons li { position: relative; padding-left: 16px; color: var(--ink-2); font-size: 12.5px; line-height: 1.45; }
.readiness-reasons li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.readiness-reasons li.t-urgent::before { background: var(--crit); }
.readiness-reasons li.t-caution::before { background: var(--warn); }
.readiness-reasons li.t-good::before { background: var(--ok); }
.readiness-reasons li.t-info::before { background: var(--accent); }
.kb-readiness { display: grid; gap: 8px; }
.kb-readiness .readiness { padding: 18px 20px; }
.cycle-readiness { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 9px 12px; border: 1px solid color-mix(in srgb, var(--v) 35%, var(--line)); border-radius: 10px; background: color-mix(in srgb, var(--v) 7%, var(--surface)); color: var(--ink-2); font-size: 12.5px; }
.cycle-readiness svg:last-child { margin-left: auto; width: 13px; height: 13px; }
.cycle-readiness:hover { color: var(--ink); border-color: var(--v); }
.pt-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 28px; align-items: center; padding: 22px 24px; border: 1px solid color-mix(in srgb, var(--v) 40%, var(--line)); border-radius: 14px; background: linear-gradient(135deg, color-mix(in srgb, var(--v) 12%, var(--surface)), var(--surface) 70%); }
.pt-hero-main { display: grid; gap: 8px; justify-items: start; }
.pt-hero h2 { margin: 0; color: var(--ink); font: 700 clamp(19px, 2vw, 25px)/1.25 var(--display); letter-spacing: -.01em; }
.pt-hero p { margin: 0; max-width: 80ch; color: var(--ink-2); font-size: 14px; line-height: 1.55; }
.pt-hero-facts { display: grid; grid-template-columns: repeat(2, minmax(120px, auto)); gap: 10px 22px; margin: 0; }
.pt-hero-facts div { display: grid; gap: 2px; }
.pt-hero-facts dt { color: var(--muted); font-size: 11.5px; }
.pt-hero-facts dd { margin: 0; color: var(--ink); font: 700 22px var(--display); }
.pt-trend { display: flex; align-items: flex-end; justify-content: center; gap: 14px; height: 210px; padding: 16px 20px 14px; }
.pt-trend-bar { display: grid; grid-template-rows: 1fr auto auto auto; justify-items: center; gap: 3px; flex: 0 1 132px; height: 100%; color: var(--ink-2); }
.pt-trend-bar .bar { display: flex; flex-direction: column-reverse; align-self: end; width: min(56px, 70%); border-radius: 6px 6px 3px 3px; background: color-mix(in srgb, var(--ms) 30%, transparent); overflow: hidden; }
.pt-trend-bar .bar .crit { display: block; width: 100%; background: var(--ms); }
.pt-trend-bar.is-current .bar { outline: 2px solid var(--accent); outline-offset: 2px; }
.pt-trend-bar b { color: var(--ink); font: 700 13px var(--mono); }
.pt-trend-bar .lbl { color: var(--muted); font-size: 11.5px; }
.pt-trend-bar .expl { color: var(--crit); font-size: 10.5px; font-weight: 600; }
.pt-trend-bar:hover .lbl { color: var(--accent); }
.pt-months { flex-wrap: wrap; }
@media (max-width: 860px) { .pt-hero { grid-template-columns: 1fr; } .pt-trend { gap: 6px; padding: 12px; } }

/* ---------- what I run ---------- */
.stack-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1100px) { .stack-layout { grid-template-columns: 1fr; } }
.stack-list { display: grid; margin: 0; padding: 0; list-style: none; }
.stack-item { --s: var(--ok); display: grid; gap: 7px; padding: 13px 16px; border-top: 1px solid var(--line-2); border-left: 3px solid var(--s); }
.stack-list .stack-item:first-child { border-top: 0; }
.stack-item.s-exposed, .stack-item.s-unsupported { --s: var(--crit); }
.stack-item.s-behind { --s: var(--warn); }
.stack-item.s-unknown { --s: var(--faint); }
.stack-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.stack-status { padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--s) 16%, transparent); color: var(--s); font-size: 11.5px; font-weight: 700; }
.stack-name { color: var(--ink); font-size: 14px; }
.stack-remove { margin: 0 0 0 auto; }
.stack-versions { display: flex; flex-wrap: wrap; gap: 4px 8px; color: var(--ink-2); font-size: 12.5px; }
.stack-versions code, .stack-help code { padding: 0 5px; border: 1px solid var(--line); border-radius: 5px; background: var(--raised); font: 12px var(--mono); }
.stack-missing { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 7px; }
.stack-missing .sub { font-size: 12px; }
.sub.is-alert { color: var(--crit); font-weight: 600; }
.stack-note { margin: 0; color: var(--muted); font-size: 12px; }
.stack-help { padding: 0 16px 16px; }
.stack-help p { margin: 12px 0 0; }
.readiness.is-mine { box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 55%, transparent); }
.mine-tag { display: inline-flex; align-items: center; gap: 5px; flex-basis: 100%; color: var(--accent); font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.mine-tag svg { width: 13px; height: 13px; }

/* ---------- announced retirements ---------- */
.retirements { display: grid; margin: 0; padding: 0; list-style: none; }
.retirements li { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 11px 16px; border-top: 1px solid var(--line-2); }
.ret-when { display: grid; justify-items: center; padding: 5px 0; border: 1px solid var(--line); border-radius: 8px; background: var(--raised); color: var(--muted); font-size: 11px; line-height: 1.2; text-align: center; }
.ret-when b { color: var(--ink); font: 700 13px var(--display); }
.ret-when.is-soon { border-color: color-mix(in srgb, var(--warn) 50%, var(--line)); }
.ret-when.is-soon b { color: var(--warn); }
.ret-body { display: grid; gap: 4px; min-width: 0; }
.ret-title { color: var(--ink); font-size: 13.5px; font-weight: 500; line-height: 1.4; overflow-wrap: anywhere; }
.ret-title:hover { color: var(--accent); }
.ret-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }

/* ---------- feeds page ---------- */
.feed-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.feed-card { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px; }
.feed-card header { display: flex; gap: 14px; align-items: flex-start; }
.feed-card h2 { margin: 0; font: 650 16px/1.25 var(--display); }
.feed-card header p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.feed-card .feed-note { margin-top: 8px; color: var(--faint); font-size: 12px; }
.feed-url { display: flex; gap: 8px; margin-top: auto; }
.feed-url input { flex: 1; min-width: 0; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--raised); color: var(--ink-2); font: 12px var(--mono); }

/* ---------- team notices ---------- */
.notices { display: grid; margin: 0; padding: 0; list-style: none; }
.notice-item { --tone: var(--accent); display: grid; gap: 6px; padding: 12px 16px; border-top: 1px solid var(--line-2); border-left: 3px solid var(--tone); }
.notices .notice-item:first-child { border-top: 0; }
.notice-item.lvl-urgent { --tone: var(--crit); }
.notice-item.lvl-notice { --tone: var(--warn); }
.notice-item.is-past { opacity: .6; border-left-color: var(--line); }
.notice-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.notice-top .lvl { padding: 1px 7px; border-radius: 5px; background: color-mix(in srgb, var(--tone) var(--soft), transparent); color: var(--tone); font: 700 11px var(--mono); text-transform: uppercase; }
.notice-top .pin { padding: 1px 7px; border: 1px solid var(--line); border-radius: 5px; color: var(--muted); font-size: 11px; font-weight: 600; }
.notice-meta { color: var(--faint); font-size: 11.5px; }
.notice-title { margin: 0; color: var(--ink); font: 650 14.5px/1.35 var(--display); }
.notice-body { margin: 0; max-width: 90ch; color: var(--ink-2); font-size: 13px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.notice-actions { margin: 2px 0 0; }
.team-notices .notices { margin-top: 0; }
.notice-form { display: grid; gap: 8px; padding: 16px; }
.notice-form label { color: var(--muted); font-size: 12px; font-weight: 600; }
.notice-form input:not([type="checkbox"]), .notice-form textarea, .notice-form select { width: 100%; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--raised); color: var(--ink); font: inherit; font-size: 13px; }
.notice-form textarea { resize: vertical; min-height: 110px; }
.notice-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.notice-form-row > div { display: grid; gap: 6px; }
.notice-form .check { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: 13px; }
.notice-form .btn { justify-self: start; margin-top: 4px; }

/* ---------- stories and mentions ---------- */
.story { border-bottom: 1px solid var(--line-2); }
.story > .row { border-bottom: 0; }
.story-related { display: grid; gap: 2px; margin: -4px 16px 10px 56px; padding: 6px 0 2px 12px; border-left: 2px solid var(--line); }
.story-label { color: var(--faint); font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.story-link { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 8px; align-items: baseline; padding: 3px 0; color: var(--ink-2); font-size: 12.5px; }
.story-link .kdot { width: 7px; height: 7px; border-radius: 50%; background: var(--c); transform: translateY(-1px); }
.story-link .t { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.story-link .src { color: var(--faint); font-size: 11.5px; white-space: nowrap; }
.story-link:hover .t { color: var(--accent); }
.stream.is-compact .story-related { margin-left: 50px; }
.mention { padding: 0 6px; border: 1px solid var(--line); border-radius: 5px; color: var(--ink-2); font: 500 11px var(--mono); }
.mention:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 640px) { .story-related { margin-left: 16px; } .story-link { grid-template-columns: 8px minmax(0, 1fr); } .story-link .src { grid-column: 2; } }

/* ---------- exports, feed, and visit marker ---------- */
.head-tools { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px 14px; }
.export-links { display: inline-flex; align-items: center; gap: 8px; color: var(--faint); font-size: 12px; font-weight: 600; }
.export-links svg { width: 13px; height: 13px; }
.export-links a { color: var(--accent); }
.export-links a:hover { text-decoration: underline; }
.feed-link { display: inline-flex; align-items: center; gap: 5px; margin-left: auto; margin-right: 10px; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11.5px; font-weight: 600; }
.feed-link svg { width: 13px; height: 13px; color: var(--sn); }
.feed-link:hover { border-color: var(--accent); color: var(--accent); }
.visit-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; padding: 8px 16px; border-bottom: 1px solid var(--line-2); color: var(--muted); font-size: 12.5px; }
.visit-bar svg { width: 14px; height: 14px; color: var(--faint); }
.visit-bar .sub { color: var(--faint); font-size: 11.5px; }
.visit-bar.is-on { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); color: var(--ink-2); }
.visit-bar.is-on svg { color: var(--accent); }
.visit-bar.is-on b { color: var(--ink); }
.visit-bar form { display: inline; margin: 0 0 0 auto; }
.link-btn { padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 600; cursor: pointer; }
.link-btn:hover { text-decoration: underline; }
.seen-divider { display: flex; align-items: center; gap: 10px; padding: 8px 16px; color: var(--accent); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.seen-divider::before, .seen-divider::after { content: ""; flex: 1; height: 1px; background: color-mix(in srgb, var(--accent) 45%, transparent); }

/* ---------- folded bursts in the change stream ---------- */
.burst > summary { cursor: pointer; list-style: none; }
.burst > summary::-webkit-details-marker { display: none; }
.burst > summary .row-title { color: var(--ink); }
.burst > summary:hover .row-title { color: var(--accent); }
.burst-peek { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); }
.burst-toggle { align-self: center; padding: 3px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.burst > summary:hover .burst-toggle { border-color: var(--accent); color: var(--accent); }
.burst .when-open, .burst[open] .when-closed { display: none; }
.burst[open] .when-open { display: inline; }
.burst[open] > summary { background: var(--raised); }
.burst-items { border-left: 2px solid color-mix(in srgb, var(--c) 45%, transparent); margin-left: 29px; }
.burst-items .row { padding-left: 14px; }
.stream.is-compact .burst-items { margin-left: 26px; }

/* ---------- versions ---------- */
.stat b.ver { font-size: clamp(17px, 1.6vw, 22px); letter-spacing: -.01em; overflow-wrap: anywhere; }
.stat b.ver.is-long { font-size: clamp(14px, 1.15vw, 17px); padding-top: 5px; }
.version-panel { scroll-margin-top: calc(var(--topbar) + 16px); }
.version-tbl .ver-now { color: var(--ink); font: 650 13px var(--mono); }
.version-tbl .is-recent { color: var(--ok); font-weight: 600; }
.version-tbl th.name .src { margin-left: 4px; color: var(--faint); vertical-align: -2px; }
.version-tbl th.name .src:hover { color: var(--accent); }
.version-tbl th.name .src svg { width: 13px; height: 13px; }
.version-tbl .deadline-soon { color: var(--crit); font-weight: 600; }
.history summary { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; color: var(--ink-2); font-size: 12.5px; cursor: pointer; list-style: none; }
.history summary::-webkit-details-marker { display: none; }
.history summary::after { content: "▾"; color: var(--faint); font-size: 10px; }
.history[open] summary::after { content: "▴"; }
.history summary:hover { color: var(--accent); }
.history ol { display: grid; gap: 5px; margin: 8px 0 2px; padding: 0; list-style: none; }
.history li { display: grid; gap: 1px; font-size: 12px; }
.history li .sub { margin: 0; color: var(--muted); white-space: normal; }
.cve-links { display: flex; flex-wrap: wrap; gap: 4px 10px; max-width: 520px; margin-top: 8px; white-space: normal; }

/* ---------- install & host ---------- */
.install-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.install-card { display: grid; align-content: start; gap: 14px; padding: 20px 22px; }
.install-card header { display: flex; gap: 14px; align-items: flex-start; }
.install-card h2 { margin: 0; font: 650 18px/1.2 var(--display); letter-spacing: -.01em; }
.install-card header p { margin: 5px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.install-icon { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: color-mix(in srgb, var(--accent) var(--soft), transparent); color: var(--accent); }
.steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 24px minmax(0, 1fr); column-gap: 10px; row-gap: 8px; color: var(--ink-2); font-size: 13px; line-height: 1.5; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--raised); border: 1px solid var(--line); color: var(--muted); font: 600 11px var(--mono); }
.steps li > .code { grid-column: 2; }
pre.code { margin: 0; padding: 10px 12px; overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; background: var(--raised); color: var(--ink); font: 12px/1.55 var(--mono); white-space: pre; }
pre.code code { font: inherit; }
:is(.install-card, .layer-card, .level-steps) code:not(pre code) { padding: 0 5px; border: 1px solid var(--line); border-radius: 5px; background: var(--raised); font: 12px var(--mono); overflow-wrap: anywhere; }
.host-list { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 6px 12px !important; }
.host-list li { display: block !important; }
.level-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.level-steps article { display: grid; align-content: start; gap: 10px; padding: 18px 20px; border-right: 1px solid var(--line-2); }
.level-steps article:last-child { border-right: 0; }
.level-steps h3 { margin: 0; font: 650 15px/1.3 var(--display); }
.level-steps p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.level-tag { justify-self: start; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--accent) var(--soft), transparent); color: var(--accent); font: 700 11px var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.install-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 22px; background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.install-help h2 { margin: 0; font: 650 17px/1.25 var(--display); }
.install-help p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
@media (max-width: 860px) { .level-steps article { border-right: 0; border-bottom: 1px solid var(--line-2); } .level-steps article:last-child { border-bottom: 0; } }

/* ---------- level 2 / level 3 ---------- */
.preview-banner { display: grid; gap: 10px; padding: 14px 16px; border: 1px dashed color-mix(in srgb, var(--warn) 60%, var(--line)); border-radius: 10px; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--warn) 6%, var(--surface)) 0 12px, var(--surface) 12px 24px); color: var(--ink-2); font-size: 13px; }
.preview-banner p { margin: 0; max-width: 100ch; }
.preview-tag { width: fit-content; padding: 3px 10px; border-radius: 999px; background: var(--warn); color: var(--accent-ink); font: 700 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
:root[data-theme="dark"] .preview-tag { color: #1a1204; }
.preview-frame { position: relative; display: grid; gap: 16px; padding: 14px; border: 2px dashed color-mix(in srgb, var(--warn) 45%, var(--line)); border-radius: 14px; }
.preview-frame::before { content: "SAMPLE DATA"; position: absolute; top: -11px; right: 18px; padding: 1px 8px; border-radius: 6px; background: var(--bg); color: var(--warn); font: 700 11px var(--mono); letter-spacing: .08em; }
.stat b .of { margin-left: 2px; color: var(--faint); font: 500 14px var(--sans); }
.st-muted { color: var(--muted); }
.deadline { color: var(--ink-2); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.deadline.is-soon { color: var(--crit); }
.health-grid { list-style: none; margin: 8px 0 0; padding: 0; }
.health-grid li { display: grid; grid-template-columns: 12px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 16px; border-top: 1px solid var(--line-2); font-size: 13px; }
.health-grid .name { color: var(--ink); font-weight: 500; }
.health-grid .state { color: var(--muted); font-size: 12px; }
.build-bars { list-style: none; margin: 8px 0 12px; padding: 0 16px; display: grid; gap: 10px; }
.build-bars li { display: grid; grid-template-columns: minmax(0, 110px) minmax(0, 1fr) 40px; gap: 10px; align-items: center; font-size: 12.5px; }
.build-bars .name { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.build-bars .split { display: flex; height: 10px; overflow: hidden; border-radius: 4px; background: var(--raised); }
.build-bars .split i { background: var(--ok); }
.build-bars .split b { background: var(--warn); }
.build-bars .n { text-align: right; color: var(--muted); font: 500 12px var(--mono); }

/* ---------- cached Microsoft text (internal hosts only) ---------- */
.article-text { display: grid; gap: 8px; }
.article-source { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 4px; padding: 9px 12px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); font-size: 12px; }
.article-source svg { color: var(--faint); }
.article-source span { flex: 1; min-width: 220px; }
.article-section { border-top: 1px solid var(--line-2); padding: 8px 0; }
.article-section summary { cursor: pointer; color: var(--ink); font-size: 14px; font-weight: 600; }
.article-section p, .article-section li { max-width: 95ch; color: var(--ink-2); font-size: 13.5px; line-height: 1.6; }
.article-section p { margin: 8px 0; }
.article-section ul { margin: 6px 0; padding-left: 20px; }
.article-section h4 { margin: 14px 0 4px; color: var(--ink); font-size: 13.5px; }
.article-section pre { overflow-x: auto; margin: 8px 0; padding: 10px 12px; border-radius: 8px; background: var(--raised); border: 1px solid var(--line-2); color: var(--ink); font: 12.5px/1.5 var(--mono); white-space: pre-wrap; overflow-wrap: anywhere; }
.article-section .table-row { font: 12px var(--mono); color: var(--muted); }
.article-text.is-compact .article-section { border-top: 0; padding: 0; }
.article-text.is-compact .article-source { font-size: 11.5px; }
.issue-details summary { cursor: pointer; color: var(--accent); font-size: 12px; font-weight: 600; }
.issue-details[open] summary { margin-bottom: 8px; }

/* ---------- reader marks ---------- */
.mark { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 0; }
.mark-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; height: 26px; padding: 0 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--muted); font-size: 12px; font-weight: 600; white-space: nowrap; }
.mark-btn svg { width: 13px; height: 13px; }
.mark-btn.is-done:hover { border-color: color-mix(in srgb, var(--ok) 55%, var(--line)); color: var(--ok); }
.mark-btn.is-skip:hover { border-color: var(--faint); color: var(--ink); }
.mark-btn.is-undo { height: 22px; padding: 0 5px; border-color: transparent; background: none; color: var(--accent); }
.mark-btn.is-undo:hover { text-decoration: underline; }
.mark-state { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.mark-state svg { width: 12px; height: 12px; }
.mark.is-marked-done .mark-state { background: color-mix(in srgb, var(--ok) var(--soft), transparent); color: var(--ok); }
.mark.is-marked-skip .mark-state { border: 1px solid var(--line); background: var(--raised); color: var(--muted); }
.mark.is-compact .mark-btn { width: 26px; height: 24px; padding: 0; }
.mark.is-compact .mark-btn span { display: none; }
.mark.is-compact .mark-btn.is-undo { width: 22px; }
.mark.is-compact .mark-state { height: 20px; padding: 0 7px; font-size: 11px; }
/* Marked items step back; not-relevant ones fade until hovered. */
:is(.row, .priority-row, .issue-list li, .milestones li, .retirements li, .readiness, .tbl tbody tr):has(.mark.is-marked-done) :is(.row-title, .title, a.t, .what, .ret-title, .readiness-for) { color: var(--muted); }
:is(.row, .priority-row, .issue-list li, .milestones li, .retirements li, .readiness, .tbl tbody tr):has(.mark.is-marked-skip) { opacity: .55; transition: opacity .12s; }
:is(.row, .priority-row, .issue-list li, .milestones li, .retirements li, .readiness, .tbl tbody tr):has(.mark.is-marked-skip):is(:hover, :focus-within) { opacity: 1; }
.readiness:has(.mark.is-marked-done) { border-top-color: var(--ok); background: color-mix(in srgb, var(--ok) 4%, var(--surface)); }
.readiness-foot { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line-2); }
.issue-list .top .mark { margin-left: auto; }
.issue-list .top .upd { color: var(--faint); }
.status-cell { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
/* In dense lists the buttons appear with the row on pointer devices; a mark, once set, always shows. */
@media (hover: hover) {
  :is(.row, .priority-row, .issue-list li, .milestones li, .retirements li, .tbl tbody tr) .mark:not(.is-marked-done, .is-marked-skip) { opacity: 0; transition: opacity .12s; }
  :is(.row, .priority-row, .issue-list li, .milestones li, .retirements li, .tbl tbody tr):is(:hover, :focus-within) .mark { opacity: 1; }
}
.marks-bar .link-btn { margin-left: auto; }
.section-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 18px; margin: 4px 0 10px; }
.section-bar .section-title { margin: 0; }
.checklist { display: grid; gap: 6px; width: min(100%, 440px); color: var(--muted); font-size: 12px; }
.checklist b { color: var(--ink); }
.checklist-bar { display: flex; height: 6px; overflow: hidden; border-radius: 999px; background: var(--raised); box-shadow: inset 0 0 0 1px var(--line-2); }
.checklist-bar i { display: block; height: 100%; }
.checklist-bar .is-done { background: var(--ok); }
.checklist-bar .is-skip { background: var(--faint); }
.mark-scopes { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; padding: 14px 16px; }
.mark-scope { display: grid; gap: 3px; align-content: start; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--raised); }
.mark-scope b { font: 650 22px/1 var(--display); font-variant-numeric: tabular-nums; }
.mark-scope > span:not(.sub) { color: var(--ink-2); font-size: 13px; font-weight: 600; }
.mark-scope form { margin: 4px 0 0; }
.marks-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.marks-foot form { margin: 0; }
.marks-empty { max-width: 95ch; padding-top: 14px; line-height: 1.55; }
.check-row { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- layout fixes ---------- */
@media (min-width: 1200px) {
  /* Five feeds: three across, then two wider cards, instead of a row with a gap. */
  .feed-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .feed-grid > * { grid-column: span 2; }
  .feed-grid > :nth-child(4):nth-last-child(2), .feed-grid > :nth-child(5):nth-last-child(1) { grid-column: span 3; }
}
/* In narrow cards the address gets its own line, so more of it stays readable. */
.feed-card { container-type: inline-size; }
@container (max-width: 460px) { .feed-url { flex-wrap: wrap; } .feed-url input { flex-basis: 100%; } }
.facts dd .vector { overflow-wrap: normal; }
.version-tbl { table-layout: fixed; min-width: 880px; }
.version-tbl td { white-space: normal; }
.version-tbl .c-name { width: 24%; } .version-tbl .c-ver { width: 16%; } .version-tbl .c-date { width: 11%; }
.version-tbl .c-release { width: 22%; } .version-tbl .c-support { width: 16%; } .version-tbl .c-more { width: 11%; }
.tbl.is-fluid td, .tbl.is-fluid td.stack .sub { white-space: normal; }
/* Inline code chips keep a little air from the words and punctuation around them. */
:is(.install-card, .layer-card, .level-steps, .stack-help, .stack-versions) code:not(pre code) { margin-inline: 2px; }
.params { display: grid; gap: 0; margin: 14px 0 12px; border: 1px solid var(--line-2); border-radius: 9px; overflow: hidden; }
.params > div { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 9px 12px; border-top: 1px solid var(--line-2); }
.params > div:first-child { border-top: 0; }
.params dt { margin: 0; }
.params dt code { margin-inline: 0 !important; color: var(--accent); font-weight: 600; }
.params dd { margin: 0; color: var(--ink-2); font-size: 13px; line-height: 1.7; }
.param-values { display: inline-flex; flex-wrap: wrap; gap: 5px 6px; vertical-align: baseline; }
.param-values code { margin-inline: 0 !important; }
/* Readiness cards: the title, KB, reasons, and a Details link lead to the KB page. */
.readiness .readiness-kb { height: 22px; padding: 0 7px; font-size: 12px !important; }
a.readiness-for { color: var(--ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .12s; }
a.readiness-for:hover { color: var(--accent); text-decoration-color: currentColor; }
.readiness-reasons a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--faint) 60%, transparent); text-decoration-style: dotted; text-underline-offset: 3px; }
.readiness-reasons a:hover { color: var(--accent); text-decoration-color: currentColor; text-decoration-style: solid; }
.readiness-reasons li.more { padding-left: 16px; }
.readiness-reasons li.more::before { display: none; }
.readiness-reasons li.more a { color: var(--accent); font-weight: 600; text-decoration: none; }
.readiness-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.readiness-more { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: var(--accent); font-size: 12.5px; font-weight: 600; }
.readiness-more svg { width: 13px; height: 13px; transition: transform .12s; }
.readiness-more:hover svg { transform: translateX(2px); }
.readiness-changed { display: grid; gap: 4px; padding: 9px 11px; border: 1px solid color-mix(in srgb, var(--warn) 45%, var(--line)); border-radius: 8px; background: color-mix(in srgb, var(--warn) 8%, var(--surface)); color: var(--ink-2); font-size: 12px; }
.readiness-changed b { display: flex; align-items: center; gap: 6px; color: var(--warn); }
.readiness-changed b svg { width: 13px; height: 13px; }
.readiness-changed ul { margin: 0; padding-left: 19px; }
.readiness:has(.readiness-changed) { border-top-color: var(--warn); }
.checklist-changed { color: var(--warn); font-weight: 600; }
.cycle-progress { padding: 1px 8px; border-radius: 999px; background: var(--raised); color: var(--ink-2); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.cycle-progress.is-complete { background: color-mix(in srgb, var(--ok) var(--soft), transparent); color: var(--ok); }

/* Long pill labels wrap on narrow screens instead of widening the page. */
.pill { max-width: 100%; height: auto; min-height: 24px; padding-block: 2px; white-space: normal; line-height: 1.35; }

/* ---------- mobile tab bar ---------- */
.tabbar { display: none; }

@media (max-width: 1280px) {
  .work { grid-template-columns: minmax(0, 1fr) 360px; }
  .lead { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .lead > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 1060px) {
  .work { grid-template-columns: minmax(0, 1fr); }
  .side { position: static; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
  .two { grid-template-columns: minmax(0, 1fr); }
  .filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; }
  .filters input { grid-column: 1 / -1; }
  .filters.security-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .app { grid-template-columns: minmax(0, 1fr); }
  .rail { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav-panel .nav-group { gap: 0; }
  .topbar { padding: 0 16px; gap: 8px; }
  .fresh .long, .mode .long, .search kbd { display: none; }
  .search input { padding-right: 10px; }
  .content { padding: 16px 16px calc(80px + env(safe-area-inset-bottom, 0px)); }
  .tabbar { position: fixed; z-index: 25; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px)); background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--line); }
  .tabbar a { display: grid; justify-items: center; gap: 3px; padding: 6px 0; color: var(--muted); font-size: 10.5px; font-weight: 600; }
  .tabbar a.active { color: var(--accent); }
  .tabbar svg { width: 19px; height: 19px; }
  .doc { padding: 22px 18px 26px; }
  .decision-form { padding-left: 16px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .lead { grid-template-columns: minmax(0, 1fr); }
  .mode { display: none; }
  .fresh .fresh-time { display: none; }
  .page-head h1 { font-size: 22px; }
  .big { font-size: 30px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .filters .btn { grid-column: 1 / -1; }
  .row { grid-template-columns: 28px minmax(0, 1fr); }
  .row-end { grid-column: 2; grid-auto-flow: column; justify-content: start; align-items: center; margin-top: -4px; }
  .row-date { padding-top: 0; }
  .stream.is-compact .row { grid-template-columns: 22px minmax(0, 1fr); }
  .stream.is-compact .row-end, .stream.is-compact .row-meta { display: none; }
  .cstat span { display: grid; justify-items: start; }
  .chart { grid-template-columns: 20px minmax(0, 1fr); gap: 6px; }
  .chart-plot, .chart-x { gap: 2px; }
  .timeline li { grid-template-columns: 84px 14px minmax(0, 1fr); }
  .timeline .ok { display: none; }
  .filters.security-filters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .filters.security-filters input[type="search"] { grid-column: 1 / -1; }
  .priority-row { grid-template-columns: minmax(0, 1fr); }
  .priority-row .side-meta { justify-items: start; text-align: left; }
  .msrc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .milestones li { grid-template-columns: 74px minmax(0, 1fr); }
  .milestones .kind, .milestones .mark { grid-column: 2; }
  .retirements li { grid-template-columns: 64px minmax(0, 1fr); }
  .retirements .mark { grid-column: 2; }
  .decision-form { grid-template-columns: minmax(0, 1fr); }
  .decision-actions { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media print {
  .rail, .topbar, .tabbar, .skip-link, .no-print { display: none !important; }
  .app { display: block; }
  body, html { background: #fff; }
  .content { padding: 0; }
  .panel, .doc { border: 0; box-shadow: none; }
  .day-head { position: static; }
}
