/* ==========================================================================
   Streak — base.css  ·  "Mono" direction
   Two complete alternatives from one stylesheet:
     White  = white card on cool gray   (default / prefers-color-scheme: light)
     Black  = black card on charcoal    (prefers-color-scheme: dark, or <html data-theme="dark">)
   Black & white do the structure; the mascots are the only color.
   Plain CSS, no build step, self-hosted assets only (CSP 'self').
   1 fonts · 2 tokens · 3 reset · 4 language · 5 shell & layout · 6 type
   7 header/footer · 8 buttons · 9 forms · 10 messages · 11 surfaces
   12 constellation · 13 mascots · 14 hero & fan · 15 accordion · 16 pages · 17 a11y
   ========================================================================== */

/* 1 · Fonts ---------------------------------------------------------------- */
/* Instrument Sans (SIL OFL 1.1), variable weight 400–700, latin (covers ES) */
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-latin-wght-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }

/* 2 · Tokens --------------------------------------------------------------- */
:root, [data-theme="light"] {
  color-scheme: light;
  --page: #babdc0;          /* the gray the card sits on */
  --bg: #ffffff;            /* the card */
  --bg-raised: #ffffff;
  --bg-sunken: #f2f2f2;     /* tiles, inputs */
  --bg-inverse: #0b0b0b;
  --fg: #0b0b0b;
  --fg-inverse: #ffffff;
  --fg-muted: #6b6b6b;      /* 5.3:1 on white */
  --line: #e9e9e9;
  --line-strong: #cfcfcf;
  --solid: #0b0b0b;         /* the pill */
  --solid-fg: #ffffff;
  --focus: #0b0b0b;
  --ok: #10773f;   --ok-bg: #e6f5ec;
  --err: #c62d24;  --err-bg: #fdeceb;
  --shadow: 0 1px 0 rgba(0,0,0,.04), 0 20px 60px -30px rgba(0,0,0,.25);

  --font: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --t-2xs: .6875rem;  /* 11 labels */
  --t-xs: .8125rem;   /* 13 small, nav */
  --t-s: .875rem;     /* 14 body small */
  --t-m: 1rem;        /* 16 body, inputs */
  --t-l: 1.125rem;    /* 18 reading */
  --t-xl: 1.5rem;     /* 24 tile titles */
  --t-2xl: clamp(1.875rem, 3.6vw, 3rem);      /* 30–48 section titles */
  --t-3xl: clamp(2.5rem, 6vw, 4.75rem);       /* 40–76 hero */
  --lh-tight: 1.04; --lh: 1.5; --lh-read: 1.65;
  --track-tight: -.035em; --track-label: .04em;
  --measure: 64ch;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 140px;
  --gutter: 16px;
  --frame: 8px;             /* gap between window edge and the card */
  --max: 1160px; --max-read: 660px;

  --r-1: 8px; --r-2: 12px; --r-3: 20px; --r-pill: 999px;
  --dot: 8px; --hit: 44px;

  --ease: cubic-bezier(.2, 0, 0, 1); --ease-io: cubic-bezier(.45, 0, .55, 1);
  --d-1: 160ms; --d-2: 400ms;
}
@media (min-width: 720px) { :root { --gutter: 32px; --frame: 16px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; --frame: 24px; } }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --page: #1c1c1c; --bg: #0a0a0a; --bg-raised: #111111; --bg-sunken: #161616; --bg-inverse: #ffffff;
    --fg: #f4f4f4; --fg-inverse: #0a0a0a; --fg-muted: #9a9a9a; --line: #222222; --line-strong: #353535;
    --solid: #ffffff; --solid-fg: #0a0a0a; --focus: #ffffff;
    --ok: #52d68f; --ok-bg: #0f2419; --err: #ff7468; --err-bg: #2b1210;
    --shadow: 0 0 0 1px #1f1f1f, 0 30px 80px -40px rgba(0,0,0,.8);
  }
}
[data-theme="dark"] {
  color-scheme: dark;
  --page: #1c1c1c; --bg: #0a0a0a; --bg-raised: #111111; --bg-sunken: #161616; --bg-inverse: #ffffff;
  --fg: #f4f4f4; --fg-inverse: #0a0a0a; --fg-muted: #9a9a9a; --line: #222222; --line-strong: #353535;
  --solid: #ffffff; --solid-fg: #0a0a0a; --focus: #ffffff;
  --ok: #52d68f; --ok-bg: #0f2419; --err: #ff7468; --err-bg: #2b1210;
  --shadow: 0 0 0 1px #1f1f1f, 0 30px 80px -40px rgba(0,0,0,.8);
}

/* 3 · Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--page); color: var(--fg);
  font-family: var(--font); font-size: var(--t-m); line-height: var(--lh); font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  padding: var(--frame);
}
img, video, svg, picture { display: block; max-width: 100%; }
h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
::selection { background: var(--fg); color: var(--bg); }

/* 4 · Language ------------------------------------------------------------- */
html[lang="es"] [data-lang="en"], html[lang="en"] [data-lang="es"],
[data-lang="en"]:lang(es), [data-lang="es"]:lang(en) { display: none !important; }

