/* ── TomiSpec design system ───────────────────────────────────────────────────
   Dark, glassy, violet. One file, no build step, no preprocessor.
   Matches the house tokens used across the Tomi suite.
   ────────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #07080d;
  --bg-2: #0e1019;
  --panel: rgba(20, 24, 42, 0.7);
  --panel-solid: #14182a;
  --panel-2: rgba(28, 33, 56, 0.6);
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);

  --ink: #eef0f7;
  --ink-2: #c2c7d6;
  --muted: #828aa3;
  --faint: #5c6379;

  --accent: #7c5cff;
  --accent-2: #a48cff;
  --accent-3: #5bc0ff;
  --grad: linear-gradient(135deg, #7c5cff, #5bc0ff);

  --ok: #3ddc97;
  --warn: #ffb547;
  --err: #ff6b6b;

  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 26px;

  --shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 80px -30px rgba(124, 92, 255, 0.25);
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(900px 600px at 80% -20%, rgba(124, 92, 255, 0.18), transparent),
    radial-gradient(700px 500px at 10% 110%, rgba(91, 192, 255, 0.10), transparent),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
}

h1, h2, h3, h4 { margin: 0; letter-spacing: -0.02em; font-weight: 700; line-height: 1.25; }
h1 { font-size: 28px; }
h2 { font-size: 20px; }
h3 { font-size: 16px; }
p { margin: 0 0 12px; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }

code, pre, .mono { font-family: 'JetBrains Mono', ui-monospace, Menlo, Consolas, monospace; }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.wrap { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 620px; margin: 0 auto; padding: 0 24px; }
.center-screen {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 40px 20px;
}
.row { display: flex; align-items: center; gap: 10px; }
.row.between { justify-content: space-between; }
.row.wrap-row { flex-wrap: wrap; }
.spacer { flex: 1; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.hidden { display: none !important; }

/* ── Top bar ─────────────────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 16px;
  padding: 14px 24px;
  background: rgba(7, 8, 13, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand span { font-size: 17px; }
.brand .spec {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Cards ───────────────────────────────────────────────────────────────── */
.card {
  background: var(--panel);
  backdrop-filter: blur(28px);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 22px;
}
.card.flush { padding: 0; overflow: hidden; }
.card-head {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.card-head h3 { flex: 1; font-size: 14px; letter-spacing: 0.02em; }
.card-body { padding: 18px 20px; }
.card-body.scroll { max-height: 420px; overflow-y: auto; }

.hero-card {
  background: rgba(20, 24, 42, 0.78);
  backdrop-filter: blur(28px);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  padding: 40px;
  width: 100%;
  max-width: 460px;
}

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px;
  font: inherit; font-size: 14px; font-weight: 600;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.2s, background 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.btn:hover { background: rgba(255, 255, 255, 0.09); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn:focus-visible { outline: 2px solid rgba(124, 92, 255, 0.6); outline-offset: 2px; }

.btn.primary {
  background: linear-gradient(135deg, #7c5cff, #5a3cf0);
  border-color: transparent;
  color: #fff;
}
.btn.primary:hover { box-shadow: 0 4px 22px rgba(124, 92, 255, 0.45); }
.btn.ghost { background: transparent; border-color: var(--border); color: var(--ink-2); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.05); color: var(--ink); }
.btn.danger { color: var(--err); border-color: rgba(255, 107, 107, 0.35); background: rgba(255, 107, 107, 0.08); }
.btn.danger:hover { background: rgba(255, 107, 107, 0.16); }
.btn.ok { color: var(--ok); border-color: rgba(61, 220, 151, 0.35); background: rgba(61, 220, 151, 0.08); }
.btn.ok:hover { background: rgba(61, 220, 151, 0.16); }
.btn.small { padding: 7px 12px; font-size: 12.5px; border-radius: 8px; }
.btn.big { padding: 15px 28px; font-size: 15px; border-radius: var(--r); }
.btn.block { width: 100%; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 8px; color: var(--muted); cursor: pointer;
  transition: 0.15s;
}
.icon-btn:hover { color: var(--ink); border-color: var(--border-strong); background: rgba(255, 255, 255, 0.05); }

/* ── Forms ───────────────────────────────────────────────────────────────── */
label { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
label .opt { font-weight: 400; color: var(--faint); }

input[type='text'], input[type='email'], input[type='password'], textarea, select {
  width: 100%;
  padding: 12px 14px;
  font: inherit; font-size: 14px;
  color: var(--ink);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.18);
}
input::placeholder, textarea::placeholder { color: var(--faint); }
textarea { resize: vertical; min-height: 90px; line-height: 1.6; }
select { appearance: none; cursor: pointer; }

.field { margin-bottom: 16px; }
.field-hint { font-size: 12px; color: var(--faint); margin-top: 6px; }
.char-count { font-size: 11.5px; color: var(--faint); text-align: right; margin-top: 5px; }

/* ── Text helpers ────────────────────────────────────────────────────────── */
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 12.5px; }
.tiny { font-size: 11.5px; }
.strong { font-weight: 600; color: var(--ink); }
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent-2);
}
.empty { padding: 28px 16px; text-align: center; color: var(--faint); font-size: 13.5px; }

