/* ═══════════════════════════════════════════════════════════════════════════
   Author.OS — clean-slate app skin (v3). Loads AFTER style.css and wins.
   Design: Apple-clean. SF-style type, one accent, covers as the hero,
   state not prose. docs/DESIGN-SYSTEM.md governs.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
  --ink:        #1d1d1f;
  --ink-2:      #55555b;
  --ink-3:      #86868b;
  --canvas:     #f5f4ef;
  --card:       #ffffff;
  --hair:       rgba(29, 29, 31, 0.085);
  --hair-2:     rgba(29, 29, 31, 0.16);
  --navy:       #1e3a6b;
  --navy-deep:  #16305a;
  --navy-tint:  rgba(30, 58, 107, 0.07);
  --ok:         #248a3d;
  --ok-dot:     #34c759;
  --amber:      #b25e09;
  --amber-dot:  #ff9f0a;
  --red:        #c0392b;
  --idle-dot:   #c7c7cc;
  --run-dot:    #1e3a6b;
  --r-tile: 10px;
  --r-card: 16px;
  --r-pill: 980px;
  --sh-tile: 0 1px 2px rgba(29,29,31,.08), 0 6px 18px -6px rgba(29,29,31,.18);
  --sh-tile-hover: 0 2px 4px rgba(29,29,31,.08), 0 14px 34px -8px rgba(29,29,31,.24);
  --sh-card: 0 1px 2px rgba(29,29,31,.04), 0 4px 16px -8px rgba(29,29,31,.08);
  --font-app: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
}

/* ── Base overrides ────────────────────────────────────────────────────────── */
body {
  font-family: var(--font-app);
  background: var(--canvas);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.011em;
}
a { color: var(--navy); }
a:hover { color: var(--navy-deep); }
::selection { background: rgba(30,58,107,.12); color: var(--ink); }

/* ── Shell ─────────────────────────────────────────────────────────────────── */
.shell-side {
  position: fixed; inset: 0 auto 0 0;
  width: 216px;
  padding: 22px 12px 16px;
  display: flex; flex-direction: column;
  background: transparent;
  border-right: none;
  z-index: 200;
  overflow-y: auto;
}
.shell-side::-webkit-scrollbar { width: 0; }

.shell-mark {
  display: flex; align-items: center; gap: 10px;
  padding: 0 10px 18px;
  text-decoration: none;
}
.shell-mark img { width: 26px; height: 26px; border-radius: 6px; }
.shell-mark .mark-name {
  font-family: var(--font-serif);
  font-size: 15.5px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.01em; white-space: nowrap;
}

.shell-nav { display: flex; flex-direction: column; gap: 1px; }
.shell-group { margin-top: 20px; }
.shell-group-label {
  padding: 0 10px 6px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-3);
}
.shell-item {
  display: flex; align-items: center; gap: 9px;
  padding: 6.5px 10px;
  border-radius: 8px;
  font-size: 13.5px; font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  transition: background .15s ease, color .15s ease;
  border: none; background: none; cursor: pointer;
  width: 100%; text-align: left; font-family: inherit;
}
.shell-item svg { width: 16px; height: 16px; flex: 0 0 auto; opacity: .75; }
.shell-item:hover { background: rgba(29,29,31,.05); color: var(--ink); }
.shell-item.active { background: rgba(29,29,31,.07); color: var(--ink); font-weight: 600; }
.shell-item.active svg { opacity: 1; }

.shell-foot { margin-top: auto; padding-top: 18px; }
.shell-user {
  display: flex; align-items: center; gap: 9px;
  padding: 8px 10px;
  border-radius: 10px;
}
.shell-ava {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 600; text-transform: uppercase;
  flex: 0 0 auto;
}
.shell-user-name { font-size: 12.5px; font-weight: 600; color: var(--ink); line-height: 1.25; }
.shell-user-role { font-size: 11px; color: var(--ink-3); text-transform: capitalize; }

/* Main canvas */
.main-wrap { margin-left: 216px; min-height: 100vh; display: flex; flex-direction: column; }
.main-wrap main {
  width: 100%; max-width: 1200px;
  margin: 0 auto;
  padding: 40px 44px 80px;
  flex: 1;
}
.main-wrap footer { display: none; }