/* 5 · Shell & layout ------------------------------------------------------- */
/* <body><div class="shell"> header · main · footer </div></body> — the framed card */
.shell {
  position: relative; display: flex; flex-direction: column;
  min-height: calc(100vh - 2 * var(--frame)); min-height: calc(100dvh - 2 * var(--frame));
  background: var(--bg); border-radius: var(--r-3); box-shadow: var(--shadow);
  overflow: clip;
}
main { flex: 1 0 auto; }
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--read { max-width: calc(var(--max-read) + 2 * var(--gutter)); }
.stack { display: flex; flex-direction: column; gap: var(--gap, var(--s-4)); }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, var(--s-3)); }
.center-x { text-align: center; align-items: center; margin-inline: auto; }
.section { padding-block: clamp(64px, 10vw, var(--s-10)); border-top: 1px solid var(--line); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--s-3); top: var(--s-3); z-index: 100; padding: var(--s-2) var(--s-4); background: var(--solid); color: var(--solid-fg); border-radius: var(--r-pill); transform: translateY(-300%); }
.skip:focus { transform: none; }

/* 6 · Type ----------------------------------------------------------------- */
.label { display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-2xs); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.3; }
.pill-label { width: max-content; display: inline-flex; align-items: center; height: 26px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); font-size: var(--t-2xs); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; }
.muted { color: var(--fg-muted); }
.small { font-size: var(--t-xs); }
.lede { font-size: var(--t-m); line-height: var(--lh-read); color: var(--fg-muted); max-width: 46ch; text-wrap: pretty; }
.title { font-size: var(--t-xl); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; text-wrap: balance; }
.display { font-size: var(--t-2xl); font-weight: 600; line-height: var(--lh-tight); letter-spacing: var(--track-tight); text-wrap: balance; }
.mega { font-size: var(--t-3xl); font-weight: 600; line-height: var(--lh-tight); letter-spacing: var(--track-tight); text-wrap: balance; }
.number { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 600; line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.prose { font-size: var(--t-l); line-height: var(--lh-read); max-width: var(--measure); }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: var(--t-xl); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; margin-top: 2em; scroll-margin-top: var(--s-7); }
.prose h3 { font-size: var(--t-m); font-weight: 600; margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose a { text-decoration: underline; }
kbd { display: inline-grid; place-items: center; min-width: 1.8em; height: 1.8em; padding: 0 .45em; font: 600 var(--t-2xs)/1 var(--font); border: 1px solid currentColor; border-radius: 6px; opacity: .8; }

/* 7 · Header & footer ------------------------------------------------------ */
/* JS fills these. The "Streak" title sits in the center; nav on the right. */
header[data-site] {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: var(--s-3);
  min-height: 72px; padding: var(--s-3) var(--gutter); font-size: var(--t-xs); position: relative; z-index: 3;
}
header[data-site] .brand, header[data-site] > a:first-child {
  grid-column: 2; grid-row: 1; justify-self: center;
  font-size: 1.375rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; padding-block: var(--s-2);
}
header[data-site] .brand::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: currentColor; box-shadow: 14px 0 0 -3px currentColor; margin-right: 10px; }
header[data-site] nav { grid-column: 3; grid-row: 1; justify-self: end; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; justify-content: flex-end; }
header[data-site] .lead { grid-column: 1; grid-row: 1; justify-self: start; display: flex; gap: 2px; align-items: center; }
header[data-site] nav a:not(.btn), header[data-site] .lead a, header[data-site] .linkish {
  display: inline-flex; align-items: center; min-height: var(--hit); padding-inline: var(--s-2); text-decoration: none; border: 0; background: none; font-weight: 500;
}
header[data-site] a:not(.btn):hover, header[data-site] a[aria-current="page"] { text-decoration: underline; }
header[data-site] .sep { display: none; }
@media (max-width: 599px) {
  header[data-site] { grid-template-columns: auto 1fr; }
  header[data-site] .brand, header[data-site] > a:first-child { grid-column: 1; justify-self: start; }
  header[data-site] nav { grid-column: 2; }
  header[data-site] .lead, header[data-site] .hide-sm { display: none !important; }
  header[data-site] nav a:not(.btn), .lang, .theme-toggle { padding-inline: 6px; }
  header[data-site] .btn { min-height: 36px; padding-inline: 14px; }
}
.lang, .theme-toggle {
  display: inline-flex; align-items: center; gap: 2px; min-height: var(--hit); padding-inline: var(--s-2);
  background: none; border: 0; font-size: var(--t-2xs); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase;
}
.lang .is-on, .theme-toggle .is-on { text-decoration: underline; text-underline-offset: .35em; }
.lang .off, .theme-toggle .off { opacity: .5; }

