:root {
  --blue: #0080d4;
  --blue-soft: #e6f2fb;
  --teal: #43cbcb;
  --orange: #ff8f02;
  --ink: #212225;
  --text: #2c2e33;
  --muted: #6b7079;
  --line: #e3e6ea;
  --bg: #f6f7f9;
  --panel: #ffffff;
  --hover: #eef1f4;
  --green: #1f8a4c;
  --red: #c0392b;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --blue: #4aa8ec;
    --blue-soft: #16304a;
    --ink: #eef0f3;
    --text: #d8dbe0;
    --muted: #949aa4;
    --line: #2c3036;
    --bg: #15171a;
    --panel: #1c1f23;
    --hover: #24282d;
    --green: #4cc27d;
    --red: #ef6b5b;
  }
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  font: 15px/1.5 Lato, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  display: flex;
  flex-direction: column;
}
h1, h2, h3, .brand { font-family: Rubik, system-ui, sans-serif; color: var(--ink); }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--muted); }
.pad { padding: 16px; }
button { font: inherit; }

.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 52px; flex: none;
  background: var(--panel); border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand svg { width: 22px; height: 22px; color: var(--blue); }
.rate { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.rate.low { color: var(--orange); }

.layout { flex: 1; display: grid; grid-template-columns: 300px 1fr; min-height: 0; }
.sidebar { overflow-y: auto; border-right: 1px solid var(--line); background: var(--panel); padding: 8px 0 24px; }
.detail { overflow-y: auto; padding: 28px 36px 60px; min-width: 0; }

.group-title {
  font: 500 11px/1 Rubik, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); padding: 18px 20px 8px;
}
.rel {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 7px 20px; border: 0; background: none; text-align: left; color: var(--text); cursor: pointer;
}
.rel:hover { background: var(--hover); text-decoration: none; }
.rel.active { background: var(--blue-soft); box-shadow: inset 3px 0 var(--blue); }
.rel .v { font: 500 15px Rubik, sans-serif; color: var(--ink); min-width: 62px; }
.rel .d { font-size: 13px; color: var(--muted); margin-left: auto; font-variant-numeric: tabular-nums; }
.rel.sub { padding-left: 40px; }
.rel.sub .v { font-size: 14px; font-weight: 400; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--line); }
.dot.upcoming { background: var(--orange); }
.dot.released { background: var(--blue); }
.dot.planned { background: var(--teal); }
.toggle { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 12px; padding: 2px 20px 6px 40px; }
.toggle:hover { color: var(--blue); }

.pill {
  display: inline-block; font: 500 12px/1 Rubik, sans-serif; padding: 5px 9px; border-radius: 99px;
  vertical-align: middle; margin-left: 10px;
}
.pill.released { background: var(--blue-soft); color: var(--blue); }
.pill.upcoming { background: color-mix(in srgb, var(--orange) 18%, transparent); color: var(--orange); }
.pill.planned { background: color-mix(in srgb, var(--teal) 20%, transparent); color: #1a8f8f; }

.head h1 { font-size: 34px; font-weight: 600; margin: 0 0 4px; }
.head p { margin: 0; }

.ms { flex: 1; position: relative; padding-top: 22px; }
.ms::before { content: ''; position: absolute; top: 6px; left: 0; right: 0; height: 2px; background: var(--line); }
.ms:first-child::before { left: 7px; }
.ms:last-child::before { right: calc(100% - 7px); }
.ms::after {
  content: ''; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%;
  background: var(--panel); border: 2px solid var(--line);
}
.ms.done::after { background: var(--blue); border-color: var(--blue); }
.ms.done::before { background: var(--blue); }
.ms .label { font: 500 13px Rubik, sans-serif; color: var(--muted); }
.ms .date { font: 500 17px Rubik, sans-serif; color: var(--ink); }
.ms .date.none { color: var(--muted); font-weight: 400; font-size: 15px; }
.ms .gap { font-size: 12px; color: var(--muted); }

.patches { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text);
  border-radius: 99px; padding: 3px 11px; font-size: 13px; cursor: pointer;
}
.chip:hover { border-color: var(--blue); text-decoration: none; }
.chip.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip .n { color: var(--muted); font-variant-numeric: tabular-nums; }
.chip.on .n { color: #ffffffc0; }

section.commits { margin-top: 36px; }
.commits-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; }
.commits-head h2 { font-size: 20px; font-weight: 500; margin: 0; }
.range { font: 13px var(--mono); color: var(--muted); }
.tools { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 16px 0 10px; }
.tools input {
  font: inherit; font-size: 14px; padding: 6px 11px; border-radius: 6px; min-width: 240px;
  border: 1px solid var(--line); background: var(--panel); color: var(--text); margin-right: 8px;
}
.tools input:focus { outline: 2px solid var(--blue); outline-offset: -1px; }

