/* DualMint DD Site v4 — Black + Stone. Inter only. App shell. */

:root {
  --bg-page:    #fafaf9;   /* stone-50  — main canvas */
  --bg-panel:   #ffffff;   /* cards, sidebar */
  --bg-soft:    #f5f5f4;   /* stone-100 — hover fills, wells */
  --bg-mute:    #e7e5e4;   /* stone-200 — table heads, chips */

  --bd:         #e7e5e4;   /* stone-200 — default border */
  --bd-strong:  #d6d3d1;   /* stone-300 */

  --ink:        #0c0a09;   /* stone-950 — headings, primary */
  --ink-2:      #292524;   /* stone-800 — body */
  --ink-3:      #78716c;   /* stone-500 — secondary */
  --ink-4:      #a8a29e;   /* stone-400 — muted */

  --black:      #0c0a09;   /* the accent IS black */
  --white:      #ffffff;

  --font: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;

  --sidebar-w: 292px;

  --shadow-sm: 0 1px 2px rgba(12, 10, 9, 0.05);
  --shadow-md: 0 2px 8px rgba(12, 10, 9, 0.07);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg-page);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* No global smooth scroll: JS controls jumps; smooth compounds badly on long docs. */

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

button { font-family: inherit; }

/* ===== App shell ===== */

.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  min-height: 100dvh;
}

/* ===== Sidebar ===== */

.sidebar {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  border-right: 1px solid var(--bd);
  z-index: 60;
}

.sidebar-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 18px 14px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.sidebar-head-title {
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.wordmark {
  font-weight: 700;
}

.sidebar-search {
  position: relative;
  padding: 0 14px 14px;
  border-bottom: 1px solid var(--bd);
}

.sidebar-search-icon {
  position: absolute;
  left: 26px;
  top: 11px;
  color: var(--ink-4);
  pointer-events: none;
}

#search {
  width: 100%;
  height: 36px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  padding: 0 12px 0 34px;
  font-family: var(--font);
  font-size: 13px;
  color: var(--ink);
  outline: none;
  transition: border-color 120ms, background 120ms;
}

#search:hover { border-color: var(--bd-strong); }
#search:focus { border-color: var(--ink); background: var(--bg-panel); }
#search::placeholder { color: var(--ink-4); }

/* Sidebar nav */

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 10px 10px 20px;
}

.nav-home {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 9px 10px;
  background: none;
  border: none;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: background 100ms, color 100ms;
}

.nav-home svg { color: var(--ink-3); flex-shrink: 0; }
.nav-home:hover { background: var(--bg-soft); }

.nav-home.active {
  background: var(--black);
  color: var(--white);
  font-weight: 600;
}

.nav-home.active svg { color: var(--white); }

.nav-label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-4);
  padding: 18px 10px 6px;
}

.nav-group { margin-bottom: 1px; }

.nav-section {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px 10px;
  background: none;
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  text-align: left;
  transition: background 100ms;
}

.nav-section:hover { background: var(--bg-soft); }

.nav-num {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-4);
  width: 18px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.nav-name {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  line-height: 1.35;
}

.nav-count {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-4);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 1px 7px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  transition: background 100ms, color 100ms;
}

.nav-chevron {
  color: var(--ink-4);
  flex-shrink: 0;
  transition: transform 160ms ease;
}

.nav-group.open .nav-chevron { transform: rotate(90deg); }

.nav-group.active > .nav-section {
  background: var(--black);
}

.nav-group.active > .nav-section .nav-name { color: var(--white); font-weight: 600; }
.nav-group.active > .nav-section .nav-num { color: rgba(255,255,255,0.55); }
.nav-group.active > .nav-section .nav-count { background: rgba(255,255,255,0.16); color: var(--white); }
.nav-group.active > .nav-section .nav-chevron { color: rgba(255,255,255,0.7); }

/* Question list inside a group */

.nav-qs {
  list-style: none;
  margin: 2px 0 4px;
  padding: 0 0 0 0;
  display: none;
}

.nav-group.open .nav-qs { display: block; }

.nav-qs li { margin: 0; }