footer[data-site] {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3) var(--s-5);
  padding: var(--s-6) var(--gutter); border-top: 1px solid var(--line); font-size: var(--t-xs); color: var(--fg-muted);
}
footer[data-site] .brand { color: var(--fg); font-weight: 700; letter-spacing: -.03em; font-size: 1rem; text-decoration: none; margin-right: auto; }
footer[data-site] nav { display: flex; flex-wrap: wrap; gap: var(--s-1) var(--s-4); }
footer[data-site] a { text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
footer[data-site] a:hover { color: var(--fg); text-decoration: underline; }

/* 8 · Buttons -------------------------------------------------------------- */
.btn {
  --b-bg: var(--solid); --b-fg: var(--solid-fg); --b-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-2);
  min-height: 40px; padding: 0 20px; border-radius: var(--r-pill);
  font-size: var(--t-xs); font-weight: 600; line-height: 1; letter-spacing: -.005em; white-space: nowrap;
  background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd); text-decoration: none;
  transition: transform var(--d-1) var(--ease), background-color var(--d-1), opacity var(--d-1);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--line { --b-bg: transparent; --b-fg: var(--fg); --b-bd: var(--line-strong); }
.btn--line:hover { --b-bd: var(--fg); }
.btn--text { --b-bg: transparent; --b-fg: var(--fg); padding-inline: var(--s-2); text-decoration: underline; text-underline-offset: .25em; }
.btn--danger { --b-bg: var(--err); --b-fg: #fff; }
.btn--light { /* kept for markup compatibility: same as the solid pill */ }
.btn--big { min-height: 52px; padding-inline: 28px; font-size: var(--t-s); }
.btn--block { width: 100%; }
.btn--pill { border-radius: var(--r-pill); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .4; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { color: transparent; position: relative; pointer-events: none; }
.btn[aria-busy="true"]::after { content: ""; position: absolute; left: 50%; top: 50%; width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: var(--b-fg); box-shadow: -11px 0 0 var(--b-fg), 11px 0 0 var(--b-fg); animation: busy 1.1s var(--ease-io) infinite; }
@keyframes busy { 50% { opacity: .25; } }

/* 9 · Forms ---------------------------------------------------------------- */
.form { display: flex; flex-direction: column; gap: var(--s-4); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, .field > .label-text { font-size: var(--t-xs); font-weight: 600; }
.field .help { font-size: var(--t-xs); color: var(--fg-muted); }
.field .error { font-size: var(--t-xs); color: var(--err); }
.input, .field input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; font-size: 16px;
  background: var(--bg-sunken); color: var(--fg); border: 1px solid transparent; border-radius: var(--r-2);
  transition: border-color var(--d-1), background-color var(--d-1);
}
.field textarea { min-height: 150px; resize: vertical; line-height: var(--lh); }
.field input:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: none; border-color: var(--fg); background: var(--bg); }
.field input[readonly] { background: transparent; border-color: var(--line); color: var(--fg-muted); }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--err); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: var(--s-3); align-items: start; font-size: var(--t-xs); line-height: 1.5; cursor: pointer; padding-block: var(--s-1); }
.check input { appearance: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid var(--line-strong); border-radius: 7px; background: var(--bg); display: grid; place-items: center; transition: background-color var(--d-1); }
.check input::after { content: ""; width: 10px; height: 6px; border: 2px solid var(--solid-fg); border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform var(--d-1) var(--ease); }
.check input:checked { background: var(--solid); border-color: var(--solid); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check a { text-decoration: underline; }
input[type="range"] { width: 100%; accent-color: var(--fg); min-height: var(--hit); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px !important; }
[data-turnstile] { min-height: 65px; width: 300px; max-width: 100%; }

/* 10 · Messages ------------------------------------------------------------ */
.msg[data-msg] { position: relative; font-size: var(--t-xs); line-height: 1.5; padding: 12px 14px 12px 32px; border-radius: var(--r-2); }
.msg[data-msg]:empty { display: none; }
.msg[data-msg]::before { content: ""; position: absolute; left: 14px; top: calc(12px + .5em); width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.msg.err { color: var(--err); background: var(--err-bg); }
.msg.ok { color: var(--ok); background: var(--ok-bg); }
.banner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-4); padding: 8px 8px 8px 16px; font-size: var(--t-xs); background: var(--bg-sunken); border-radius: var(--r-pill); justify-self: center; }
.banner .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.banner .btn { min-height: 32px; }

