/* 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: #666e7c;
  --line: #e1e5eb;
  --line-2: #edf0f3;
  --accent: #2c5ff0;
  --accent-ink: #ffffff;
  --rm: #7657e6;
  --wn: #0a8f81;
  --kb: #1668b8;
  --sn: #b87308;
  --ms: #d23445;
  --ot: #5f6a7c;
  --pn: #c0417b;
  --az: #0a82a3;
  --cm: #5d7a12;
  --ok: #0e7d4d;
  --warn: #9c5f05;
  --crit: #c22b3c;
  --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-scheme]) {
    color-scheme: dark;
    --bg: #0a0d12; --surface: #11151c; --raised: #161b24; --ink: #e8ecf3; --ink-2: #c3cad6;
    --muted: #939cad; --faint: #7b8595; --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-scheme="dark"] {
  color-scheme: dark;
  --bg: #0a0d12; --surface: #11151c; --raised: #161b24; --ink: #e8ecf3; --ink-2: #c3cad6;
  --muted: #939cad; --faint: #7b8595; --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;
}

/* ---------- themes ----------
   A theme is a light or dark base (data-scheme) plus its own surfaces, text, and lines (data-theme); kind and status
   colours come from the base, so red still means critical everywhere. An accent (data-accent) overrides the theme's
   and uses light-dark(), so one choice suits every theme. app.js sets all three from the reader's saved choice. */
:root[data-theme="paper"] {
  --bg: #f3eee5; --surface: #fffdf8; --raised: #f8f3ea; --ink: #2a2118; --ink-2: #463b2f;
  --muted: #65584a; --faint: #6c5f51; --line: #e4dacb; --line-2: #eee6d9; --accent: #9a4f1c; --accent-ink: #ffffff;
  --scroll-thumb: #d2c6b3; --scroll-thumb-hover: #b9ab96;
}
:root[data-theme="solarized-light"] {
  --bg: #eee8d5; --surface: #fdf6e3; --raised: #f5efdb; --ink: #073642; --ink-2: #264b55;
  --muted: #4d6269; --faint: #53686e; --line: #e0d9c3; --line-2: #ebe4cf; --accent: #1d6aa8; --accent-ink: #fdf6e3;
  --ok: #0b6f44;
  --scroll-thumb: #d6cfb8; --scroll-thumb-hover: #bdb59c;
}
:root[data-theme="contrast"] {
  --bg: #ffffff; --surface: #ffffff; --raised: #f0f0f0; --ink: #000000; --ink-2: #111111;
  --muted: #2e2e2e; --faint: #3a3a3a; --line: #767676; --line-2: #a6a6a6; --accent: #0033b3; --accent-ink: #ffffff;
  --ok: #075c35; --warn: #7a4900; --crit: #a3162a; --soft: 14%;
  --shadow: none; --scroll-thumb: #767676; --scroll-thumb-hover: #4a4a4a;
}
:root[data-theme="dim"] {
  --bg: #1c2027; --surface: #22272e; --raised: #2a3039; --ink: #e3e8ef; --ink-2: #c4ccd7;
  --muted: #a2acb9; --faint: #96a0ae; --line: #363d48; --line-2: #2e343e;
  --accent: #86a7ff; --crit: #ff8792; --ms: #ff8792; --soft: 10%;
  --scroll-thumb: #3a414d; --scroll-thumb-hover: #4a525f;
}
:root[data-theme="midnight"] {
  --bg: #000000; --surface: #0a0a0c; --raised: #121216; --ink: #f2f2f5; --ink-2: #cfcfd6;
  --muted: #9d9da8; --faint: #8e8e99; --line: #202027; --line-2: #17171c;
  --shadow: none; --scroll-thumb: #26262d; --scroll-thumb-hover: #33333c;
}
:root[data-accent="blue"] { --accent: light-dark(#2c5ff0, #86a7ff); --accent-ink: light-dark(#ffffff, #0a0d12); }
:root[data-accent="teal"] { --accent: light-dark(#0b766c, #3bcbb5); --accent-ink: light-dark(#ffffff, #04201c); }
:root[data-accent="violet"] { --accent: light-dark(#6a45d6, #b09bff); --accent-ink: light-dark(#ffffff, #140d2a); }
:root[data-accent="amber"] { --accent: light-dark(#955800, #eeb446); --accent-ink: light-dark(#ffffff, #1a1204); }
:root[data-accent="rose"] { --accent: light-dark(#bd2a5a, #f58fc2); --accent-ink: light-dark(#ffffff, #2a0716); }

* { 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; }
/* The skip link moves focus to the content; the region itself needs no ring. */
main[tabindex="-1"]:focus { outline: none; }
.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: 16px; 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.active .count { color: var(--muted); }
.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); }
.topbar .search-link { display: none; }
.also-in { color: var(--muted); font-size: 12px; }
.status-since { display: block; margin-top: 2px; font-size: 11.5px; }
.fold-more { margin: 0; padding: 10px 16px 12px; color: var(--muted); font-size: 12px; }
.observing-note { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--muted); font-size: 12.5px; line-height: 1.45; }
.observing-note svg { flex: none; width: 14px; height: 14px; margin-top: 2px; color: var(--faint); }
.observing-note b { color: var(--ink-2); font-weight: 600; }
.panel > .observing-note { padding: 10px 16px 0; }
.also-in a { color: var(--ink-2); }
.also-in a:hover { color: var(--accent); }
.also-in svg { width: 11px; height: 11px; margin-left: 3px; vertical-align: -1px; color: var(--faint); }
.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; }
.page-head p.site-intro { max-width: 96ch; color: var(--ink-2); }
.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-current="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 14px; align-items: center; }
.legend a { min-height: 24px; }
.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; overflow-wrap: anywhere; }
.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; }
.not-found-search { margin: 18px 0 16px; padding: 0; }
.not-found-links { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- 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-exploit-code { color: var(--crit); background: color-mix(in srgb, var(--crit) var(--soft), transparent); border: 1px dashed color-mix(in srgb, var(--crit) 45%, transparent); }
.cve-flag.is-revised { color: var(--muted); background: var(--raised); border: 1px solid var(--line); }
:root[data-scheme="dark"] .cve-flag.is-exploited { color: #1a0a0c; }
@media (prefers-color-scheme: dark) { :root:not([data-scheme]) .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; }
/* Lines come from each cell, not from a background showing through the gaps, so a short last row leaves no grey block. */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; margin: 0; border-top: 1px solid var(--line-2); }
.facts div { padding: 12px 16px; background: var(--surface); box-shadow: 1px 0 0 var(--line-2), 0 1px 0 var(--line-2); }
.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 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; }
.view-hidden b { color: var(--ink); }
.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; }
.pref-fine { display: grid; gap: 14px; }
.pref-fine > summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; padding: 12px 16px;
    border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--shadow); color: var(--muted); font-size: 13px; cursor: pointer; }
.pref-fine > summary b { color: var(--ink); font-weight: 600; margin-right: 6px; }
.pref-fine > summary .n { font-family: var(--mono); font-size: 12px; }
.pref-fine[open] > summary { color: var(--ink); }
.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); }
.policy { display: grid; gap: 14px; max-width: 920px; }
.policy > .panel { padding: 16px 20px; }
.policy h2 { margin: 0 0 8px; font-size: 15px; }
.policy p, .policy li { margin: 0 0 8px; color: var(--ink-2); line-height: 1.6; }
.policy ul { margin: 0; padding-left: 20px; }
.policy .address { color: var(--ink); }
.policy .tbl-wrap { margin: 4px 0 12px; }
.policy .tbl td { white-space: normal; vertical-align: top; }
.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; display: inline-flex; align-items: center; justify-content: center; min-width: 24px; min-height: 24px; }
.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-scheme="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) .mark-btn { opacity: 0; transition: opacity .12s; }
  :is(.row, .priority-row, .issue-list li, .milestones li, .retirements li, .tbl tbody tr):is(:hover, :focus-within) .mark .mark-btn { 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) {
  .topbar .search { display: none; }
  .topbar .search-link { display: grid; }
  .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; }
}