.nav-qs a {
  display: block;
  margin: 1px 0 1px 19px;
  padding: 6px 10px;
  border-left: 2px solid var(--bd);
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-3);
  text-decoration: none;
  transition: color 100ms, border-color 100ms, background 100ms;
}

.nav-q-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.nav-qs a:hover {
  color: var(--ink);
  background: var(--bg-soft);
  border-left-color: var(--ink-4);
}

.nav-qs a.active {
  color: var(--ink);
  font-weight: 500;
  border-left-color: var(--black);
}

/* Sidebar footer */

.sidebar-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-top: 1px solid var(--bd);
  font-size: 11px;
  color: var(--ink-4);
}

.foot-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--black);
  flex-shrink: 0;
}

/* ===== Mobile bar + scrim ===== */

.mobilebar { display: none; }
.sidebar-scrim { display: none; }

/* ===== Main ===== */

.main {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* ===== Overview ===== */

.overview-container {
  flex: 1;
  max-width: 920px;
  width: 100%;
  margin: 0 auto;
  padding: 56px 40px 80px;
}

.cover-hero { margin-bottom: 40px; }

.cover-eyebrow {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}

.cover-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  max-width: 640px;
  text-wrap: balance;
}

.cover-title-line1 { color: var(--ink-4); }
.cover-title-line2 { color: var(--ink); }

.cover-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 580px;
  margin: 0 0 36px;
}

.cover-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cover-stat {
  background: var(--bg-panel);
  border: 1px solid var(--bd);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cover-stat-value {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.cover-stat-label {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-3);
}

/* Overview TOC */

.toc-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 8px 2px 12px;
}

.toc-header-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
}

.toc-header-meta {
  font-size: 11.5px;
  color: var(--ink-4);
}

.toc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: var(--bg-panel);
  border: 1px solid var(--bd);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color 120ms, box-shadow 120ms, transform 120ms;
  -webkit-user-select: none;
  user-select: none;
}

.toc-row:hover,
.toc-row:focus-visible {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
  outline: none;
}

.toc-row:active { transform: scale(0.995); }

.toc-index {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-4);
  width: 26px;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.toc-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.toc-name {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.toc-desc {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}

.toc-count {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-3);
  background: var(--bg-soft);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.toc-arrow {
  font-size: 15px;
  color: var(--ink-4);
  flex-shrink: 0;
  transition: transform 120ms, color 120ms;
}

.toc-row:hover .toc-arrow { color: var(--ink); transform: translateX(3px); }

/* ===== Section panels ===== */

#panels {
  flex: 1;
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 48px 40px 100px;
}

.doc-panel-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--bd);
}

.doc-panel-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 10px;
}

.doc-panel-title {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 10px;
  line-height: 1.2;
}

.doc-panel-desc {
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.6;
  max-width: 62ch;
  margin: 0;
}

/* ===== Q&A items ===== */

.qa-item {
  background: var(--bg-panel);
  border: 1px solid var(--bd);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
  overflow: hidden;
}

.qa-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  transition: background 100ms;
}

.qa-q:hover { background: var(--bg-soft); }
.qa-q::-webkit-details-marker { display: none; }
.qa-q::marker { content: ''; }

.qa-q-text {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.008em;
  color: var(--ink);
  line-height: 1.45;
  flex: 1;
}

.qa-chevron {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-right: 1.8px solid var(--ink-4);
  border-bottom: 1.8px solid var(--ink-4);
  transform: rotate(45deg);
  transition: transform 150ms, border-color 150ms, margin 150ms;
  margin-top: -3px;
}

.qa-item[open] .qa-chevron { transform: rotate(-135deg); margin-top: 3px; }
.qa-q:hover .qa-chevron { border-color: var(--ink); }

.qa-body {
  padding: 4px 22px 24px;
  border-top: 1px solid var(--bg-soft);
}

.qa-reviewed {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 14px 0 10px;
}

/* Q&A body typography */

.qa-body p {
  margin: 0 0 14px;
  color: var(--ink-2);
  line-height: 1.7;
  font-size: 15px;
}