/* 11 · Surfaces ------------------------------------------------------------ */
.sheet { position: relative; background: var(--bg); color: var(--fg); border: 1px solid var(--line); border-radius: var(--r-3); padding: var(--s-6) var(--s-5); }
.sheet--auth { width: 100%; max-width: 420px; }
@media (min-width: 560px) { .sheet { padding: var(--s-7); } }
@media (max-width: 379px) { .sheet { padding-inline: 12px; } }
.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: var(--s-3); min-height: 340px; padding: var(--s-6); background: var(--bg-sunken); border-radius: var(--r-3); }
.tile__num { font-size: var(--t-xs); font-weight: 600; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.tile__title { font-size: var(--t-xl); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; max-width: 16ch; }
.tile__text { font-size: var(--t-s); color: var(--fg-muted); max-width: 30ch; line-height: 1.5; }
.tile--inverse { background: var(--bg-inverse); color: var(--fg-inverse); }
.tile--inverse .tile__text, .tile--inverse .tile__num { color: color-mix(in srgb, var(--fg-inverse) 65%, transparent); }
.tile > .mascot.peek { position: absolute; right: var(--peek-x, 24px); bottom: calc(var(--m, 180px) * -0.3); --m: 180px; transform: rotate(var(--r, -8deg)); }
.rows { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.rows > * { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.rows dt, .rows .k { font-size: var(--t-xs); color: var(--fg-muted); }
@media (max-width: 479px) { .rows > * { grid-template-columns: 1fr; gap: var(--s-1); } }
.danger-zone { border: 1px solid color-mix(in srgb, var(--err) 45%, transparent); border-radius: var(--r-3); padding: var(--s-5); }
.tag { width: max-content; align-self: flex-start; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill); font-size: var(--t-2xs); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; background: var(--bg); color: var(--fg); }
.tag--solid { background: var(--solid); color: var(--solid-fg); }
.tag--line { background: transparent; border: 1px solid currentColor; }

/* Course cards */
.courses { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); }
.course { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: var(--s-6); min-height: 260px; padding: var(--s-5); border-radius: var(--r-3); text-decoration: none; background: var(--bg-inverse); color: var(--fg-inverse); transition: transform var(--d-2) var(--ease); }
.course:hover { transform: translateY(-3px); }
.course__name { font-size: var(--t-xl); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; max-width: 14ch; }
.course__meta { font-size: var(--t-xs); opacity: .7; }
.course .tag--solid { background: var(--fg-inverse); color: var(--bg-inverse); }
.course.is-soon .tag { background: var(--bg); color: var(--fg-muted); }
.course.is-soon { background: var(--bg-sunken); color: var(--fg-muted); cursor: default; }
.course.is-soon:hover { transform: none; }
.course .peek { position: absolute; right: 18px; bottom: calc(var(--m, 130px) * -0.28); --m: 130px; transform: rotate(var(--r, 8deg)); }
.course > img:not(.mascot) { display: none; } /* photo slot from v1 markup: not used in Mono */

/* 12 · Constellation (streak, phases, steps) ------------------------------ */
.const { --h: 120px; position: relative; display: flex; height: var(--h); margin: 0; padding: 0; list-style: none; color: var(--fg); }
.const__pt { position: relative; flex: 1 1 0; min-width: 0; }
.const__pt::after { content: ""; position: absolute; left: 50%; top: 0; width: 100%; height: 100%; background: currentColor; opacity: .9; pointer-events: none;
  clip-path: polygon(0 var(--y), 100% var(--ny, var(--y)), 100% calc(var(--ny, var(--y)) + 1.5px), 0 calc(var(--y) + 1.5px)); }
.const__pt:last-child::after, .const__pt.is-missed::after, .const__pt:has(+ .is-missed)::after, .const__pt.no-link::after { display: none; }
.const__dot { position: absolute; left: 50%; top: var(--y); z-index: 1; width: var(--dot); height: var(--dot); margin: calc(var(--dot) / -2 + .75px) 0 0 calc(var(--dot) / -2); border-radius: 50%; background: currentColor; border: 1.5px solid currentColor; }
.is-missed .const__dot, .is-pending .const__dot { background: var(--bg); }
.is-next .const__dot { opacity: .45; }
.is-today .const__dot::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid currentColor; animation: pulse 2.6s var(--ease-io) infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(3.2); opacity: 0; } }
.const__lbl { position: absolute; left: 50%; top: calc(var(--y) + 14px); transform: translateX(-50%); width: max-content; max-width: 16ch; text-align: center; font-size: var(--t-2xs); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; line-height: 1.3; }
.is-current .const__lbl { text-decoration: underline; text-underline-offset: .35em; }
.is-next .const__lbl { opacity: .55; }
.const__meta { display: block; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--fg-muted); margin-top: 2px; }
.streak-count { display: flex; align-items: baseline; gap: var(--s-2); }
@media (max-width: 599px) {
  .const--streak .const__pt:nth-last-child(n+8) { display: none; }
  .const--steps { flex-direction: column; height: auto; gap: var(--s-6); }
  .const--steps .const__pt { --y: 0% !important; min-height: 48px; padding-left: 28px; padding-right: 76px; }
  .const--steps .const__pt::after { left: 3px; top: 8px; width: 1.5px; height: calc(100% + var(--s-6)); clip-path: none; }
  .const--steps .const__dot { left: 0; top: 4px; margin: 0; }
  .const--steps .const__lbl { position: static; transform: none; text-align: left; max-width: none; }
}

/* 13 · Mascots ------------------------------------------------------------- */
/* <img> fallbacks; js/mascots.js inlines them as .is-live SVGs (eyes follow, hops, reactions).
   Always standing on something: .perch on a dot · .on-edge on a card · .peek out of a tile · the hero fan. */
