/* ── tokens ─────────────────────────────────────────── */
:root {
  --bg: #070707;
  --bg-panel: rgba(14, 14, 14, 0.72);
  --fg: #9e9e9e;              /* основной серый */
  --fg-bright: #eaeaea;       /* белый — редко: имя, заголовки */
  --fg-dim: #565656;          /* приглушённый серый */
  --green: #3fd06b;           /* зелёный — только команды и промпт */
  --green-dim: #2e7d47;
  --green-soft: rgba(63, 208, 107, 0.10);
  --line: rgba(158, 158, 158, 0.14);
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scrollbar-color: var(--fg-dim) var(--bg); }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.75;
  min-height: 100vh;
}

::selection { background: var(--green); color: var(--bg); }

/* канвас с симплициальным комплексом */
#mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── каркас ─────────────────────────────────────────── */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

/* верхняя строка-приглашение */
header.prompt {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6em;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 40px;
}

.host { color: var(--fg-dim); }
.host b { color: var(--green); font-weight: 500; }

nav { display: flex; gap: 1.4em; margin-left: auto; }

nav a {
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 0.15s;
}
nav a::before { content: "./"; opacity: 0.5; }
nav a:hover { color: var(--fg); }
nav a[aria-current="page"] { color: var(--fg-bright); }
nav a:focus-visible {
  outline: 1px solid var(--green);
  outline-offset: 3px;
}

/* ── типографика контента ───────────────────────────── */
h1 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fg-bright);
  margin-bottom: 8px;
}

.cmd { color: var(--green-dim); margin-bottom: 4px; }
.cmd::before { content: "$ "; color: var(--green); }

.cursor {
  display: inline-block;
  width: 0.6em;
  height: 1.1em;
  background: var(--green);
  vertical-align: text-bottom;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

section { margin-top: 56px; }

/* заголовок раздела: Δ + имя */
h2 {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 20px;
}
h2::before { content: "Δ "; color: var(--fg-dim); }

p { margin-bottom: 1em; max-width: 62ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--fg-bright); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--fg-dim); }
a:hover { text-decoration-color: var(--green); }

.dim { color: var(--fg-dim); }

/* ── список-вывод (блог, ссылки) ────────────────────── */
ul.out { list-style: none; }

ul.out li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4em 1em;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

ul.out .date {
  color: var(--fg-dim);
  font-size: 0.85em;
  min-width: 7.5em;
}

ul.out .tag {
  margin-left: auto;
  font-size: 0.8em;
  color: var(--fg-dim);
}
ul.out .tag::before { content: "["; }
ul.out .tag::after { content: "]"; }

/* ── карточки исследований ──────────────────────────── */
.node {
  position: relative;
  border: 1px solid var(--line);
  background: var(--bg-panel);
  backdrop-filter: blur(2px);
  padding: 20px 22px;
  margin-bottom: 18px;
}
/* вершины на углах — намёк на 0-симплексы */
.node::before, .node::after {
  content: "";
  position: absolute;
  width: 5px; height: 5px;
  background: var(--fg-dim);
  border-radius: 50%;
}
.node::before { top: -3px; left: -3px; }
.node::after { bottom: -3px; right: -3px; }

.node h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.node h3 .idx { color: var(--fg-dim); font-weight: 400; }

/* иконка проекта */
.node .icon {
  display: inline-block;
  min-width: 1.5em;
  color: var(--fg-bright);
  font-weight: 400;
}

/* список публикаций внутри карточки */
ul.papers { list-style: none; margin-top: 12px; }
ul.papers li {
  position: relative;
  padding: 8px 0 8px 1.4em;
  border-top: 1px dashed var(--line);
  font-size: 0.92em;
}
ul.papers li::before {
  content: "↳";
  position: absolute;
  left: 0;
  color: var(--fg-dim);
}
.venue {
  color: var(--fg-dim);
  font-size: 0.85em;
  white-space: nowrap;
}
.venue::before { content: "["; }
.venue::after { content: "]"; }

.node .status {
  display: inline-block;
  font-size: 0.75em;
  color: var(--green);
  background: var(--green-soft);
  padding: 1px 8px;
  margin-bottom: 10px;
}
.node .status.unknown {
  color: var(--fg-dim);
  background: rgba(158, 158, 158, 0.08);
}
.qed { color: var(--fg-bright); }

/* пары key: value как в конфиге */
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: 4px 18px; }
dl.kv dt { color: var(--fg-dim); }
dl.kv dt::after { content: ":"; }

footer {
  margin-top: 80px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--fg-dim);
  font-size: 0.85em;
}

