/* ==========================================================================
   yukisan.tech — terminal-native, no framework, no CDN
   ========================================================================== */

@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --bg: #080b0f;
  --bg-elev: #0c1117;
  --bg-elev-2: #101821;
  --line: #1a2430;
  --line-soft: #141c25;
  --fg: #dbe3ea;
  --fg-strong: #f2f6f9;
  --dim: #8b97a3;
  --faint: #727e8a;
  --green: #6ee78a;
  --green-dim: #2f6b40;
  --amber: #e2b341;
  --red: #ff7b72;
  --cyan: #5ad1d8;
  --selection: rgba(110, 231, 138, 0.22);

  --wrap: 1100px;
  --radius: 8px;
  --ease: 160ms ease;
}

[data-theme="light"] {
  --bg: #f6f5f1;
  --bg-elev: #fffefb;
  --bg-elev-2: #efece4;
  --line: #dcd8ce;
  --line-soft: #e7e3da;
  --fg: #1b2027;
  --fg-strong: #0b0e12;
  --dim: #5c666f;
  --faint: #646e6a;
  --green: #15713a;
  --green-dim: #9cc7a8;
  --amber: #8a5f00;
  --red: #b42318;
  --cyan: #0d6b73;
  --selection: rgba(21, 113, 58, 0.16);
}

/* No JavaScript: the head script never runs, so follow the device with the same
   token values. Keep this block in sync with [data-theme="light"] above. */
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --bg: #f6f5f1;
    --bg-elev: #fffefb;
    --bg-elev-2: #efece4;
    --line: #dcd8ce;
    --line-soft: #e7e3da;
    --fg: #1b2027;
    --fg-strong: #0b0e12;
    --dim: #5c666f;
    --faint: #646e6a;
    --green: #15713a;
    --green-dim: #9cc7a8;
    --amber: #8a5f00;
    --red: #b42318;
    --cyan: #0d6b73;
    --selection: rgba(21, 113, 58, 0.16);
    color-scheme: light;
  }
  :root:not([data-theme]) body {
    background-image:
      radial-gradient(60rem 26rem at 18% -10rem, rgba(21, 113, 58, 0.07), transparent 70%),
      linear-gradient(to right, rgba(0, 0, 0, 0.022) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(0, 0, 0, 0.022) 1px, transparent 1px);
  }
}

/* ── base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(60rem 26rem at 18% -10rem, rgba(110, 231, 138, 0.07), transparent 70%),
    linear-gradient(to right, rgba(255, 255, 255, 0.016) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.016) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  color: var(--fg);
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.7;
  font-variant-ligatures: none;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
}

[data-theme="light"] body {
  background-image:
    radial-gradient(60rem 26rem at 18% -10rem, rgba(21, 113, 58, 0.07), transparent 70%),
    linear-gradient(to right, rgba(0, 0, 0, 0.022) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.022) 1px, transparent 1px);
}

img, svg, pre { max-width: 100%; }
a { color: var(--fg); text-decoration: none; }
a:hover { color: var(--green); }
::selection { background: var(--selection); }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 3px;
}

h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 600; color: var(--fg-strong); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
code {
  font-family: inherit;
  font-size: 0.94em;
  color: var(--green);
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.05em 0.32em;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 44px);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  background: var(--green); color: #04120a; padding: 8px 14px;
  border-radius: 4px; font-size: 13px;
}
.skip:focus { top: 12px; color: #04120a; }

/* ── top bar ──────────────────────────────────────────────────────────── */
.bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.bar__inner {
  display: flex;
  align-items: center;
  gap: 10px 26px;
  min-height: 54px;
  flex-wrap: wrap;
}

.brand {
  font-size: 13px;
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
}
.brand__prompt { color: var(--green); }
.brand__path { color: var(--faint); }
.brand__cursor {
  display: inline-block;
  width: 7px;
  height: 15px;
  margin-left: 4px;
  background: var(--green);
  animation: blink 1.15s steps(1) infinite;
}

.nav {
  display: flex;
  gap: clamp(10px, 2vw, 22px);
  margin-left: auto;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 12.5px;
}
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--dim); white-space: nowrap; padding: 4px 0; }
.nav a span { color: var(--faint); }
.nav a:hover, .nav a[aria-current="true"] { color: var(--fg-strong); }
.nav a:hover span, .nav a[aria-current="true"] span { color: var(--green); }

