/* SCALVS.ai — clean, white, minimal. */
:root {
  /* Infinitum UI tokens: see /DESIGN.md (from infinitum-corporation.vercel.app) */
  --bg: #ffffff;
  --side: #ffffff;
  --surface: #ffffff;
  --hover: #f2f4f5;
  --soft: #f4f6f7;
  --line: #d6dce1;
  --ink: #111820;
  --muted: #52606b;
  --faint: #7a8791;
  --accent: #2454dd;
  --ok: #1d7a55;
  --warn: #9a5b0b;
  --err: #b42318;
  --radius: 0;
  --font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 11.5px; }
.center { text-align: center; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 0; z-index: 50; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 0; }

/* ---------- layout ---------- */
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: 260px;
  background: var(--side);
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 4px;
  padding: 12px 10px;
  z-index: 30;
}
.shell { margin-left: 260px; min-height: 100vh; }
main { max-width: 800px; margin: 0 auto; padding: 40px 24px 96px; outline: none; }

.brand { display: block; padding: 8px 10px 18px; text-decoration: none; }
/* Product logo = text wordmark (DESIGN.md §4), trademark per §5 */
.wordmark { font-size: 22px; font-weight: 400; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
sup.tm { font-size: .38em; vertical-align: super; line-height: 0; margin-left: .08em; letter-spacing: 0; font-weight: 400; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 0; text-decoration: none; font-size: 14px; color: var(--muted); }
.nav a:hover { background: var(--hover); }
.nav a.active { background: var(--hover); box-shadow: inset 2px 0 0 var(--ink); color: var(--ink); }
.badge { margin-left: auto; background: var(--ink); color: #fff; font-size: 11px; border-radius: 0; padding: 1px 7px; }
.sidebar-foot { margin-top: auto; padding: 8px; display: grid; gap: 8px; }
.account { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 0; }
.account:hover { background: var(--hover); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--soft); border: 1px solid var(--line); display: grid; place-items: center; font-size: 12px; font-weight: 400; }

.topbar { display: none; }
.scrim { display: none; }

/* ---------- type ---------- */
.page-head { margin-bottom: 28px; }
.eyebrow { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
h1 { font-size: 44px; line-height: 1.02; letter-spacing: -0.05em; margin: 0 0 10px; font-weight: 400; }
h2 { font-size: 20px; margin: 0; font-weight: 400; letter-spacing: -0.03em; }
h3 { font-size: 16px; margin: 0; font-weight: 400; letter-spacing: -0.02em; }
.lede { margin: 0; color: var(--muted); font-size: 15.5px; }
.section-title { margin: 36px 0 14px; }
.notice { margin-top: 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 0; color: #3d3d3d; }

/* ---------- controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 16px; border-radius: 0;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  text-decoration: none; font-size: 13px; font-weight: 400; white-space: nowrap;
  transition: background .15s;
}
.btn:hover { background: var(--soft); }
.btn.primary { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn.primary:hover { background: var(--soft); }
.btn.ghost { border-color: transparent; color: var(--muted); }
.btn.ghost:hover { background: var(--soft); color: var(--ink); }
.btn.sm { height: 32px; padding: 0 13px; font-size: 13px; }
.btn:disabled, .tpl:disabled { opacity: .4; cursor: not-allowed; }
.icon-btn { border: 0; background: none; width: 40px; height: 40px; border-radius: 0; display: grid; place-items: center; cursor: pointer; }
.icon-btn:hover { background: var(--soft); }

.row { display: flex; align-items: center; flex-wrap: wrap; }
.gap { gap: 8px; }
.between { justify-content: space-between; }

input:not([type=checkbox]), textarea, select {
  width: 100%; border: 1px solid var(--line); border-radius: 0;
  padding: 10px 12px; background: #fff; outline: none;
}
input:focus, textarea:focus, select:focus { border-color: var(--ink); }
textarea { resize: vertical; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 13px; font-weight: 500; }
fieldset { border: 0; padding: 0; margin: 0; }
legend { font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.checks { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.check { display: inline-flex !important; grid: none; align-items: center; gap: 8px; font-weight: 400 !important; font-size: 14px !important; cursor: pointer; }
input[type=checkbox] { accent-color: var(--ink); width: 16px; height: 16px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inline-form { margin-top: 14px; flex-wrap: nowrap; }

.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; }
.switch input { position: absolute; opacity: 0; }
.switch span { width: 38px; height: 22px; border-radius: 0; background: #d9d9d9; position: relative; transition: background .2s; flex: none; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.switch input:checked + span { background: var(--ink); }
.switch input:checked + span::after { transform: translateX(16px); }
.switch input:disabled + span { opacity: .4; }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- surfaces ---------- */
.panel { border: 1px solid var(--line); border-radius: 0; padding: 20px; margin: 20px 0; background: var(--surface); }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.tag { font-size: 12px; color: var(--muted); background: var(--soft); border-radius: 0; padding: 3px 10px; }
.tag.warn { color: var(--warn); background: #fdf3e7; }
.warn-text { color: var(--warn); margin: 12px 0 0; }
.error { color: var(--err); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; padding: 4px 10px; border-radius: 0; background: var(--soft); border: 1px solid transparent; color: #333; }
button.chip { cursor: pointer; }
button.chip:hover { border-color: var(--line); }
.chip.sel { background: var(--ink); color: #fff; }

/* ---------- command center ---------- */
.hero { padding: 6vh 0 8px; }
.hero-title { text-align: center; font-size: 44px; margin-bottom: 26px; }
.composer {
  border: 1px solid var(--line); border-radius: 0; background: #fff;
  padding: 12px 12px 10px 18px;
}
.composer:focus-within { border-color: var(--ink); }
.composer textarea { border: 0; padding: 6px 0; resize: none; min-height: 52px; max-height: 240px; font-size: 16px; }
.composer-bar { display: flex; align-items: center; gap: 10px; }
.pill-select { width: auto; max-width: 60%; border-radius: 0; padding: 6px 30px 6px 12px; font-size: 13px; background-color: var(--soft); border-color: transparent; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%236b6b6b' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; }
.mode { margin-left: auto; }
.mode + .send { margin-left: 0; }
.send { margin-left: auto; width: 36px; height: 36px; border-radius: 0; border: 1px solid var(--ink); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; flex: none; }
.send:hover { background: var(--soft); }
.send:disabled { border-color: var(--line); color: var(--faint); cursor: not-allowed; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 28px 0 0; }
.stat { border: 1px solid var(--line); border-radius: 0; padding: 14px 16px; display: grid; gap: 2px; align-content: start; }
.section-row { margin: 36px 0 14px; min-height: 32px; }
.stat.wide { grid-column: span 1; gap: 6px; }
.view-command .stat.wide { grid-column: auto; }
.stat-n { font-size: 28px; font-weight: 400; letter-spacing: -0.04em; }
.meter { height: 6px; background: var(--soft); border-radius: 0; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--ink); border-radius: 0; }

.runs { display: grid; gap: 10px; }
.run { border: 1px solid var(--line); border-radius: 0; overflow: hidden; }
.run.awaiting_approval { border-color: var(--ink); }
.run-head { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 0; background: none; cursor: pointer; text-align: left; }
.run-head:hover { background: #fcfcfc; }
.run-title { flex: 1; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.run-body { padding: 0 16px 16px; }
.run-task { background: var(--soft); border-radius: 0; padding: 10px 16px; margin: 0 0 14px auto; max-width: 85%; width: fit-content; }
.status-pill { font-size: 12px; border-radius: 0; padding: 2px 9px; background: var(--soft); color: #444; white-space: nowrap; }
.status-pill.running { background: #eef4ff; color: #2856c5; }
.status-pill.awaiting_approval { background: #fdf3e7; color: var(--warn); }
.status-pill.completed { background: #e8f6f1; color: #0b7a5e; }
.status-pill.failed, .status-pill.rejected { background: #fbecea; color: var(--err); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step { padding-left: 14px; border-left: 2px solid var(--line); }
.step.done { border-left-color: var(--ok); }
.step.awaiting_approval { border-left-color: var(--warn); }
.step.failed, .step.rejected { border-left-color: var(--err); }
.step-head { display: flex; gap: 10px; align-items: baseline; }
.approval { margin-top: 14px; padding: 12px 14px; background: #fffaf3; border-radius: 0; }
.approval .small { flex: 1; }

.prose { font-size: 14.5px; }
.prose p { margin: 6px 0; }
.prose h3, .prose h4, .prose h5, .prose h6 { margin: 14px 0 4px; font-size: 15px; }
.prose ul, .prose ol { margin: 6px 0; padding-left: 22px; }
.prose code { background: var(--soft); border-radius: 0; padding: 1px 5px; font-size: 13px; }
.prose pre { background: #f7f7f7; border: 1px solid var(--line); border-radius: 0; padding: 12px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; }

.typing { display: flex; gap: 4px; padding: 8px 0; }
.typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: blink 1.2s infinite; }
.typing span:nth-child(2) { animation-delay: .15s; }
.typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }

/* ---------- studio ---------- */
.templates { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tpl { display: grid; gap: 4px; justify-items: start; text-align: left; padding: 14px; border-radius: 0; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.tpl:hover:not(:disabled) { background: var(--soft); }
.tpl-name { font-weight: 400; font-size: 16px; letter-spacing: -0.02em; }
.glyph { width: 30px; height: 30px; border-radius: 0; background: var(--soft); display: grid; place-items: center; font-weight: 400; font-size: 14px; flex: none; }
.cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card { border: 1px solid var(--line); border-radius: 0; padding: 18px; display: grid; gap: 12px; align-content: start; }
.card p { margin: 0; }
.agent-head { display: flex; gap: 12px; align-items: center; }
.agent-head p { margin: 0; }
.flags { display: flex; flex-direction: column; gap: 2px; color: var(--faint); }
.flags .on { color: #3a3a3a; }
.flags .on::first-letter { color: var(--ok); }
.editor { border-color: var(--ink); }
.teams { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 8px; }
.team { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; background: var(--soft); border-radius: 0; flex-wrap: wrap; }
.team > div:first-child { display: grid; }
.team-builder { padding-top: 6px; }

/* ---------- lists ---------- */
.list { list-style: none; margin: 0; padding: 0; }
.list-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.list-row:first-child { border-top: 0; padding-top: 2px; }
.list-main { display: flex; gap: 12px; align-items: center; min-width: 0; }
.list-main p { margin: 2px 0 0; }
.vault-row .list-main p { margin: 0 0 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #d4d4d4; flex: none; }
.dot.on { background: var(--ok); }
.plain { margin: 0; padding-left: 18px; display: grid; gap: 4px; }

.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.table td { padding: 9px 8px; border-bottom: 1px solid #f0f0f0; }
.num { text-align: right !important; white-space: nowrap; font-variant-numeric: tabular-nums; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 10px; }
.plan { display: grid; gap: 3px; justify-items: start; text-align: left; padding: 14px; border-radius: 0; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.plan:hover { background: var(--soft); }
.plan.sel { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px); background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0; font-size: 14px; opacity: 0; transition: all .25s; z-index: 60; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
/* ---------- forecasts ---------- */
.label { font-size: 13px; font-weight: 500; display: block; margin-bottom: 6px; }
.form label.inline { display: grid; gap: 6px; min-width: 150px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fc-stages { list-style: none; padding: 0; margin: 14px 0 6px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; font-size: 12.5px; color: var(--faint); }
.fc-stage { display: flex; align-items: center; gap: 6px; }
.fc-dot { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid #c9c9c9; flex: none; }
.fc-stage.done { color: var(--muted); } .fc-stage.done .fc-dot { background: var(--ink); border-color: var(--ink); }
.fc-stage.now { color: var(--ink); font-weight: 500; } .fc-stage.now .fc-dot { border-color: var(--ink); animation: fcpulse 1.2s ease-in-out infinite; }
.fc-stage.failed .fc-dot { border-color: var(--err); background: var(--err); } .fc-stage.stopped .fc-dot { border-color: var(--muted); background: var(--muted); }
@keyframes fcpulse { 50% { box-shadow: 0 0 0 4px rgba(0,0,0,.08); } }
.fc-report { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.fc-report h3, .fc-chat h3 { font-size: 14px; margin: 0; }
.fc-chat { margin-top: 18px; display: grid; gap: 10px; }
.fc-msg.user { background: var(--soft); border-radius: 0; padding: 8px 14px; margin-left: auto; max-width: 85%; width: fit-content; }
.run-head .tag { flex: none; }

@media (max-width: 860px) {
  .sidebar { transform: translateX(-100%); visibility: hidden; transition: transform .25s, visibility .25s; }
  body.nav-open .sidebar { transform: none; visibility: visible; }
  body.nav-open .scrim { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.2); z-index: 20; }
  .shell { margin-left: 0; }
  .topbar { display: flex; align-items: center; gap: 8px; position: sticky; top: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 10px; z-index: 10; }
  .brand-sm { text-decoration: none; }
  .brand-sm .wordmark { font-size: 19px; }
  h1 { font-size: 34px; }
  main { padding: 20px 16px 80px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .templates { grid-template-columns: 1fr 1fr; }
  .cards, .grid2 { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 3vh; }
  .hero-title { font-size: 32px; }
}
@media (max-width: 480px) {
  .fc-stages { grid-template-columns: 1fr; }
  .run-head .tag { display: none; }
  .templates { grid-template-columns: 1fr; }
  .list-row { flex-wrap: wrap; }
  .mode { display: none; }
  .mode + .send { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* streaming + copy */
.step-head { flex-wrap: wrap; }
.copy { margin-left: auto; border: 0; background: none; color: var(--muted); font-size: 12px; padding: 2px 8px; border-radius: 0; cursor: pointer; }
.copy:hover { background: var(--soft); color: var(--ink); }
.prose.streaming > :last-child::after { content: ""; display: inline-block; width: 7px; height: 14px; margin-left: 2px; vertical-align: -2px; background: var(--ink); border-radius: 0; animation: blink 1s infinite; }
.status-pill.stopped { background: var(--soft); color: var(--muted); }
.step.stopped { border-left-color: #cfcfcf; }
.composer textarea:focus-visible { outline: none; }

/* Switch keeps its track shape so it still reads as a toggle. */
.switch span { border-radius: 999px; }

/* ---------- ChatGPT-style shell: quiet sidebar, recent tasks ---------- */
.sidebar { width: 248px; padding: 14px 10px; gap: 2px; }
.shell { margin-left: 248px; }
.nav a { color: var(--ink); }
.nav a svg { color: var(--muted); flex: none; }
.nav a.active { box-shadow: none; }
.dot-badge { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); margin-left: auto; flex: none; }
.dot-badge.awaiting_approval { background: var(--accent); }
.dot-badge.failed { background: var(--err); }
.recent { margin-top: 18px; min-height: 0; flex: 1; overflow-y: auto; }
.recent-head { margin: 0 2px 4px 10px; font-size: 12px; color: var(--faint); display: flex; align-items: center; justify-content: space-between; min-height: 26px; }
.recent-head .tool { font-size: 11.5px; color: var(--faint); }
.recent-list { list-style: none; margin: 0; padding: 0; }
.recent-list a { display: flex; align-items: center; gap: 8px; padding: 7px 10px; text-decoration: none; font-size: 13.5px; color: var(--ink); }
.recent-list a:hover, .recent-list a.active { background: var(--hover); }
.recent-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.recent-empty { padding: 4px 10px; }
.sidebar-foot { margin-top: 8px; padding: 6px 0 0; border-top: 1px solid var(--line); }
.account { text-decoration: none; line-height: 1.3; }

/* ---------- Command Center: empty home + chat thread ---------- */
.home { min-height: calc(100vh - 136px); display: flex; flex-direction: column; justify-content: center; padding-bottom: 8vh; }
.home .hero-title { font-size: 36px; margin-bottom: 22px; }
.composer { padding: 10px 10px 10px 16px; }
.composer textarea { border: 0; padding: 6px 0; min-height: 28px; max-height: 240px; resize: none; overflow-y: auto; scrollbar-width: none; }
.composer textarea::placeholder { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.composer textarea:focus { border: 0; }
.composer-bar { margin-top: 4px; }
.pill-select { background-color: transparent; border: 1px solid var(--line); padding: 5px 28px 5px 10px; }
.fine { margin: 8px 0 0; text-align: center; font-size: 12px; color: var(--faint); }
.chat { display: flex; flex-direction: column; min-height: calc(100vh - 136px); }
.thread { flex: 1; display: grid; gap: 26px; align-content: start; padding-bottom: 24px; }
.msg.user { display: flex; justify-content: flex-end; }
.msg.user .bubble { background: var(--soft); padding: 10px 16px; max-width: 80%; white-space: pre-wrap; overflow-wrap: anywhere; }
.msg.agent .who { font-size: 13px; margin-bottom: 6px; }
.msg.agent.queued .who { color: var(--faint); }
.msg-tools { display: flex; gap: 2px; margin-top: 6px; margin-left: -8px; opacity: .75; }
.msg-tools:hover, .msg-tools:focus-within { opacity: 1; }
.tool { border: 0; background: none; color: var(--muted); font-size: 12.5px; padding: 4px 8px; cursor: pointer; }
.tool:hover { background: var(--soft); color: var(--ink); }
.approval { border: 1px solid var(--ink); background: #fff; padding: 12px 14px; display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.dock { position: sticky; bottom: 0; background: #fff; padding: 12px 0 16px; }
main { padding-bottom: 24px; }

/* ---------- Less chrome on the other screens ---------- */
.page-head .eyebrow { display: none; }
.page-head { margin-bottom: 20px; }
.page-head h1 { font-size: 32px; }
.panel { border: 0; border-top: 1px solid var(--line); padding: 22px 0 6px; margin: 8px 0 20px; }
.panel-head { margin-bottom: 12px; }
.tag { background: none; padding: 0; color: var(--faint); }

@media (max-width: 860px) {
  .shell { margin-left: 0; }
  .home { min-height: calc(100vh - 140px); }
  .home .hero-title { font-size: 28px; }
  .chat { min-height: calc(100vh - 140px); }
  .msg.user .bubble { max-width: 90%; }
}

.fine.left { text-align: left; margin-top: 10px; }
.chip { background: none; border: 1px solid var(--line); color: var(--muted); }
.chip.sel { background: none; border-color: var(--ink); color: var(--ink); }

/* Data exchange */
.table-wrap { overflow-x: auto; margin: 12px 0; }
.table.consent th.center, .table.consent td.center { text-align: center; }
.table.consent td p { margin: 2px 0 0; max-width: 340px; }
.table.consent input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--ink); }
.row.wrap { flex-wrap: wrap; }
details.small { margin-top: 12px; }
details.small summary { cursor: pointer; color: var(--ink); }
details.small ul, details.small p { margin: 8px 0 0; }