.mascot { display: block; width: var(--m, 120px); height: auto; }
.perch { position: absolute; left: 50%; bottom: calc(100% - var(--y) + var(--perch-gap, 3px) - var(--perch, 64px) * var(--foot, 0)); width: var(--perch, 64px); height: auto; transform: translateX(-50%); pointer-events: none; z-index: 2; }
.is-next .perch, .perch.is-quiet { opacity: .9; }
.on-edge { position: absolute; bottom: calc(100% - 2px - var(--m, 88px) * var(--foot, 0)); left: var(--edge-x, 32px); width: var(--m, 88px); height: auto; z-index: 2; }
.ledge { position: relative; border-bottom: 1.5px solid currentColor; }
.ledge > .mascot { position: absolute; left: 50%; bottom: calc(var(--m, 120px) * var(--foot, 0) * -1); transform: translateX(-50%); }
[data-mascot="flor"], img[src*="mascots/flor"] { --foot: .067; }
[data-mascot="bigote"], img[src*="mascots/bigote"] { --foot: .1; }
[data-mascot="uno"], img[src*="mascots/uno"] { --foot: .067; }
[data-mascot="musgo"], img[src*="mascots/musgo"] { --foot: .033; }
[data-mascot="mandarina"], img[src*="mascots/mandarina"] { --foot: .033; }

.m-svg { overflow: visible; }
.is-live .heart { stroke: var(--fg); } /* the heart outline flips with the theme */
.is-live { pointer-events: auto; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.is-live .body { transform-box: fill-box; transform-origin: 50% 100%; }
.is-live .eyes { transform-box: fill-box; transform-origin: center; animation: m-blink 7s infinite var(--blink-delay, 0s); transition: transform .18s var(--ease); }
.is-live .eye { transform-box: fill-box; transform-origin: center; transition: transform .25s var(--ease); }
.is-live.surprised .eye { transform: scale(1.22); }
.is-live.happy .eyes { animation: none; transform: translateY(-2px) scaleY(.22); }
.is-live.sad .eyes { animation: none; transform: translateY(3px) scaleY(.55); }
.is-live.shy .eyes { animation: none; transform: scaleY(.07); }
.is-live.hop .body { animation: m-hop .8s cubic-bezier(.3, .7, .4, 1); }
.is-live.jump .body { animation: m-jump .95s cubic-bezier(.25, .8, .35, 1); }
.is-live.shake .body { animation: m-shake .5s ease-in-out; }
@keyframes m-blink { 0%, 95%, 100% { transform: scaleY(1); } 97.5% { transform: scaleY(.08); } }
@keyframes m-hop { 0% { transform: none; } 15% { transform: scale(1.1, .86); } 45% { transform: translateY(-24%) scale(.94, 1.08); } 72% { transform: translateY(0) scale(1.12, .86); } 86% { transform: scale(.97, 1.04); } 100% { transform: none; } }
@keyframes m-jump { 0% { transform: none; } 12% { transform: scale(1.14, .8); } 40% { transform: translateY(-55%) rotate(-8deg) scale(.92, 1.1); } 55% { transform: translateY(-58%) rotate(6deg); } 78% { transform: translateY(0) scale(1.16, .82); } 90% { transform: scale(.96, 1.05); } 100% { transform: none; } }
@keyframes m-shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6%) rotate(-4deg); } 45% { transform: translateX(5%) rotate(3deg); } 70% { transform: translateX(-3%); } }

/* Signature loops (hero fan, dashboard trio): each mascot "doing its thing" */
.lineup .is-live[data-mascot="flor"] .petals { transform-box: fill-box; transform-origin: center; animation: l-spin 14s linear infinite; }
.lineup .is-live[data-mascot="bigote"] .mouth { transform-box: fill-box; transform-origin: 50% 0; animation: l-talk .38s ease-in-out infinite alternate; }
.lineup .is-live[data-mascot="bigote"]:not(.hop):not(.jump):not(.shake) .body { animation: l-bob .76s ease-in-out infinite; }
.lineup .is-live[data-mascot="mandarina"] .heart { transform-box: fill-box; transform-origin: 50% 80%; animation: l-beat 1.1s ease-in-out infinite; }
.lineup .is-live[data-mascot="musgo"]:not(.hop):not(.jump):not(.shake) .body { animation: l-bounce 1.3s cubic-bezier(.3, .7, .4, 1) infinite; }
.lineup .is-live[data-mascot="uno"]:not(.hop):not(.jump):not(.shake) .body { animation: l-look 4.2s ease-in-out infinite; }
@keyframes l-spin { to { transform: rotate(360deg); } }
@keyframes l-talk { from { transform: scaleY(1); } to { transform: translateY(1px) scaleY(1.4); } }
@keyframes l-bob { 0%, 100% { transform: none; } 50% { transform: translateY(-3%) scale(1.02, .98); } }
@keyframes l-beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.3); } 30% { transform: scale(1); } 45% { transform: scale(1.18); } }
@keyframes l-bounce { 0%, 100% { transform: none; } 10% { transform: scale(1.1, .86); } 40% { transform: translateY(-22%) scale(.94, 1.08); } 66% { transform: translateY(0) scale(1.1, .88); } 82% { transform: scale(.98, 1.02); } }
@keyframes l-look { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-7deg); } 45% { transform: rotate(0); } 65% { transform: rotate(6deg); } 85% { transform: rotate(0); } }