.qa-body h1, .qa-body h2, .qa-body h3 {
  font-weight: 600;
  color: var(--ink);
  margin: 22px 0 10px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}

.qa-body h1 { font-size: 18px; }
.qa-body h2 { font-size: 16px; }
.qa-body h3 { font-size: 15px; }

.qa-body h4, .qa-body h5, .qa-body h6 {
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-3);
  margin: 22px 0 8px;
}

.qa-body ul, .qa-body ol {
  margin: 0 0 14px;
  padding-left: 22px;
}

.qa-body li {
  margin-bottom: 5px;
  color: var(--ink-2);
  line-height: 1.6;
  font-size: 15px;
}

.qa-body strong { color: var(--ink); font-weight: 600; }
.qa-body em { color: var(--ink-2); }

.qa-body code {
  font-size: 13px;
  background: var(--bg-soft);
  padding: 1px 6px;
  border-radius: 4px;
  color: var(--ink);
}

.qa-body pre {
  background: var(--bg-soft);
  border: 1px solid var(--bd);
  border-radius: var(--r-sm);
  padding: 14px;
  overflow-x: auto;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 14px;
}

.qa-body pre code { background: none; padding: 0; }

.qa-body blockquote {
  margin: 18px 0;
  padding: 12px 18px;
  border-left: 3px solid var(--black);
  background: var(--bg-soft);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  color: var(--ink-2);
}

.qa-body blockquote p:last-child { margin-bottom: 0; }

.qa-body hr {
  border: none;
  border-top: 1px solid var(--bd);
  margin: 26px 0;
}

.qa-body a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--bd-strong);
  text-underline-offset: 2px;
  transition: text-decoration-color 100ms;
}

.qa-body a:hover { text-decoration-color: var(--ink); }

.qa-body table {
  border-collapse: collapse;
  width: 100%;
  margin: 18px 0;
  font-size: 13.5px;
}

.qa-body thead th {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--bd-strong);
  padding: 9px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.qa-body tbody td {
  border-bottom: 1px solid var(--bd);
  padding: 9px 12px;
  color: var(--ink-2);
  vertical-align: top;
}

.qa-body tbody tr:last-child td { border-bottom: none; }

/* Table wrapper: card look + horizontal scroll safety */

.qa-body .table-wrap {
  overflow-x: auto;
  border: 1px solid var(--bd);
  border-radius: var(--r-sm);
  margin: 18px 0;
}

.qa-body .table-wrap table { margin: 0; }
.qa-body .table-wrap thead th { border-bottom: 1px solid var(--bd-strong); }

/* Step cards: auto-generated from "(1) ..." paragraphs */

.qa-body .step {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--bd);
}

.qa-body .step + .step { margin-top: 0; }
.qa-body .step:last-of-type { border-bottom: 1px solid var(--bd); }

.qa-body .step-num {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}

.qa-body .step-body { flex: 1; min-width: 0; }
.qa-body .step-body p { margin: 0 0 8px; }
.qa-body .step-body p:last-child { margin-bottom: 0; }

/* Disclosure callout: auto-generated from "Honest gap/state/..." paragraphs */

.qa-body .callout {
  margin: 18px 0;
  padding: 14px 18px;
  background: var(--bg-soft);
  border-left: 3px solid var(--black);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

.qa-body .callout-label {
  display: block;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}

.qa-body .callout p { margin: 0; font-size: 14.5px; }

/* Stat tiles: hand-authored inside answers */

.qa-body .stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.qa-body .stat {
  background: var(--bg-soft);
  border: 1px solid var(--bd);
  border-radius: var(--r-sm);
  padding: 14px 16px;
}

.qa-body .stat-value {
  display: block;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.qa-body .stat-label {
  display: block;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.4;
  margin-top: 3px;
}

/* Range bars: hand-authored horizontal bars (single hue, direct labels) */

.qa-body .bars { margin: 18px 0; }

.qa-body .bar-row {
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr 84px;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
}

.qa-body .bar-label {
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.35;
}

.qa-body .bar-track {
  position: relative;
  height: 14px;
  background: var(--bg-mute);
  border-radius: 4px;
  overflow: hidden;
}

.qa-body .bar-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  background: var(--black);
  border-radius: 4px;
}

.qa-body .bar-value {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-align: right;
}

/* ===== Search results ===== */

#search-results { flex: 1; }

.search-results-container {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 40px;
}

.search-results-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--bd);
}