/* Mobile */
.mobile-header { display: none; }
@media (max-width: 900px) {
  .shell-side {
    transform: translateX(-100%);
    transition: transform .25s ease;
    background: var(--canvas);
    border-right: 1px solid var(--hair);
    width: 250px;
  }
  body.sidebar-open .shell-side { transform: none; }
  .main-wrap { margin-left: 0; }
  .main-wrap main { padding: 24px 20px 60px; }
  .mobile-header {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    position: sticky; top: 0; z-index: 150;
    background: rgba(245,244,239,.85);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .sidebar-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 190; }
  body.sidebar-open .sidebar-overlay { opacity: 1; pointer-events: auto; }
}

/* ── Page top (large title) ────────────────────────────────────────────────── */
.lt-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 26px;
}
.lt-head h1 {
  font-family: var(--font-app);
  font-size: 32px; font-weight: 700;
  letter-spacing: -0.022em; line-height: 1.15;
  color: var(--ink);
}
.lt-head .lt-sub { margin-top: 5px; font-size: 14px; color: var(--ink-3); font-weight: 400; }

/* ── Buttons (pill, one accent) ────────────────────────────────────────────── */
.btn, button.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 7px 16px;
  border-radius: var(--r-pill);
  font-family: var(--font-app);
  font-size: 13.5px; font-weight: 500;
  letter-spacing: -0.006em;
  background: rgba(29,29,31,.055);
  color: var(--ink);
  border: none;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { background: rgba(29,29,31,.09); transform: none; box-shadow: none; border: none; }
.btn:active { transform: scale(.98); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(30,58,107,.25); }

/* Variants carry the button.* form too — the base `button.btn` selector is
   (0,1,1), so a bare `.btn-primary` (0,1,0) would lose on <button> elements
   (screenshot-caught: washed-out submit buttons while <a> buttons were fine). */
