/* ============================================================================
   BlockGenie Codex — API work rail
   Same night desk as the console: cool graphite room, warm bone ink,
   Instrument Serif asks / Instrument Sans works / DM Mono reports.
   Art direction: docs/18-ui-redesign.md
   ========================================================================== */

:root {
  color-scheme: dark;
  /* semantic tokens (docs/52) — night values; shell.css owns the day values */
  --t-display: clamp(2.5rem, 5.2vw, 3.75rem); /* docs/53: the one serif line reads as display */
  --t-title: 1.0625rem;
  --t-body: 1rem;
  --t-ui: 0.9375rem;
  --t-sm: 0.8125rem;
  --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px; --s5: 20px;
  --s6: 24px; --s7: 32px; --s8: 40px; --s9: 56px; --s10: 72px;

  --r-sm: 3px; --r-md: 6px; --r-lg: 10px; --r-xl: 14px; --r-pill: 6px; /* docs/53: pills are gone; the alias means "a control" */

  --measure: 46rem;
  --rail: 264px;
  --gutter: 30px;

  --e-out: cubic-bezier(.22, .68, .28, 1);
  --e-in: cubic-bezier(.55, .06, .68, .19);

  --z-topbar: 25; --z-rail: 60; --z-menu: 80; --z-boot: 90;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html, body { height: 100%; }
html { color-scheme: dark; }

body {
  margin: 0;
  background: var(--room);
  color: var(--bone);
  font-family: var(--sans);
  font-size: var(--t-ui);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(115% 58% at 50% -14%, var(--wash), transparent 62%);
}

h1, h2, h3, p, ol, ul { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: var(--tap); }
a { color: var(--glacier); text-decoration-color: color-mix(in srgb, var(--glacier) 40%, transparent); text-underline-offset: 2px; }
a:hover { text-decoration-color: var(--glacier); }
code { font-family: var(--mono); font-size: .92em; color: var(--code-fg); }

:focus-visible {
  outline: 2px solid var(--glacier);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
:focus:not(:focus-visible) { outline: none; }

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

.skip-link {
  position: fixed; left: var(--s4); top: -60px; z-index: var(--z-boot);
  padding: var(--s2) var(--s4); border-radius: var(--r-sm);
  background: var(--panel-2); border: 1px solid var(--edge); color: var(--bone);
  text-decoration: none; transition: top 140ms var(--e-out);
}
.skip-link:focus { top: var(--s4); }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 16px; height: 16px; flex: none; display: block; }

.tape {
  font-family: var(--mono);
  font-size: var(--t-micro);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--faint);
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: var(--t-display);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
  color: var(--bone);
}

.dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--faint); flex: none; display: inline-block;
}
.dot.is-on { background: var(--glacier); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; flex: none;
  border-radius: var(--r-sm); border: 1px solid transparent;
  background: transparent; color: var(--bone-dim); cursor: pointer;
  transition: background-color 140ms var(--e-out), color 140ms var(--e-out);
}
.icon-btn:hover { background: var(--panel-2); color: var(--bone); }

.error-text {
  margin: var(--s4) 0;
  font-size: var(--t-sm);
  color: var(--ember);
}

.ide-connect {
  display: grid;
  gap: var(--s4);
  margin-top: var(--s7);
  padding: var(--s5);
  border: 1px solid var(--edge);
  border-radius: var(--r-lg);
  background: var(--panel);
}
.ide-connect h3 {
  margin-top: var(--s1);
  font-size: var(--t-title);
  font-weight: 600;
  letter-spacing: 0;
}
.ide-connect p { color: var(--bone); }
.ide-connect dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s3);
  margin: 0;
}
.ide-connect dl div {
  min-width: 0;
  padding: var(--s3);
  border: 1px solid var(--edge-soft);
  border-radius: var(--r-md);
  background: var(--ink);
}
.ide-connect dt {
  margin-bottom: var(--s1);
  font: 400 var(--t-micro)/1.4 var(--mono);
  letter-spacing: 0;
  text-transform: none;
  color: var(--bone-dim);
}
.ide-connect dd { margin: 0; overflow-wrap: anywhere; }
.ide-connect pre {
  margin: 0;
  padding: var(--s4);
  overflow: auto;
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--bone);
}
.ide-connect .ide-note { font-size: var(--t-sm); }

@media (max-width: 760px) {
  .ide-connect dl { grid-template-columns: 1fr; }
}