.theme {
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dim);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 9px;
  cursor: pointer;
  transition: border-color var(--ease), color var(--ease);
  white-space: nowrap;
}
.theme:hover { color: var(--green); border-color: var(--green-dim); }
.theme__key { color: var(--faint); margin-right: 6px; }
.theme__value { color: var(--green); }

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero { padding: clamp(44px, 8vw, 92px) 0 clamp(28px, 4vw, 44px); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

.eyebrow {
  color: var(--dim);
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.eyebrow__sign { color: var(--green); margin-right: 8px; }

h1 {
  font-size: clamp(2.7rem, 7.6vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  color: var(--fg-strong);
  margin-bottom: 22px;
}

.hero__lead {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--fg);
  max-width: 54ch;
  line-height: 1.65;
}
.hero__sub { color: var(--dim); font-size: 14px; max-width: 56ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--fg);
  background: var(--bg-elev);
  transition: border-color var(--ease), background var(--ease), color var(--ease);
}
.btn:hover { border-color: var(--green-dim); color: var(--fg-strong); background: var(--bg-elev-2); }
.btn--primary {
  background: var(--green);
  border-color: var(--green);
  color: #05130a;
  font-weight: 600;
}
.btn--primary:hover { background: var(--green); color: #05130a; filter: brightness(1.08); }

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px 24px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  max-width: 560px;
}
.facts div { min-width: 0; }
.facts dt {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--faint);
  margin-bottom: 3px;
}
.facts dd { margin: 0; font-size: 12.5px; color: var(--dim); line-height: 1.5; }

/* ── windows ──────────────────────────────────────────────────────────── */
.win {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-elev);
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
}

.win__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: var(--bg-elev-2);
  border-bottom: 1px solid var(--line);
}
.win__dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--faint); opacity: 0.55;
}
.win__dot:first-child { background: var(--green); opacity: 0.8; }
.win__title { margin-left: 8px; font-size: 10.5px; letter-spacing: 0.08em; color: var(--faint); }

.win__body { padding: 16px 18px; }
.win--fetch { position: relative; }
.win--fetch::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(20rem 12rem at 100% 0, rgba(110, 231, 138, 0.06), transparent 70%);
}

.tree {
  margin: 0 0 16px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--dim);
  white-space: pre;
  overflow-x: auto;
}
.tree .g { color: var(--green); }
.tree .n { color: var(--faint); }
.tree .d { color: var(--faint); opacity: 0.8; }

.kv { margin: 0; display: grid; gap: 7px; font-size: 12px; }
.kv div { display: grid; grid-template-columns: 62px 1fr; gap: 10px; }
.kv dt { color: var(--faint); }
.kv dd { margin: 0; color: var(--dim); }
.kv dd, .kv dt { overflow-wrap: anywhere; }

/* console */
.win--console { margin-top: 22px; }
.console__out {
  margin: 0;
  padding: 16px 18px 12px;
  min-height: 92px;
  max-height: 230px;
  overflow-y: auto;
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--dim);
  white-space: pre-wrap;
  word-break: break-word;
}
.console__out .in { color: var(--fg); }
.console__out .ok { color: var(--green); }
.console__out .warn { color: var(--amber); }
.console__out .err { color: var(--red); }
.console__out .hl { color: var(--cyan); }

.console__form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 12px;
  border-top: 1px dashed var(--line);
  background: color-mix(in srgb, var(--bg-elev-2) 60%, transparent);
}
.console__prompt { color: var(--green); font-size: 12.5px; white-space: nowrap; }
.console__input {
  flex: 1 1 auto;
  min-width: 0;
  font: inherit;
  font-size: 13px;
  color: var(--fg-strong);
  background: transparent;
  border: 0;
  padding: 4px 0;
  caret-color: var(--green);
}
.console__input::placeholder { color: var(--faint); }
.console__input:focus { outline: none; }
.console__run {
  font: inherit;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 4px 8px;
  cursor: pointer;
}
.console__run:hover { color: var(--green); border-color: var(--green-dim); }
.console__form:focus-within { border-color: var(--line); }

/* ── sections ─────────────────────────────────────────────────────────── */
.sec {
  padding: clamp(48px, 7vw, 84px) 0;
  border-top: 1px solid var(--line);
}
.sec--last { padding-bottom: clamp(56px, 8vw, 96px); }