/* Overview: period switch, area timeline, threads, what you run, key dates by day, and the end of the page. */
.overview-head { align-items: flex-end; }
.page-head p.period-note { color: var(--ink-2); font-size: 13px; }
.period-switch form { display: contents; }
.period-switch button { display: inline-flex; align-items: center; height: 28px; padding: 0 11px; border: 0; border-radius: 6px; background: none; color: var(--muted); font-size: 12.5px; font-weight: 500; cursor: pointer; }
.period-switch button:hover { color: var(--ink); }

.area-timeline .panel-head { flex-wrap: wrap; justify-content: flex-start; gap: 6px 14px; }
.tl-sub { color: var(--muted); font-size: 12px; }
.tl-legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 0 0 0 auto; padding: 0; list-style: none; color: var(--muted); font-size: 11.5px; }
.tl-legend li { display: inline-flex; align-items: center; gap: 6px; }
.tl-glyph { --c: var(--muted); --d: 10px; position: relative; display: inline-block; width: 14px; height: 14px; flex: none; }
.tl-glyph::before, .tl-mark::before { content: ""; position: absolute; left: 50%; top: 50%; box-sizing: border-box; transform: translate(-50%, -50%); background: var(--c); }
.s-release::before { width: var(--d); height: var(--d); border-radius: 50%; }
.s-issue::before { width: calc(var(--d) * .78); height: calc(var(--d) * .78); border-radius: 2px; transform: translate(-50%, -50%) rotate(45deg); }
.s-urgent::before { width: calc(var(--d) * 1.15); height: var(--d); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.s-revised::before { width: var(--d); height: var(--d); border: 2px solid var(--c); border-radius: 50%; background: transparent; }
.s-deadline::before { width: 3px; height: calc(var(--d) * 1.8); border-radius: 2px; }
.tl-mark.t-routine { --d: 7px; }
.tl-mark.t-routine::before { opacity: .5; }
.tl-mark.t-notable { --d: 11px; }
.tl-mark.t-critical { --d: 15px; }
.tl-mark.t-critical:not(.s-urgent)::before { box-shadow: 0 0 0 3px var(--surface); }
.tl-mark.is-marked::before { opacity: .25; }
.tl-mark.is-ahead.s-release::before { border: 2px dashed var(--c); background: transparent; }

.tl-row { display: grid; grid-template-columns: 200px minmax(0, 1fr) 150px; }
.tl-rows { position: relative; }
.tl-lane { min-height: 56px; border-top: 1px solid var(--line-2); }
/* A row the reader's view emptied: one short line that says so, with its track hatched instead of looking quiet. */
.tl-lane.is-folded { min-height: 38px; }
.tl-lane.is-folded .tl-label b { color: var(--ink-2); font-weight: 500; }
.tl-lane.is-folded .tl-label small { display: none; }
.tl-lane.is-folded .tl-track { background: repeating-linear-gradient(135deg, transparent 0 7px, color-mix(in srgb, var(--line) 55%, transparent) 7px 8px); }
.tl-count .tl-hidden { color: var(--accent); font-weight: 500; }
.tl-count .tl-hidden:hover { text-decoration: underline; }
.tl-label { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 8px 12px 8px 16px; color: var(--ink); }
.tl-label .kdot { width: 10px; height: 10px; border-radius: 3px; }
.tl-label > span:last-child { min-width: 0; }
.tl-label b { display: block; font-size: 13px; font-weight: 600; }
.tl-label small { display: block; overflow: hidden; color: var(--muted); font-size: 11px; white-space: nowrap; text-overflow: ellipsis; }
a.tl-label:hover b { color: var(--accent); }
.tl-track { position: relative; min-width: 0; }
.tl-marks { margin: 0; padding: 0; list-style: none; }
.tl-mark { position: absolute; top: 62%; width: 24px; height: 24px; border-radius: 6px; transform: translate(-50%, -50%); }
.tl-mark:hover, .tl-mark:focus-visible { z-index: 3; background: color-mix(in srgb, var(--c) 16%, transparent); }
.tl-note { position: absolute; top: 5px; z-index: 1; max-width: 20%; overflow: hidden; padding: 0 5px; border-radius: 4px; background: var(--surface); color: var(--ink-2); font-size: 11px; line-height: 16px; white-space: nowrap; text-overflow: ellipsis; transform: translateX(-6px); pointer-events: none; }
.tl-note.is-flipped { transform: translateX(calc(-100% + 6px)); }
.tl-count { display: flex; flex-direction: column; justify-content: center; gap: 1px; min-width: 0; padding: 6px 14px; border-left: 1px solid var(--line-2); color: var(--ink-2); font-size: 12px; }
.tl-count b { color: var(--ink); font-weight: 600; }
.tl-count .is-crit { color: var(--crit); font-weight: 600; }
.tl-count .is-warn { color: var(--warn); font-weight: 600; }
.tl-gap { position: absolute; inset: 6px 0; border-radius: 6px; background: repeating-linear-gradient(135deg, color-mix(in srgb, var(--warn) 12%, transparent) 0 6px, transparent 6px 12px); }
.tl-overlay { position: absolute; top: 0; bottom: 0; left: 200px; right: 150px; pointer-events: none; }
.tl-week { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line-2); }
.tl-band { position: absolute; top: 0; bottom: 0; background: color-mix(in srgb, var(--accent) 8%, transparent); }
.tl-line { position: absolute; top: 0; bottom: 0; border-left: 1px dashed color-mix(in srgb, var(--accent) 60%, transparent); }
.tl-line-historystart { border-left-color: var(--faint); }
.tl-now { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--ink); opacity: .7; }
.tl-axis { height: 30px; }
.tl-axis:last-child { border-top: 1px solid var(--line-2); }
.tl-colhead { padding: 9px 16px 0; color: var(--faint); font: 600 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.tl-colhead.tl-count { display: block; padding: 9px 14px 0; }
.tl-tag { position: absolute; top: 6px; padding: 1px 7px; border-radius: 4px; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); font-size: 11px; font-weight: 600; white-space: nowrap; transform: translateX(-50%); }
.tl-tag-today { background: var(--ink); color: var(--bg); }
.tl-tag-historystart { background: var(--raised); color: var(--muted); }
/* Which side of its line a tag sits on, and a second line for tags that would touch another (AreaTimeline.HeaderTags). */
.tl-tag.is-before { transform: translateX(calc(-100% - 4px)); }
.tl-tag.is-start { transform: none; }
.tl-tag.is-end { transform: translateX(-100%); }
.tl-tag.tag-row-1 { top: 27px; }
.tl-tag.tag-row-2 { top: 48px; }
.tl-axis-top.tag-rows-2 { height: 52px; }
.tl-axis-top.tag-rows-3 { height: 73px; }
.tl-lane-now { display: none; }
.tl-week-label { position: absolute; top: 8px; color: var(--muted); font: 500 11px var(--mono); white-space: nowrap; transform: translateX(-50%); }

