/* ==========================================================================
   Lab register: experimental, scientific, technical, curious.
   Same parts as corporate, turned up: graph paper, yellow-led,
   instrument panels, report format, permanent experiment IDs.
   ========================================================================== */

body[data-register="lab"] {
  background-color: var(--bg);
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 64px 64px, 64px 64px, 8px 8px, 8px 8px;
}

/* Lab sub-bar: yellow strip */
.lab-sub { background: var(--c-yellow); border-bottom: 1.5px solid var(--c-graphite); color: #15181A; }
.lab-sub .lab-lock { border-color: #15181A; color: #15181A; }
.lab-sub .lab-lock .lab { background: #15181A; color: #F2C230; border-color: #15181A; }
.lab-sub nav a { color: #2A3033; }
.lab-sub nav a:hover { color: #15181A; background: rgba(21, 24, 26, .08); }
.lab-sub nav a.on { color: #15181A; box-shadow: inset 0 -2px 0 #15181A; }
.lab-clock { margin-left: auto; font-family: var(--f-mono); font-stretch: 87.5%; font-size: 11px; white-space: nowrap; display: inline-flex; gap: 8px; align-items: center; }

/* Ruler along the top of the masthead */
.ruler { height: 18px; border-bottom: 1px solid var(--ink); background-image: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 8px), repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 64px); background-size: 100% 6px, 100% 14px; background-repeat: no-repeat; background-position: bottom left, bottom left; opacity: .55; }

/* ---- Masthead ---- */
.lab-mast { padding-block: 56px 64px; }
.lab-mast-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: end; }
.lab-mast h1 { font-family: var(--f-display); font-stretch: 125%; font-weight: 780; font-size: clamp(44px, 6.4vw, 92px); line-height: .94; letter-spacing: -.04em; }
.lab-mast h1 .hl { padding: 0 .08em; }
.lab-mast .lead { margin-top: 22px; }
.lab-mast .row { margin-top: 26px; }
@media (max-width: 960px) { .lab-mast-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

.register-panel { background: var(--surface); border: 1.5px solid var(--ink); }
.register-panel .rp-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding: 18px 18px 14px; flex-wrap: wrap; }
.rp-total { font-family: var(--f-mono); font-stretch: 100%; font-weight: 700; font-size: clamp(64px, 8vw, 104px); line-height: .82; letter-spacing: -.05em; }
.rp-total small { display: block; font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.status-bar { display: flex; height: 26px; border-block: 1px solid var(--ink); }
.status-bar span { display: block; height: 100%; }
.status-bar span + span { border-left: 2px solid var(--surface); }
.sb-concluded { background: var(--ink); }
.sb-failed { background: var(--fail); }
.sb-inconclusive { background: var(--faint); }
.sb-active { background: var(--yellow); }
.sb-retracted { background: repeating-linear-gradient(135deg, var(--muted) 0 2px, transparent 2px 5px); }
.rp-legend { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rp-legend > div { padding: 10px 12px; display: grid; gap: 2px; border-right: 1px solid var(--line); }
.rp-legend > div:last-child { border-right: 0; }
.rp-legend dt { font-family: var(--f-mono); font-stretch: 87.5%; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.rp-legend dt i { width: 8px; height: 8px; display: inline-block; }
.rp-legend dd { font-family: var(--f-mono); font-stretch: 87.5%; font-size: 17px; font-weight: 600; }
@media (max-width: 560px) { .rp-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); } .rp-legend > div:nth-child(3) { border-right: 0; } .rp-legend > div:nth-child(n+4) { border-top: 1px solid var(--line); } }

/* ---- Running now console ---- */
.running { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.run-list { border-right: 1px solid var(--panel-line); }
.run-item { display: grid; grid-template-columns: 92px minmax(0, 1fr) 140px; gap: 16px; padding: 16px; border-bottom: 1px solid var(--panel-line); align-items: center; }
.run-item:last-child { border-bottom: 0; }
.run-item .id { font-family: var(--f-mono); font-stretch: 87.5%; font-size: 12px; font-weight: 600; color: var(--yellow); }
.run-item strong { font-weight: 600; font-size: 15px; line-height: 1.35; display: block; }
.run-item .meta { color: var(--panel-muted); font-size: 10.5px; margin-top: 3px; display: block; }
.run-item .runs-bar { background: var(--panel-2); border-color: var(--panel-line); }
.run-item .runs-bar span { background: var(--panel-ink); }
.run-item .runs .meta { margin: 0; }
.logbox { padding: 12px 14px; font-family: var(--f-mono); font-stretch: 87.5%; font-size: 11px; line-height: 1.7; color: var(--panel-muted); height: 100%; min-height: 220px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.logbox div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logbox .ok { color: #7FD1A8; } .logbox .warn { color: var(--yellow); } .logbox .bad { color: #F0705C; }
.logbox div:last-child { color: var(--panel-ink); }
.logbox .new { animation: logIn 300ms var(--ease); }
@keyframes logIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .running { grid-template-columns: minmax(0, 1fr); } .run-list { border-right: 0; border-bottom: 1px solid var(--panel-line); } .run-item { grid-template-columns: 76px minmax(0, 1fr); } .run-item .runs { grid-column: 1 / -1; } }

/* ---- Featured experiment ---- */
.feat { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); border: 1.5px solid var(--ink); background: var(--surface); transition: box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.feat:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.feat-copy { padding: 28px; display: grid; gap: 18px; align-content: start; border-right: 1px solid var(--line); }
.feat-copy h3 { font-family: var(--f-display); font-stretch: 118%; font-weight: 720; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.08; letter-spacing: -.025em; }
.feat .verdict-mini { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--ink); }
.verdict-mini > div { padding: 10px; display: grid; gap: 2px; }
.verdict-mini > div + div { border-left: 1px solid var(--ink); }
.verdict-mini .win { background: var(--yellow); color: #15181A; }
.verdict-mini .win .eyebrow { color: #15181A; }
.verdict-mini strong { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 17px; }
.feat .console { border: 0; border-left: 0; }
@media (max-width: 960px) { .feat { grid-template-columns: minmax(0, 1fr); } .feat-copy { border-right: 0; border-bottom: 1px solid var(--line); padding: 20px; } }

/* ---- Register controls ---- */
.reg-controls { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.fbtns { display: flex; flex-wrap: wrap; gap: 6px; }
.fbtns button, .viewbtns button { font-family: var(--f-mono); font-stretch: 87.5%; font-size: 11px; letter-spacing: .04em; padding: 7px 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink-2); cursor: pointer; transition: all var(--t-fast) var(--ease); }
.fbtns button:hover, .viewbtns button:hover { border-color: var(--ink); color: var(--ink); }
.fbtns button.on, .viewbtns button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.viewbtns { display: flex; }
.viewbtns button + button { border-left: 0; }

/* ---- Experiment cards ---- */
.xgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1080px) { .xgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .xgrid { grid-template-columns: minmax(0, 1fr); } }
.xcard { background: var(--surface); border: 1px solid var(--line-strong); padding: 18px; display: grid; gap: 14px; align-content: start; position: relative; overflow: hidden; transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.xcard:hover { border-color: var(--ink); transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.xcard .bigid { position: absolute; right: 10px; bottom: -10px; font-family: var(--f-mono); font-stretch: 100%; font-weight: 700; font-size: 64px; letter-spacing: -.05em; color: var(--ink); opacity: .06; pointer-events: none; }
.xcard .xhead { display: flex; justify-content: space-between; gap: 10px; align-items: center; position: relative; }
.xcard h3 { font-family: var(--f-display); font-stretch: 106%; font-weight: 650; font-size: 17.5px; line-height: 1.32; letter-spacing: -.005em; }
.xcard .xviz { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 12px; min-height: 120px; display: grid; align-content: center; }
.xcard .xres { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.xcard .xres b { color: var(--ink); font-weight: 620; }
.xcard .xfoot { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--f-mono); font-stretch: 87.5%; font-size: 10.5px; color: var(--muted); }
.xcard.x-fail { border-color: var(--fail); }
.xcard.x-inc { border-style: dashed; }
.xcard.x-retracted h3 { text-decoration: line-through; text-decoration-color: var(--muted); color: var(--muted); }
.xcard.x-running { border-color: var(--ink); }
.xcard.x-running::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: linear-gradient(90deg, var(--yellow) 0 30%, transparent 30%); background-size: 200% 100%; animation: scan 2.4s linear infinite; }
@keyframes scan { from { background-position: 100% 0; } to { background-position: -100% 0; } }

.outcome-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 3px; }
.outcome-grid i { aspect-ratio: 1; display: block; background: var(--ink); opacity: .85; }
.outcome-grid i.fix { background: var(--faint); opacity: 1; }
.outcome-grid i.bad { background: var(--fail); opacity: 1; }

/* Register table view */
.xtable td .chip { padding: 3px 6px; font-size: 9.5px; }
.xtable td:first-child { font-family: var(--f-mono); font-stretch: 87.5%; font-weight: 600; white-space: nowrap; }
.xtable a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Failure wall ---- */
.fwall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .fwall { grid-template-columns: minmax(0, 1fr); } }
.fcard { background: var(--surface); border: 1px solid var(--fail); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.fcard.inc { border: 1px dashed var(--line-strong); }
.fcard.ret { border-color: var(--line-strong); }
.fcard > div { padding: 18px; display: grid; gap: 10px; align-content: start; }
.fcard > div + div { border-left: 1px solid var(--line); background: var(--bg); }
.fcard h3 { font-family: var(--f-display); font-stretch: 106%; font-weight: 650; font-size: 17px; line-height: 1.32; }
.fcard p { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.fcard .keep { font-size: 14px; line-height: 1.5; }
.fcard .keep b { font-weight: 620; }
@media (max-width: 560px) { .fcard { grid-template-columns: minmax(0, 1fr); } .fcard > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* ---- Methods ---- */
.protocol { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1.5px solid var(--ink); background: var(--surface); counter-reset: step; }
.protocol > div { padding: 16px; border-right: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.protocol > div:last-child { border-right: 0; }
.protocol .n { font-family: var(--f-mono); font-stretch: 100%; font-weight: 700; font-size: 28px; letter-spacing: -.04em; }
.protocol strong { font-weight: 650; font-size: 15.5px; }
.protocol p { font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
@media (max-width: 1000px) { .protocol { grid-template-columns: repeat(3, minmax(0, 1fr)); } .protocol > div:nth-child(3) { border-right: 0; } .protocol > div:nth-child(n+4) { border-top: 1px solid var(--line); } }
@media (max-width: 560px) { .protocol { grid-template-columns: repeat(2, minmax(0, 1fr)); } .protocol > div:nth-child(3) { border-right: 1px solid var(--line); } .protocol > div:nth-child(2n) { border-right: 0; } .protocol > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
.methods-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px; margin-top: 24px; align-items: start; }
@media (max-width: 900px) { .methods-grid { grid-template-columns: minmax(0, 1fr); } }

.lab-sub-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; max-width: 520px; }
.lab-sub-form input { background: var(--surface); }

/* ==========================================================================
   Experiment detail page
   ========================================================================== */
.x-head { padding-block: 40px 40px; display: grid; gap: 22px; }
.crumbs { font-family: var(--f-mono); font-stretch: 87.5%; font-size: 11px; color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.x-title { font-family: var(--f-display); font-stretch: 118%; font-weight: 740; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.02; letter-spacing: -.03em; max-width: 22ch; }
.x-status { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hyp { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: baseline; padding: 14px 16px; border: 1px dashed var(--line-strong); background: var(--surface); font-size: 16px; line-height: 1.5; }
.hyp .res { font-family: var(--f-mono); font-stretch: 87.5%; font-size: 11px; padding: 4px 8px; border: 1px solid var(--ink); white-space: nowrap; }
@media (max-width: 640px) { .hyp { grid-template-columns: minmax(0, 1fr); gap: 8px; } }
.verdict { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1.5px solid var(--ink); background: var(--surface); }
.verdict > div { padding: 18px; display: grid; gap: 4px; }
.verdict > div + div { border-left: 1px solid var(--ink); }
.verdict .win { background: var(--yellow); color: #15181A; }
.verdict .win .eyebrow, .verdict .win .meta { color: #15181A; }
.verdict .v { font-family: var(--f-display); font-stretch: 118%; font-weight: 740; font-size: 28px; letter-spacing: -.02em; line-height: 1.05; }
@media (max-width: 700px) { .verdict { grid-template-columns: minmax(0, 1fr); } .verdict > div + div { border-left: 0; border-top: 1px solid var(--ink); } }
.deploy { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; background: var(--ink); color: var(--bg); padding: 18px 20px; }
.deploy .impl-lock { background: var(--bg); color: var(--ink); font-family: var(--f-mono); font-weight: 600; font-size: 11px; letter-spacing: .1em; padding: 6px 9px; line-height: 1; white-space: nowrap; }
.deploy p { font-size: 16px; line-height: 1.5; }
@media (max-width: 600px) { .deploy { grid-template-columns: minmax(0, 1fr); } }

.x-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: start; padding-bottom: 96px; }
.x-rail { position: sticky; top: calc(var(--nav-h) + 64px); display: grid; gap: 16px; }
.x-rail .box { background: var(--surface); border: 1px solid var(--line-strong); }
.x-rail .box > * { padding: 12px 14px; }
.x-rail .box h4 { font-family: var(--f-mono); font-stretch: 87.5%; font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); }
.x-toc { list-style: none; display: grid; gap: 0; padding: 6px 0 !important; }
.x-toc a { display: grid; grid-template-columns: 28px 1fr; padding: 6px 14px; font-size: 14px; color: var(--ink-2); transition: background var(--t-fast) var(--ease); }
.x-toc a:hover { background: var(--surface-2); color: var(--ink); }
.x-toc a span:first-child { font-family: var(--f-mono); font-stretch: 87.5%; font-size: 11px; color: var(--muted); padding-top: 2px; }
.x-keys { display: grid; gap: 0; padding: 0 !important; }
.x-keys > div { display: flex; justify-content: space-between; gap: 10px; padding: 9px 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.x-keys > div:last-child { border-bottom: 0; }
.x-keys b { font-family: var(--f-mono); font-stretch: 87.5%; font-weight: 500; font-size: 12.5px; }
.x-files { display: grid; gap: 6px; font-family: var(--f-mono); font-stretch: 87.5%; font-size: 11.5px; }
.x-files a { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.x-files a:hover { color: var(--ink); background: var(--yellow); }
@media (max-width: 1080px) { .x-layout { grid-template-columns: minmax(0, 1fr); } .x-rail { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); } }

.x-sec { padding-top: 56px; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); scroll-margin-top: calc(var(--nav-h) + 60px); }
.x-sec > .sh { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; align-items: baseline; border-top: 2px solid var(--ink); padding-top: 12px; }
.x-sec > .sh .n { font-family: var(--f-mono); font-stretch: 87.5%; font-size: 12px; font-weight: 600; }
.x-sec > .sh h2 { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.02em; line-height: 1.15; }
.x-sec .prose { max-width: 70ch; }

.contenders { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1000px) { .contenders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .contenders { grid-template-columns: minmax(0, 1fr); } }
.cont { background: var(--surface); border: 1px solid var(--line-strong); display: grid; align-content: start; }
.cont.ref { border-style: dashed; }
.cont-head { padding: 14px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.cont-head .sw { width: 22px; height: 6px; display: block; }
.cont-head strong { font-family: var(--f-display); font-stretch: 112%; font-weight: 700; font-size: 20px; }
.cont dl { display: grid; }
.cont dl > div { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 7px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.cont dl > div:last-child { border-bottom: 0; }
.cont dt { color: var(--muted); }
.cont dd { font-family: var(--f-mono); font-stretch: 87.5%; font-size: 11.5px; text-align: right; }

.env { background: var(--surface); border: 1px solid var(--line-strong); overflow-x: auto; padding: 18px; }
.env svg { display: block; width: 100%; min-width: 760px; height: auto; }

.method-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-strong); background: var(--surface); }
.method-grid > div { padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 4px; font-size: 14px; line-height: 1.5; align-content: start; }
.method-grid > div:nth-child(3n) { border-right: 0; }
.method-grid b { font-family: var(--f-mono); font-stretch: 87.5%; font-size: 9.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
@media (max-width: 800px) { .method-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .method-grid > div:nth-child(3n) { border-right: 1px solid var(--line); } .method-grid > div:nth-child(2n) { border-right: 0; } }
@media (max-width: 520px) { .method-grid { grid-template-columns: minmax(0, 1fr); } .method-grid > div { border-right: 0 !important; } }

.fig { background: var(--surface); border: 1px solid var(--line-strong); }
.fig-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 12px 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.fig-head strong { font-weight: 650; font-size: 15px; }
.fig-body { padding: 16px; }
.fig-foot { padding: 10px 16px; border-top: 1px solid var(--line); font-family: var(--f-mono); font-stretch: 87.5%; font-size: 10.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fig-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.fig-pair > * { min-width: 0; }
.fig-body.chart svg { max-height: 400px; }

table.results td.r, table.results th.r { text-align: right; }
table.results td.best::after { content: " BEST"; font-size: 9px; letter-spacing: .08em; font-weight: 500; }
table.results .ref { color: var(--muted); border-left: 1px dashed var(--line-strong); }

.findings { list-style: none; counter-reset: f; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.findings li { counter-increment: f; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.findings li::before { content: "F" counter(f, decimal-leading-zero); font-family: var(--f-mono); font-stretch: 87.5%; font-size: 12px; font-weight: 600; color: var(--ink); padding-top: 3px; }
.findings b { color: var(--ink); font-weight: 620; }
.jsonl pre { font-size: 11.5px; line-height: 1.7; }
.jsonl .k { color: #9DB0FF; } .jsonl .s { color: #F2C230; } .jsonl .n { color: #B7E4CF; } .jsonl .bad { color: #F0705C; }

.changelog { list-style: none; border-left: 1px solid var(--ink); display: grid; gap: 0; }
.changelog li { position: relative; padding: 0 0 18px 20px; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); display: grid; gap: 2px; }
.changelog li::before { content: ""; position: absolute; left: -5px; top: 5px; width: 9px; height: 9px; background: var(--surface); border: 1.5px solid var(--ink); }
.changelog li:first-child::before { background: var(--yellow); }
.changelog b { color: var(--ink); font-weight: 620; }

.cto-cameo { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--blue); background: var(--surface); transition: box-shadow var(--t-fast) var(--ease); }
.cto-cameo:hover { box-shadow: inset 4px 0 0 var(--blue); }
.cto-cameo .meta { color: var(--blue); }
.cto-cameo strong { font-family: var(--f-display); font-stretch: 112%; font-weight: 680; font-size: 19px; line-height: 1.3; display: block; margin-top: 4px; }
.cto-cameo .arr { color: var(--blue); font-size: 20px; }
.related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .related { grid-template-columns: minmax(0, 1fr); } }