.sec__head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 28px;
}
.sec__index {
  font-size: 11px;
  color: var(--faint);
  padding-top: 5px;
  letter-spacing: 0.1em;
}
.sec__head h2 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--fg-strong);
}
.sec__head h2::before { content: "## "; color: var(--green); letter-spacing: 0; }
.sec__lead { margin: 8px 0 0; font-size: 13px; color: var(--dim); }

.prose { max-width: 72ch; margin-left: 56px; }
.prose p { font-size: 14.5px; line-height: 1.75; color: var(--fg); }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: var(--green-dim); }

/* ── services ─────────────────────────────────────────────────────────── */
.svc-list { border-top: 1px solid var(--line); margin-left: 56px; }

.svc { border-bottom: 1px solid var(--line); }

.svc summary {
  position: relative;
  display: grid;
  grid-template-columns: 86px 190px minmax(0, 1fr);
  gap: 4px 18px;
  align-items: baseline;
  padding: 16px 30px 16px 0;
  cursor: pointer;
  list-style: none;
  transition: background var(--ease);
}
.svc summary::-webkit-details-marker { display: none; }
.svc summary:hover { background: linear-gradient(90deg, var(--bg-elev), transparent 65%); }

.svc summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 15px;
  color: var(--faint);
  font-size: 15px;
}
.svc[open] summary::after { content: "–"; color: var(--green); }
.svc[open] summary { background: linear-gradient(90deg, var(--bg-elev), transparent 65%); }

.svc__state {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
}
.svc__state .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(110, 231, 138, 0.12);
  flex: none;
}
.svc__state[data-state="wip"] { color: var(--amber); }
.svc__state[data-state="wip"] .dot { background: var(--amber); box-shadow: 0 0 0 3px rgba(226, 179, 65, 0.12); }

.svc__unit { font-size: 13.5px; color: var(--fg-strong); font-weight: 500; }
.svc__what { font-size: 13.5px; color: var(--dim); }
.svc__stack { grid-column: 2 / -1; font-size: 11px; color: var(--faint); letter-spacing: 0.02em; }

.svc__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 40px;
  padding: 4px 30px 26px 0;
  font-size: 13.5px;
  color: var(--dim);
}
.svc__body h3 {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--faint);
  margin: 14px 0 7px;
}
.svc__body h3:first-child { margin-top: 0; }
.svc__body p { color: var(--dim); margin-bottom: 9px; }
.svc__body ul { list-style: none; display: grid; gap: 7px; }
.svc__body li { padding-left: 16px; position: relative; }
.svc__body li::before { content: "›"; position: absolute; left: 0; color: var(--green); }
.svc__body b { color: var(--fg); font-weight: 500; }
.svc__meta { font-size: 11px; color: var(--faint); margin-top: 12px; }

.aside {
  margin: 22px 0 0 56px;
  font-size: 12.5px;
  color: var(--faint);
  max-width: 66ch;
}
.aside a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }

/* ── guests ───────────────────────────────────────────────────────────── */
.tbl-wrap { margin-left: 56px; overflow-x: auto; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th {
  text-align: left;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--faint);
  padding: 0 16px 8px 0;
  border-bottom: 1px solid var(--line);
}
.tbl td {
  padding: 10px 16px 10px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--dim);
  vertical-align: baseline;
}
.tbl td:first-child { color: var(--faint); width: 54px; font-size: 12px; }
.tbl th:nth-child(2), .tbl td:nth-child(2) { width: 240px; }
.tbl td:nth-child(2) { color: var(--fg); white-space: nowrap; }
.tbl tr:hover td { background: var(--bg-elev); }

.twocol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 28px 0 0 56px;
}

.card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--bg-elev);
  padding: 20px 22px;
}
.card h3 { font-size: 14px; margin-bottom: 10px; }
.card p { font-size: 13px; color: var(--dim); line-height: 1.7; }
.card ul { list-style: none; display: grid; gap: 8px; font-size: 13px; color: var(--dim); }
.card li { padding-left: 16px; position: relative; }
.card li::before { content: "›"; position: absolute; left: 0; color: var(--green); }
.card b { color: var(--fg); font-weight: 500; }
.card__meta { font-size: 11.5px; color: var(--faint); margin: 14px 0 0; }
.card__meta a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
.card__kicker { font-size: 11.5px; color: var(--green); margin-bottom: 8px; }

.cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-left: 56px;
}
.card--wide { grid-column: 1 / -1; }
.card--wide p { max-width: 78ch; }

