:root {
  --bg: #0c1119;
  --bg2: #0a0f18;
  --surface: #1c2a3a;
  --line: rgba(255,255,255,.09);
  --text: #FAF7F2;
  --muted: #B4BFCB;
  --gold: #C9A84C;
  --gold-soft: #E8C97A;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg) radial-gradient(ellipse 90% 50% at 50% 0%, rgba(201,168,76,.10), transparent 70%) no-repeat;
  background-attachment: fixed;
  color: var(--text);
  font: 400 17px/1.55 "DM Sans", system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; width: 100%; max-width: 640px; margin: 0 auto; padding: 32px 16px 48px; }

h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(30px, 7vw, 42px); margin: 12px 0 16px; }
h2 { font-size: clamp(23px, 5.5vw, 30px); margin: 8px 0 24px; min-height: 2.4em; }
h3 { font-size: 21px; margin-bottom: 8px; }

.screen { display: none; animation: fade .35s ease; }
.screen.active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .screen { animation: none; } }

.eyebrow { color: var(--gold); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lead { color: var(--muted); margin-bottom: 24px; }
.hint, .small { color: var(--muted); font-size: 14px; margin-top: 14px; }

.dims { list-style: none; margin: 0 0 28px; border-top: 1px solid var(--line); }
.dims li { padding: 12px 0; border-bottom: 1px solid var(--line); display: flex; gap: 14px; }
.dims span { color: var(--gold); font-weight: 700; font-variant-numeric: tabular-nums; }

.btn {
  display: inline-block; width: 100%; padding: 17px 24px; border: 0; border-radius: var(--radius);
  background: var(--gold); color: #14110B; font: 700 17px "DM Sans", sans-serif;
  cursor: pointer; text-align: center; text-decoration: none; transition: background .2s, transform .1s;
}
.btn:hover { background: var(--gold-soft); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--gold-soft); border: 1px solid var(--gold); margin-top: 12px; }

.science { margin-top: 32px; background: var(--surface); border-radius: var(--radius); padding: 16px 18px; }
.science summary { cursor: pointer; font-weight: 700; color: var(--gold-soft); }
.science p, .science ul { margin-top: 12px; font-size: 15px; color: var(--muted); }
.science ul { padding-left: 18px; }
.science li { margin-bottom: 8px; }