.list { list-style: none; margin: 0; padding: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; }
.c { border-top: 1px solid var(--line); padding: 10px 14px; display: grid; grid-template-columns: 74px 1fr auto; gap: 4px 12px; align-items: baseline; }
.c:first-child { border-top: 0; }
.type { font: 500 11px/1.8 Rubik, sans-serif; text-transform: uppercase; letter-spacing: .04em; text-align: center; border-radius: 4px; background: var(--hover); color: var(--muted); }
.type.feat { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); }
.type.fix { background: color-mix(in srgb, var(--blue) 16%, transparent); color: var(--blue); }
.type.perf { background: color-mix(in srgb, var(--teal) 22%, transparent); color: #1a8f8f; }
.type.revert, .type.breaking { background: color-mix(in srgb, var(--red) 16%, transparent); color: var(--red); }
.subject { color: var(--ink); cursor: default; overflow-wrap: anywhere; }
.subject.has-body { cursor: pointer; }
.subject .scope { color: var(--muted); }
.subject .bang { color: var(--red); font-weight: 700; }
.meta { font-size: 12px; color: var(--muted); white-space: nowrap; text-align: right; font-variant-numeric: tabular-nums; }
.meta a { font-family: var(--mono); }
.links { grid-column: 2 / 4; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; }
.links:empty { display: none; }
.links a { font-family: var(--mono); }
.body { grid-column: 2 / 4; white-space: pre-wrap; font: 12.5px/1.55 var(--mono); color: var(--muted); margin: 6px 0 2px; overflow-wrap: anywhere; }
.more { display: block; margin: 14px auto 0; padding: 8px 18px; border-radius: 6px; border: 1px solid var(--line); background: var(--panel); color: var(--blue); cursor: pointer; }
.more:hover { border-color: var(--blue); }
.more:disabled { color: var(--muted); cursor: default; }
.error { padding: 14px 16px; border-radius: 8px; background: color-mix(in srgb, var(--red) 12%, transparent); color: var(--red); }
.empty { padding: 20px; text-align: center; color: var(--muted); }

.overview h1 { font-size: 28px; margin: 0 0 6px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 22px; }
.card { display: block; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 16px; color: var(--text); }
.card:hover { border-color: var(--blue); text-decoration: none; }
.card .v { font: 600 24px Rubik, sans-serif; color: var(--ink); }
.card .k { font-size: 13px; color: var(--muted); }

@media (max-width: 760px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { max-height: 38vh; border-right: 0; border-bottom: 1px solid var(--line); }
  .detail { padding: 20px 16px 48px; }
  .c { grid-template-columns: 64px 1fr; }
  .meta { grid-column: 2; text-align: left; }
  .links, .body { grid-column: 2; }
  .tools input { min-width: 0; width: 100%; margin: 0 0 4px; }
}
.bp { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 0 5px; margin-left: 4px; }

/* ── Charts ─────────────────────────────────────────────────────────────── */
:root {
  --s1: #2a78d6; --s2: #eb6834; --s3: #1baf7a; --s4: #eda100; --s5: #e87ba4; --s6: #008300;
  --s-rest: #a3a7ae;
  --bar: #2a78d6;
  --grid: #eceef1;
}
@media (prefers-color-scheme: dark) {
  :root {
    --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #c98500; --s5: #d55181; --s6: #0ca30c;
    --s-rest: #5d626a;
    --bar: #3987e5;
    --grid: #2a2e33;
  }
}
.charts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr); gap: 10px; margin: 22px 0 4px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px 12px; min-width: 0; }
.panel.wide { grid-column: auto; }
.panel h3 { font-size: 14px; font-weight: 500; margin: 0 0 10px; }
.panel h3 .unit { font-weight: 400; font-size: 12px; }
.donut { display: flex; align-items: center; gap: 18px; }
.donut svg { flex: none; }
.slice { stroke: var(--panel); stroke-width: 2; transition: opacity .18s, transform .18s; transform-box: view-box; transform-origin: center; }
.slice:hover, .slice.hot { transform: scale(1.06); }
.slice.dim { opacity: .28; }
.dim { opacity: .3; }
.donut .big { font: 600 20px Rubik, sans-serif; fill: var(--ink); text-anchor: middle; }
.donut .small { font-size: 11px; fill: var(--muted); text-anchor: middle; }
.legend { list-style: none; margin: 0; padding: 0; flex: 1; min-width: 0; font-size: 13px; }
.legend li { display: grid; grid-template-columns: 10px 1fr auto 36px; gap: 8px; align-items: center; padding: 3px 6px; border-radius: 5px; }
.legend li:hover { background: var(--hover); }
.legend li.on { background: var(--blue-soft); }
.legend .sw { width: 10px; height: 10px; border-radius: 3px; }
.legend .lab { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); }
.legend .num { font-variant-numeric: tabular-nums; color: var(--ink); }
.legend .pc { font-variant-numeric: tabular-nums; color: var(--muted); text-align: right; }
.cols { width: 100%; height: auto; display: block; overflow: visible; }
.cols .grid { stroke: var(--grid); stroke-width: 1; }
.cols .base { stroke: var(--line); stroke-width: 1; }
.cols .tick { stroke: var(--line); }
.cols .ax { font-size: 11px; fill: var(--muted); font-variant-numeric: tabular-nums; }
.cols .bar { fill: var(--bar); transition: opacity .12s; }
.cols .hit:hover .bar { opacity: .8; }
.cols .mark { stroke: var(--orange); stroke-width: 1.5; }
.cols .mark-l { font: 500 11px Rubik, sans-serif; fill: var(--muted); }
.tip {
  position: fixed; z-index: 10; pointer-events: none; padding: 7px 10px; border-radius: 6px;
  background: var(--ink); color: var(--bg); font-size: 12.5px; line-height: 1.4; box-shadow: 0 4px 14px #0003;
}
.tip b { font-weight: 700; }
.tools .count { font-size: 13px; margin-left: auto; }
.toggle.older { padding: 18px 20px 6px; font-size: 13px; }
@media (max-width: 1250px) { .charts { grid-template-columns: repeat(3, minmax(0, 1fr)); } .panel.wide { grid-column: 1 / -1; } }
@media (max-width: 760px) { .charts { grid-template-columns: 1fr; } }