.wip {
  color: var(--amber);
  border: 1px solid color-mix(in srgb, var(--amber) 40%, transparent);
  border-radius: 3px;
  padding: 1px 5px;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.audit {
  margin: 16px 0 0 56px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--green-dim);
  border-radius: 6px;
  background: var(--bg-elev);
  padding: 22px;
}
.audit h3 { font-size: 13px; color: var(--fg-strong); margin-bottom: 14px; }
.audit h3 span { color: var(--green); }
.audit ol { list-style: none; counter-reset: a; display: grid; gap: 12px; }
.audit li {
  counter-increment: a;
  position: relative;
  padding-left: 38px;
  font-size: 13.5px;
  color: var(--dim);
}
.audit li::before {
  content: "0" counter(a);
  position: absolute;
  left: 0;
  top: 0;
  font-size: 11px;
  color: var(--faint);
}
.audit b { color: var(--fg); font-weight: 500; }

/* ── notes ────────────────────────────────────────────────────────────── */
.notes {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  margin-left: 56px;
  border-top: 1px solid var(--line);
}
.notes li {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line-soft);
}
.notes__k {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green);
  margin-bottom: 8px;
}
.notes p:last-child { font-size: 13.5px; color: var(--dim); }

/* ── contact ──────────────────────────────────────────────────────────── */
.contact { list-style: none; border-top: 1px solid var(--line); margin-left: 56px; }
.contact li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.contact__k { font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--faint); }
.contact__v {
  font-size: clamp(15px, 2.4vw, 19px);
  color: var(--fg-strong);
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.contact__v:hover { color: var(--green); }
.contact__note { font-size: 11px; color: var(--faint); }

.copy {
  font: inherit;
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--faint);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 4px 8px;
  cursor: pointer;
  transition: color var(--ease), border-color var(--ease);
}
.copy:hover { color: var(--green); border-color: var(--green-dim); }
.copy[data-done="true"] { color: var(--green); border-color: var(--green-dim); }

/* ── footer ───────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 22px 0; }
.foot__inner {
  display: flex;
  justify-content: space-between;
  gap: 10px 24px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--faint);
}
.foot__inner p:first-child { color: var(--green); }

/* ── motion ───────────────────────────────────────────────────────────── */
@keyframes blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .win--fetch { order: 2; }
  .svc summary { grid-template-columns: 78px minmax(0, 1fr); }
  .svc__what { grid-column: 1 / -1; }
  .svc__stack { grid-column: 1 / -1; }
  .svc__body { grid-template-columns: minmax(0, 1fr); }
  .notes { grid-template-columns: minmax(0, 1fr); }
  .twocol, .cards { grid-template-columns: minmax(0, 1fr); }
  .card--wide { grid-column: auto; }
}

@media (max-width: 720px) {
  .bar__inner { min-height: 50px; }
  .nav { order: 3; width: 100%; margin-left: 0; padding-bottom: 6px; flex-wrap: wrap; gap: 6px 10px; }
  .nav a span { display: none; }
  .theme { margin-left: auto; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose, .svc-list, .tbl-wrap, .twocol, .cards, .audit, .notes, .contact, .aside {
    margin-left: 0;
  }
  .sec__head { grid-template-columns: 28px minmax(0, 1fr); gap: 8px; }
  .contact li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .contact__k { grid-column: 1 / -1; }
  .contact__note { display: none; }
  h1 { letter-spacing: -0.04em; }
  .console__out { font-size: 12px; padding: 14px 14px 10px; }
  .console__form { padding: 9px 14px 11px; gap: 8px; }
  .console__prompt { font-size: 11.5px; }
  .console__input { font-size: 12.5px; }
  .svc summary { padding-right: 24px; }
  .tbl th:nth-child(2), .tbl td:nth-child(2) { width: auto; }
  .tbl td:nth-child(2) { white-space: normal; }
}

/* ── print ────────────────────────────────────────────────────────────── */
@media print {
  :root {
    --bg: #fff; --bg-elev: #fff; --bg-elev-2: #fff;
    --fg: #111; --fg-strong: #000; --dim: #333; --faint: #555;
    --line: #ccc; --line-soft: #ddd; --green: #111;
  }
  body { background-image: none; font-size: 10pt; }
  .bar, .win--console, .hero__actions, .copy, .skip { display: none !important; }
  .sec { break-inside: avoid; padding: 18px 0; }
  .svc__body { display: block; }
  details:not([open]) > .svc__body { display: block; }
}