/* 14 · Hero & fan ---------------------------------------------------------- */
.hero { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(48px, 9vw, 120px) var(--gutter) 0; min-height: clamp(620px, 88vh, 900px); overflow: clip; }
.hero__title { font-size: var(--t-3xl); font-weight: 600; line-height: var(--lh-tight); letter-spacing: var(--track-tight); max-width: 13ch; text-wrap: balance; }
.hero__title .inline-mascot { display: inline-block; width: .92em; height: .92em; vertical-align: -.14em; margin: 0 .06em; transform: rotate(-8deg); }
.hero__sub { margin-top: var(--s-4); font-size: var(--t-s); color: var(--fg-muted); max-width: 38ch; }
.hero__cta { margin-top: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; }
/* The fan: five big mascots tucked into the bottom edge, like books on a table */
.fan { --m: clamp(128px, 23vw, 310px); position: relative; width: min(1120px, 100%); height: calc(var(--m) * .95); margin-top: auto; }
.fan__item { position: absolute; left: var(--x); bottom: calc(var(--m) * var(--sink, -.26)); width: var(--m); height: auto; transform: translateX(-50%) rotate(var(--r, 0deg)); z-index: var(--z, 1); transition: bottom .45s var(--ease); }
.fan__item.is-live:hover { --sink: -.12; }
@media (max-width: 599px) { .hero { min-height: 0; } .fan { --m: clamp(96px, 34vw, 150px); height: calc(var(--m) * 1.05); margin-top: var(--s-8); } }

/* 15 · Accordion ----------------------------------------------------------- */
.qa { border-top: 1px solid var(--line); }
.qa:last-of-type { border-bottom: 1px solid var(--line); }
.qa > summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 28px; gap: var(--s-4); align-items: center; min-height: 64px; padding-block: var(--s-4); font-size: var(--t-l); font-weight: 600; letter-spacing: -.01em; }
.qa > summary::-webkit-details-marker { display: none; }
.qa > summary::after { content: "+"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bg-sunken); font-weight: 500; transition: transform var(--d-2) var(--ease); }
.qa[open] > summary::after { transform: rotate(45deg); }
.qa .qa__a { padding: 0 var(--s-7) var(--s-5) 0; color: var(--fg-muted); max-width: var(--measure); line-height: var(--lh-read); }

/* 16 · Page patterns ------------------------------------------------------- */
.page-head { padding-block: clamp(48px, 8vw, 96px) var(--s-6); display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-4); }
.page-head .display, .page-head .mega { max-width: 18ch; }
.center { flex: 1; display: grid; place-items: center; padding: var(--s-6) var(--gutter) var(--s-8); }
.toc { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-1); font-size: var(--t-xs); }
.toc a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); text-decoration: none; background: var(--bg-sunken); font-weight: 600; }
.toc a[aria-current="page"] { background: var(--solid); color: var(--solid-fg); }
.legal-meta { font-size: var(--t-xs); color: var(--fg-muted); }
.dashboard { display: grid; gap: var(--s-7); padding: var(--s-5) var(--gutter) var(--s-9); align-content: start; flex: 1; }
.big404 { display: flex; align-items: flex-end; justify-content: center; gap: .04em; font-size: clamp(120px, 26vw, 300px); font-weight: 700; letter-spacing: -.06em; line-height: .8; }
.big404 .mascot { --m: .62em; margin-bottom: -.02em; }