/* ── shell ──────────────────────────────────────────────────────────────── */
.app {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: var(--rail) minmax(0, 1fr);
  height: 100dvh;
}

.scrim {
  position: fixed; inset: 0; z-index: calc(var(--z-rail) - 1);
  background: var(--scrim);
}

.sidebar {
  display: flex; flex-direction: column; min-height: 0;
  background: var(--ink);
  border-right: 1px solid var(--edge-soft);
  padding: var(--s4) var(--s3) var(--s3);
  animation: rise 280ms var(--e-out) both;
}

.side-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: var(--s1) var(--s2) var(--s4);
}
.side-close { display: none; }

.wordmark {
  display: flex; flex-direction: column; gap: 3px;
  font-size: var(--t-sm); font-weight: 600; letter-spacing: 0; color: var(--bone);
}
.wordmark span {
  font-family: var(--mono); font-size: var(--t-micro); font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--faint);
}
.wordmark a {
  color: var(--faint);
  text-decoration-color: transparent;
  transition: color 140ms var(--e-out), text-decoration-color 140ms var(--e-out);
}
.wordmark a:hover { color: var(--glacier); text-decoration-color: currentColor; }

.auth-slab {
  display: grid; gap: 6px;
  margin: 0 var(--s1) var(--s4);
  padding: var(--s3);
  background: var(--panel);
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
}
.auth-slab label {
  font-family: var(--mono); font-size: var(--t-micro);
  letter-spacing: 0; text-transform: none; color: var(--faint);
}
.auth-slab input {
  width: 100%; min-height: 40px; padding: 0 var(--s3);
  background: var(--ink); color: var(--bone);
  border: 1px solid var(--edge); border-radius: var(--r-md);
  font-family: var(--mono); font-size: var(--t-sm);
  transition: border-color 140ms var(--e-out);
}
.auth-slab input::placeholder { color: var(--faint); }
.auth-slab input:hover { border-color: var(--edge-strong); }
.auth-slab input:focus-visible { border-color: var(--glacier); outline-offset: 1px; }
.auth-hint { margin: 0; font-size: 12px; color: var(--bone-dim); line-height: 1.45; }

.side-search {
  display: flex; align-items: center; gap: var(--s2);
  padding: 0 var(--s3); min-height: 38px; margin: 0 var(--s1) var(--s3);
  border: 1px solid transparent; border-radius: var(--r-md);
  background: var(--room); color: var(--faint);
  transition: border-color 140ms var(--e-out);
}
.side-search:focus-within { border-color: var(--edge-strong); }
.side-search input {
  flex: 1; min-width: 0; background: none; border: 0; outline: none;
  font-size: var(--t-sm); color: var(--bone);
}
.side-search input::placeholder { color: var(--faint); }
.side-search input::-webkit-search-cancel-button { -webkit-appearance: none; }

.group-label { padding: var(--s3) var(--s2) var(--s2); }
.group-label:first-child { padding-top: 0; }

.presets, .toc-nav {
  display: flex; flex-direction: column; gap: 2px;
  margin: 0 calc(var(--s1) * -1); padding: 0 var(--s1);
}

.presets button, .toc-nav a, .toc-nav .toc-op {
  appearance: none; border: 0; background: transparent;
  color: var(--bone-dim); text-align: left; text-decoration: none;
  padding: 7px var(--s3); border-radius: var(--r-sm);
  font: inherit; font-size: var(--t-sm); cursor: pointer;
  transition: background-color 130ms var(--e-out), color 130ms var(--e-out);
}
.presets button:hover, .toc-nav a:hover, .toc-nav .toc-op:hover {
  background: var(--panel); color: var(--bone);
}
.toc-nav a.is-active, .toc-nav .toc-op.is-active {
  background: var(--panel-2); color: var(--bone);
}