.btn-primary, button.btn-primary { background: var(--navy); color: #fff !important; font-weight: 600; }
.btn-primary:hover, button.btn-primary:hover { background: var(--navy-deep); box-shadow: 0 4px 14px rgba(30,58,107,.28); }
.btn-accent, button.btn-accent { background: var(--navy-tint); color: var(--navy) !important; border: none; }
.btn-accent:hover, button.btn-accent:hover { background: rgba(30,58,107,.12); border: none; }
.btn-success, button.btn-success { background: rgba(36,138,61,.1); color: var(--ok) !important; border: none; }
.btn-success:hover, button.btn-success:hover { background: rgba(36,138,61,.16); border: none; }
.btn-ghost, button.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover, button.btn-ghost:hover { background: rgba(29,29,31,.05); color: var(--ink); }
.btn-sm { padding: 4.5px 12px; font-size: 12.5px; }
.btn-large { padding: 10px 24px; font-size: 15px; font-weight: 600; }

/* ── Status dot + line ─────────────────────────────────────────────────────── */
.dotline { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-3); font-weight: 400; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--idle-dot); flex: 0 0 auto; }
.dot-ok { background: var(--ok-dot); }
.dot-warn { background: var(--amber-dot); }
.dot-run { background: var(--run-dot); }
.dot-err { background: #ff453a; }
@keyframes dot-pulse { 0%,100% { opacity: 1; } 50% { opacity: .35; } }
.dot-live { background: var(--ok-dot); animation: dot-pulse 2.2s ease infinite; }

/* ── Segmented control ─────────────────────────────────────────────────────── */
.seg {
  display: inline-flex; align-items: center;
  background: rgba(29,29,31,.055);
  border-radius: var(--r-pill);
  padding: 2.5px;
  gap: 2px;
}
.seg button {
  border: none; cursor: pointer;
  font-family: var(--font-app);
  font-size: 12.8px; font-weight: 500;
  color: var(--ink-2);
  background: transparent;
  padding: 5px 14px;
  border-radius: var(--r-pill);
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}
.seg button:hover { color: var(--ink); }
.seg button.on {
  background: #fff; color: var(--ink); font-weight: 600;
  box-shadow: 0 1px 3px rgba(29,29,31,.12);
}
.seg .seg-n { color: var(--ink-3); font-weight: 400; margin-left: 4px; font-size: 11.5px; }

/* ── Library grid ──────────────────────────────────────────────────────────── */
.lib-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.lib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(186px, 1fr));
  gap: 34px 28px;
}
.tile { text-decoration: none; display: block; min-width: 0; }
.tile-cover {
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: var(--r-tile);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--sh-tile);
  transition: transform .22s cubic-bezier(.2,.8,.3,1), box-shadow .22s ease;
}
.tile:hover .tile-cover { transform: translateY(-4px) scale(1.012); box-shadow: var(--sh-tile-hover); }
.tile-cover img { width: 100%; height: 100%; object-fit: cover; display: block; position: relative; z-index: 1; }
.tile-cover img.gone { display: none; }
.tile-fallback { position: absolute; inset: 0; }
/* Coverless books: a quiet unjacketed-case look, not a logo repeat */
.tile-blank {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; padding: 18px;
  background: linear-gradient(160deg, #fbfaf6 0%, #efece3 100%);
}
.tile-blank::before {
  content: ""; position: absolute; inset: 9px;
  border: 1px solid rgba(29,29,31,.12);
  border-radius: 5px;
  pointer-events: none;
}
.tile-blank span {
  font-family: var(--font-serif);
  font-size: 15.5px; font-weight: 600; line-height: 1.3;
  color: #4b4b52; text-align: center;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.tile-name {
  margin-top: 11px;
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.tile-status { margin-top: 3px; }
.tile-new .tile-cover {
  box-shadow: none;
  background: transparent;
  border: 1.5px dashed var(--hair-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--ink-3);
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.tile-new:hover .tile-cover { border-color: var(--navy); color: var(--navy); background: rgba(255,255,255,.5); transform: none; }
.tile-new svg { width: 26px; height: 26px; }
.tile-new .tile-name { text-align: center; color: inherit; font-weight: 500; }

/* ── Book page ─────────────────────────────────────────────────────────────── */
.crumb {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13px; font-weight: 500; color: var(--ink-3);
  text-decoration: none; margin-bottom: 22px;
}
.crumb:hover { color: var(--ink); }
.crumb svg { width: 11px; height: 11px; }

.bk-hero { display: flex; gap: 34px; align-items: flex-end; margin-bottom: 34px; }
.bk-cover {
  width: 168px; aspect-ratio: 2/3; flex: 0 0 auto;
  border-radius: var(--r-tile);
  object-fit: cover;
  box-shadow: 0 2px 4px rgba(29,29,31,.1), 0 18px 44px -12px rgba(29,29,31,.36);
  background: #fff;
}
.bk-cover.tile-blank { position: relative; display: flex; }
.bk-hero-info { min-width: 0; padding-bottom: 4px; }
.bk-eyebrow { margin-bottom: 10px; }
.bk-eyebrow .dotline { font-size: 12.5px; font-weight: 600; letter-spacing: .02em; }
.bk-hero-info h1 {
  font-family: var(--font-app);
  font-size: 34px; font-weight: 700; letter-spacing: -0.024em; line-height: 1.12;
  color: var(--ink);
}
.bk-author { margin-top: 6px; font-size: 15px; color: var(--ink-3); }
.bk-actions { display: flex; align-items: center; gap: 10px; margin-top: 22px; flex-wrap: wrap; }

/* Slim journey strip */
.strip { display: flex; align-items: center; margin: 0 0 30px; }
.strip-step {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 500; color: var(--ink-3);
  text-decoration: none;
  padding: 4px 2px;
  transition: color .15s ease;
}
.strip-step:hover { color: var(--ink); }
.strip-step .dot { width: 8px; height: 8px; }
.strip-step.done { color: var(--ink-2); }
.strip-step.done .dot { background: var(--ok-dot); }
.strip-step.now { color: var(--ink); font-weight: 600; }
.strip-step.now .dot { background: var(--navy); box-shadow: 0 0 0 3px rgba(30,58,107,.15); }
.strip-sep { flex: 0 1 44px; min-width: 16px; height: 1px; background: var(--hair-2); margin: 0 10px; }

/* Workspace cards */
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}
.work-card {
  display: flex; align-items: center; gap: 14px;
  background: var(--card);
  border-radius: var(--r-card);
  padding: 18px 18px;
  text-decoration: none;
  box-shadow: var(--sh-card);
  border: 1px solid rgba(29,29,31,.045);
  transition: transform .18s cubic-bezier(.2,.8,.3,1), box-shadow .18s ease;
  cursor: pointer;
}
.work-card:hover { transform: translateY(-2px); box-shadow: var(--sh-tile-hover); }
.work-ic {
  width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-tint); color: var(--navy);
}
.work-ic svg { width: 19px; height: 19px; }
.work-body { min-width: 0; flex: 1; }
.work-name { font-size: 14.5px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.work-sub { margin-top: 1px; font-size: 12.5px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.work-sub.warn { color: var(--amber); font-weight: 500; }
.work-chev { color: var(--ink-3); flex: 0 0 auto; }
.work-chev svg { width: 12px; height: 12px; }

/* Quality drawer (same route, revealed on demand) */
.quality-zone { margin-top: 6px; }
.quality-zone[hidden] { display: none; }

/* ── Flat panels for legacy/diagnostic content ─────────────────────────────── */
.disclosure {
  border: 1px solid rgba(29,29,31,.05);
  border-radius: var(--r-card);
  background: var(--card);
  box-shadow: var(--sh-card);
  margin-bottom: 12px;
}
.disclosure > summary {
  padding: 15px 18px;
  font-size: 14px;
  color: var(--ink);
}
.disclosure > summary:hover { background: rgba(29,29,31,.02); }
.disclosure[open] > summary { border-bottom: 1px solid var(--hair); }
.disclosure-body { padding: 16px 18px; font-size: 13.5px; color: var(--ink-2); }
.pill { font-size: 11.5px; padding: 2.5px 10px; }
.pill-ok { background: rgba(36,138,61,.1); color: var(--ok); }
.pill-warn { background: rgba(255,159,10,.14); color: var(--amber); }
.pill-idle { background: rgba(29,29,31,.05); color: var(--ink-3); }
.pill-run { background: var(--navy-tint); color: var(--navy); }

/* Legacy component softening (pages not yet rebuilt inherit this) */
.form-section, .qc-panel {
  background: var(--card);
  border: 1px solid rgba(29,29,31,.05) !important;
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
}
.page-header h1 { font-family: var(--font-app); font-size: 28px; font-weight: 700; letter-spacing: -0.022em; }
.stats-bar { border-radius: var(--r-card); border-color: var(--hair); }
.stat-value { font-family: var(--font-app); font-weight: 700; letter-spacing: -0.02em; }
.flash { border-radius: 12px; box-shadow: var(--sh-card); }
input, select, textarea { font-family: var(--font-app); }

/* journey checklist (inside disclosures) lighter */
.journey-checklist .check-item { border: none; padding: 7px 0; }

@media (max-width: 720px) {
  .bk-hero { flex-direction: column; align-items: flex-start; gap: 20px; }
  .bk-cover { width: 128px; }
  .lt-head h1 { font-size: 26px; }
  .bk-hero-info h1 { font-size: 26px; }
  .strip { flex-wrap: wrap; gap: 8px 0; }
}

/* ═══ Round 2 — tool-page components ═══════════════════════════════════════ */

/* Zone label: quiet small-caps section eyebrow */
.zone-label {
  font-size: 12px; font-weight: 650;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--ink-3);
  margin: 34px 0 12px;
}
.zone-label:first-of-type { margin-top: 4px; }

/* Generic white panel */
.panel {
  background: var(--card);
  border: 1px solid rgba(29,29,31,.05);
  border-radius: var(--r-card);
  box-shadow: var(--sh-card);
  padding: 20px 22px;
  margin-bottom: 14px;
}
.panel-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.panel-head h3 { font-size: 15.5px; font-weight: 650; letter-spacing: -0.012em; color: var(--ink); }
.panel-sub { font-size: 13px; color: var(--ink-3); line-height: 1.55; max-width: 74ch; }
.panel .howto { margin-top: 6px; }
.panel .howto > summary { cursor: pointer; font-size: 12.5px; color: var(--ink-3); list-style: none; }
.panel .howto > summary::-webkit-details-marker { display: none; }
.panel .howto > summary:hover { color: var(--ink); }
.panel .howto[open] > summary { color: var(--ink-2); }
.panel .howto .howto-body { font-size: 12.5px; color: var(--ink-3); line-height: 1.6; margin-top: 6px; max-width: 74ch; }
.panel-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.panel-actions .hint { font-size: 12px; color: var(--ink-3); }

/* Build grid (print-edition builders side by side) */
.build-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-bottom: 14px; }
.build-grid .panel { margin-bottom: 0; display: flex; flex-direction: column; }
.build-grid .panel-actions { margin-top: auto; padding-top: 14px; }
.badge-rec {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ok); background: rgba(36,138,61,.1);
  padding: 2.5px 8px; border-radius: var(--r-pill);
}