/* 17 · Focus & motion ------------------------------------------------------ */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .is-today .const__dot::after { display: none; }
}
@media (forced-colors: active) { .const__pt::after { background: CanvasText; } .const__dot { background: CanvasText; border-color: CanvasText; } }
@media print { header[data-site], footer[data-site] { display: none !important; } body { background: #fff; padding: 0; } .shell { box-shadow: none; } }

/* ==========================================================================
   v2.1 additions — drops dashboard · onboarding · weak spots
   Everything below reuses the v2 tokens; nothing above was changed.
   ========================================================================== */

/* Context line under the greeting ("Ingeniería de software · B1 · cambiar") */
.ctx-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 8px; font-size: var(--t-xs); color: var(--fg-muted); }
.ctx-line a { color: var(--fg); font-weight: 600; text-decoration: underline; text-underline-offset: .25em; }

/* Today header: "Hoy · 1 / 3" + the midnight rule */
.today-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-2) var(--s-5); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.today-head h2 { font-size: var(--t-xl); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.today-head h2 .of { color: var(--fg-muted); font-variant-numeric: tabular-nums; }
#today-rule { font-size: var(--t-xs); color: var(--fg-muted); max-width: 52ch; text-align: right; line-height: 1.5; }
#today-rule b { color: var(--fg); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 599px) { #today-rule { text-align: left; } }

/* Drops: three surprise drills a day (Mañana / Tarde / Noche) */
.drops { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.drop { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: var(--s-2); min-height: 248px; padding: var(--s-5); border-radius: var(--r-3); background: var(--bg-sunken); color: var(--fg); text-decoration: none; transition: transform var(--d-2) var(--ease), box-shadow var(--d-2) var(--ease); }
.drop__slot { display: flex; align-items: center; gap: 8px; font-size: var(--t-2xs); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; }
.drop__state { margin-top: var(--s-4); font-size: var(--t-xl); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; max-width: 12ch; }
.drop__meta { font-size: var(--t-xs); color: var(--fg-muted); max-width: 24ch; line-height: 1.45; }
.drop__go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: var(--t-s); font-weight: 600; }
.drop > .mascot { position: absolute; right: 16px; bottom: calc(var(--m) * var(--sink, -.32)); --m: 124px; z-index: -1; transform: rotate(var(--r, -6deg)); transition: bottom .45s var(--ease); }
/* locked — asleep and tucked lower; never shows the exact time */
.drop--locked { --sink: -.56; }
.drop--locked .drop__state { color: var(--fg-muted); }
/* ready — the one strong, inverted card; whole card is the link */
.drop--ready { background: var(--bg-inverse); color: var(--fg-inverse); box-shadow: var(--shadow); --sink: -.26; }
.drop--ready .drop__meta { color: color-mix(in srgb, var(--fg-inverse) 72%, transparent); }
.drop--ready:hover { transform: translateY(-3px); --sink: -.14; }
.drop--ready:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: var(--r-3); }
.drop__ping { position: relative; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.drop__ping::after { content: ""; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid currentColor; animation: pulse 1.8s var(--ease-io) infinite; }
/* done — quiet, outlined */
.drop--done { background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.drop--done .drop__state { font-variant-numeric: tabular-nums; }
/* Mascot moods used as resting states (reactions from mascots.js still play on top) */
.is-live.is-asleep .eyes { animation: none; transform: scaleY(.07); }
.is-live.is-content .eyes { animation: none; transform: translateY(-2px) scaleY(.22); }
.is-live.is-sad .eyes { animation: none; transform: translateY(3px) scaleY(.55); }
.drop--ready .is-live:not(.hop):not(.jump):not(.shake) .body { animation: d-nudge 4.5s cubic-bezier(.3, .7, .4, 1) 1s infinite; }
@keyframes d-nudge { 0% { transform: none; } 4% { transform: scale(1.1, .86); } 10% { transform: translateY(-22%) scale(.94, 1.08); } 16% { transform: translateY(0) scale(1.1, .88); } 20% { transform: scale(.98, 1.02); } 24%, 100% { transform: none; } }

/* Weak-spots strip under the drops (hidden when there's no data) */
.weak-strip { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2) var(--s-3); padding: 8px 8px 8px 12px; border-radius: var(--r-3); box-shadow: inset 0 0 0 1px var(--line); font-size: var(--t-xs); }
.weak-strip > .mascot { --m: 30px; flex: none; }
.weak-strip__label { color: var(--fg-muted); font-weight: 500; }
.skill-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--bg-sunken); color: var(--fg); text-decoration: none; font-weight: 600; transition: background-color var(--d-1), color var(--d-1); }
.skill-chip .pct { color: var(--fg-muted); font-weight: 500; font-variant-numeric: tabular-nums; }
.skill-chip:hover { background: var(--solid); color: var(--solid-fg); }
.skill-chip:hover .pct { color: inherit; }
.weak-strip__all { margin-left: auto; display: inline-flex; align-items: center; min-height: 36px; padding: 0 10px; font-weight: 600; text-decoration: underline; text-underline-offset: .25em; }
.free-link { text-align: center; font-size: var(--t-xs); color: var(--fg-muted); }
.free-link a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; text-decoration: underline; text-underline-offset: .25em; }
.free-link a:hover { color: var(--fg); }

/* Onboarding: step indicator + single-choice cards */
.steps { display: flex; align-items: center; gap: var(--s-3); font-size: var(--t-xs); font-weight: 600; color: var(--fg-muted); }
.steps i { width: 28px; height: 4px; border-radius: 4px; background: var(--line-strong); }
.steps i.is-on { background: var(--fg); }
.choices { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); margin: 0; padding: 0; }
.choices--levels { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.choice { position: relative; display: grid; grid-template-columns: 1fr auto; align-content: start; gap: 6px var(--s-4); min-height: 128px; padding: var(--s-5) var(--s-5) var(--s-6); text-align: left; font: inherit; background: var(--bg); color: var(--fg); border: 1px solid var(--line-strong); border-radius: var(--r-3); cursor: pointer; transition: border-color var(--d-1), background-color var(--d-1), color var(--d-1), transform var(--d-1) var(--ease); }
.choice:hover { border-color: var(--fg); transform: translateY(-2px); }
.choice:active { transform: translateY(0) scale(.99); }
.choice:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.choice__name { grid-column: 1; font-size: var(--t-l); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.choice__code { grid-column: 2; grid-row: 1; font-size: var(--t-xl); font-weight: 700; letter-spacing: -.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.choice__meta { grid-column: 1 / -1; font-size: var(--t-s); color: var(--fg-muted); line-height: 1.45; max-width: 40ch; }
.choice .tag { grid-column: 1 / -1; margin-top: var(--s-2); background: var(--bg-sunken); color: var(--fg-muted); }
.choice[aria-pressed="true"] { background: var(--bg-inverse); color: var(--fg-inverse); border-color: var(--bg-inverse); }
.choice[aria-pressed="true"] .choice__meta { color: color-mix(in srgb, var(--fg-inverse) 72%, transparent); }
.choice[aria-pressed="true"] .tag { background: color-mix(in srgb, var(--fg-inverse) 14%, transparent); color: inherit; }
.choice[aria-pressed="true"]::after { content: ""; position: absolute; right: 16px; bottom: 16px; width: 24px; height: 24px; border-radius: 50%; background: var(--fg-inverse) no-repeat center / 12px; }
.choice[aria-pressed="true"]::before { content: ""; position: absolute; right: 23px; bottom: 25px; width: 10px; height: 5px; border: 2px solid var(--bg-inverse); border-top: 0; border-right: 0; transform: rotate(-45deg); z-index: 1; }
.onb-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-3); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.onb-actions .btn--big { min-width: 200px; }
.onb-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--s-4); padding-block: var(--s-8) var(--s-6); }
.onb-head .lede { margin-inline: auto; }