/* Quiz */
.topbar { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.back { background: none; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; width: 32px; height: 32px; }
.back:disabled { opacity: .25; cursor: default; }
.progress { flex: 1; height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; }
#bar { height: 100%; width: 0; background: var(--gold); transition: width .3s ease; }
.count { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; min-width: 44px; text-align: right; }

.options { display: grid; gap: 10px; }
.opt {
  width: 100%; text-align: left; padding: 16px 18px; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  font: 500 16px "DM Sans", sans-serif; cursor: pointer; transition: border-color .15s, background .15s;
}
.opt:hover { border-color: var(--gold); }
.opt.selected { border-color: var(--gold); background: rgba(201,168,76,.16); }

/* Form */
form { display: grid; gap: 16px; }
label { display: grid; gap: 6px; font-size: 15px; font-weight: 500; }
label em { color: var(--muted); font-style: normal; font-weight: 400; }
input[type=text], input:not([type]), input[type=email], input[type=tel] {
  width: 100%; padding: 15px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--surface); color: var(--text); font: 16px "DM Sans", sans-serif;
}
input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; color: var(--muted); font-size: 14px; }
.check input { margin-top: 3px; accent-color: var(--gold); width: 18px; height: 18px; flex-shrink: 0; }
.error { color: #E58B6E; font-size: 14px; min-height: 1em; }

/* Result */
.hero-score { text-align: center; padding: 8px 0 28px; }
.ring { width: 180px; height: 180px; margin: 16px auto; position: relative; }
.ring svg { transform: rotate(-90deg); }
.ring .num { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring .num b { font: 700 46px "Playfair Display", serif; }
.ring .num small { color: var(--muted); font-size: 13px; }
.badge { display: inline-block; padding: 6px 14px; border-radius: 99px; font-weight: 700; font-size: 14px; color: #14110B; }

.card { background: var(--surface); border-radius: var(--radius); padding: 22px 20px; margin-bottom: 16px; }
.card p { color: var(--muted); }
.card.highlight { border: 1px solid var(--gold); }

.dim-row { margin: 16px 0; }
.head { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; margin-bottom: 6px; }
.head span:last-child { font-variant-numeric: tabular-nums; color: var(--muted); white-space: nowrap; }
.track { height: 12px; background: rgba(255,255,255,.07); border-radius: 10px; overflow: hidden; }
.fill { height: 100%; width: 0; border-radius: 10px; transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.lvl { font-size: 13px; margin-top: 4px; }

.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.area { background: var(--bg2); border-radius: 12px; padding: 14px; }
.area b { display: block; font-size: 14px; }
.area span { font-size: 13px; color: var(--muted); }
.area p { font-size: 13px; margin-top: 6px; }

ol.steps { padding-left: 20px; color: var(--muted); }
ol.steps li { margin-bottom: 10px; }

.tag { color: var(--gold); font-size: 13px; font-weight: 700; }
.note { font-size: 13px; color: var(--muted); margin-top: 20px; }

footer { text-align: center; color: var(--muted); font-size: 13px; padding: 24px 16px; border-top: 1px solid var(--line); }
footer a { color: var(--gold-soft); }

@media (max-width: 400px) { .areas { grid-template-columns: 1fr; } }

/* v2: bloques, gráficos, línea de tiempo */
.link { display: block; margin: 12px auto 0; background: none; border: 0; color: var(--muted); text-decoration: underline; font: 14px "DM Sans", sans-serif; cursor: pointer; }
.card { background: linear-gradient(145deg, var(--surface) 0%, #142030 100%); border: 1px solid var(--line); }
.card.highlight { border: 1px solid var(--c, var(--gold)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--gold)) 12%, transparent); }

.block-name { font-size: clamp(30px, 8vw, 44px); margin: 10px 0 28px; min-height: 0; }
.fact { background: linear-gradient(145deg, rgba(201,168,76,.12), rgba(28,42,58,.8)); border-left: 3px solid var(--gold); border-radius: var(--radius); padding: 20px; margin-bottom: 28px; }
.fact span { color: var(--gold-soft); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.fact p { margin-top: 8px; font-size: 17px; }

.ring-arc { transition: stroke-dashoffset 1.4s cubic-bezier(.2,.8,.2,1); }

.stagebar { margin: 0 0 20px; }
.stage-track { position: relative; display: flex; height: 12px; gap: 2px; margin-top: 34px; }
.stage-track > div { height: 100%; opacity: .9; }
.stage-track > div:first-child { border-radius: 12px 0 0 12px; }
.stage-track > div:nth-child(4) { border-radius: 0 12px 12px 0; }
.stage-track > .stage-marker { position: absolute; top: -6px; width: 4px; height: 24px; background: #fff; border-radius: 4px; transform: translateX(-50%); box-shadow: 0 0 12px rgba(255,255,255,.7); opacity: 1; }
.stage-marker span { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 12px; font-weight: 700; background: #fff; color: #0c1119; padding: 2px 8px; border-radius: 99px; }
.stage-track > .stage-goal { position: absolute; top: -4px; width: 0; height: 20px; border-left: 2px dashed var(--gold-soft); opacity: 1; }
.stage-labels { display: flex; gap: 2px; margin-top: 8px; }
.stage-labels span { font-size: 11px; color: var(--muted); text-align: center; line-height: 1.2; }

.radar { width: 100%; height: auto; margin-top: 8px; font-family: "DM Sans", sans-serif; }
.radar-shape { transform-origin: 170px 150px; animation: grow 1.2s cubic-bezier(.2,.8,.2,1); }
@keyframes grow { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.leak { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(224,96,90,.12); border: 1px solid rgba(224,96,90,.35); }
.leak span { font-size: 12px; color: #F2A29C; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; width: 100%; }
.leak em { font-style: normal; color: #F2A29C; }

details.dim { border-top: 1px solid var(--line); }
details.dim summary { list-style: none; cursor: pointer; margin: 14px 0; }
details.dim summary::-webkit-details-marker { display: none; }
.head i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; }
.subs { margin: 10px 0 16px; display: grid; gap: 10px; }
.sub .head { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.track.thin { height: 7px; }

.timeline { list-style: none; margin: 18px 0 6px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), #9B8CF2, #4FC1B9, #7CC77E); opacity: .6; }
.timeline li { position: relative; padding: 0 0 22px 32px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 25%, transparent); }
.timeline li.goal::before { width: 20px; height: 20px; left: -2px; box-shadow: 0 0 18px var(--c); }
.timeline .when { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--c); }
.timeline b { display: block; margin: 2px 0 4px; }
.timeline p { font-size: 15px; }

.cta { border: 1px solid var(--gold); background: linear-gradient(145deg, rgba(201,168,76,.18) 0%, #1c2a3a 60%); }
.cta h3 { margin: 8px 0 12px; }
.checks { list-style: none; margin: 16px 0 20px; }
.checks li { padding-left: 28px; position: relative; margin-bottom: 8px; color: var(--text); }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-soft); font-weight: 700; }
.btn { box-shadow: 0 8px 24px rgba(201,168,76,.25); }
.btn.ghost { box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .radar-shape { animation: none; } .fill, .ring-arc { transition: none; } }

/* v3: prioridad celular */
button, .btn, .opt, summary { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
main { padding-bottom: calc(48px + env(safe-area-inset-bottom)); }
.opt { min-height: 56px; font-size: 17px; }
.opt:active { background: rgba(201,168,76,.16); }
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 10;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, #0c1119 70%, rgba(12,17,25,0));
  transform: translateY(110%); transition: transform .3s ease;
}
.sticky-cta.show { transform: none; }
.sticky-cta .btn { max-width: 608px; margin: 0 auto; display: block; }
@media (min-width: 700px) {
  main { padding-top: 56px; }
  .areas { grid-template-columns: 1fr 1fr; }
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } }

/* Ficha de sesión cero (uso interno) */
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.kpis div { background: var(--bg2); border-radius: 12px; padding: 12px 6px; }
.kpis small { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.kpis b { display: block; font: 700 30px "Playfair Display", serif; line-height: 1.2; }
.kpis span { font-size: 12px; color: var(--muted); }
.mini { display: grid; grid-template-columns: 1fr 1.2fr 28px; align-items: center; gap: 10px; margin-top: 10px; font-size: 14px; }
.mini em { font-style: normal; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips span { font-size: 13px; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--text); }
.bul { padding-left: 18px; color: var(--muted); }
.bul li { margin-top: 10px; }
.bul b { color: var(--text); }
.bul .warn, .warnbox { color: #F2A29C; }
.warnbox { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(224,96,90,.12); font-size: 15px; }
.script { list-style: none; margin-top: 14px; }
.script > li { border-left: 2px solid var(--gold); padding: 0 0 18px 16px; }
.script > li > span, .map span { display: block; color: var(--gold-soft); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px; }
.script p { color: var(--muted); margin-top: 4px; }
.script ol.sub { padding-left: 18px; color: var(--muted); }
.script ol.sub li { margin-top: 8px; }
.script i { color: var(--text); font-style: normal; }
.qs { list-style: none; margin-top: 6px; }
.qs li { background: var(--bg2); border-radius: 10px; padding: 10px 12px; margin-top: 6px; color: var(--text); }
.map { list-style: none; margin: 14px 0; }
.map li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.map p { color: var(--text); font-size: 15px; border-radius: 6px; outline: none; }
.map p:focus { background: var(--bg2); box-shadow: 0 0 0 2px var(--gold); padding: 4px; }
.obj { padding: 10px 0; border-bottom: 1px solid var(--line); }
.obj p { color: var(--muted); font-size: 15px; }

/* Evaluación final: comparación antes y ahora */
textarea { width: 100%; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 16px "DM Sans", sans-serif; resize: vertical; }
textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
#final-extra { display: grid; gap: 14px; }
#final-extra[hidden] { display: none; }
.versus { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 20px 0 8px; }
.versus div:not(.arrow) { text-align: center; min-width: 110px; }
.versus small { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.versus b { display: block; font: 700 54px "Playfair Display", serif; line-height: 1.1; }
.versus span { font-size: 13px; color: var(--muted); }
.versus .arrow { font-size: 30px; color: var(--gold-soft); }
.big-delta { font-weight: 500; }
.delta { display: inline-block; padding: 1px 8px; border-radius: 99px; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.1); color: var(--muted); }
.delta.up { background: rgba(124,199,126,.18); color: #9BE09D; }
.delta.down { background: rgba(224,96,90,.18); color: #F2A29C; }
.big-delta .delta { font-size: 18px; padding: 2px 12px; }
.stage-track > .stage-marker.before { background: rgba(255,255,255,.5); box-shadow: none; height: 20px; top: -4px; }
.stage-marker.before span { bottom: auto; top: 26px; background: rgba(255,255,255,.18); color: var(--text); font-weight: 500; }
.stagebar:has(.before) .stage-labels { margin-top: 34px; }
.quote { margin-top: 14px; padding: 14px 16px; border-left: 3px solid var(--gold); background: var(--bg2); border-radius: 0 12px 12px 0; font: 500 18px/1.4 "Playfair Display", serif; color: var(--text); }

/* Informe Profundo y oferta */
.informe-offer { border: 1px dashed rgba(201,168,76,.6); }
.informe-offer h3 { margin: 6px 0 8px; }
.compare-cta p { margin-bottom: 12px; color: var(--text); }
.arch { font-size: clamp(28px, 7vw, 38px); margin: 6px 0 12px; min-height: 0; }
.sf { padding: 12px 0; border-bottom: 1px solid var(--line); }
.sf .head { font-size: 15px; }
.sf p { font-size: 15px; margin-top: 8px; }
.acts { padding-left: 20px; margin-top: 12px; }
.acts li { margin-bottom: 16px; }
.acts em { display: block; font-style: normal; font-size: 13px; }
.acts p { color: var(--text); margin-top: 4px; }
.plan-week { padding: 14px 0; border-bottom: 1px solid var(--line); }
.plan-week p { font-size: 15px; margin: 4px 0 10px; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.days label { display: grid; place-items: center; gap: 2px; font-size: 11px; color: var(--muted); }
.days input { width: 28px; height: 28px; accent-color: var(--gold); }
@media print {
  /* El PDF conserva los colores, barras y gráficos de la web */
  @page { size: A4; margin: 0; }
  html, body { background: #0c1119 !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  footer, #print, [data-print], .cta, .sticky-cta, .informe-offer, .compare-cta { display: none !important; }
  main { max-width: none; padding: 12mm; }
  .card { break-inside: auto; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
  .dim-detail, .sf, .plan-week, .arch-grid > div, .energy, blockquote, .radar, .acts li, .stagebar { break-inside: avoid; }
  h3, .tag { break-after: avoid; }
  .radar { max-height: 300px; }
  .fill { transition: none !important; }
}

/* Página de gracias */
.thanks-mark { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 700; color: #14110B; background: linear-gradient(135deg, #E8C97A, #C9A84C); box-shadow: 0 0 0 8px rgba(201,168,76,.15); margin-bottom: 22px; }
#g-open { margin: 6px 0 16px; }

/* Informe Profundo v2 */
.arch-grid { display: grid; gap: 10px; margin-top: 16px; }
.arch-grid > div { background: var(--bg2); border-radius: 12px; padding: 14px; border-left: 3px solid var(--c, var(--gold)); }
.arch-grid b { display: block; font-size: 14px; color: var(--gold-soft); margin-bottom: 4px; }
.arch-grid p { font-size: 15px; color: var(--text); }
@media (min-width: 640px) { .arch-grid { grid-template-columns: 1fr 1fr; } }
.dim-detail { padding: 14px 0; border-top: 1px solid var(--line); }
.dim-detail p { margin-top: 6px; font-size: 15px; }
.energy { margin-top: 18px; padding: 16px; border-radius: 14px; background: linear-gradient(145deg, rgba(201,168,76,.14), rgba(79,193,185,.08)); border: 1px solid rgba(232,201,122,.35); }
.energy .head { font-weight: 700; }
.energy p { margin-top: 10px; font-size: 15px; color: var(--text); }
.mike-quote { margin: 8px 0 20px; font-size: 19px; }
.mike-quote cite { display: block; margin-top: 10px; font: 600 13px "DM Sans", sans-serif; color: var(--gold-soft); font-style: normal; }
.thanks-quote { margin: 22px 0 10px; font: 500 22px/1.35 "Playfair Display", serif; color: var(--gold-soft); }

/* Cierre cuando no clasifica */
#f-grupal { margin: 8px 0 18px; }
.ebook-card { margin-top: 6px; }
.ebook-card h3 { margin: 6px 0 8px; }

/* Panel de leads */
.seg { margin-bottom: 12px; }
.chip-btn { background: var(--surface); border: 1px solid var(--line); color: var(--text); border-radius: 99px; padding: 8px 12px; font: 500 13px "DM Sans", sans-serif; cursor: pointer; }
.chip-btn.on { border-color: var(--gold); background: rgba(201,168,76,.16); }
.lead-card { margin-top: 12px; }
.lead-card p { margin-top: 4px; }
.lead-actions { display: flex; gap: 16px; margin-top: 8px; }
.lead-actions .link { margin: 0; }
.seg-tag { font-size: 12px; padding: 3px 10px; border-radius: 99px; background: rgba(255,255,255,.08); white-space: nowrap; }
.s-compro { background: rgba(124,199,126,.2); color: #9BE09D; }
.s-apto { background: rgba(201,168,76,.2); color: var(--gold-soft); }
.s-noapto { background: rgba(224,96,90,.18); color: #F2A29C; }

/* WhatsApp con indicativo */
.phone-row { display: flex; gap: 8px; }
.phone-row select { flex: 0 0 auto; max-width: 46%; padding: 15px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 15px "DM Sans", sans-serif; }
.phone-row input { flex: 1; min-width: 0; }

/* Dashboard */
#dash main, #dash { max-width: 100%; }
.kpi-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0 16px; }
@media (min-width: 640px) { .kpi-row { grid-template-columns: repeat(3, 1fr); } }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.kpi b { display: block; font: 700 26px "Playfair Display", serif; color: var(--text); }
.kpi b small { font: 500 13px "DM Sans", sans-serif; color: var(--muted); }
.kpi span { font-size: 12px; color: var(--muted); }
.dread p { margin-top: 8px; color: var(--text); font-size: 15px; }
.dgrid { display: grid; gap: 0; }
.dchart .dhead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.dchart .dhead .link { margin: 0; }
.dbar { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; background: none; border: 0; padding: 7px 4px; border-radius: 8px; color: var(--text); font: 14px "DM Sans", sans-serif; text-align: left; cursor: pointer; }
.dbar:hover { background: rgba(255,255,255,.05); }
.dlabel { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dtrack { height: 10px; background: rgba(255,255,255,.07); border-radius: 4px; overflow: hidden; }
.dfill { display: block; height: 100%; background: var(--gold); border-radius: 0 4px 4px 0; transition: width .3s; }
.dval { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dbar.off { opacity: .35; }
.dbar.on .dfill { background: var(--gold-soft); }
.dbar.on .dlabel { color: var(--gold-soft); font-weight: 700; }
.dcols { display: grid; grid-template-columns: repeat(30, 1fr); gap: 2px; align-items: end; height: 110px; }
.dcol { height: 100%; display: flex; align-items: flex-end; background: none; border: 0; padding: 0; cursor: pointer; }
.dcol span { display: block; width: 100%; background: var(--gold); border-radius: 4px 4px 0 0; }
.dcol:hover span { background: var(--gold-soft); }
.dcol.off { opacity: .3; }
.daxis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 6px; }
.dtable { overflow-x: auto; }
.dtable table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dtable th { text-align: left; color: var(--muted); font-weight: 500; padding: 6px; border-bottom: 1px solid var(--line); }
.dtable td { padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.dtable small { color: var(--muted); }