/* ── Pills & badges ──────────────────────────────────────────────────────── */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px;
  font-size: 11px; font-weight: 600; letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.05);
  color: var(--ink-2);
  white-space: nowrap;
}
.pill.must   { background: rgba(255, 107, 107, 0.14); border-color: rgba(255, 107, 107, 0.3); color: #ff9d9d; }
.pill.should { background: rgba(255, 181, 71, 0.14);  border-color: rgba(255, 181, 71, 0.3);  color: #ffcd7d; }
.pill.could  { background: rgba(91, 192, 255, 0.14);  border-color: rgba(91, 192, 255, 0.3);  color: #93d6ff; }
.pill.high   { background: rgba(255, 107, 107, 0.14); border-color: rgba(255, 107, 107, 0.3); color: #ff9d9d; }
.pill.medium { background: rgba(255, 181, 71, 0.14);  border-color: rgba(255, 181, 71, 0.3);  color: #ffcd7d; }
.pill.low    { background: rgba(130, 138, 163, 0.14); border-color: var(--border-strong);     color: var(--muted); }
.pill.ok     { background: rgba(61, 220, 151, 0.14);  border-color: rgba(61, 220, 151, 0.3);  color: #7fe9be; }
.pill.violet { background: rgba(124, 92, 255, 0.16);  border-color: rgba(124, 92, 255, 0.35); color: var(--accent-2); }
.pill.code   { font-family: 'JetBrains Mono', monospace; letter-spacing: 0.06em; }

.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); flex: none; }
.status-dot.live { background: var(--ok); box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.6); animation: pulse 2s infinite; }
.status-dot.draft { background: var(--muted); }
.status-dot.active { background: var(--ok); }
.status-dot.done { background: var(--accent-3); }
.status-dot.closed { background: var(--err); }

@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.55); }
  70%  { box-shadow: 0 0 0 7px rgba(61, 220, 151, 0); }
  100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0); }
}

/* ── The Tomi orb — the emotional center of the whole product ─────────────── */
.orb-stage {
  display: flex; flex-direction: column; align-items: center;
  padding: 28px 20px 24px;
}
.orb {
  position: relative;
  width: 148px; height: 148px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 32% 28%, #a48cff, #7c5cff 42%, #4c2fd6 78%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12) inset, 0 20px 60px -12px rgba(124, 92, 255, 0.55);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.3), box-shadow 0.35s;
}
/* Two rings that breathe outward. Idle = still. Listening/speaking = alive. */
.orb::before, .orb::after {
  content: '';
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(164, 140, 255, 0.5);
  opacity: 0;
}
.orb-wrap.listening .orb::before,
.orb-wrap.speaking  .orb::before { animation: ring 2.2s ease-out infinite; }
.orb-wrap.listening .orb::after,
.orb-wrap.speaking  .orb::after  { animation: ring 2.2s ease-out infinite 1.1s; }

@keyframes ring {
  0%   { opacity: 0.7; transform: scale(1); }
  100% { opacity: 0;   transform: scale(1.65); }
}