.toc-nav { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.toc-nav .group-label { padding-left: var(--s3); }

.op-link {
  display: grid; grid-template-columns: 3.1rem minmax(0, 1fr);
  gap: 8px; align-items: baseline;
}
.op-link span:last-child {
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.side-foot {
  border-top: 1px solid var(--edge-soft); margin-top: var(--s2);
  padding: var(--s3) var(--s3) var(--s2);
  display: grid; gap: 6px; justify-items: start;
}
.who-name { font-size: var(--t-sm); font-weight: 500; }
.who-plan { display: flex; align-items: center; gap: 6px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 4px; font-size: var(--t-sm); }
.foot-links a { color: var(--bone-dim); text-decoration: none; }
.foot-links a:hover { color: var(--glacier); }

/* ── stage ──────────────────────────────────────────────────────────────── */
.stage {
  position: relative; min-width: 0; min-height: 0;
  display: grid; grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
  isolation: isolate;
}

.topbar {
  position: relative; z-index: var(--z-topbar); min-width: 0;
  display: flex; align-items: center; gap: var(--s3);
  padding: var(--s3) var(--s5);
  min-height: 56px;
  animation: rise 300ms 60ms var(--e-out) both;
}
.rail-toggle { display: none; }
.top-title { min-width: 0; flex: 1; }
.top-title h1 {
  font-size: var(--t-title); font-weight: 600; letter-spacing: 0;
}
.product-nav {
  display: flex; align-items: center; gap: 2px;
}
.product-nav a {
  display: inline-flex; align-items: center; min-height: 34px;
  padding: 0 var(--s3); border-radius: var(--r-sm);
  color: var(--bone-dim); text-decoration: none; font-size: var(--t-sm);
  transition: background-color 140ms var(--e-out), color 140ms var(--e-out);
}
.product-nav a:hover { background: var(--panel); color: var(--bone); }
.product-nav a[aria-current="page"] { background: var(--panel-2); color: var(--bone); }
.status-tape {
  font-family: var(--mono); font-size: var(--t-micro); letter-spacing: 0;
  text-transform: none; color: var(--faint);
  white-space: nowrap;
}

.stage-scroll {
  min-width: 0; min-height: 0; overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  padding: var(--s2) var(--s5) var(--s10);
  animation: rise 320ms 120ms var(--e-out) both;
}

main { max-width: 62rem; margin: 0 auto; }
.api-foot {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3) var(--s4);
  margin-top: var(--s7);
  padding-top: var(--s5);
  border-top: 1px solid var(--edge-soft);
}
.api-foot a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: var(--bone-dim);
}
.api-foot a:hover { color: var(--bone); }

/* ── intro ──────────────────────────────────────────────────────────────── */
.intro {
  max-width: 62rem;
  padding: clamp(var(--s5), 4vh, var(--s7)) 0 var(--s6);
}
.intro .display { margin-bottom: var(--s4); max-width: 18ch; }
.intro-lede {
  font-size: var(--t-ui); color: var(--bone-dim);
  max-width: 56ch; margin-bottom: var(--s6);
}
.intro-lede em { color: var(--bone); font-style: italic; }

.legend {
  margin: 0 0 var(--s7); padding: 0; list-style: none;
  display: grid; gap: 10px;
}
.legend li { color: var(--bone-dim); font-size: var(--t-sm); }
.legend li code { color: var(--bone); }

.need {
  display: inline-block;
  min-width: 4.6rem;
  margin-right: 8px;
  padding: 2px 7px;
  border-radius: var(--r-sm);
  font-family: var(--mono);
  font-size: var(--t-micro);
  letter-spacing: 0;
  text-transform: none;
  text-align: center;
  vertical-align: 1px;
}
.need.must { background: var(--bone); color: var(--on-bone); }
.need.should { border: 1px solid var(--glacier-dim); color: var(--glacier); }
.need.optional { border: 1px solid var(--edge); color: var(--faint); }

/* starters as an editorial list — hairlines, not a card grid (docs/43 §6, 53) */
.prompts { display: grid; border-top: 1px solid var(--edge-soft); max-width: 46rem; }
.prompt {
  display: grid; grid-template-columns: 6.5rem minmax(0, 1fr) auto; align-items: baseline; column-gap: var(--s4);
  width: 100%; text-align: left;
  padding: var(--s3) var(--s2) var(--s3) 0;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--edge-soft); border-radius: 0;
  cursor: pointer; position: relative; isolation: isolate;
}
.prompt::before {
  content: ""; position: absolute; inset: 2px calc(var(--s2) * -1); z-index: -1;
  border-radius: var(--r-md); background: var(--panel);
  opacity: 0; transition: opacity 150ms var(--e-out);
}
.prompt:hover::before, .prompt:focus-visible::before { opacity: 1; }
.prompt:focus-visible { outline-offset: 4px; border-radius: 2px; }
.prompt .pk { font-family: var(--mono); font-size: var(--t-micro); letter-spacing: 0; text-transform: none; color: var(--glacier-dim); }
.prompt .pt { font-size: var(--t-ui); font-weight: 500; color: var(--bone); }
.prompt .pp { font-size: var(--t-sm); color: var(--faint); }
@media (max-width: 720px) {
  .prompt { grid-template-columns: minmax(0, 1fr); row-gap: 2px; }
}