.overview-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.panel-more { display: flex; align-items: center; gap: 4px; padding: 10px 16px 12px; border-top: 1px solid var(--line-2); color: var(--accent); font-size: 12px; font-weight: 600; }
.panel-more:hover { text-decoration: underline; }
.panel-more svg { width: 13px; height: 13px; }
.threads-empty, .stack-empty { padding: 14px 16px 16px; }

.threads { margin: 0; padding: 0; list-style: none; }
.thread { display: grid; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line-2); }
.thread:first-child { border-top: 0; }
.thread-title { display: flex; align-items: flex-start; gap: 8px; color: var(--ink); font-size: 13.5px; font-weight: 600; line-height: 1.35; }
.thread-title:hover .t { color: var(--accent); }
.thread-tier { flex: none; margin-top: 1px; padding: 1px 7px; border: 1px solid var(--line); border-radius: 999px; background: var(--raised); color: var(--muted); font-size: 10.5px; font-weight: 700; }
.thread-tier.t-critical { border-color: color-mix(in srgb, var(--crit) 40%, var(--line)); background: color-mix(in srgb, var(--crit) 10%, var(--surface)); color: var(--crit); }
.thread-tier.t-notable { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); color: var(--accent); }
.thread-steps { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.thread-steps li { position: relative; display: inline-flex; align-items: center; gap: 6px; min-height: 24px; padding: 2px 9px; border: 1px solid var(--line); border-radius: 6px; background: var(--raised); color: var(--ink-2); font-size: 12px; }
.thread-steps li + li::before { content: "\2192"; position: absolute; left: -14px; color: var(--faint); }
.thread-steps time { color: var(--muted); font: 500 11px var(--mono); }
.thread-steps li.t-critical { border-color: color-mix(in srgb, var(--crit) 40%, var(--line)); color: var(--crit); }
.thread-steps li.more { border-style: dashed; background: none; color: var(--muted); }
.thread-areas { color: var(--muted); font-size: 11.5px; }

.stack-rows { margin: 0; padding: 0; list-style: none; }
.stack-rows a { display: grid; gap: 1px; padding: 10px 16px; border-top: 1px solid var(--line-2); color: var(--ink); }
.stack-rows li:first-child a { border-top: 0; }
.stack-rows a:hover b { color: var(--accent); }
.stack-rows b { font-size: 13px; font-weight: 600; }
.stack-rows span { color: var(--muted); font-size: 12px; }
.stack-rows .st-exposed span, .stack-rows .st-unsupported span { color: var(--crit); }
.stack-rows .st-behind span { color: var(--warn); }
.stack-rows .st-current span { color: var(--ok); }

.key-days { margin: 0; padding: 0; list-style: none; }
.key-days > li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; align-items: start; padding: 10px 16px; border-top: 1px solid var(--line-2); }
.key-days > li:first-child { border-top: 0; }
.key-days ul { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; list-style: none; }
.key-days > li.is-today .kd-when { border-color: color-mix(in srgb, var(--crit) 45%, var(--line)); }
.key-days > li.is-today .kd-when span { color: var(--crit); }

.page-end { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 18px; border: 1px dashed var(--line); border-radius: 10px; }
.page-end > div { display: grid; flex: 1 1 320px; gap: 2px; min-width: 0; }
.page-end b { color: var(--ink); font-size: 14px; }
.page-end > div span { color: var(--muted); font-size: 12.5px; }
.page-end-icon { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: color-mix(in srgb, var(--ok) var(--soft), transparent); color: var(--ok); }