.orb-wrap.speaking .orb {
  background: radial-gradient(circle at 32% 28%, #93d6ff, #5bc0ff 42%, #2f7fd6 78%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16) inset, 0 24px 70px -10px rgba(91, 192, 255, 0.65);
}
.orb-wrap.thinking .orb { animation: think 1.4s ease-in-out infinite; }
@keyframes think {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(0.94); }
}
.orb-wrap.connecting .orb { opacity: 0.55; }
.orb-wrap.idle .orb { filter: saturate(0.55) brightness(0.75); }

/* Live mic level, driven by an AnalyserNode. */
.orb-bars { display: flex; align-items: center; gap: 4px; height: 26px; }
.orb-bars i {
  display: block; width: 3px; height: 5px;
  border-radius: 2px; background: rgba(255, 255, 255, 0.85);
  transition: height 0.08s linear;
}

.orb-label { margin-top: 18px; font-size: 15px; font-weight: 600; }
.orb-sub { font-size: 13px; color: var(--muted); margin-top: 3px; text-align: center; max-width: 280px; }

/* ── Transcript ──────────────────────────────────────────────────────────── */
.transcript { display: flex; flex-direction: column; gap: 14px; }
.turn { display: flex; gap: 10px; animation: fadein 0.3s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.turn .who {
  flex: none;
  width: 30px; height: 30px; border-radius: 9px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border);
  color: var(--ink-2);
}
.turn.tomi .who { background: linear-gradient(135deg, #7c5cff, #5bc0ff); border-color: transparent; color: #fff; }
.turn .bubble { flex: 1; min-width: 0; }
.turn .name { font-size: 11.5px; font-weight: 600; color: var(--muted); margin-bottom: 3px; }
.turn.tomi .name { color: var(--accent-2); }
.turn .text { font-size: 14px; color: var(--ink-2); line-height: 1.6; word-wrap: break-word; }
.turn.tomi .text { color: var(--ink); }
.turn.system .text { font-style: italic; color: var(--faint); font-size: 13px; }

/* ── Spec panel ──────────────────────────────────────────────────────────── */
.spec-section { margin-bottom: 22px; }
.spec-section:last-child { margin-bottom: 0; }
.spec-section h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.spec-section h4::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.spec-section ul { margin: 0; padding-left: 18px; }
.spec-section li { font-size: 13.5px; color: var(--ink-2); margin-bottom: 6px; line-height: 1.55; }
.spec-overview { font-size: 14px; color: var(--ink-2); line-height: 1.65; }

.feature {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 12px; margin-bottom: 7px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}
.feature .fname { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.feature .fdesc { font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.5; }

.decision {
  padding: 10px 12px; margin-bottom: 7px;
  border-left: 2px solid var(--accent);
  background: rgba(124, 92, 255, 0.06);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.decision .dtext { font-size: 13.5px; color: var(--ink); font-weight: 500; }
.decision .drat { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.chip {
  display: inline-block; margin-top: 6px;
  padding: 2px 8px; font-size: 10.5px; font-weight: 600;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border);
  border-radius: 999px; color: var(--muted);
}

.spec-updating { position: relative; }
.spec-updating::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(124, 92, 255, 0.07), transparent);
  animation: sweep 1.2s ease-in-out infinite;
  pointer-events: none; border-radius: var(--r-lg);
}
@keyframes sweep { 0% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }

/* ── Questions ───────────────────────────────────────────────────────────── */
.q {
  padding: 13px 14px; margin-bottom: 9px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
}
.q.mine {
  background: rgba(124, 92, 255, 0.1);
  border-color: rgba(124, 92, 255, 0.4);
  box-shadow: 0 0 24px -8px rgba(124, 92, 255, 0.5);
}
.q.answered { opacity: 0.55; }
.q .qtext { font-size: 13.5px; color: var(--ink); line-height: 1.5; }
.q .qmeta { display: flex; align-items: center; gap: 7px; margin-top: 8px; flex-wrap: wrap; }
.q .qanswer {
  margin-top: 8px; padding: 8px 10px;
  background: rgba(61, 220, 151, 0.07);
  border-left: 2px solid var(--ok);
  border-radius: 0 8px 8px 0;
  font-size: 12.5px; color: var(--ink-2);
}
.q-actions { display: flex; gap: 6px; margin-top: 9px; }

/* ── Dropzone ────────────────────────────────────────────────────────────── */
.dropzone {
  padding: 26px 18px;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--r);
  text-align: center;
  cursor: pointer;
  transition: 0.18s;
  background: rgba(255, 255, 255, 0.02);
}
.dropzone:hover, .dropzone.over {
  border-color: var(--accent);
  background: rgba(124, 92, 255, 0.09);
}
.dropzone.over { transform: scale(1.01); }
.dropzone .dz-icon { font-size: 22px; margin-bottom: 6px; opacity: 0.75; }
.dropzone .dz-main { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.dropzone .dz-sub { font-size: 11.5px; color: var(--faint); margin-top: 3px; }

.file {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; margin-top: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: 13px;
}
.file .fmeta { flex: 1; min-width: 0; }
.file .fname { color: var(--ink); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file .fsub { font-size: 11.5px; color: var(--faint); }

.spinner {
  width: 13px; height: 13px; flex: none;
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--accent-2);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Tables ──────────────────────────────────────────────────────────────── */
table { width: 100%; border-collapse: collapse; }
th {
  text-align: left; padding: 10px 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); border-bottom: 1px solid var(--border);
}
td { padding: 13px 12px; font-size: 13.5px; border-bottom: 1px solid var(--border); color: var(--ink-2); }
tbody tr { transition: background 0.12s; }
tbody tr:hover { background: rgba(255, 255, 255, 0.025); }
tbody tr.clickable { cursor: pointer; }
td .t-title { color: var(--ink); font-weight: 600; }

/* ── Stats ───────────────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat {
  padding: 16px 18px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r);
}
.stat .sv { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.stat .sl { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }

/* ── Toast ───────────────────────────────────────────────────────────────── */
#toasts {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  display: flex; flex-direction: column; gap: 8px;
}
.toast {
  padding: 12px 16px;
  background: var(--panel-solid);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent);
  border-radius: var(--r-sm);
  font-size: 13.5px;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.8);
  animation: slidein 0.22s cubic-bezier(0.2, 0.9, 0.3, 1.2);
  max-width: 340px;
}
.toast.ok  { border-left-color: var(--ok); }
.toast.err { border-left-color: var(--err); }
@keyframes slidein { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* ── Modal ───────────────────────────────────────────────────────────────── */
.modal-bg {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(7, 8, 13, 0.78);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  animation: fadein 0.15s;
}
.modal {
  width: 100%; max-width: 480px;
  background: var(--panel-solid);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow);
  padding: 28px;
  max-height: 90vh; overflow-y: auto;
}
.modal h2 { margin-bottom: 6px; }
.modal .modal-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 22px; }
.modal-actions { display: flex; gap: 10px; margin-top: 22px; }
.modal-actions .btn { flex: 1; }