/* ── blog post ──────────────────────────────────────── */
.wrap.wrap--wide { max-width: 1140px; }

.wrap.wrap--wide .post p,
.wrap.wrap--wide .post blockquote,
.wrap.wrap--wide .post ul,
.wrap.wrap--wide .post ol,
.wrap.wrap--wide .post figure {
  max-width: 93ch;
}

.post .meta {
  margin-bottom: 2.5em;
  font-size: 0.85em;
  color: var(--fg-dim);
  padding-left: 1em;
  border-left: 2px solid var(--green-dim);
}
.post .meta .when { color: var(--green); }

.post .back { color: inherit; text-decoration: none; }
.post .back:hover { color: var(--green); text-decoration: none; }

.post > h1::after {
  content: "";
  display: inline-block;
  width: 0.55em;
  height: 1.05em;
  background: var(--green);
  margin-left: 0.12em;
  vertical-align: text-bottom;
  animation: blink 1.1s steps(1) infinite;
}

.post h2 {
  margin-top: 2.8em;
  margin-bottom: 0.9em;
}
.post h2::before { content: "## "; color: var(--green-dim); }

.post h3 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--fg-bright);
  margin: 2em 0 0.8em;
}

.post p,
.post blockquote,
.post ul,
.post ol,
.post figure {
  max-width: 62ch;
}

.post ul,
.post ol {
  list-style: none;
  margin: 0 0 1em;
  padding-left: 1.2em;
}
.post ul li,
.post ol li {
  position: relative;
  padding: 0.35em 0;
}
.post ul li::before {
  content: "-";
  position: absolute;
  left: -1.2em;
  color: var(--green-dim);
}

.post blockquote {
  border-left: 2px solid var(--green);
  padding: 0.2em 0 0.2em 1em;
  margin: 1.2em 0;
  color: var(--fg-bright);
  background: var(--green-soft);
}

.post .blog-figure {
  position: relative;
  margin: 1.8em 0 2.2em;
  border: 1px solid var(--line);
  border-left: 2px solid var(--green-dim);
  background: var(--bg-panel);
  padding: 12px;
}
.post .blog-figure::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
}
.post .blog-figure img {
  display: block;
  width: 100%;
  height: auto;
}
.post .blog-figure figcaption {
  margin-top: 10px;
  font-size: 0.82em;
  color: var(--fg-dim);
  line-height: 1.5;
}
.post .blog-figure figcaption::before {
  content: "fig. ";
  color: var(--green-dim);
}

.post .lead {
  color: var(--fg-bright);
  font-size: 1.05em;
  line-height: 1.85;
  margin-top: 2em;
}

.post .pipeline-toggle {
  display: inline-flex;
  margin-left: 0.45em;
  padding: 1px 7px;
  vertical-align: baseline;
  color: var(--green-dim);
  background: rgba(63, 208, 107, 0.06);
  border: 1px solid rgba(46, 125, 71, 0.4);
  font-family: var(--mono);
  font-size: 0.76em;
  line-height: 1.5;
  cursor: pointer;
}
.post .pipeline-toggle:hover,
.post .pipeline-toggle:focus-visible {
  color: var(--green);
  border-color: var(--green);
  outline: none;
}
.post .pipeline-scheme {
  max-width: 93ch;
  margin: 0.6em 0 1.5em;
  padding: 10px;
  background: rgba(5, 5, 5, 0.94);
  border: 1px solid var(--line);
  border-left: 2px solid var(--green-dim);
}
.post .pipeline-scheme[hidden] {
  display: none;
}
.post .pipeline-scheme img {
  display: block;
  width: 100%;
  height: auto;
}