/* ── groups + work rail ─────────────────────────────────────────────────── */
.group { margin: 0 0 var(--s7); }
.group > h2 {
  margin: 0 0 var(--s4);
  padding-left: var(--gutter);
  font-family: var(--mono); font-size: var(--t-micro); font-weight: 400;
  letter-spacing: 0; text-transform: none; color: var(--faint);
}

.ops {
  position: relative;
  padding-left: var(--gutter);
}
.ops.has-rail::before {
  content: "";
  position: absolute; left: 9px; top: 8px; bottom: 8px;
  width: 1px; background: var(--edge-soft);
}

.op {
  position: relative;
  margin: 0 0 var(--s5);
  scroll-margin-top: 20px;
}
.op.is-hidden { display: none; }

.op-node {
  position: absolute; left: calc(var(--gutter) * -1); top: 4px;
  width: 19px; height: 19px; border-radius: 50%;
  border: 1.5px solid var(--edge); background: var(--room);
  display: grid; place-items: center;
}
.op-node::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--edge-strong);
  transition: background-color 160ms var(--e-out);
}
.op.is-live .op-node { border-color: var(--glacier); }
.op.is-live .op-node::after { background: var(--glacier); animation: none; }
.op.is-failed .op-node { border-color: var(--ember); }
.op.is-failed .op-node::after { background: var(--ember); }
.op.is-ok .op-node { border-color: var(--glacier-dim); }
.op.is-ok .op-node::after { background: var(--glacier-dim); }
.op:focus-within:not(.is-live):not(.is-failed) .op-node { border-color: var(--edge-strong); }

.op-head {
  display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: baseline;
  margin-bottom: var(--s3);
}
.verb {
  font-family: var(--mono);
  font-size: var(--t-micro);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  min-width: 3.4rem;
}
.verb.get { color: var(--glacier); }
.verb.post { color: var(--bone-dim); }
.verb.patch { color: var(--glacier-dim); }
.verb.delete { color: var(--ember); }
.verb.put { color: var(--faint); }

.path {
  font-family: var(--mono);
  font-size: var(--t-sm);
  color: var(--bone);
  min-width: 0;
  overflow-wrap: anywhere;
}
.op-head .sum {
  flex: 1 1 12rem;
  color: var(--faint);
  font-size: var(--t-sm);
}

.params {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: var(--t-sm);
  margin-bottom: var(--s3);
}
.params th {
  text-align: left; font-weight: 500;
  font-family: var(--mono); font-size: var(--t-micro);
  letter-spacing: 0; text-transform: none; color: var(--faint);
  padding: 0 8px 8px 0;
}
.params td {
  padding: 8px 8px 8px 0;
  border-top: 1px solid var(--edge-soft);
  vertical-align: top;
}
.params .name { font-family: var(--mono); color: var(--bone); }
.params .in { color: var(--faint); font-size: 12px; font-family: var(--mono); }
.params .desc { color: var(--bone-dim); }

.no-params { color: var(--faint); font-size: var(--t-sm); margin-bottom: var(--s3); }

/* ── try slab (the one lit instrument) ──────────────────────────────────── */
.try {
  display: grid; gap: var(--s3);
  padding: var(--s3) var(--s3) var(--s2);
  background: var(--panel);
  border: 1px solid var(--edge-soft);
  border-radius: var(--r-lg);
  transition: border-color 160ms var(--e-out), box-shadow 160ms var(--e-out);
}
.try:focus-within,
.op.is-live .try {
  border-color: var(--edge-strong);
  box-shadow: var(--sh-2);
}
.op.is-live .try { border-color: var(--glacier-dim); }

.try-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 10px;
}

.field { display: grid; gap: 4px; }
.field.span { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono); font-size: var(--t-micro);
  letter-spacing: 0; text-transform: none; color: var(--faint);
}
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--edge);
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--bone);
  font-family: var(--mono);
  font-size: 12px;
  padding: 8px 10px;
  transition: border-color 140ms var(--e-out);
}
.field input:hover, .field textarea:hover { border-color: var(--edge-strong); }
.field textarea { min-height: 132px; resize: vertical; line-height: 1.5; }

.try-actions {
  display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center;
}
.try-actions .hint { font-size: var(--t-micro); color: var(--faint); }