/* ── Copy field ──────────────────────────────────────────────────────────── */
.copy-field {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.32);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
}
.copy-field code {
  flex: 1; min-width: 0;
  font-size: 12.5px; color: var(--accent-2);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ── Progress ────────────────────────────────────────────────────────────── */
.bar { height: 4px; background: rgba(255, 255, 255, 0.07); border-radius: 999px; overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--grad); border-radius: 999px; transition: width 0.5s ease; }

/* ── Scrollbars ──────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 9px; height: 9px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.18); }

/* ── Session layout ──────────────────────────────────────────────────────── */
.session-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 20px;
  padding: 20px 0 60px;
  align-items: start;
}
.col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.sticky-col { position: sticky; top: 78px; }

@media (max-width: 1000px) {
  .session-grid { grid-template-columns: 1fr; }
  .sticky-col { position: static; }
  .wrap { padding: 0 16px; }
}

/* ── Markdown-ish rendering for the summary view ─────────────────────────── */
.md h1 { font-size: 26px; margin: 0 0 16px; }
.md h2 { font-size: 18px; margin: 28px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.md h3 { font-size: 15px; margin: 20px 0 8px; color: var(--accent-2); }
.md p  { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.md ul, .md ol { padding-left: 20px; }
.md li { font-size: 14px; color: var(--ink-2); margin-bottom: 6px; line-height: 1.6; }
.md strong { color: var(--ink); font-weight: 600; }
.md em { color: var(--muted); }
.md hr { border: 0; border-top: 1px solid var(--border); margin: 28px 0; }