/* ── embedded Sage console ─────────────────────────── */
.post .sage-console {
  max-width: 93ch;
  margin: 1.8em 0 2.2em;
  border: 1px solid var(--line);
  border-left: 2px solid var(--green-dim);
  background: rgba(5, 5, 5, 0.94);
}
.post .sage-console-bar {
  display: flex;
  justify-content: space-between;
  gap: 1em;
  padding: 7px 11px;
  color: var(--fg-dim);
  border-bottom: 1px solid var(--line);
  font-size: 0.78em;
}
.post .sage-console-bar b {
  color: var(--green);
  font-weight: 500;
}
.post .sage-console-status {
  color: var(--green-dim);
}
.post .sage-console-input {
  padding: 12px 12px 8px;
}
.post .sage-console .sagecell,
.post .sage-console .sagecell_input,
.post .sage-console .sagecell_output {
  color: var(--fg) !important;
  background: transparent !important;
  font-family: var(--mono) !important;
}
.post .sage-console .sagecell_commands {
  display: block !important;
  width: 100% !important;
  height: 126px !important;
  min-height: 90px !important;
  padding: 12px !important;
  resize: vertical !important;
  color: var(--green) !important;
  caret-color: var(--green) !important;
  background: #020202 !important;
  border: 1px solid rgba(63, 208, 107, 0.28) !important;
  border-radius: 0 !important;
  outline: none !important;
  font-family: var(--mono) !important;
  font-size: 13px !important;
  line-height: 1.65 !important;
  tab-size: 2;
}
.post .sage-console .sagecell_commands:focus {
  border-color: var(--green) !important;
  box-shadow: 0 0 0 1px rgba(63, 208, 107, 0.12) !important;
}
.post .sage-console button.sagecell_evalButton {
  display: block !important;
  min-width: 0 !important;
  margin: 8px 0 0 !important;
  padding: 3px 12px !important;
  color: var(--green) !important;
  background: var(--green-soft) !important;
  border: 1px solid var(--green-dim) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: var(--mono) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  text-shadow: none !important;
  cursor: pointer !important;
}
.post .sage-console button.sagecell_evalButton:hover,
.post .sage-console button.sagecell_evalButton:focus-visible {
  color: var(--bg) !important;
  background: var(--green) !important;
  border-color: var(--green) !important;
}
.post .sage-console-output-label {
  padding: 5px 12px;
  color: var(--fg-dim);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 0.74em;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.post .sage-console-output {
  min-height: 72px;
  padding: 10px 12px;
  color: var(--fg-bright);
  background: #020202;
}
.post .sage-console-output:empty::before,
.post .sage-console-output .sagecell_output_elements:empty::before {
  content: "run the code to see output";
  color: var(--fg-dim);
  font-size: 0.82em;
}
.post .sage-console .sagecell_output_elements {
  margin: 0 !important;
}
.post .sage-console .sagecell_sessionOutput {
  min-height: 1.4em !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--fg-bright) !important;
  background: transparent !important;
  border: 0 !important;
  font-family: var(--mono) !important;
}
.post .sage-console .sagecell_sessionOutput pre {
  color: var(--fg-bright) !important;
  background: transparent !important;
  font-family: var(--mono) !important;
  white-space: pre-wrap !important;
}
.post .sage-console .sagecell_poweredBy {
  display: none !important;
}
.post .sage-console-error {
  color: #d56565;
  font-size: 0.82em;
}