.search-results-count {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
}

#search-clear {
  background: var(--bg-panel);
  border: 1px solid var(--bd-strong);
  border-radius: var(--r-sm);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 100ms, background 100ms;
}

#search-clear:hover { border-color: var(--ink); }

.search-result { margin-bottom: 8px; }

.search-result a {
  display: block;
  padding: 14px 18px;
  background: var(--bg-panel);
  border: 1px solid var(--bd);
  border-radius: var(--r-md);
  text-decoration: none;
  color: inherit;
  transition: border-color 120ms, box-shadow 120ms;
}

.search-result a:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow-md);
}

.search-result-section {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 4px;
}

.search-result-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  line-height: 1.4;
}

.search-result-snippet {
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.5;
}

.search-result mark {
  background: var(--ink);
  color: var(--white);
  padding: 0 3px;
  border-radius: 3px;
}

/* ===== Footer ===== */

.pagefoot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 40px;
  border-top: 1px solid var(--bd);
  font-size: 11.5px;
  color: var(--ink-4);
}

/* ===== Print ===== */

@media print {
  .sidebar, .mobilebar, .pagefoot, #search-results, .sidebar-scrim { display: none !important; }
  .app { display: block; }
  #panels { display: block !important; max-width: none; padding: 0 24px; }
  .doc-panel[hidden] { display: block !important; }
  .qa-item { break-inside: avoid; box-shadow: none; }
  .qa-chevron { display: none; }
  .qa-body .step, .qa-body .callout, .qa-body .stat, .qa-body .bar-row { break-inside: avoid; }
  .qa-body .bar-fill { background: #444; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* ===== Responsive ===== */

@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; }

  .mobilebar {
    display: flex;
    align-items: center;
    gap: 10px;
    position: sticky;
    top: 0;
    z-index: 70;
    height: 52px;
    padding: 0 14px;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--bd);
  }

  .mobilebar-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid var(--bd-strong);
    border-radius: var(--r-sm);
    color: var(--ink);
    cursor: pointer;
  }

  .mobilebar-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 86vw);
    transform: translateX(-102%);
    transition: transform 200ms ease;
    box-shadow: none;
  }

  .sidebar.open {
    transform: translateX(0);
    box-shadow: 0 0 40px rgba(12,10,9,0.25);
  }

  .sidebar-scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(12,10,9,0.35);
    z-index: 55;
  }

  .sidebar-scrim[hidden] { display: none; }

  .overview-container { padding: 32px 20px 64px; }
  #panels { padding: 28px 20px 80px; }
  .cover-title { font-size: 30px; }
  .cover-stats { grid-template-columns: repeat(2, 1fr); }
  .pagefoot { padding: 14px 20px; flex-wrap: wrap; }
  .pagefoot span:nth-child(2) { display: none; }
  .search-results-container { padding: 28px 20px; }
}

@media (max-width: 560px) {
  .cover-stats { grid-template-columns: 1fr; }
  .toc-row { gap: 12px; padding: 14px 16px; }
  .toc-count { display: none; }
  .cover-title { font-size: 26px; }
}

/* Cover receipts row (onchain-verified track record, numbers from render_html.py RECEIPTS) */

.receipts { display: block; }

.receipts-caption {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 12px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #15803d;
  flex-shrink: 0;
}

.receipts-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.receipt-card {
  background: var(--bg-panel);
  border: 1px solid var(--bd);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.receipt-value {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.receipt-label {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--ink-3);
}

.receipts-note {
  font-size: 12.5px;
  color: var(--ink-4);
  margin: 12px 0 0;
  max-width: 580px;
}

@media (max-width: 900px) {
  .receipts-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .receipts-row { grid-template-columns: 1fr; }
}