/* Weak spots page */
.weak-cards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); margin: 0; padding: 0; }
.weak-card { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: var(--s-2); min-height: 232px; padding: var(--s-5); border-radius: var(--r-3); background: var(--bg-sunken); }
.weak-card:first-child { background: var(--bg-inverse); color: var(--fg-inverse); }
.weak-card__name { font-size: var(--t-xl); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.weak-card__meta { font-size: var(--t-xs); color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.weak-card:first-child .weak-card__meta { color: color-mix(in srgb, var(--fg-inverse) 72%, transparent); }
.weak-card .btn { margin-top: auto; align-self: flex-start; }
.weak-card:first-child .btn { --b-bg: var(--fg-inverse); --b-fg: var(--bg-inverse); }
.weak-card > .mascot { position: absolute; right: 16px; bottom: calc(var(--m) * -.3); --m: 116px; z-index: -1; transform: rotate(8deg); }
.families { display: flex; flex-direction: column; gap: var(--s-8); }
.family { display: flex; flex-direction: column; gap: var(--s-3); }
.family__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--s-2) var(--s-4); }
.family__head h2 { display: flex; align-items: center; gap: 10px; font-size: var(--t-xl); font-weight: 600; letter-spacing: -.02em; }
.family__head h2 .mascot { --m: 32px; }
.family__note { font-size: var(--t-xs); color: var(--fg-muted); max-width: 52ch; line-height: 1.5; }
.skill-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.skill-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(80px, 1fr) 52px 32px 84px; align-items: center; gap: var(--s-4); min-height: 56px; padding-block: 6px; border-bottom: 1px solid var(--line); font-size: var(--t-s); }
.skill-row__name { display: flex; align-items: center; gap: 10px; font-weight: 600; min-width: 0; }
.skill-row__name::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--line-strong); flex: none; }
.skill-row.is-weak .skill-row__name::before { background: var(--fg); border-color: var(--fg); }
.meter { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; }
.meter > i { display: block; height: 100%; width: var(--v, 0%); border-radius: inherit; background: var(--line-strong); }
.skill-row.is-weak .meter > i { background: var(--fg); }
.skill-row__pct { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.skill-row__trend { text-align: center; color: var(--fg-muted); font-weight: 600; }
.skill-row > a { justify-self: end; display: inline-flex; align-items: center; min-height: 44px; font-size: var(--t-xs); font-weight: 600; text-decoration: underline; text-underline-offset: .25em; }
details.skill-empty { border-bottom: 1px solid var(--line); }
details.skill-empty > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 52px; font-size: var(--t-xs); font-weight: 600; color: var(--fg-muted); }
details.skill-empty > summary::-webkit-details-marker { display: none; }
details.skill-empty > summary::before { content: "+"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--bg-sunken); color: var(--fg); transition: transform var(--d-2) var(--ease); }
details.skill-empty[open] > summary::before { transform: rotate(45deg); }
details.skill-empty ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0 0 var(--s-4); list-style: none; }
details.skill-empty li { padding: 6px 12px; border-radius: var(--r-pill); background: var(--bg-sunken); font-size: var(--t-xs); color: var(--fg-muted); }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: var(--s-4); padding: var(--s-8) var(--s-5); text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--r-3); }
.empty-state p { max-width: 46ch; color: var(--fg-muted); line-height: 1.55; }
#answered { font-size: var(--t-xs); color: var(--fg-muted); text-align: center; }
@media (max-width: 599px) {
  .skill-row { grid-template-columns: minmax(0, 1fr) 52px 32px; }
  .skill-row .meter, .skill-row > a { display: none; }
}

/* Reference sheet only (states.html) */
.ref-label { font-size: var(--t-2xs); font-weight: 600; letter-spacing: var(--track-label); text-transform: uppercase; color: var(--fg-muted); padding-top: var(--s-6); border-top: 1px dashed var(--line-strong); }