.post .finding {
  max-width: 93ch;
  margin: 1.5em 0 2em;
  padding: 16px 18px;
  border: 1px solid var(--green-dim);
  border-left: 3px solid var(--green);
  background: var(--green-soft);
}
.post .finding-label {
  display: block;
  margin-bottom: 0.45em;
  color: var(--green);
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.post .finding p {
  color: var(--fg-bright);
  margin: 0;
}

.post .figure-light {
  background: var(--bg-panel);
}
.post .figure-light figcaption {
  color: var(--fg-dim);
}
.post .figure-light:has(.figure-toggle[open]) {
  background: #f4f4f0;
}
.post .figure-light:has(.figure-toggle[open]) figcaption {
  color: #4b4b47;
}
.post .figure-toggle summary {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  color: var(--green-dim);
  background: rgba(63, 208, 107, 0.08);
  border: 1px solid rgba(46, 125, 71, 0.45);
  padding: 3px 9px;
  font-size: 0.75em;
  line-height: 1.5;
  user-select: none;
}
.post .figure-toggle summary::-webkit-details-marker {
  display: none;
}
.post .figure-toggle summary::before {
  content: "+ ";
  color: var(--green);
  margin-right: 0.35em;
}
.post .figure-toggle[open] summary::before {
  content: "− ";
}
.post .figure-toggle summary:hover {
  color: var(--green);
  border-color: var(--green);
}
.post .figure-toggle summary:focus-visible {
  outline: 1px solid var(--green);
  outline-offset: 3px;
}
.post .figure-toggle .when-open {
  display: none;
}
.post .figure-toggle[open] .when-open {
  display: inline;
}
.post .figure-toggle[open] .when-closed {
  display: none;
}
.post .figure-toggle img {
  margin-top: 12px;
}
.post .figure-dark {
  background: rgba(14, 14, 14, 0.9);
}
.post .figure-dark img {
  filter: invert(1) hue-rotate(180deg) brightness(1.08);
}
.wrap.wrap--wide .post .figure-interactive {
  max-width: none;
  width: 100%;
  background: rgba(8, 8, 8, 0.94);
  border-left-color: var(--green);
}
.post .solve-rate-chart {
  position: relative;
  width: 100%;
  overflow: visible;
}
.post .solve-rate-svg {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  overflow: visible;
}
.post .chart-grid {
  stroke: rgba(158, 158, 158, 0.16);
  stroke-width: 1;
}
.post .chart-axis-label,
.post .chart-axis-title,
.post .chart-model-label,
.post .chart-value,
.post .chart-legend text {
  fill: var(--fg);
  font-family: var(--mono);
}
.post .chart-axis-label,
.post .chart-axis-title,
.post .chart-legend text {
  font-size: 13px;
}
.post .chart-model-label {
  font-size: 11px;
}
.post .chart-value {
  fill: var(--fg-bright);
  font-size: 10px;
}
.post .chart-lift-label {
  fill: var(--green);
  font-family: var(--mono);
  font-size: 10px;
}
.post .legend-no-tool {
  fill: var(--fg);
  opacity: 0.42;
}
.post .legend-tool {
  fill: var(--fg-bright);
}
.post .model-group {
  outline: none;
  transition: opacity 0.15s ease;
}
.post .model-hit-area {
  fill: transparent;
  pointer-events: all;
}
.post .bar {
  transition: opacity 0.15s ease, filter 0.15s ease, stroke 0.15s ease;
}
.post .bar-no-tool {
  opacity: 0.45;
}
.post .bar-tool {
  opacity: 1;
}
.post .chart-whisker {
  stroke: var(--fg-bright);
  stroke-width: 1.2;
  pointer-events: none;
}
.post .solve-rate-svg.has-active .model-group:not(.is-active) {
  opacity: 0.25;
}
.post .model-group.is-active .bar {
  stroke: var(--green);
  stroke-width: 2;
  opacity: 1;
  filter: drop-shadow(0 0 7px rgba(63, 208, 107, 0.8));
}
.post .model-group:focus .model-hit-area {
  stroke: var(--green);
  stroke-width: 1;
  stroke-dasharray: 4 4;
}
.post .chart-tooltip {
  position: fixed;
  z-index: 20;
  width: min(380px, calc(100vw - 20px));
  padding: 13px 15px;
  color: var(--green);
  background: #030303;
  border: 1px solid var(--green);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.65);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  pointer-events: none;
}
.post .chart-tooltip strong {
  display: block;
  margin-bottom: 4px;
  color: var(--green);
  font-size: 1.08em;
}
.post .chart-tooltip-metrics {
  display: block;
  margin-bottom: 8px;
  color: var(--fg-bright);
  font-size: 0.88em;
}
.post .chart-tooltip p {
  color: var(--green);
  margin: 0;
}
.post .efficiency-chart {
  position: relative;
  width: 100%;
  overflow: visible;
}
.post .efficiency-svg {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  overflow: visible;
}
.post .chart-axis-line {
  stroke: rgba(234, 234, 234, 0.5);
  stroke-width: 1;
}
.post .legend-zero-shot {
  fill: var(--fg-bright);
  opacity: 0.55;
}
.post .legend-agentic {
  fill: var(--fg-bright);
}
.post .efficiency-point-group {
  outline: none;
  transition: opacity 0.14s ease;
}
.post .efficiency-hit-area {
  fill: transparent;
  pointer-events: all;
}
.post .efficiency-marker {
  stroke: rgba(234, 234, 234, 0.38);
  stroke-width: 1.5;
  transition: fill 0.14s ease, stroke 0.14s ease, filter 0.14s ease, transform 0.14s ease;
  transform-box: fill-box;
  transform-origin: center;
}
.post .marker-zero-shot {
  opacity: 0.72;
}
.post .efficiency-point-label {
  fill: var(--fg);
  font-family: var(--mono);
  font-size: 10px;
  paint-order: stroke;
  stroke: var(--bg);
  stroke-width: 3px;
  stroke-linejoin: round;
  transition: opacity 0.14s ease, fill 0.14s ease;
  pointer-events: none;
}
.post .efficiency-svg.has-active .efficiency-point-group:not(.is-active) {
  opacity: 0.12;
}
.post .efficiency-point-group.is-active .efficiency-marker {
  fill: var(--green);
  stroke: var(--fg-bright);
  stroke-width: 2.2;
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(63, 208, 107, 0.95));
  transform: scale(1.35);
}
.post .efficiency-point-group.is-active .efficiency-point-label {
  fill: var(--green);
  opacity: 1;
}
.post .efficiency-point-group:focus .efficiency-hit-area {
  stroke: var(--green);
  stroke-width: 1;
  stroke-dasharray: 3 3;
}
.post .efficiency-guide {
  opacity: 0;
  stroke: var(--green);
  stroke-width: 1.4;
  stroke-dasharray: 7 6;
  pointer-events: none;
}
.post .efficiency-guide.is-visible {
  opacity: 0.9;
  animation: guide-draw 0.18s linear both;
}
@keyframes guide-draw {
  from { stroke-dashoffset: 90; }
  to { stroke-dashoffset: 0; }
}
.post .category-chart {
  position: relative;
  width: 100%;
  overflow: visible;
}
.post .category-grid {
  display: grid;
  grid-template-columns: minmax(160px, 1.45fr) repeat(7, minmax(72px, 1fr));
  gap: 3px;
  width: 100%;
}
.post .category-corner,
.post .category-header,
.post .category-row-label {
  display: flex;
  justify-content: center;
  flex-direction: column;
  min-width: 0;
  padding: 7px 8px;
  color: var(--fg-dim);
  background: rgba(14, 14, 14, 0.88);
  border: 1px solid var(--line);
  font-family: var(--mono);
  transition: color 0.13s ease, border-color 0.13s ease, background 0.13s ease;
}
.post .category-corner {
  color: var(--green-dim);
  font-size: 0.7em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.post .category-header {
  min-height: 72px;
  text-align: center;
  line-height: 1.25;
}
.post .category-header strong {
  color: var(--fg);
  font-size: 0.75em;
  font-weight: 500;
}
.post .category-header span {
  margin-top: 3px;
  font-size: 0.62em;
}
.post .category-header small {
  margin-top: 3px;
  color: var(--fg-dim);
  font-size: 0.58em;
}
.post .category-row-label {
  align-items: flex-start;
  min-height: 46px;
  font-size: 0.75em;
  white-space: nowrap;
}
.post .category-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-width: 0;
  min-height: 46px;
  padding: 4px 3px;
  color: var(--fg-bright);
  background: hsl(var(--heat-hue) 46% 18%);
  border: 1px solid hsl(var(--heat-hue) 38% 28%);
  border-radius: 0;
  font-family: var(--mono);
  line-height: 1.2;
  cursor: crosshair;
  transition: opacity 0.13s ease, color 0.13s ease, border-color 0.13s ease, background 0.13s ease, box-shadow 0.13s ease;
}
.post .category-cell strong {
  font-size: 0.75em;
  font-weight: 500;
}
.post .category-cell span {
  margin-top: 2px;
  color: rgba(234, 234, 234, 0.62);
  font-size: 0.58em;
}
.post .category-grid.has-active .category-cell:not(.is-active) {
  opacity: 0.28;
}
.post .category-cell.is-active {
  position: relative;
  z-index: 2;
  color: var(--bg);
  background: var(--green);
  border-color: var(--fg-bright);
  box-shadow: 0 0 0 1px var(--green), 0 0 14px rgba(63, 208, 107, 0.55);
  outline: none;
}
.post .category-cell.is-active span {
  color: rgba(7, 7, 7, 0.68);
}
.post .category-row-label.is-active,
.post .category-header.is-active {
  color: var(--green);
  background: var(--green-soft);
  border-color: var(--green-dim);
}
.post .category-header.is-active strong,
.post .category-header.is-active small {
  color: var(--green);
}
.post .figure-trace,
.post .figure-tall {
  max-width: 72ch;
}