@media (max-width: 1200px) {
  .overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .overview-grid .threads-panel { grid-column: 1 / -1; }
  .tl-legend { margin-left: 0; }
}
@media (max-width: 760px) {
  .overview-grid { grid-template-columns: minmax(0, 1fr); }
  .overview-grid > article { order: -1; }
  .area-timeline .tl-legend, .tl-axis, .tl-overlay, .tl-note, .tl-label small { display: none; }
  .tl-lane { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "label count" "track track"; min-height: 0; }
  .tl-lane .tl-label { grid-area: label; padding: 10px 12px 4px 14px; }
  .tl-lane .tl-count { grid-area: count; align-items: flex-end; padding: 10px 14px 4px; border-left: 0; text-align: right; }
  .tl-lane.is-folded .tl-track { display: none; }
  .tl-lane.is-folded .tl-label, .tl-lane.is-folded .tl-count { padding-bottom: 10px; }
  .tl-lane .tl-track { grid-area: track; height: 28px; margin: 0 14px 10px; border-radius: 6px; background: var(--raised); }
  .tl-mark { top: 50%; }
  .tl-lane-now { display: block; position: absolute; top: 3px; bottom: 3px; width: 2px; margin-left: -1px; border-radius: 1px; background: var(--ink); opacity: .45; }
}

/* Timeline page: filters, selected week, week labels as links, and the week summary. */
.tl-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.tl-filters .chip[aria-current="true"] { border-color: var(--c, var(--accent)); background: color-mix(in srgb, var(--c, var(--accent)) var(--soft), transparent); color: var(--ink); font-weight: 600; }
.tl-filters .chip[aria-current="true"]::before { content: "\2713"; color: var(--c, var(--accent)); font-size: 11px; }
.tl-filters-sep { width: 1px; height: 22px; margin: 0 4px; background: var(--line); }
.tl-history-note { display: flex; align-items: flex-start; gap: 8px; margin: 0; color: var(--muted); font-size: 12.5px; }
.tl-history-note svg { flex: none; margin-top: 2px; color: var(--faint); }
.tl-hint { margin: 0; color: var(--muted); font-size: 12.5px; text-align: center; }
.tl-selected { position: absolute; top: 0; bottom: 0; border-right: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); border-left: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); background: color-mix(in srgb, var(--ink) 5%, transparent); }
a.tl-week-label { padding: 1px 4px; border-radius: 4px; }
a.tl-week-label:hover { background: var(--raised); color: var(--accent); }
a.tl-week-label[aria-current="true"] { background: var(--ink); color: var(--bg); }

.week-summary .panel-head { flex-wrap: wrap; justify-content: flex-start; }
.week-summary .head-tools { margin-left: auto; }
.week-empty { padding: 14px 16px 16px; }
.week-areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.week-area { display: grid; align-content: start; gap: 8px; padding: 14px 16px; border-top: 1px solid var(--line-2); border-right: 1px solid var(--line-2); }
.week-area h3 { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--ink); font-size: 13px; }
.week-area h3 .kdot { width: 10px; height: 10px; border-radius: 3px; }
.week-area h3 .sub { margin-left: auto; font-weight: 500; }
.week-area ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.week-area li { display: grid; gap: 2px; min-width: 0; }
.week-area li a { display: grid; gap: 1px; color: var(--ink); }
.week-area li a:hover .t { color: var(--accent); }
.week-area .t { overflow: hidden; font-size: 13px; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.week-label { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 11.5px; }
.week-label time { color: var(--faint); font: 500 11px var(--mono); }
.week-area li.t-critical .week-label { color: var(--crit); font-weight: 600; }
.week-area li.t-notable .week-label { color: var(--ink-2); font-weight: 600; }
.week-area .panel-more { margin: 0 -16px -14px; }
.tl-weeks-phone { display: none; }
@media (max-width: 760px) {
  .tl-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .tl-filters-sep { flex: none; }
  .tl-weeks-phone { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .tl-hint { text-align: left; }
}

/* Watch buttons, My radar, and the overview's radar panel. */
.watch { display: inline-flex; margin: 0; }
.watch-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; cursor: pointer; }
.watch-btn svg { width: 14px; height: 14px; }
.watch-btn:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); color: var(--accent); }
.watch-btn[aria-pressed="true"] { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: color-mix(in srgb, var(--accent) var(--soft), var(--surface)); color: var(--accent); }
.watch.is-compact .watch-btn, .mark.is-compact .watch-btn { width: 26px; height: 24px; padding: 0; }
.watch.is-compact .watch-btn span, .mark.is-compact .watch-btn span { display: none; }
.link-row .watch-btn, .cve-head .watch-btn { height: 32px; padding: 0 12px; font-size: 12.5px; }