/* ── Compact header charts ─────────────────────────────────────────────── */
.release-head { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.release-head .patches { margin-top: 12px; }
.charts .panel { padding: 10px 12px; }
.charts .panel h3 { font-size: 12.5px; margin: 0 0 6px; color: var(--muted); font-weight: 500; }
.donut.compact { gap: 10px; }
.donut.compact .big { font-size: 13px; }
.donut.compact .legend { font-size: 12px; }
.donut.compact .legend li { grid-template-columns: 8px 1fr auto; gap: 6px; padding: 1px 4px; }
.donut.compact .legend .sw { width: 8px; height: 8px; border-radius: 2px; }
.donut.compact .legend .pc { display: none; }
.charts .cols .ax, .charts .cols .mark-l { font-size: 10px; }

/* ── Work lists ────────────────────────────────────────────────────────── */
.scan { font-size: 13px; margin: 0 0 14px; }
.scan code, .error-inline code { font: 12px var(--mono); background: var(--hover); padding: 1px 4px; border-radius: 3px; }
.error-inline { color: var(--red); }
.block { margin-top: 22px; }
.block-h { font-size: 15px; font-weight: 500; margin: 0 0 8px; display: flex; align-items: baseline; gap: 8px; }
.block-h .n { font: 400 13px Lato, sans-serif; color: var(--muted); }
.fold { border: 0; background: none; padding: 0; font: inherit; color: var(--ink); cursor: pointer; }
.fold:hover { color: var(--blue); }

.issues { list-style: none; }
.issue { border-top: 1px solid var(--line); }
.issue:first-child { border-top: 0; }
.issue-row {
  display: grid; grid-template-columns: 14px 104px minmax(0, 1fr) 80px 104px minmax(0, 150px) 76px 42px;
  gap: 10px; align-items: center; width: 100%; padding: 9px 14px; border: 0; background: none;
  text-align: left; font: inherit; color: var(--text); cursor: pointer;
}
.issue-row:hover { background: var(--hover); }
.issue.open > .issue-row { background: var(--blue-soft); }
.chev { color: var(--muted); font-size: 11px; }
.key { font: 12.5px var(--mono); }
.sum { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.itype { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.status { font: 500 11.5px/1 Rubik, sans-serif; padding: 4px 7px; border-radius: 4px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.status.done { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); }
.status.test { background: color-mix(in srgb, var(--teal) 22%, transparent); color: #168080; }
.status.prog { background: var(--blue-soft); color: var(--blue); }
.status.todo, .status.none { background: var(--hover); color: var(--muted); }
.fixes { display: flex; flex-wrap: wrap; gap: 3px; overflow: hidden; max-height: 22px; }
.ver { font: 11.5px/1.5 var(--mono); padding: 0 5px; border-radius: 3px; background: var(--hover); color: var(--text); white-space: nowrap; }
.ver.here { background: var(--blue); color: #fff; }
.cn { font-size: 12px; color: var(--muted); text-align: right; white-space: nowrap; }
.flag { font: 500 12px Rubik, sans-serif; text-align: center; border-radius: 4px; padding: 2px 4px; }
.flag.bad { color: var(--red); background: color-mix(in srgb, var(--red) 12%, transparent); }
.flag.wait { color: var(--orange); background: color-mix(in srgb, var(--orange) 14%, transparent); }
.flag.ok { color: var(--green); }

.issue-detail { padding: 6px 14px 16px 38px; background: color-mix(in srgb, var(--blue-soft) 35%, var(--panel)); }
.issue-detail h4 { font: 500 13px Rubik, sans-serif; color: var(--muted); margin: 16px 0 6px; }
.meta-line { font-size: 13px; color: var(--muted); margin: 4px 0 8px; }
.meta-line b { color: var(--ink); font-weight: 700; }
.notes { list-style: none; padding: 0; margin: 0 0 10px; font-size: 13px; }
.notes li { padding: 2px 0; }
.notes .bad { color: var(--red); }
.notes .wait { color: var(--orange); }
.small { font-size: 12px; }
.matrix { border-collapse: collapse; font-size: 13px; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; min-width: 560px; }
.matrix th, .matrix td { padding: 6px 12px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.matrix thead th { font: 500 11px Rubik, sans-serif; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); border-top: 0; }
.matrix tbody th { font: 500 13px Rubik, sans-serif; color: var(--ink); white-space: nowrap; }
.matrix td .ver { margin: 0 3px 3px 0; display: inline-block; }
.matrix .sha { font: 11.5px var(--mono); margin-left: 4px; }
.list.inner { background: var(--panel); }
@media (max-width: 1000px) {
  .issue-row { grid-template-columns: 14px 96px minmax(0, 1fr) 90px 40px; }
  .issue-row .itype, .issue-row .fixes, .issue-row .cn { display: none; }
  .issue-detail { padding-left: 14px; overflow-x: auto; }
}

/* ── Compact pass ──────────────────────────────────────────────────────── */
body { font-size: 14px; }
.top { height: 46px; }
.brand { font-size: 16px; }
.layout { grid-template-columns: 260px 1fr; }
.detail { padding: 22px 28px 48px; }
.group-title { padding: 14px 18px 6px; }
.rel { padding: 4px 18px; gap: 8px; }
.rel .v { font-size: 14px; min-width: 54px; }
.rel.sub { padding-left: 34px; }
.rel.sub .v { font-size: 13px; }
.rel .d { font-size: 12px; }
.head h1 { font-size: 28px; }
.pill { font-size: 11px; padding: 4px 8px; }
.ms { padding-top: 18px; }
.ms .label { font-size: 12px; }
.ms .date { font-size: 15px; }
.chip { font-size: 12px; padding: 2px 9px; }
.commits-head h2 { font-size: 18px; }
section.commits { margin-top: 22px; }
.tools { margin: 12px 0 6px; }
.tools input { font-size: 13px; padding: 5px 10px; }
.block { margin-top: 16px; }
.block-h { font-size: 14px; margin-bottom: 6px; }

.c { padding: 5px 12px; grid-template-columns: 58px minmax(0, 1fr) auto; gap: 2px 10px; font-size: 13px; }
.type { font-size: 10px; line-height: 1.7; }
.subject .keys { margin-left: 8px; }
.subject .keys .k { font: 11.5px var(--mono); margin-right: 6px; }
.subject .keys .k.from-pr { border-bottom: 1px dotted currentColor; }
.meta { font-size: 11.5px; }
.prn { font: 11.5px var(--mono); }
.base { color: var(--muted); margin-left: 4px; font-family: var(--mono); font-size: 11px; }
.direct { font-size: 10.5px; border: 1px solid var(--line); border-radius: 3px; padding: 0 4px; }
.body { grid-column: 2 / 4; }

.issue-row { padding: 5px 12px; gap: 8px; font-size: 13px; grid-template-columns: 12px 96px minmax(0, 1fr) 70px 96px minmax(0, 140px) 48px 36px; }
.key { font-size: 12px; }
.status { font-size: 10.5px; padding: 3px 6px; }
.ver { font-size: 11px; }
.flag { font-size: 11px; padding: 1px 4px; }
.issue-detail { padding: 4px 12px 12px 32px; }
.matrix { font-size: 12.5px; }
.matrix th, .matrix td { padding: 4px 10px; }
.subject .keys .k { white-space: nowrap; display: inline-block; }

/* ── Triage tabs ─────────────────────────────────────────────────────────── */
.commits-head .team { margin-left: auto; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.team select {
  font: inherit; font-size: 13px; color: var(--text); background: var(--panel);
  border: 1px solid var(--line); border-radius: 6px; padding: 3px 6px;
}
.tabs { display: flex; flex-wrap: wrap; gap: 2px; margin: 12px 0 10px; border-bottom: 1px solid var(--line); }
.tab {
  display: flex; align-items: center; gap: 6px; padding: 7px 12px; margin-bottom: -1px;
  background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted);
  font: 500 13px Rubik, sans-serif; cursor: pointer;
}
.tab:hover { color: var(--ink); }
.tab.on { color: var(--ink); border-bottom-color: var(--blue); }
.tab .n { font: 400 12px Lato, sans-serif; color: var(--muted); font-variant-numeric: tabular-nums; }
.tab .prio {
  display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%;
  font-size: 10px; background: var(--hover); color: var(--muted);
}
.tab.on .prio { background: var(--blue); color: #fff; }
.tab-intro { font-size: 13px; color: var(--text); margin: 0 0 12px; max-width: 80ch; }
.block-note { font-size: 12.5px; color: var(--muted); margin: -4px 0 8px; }

.tlist > li, .flist > li { display: block; padding: 7px 12px; border-bottom: 1px solid var(--line); }
.trow-main { display: flex; align-items: baseline; gap: 10px; font-size: 13px; min-width: 0; }
.trow-main .key { font: 500 12.5px var(--mono); white-space: nowrap; flex: none; }
.trow-main .sum { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); }
.trow-main .chev { width: 12px; flex: none; color: var(--muted); }
.frow .trow-main[data-toggle] { cursor: pointer; }
.frow .notes { margin: 4px 0 0 22px; }
.frow.open { background: var(--blue-soft); }
.frow .issue-detail { margin-top: 8px; }
.trow-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin-top: 4px; font-size: 12px; color: var(--muted); }
.trow-meta .ver { margin-left: 3px; }
.verdict { flex: none; font: 500 11.5px Rubik, sans-serif; padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
.verdict.bad { color: var(--red); background: color-mix(in srgb, var(--red) 12%, transparent); }
.verdict.wait { color: var(--orange); background: color-mix(in srgb, var(--orange) 14%, transparent); }
.verdict.prog { color: var(--blue); background: var(--blue-soft); }
.frow .issue-detail .notes { display: none; } /* already listed on the row */

/* ── Motion ──────────────────────────────────────────────────────────────── */
.sweep { animation: sweep .75s cubic-bezier(.3, .7, .2, 1) .05s forwards; }
@keyframes sweep { to { stroke-dashoffset: 0; } }
.cols .bar.rise { transform-box: fill-box; transform-origin: 50% 100%; animation: rise .55s cubic-bezier(.3, .7, .2, 1) var(--d, 0ms) both; }
@keyframes rise { from { transform: scaleY(0); } }
.cols .bar { transition: opacity .18s, fill .18s; }
.cols .hit:hover .bar { opacity: 1; fill: var(--blue); }
.legend li { transition: background .15s; }
.legend li.hot { background: var(--hover); }
.tip { transition: opacity .12s; opacity: 0; }
.tip.on { opacity: 1; }
.panel { transition: border-color .2s, box-shadow .2s; }
.charts .panel:hover { border-color: color-mix(in srgb, var(--blue) 30%, var(--line)); box-shadow: 0 2px 10px -6px rgb(0 0 0 / .18); }
.fade-in { animation: fade .25s ease-out both; }
@keyframes fade { from { opacity: 0; transform: translateY(3px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .sweep { stroke-dashoffset: 0; }
}

/* ── Header extras ───────────────────────────────────────────────────────── */
.top-right { display: flex; align-items: center; gap: 16px; }
.repo-pick { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.repo-pick svg { width: 14px; height: 14px; }
.repo-pick select {
  font: 500 13px Rubik, sans-serif; color: var(--ink); background: var(--panel);
  border: 1px solid var(--line); border-radius: 6px; padding: 3px 6px;
}
.gear { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: var(--muted); transition: background .15s, color .15s, transform .3s; }
.gear svg { width: 18px; height: 18px; }
.gear:hover { background: var(--hover); color: var(--ink); transform: rotate(30deg); }
.gear.on { color: var(--blue); background: var(--blue-soft); }

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.find { padding: 8px 14px 2px; }
.find input {
  width: 100%; font: inherit; font-size: 13px; padding: 5px 10px; border-radius: 6px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text);
}
.find input:focus { outline: 2px solid var(--blue); outline-offset: -1px; background: var(--panel); }
.group-title .n { font-weight: 400; letter-spacing: 0; }
.rel { transition: background .12s; }
.rel .tag { font: 500 10px/1 Rubik, sans-serif; padding: 3px 5px; border-radius: 4px; white-space: nowrap; }
.tag.freeze { background: color-mix(in srgb, var(--orange) 18%, transparent); color: var(--orange); }
.tag.soon { background: var(--hover); color: var(--muted); }
.line {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 4px 18px; border: 0; background: none;
  text-align: left; color: var(--text); cursor: pointer; transition: background .12s;
}
.line:hover { background: var(--hover); }
.line .chev { width: 10px; color: var(--muted); font-size: 11px; }
.line .v { font: 500 14px Rubik, sans-serif; color: var(--ink); }
.line .d { margin-left: auto; font-size: 11.5px; color: var(--muted); }
.line-body { animation: fade .2s ease-out both; }
.line-body .rel.sub { padding-left: 36px; }
.line-body .rel .tag { display: none; } /* already flagged under Upcoming */
.group-head .g-short { width: 130px; font-size: 12.5px; background: var(--panel); }
.toggle.older { padding-left: 18px; margin-top: 4px; }

/* ── Release road: freeze → release ──────────────────────────────────────── */
.road { margin: 16px 0 6px; max-width: 720px; }
.road.none { font-size: 13px; }
.road-sum { margin: 0 0 30px; font-size: 13px; color: var(--text); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.freeze-tag { font: 500 11px/1 Rubik, sans-serif; padding: 4px 7px; border-radius: 4px; background: color-mix(in srgb, var(--orange) 18%, transparent); color: var(--orange); }
.road-track { position: relative; height: 6px; border-radius: 3px; background: var(--line); margin: 0 7px 46px; }
.road-fill {
  position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 3px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--blue) 55%, transparent), var(--blue));
  animation: fill .9s cubic-bezier(.3, .7, .2, 1) .1s both;
}
@keyframes fill { from { width: 0; } }
.road-mark { position: absolute; top: -5px; transform: translateX(-50%); }
.road-mark .pin { display: block; width: 16px; height: 16px; border-radius: 50%; background: var(--panel); border: 2px solid var(--muted); transition: transform .15s; }
.road-mark.past .pin { background: var(--blue); border-color: var(--blue); }
.road-mark.is-release .pin { border-color: var(--ink); }
.road-mark.is-release.past .pin { border-color: var(--blue); }
.road-mark:hover .pin { transform: scale(1.15); }
.road-l { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; color: var(--muted); }
.road-l b { display: block; font: 500 12px Rubik, sans-serif; color: var(--ink); }
.road-mark.start .road-l { left: 0; transform: none; }
.road-mark.end .road-l { left: auto; right: 0; transform: none; text-align: right; }
.road-today { position: absolute; top: -9px; bottom: -9px; width: 2px; margin-left: -1px; background: var(--orange); border-radius: 1px; }
.road-today span { position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); margin-bottom: 2px; font: 500 10.5px Rubik, sans-serif; color: var(--orange); white-space: nowrap; }

/* ── Year timeline ───────────────────────────────────────────────────────── */
.overview h1 { font-size: 26px; margin: 0 0 14px; }
.panel.year { padding: 14px 18px 10px; margin-bottom: 22px; }
.yl-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.yl-head h2 { margin: 0; font-size: 20px; font-weight: 500; min-width: 54px; text-align: center; font-variant-numeric: tabular-nums; }
.yl-nav {
  width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel);
  color: var(--ink); cursor: pointer; font-size: 16px; line-height: 1; transition: background .15s, border-color .15s;
}
.yl-nav:hover { background: var(--hover); border-color: var(--blue); }
.yl-key { margin-left: auto; display: flex; gap: 14px; font-size: 12px; color: var(--muted); }
.yl-key span { display: flex; align-items: center; gap: 5px; }
.k-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: var(--blue); }
.k-dot.small { width: 6px; height: 6px; }
.k-dot.upcoming { background: var(--panel); border: 2px solid var(--orange); }
.k-dia { width: 8px; height: 8px; display: inline-block; background: var(--muted); transform: rotate(45deg); border-radius: 1px; }
.k-span { width: 18px; height: 5px; border-radius: 3px; display: inline-block; background: color-mix(in srgb, var(--blue) 25%, transparent); }
.yl { width: 100%; height: auto; display: block; overflow: visible; }
.yl-grid { stroke: var(--line); stroke-width: 1; }
.yl-month { font: 11px Lato, sans-serif; fill: var(--muted); }
.yl-lane { stroke: var(--line); stroke-width: 1; stroke-dasharray: 2 4; }
.yl-line { font: 500 13px Rubik, sans-serif; fill: var(--ink); }
.yl-line:hover { fill: var(--blue); }
.yl-today { stroke: var(--orange); stroke-width: 1.5; }
.yl-today-l { font: 500 10.5px Rubik, sans-serif; fill: var(--orange); }
.yl-span { fill: color-mix(in srgb, var(--blue) 18%, transparent); transform-box: fill-box; transform-origin: right; animation: grow .6s cubic-bezier(.3, .7, .2, 1) calc(var(--i) * 18ms) both; }
.yl-span.major { fill: color-mix(in srgb, var(--blue) 26%, transparent); }
@keyframes grow { from { transform: scaleX(0); } }
.yl-freeze { stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; }
.yl-dot { stroke-width: 2; transition: transform .15s; }
.yl-dot.released { fill: var(--blue); stroke: var(--panel); }
.yl-dot.upcoming { fill: var(--panel); stroke: var(--orange); }
.yl-dot.planned { fill: var(--panel); stroke: var(--teal); }
.yl-pop { animation: pop .35s cubic-bezier(.3, 1.5, .5, 1) calc(var(--i) * 18ms + 150ms) both; transition: transform .15s; }
@keyframes pop { from { transform: scale(0); } }
.yl-rel:hover .yl-pop { transform: scale(1.35); }
.yl-v { font: 11px var(--mono); fill: var(--text); pointer-events: none; animation: fade .3s ease-out calc(var(--i) * 18ms + 250ms) both; }
.yl-v.major { font: 600 12px Rubik, sans-serif; fill: var(--ink); }
.yl-rel:hover .yl-v { fill: var(--blue); }
.yl-undated { font-size: 12.5px; margin: 6px 0 0; }

/* ── Settings ────────────────────────────────────────────────────────────── */
.settings { max-width: 860px; }
.settings h1 { font-size: 26px; margin: 0 0 4px; }
.set { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px; margin-top: 14px; }
.set h2 { font-size: 15px; font-weight: 500; margin: 0 0 8px; }
.set .hint { font-size: 12.5px; color: var(--muted); margin: 6px 0 10px; }
.set-row { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; font-size: 13px; }
.set input, .set select {
  font: inherit; font-size: 13px; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 6px; padding: 5px 8px;
}
.set input:focus, .set select:focus { outline: 2px solid var(--blue); outline-offset: -1px; background: var(--panel); }
.set input[type=number] { width: 64px; margin: 0 4px; }
.repo-chip { font: 500 13px Rubik, sans-serif; padding: 4px 10px; border-radius: 99px; border: 1px solid var(--line); }
.repo-chip.on { border-color: var(--blue); color: var(--blue); background: var(--blue-soft); }
.groups { display: grid; gap: 10px; margin-bottom: 10px; }
.group { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; background: var(--bg); animation: fade .2s ease-out both; }
.group-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.group-head .g-label { font: 500 14px Rubik, sans-serif; color: var(--ink); min-width: 280px; background: var(--panel); }
.group-head .spacer { flex: 1; }
.icon { border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: 6px; width: 26px; height: 26px; cursor: pointer; }
.icon:hover:not(:disabled) { color: var(--ink); border-color: var(--blue); }
.icon:disabled { opacity: .35; cursor: default; }
.icon.danger:hover { color: var(--red); border-color: var(--red); }
.group-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px 12px; }
.group-fields label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--muted); }
.group-fields label span { font: 500 12px Rubik, sans-serif; color: var(--text); }
.group-fields small { font-size: 11.5px; color: var(--muted); }
.set-actions { display: flex; align-items: center; gap: 10px; margin: 18px 0 30px; }
.btn { font: 500 13px Rubik, sans-serif; padding: 7px 14px; border-radius: 8px; border: 1px solid var(--line); background: var(--panel); color: var(--ink); cursor: pointer; transition: background .15s, border-color .15s; }
.btn:hover { border-color: var(--blue); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { filter: brightness(1.08); }
.saved { font-size: 13px; color: var(--green); animation: fade .3s ease-out both; }
.small { font-size: 12px; }

/* ── Activity lines ──────────────────────────────────────────────────────── */
.lines .line { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.lines .line.draw { stroke-dasharray: 100 100; stroke-dashoffset: 100; animation: draw 1s cubic-bezier(.3, .7, .2, 1) .1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.lines .area { opacity: .07; }
.lines .cross { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 2 3; opacity: 0; }
.lines .pt { opacity: 0; stroke: var(--panel); stroke-width: 1.5; }
.lines .hit:hover .cross, .lines .hit:hover .pt, .lines .hit.on .cross, .lines .hit.on .pt { opacity: 1; }
.series-key { float: right; display: inline-flex; gap: 10px; font: 400 11.5px Lato, sans-serif; color: var(--muted); }
.series-key span { display: inline-flex; align-items: center; gap: 4px; }
.series-key i { width: 12px; height: 2px; border-radius: 1px; display: inline-block; }
.chart-note { font-size: 11px; margin: 2px 0 0; }
.tip-sw { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }

/* ── Polish pass 2 ───────────────────────────────────────────────────────── */
.brand { gap: 10px; }
.brand .logo { height: 24px; width: auto; display: block; }
.brand-name { font: 400 18px Rubik, sans-serif; color: var(--muted); padding-left: 10px; border-left: 1px solid var(--line); line-height: 22px; }
.only-dark { display: none !important; }
@media (prefers-color-scheme: dark) { .only-dark { display: block !important; } .only-light { display: none !important; } }

/* Repository picker at the top of the sidebar */
.sidebar { display: flex; flex-direction: column; padding-top: 0; }
#sidebar { flex: 1; }
.repo-box { position: relative; padding: 12px 14px 4px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.repo-btn {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 7px 10px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; text-align: left;
  transition: border-color .15s, background .15s;
}
.repo-btn:hover, .repo-btn[aria-expanded=true] { border-color: var(--blue); background: var(--panel); }
.repo-btn svg, .repo-pop svg { width: 14px; height: 14px; color: var(--muted); flex: none; }
.repo-name { font: 500 14px Rubik, sans-serif; }
.repo-sub { font-size: 11.5px; color: var(--muted); }
.repo-btn .caret { margin-left: auto; color: var(--muted); font-size: 11px; }
.repo-pop {
  position: absolute; left: 14px; right: 14px; top: calc(100% - 8px); z-index: 20; background: var(--panel);
  border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px -12px rgb(0 0 0 / .35); padding: 8px;
  animation: fade .15s ease-out both;
}
.repo-pop input { width: 100%; font: inherit; font-size: 13px; padding: 5px 9px; border-radius: 6px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.repo-pop input:focus { outline: 2px solid var(--blue); outline-offset: -1px; }
.repo-pop ul { list-style: none; margin: 6px 0 0; padding: 0; }
.repo-pop li { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; font-size: 13px; cursor: pointer; }
.repo-pop li:hover:not(.off) { background: var(--hover); }
.repo-pop li.on { color: var(--blue); }
.repo-pop li.off { color: var(--muted); cursor: default; }
.repo-pop li small { margin-left: auto; color: var(--muted); font-size: 11px; }

/* Year chart: finer */
.yl-month { font-size: 10px; }
.yl-line { font-size: 12px; }
.yl-v { font-size: 9.5px; }
.yl-v.major { font-size: 11px; }
.yl-grid { stroke-opacity: .7; }
.yl-dot { stroke-width: 1.5; }
.yl-today-l { font-size: 9.5px; }
.yl-today { stroke-width: 1; }
.yl-freeze { stroke-width: 1; }
.yl-head h2 { font-size: 18px; }
.panel.year { margin-top: 2px; }

/* Front-page cards */
.cards { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); margin-top: 10px; }
.card { padding: 0; display: flex; flex-direction: column; overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: color-mix(in srgb, var(--blue) 40%, var(--line)); box-shadow: 0 6px 20px -14px rgb(0 0 0 / .4); transform: translateY(-1px); }
.card-top { display: block; padding: 14px 16px 10px; color: inherit; }
.card-top:hover { text-decoration: none; }
.card .v { font: 600 22px Rubik, sans-serif; color: var(--ink); }
.card .when { font-size: 13px; color: var(--text); margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.card-sum { border-top: 1px solid var(--line); padding: 8px 16px 12px; display: grid; gap: 5px; }
.sum-row { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; color: var(--muted); }
.sum-row b { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.sum-row a { color: inherit; }
.sum-row a.bad b { color: var(--red); }
.ci { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; }
.ci i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ci.ok { color: var(--green); } .ci.bad { color: var(--red); } .ci.wait { color: var(--orange); }

/* Release header: text left, facts right */
.head-main { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: start; }
.head .what { max-width: 70ch; font-size: 13px; margin-top: 2px; }
.head .what b { color: var(--text); font-weight: 600; }
.road { margin-top: 14px; }
.road-sum { margin-bottom: 24px; }
.road-track { height: 4px; }
.road-tick { position: absolute; top: 0; bottom: 0; width: 1px; background: color-mix(in srgb, var(--muted) 35%, transparent); }
.road-mark { top: -6px; }
.road-mark .pin { width: 14px; height: 14px; }
.facts { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 12.5px; }
.facts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.facts-grid div { display: flex; flex-direction: column; }
.facts-grid b { font: 600 18px Rubik, sans-serif; color: var(--ink); font-variant-numeric: tabular-nums; }
.facts-grid span { color: var(--muted); font-size: 11.5px; }
.smells {
  display: flex; align-items: baseline; gap: 6px; width: 100%; margin: 12px 0 4px; padding: 6px 10px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--bg); color: var(--text); cursor: pointer; transition: border-color .15s;
}
.smells:hover { border-color: var(--blue); }
.smells .smell-n { font: 600 18px Rubik, sans-serif; color: var(--ink); }
.smells.has .smell-n { color: var(--orange); }
.smells .go { margin-left: auto; color: var(--muted); }
.smell-list { list-style: none; margin: 0; padding: 0; }
.smell-list button { display: flex; width: 100%; justify-content: space-between; gap: 8px; border: 0; background: none; color: var(--muted); font-size: 12px; padding: 2px 4px; border-radius: 4px; cursor: pointer; text-align: left; }
.smell-list button:hover { background: var(--hover); color: var(--ink); }
.smell-list b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.fetched { margin: 10px 0 0; font-size: 11px; color: var(--muted); }
@media (max-width: 1100px) { .head-main { grid-template-columns: 1fr; } }

.commits-head .range { font: 500 14px var(--mono); color: var(--ink); }

/* Rows: one line each, details on expand */
.trow-main { align-items: center; cursor: pointer; }
.trow.open, .frow.open { background: var(--blue-soft); }
.trow-main .status, .frow .status { flex: none; }
.smell-text { flex: none; max-width: 38%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: var(--muted); }
.issue-row { grid-template-columns: 12px 96px minmax(0, 1fr) 96px 48px 36px !important; cursor: pointer; }
.c { display: block; padding: 0; }
.c-row { display: grid; grid-template-columns: 12px 58px minmax(0, 1fr) auto; gap: 2px 10px; align-items: baseline; padding: 5px 12px; cursor: pointer; }
.c-row:hover, .trow-main:hover { background: var(--hover); }
.c.open > .c-row { background: var(--blue-soft); }
.c-row .chev { color: var(--muted); font-size: 11px; }
.c-detail { padding: 4px 12px 12px 92px; }
.c-detail .body { white-space: pre-wrap; font: 12px/1.5 var(--mono); color: var(--text); background: var(--bg); border-radius: 6px; padding: 8px 10px; margin: 8px 0 0; max-height: 320px; overflow: auto; }
.facts-dl { display: grid; grid-template-columns: 110px 1fr; gap: 3px 12px; margin: 6px 0; font-size: 12.5px; }
.facts-dl dt { color: var(--muted); }
.facts-dl dd { margin: 0; }
.facts-dl .ver { margin-right: 3px; }
.facts-dl .sha { margin-right: 8px; font-size: 11.5px; }
.issue-detail h4 { font: 500 12.5px Rubik, sans-serif; margin: 12px 0 6px; color: var(--ink); }
.prs { list-style: none; margin: 0; padding: 0; font-size: 12.5px; }
.prs li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 3px 0; }
.prs .pr-title { color: var(--ink); }
.st { font: 500 10.5px/1 Rubik, sans-serif; padding: 3px 6px; border-radius: 4px; }
.st.ok { color: var(--green); background: color-mix(in srgb, var(--green) 14%, transparent); }
.st.bad { color: var(--red); background: color-mix(in srgb, var(--red) 12%, transparent); }
.st.wait { color: var(--orange); background: color-mix(in srgb, var(--orange) 14%, transparent); }
.verdict.ok { color: var(--green); background: color-mix(in srgb, var(--green) 14%, transparent); }
.none-found { margin: 0 0 6px; }

/* Settings extras */
.set label.wide { display: flex; flex-direction: column; gap: 3px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.set label.wide span { font: 500 12px Rubik, sans-serif; color: var(--text); }
.set textarea { font: 12.5px var(--mono); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 6px; padding: 6px 8px; resize: vertical; }
.meter { height: 6px; border-radius: 3px; background: var(--hover); overflow: hidden; max-width: 420px; }
.meter i { display: block; height: 100%; background: var(--blue); border-radius: 3px; }
.sum-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding-bottom: 6px; margin-bottom: 2px; border-bottom: 1px dashed var(--line); }
.sum-stats div { display: flex; flex-direction: column; }
.sum-stats b { font: 600 16px Rubik, sans-serif; color: var(--ink); font-variant-numeric: tabular-nums; }
.sum-stats span { font-size: 11px; color: var(--muted); }

/* ── Sign-in ─────────────────────────────────────────────────────────────── */
.top .who { margin-left: auto; margin-right: 10px; display: flex; align-items: center; gap: 10px; color: var(--text); }
.linkish { border: 0; background: none; color: var(--blue); cursor: pointer; font-size: 12.5px; padding: 0; }
.linkish:hover { text-decoration: underline; }
.btn:disabled { opacity: .5; cursor: default; }
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card { width: min(420px, 100%); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 28px 28px 22px; text-align: center; box-shadow: 0 20px 50px -30px rgb(0 0 0 / .35); animation: fade .3s ease-out both; }
.login-card .logo { height: 34px; margin: 0 auto 6px; }
.login-card h1 { font: 400 22px Rubik, sans-serif; color: var(--muted); margin: 0 0 14px; }
.login-card p { font-size: 14px; color: var(--text); margin: 0 0 18px; }
.login-card .gh { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; font-size: 14px; text-decoration: none; }
.login-card .gh svg { width: 18px; height: 18px; }
.login-card .fine { font-size: 12px; color: var(--muted); margin: 18px 0 0; }

/* ── Live updates ────────────────────────────────────────────────────────── */
.quiet *, .quiet { animation: none !important; }
.top .updated { margin-left: auto; margin-right: 14px; }
.top .updated + .who { margin-left: 0; }
.updated.flash { animation: flash 1.6s ease-out; }
@keyframes flash { 0% { color: var(--blue); } 100% { color: var(--muted); } }

/* ── Apps and bundled apps ───────────────────────────────────────────────── */
.blist > li { display: block; padding: 7px 12px; border-bottom: 1px solid var(--line); }
.blist .trow-main[data-toggle] { cursor: pointer; }
.blist .app-name { font: 500 13px var(--mono); color: var(--ink); text-decoration: none; flex: none; width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.blist .app-name:hover { text-decoration: underline; color: var(--blue); }
.blist .bver { flex: 1; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.blist .bver .ver { margin: 0 2px; }
.blist .verdict { flex: none; width: 128px; text-align: right; }
.blist .issue-detail { margin: 8px 0 4px 22px; }
a.ver { text-decoration: none; }
a.ver:hover { text-decoration: underline; }
.ver.bad { background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red); }
.h-ver { font-weight: 400; color: var(--muted); margin-left: 6px; }
.repo-pop ul { max-height: 60vh; overflow-y: auto; }
.repo-pop li.repo-group { font: 600 10.5px Rubik, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 10px 10px 4px; cursor: default; background: none; }
.repo-pop li.repo-group span { font-weight: 400; margin-left: 4px; }

/* ── Release header: charts and facts share one row ─────────────────────── */
.head-top { max-width: 900px; }
.head-row { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 10px; align-items: stretch; margin-top: 18px; }
.head-row .charts { margin: 0; grid-template-columns: repeat(3, minmax(0, .85fr)) minmax(0, 1.45fr); align-items: stretch; }
.head-row .facts { align-self: stretch; }
/* The tooltip carries the numbers; the legend only names the slices. */
.donut.compact .legend .num { display: none; }
.donut.compact .legend li { grid-template-columns: 8px 1fr; }
@media (max-width: 1250px) {
  .head-row .charts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1000px) { .head-row { grid-template-columns: 1fr; } }
.head-row .charts { grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 8px; }
.head-row .charts .panel { padding: 9px 10px; }
.head-row .donut.compact { gap: 8px; }
.head-row .donut.compact svg { width: 62px; height: 62px; }
.head-row .donut.compact .legend li { padding: 1px 3px; gap: 5px; }
/* Facts: the four counts on one line, so the panel is no taller than the charts. */
.head-row .facts { padding: 10px 12px; }
.head-row .facts-grid { grid-template-columns: repeat(4, 1fr); gap: 4px 6px; }
.head-row .facts-grid b { font-size: 15px; }
.head-row .facts-grid span { font-size: 10.5px; line-height: 1.2; }
.head-row { grid-template-columns: minmax(0, 1fr) minmax(280px, 26%); }
.head-row .smell-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); column-gap: 10px; }
.head-row .smells { margin: 8px 0 4px; }
.head-row .fetched { margin-top: 6px; }
.head-row .charts .panel { display: flex; flex-direction: column; }
.head-row .charts .donut { flex: 1; }
.head-row .smell-list { grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); column-gap: 8px; }
.head-row .smell-list button { font-size: 11.5px; padding: 2px 3px; }

/* ── Release header, one row: title and timeline | charts | smells ───────────
   Charts: three donuts side by side, the line chart under them across all
   three; smells to the right, as tall as both. Narrow screens put the title on
   its own row above. */
.release-head { display: grid; grid-template-columns: minmax(320px, 1fr) minmax(0, 2.3fr); gap: 28px; align-items: start; }
.release-head .head-top { max-width: none; min-width: 0; }
.release-head .head-row { margin-top: 0; grid-template-columns: minmax(0, 1fr) minmax(250px, 280px); }
.head-row .charts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.head-row .charts .panel.wide { grid-column: 1 / -1; }
@media (max-width: 1650px) {
  .release-head { grid-template-columns: minmax(0, 1fr); gap: 16px; }
}
@media (max-width: 1000px) { .release-head .head-row { grid-template-columns: 1fr; } }
.head-row .smell-list button span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