.post code {
  color: var(--fg-bright);
  background: rgba(158, 158, 158, 0.08);
  padding: 0.08em 0.3em;
}

.post ol.stages {
  counter-reset: stage;
  padding-left: 0;
}
.post ol.stages li {
  counter-increment: stage;
  padding: 0.75em 0 0.75em 3.2em;
  border-bottom: 1px dashed var(--line);
}
.post ol.stages li::before {
  content: "0" counter(stage);
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.82em;
}

@media (max-width: 560px) {
  header.prompt { flex-direction: column; gap: 10px; }
  nav { margin-left: 0; }
  ul.out .tag { margin-left: 0; }
  .post .figure-trace,
  .post .figure-tall { max-width: 100%; }
  .post .solve-rate-svg { min-width: 0; }
  .post .category-grid {
    grid-template-columns: minmax(105px, 1.35fr) repeat(7, minmax(42px, 1fr));
    gap: 2px;
  }
  .post .category-header span { display: none; }
  .post .category-row-label { font-size: 0.58em; }
  .post .category-cell strong { font-size: 0.58em; }
  .post .category-cell span { font-size: 0.5em; }
}

@media (prefers-reduced-motion: reduce) {
  .cursor { animation: none; }
  .post > h1::after { animation: none; }
  .post .efficiency-guide.is-visible { animation: none; }
}