.radar-summary { margin: 0; color: var(--muted); font-size: 13px; }
.radar-summary b { color: var(--ink); }
.radar-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.radar-item { display: grid; gap: 8px; padding: 14px 16px; }
.radar-item.is-changed { border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.radar-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.radar-kind { padding: 1px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--raised); color: var(--muted); font-size: 11px; font-weight: 700; white-space: nowrap; }
.radar-title { flex: 1 1 280px; min-width: 0; color: var(--ink); font-size: 14px; font-weight: 650; line-height: 1.35; }
.radar-title:hover { color: var(--accent); }
.radar-changes { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.radar-changes li { display: grid; grid-template-columns: 52px minmax(120px, auto) minmax(0, 1fr); gap: 10px; align-items: baseline; font-size: 12.5px; }
.radar-changes time { color: var(--faint); font: 500 11px var(--mono); }
.radar-label { color: var(--ink-2); font-weight: 600; }
.radar-changes li.t-critical .radar-label { color: var(--crit); }
.radar-changes a { overflow: hidden; color: var(--ink-2); white-space: nowrap; text-overflow: ellipsis; }
.radar-changes a:hover { color: var(--accent); }
.radar-changes li.more { display: block; color: var(--muted); }
.radar-quiet, .radar-missing, .radar-next { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--muted); font-size: 12.5px; }
.radar-missing { color: var(--warn); }
.radar-next svg { width: 13px; height: 13px; }
.radar-next.t-critical { color: var(--crit); }
.radar-products .panel-head { flex-wrap: wrap; justify-content: flex-start; }
.radar-product-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; padding: 14px 16px 16px; }
.radar-product-form label { color: var(--muted); font-size: 12.5px; }
.radar-product-form select { min-width: 220px; height: 32px; padding: 0 8px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.stack-rows .st-changed span { color: var(--accent); }
.stack-subhead { margin: 4px 16px 0; }
@media (max-width: 760px) {
  .radar-changes li { grid-template-columns: 52px minmax(0, 1fr); }
  .radar-changes a { grid-column: 1 / -1; white-space: normal; }
}

/* Accounts on self-hosted installations: sign-in, account, administration, and moving browser state into an account. */
.account-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; align-items: start; }
.account-stack { display: grid; gap: 16px; align-content: start; min-width: 0; }
.account-form { display: grid; gap: 8px; padding: 14px 16px 16px; }
.account-form p { margin: 0; color: var(--ink-2); font-size: 13px; }
.account-form label { color: var(--ink-2); font-size: 12.5px; font-weight: 600; }
.account-form input[type="text"], .account-form input:not([type]), .account-form input[type="password"], .account-inline input {
  height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); font-size: 13px; }
.account-form input:focus-visible, .account-inline input:focus-visible { border-color: var(--accent); }
.account-form .btn { justify-self: start; margin-top: 4px; }
.account-note { margin: 0; padding: 0 16px 14px; color: var(--muted); font-size: 12px; }
.account-form .account-note { padding: 0; }
.account-check { display: flex; align-items: center; gap: 8px; font-weight: 500 !important; }
.account-facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; }
.account-facts a { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: 12px; }
.account-facts a:hover { border-color: var(--faint); color: var(--ink); }
.account-table th .sub { display: block; font-weight: 500; }
.account-inline { display: flex; gap: 6px; align-items: center; margin: 0; }
.account-inline input { width: 140px; height: 30px; }
/* The accounts table fits a tablet-width page: headers may wrap and the name column gives way. */
.account-table thead th { white-space: normal; }
.account-table tbody th.name { min-width: 120px; }
.account-actions { display: inline-flex; gap: 6px; }
.account-actions form { margin: 0; }
.account-import { flex-wrap: wrap; align-items: center; }
.account-import p { flex: 1 1 320px; }
.account-import form { margin: 0; }
.account-link svg { width: 14px; height: 14px; }