/* Inputs (override legacy) */
input[type="text"], input[type="number"], input[type="email"], input[type="password"],
input[type="url"], select, textarea {
  border: 1px solid var(--hair-2);
  border-radius: 10px;
  background: #fff;
  padding: 8px 12px;
  font-size: 13.5px;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30,58,107,.12);
}
.form-group label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.form-group .hint, .hint { color: var(--ink-3); }

/* Active cover row */
.active-art { display: flex; gap: 22px; align-items: flex-start; }
.active-art img {
  width: 150px; aspect-ratio: 2/3; object-fit: cover;
  border-radius: var(--r-tile);
  box-shadow: 0 2px 4px rgba(29,29,31,.1), 0 14px 34px -10px rgba(29,29,31,.3);
}

/* Galleries */
.gal { margin-bottom: 26px; }
.gal-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.gal-head h3 { font-size: 14.5px; font-weight: 650; color: var(--ink); }
.gal-head .n { font-size: 12px; color: var(--ink-3); }
.gal-head .note { font-size: 12px; color: var(--ink-3); margin-left: auto; text-align: right; }
.cover-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
}
.cover-card {
  background: var(--card);
  border: 1px solid rgba(29,29,31,.05);
  border-radius: 14px;
  box-shadow: var(--sh-card);
  overflow: hidden;
  transition: transform .18s cubic-bezier(.2,.8,.3,1), box-shadow .18s ease;
}
.cover-card:hover { transform: translateY(-2px); box-shadow: var(--sh-tile-hover); }
.cover-card-img { width: 100%; display: block; background: #f0efe9; }
.cover-card-info { padding: 10px 12px 12px; }
.cover-card-name {
  display: block;
  font-size: 12px; color: var(--ink-3);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 8px;
}
.cover-card-actions { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cover-card-actions .btn { padding: 4px 11px; font-size: 12px; }
.btn-danger-text {
  background: transparent !important; border: none !important;
  color: var(--red) !important; font-weight: 500;
}
.btn-danger-text:hover { background: rgba(192,57,43,.07) !important; }

/* Empty state */
.empty-quiet {
  padding: 34px 20px; text-align: center;
  color: var(--ink-3); font-size: 13.5px;
  border: 1.5px dashed var(--hair-2); border-radius: var(--r-card);
}

/* File tables (production files) */
.file-table { width: 100%; border-collapse: collapse; }
.file-table th {
  text-align: left; padding: 8px 10px;
  font-size: 11.5px; font-weight: 650; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-3); border-bottom: 1px solid var(--hair);
}
.file-table td { padding: 10px; font-size: 13px; color: var(--ink-2); border-bottom: 1px solid var(--hair); }
.file-table tr:last-child td { border-bottom: none; }
.file-table td.f-name { color: var(--ink); font-weight: 500; }
.file-table td.f-act { text-align: right; white-space: nowrap; }
.file-table td.f-act .btn + .btn, .file-table td.f-act form { margin-left: 6px; display: inline; }

/* Stat row (marketing at-a-glance) */
.stat-row { display: flex; gap: 34px; flex-wrap: wrap; }
.stat-row .stat-n { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat-row .stat-l { font-size: 12px; color: var(--ink-3); margin-top: 1px; }

/* Kit output blocks (light theme) */
.kit-pre {
  white-space: pre-wrap;
  background: #f7f6f2 !important;
  border: 1px solid var(--hair);
  padding: 10px 12px; border-radius: 10px;
  font-size: 12.5px; color: var(--ink-2);
  margin: 4px 0 14px;
}
