@font-face { font-family: "Clash Display"; src: url("fonts/ClashDisplay-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("fonts/ClashDisplay-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Clash Display"; src: url("fonts/ClashDisplay-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #0a0a0a;
  --blue: #0044ff;
  --blue-soft: #dce5ff;
  --blue-pale: #f4f6fe;
  --lime: #e3ff87;
  --muted: #6b6b69;
  --soft: #4a4a48;
  --line: #e6e6e3;
  --line-soft: #f0f0ed;
  --fill: #f3f3f1;
  --red: #b3261e;
  --radius: 20px;
  --display: "Clash Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { background: #fff; color: var(--ink); font: 15px/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
a { color: var(--blue); }
img, video, audio { max-width: 100%; }
h1, h2, h3, legend { font-family: var(--display); font-weight: 600; text-transform: uppercase; line-height: 1.04; text-wrap: balance; }
h1 { font-size: clamp(32px, 4.4vw, 48px); }
h2 { font-size: 18px; }
h3 { font-size: 15px; margin: 10px 0; }
p + p { margin-top: 10px; }
ul, ol { list-style: none; }
::selection { background: var(--lime); }
:focus-visible { outline: 3px solid rgba(0, 68, 255, 0.5); outline-offset: 2px; }
.muted { color: var(--muted); }
.soft { color: #cfcfcc; }
.icon { width: 20px; height: 20px; flex: none; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 50; background: #fff; padding: 10px; }

/* ---------- Estructura ---------- */
.top { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; height: 72px; padding: 0 40px; background: #fff; border-bottom: 1px solid #ececea; }
.brand img { display: block; height: 14px; width: auto; }
.pills { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--fill); }
.pills a { display: flex; align-items: center; height: 40px; padding: 0 18px; border-radius: 999px; color: #3a3a38; font-size: 14px; text-decoration: none; }
.pills a:hover { background: #fff; }
.pills a[aria-current] { background: var(--ink); color: #fff; font-weight: 600; }
.me { justify-self: end; position: relative; }
.me summary { display: flex; align-items: center; gap: 12px; list-style: none; cursor: pointer; }
.me summary::-webkit-details-marker { display: none; }
.me-name { font-size: 14px; font-weight: 600; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.menu { position: absolute; right: 0; top: 52px; display: flex; flex-direction: column; gap: 4px; min-width: 180px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1); }
.menu a, .menu .link { display: block; padding: 8px 10px; text-align: left; color: var(--ink); text-decoration: none; }
.avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--ink); font-weight: 700; font-size: 14px; object-fit: cover; flex: none; }
.avatar.sm { width: 34px; height: 34px; font-size: 12px; }
.avatar.xl { width: 96px; height: 96px; font-size: 30px; }
.wrap { max-width: 1360px; margin: 0 auto; padding: 36px 40px 72px; display: flex; flex-direction: column; gap: 28px; }
.admin .wrap { max-width: 1180px; }
.wrap > * { min-width: 0; }
.tabs { display: none; }
.narrow { max-width: 720px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.narrow .player { width: 100%; }

.solo { max-width: 420px; margin: 0 auto; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; gap: 18px; padding: 40px 22px; }
.solo-logo { width: 170px; height: auto; margin-bottom: 18px; }
.solo h1 { font-size: 40px; }

/* ---------- Botones y formularios ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 1.5px solid var(--blue); border-radius: 999px; background: var(--blue); color: #fff; font: 600 15px "Helvetica Neue", Helvetica, Arial, sans-serif; text-decoration: none; cursor: pointer; align-self: flex-start; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn:disabled { opacity: 0.45; cursor: default; }
.btn:disabled:hover { background: var(--blue); border-color: var(--blue); }
.btn.big { min-height: 56px; padding: 0 32px; font-size: 16px; }
.btn.small { min-height: 42px; padding: 0 18px; font-size: 14px; }
.btn.wide { width: 100%; align-self: stretch; }
.btn.ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn.lime:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn.danger { background: var(--red); border-color: var(--red); }
.link { border: 0; background: none; color: var(--blue); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.under { color: #fff; text-underline-offset: 3px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; min-width: 0; }
.field small { color: var(--muted); font-weight: 400; }
input, textarea, select { width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid #d9d9d6; border-radius: 12px; background: #fff; color: var(--ink); font: 400 16px/1.4 "Helvetica Neue", Helvetica, Arial, sans-serif; }
textarea { resize: vertical; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); outline: 3px solid rgba(0, 68, 255, 0.18); }
input[type="checkbox"] { width: 20px; height: 20px; min-height: 0; flex: none; accent-color: var(--blue); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.45; }
form.card, .booking-form, .request form, .solo form { display: flex; flex-direction: column; gap: 16px; }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.inline-form input { flex: 1 1 220px; width: auto; }
.inline-form .btn { align-self: center; }
fieldset { border: 0; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
legend { font-size: 20px; margin-bottom: 14px; }
.flash { padding: 13px 16px; border-radius: 12px; background: var(--lime); font-size: 14px; }
.flash.bad { background: #fdecec; color: #8f1d17; }
.bad-text { color: var(--red); }

/* ---------- Tarjetas y piezas ---------- */
.card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card.dark { background: var(--ink); border-color: var(--ink); color: #fff; gap: 10px; }
.card.note { background: var(--blue-pale); border-color: var(--blue-pale); }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.card-actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding-top: 8px; }
.card .btn.lime:hover { background: #fff; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lime); }
.big-date { font-family: var(--display); font-weight: 600; font-size: 34px; line-height: 1.05; text-transform: uppercase; }
.dark-text { font-size: 26px; margin-top: 10px; }
.chip { display: inline-block; align-self: flex-start; padding: 7px 12px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.chip.grey { background: var(--fill); color: var(--soft); }
.bar { height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; width: 100%; }
.bar span { display: block; height: 100%; background: var(--blue); border-radius: 3px; width: 0; }
.count { font-size: 13px; color: var(--muted); font-family: "Helvetica Neue", Helvetica, sans-serif; }
.page-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.page-head > div { display: flex; flex-direction: column; gap: 10px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px; margin-bottom: 18px; }
.section-head h2 { font-size: 30px; }
.section-head p { color: var(--muted); font-size: 14px; }
.back { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; margin-bottom: -12px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
form.grid2, form.grid3 { align-items: end; gap: 14px; }
form.grid2 .btn, form.grid3 .btn { justify-self: start; }
.card > form:not([class]) { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
.card > .btn, .card > form > .btn { align-self: flex-start; }
.row-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.empty { border: 1.5px dashed #d4d4d1; border-radius: var(--radius); padding: 48px 24px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.empty .btn { align-self: center; }
.empty p { max-width: 460px; color: var(--soft); }
.confirm summary { cursor: pointer; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.confirm p { margin: 10px 0; }
.files li { display: flex; gap: 12px; align-items: center; border-top: 1px solid var(--line-soft); }
.files a { display: flex; flex: 1; gap: 12px; align-items: center; min-height: 52px; color: var(--ink); text-decoration: none; min-width: 0; }
.files a:hover { color: var(--blue); }
.files a span { flex: 1; min-width: 0; }
.files em { display: block; color: var(--muted); font-size: 12px; font-style: normal; }
.files small { color: var(--muted); white-space: nowrap; }
.plain li { padding: 8px 0; border-top: 1px solid var(--line-soft); }
.struck { text-decoration: line-through; color: var(--muted); }
dl dt { font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 12px; }
dl.data { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 6px 16px; }
dl.data dt { margin: 0; padding-top: 2px; }
.terms { font-size: 13px; color: var(--muted); }
code { background: var(--blue-pale); padding: 2px 6px; border-radius: 4px; overflow-wrap: anywhere; }

/* ---------- Inicio ---------- */
.hello { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); }
.hello strong { color: var(--ink); }
.hello p + p { margin: 0; }
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.hero.no-media { grid-template-columns: 1fr; background: var(--blue); color: #fff; border-radius: 24px; padding: 48px; }
.hero.no-media .btn { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.hero.no-media .hero-meta { color: #fff; }
.hero-text { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.hero h1 { font-size: clamp(36px, 5vw, 68px); line-height: 0.96; letter-spacing: -0.01em; }
.hero-meta { font-size: 16px; color: var(--soft); }
.hero-media { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #141414; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.play .icon { width: 28px; height: 28px; fill: currentColor; }
.media-bar { position: absolute; left: 16px; right: 16px; bottom: 16px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.25); }
.media-bar span { display: block; height: 100%; background: var(--blue); border-radius: 2px; }
.steps ol { display: flex; flex-wrap: wrap; gap: 8px; }
.steps a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; font-size: 14px; }
.steps a:hover { border-color: var(--ink); }
.steps .dot { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid #bdbdba; display: flex; align-items: center; justify-content: center; color: #fff; }
.steps .dot .icon { width: 15px; height: 15px; stroke-width: 2.6; }
.steps li.on a { color: var(--muted); }
.steps li.on .dot { background: var(--blue); border-color: var(--blue); }
.tasks li { border-top: 1px solid var(--line-soft); }
.task { display: flex; gap: 14px; align-items: flex-start; width: 100%; padding: 12px 0; border: 0; background: none; color: var(--ink); font: 15px/1.4 "Helvetica Neue", Helvetica, sans-serif; text-align: left; cursor: pointer; }
.box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid #bdbdba; display: flex; align-items: center; justify-content: center; color: transparent; }
.box .icon { width: 16px; height: 16px; stroke-width: 2.6; }
.task.is-done { color: var(--muted); text-decoration: line-through; }
.task.is-done .box, .checks li.on .box { background: var(--blue); border-color: var(--blue); color: #fff; }
.shipment { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.shipment li { display: flex; flex-direction: column; gap: 4px; border-top: 4px solid var(--line); padding-top: 8px; color: var(--muted); font-size: 13px; }
.shipment li.on { border-color: var(--blue); color: var(--ink); }
.shipment span { font-size: 12px; color: var(--muted); min-height: 18px; }

/* Pistas: cada bloque es un módulo */
.tracks { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.track { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.track-name { display: flex; flex-direction: column; }
.track-name span { color: var(--muted); font-size: 12px; }
.track ul { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.block { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-height: 76px; height: 100%; padding: 10px 12px; border-radius: 10px; border: 1.5px solid var(--blue); color: var(--ink); text-decoration: none; overflow: hidden; }
.block .fill { position: absolute; left: 0; top: 0; bottom: 0; background: var(--blue-soft); }
.block-label, .block-meta { position: relative; }
.block-label { font-size: 13px; font-weight: 700; line-height: 1.2; hyphens: auto; }
.block-meta { font-size: 11px; color: var(--soft); }
.block.new { border-color: #cfcfcc; }
.block.soon { border-style: dashed; border-color: #d4d4d1; color: var(--muted); }
.block.soon .block-meta { color: var(--muted); }
.block.done { background: var(--blue); color: #fff; }
.block.done .fill { display: none; }
.block.done .block-meta { color: #fff; }
a.block:hover { border-color: var(--ink); }
.track.bonus .block { border-color: var(--ink); }
.calls-strip { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; align-items: center; padding-top: 16px; }
.calls-strip ol { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.calls-strip li { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.calls-strip li span { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #cfcfcc; }
.calls-strip li.hecha span { background: var(--ink); border-color: var(--ink); }
.calls-strip li.reservada span { background: var(--blue); border-color: var(--blue); }
.calls-strip li.disponible span { background: var(--lime); border-color: var(--ink); }
.calls-strip li.perdida span { border-style: dashed; border-color: var(--muted); }
.calls-strip small { color: var(--muted); font-size: 11px; }

/* ---------- Curso ---------- */
.resume { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 20px; align-items: center; padding: 24px; border-radius: 24px; background: var(--blue); color: #fff; text-decoration: none; }
.resume .bar { grid-column: 1 / -1; margin-top: 12px; background: rgba(255, 255, 255, 0.25); }
.resume .bar span { background: var(--lime); }
.resume-play { width: 60px; height: 60px; border-radius: 50%; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.resume-play .icon { fill: currentColor; width: 26px; height: 26px; }
.resume-text { display: flex; flex-direction: column; gap: 2px; }
.resume-text small { color: var(--lime); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.resume-text strong { font-family: var(--display); font-size: 28px; line-height: 1.1; text-transform: uppercase; }
.bonus-shelf { background: var(--ink); color: #fff; border-radius: 24px; padding: 32px; }
.bonus-shelf .section-head p { color: #cfcfcc; }
.bonus-shelf ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.guest { display: flex; flex-direction: column; gap: 14px; height: 100%; min-height: 170px; padding: 18px; border-radius: 16px; border: 1px solid #2c2c2c; color: #fff; text-decoration: none; }
.guest:hover { border-color: var(--lime); }
.guest-state { width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.guest.soon .guest-state { background: #222; color: #cfcfcc; }
.guest strong { font-size: 16px; line-height: 1.3; }
.guest small { margin-top: auto; color: #cfcfcc; }
.module-progress { display: flex; align-items: center; gap: 12px; max-width: 420px; font-size: 13px; color: var(--muted); }
.module-progress span { white-space: nowrap; }
.lessons li { border-top: 1px solid var(--line-soft); }
.lesson { display: flex; gap: 14px; align-items: center; min-height: 68px; padding: 10px 8px; color: var(--ink); text-decoration: none; border-radius: 10px; }
.lesson:hover, .lesson[aria-current] { background: var(--blue-pale); }
.num { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #cfcfcc; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.lesson.started .num { border-color: var(--blue); color: var(--blue); }
.lesson.done .num { background: var(--blue); border-color: var(--blue); color: #fff; }
.lesson.soon { color: var(--muted); }
.lesson.soon .num { border-style: dashed; }
.lesson-text { display: flex; flex-direction: column; min-width: 0; }
.lesson-text small { color: var(--muted); }
.lesson-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.lesson-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.lesson-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 10px; }
.player { aspect-ratio: 16 / 9; background: #0a0a0a; border-radius: var(--radius); overflow: hidden; }
.player video { width: 100%; height: 100%; display: block; }
.player-tools { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.speeds { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--fill); }
.speeds button { min-width: 52px; height: 36px; border: 0; border-radius: 999px; background: none; color: var(--ink); font-size: 13px; cursor: pointer; }
.speeds button[aria-pressed="true"] { background: var(--ink); color: #fff; font-weight: 700; }
.lesson-title { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.lesson-title h1 { font-size: clamp(26px, 3vw, 36px); }
.soon-box { aspect-ratio: 16 / 9; border-radius: var(--radius); border: 1.5px dashed #d4d4d1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--soft); text-align: center; padding: 20px; }
.soon-box .icon { width: 32px; height: 32px; }
.questions li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.next-lesson { display: flex; flex-direction: column; gap: 4px; padding: 20px 24px; border-radius: var(--radius); border: 1.5px solid var(--ink); color: var(--ink); text-decoration: none; }
.next-lesson:hover { background: var(--ink); color: #fff; }
.next-lesson small { text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; font-size: 11px; }
.search { max-width: 420px; }

/* ---------- Llamadas ---------- */
.callout { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; background: var(--ink); color: #fff; border-radius: 24px; padding: 32px; }
.callout .btn { align-self: center; }
.tickets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ticket { display: flex; flex-direction: column; gap: 8px; height: 100%; min-height: 132px; padding: 18px; border-radius: 16px; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; }
a.ticket:hover { border-color: var(--ink); }
.ticket .month { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.ticket strong { font-family: var(--display); font-size: 22px; line-height: 1.1; text-transform: uppercase; }
.ticket .state { margin-top: auto; font-size: 13px; }
.ticket.hecha { background: var(--ink); border-color: var(--ink); color: #fff; }
.ticket.reservada { background: var(--blue); border-color: var(--blue); color: #fff; }
.ticket.disponible { background: var(--lime); border-color: var(--lime); }
.ticket.perdida { border-style: dashed; color: var(--muted); }
.ticket.futura { color: var(--muted); }
.booking-form { max-width: 760px; gap: 32px; }
.saved { padding: 16px; border-radius: 14px; background: var(--blue-pale); }
.saved li { padding: 8px 0; border-top: 1px solid var(--blue-soft); }
.saved small { display: block; color: var(--muted); }
.slots { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; min-width: 0; }
.times { display: flex; flex-wrap: wrap; gap: 8px; }
.days { display: flex; gap: 8px; width: 100%; max-width: 100%; overflow-x: auto; padding: 3px 3px 10px; scroll-snap-type: x proximity; }
.days > * { flex: none; scroll-snap-align: start; }
.day, .time { min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid #d9d9d6; background: #fff; color: var(--ink); font: 600 14px "Helvetica Neue", Helvetica, sans-serif; cursor: pointer; }
.day { border-radius: 12px; text-transform: capitalize; }
.day[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.time { min-width: 88px; border-color: var(--blue); color: var(--blue); }
.time[aria-pressed="true"] { background: var(--blue); color: #fff; }
.zone-note { font-size: 12px; color: var(--muted); }

/* ---------- Producción ---------- */
.prod-hero { background: var(--blue); color: #fff; border-radius: 24px; padding: 48px; }
.prod-hero > div { display: flex; flex-direction: column; gap: 18px; max-width: 640px; }
.prod-hero h1 { font-size: clamp(36px, 5vw, 64px); line-height: 0.96; }
.prod-hero ul { display: grid; gap: 8px; }
.prod-hero li { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.prod-hero li .icon { color: var(--lime); stroke-width: 2.6; }
.checks li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line-soft); }
.checks li:not(.on) { color: var(--soft); }
.request { display: flex; flex-direction: column; }
.request > summary { list-style: none; }
.request > summary::-webkit-details-marker { display: none; }
.request[open] > summary { margin-bottom: 16px; }
.request > * + * { margin-top: 14px; }
.phases { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.phases li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; color: var(--muted); }
.phases li::before { content: ""; position: absolute; top: 15px; right: 50%; width: 100%; height: 2px; background: var(--line); }
.phases li:first-child::before { display: none; }
.phases li.done::before, .phases li.now::before { background: var(--blue); }
.phases .dot { position: relative; z-index: 1; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 2px solid #cfcfcc; background: #fff; display: flex; align-items: center; justify-content: center; }
.phases .done .dot { background: var(--blue); border-color: var(--blue); color: #fff; }
.phases .now .dot { border-color: var(--blue); box-shadow: 0 0 0 6px var(--blue-soft); }
.phases .done, .phases .now { color: var(--ink); }
.phases strong { font-size: 13px; }
.phases small { font-size: 12px; color: var(--muted); }
.demo { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; border-top: 1px solid var(--line-soft); padding-top: 16px; }
.demo audio { width: 100%; max-width: 420px; }
.upload { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.upload label { cursor: pointer; }
.upload input { position: absolute; width: 1px; height: 1px; min-height: 0; opacity: 0; }
.upload label:focus-within { outline: 3px solid rgba(0, 68, 255, 0.5); outline-offset: 2px; }
.upload-state { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 6px; }

/* ---------- Mi artista ---------- */
.artist-head { display: flex; gap: 22px; align-items: center; }
.artist-id { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1; align-items: flex-start; }
.artist-id .module-progress { width: 100%; }
.subtabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.subtabs a { padding: 12px 0; color: var(--muted); text-decoration: none; font-weight: 600; border-bottom: 3px solid transparent; white-space: nowrap; }
.subtabs a[aria-current] { color: var(--ink); border-color: var(--blue); }
.private-note { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--fill); font-size: 14px; }
.guardian summary { cursor: pointer; font-weight: 700; }
.guardian > * + * { margin-top: 12px; }
.release-form { display: grid; grid-template-columns: 2fr 1fr 1.4fr auto; gap: 12px; align-items: end; }
.releases { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 18px; }
.releases li { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; min-width: 0; }
.releases a { display: flex; flex-direction: column; gap: 8px; width: 100%; color: var(--ink); text-decoration: none; }
.releases img, .no-cover { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; background: var(--fill); display: flex; align-items: center; justify-content: center; }
.releases small { color: var(--muted); }
.chart { display: flex; gap: 8px; align-items: stretch; height: 220px; }
.chart .col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; min-width: 0; }
.bar-v { width: 100%; max-width: 56px; background: var(--blue); border-radius: 8px 8px 0 0; }
.chart .value { font-size: 11px; font-weight: 700; }
.chart .label { font-size: 11px; color: var(--muted); text-transform: capitalize; }

/* ---------- Panel ---------- */
.rows li { display: flex; gap: 12px; align-items: center; justify-content: space-between; border-top: 1px solid var(--line-soft); }
.rows a, .rows li > span:not(.move) { display: flex; flex: 1; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 0; color: var(--ink); text-decoration: none; min-width: 0; }
.rows a:hover strong { color: var(--blue); }
.rows a span { color: var(--muted); font-size: 13px; }
.scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); padding: 0 12px 10px 0; }
td { padding: 12px 12px 12px 0; border-top: 1px solid var(--line-soft); vertical-align: middle; white-space: nowrap; }
td .bar { width: 120px; margin-bottom: 4px; }
td small { color: var(--muted); }
.who { display: flex; gap: 10px; align-items: center; color: var(--ink); text-decoration: none; }
.who span { display: flex; flex-direction: column; }
.light { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; white-space: nowrap; }
.light::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #cfcfcc; }
.light.green::before { background: #2fb457; }
.light.amber::before { background: #f2a516; }
.light.red::before { background: #d93a2f; }
.add summary { list-style: none; }
.add[open] summary { margin-bottom: 18px; }
.copy { font-size: 13px; }
.calls-strip-list { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 6px; }
.calls-strip-list li > * { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 54px; border: 1.5px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; }
.calls-strip-list small { font-size: 10px; }
.calls-strip-list li.hecha > * { background: var(--ink); color: #fff; border-color: var(--ink); }
.calls-strip-list li.reservada > * { background: var(--blue); color: #fff; border-color: var(--blue); }
.calls-strip-list li.disponible > * { background: var(--lime); border-color: var(--lime); }
.calls-strip-list li.perdida > * { border-style: dashed; color: var(--muted); }
.progress-detail summary, .module-edit summary { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; cursor: pointer; }
.progress-detail summary span, .module-edit summary span { color: var(--muted); font-size: 13px; }
.module-edit { border-top: 1px solid var(--line-soft); }
.module-edit[open] { padding-bottom: 16px; }
.module-edit > * + * { margin-top: 12px; }
.move { display: flex; gap: 10px; }
.move .link { font-size: 18px; text-decoration: none; padding: 4px 6px; }
.preview { width: 100%; max-width: 560px; border-radius: 14px; background: #000; }
.board { display: grid; grid-template-columns: repeat(6, minmax(150px, 1fr)); gap: 10px; overflow-x: auto; }
.board section { background: var(--fill); border-radius: 14px; padding: 12px; min-height: 180px; }
.board h2 { font-size: 13px; margin-bottom: 10px; }
.board li a { display: flex; flex-direction: column; gap: 4px; background: #fff; border-radius: 10px; padding: 12px; margin-bottom: 8px; color: var(--ink); text-decoration: none; }
.board small { color: var(--muted); }

/* ---------- Tableta ---------- */
@media (max-width: 1100px) {
  .top { padding: 0 20px; }
  .me-name { display: none; }
  .pills a { padding: 0 12px; }
  .wrap { padding: 28px 20px 64px; }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .track, .calls-strip { grid-template-columns: 1fr; gap: 10px; }
  .track ul { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .lesson-layout { grid-template-columns: 1fr; }
  .lesson-side { position: static; }
  .tickets { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Móvil: navegación abajo ---------- */
@media (max-width: 820px) {
  .top { grid-template-columns: 1fr auto; height: 64px; }
  .pills { display: none; }
  .brand img { height: 11px; }
  .avatar { width: 36px; height: 36px; font-size: 13px; }
  .avatar.xl { width: 72px; height: 72px; font-size: 24px; }
  .tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); background: #fff; border-top: 1px solid var(--line); padding: 6px 4px calc(8px + env(safe-area-inset-bottom)); }
  .tabs a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; color: var(--soft); font-size: 11px; text-decoration: none; min-width: 0; }
  .tabs a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .tabs a[aria-current] { color: var(--blue); font-weight: 700; }
  .tabs .icon { width: 23px; height: 23px; }
  .wrap { padding: 20px 16px 104px; gap: 22px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; gap: 18px; }
  .hero.no-media { padding: 28px 22px; }
  .hero-text { gap: 16px; }
  .hero .btn { align-self: stretch; }
  .play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .steps ol { flex-direction: column; }
  .section-head h2 { font-size: 26px; }
  .track ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calls-strip ol { grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 10px; }
  .calls-strip-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tickets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .callout, .prod-hero, .bonus-shelf { padding: 24px 20px; }
  .callout .btn { align-self: stretch; }
  .resume { padding: 20px; gap: 6px 14px; }
  .resume-play { width: 48px; height: 48px; }
  .resume-text strong { font-size: 21px; }
  .player, .soon-box { border-radius: 14px; }
  .phases { grid-template-columns: 1fr; gap: 14px; }
  .phases li { flex-direction: row; text-align: left; gap: 12px; }
  .phases li::before { top: auto; bottom: 50%; left: 15px; right: auto; width: 2px; height: calc(100% + 14px); }
  .phases small { margin-left: auto; }
  .release-form { grid-template-columns: 1fr; }
  .releases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .chart { gap: 4px; }
  .chart .value { font-size: 9px; }
  .card { padding: 18px; }
  dl.data { grid-template-columns: 1fr; }
  dl.data dt { margin-top: 10px; }
  .admin .tabs span { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