/* ---------- Product pages ---------- */
.product-sources ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.psrc a { display: inline-flex; align-items: center; gap: 7px; min-height: 28px; padding: 3px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 12px; }
.psrc a:hover { border-color: var(--faint); }
.psrc i { flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.psrc b { font-weight: 500; }
.psrc span { color: var(--muted); white-space: nowrap; }
.psrc.is-quiet i, .psrc.is-partial i { background: var(--warn); }
.psrc.is-quiet span { color: var(--warn); }
.psrc.is-down i { background: var(--crit); }
.psrc.is-down span { color: var(--crit); }
.product-stats a.stat { color: var(--ink); }
.product-stats a.stat:hover { border-color: var(--faint); }
.product-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.product-cols > .panel > .panel-empty { padding: 14px 16px 16px; }
.product-cols > .panel > .panel-foot { display: block; margin: 0; padding: 10px 16px 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.product-list { margin: 0; padding: 0; list-style: none; }
.product-list li { display: grid; gap: 3px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 13px; }
.product-list li:first-child { border-top: 0; }
.product-list a { color: var(--ink); }
.product-list a:hover { color: var(--accent); }
.product-dates time { color: var(--ink-2); font: 600 12px var(--mono); }
.product-dates li.t-critical time { color: var(--crit); }
.product-dates li.t-notable time { color: var(--warn); }
.revision-tbl td .sub { display: block; margin-top: 2px; }
.revision-tbl td.t-notable, .revision-tbl td.t-critical { color: var(--ink); }
.product-area .section-title .kdot { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.product-grid li { min-width: 0; }
.product-card { display: grid; gap: 5px; align-content: start; height: 100%; padding: 14px 16px; color: var(--ink); }
.product-card:hover { border-color: var(--faint); }
.product-card:hover b { color: var(--accent); }
.product-name { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.product-name b { font-size: 14px; font-weight: 600; }
.product-flag { color: var(--muted); font-size: 12px; }
.product-flag.is-warn, .product-flag.t-notable { color: var(--warn); }
.product-flag.t-critical { color: var(--crit); }
@media (max-width: 900px) {
  .product-cols { grid-template-columns: minmax(0, 1fr); }
}
a.tag:hover { border-color: var(--faint); color: var(--ink); }
.psrc-more { margin-top: 8px; }
.psrc-more summary { width: fit-content; color: var(--muted); font-size: 12px; cursor: pointer; }
.psrc-more ul { margin-top: 8px; }

/* ---------- Curated signals ---------- */
.signal-list { margin: 0; padding: 0; list-style: none; }
.signal { display: grid; gap: 4px; padding: 11px 16px; border-top: 1px solid var(--line); font-size: 13px; }
.signal-list > .signal:first-child { border-top: 0; }
.signal.is-resolved { opacity: .75; }
.elsewhere-list .signal > a { color: var(--ink); font-weight: 600; }
.elsewhere-list .signal > a:hover { color: var(--accent); }
.elsewhere-list .signal > .sub { color: var(--muted); font-size: 12px; }
.signal-head { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; }
.signal-head a { color: var(--ink); font-weight: 600; }
.signal-head a:hover { color: var(--accent); }
.signal-head .ext { width: 11px; height: 11px; margin-left: 4px; color: var(--faint); }
.signal-version { color: var(--ink-2); font-size: 12px; }
.signal-summary { margin: 0; max-width: 90ch; color: var(--muted); font-size: 12.5px; line-height: 1.5; overflow-wrap: anywhere; }
.signal-rev { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--accent); font-size: 12px; }
.signal-rev svg { width: 13px; height: 13px; }
.signal-more { border-top: 1px solid var(--line); }
.signal-more > summary { padding: 10px 16px; color: var(--muted); font-size: 12px; cursor: pointer; }
.panel > .signal-list + .panel-foot, .panel > .signal-more + .panel-foot, .panel > .tbl-wrap + .panel-foot, .panel > .panel-empty + .panel-foot { display: block; margin: 0; padding: 10px 16px 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.panel > .panel-empty { padding: 14px 16px 16px; }
.release-tbl .name .sub, .release-tbl td .sub { display: block; }
.release-tbl a { color: var(--ink); }
.release-tbl a:hover { color: var(--accent); }
.release-tbl .ext { width: 11px; height: 11px; margin-left: 4px; color: var(--faint); }

/* ---------- Message Center ---------- */
.mc-search { display: flex; gap: 8px; max-width: 560px; }
.mc-search input { flex: 1; min-width: 0; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: inherit; font-size: 13px; }
.mc-list { margin: 0; padding: 0; list-style: none; }
.mc-row { display: grid; gap: 4px; padding: 11px 16px; border-top: 1px solid var(--line); border-left: 3px solid transparent; font-size: 13px; }
.mc-list > .mc-row:first-child { border-top: 0; }
.mc-row.mc-preventorfix { border-left-color: var(--crit); }
.mc-row.mc-actionrequired { border-left-color: var(--warn); }
.mc-row-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.mc-row-head a { color: var(--ink); font-weight: 600; }
.mc-row-head a:hover { color: var(--accent); }
.mc-id { color: var(--muted); font-size: 12px; }
.mc-updated { color: var(--accent); }
.mc-due { display: inline-flex; align-items: center; gap: 6px; width: fit-content; color: var(--ink-2); font-size: 12px; }
.mc-due svg { width: 13px; height: 13px; color: var(--faint); }
.mc-due.is-soon { color: var(--warn); }
.pager { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--line); }
.mc-lead { padding: 0; }
.mc-countdown { display: grid; gap: 4px; padding: 16px; }
.mc-countdown b { font: 650 26px/1.1 var(--display); }
.mc-countdown span { color: var(--muted); font-size: 13px; }
.mc-countdown.is-soon b { color: var(--warn); }
.mc-countdown.is-past b { color: var(--muted); }
.mc-lead .facts { border-top: 0; }
.mc-lead .panel-foot { display: block; margin: 0; padding: 10px 16px 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.mc-facts { border: 1px solid var(--line-2); border-radius: 10px; overflow: hidden; }
.mc-body { max-width: 90ch; padding: 14px 16px 16px; color: var(--ink-2); font-size: 13.5px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.mc-links, .mc-docs, .mc-open { display: grid; gap: 8px; margin: 0; padding: 12px 16px 14px; border-top: 1px solid var(--line); list-style: none; font-size: 13px; }
.mc-links a, .mc-docs a { color: var(--accent); overflow-wrap: anywhere; }
.mc-links .ext, .mc-docs .ext { width: 11px; height: 11px; margin-left: 4px; }
.mc-docs li { display: grid; gap: 4px; }
.mc-callout { padding: 8px 10px; border-left: 3px solid var(--warn); background: color-mix(in srgb, var(--warn) 6%, var(--surface)); border-radius: 0 6px 6px 0; }
.mc-callout p { margin: 4px 0 0; color: var(--ink-2); font-size: 12.5px; line-height: 1.5; }
.mc-open li { color: var(--ink-2); }
.mc-open { list-style: disc; padding-left: 34px; }
.mc-versions { margin: 0; padding: 0; list-style: none; }
.mc-versions > li { display: grid; gap: 8px; padding: 12px 16px; border-top: 1px solid var(--line); }
.mc-versions > li:first-child { border-top: 0; }
.mc-version-date { color: var(--muted); font: 600 12px var(--mono); }
.mc-fields { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 13px; }
.mc-fields b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.mc-diff { margin: 0; max-width: 90ch; color: var(--muted); font-size: 13px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
/* Text stays in the ink color for contrast; strike-through and underline carry the meaning, the tint only helps. */
.mc-fields del, .mc-diff del { color: var(--ink-2); background: color-mix(in srgb, var(--crit) 12%, transparent); text-decoration: line-through; text-decoration-color: var(--crit); }
.mc-fields ins, .mc-diff ins { color: var(--ink); background: color-mix(in srgb, var(--ok) 14%, transparent); text-decoration: underline; text-decoration-color: var(--ok); text-underline-offset: 3px; font-weight: 600; }
.mc-diff del + ins { margin-left: 4px; }
.panel > .mc-docs + .panel-foot, .panel > .product-list + .panel-foot { display: block; margin: 0; padding: 10px 16px 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; font-weight: 400; }

/* ---------- Lifecycle by month ---------- */
.ms-month > summary.month-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; cursor: pointer; list-style: none; }
.ms-month > summary.month-head::-webkit-details-marker { display: none; }
.ms-month > summary.month-head::before { content: "▸"; color: var(--faint); }
.ms-month[open] > summary.month-head::before { content: "▾"; }
.ms-month-kinds { color: var(--faint); font-weight: 500; letter-spacing: 0; text-transform: none; }
.milestones li.ms-day { display: block; padding: 0; }
.ms-day > details > summary { display: grid; grid-template-columns: 86px minmax(0, 1fr); gap: 12px; align-items: center; padding: 9px 16px; cursor: pointer; }
.ms-day-what { display: grid; gap: 2px; min-width: 0; }
.ms-day-what b { color: var(--ink); font-size: 13px; font-weight: 600; }
.ms-day-what .sub { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.ms-day .milestones { border-top: 1px solid var(--line-2); background: var(--raised); }
.ms-past { border-top: 1px solid var(--line); }
.ms-past > summary { display: flex; align-items: center; gap: 8px; padding: 11px 16px; color: var(--muted); font-size: 12.5px; cursor: pointer; }
.ms-past > summary svg { width: 14px; height: 14px; }

/* ---------- Briefing: week archive, index, folded lists ---------- */
.doc-weeks { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 8px; font-size: 12.5px; }
.doc-weeks a { color: var(--accent); }
.doc-index { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 16px; }
.doc-index a { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); font-size: 12px; }
.doc-index a:hover { border-color: var(--faint); color: var(--ink); }
.doc-index .n { color: var(--faint); font: 500 11px var(--mono); }
.doc-more { margin: 2px 0 8px; }
.doc-more > summary { width: fit-content; color: var(--muted); font-size: 12px; cursor: pointer; }
.doc-more-link { margin: 4px 0 8px; font-size: 12px; }
@media print {
  .doc-weeks, .doc-index { display: none; }
  details::details-content { content-visibility: visible; display: block; }
  details > summary { display: none; }
}
.row-meta .tag { display: inline-block; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; line-height: 18px; vertical-align: middle; }
.pt-more { margin-top: 12px; }
.pt-more > summary { width: fit-content; max-width: 100%; color: var(--muted); font-size: 12.5px; cursor: pointer; }
.pt-more[open] > summary { margin-bottom: 12px; }
.check-columns .check { min-width: 0; white-space: normal; overflow-wrap: anywhere; }
.doc-fold > summary { cursor: pointer; list-style: none; }
.doc-fold > summary::-webkit-details-marker { display: none; }
.doc-fold > summary h2::after { content: "Show"; margin-left: 10px; color: var(--accent); font-size: 12px; font-weight: 500; }
.doc-fold[open] > summary h2::after { content: "Hide"; }
@media (max-width: 700px) { .security-bars { display: none; } }
.radar-earlier > summary { width: fit-content; color: var(--muted); font-size: 12.5px; cursor: pointer; }
.radar-earlier[open] > summary { margin-bottom: 6px; }
.product-empty { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--muted); font-size: 12.5px; }
.product-empty svg { width: 14px; height: 14px; color: var(--faint); }
.verdict-note { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.release-facts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 4px; }
.release-preview { margin-top: 4px; }
.release-preview a { color: var(--ink-2); }
.row-actions { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
/* Phones: two fact columns instead of one tall list, and a panel's description under its heading instead of squeezing it. */
@media (max-width: 600px) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel-head.ruled { flex-wrap: wrap; row-gap: 4px; }
  .panel-head.ruled > .sub { flex-basis: 100%; }
}
/* Phones: a product's sources are one row that scrolls sideways instead of filling the first screen. */
@media (max-width: 600px) {
  .product-sources > ul { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: thin; }
  .product-sources .psrc a { white-space: nowrap; }
}

/* Search: one box, results grouped by what they are, each linking to its page */
.search-page-form { display: flex; gap: 8px; padding: 12px; }
.search-page-form input { flex: 1; min-width: 0; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--raised); color: var(--ink); font-size: 14px; outline: none; }
.search-page-form input:focus { border-color: var(--accent); background: var(--surface); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.search-page-form .btn { height: 36px; }
.search-best { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-color: color-mix(in srgb, var(--accent) 40%, var(--line)); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); color: var(--ink); }
.search-best > svg { flex: none; margin-top: 20px; color: var(--accent); }
.search-best-text { display: grid; gap: 3px; min-width: 0; font-size: 14px; overflow-wrap: anywhere; }
.search-best:hover b { color: var(--accent); }
.search-label { margin-right: 8px; color: var(--ink-2); font-size: 12px; font-weight: 600; }
.search-jumps { padding: 0; }
.search-shortcuts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 16px; }
.search-shortcuts .sub { margin-right: 4px; }
.search-shortcuts .chip svg { width: 13px; height: 13px; color: var(--faint); }
.search-group h2 .count { color: var(--faint); font: 500 11px var(--mono); }
.search-hits { margin: 0; padding: 0; list-style: none; }
.search-hit { display: grid; gap: 3px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: 13px; overflow-wrap: anywhere; }
.search-hit:first-child { border-top: 0; }
.search-hit a { color: var(--ink); }
.search-hit a:hover .search-title { color: var(--accent); }
.search-hit .ext { width: 11px; height: 11px; margin-left: 4px; color: var(--faint); vertical-align: -1px; }
.search-try { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 16px 16px; }
.search-group > .panel-foot { margin: 0; padding: 10px 16px 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
@media (max-width: 640px) {
  .search-page-form { padding: 10px; }
  .search-best { padding: 12px; }
  .search-hit { padding: 10px 12px; }
}

/* Theme menu: a small panel under the palette button */
.theme-menu { position: relative; }
.theme-menu > summary { cursor: pointer; }
.theme-menu[open] > summary { color: var(--ink); border-color: var(--faint); }
.theme-panel { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: 300px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); box-shadow: var(--pop); }
.theme-label { margin: 0 0 8px; color: var(--muted); font: 600 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.theme-label + .theme-grid { margin-bottom: 12px; }
.theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.theme-choice { display: grid; justify-items: start; gap: 5px; padding: 6px; border: 1px solid var(--line); border-radius: 8px; background: var(--raised); color: var(--ink-2); font-size: 11.5px; font-weight: 600; text-align: left; }
.theme-choice:hover { border-color: var(--faint); color: var(--ink); }
.theme-choice[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); color: var(--ink); }
.theme-swatch { position: relative; display: block; width: 100%; height: 30px; border: 1px solid rgba(127, 127, 127, .35); border-radius: 5px; background: var(--s-bg); overflow: hidden; }
.theme-swatch i:first-child { position: absolute; left: 6px; right: 6px; top: 6px; height: 12px; border-radius: 3px; background: var(--s-surface); box-shadow: inset 3px 0 0 var(--s-accent); }
.theme-swatch i:last-child { position: absolute; left: 12px; top: 10px; width: 45%; height: 3px; border-radius: 2px; background: var(--s-ink); opacity: .75; }
.accent-row { display: flex; flex-wrap: wrap; gap: 8px; }
.accent-choice { width: 26px; height: 26px; padding: 0; border: 2px solid var(--surface); border-radius: 999px; background: var(--dot); box-shadow: 0 0 0 1px var(--line); }
.accent-choice.is-default { background: conic-gradient(#4f7cf5 0 20%, #1f9e90 0 40%, #8566ea 0 60%, #c98a1e 0 80%, #d94f85 0); }
.accent-choice[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
@media (max-width: 600px) { .theme-panel { position: fixed; left: 12px; right: 12px; top: calc(var(--topbar) + 4px); width: auto; } }

/* First-visit setup and the overview's own-products block */
.welcome-card { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 16px; border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); background: color-mix(in srgb, var(--accent) 6%, var(--surface)); }
.welcome-card > svg { flex: none; width: 22px; height: 22px; color: var(--accent); }
.welcome-body { flex: 1 1 320px; min-width: 0; }
.welcome-body h2 { margin: 0; font-size: 15px; font-weight: 650; color: var(--ink); }
.welcome-body p { margin: 3px 0 0; color: var(--ink-2); font-size: 13px; }
.welcome-actions { display: flex; align-items: center; gap: 14px; }
.welcome-actions form { margin: 0; }
.your-products .panel-head .sub { margin-right: auto; }
.your-product-grid { padding: 12px 16px 16px; }
.pref-products p { margin: 0; color: var(--ink-2); }
.version-tbl .ver-product { display: block; margin-bottom: 2px; font-weight: 600; }
.version-tbl .ver-product a { display: inline-flex; align-items: center; min-height: 24px; }
.version-tbl .ver-channel { display: block; }
.version-tbl tr.ver-group > * { border-top: 1px solid var(--line); }
.version-retired { margin: 0; padding: 10px 16px 14px; }
.pref-product-list { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; }
.pref-product-list a { display: inline-block; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font-size: 13px; }
.pref-product-list a:hover { border-color: var(--accent); color: var(--accent); }
.keep-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 12px; }
.keep-options > article:only-of-type { grid-column: 1 / -1; }
details.version-panel > summary { list-style: none; cursor: pointer; }
details.version-panel > summary::-webkit-details-marker { display: none; }
details.src-group > summary h2::after, details.version-panel > summary h2::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 10px;
    border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); transition: transform .15s; }
details.src-group:not([open]) > summary h2::after, details.version-panel:not([open]) > summary h2::after { transform: rotate(-45deg); }
details.src-group { margin-bottom: 12px; }
details.src-group > summary { list-style: none; cursor: pointer; flex-wrap: wrap; }
details.src-group > summary::-webkit-details-marker { display: none; }
details.src-group > summary, details.version-panel:not([open]) > summary { padding-bottom: 14px; }
details.src-group[open] > summary { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.src-tbl { table-layout: fixed; min-width: 900px; }
.src-tbl .c-src { width: 22%; } .src-tbl .c-status { width: 11%; } .src-tbl .c-type { width: 9%; } .src-tbl .c-method { width: 15%; }
.src-tbl .c-host { width: 19%; } .src-tbl .c-items { width: 6%; } .src-tbl .c-newest { width: 11%; } .src-tbl .c-link { width: 7%; }
.src-tbl td.mono { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.src-tbl td.num { padding-right: 12px; }
details.version-panel:not([open]) > summary.ruled { border-bottom: 0; }
.keep-intro { grid-column: 1 / -1; margin: 0; color: var(--ink-2); }
.keep-option { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--raised); }
.keep-option h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; }
.keep-option h3 svg { width: 16px; height: 16px; color: var(--accent); }
.keep-option p { margin: 0; color: var(--ink-2); font-size: 13px; }
.keep-option .feed-url { margin-top: 0; }
.keep-option .feed-url input { background: var(--surface); }
.keep-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.keep-actions form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.keep-join label, .keep-name label { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; color: var(--ink-2); font-size: 13px; }
.keep-join input, .keep-name input, .sync-code-field input { min-width: 0; padding: 7px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font: 13px var(--mono); }
.keep-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.sync-code { padding: 1px 6px; border-radius: 6px; background: var(--surface); color: var(--ink); font: 12.5px var(--mono); overflow-wrap: anywhere; }
.sync-join { display: grid; gap: 14px; padding: 16px; }
.sync-code-field { display: grid; gap: 6px; color: var(--ink-2); font-size: 13px; }
.sync-code-field input { width: 100%; max-width: 380px; font-size: 15px; letter-spacing: .04em; }
.shared-note { margin: 0; color: var(--ink-2); }
.shared-counts { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; color: var(--ink-2); }
.shared-counts b { color: var(--ink); }
.shared-actions form { display: inline-flex; }
.settings-file { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; color: var(--ink-2); font-size: 13px; }
.settings-file input { max-width: 100%; color: var(--ink-2); font: inherit; }
.your-suggestion { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: -4px 16px 12px; padding: 9px 12px; border: 1px dashed var(--line); border-radius: 10px; color: var(--ink-2); font-size: 13px; }
.your-suggestion > svg { flex: none; width: 15px; height: 15px; color: var(--accent); }
.your-suggestion > span { flex: 1; min-width: 200px; }
.your-suggestion b { color: var(--ink); font-weight: 600; }
.setup-form { display: grid; gap: 12px; }
.setup-area { display: grid; gap: 10px; margin: 0; padding: 14px 16px 16px; min-width: 0; }
.setup-area .section-title { flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.setup-hint { color: var(--muted); font: 400 12.5px/1.4 var(--sans); }
.setup-area .section-title { margin: 0; }
.setup-choices { display: flex; flex-wrap: wrap; gap: 8px; }
.setup-sub { margin: 4px 0 -2px; color: var(--muted); font-size: 12.5px; }
.setup-choices.is-versions .setup-chip span { height: 28px; font-size: 12.5px; }
.setup-chip { position: relative; display: inline-flex; }
.setup-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.setup-chip span { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font-size: 13px; font-weight: 500; cursor: pointer; }
.setup-chip span::before { content: ""; width: 12px; height: 12px; border: 1.5px solid var(--faint); border-radius: 4px; }
.setup-chip:hover span { border-color: var(--faint); color: var(--ink); }
.setup-chip input:checked + span { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); color: var(--ink); }
.setup-chip input:checked + span::before { border-color: var(--accent); background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.6l4.5-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }
.setup-chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.setup-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 4px 0 8px; }