.btn-solid, .btn-outline {
  display: inline-flex; align-items: center; gap: var(--s2);
  min-height: 36px; padding: 0 var(--s4);
  border-radius: var(--r-md); border: 1px solid transparent;
  font-size: var(--t-sm); font-weight: 500; cursor: pointer;
  transition: background-color 140ms var(--e-out), border-color 140ms var(--e-out),
              color 140ms var(--e-out), transform 140ms var(--e-out);
}
.btn-solid { background: var(--panel-2); color: var(--bone-dim); }
.try:focus-within .btn-solid,
.op.is-live .btn-solid,
.btn-solid:focus-visible {
  background: var(--bone); color: var(--on-bone);
}
.try:focus-within .btn-solid:hover,
.op.is-live .btn-solid:hover { background: var(--bone-hi); }
.btn-solid:active { transform: translateY(1px); }
.btn-outline { background: transparent; border-color: var(--edge-strong); color: var(--bone); }
.btn-outline:hover { background: var(--panel-2); border-color: var(--faint); }
.btn-solid:disabled, .btn-outline:disabled { opacity: .42; cursor: not-allowed; transform: none; }

.out {
  margin: 0;
  max-height: 22rem;
  overflow: auto;
  padding: var(--s3) var(--s4);
  background: var(--ink);
  border: 1px solid var(--edge-soft);
  border-radius: var(--r-md);
  color: var(--code-fg);
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}
.out.is-empty { color: var(--faint); }
.out .status { color: var(--glacier-dim); }
.out .status.ok { color: var(--glacier); }
.out .status.bad { color: var(--ember); }

@keyframes rise {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
/* the thinking ring breathes in opacity only — never scale, never spin (docs/53) */
@keyframes pulse-node {
  0%, 100% { opacity: .35; }
  50%      { opacity: 1; }
}

@media (max-width: 900px) {
  :root { --rail: 240px; }
  .status-tape { display: none; }
  .topbar, .stage-scroll { padding-left: var(--s4); padding-right: var(--s4); }
}

@media (max-width: 720px) {
  :root { --gutter: 0px; }
  .app { grid-template-columns: minmax(0, 1fr); }
  .sidebar {
    position: fixed; z-index: var(--z-rail); inset: 0 auto 0 0;
    width: min(19rem, 86vw);
    transform: translateX(-101%);
    transition: transform 220ms var(--e-out);
    animation: none;
    border-right: 1px solid var(--edge);
    padding-top: max(var(--s4), env(safe-area-inset-top));
  }
  .sidebar.is-open { transform: none; }
  .side-close { display: inline-grid; }
  .rail-toggle { display: inline-grid; }
  .topbar {
    min-height: 52px; padding-top: max(var(--s2), env(safe-area-inset-top));
    flex-wrap: wrap;
  }
  .top-title h1 { font-size: var(--t-ui); }
  .top-title .tape { display: none; }
  .product-nav { order: 3; width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; }
  .product-nav a { min-height: 40px; flex: 1 0 auto; justify-content: center; }
  #specTape { display: none; }
  .ops { padding-left: 0; }
  .ops.has-rail::before { display: none; }
  .op-node { position: static; margin-bottom: var(--s2); }
  .group > h2 { padding-left: 0; }
  .prompts { grid-template-columns: minmax(0, 1fr); }
  .prompt:nth-child(n+4) { display: none; }
  .try { border-radius: var(--r-lg); }
  .icon-btn { width: 40px; height: 40px; min-height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }
}

@media (forced-colors: active) {
  .try, .prompt, .auth-slab, .op-node { border: 1px solid CanvasText; }
  .ops.has-rail::before, body::before { display: none; }
}

/* ── shared shell: the product bar owns the top 48px (docs/44 §2) ───────── */
.product-nav { display: none; }
.app { height: calc(100dvh - var(--bar-h)); }
.wordmark { display: none; }
.stage { min-height: 0; } /* keep: the scroll contract */

/* docs/76-ui-polish: eliminate tracking smear in API surface */
.tape,
.status-tape,
.auth-slab label,
.prompt .pk,
.group > h2,
.verb,
.params th,
.field label,
.need,
.probe-code,
.ide-connect dt {
  letter-spacing: 0;
  text-transform: none;
}

/* docs/82: one display voice, Playfair italic, never under 40px; ink focus; no tracking */
.display { font-family: var(--display); font-style: italic; font-weight: 600; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -.015em; }
:focus-visible { outline-color: var(--bone); }
a { color: var(--bone); }
