/* Pizarra — shadcn/ui token contract with the tweakcn "Retro Arcade" preset, on top of Casper's built/screen.css.
   Light by default (cream paper, Lotería-print magenta, teal, orange); dark follows the OS.
   shadcn tokens are the single source; --pz-* names alias them for the theme's components.
   Casper sets html { font-size: 62.5% }, so 1rem = 10px; shadcn's 0.25rem radius is written as 4px. */

@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-300-800.woff2") format("woff2"); font-weight: 300 800; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("../fonts/SpaceMono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("../fonts/SpaceMono-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
    /* tweakcn Retro Arcade, light */
    --background: #fdf6e3;
    --foreground: #073642;
    --card: #eee8d5;
    --card-foreground: #073642;
    --primary: #d33682;
    --primary-foreground: #ffffff;
    --secondary: #2aa198;
    --accent: #cb4b16;
    --border: #839496;
    --ring: #d33682;
    --radius: 4px;
    --font-sans: "Outfit", system-ui, sans-serif;
    --font-mono: "Space Mono", ui-monospace, monospace;
    --shadow: 2px 2px 4px 0 hsl(196 83% 10% / 0.15);
    /* Pizarra deviation: the preset's muted-foreground equals foreground; captions need a quieter step that keeps 4.5:1 on --card. */
    --muted-foreground: #46595f;
    --destructive: #dc322f;
    /* Error text: the preset red reaches only 3.8:1 on --card; this darker step keeps 4.5:1. */
    --pz-error: #a3201d;

    --pz-bg: var(--background);
    --pz-surface2: var(--card);
    --pz-text: var(--foreground);
    --pz-muted: var(--muted-foreground);
    --pz-muted-strong: var(--muted-foreground);
    --pz-border: var(--border);
    --pz-accent: var(--primary);
    --pz-accent-ink: var(--primary-foreground);
    --pz-focus-ring: color-mix(in srgb, var(--ring) 35%, transparent);
    --pz-hover: color-mix(in srgb, var(--foreground) 6%, var(--background));
    --pz-radius: 8px;
    --pz-serif: var(--font-sans);
    --pz-sans: var(--font-sans);
    --pz-mono: var(--font-mono);
    --pz-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ghost-accent-color: #d33682;
    /* Casper's own secondary gray (#979797) fails 4.5:1 on cream; point it at the theme token. */
    --color-secondary-text: var(--muted-foreground);
    color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
    :root {
        /* tweakcn Retro Arcade, dark */
        --background: #002b36;
        --card: #073642;
        --card-foreground: #93a1a1;
        --border: #586e75;
        --muted-foreground: #93a1a1;
        /* Pizarra deviation: headings and values use Solarized base2 so hierarchy survives; body copy keeps the preset #93a1a1. */
        --foreground: #eee8d5;
        --shadow: 2px 2px 4px 0 rgb(0 0 0 / 0.35);
        --pz-hover: color-mix(in srgb, var(--foreground) 7%, var(--background));
        --pz-error: #ff8a80;
    }
}

/* Browser surfaces */
html body, html.auto-color body { background: var(--pz-bg); color: var(--pz-text); font-family: var(--pz-sans); }
html { scrollbar-color: var(--pz-border) var(--pz-bg); }
::selection { background: var(--pz-accent); color: var(--pz-accent-ink); }
input, textarea { caret-color: var(--pz-accent); }
:focus-visible { outline: 2px solid var(--pz-text); outline-offset: 2px; box-shadow: 0 0 0 6px var(--pz-focus-ring); border-radius: 4px; }
a { color: var(--pz-text); }

.pz-saltar { position: absolute; top: -100px; left: 16px; z-index: 3000; padding: 12px 16px; border-radius: var(--pz-radius); background: var(--pz-text); color: var(--pz-bg); font-weight: 700; }
.pz-saltar:focus { top: 16px; }
.pz-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Header (Casper markup; no separator per §6 border philosophy) */
html.auto-color .gh-head, html.auto-color .gh-head-actions { background: var(--pz-bg); color: var(--pz-text); }
.gh-head { height: 76px; font-family: var(--pz-sans); }
.gh-head-logo, .gh-head-logo.no-image {
    margin-top: 0;
    color: var(--pz-text);
    font-family: var(--pz-serif);
    font-size: 2.4rem;
    font-weight: 600;
    letter-spacing: 0;
}
.gh-head-menu .nav a { color: var(--pz-muted-strong); font-size: 1.6rem; font-weight: 600; opacity: 1; transition: color 0.15s; }
.gh-head-menu .nav a:hover, .gh-head-menu .nav .nav-current a { color: var(--pz-text); }
.gh-head-menu .nav .nav-current a { text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.gh-head-link { color: var(--pz-muted-strong); font-size: 1.6rem; font-weight: 600; }
.gh-head-link:hover { color: var(--pz-text); opacity: 1; }
.gh-icon-btn { color: var(--pz-text); }
/* Casper's dark rules (html.auto-color body:not(.has-cover) .gh-head, open-menu states) outrank class selectors; the ID keeps the header on theme tokens. */
html #gh-head, html #gh-head .gh-head-actions { background: var(--pz-bg) !important; color: var(--pz-text); }
html #gh-head .gh-burger::before, html #gh-head .gh-burger::after { background-color: var(--pz-text); }

/* Ticker tape: the one authored motion. Pause control satisfies WCAG 2.2.2. */
.pz-cinta { display: flex; align-items: stretch; background: var(--pz-surface2); }
.pz-cinta-ventana { flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 48px), transparent); }
.pz-cinta-pista { display: flex; width: max-content; animation: pz-cinta 48s linear infinite; }
.pz-cinta:hover .pz-cinta-pista, .pz-cinta:focus-within .pz-cinta-pista, .pz-cinta.is-pausada .pz-cinta-pista { animation-play-state: paused; }
.pz-cinta-lista { display: flex; justify-content: space-around; gap: 48px; min-width: 100vw; margin: 0; padding: 0 24px; list-style: none; }
.pz-cinta-lista li { margin: 0; padding: 0; }
.pz-cinta-lista a { display: inline-flex; gap: 10px; align-items: baseline; padding: 12px 0; color: var(--pz-text); font-family: var(--pz-mono); font-size: 1.3rem; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pz-cinta-lista a:hover { text-decoration: underline; text-underline-offset: 4px; }
.pz-cinta-lista a:focus-visible { outline-offset: -4px; box-shadow: inset 0 0 0 6px var(--pz-focus-ring); }
.pz-cinta-tenue { color: var(--pz-muted-strong); font-family: var(--pz-sans); }
.pz-cinta-pausa {
    flex: none;
    min-width: 96px;
    padding: 0 16px;
    border: 0;
    background: var(--pz-surface2);
    color: var(--pz-muted-strong);
    font: 600 1.3rem var(--pz-sans);
    cursor: pointer;
}
.pz-cinta-pausa:hover { color: var(--pz-text); }
.pz-cinta-pausa:active { transform: scale(0.97); }
.pz-cinta-pausa:focus-visible { outline-offset: -4px; }
@keyframes pz-cinta { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .pz-cinta-pista { animation: none; }
    .pz-cinta-ventana { overflow-x: auto; }
    .pz-cinta-lista[aria-hidden="true"], .pz-cinta-pausa { display: none; }
}

/* Type */
.pz-display {
    margin: 0;
    color: var(--pz-text);
    font-family: var(--pz-serif);
    font-size: clamp(3.4rem, 5vw, 4.8rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.005em;
    text-wrap: balance;
}
.pz-h2 {
    margin: 0;
    color: var(--pz-text);
    font-family: var(--pz-serif);
    font-size: 2.4rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
}
.pz-lead { max-width: 65ch; margin: 12px 0 0; color: var(--pz-muted-strong); font-size: 1.8rem; line-height: 1.5; }
.pz-dato { font-family: var(--pz-mono); font-weight: 400; font-variant-numeric: tabular-nums; }
.pz-ticker { font-family: var(--pz-mono); font-weight: 700; letter-spacing: 0.02em; }
.pz-sub { display: block; margin-top: 4px; color: var(--pz-muted); font-family: var(--pz-sans); font-size: 1.3rem; font-weight: 400; }
.pz-sub.pz-dato { font-family: var(--pz-mono); font-weight: 400; }
.pz-enlace { color: var(--pz-text); font-weight: 600; text-decoration: underline; text-decoration-color: var(--pz-muted); text-underline-offset: 4px; }
.pz-enlace:hover { text-decoration-color: var(--pz-text); }

.pz-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 3px 10px;
    border-radius: var(--pz-radius);
    background: var(--pz-accent);
    color: var(--pz-accent-ink);
    font-family: var(--pz-sans);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    vertical-align: 2px;
}
.pz-etiqueta { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; border: 1px solid var(--pz-border); border-radius: var(--radius); background: var(--pz-bg); font-size: 1.3rem; font-weight: 600; }

/* Page skeleton */
.pz-main { padding-bottom: 64px; }
.pz-pizarra { padding-top: 48px; }
.pz-cabeza { margin-bottom: 32px; }
.pz-sesion { margin: 12px 0 0; color: var(--pz-muted-strong); font-size: 1.6rem; line-height: 1.6; }
.pz-sep { margin: 64px 0 24px; }

/* Plaza tabs: left-aligned labels, label-width warm-white underline, full-width neutral baseline (DESIGN.md "Mis Lives") */
.pz-pestanas { display: flex; gap: 28px; overflow-x: auto; border-bottom: 1px solid var(--pz-border); scrollbar-width: none; }
.pz-pestanas a { flex: none; padding: 12px 0; border-bottom: 2px solid transparent; margin-bottom: -1px; color: var(--pz-muted-strong); font-size: 1.6rem; font-weight: 600; white-space: nowrap; transition: color 0.15s; }
.pz-pestanas a:hover { color: var(--pz-text); text-decoration: none; }
.pz-pestanas a[aria-current="page"] { border-bottom-color: var(--pz-text); color: var(--pz-text); }

/* The board */
.pz-tabla-marco { margin-top: 8px; }
.pz-tabla { width: 100%; border-collapse: collapse; color: var(--pz-text); font-size: 1.6rem; }
.pz-tabla thead th {
    padding: 16px 16px 10px;
    color: var(--pz-muted);
    font-family: var(--pz-sans);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: left;
    text-transform: uppercase;
    white-space: nowrap;
}
.pz-tabla thead abbr { text-decoration: underline dotted; text-underline-offset: 3px; cursor: help; }
.pz-tabla td, .pz-tabla tbody th { padding: 18px 16px; border-top: 1px solid var(--pz-border); text-align: left; vertical-align: top; font-weight: 400; }
.pz-tabla .pz-n { text-align: right; white-space: nowrap; }
.pz-tabla td.pz-dato { font-size: 1.8rem; }
.pz-fila { position: relative; transition: background-color 0.15s; }
.pz-fila:hover, .pz-fila:focus-within { background: var(--pz-hover); }
.pz-fila:focus-within { outline: 2px solid var(--pz-text); outline-offset: -2px; box-shadow: inset 0 0 0 6px var(--pz-focus-ring); }
.pz-fila-link { color: var(--pz-text); font-size: 1.8rem; font-weight: 600; line-height: 1.3; }
.pz-fila-link:hover { text-decoration: none; }
.pz-fila-link:focus-visible { outline: none; }
.pz-fila-link::after { content: ""; position: absolute; inset: 0; }
.pz-c-clave { width: 1%; white-space: nowrap; }
.pz-c-clave .pz-badge { display: block; width: max-content; margin: 8px 0 0; }
.pz-c-sesion { white-space: nowrap; }
.pz-plaza { font-weight: 600; }

.pz-vacio { padding: 32px 0; margin-top: 8px; }
.pz-vacio p { max-width: 65ch; margin: 0 0 12px; color: var(--pz-muted-strong); font-size: 1.8rem; }

/* Fact panel: one shared fill, hairlines between cells (§6 grouped stat rows) */
.pz-ficha {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    margin: 0 0 48px;
    overflow: hidden;
    border-radius: var(--pz-radius);
    background: var(--pz-border);
}
.pz-ficha-3 { grid-template-columns: repeat(3, 1fr); }
.pz-ficha > div { padding: 18px 20px; background: var(--pz-surface2); }
.pz-ficha-3 > div { display: flex; flex-direction: column; justify-content: space-between; }
.pz-ficha-ancho { grid-column: span 2; }
.pz-ficha-resto { grid-column: 2 / -1; }
/* Casper floats dt/dd globally; the panel stacks them. */
.pz-ficha dt, .pz-ficha dd { float: none; width: auto; text-align: left; }
.pz-ficha dt { margin: 0 0 6px; color: var(--pz-muted-strong); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.pz-ficha dd { margin: 0; color: var(--pz-text); font-size: 1.8rem; line-height: 1.4; }
.pz-ficha dd.pz-dato { font-size: 1.8rem; }

/* Show page */
.pz-prospecto { padding-top: 48px; }
.pz-prospecto .pz-cabeza .pz-display { max-width: 20ch; }
.pz-flyer { margin: 0 0 48px; }
.pz-flyer img { max-height: 80vh; margin: 0 auto; border-radius: var(--pz-radius); object-fit: contain; }
.pz-cuerpo.gh-content { max-width: 70ch; margin: 0; font-family: var(--pz-sans); }
.pz-cuerpo.gh-content > * + * { margin-top: 2rem; }
.pz-cuerpo h2 { font-family: var(--pz-serif); font-size: 2.4rem; font-weight: 600; margin-top: 4.8rem; }
.pz-cuerpo p { color: var(--pz-muted-strong); font-size: 1.8rem; line-height: 1.65; }
html.auto-color .gh-content a { color: var(--pz-text); text-decoration-color: var(--pz-muted); text-underline-offset: 4px; }

/* Organizer page */
.pz-cabeza-emisora { display: flex; gap: 24px; align-items: center; }
.pz-logo { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }

/* Lower band: bulletin + organizer ledger */
.pz-dos { padding-top: 64px; }
.pz-dos-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.pz-boletin { padding: 32px; border: 1px solid var(--pz-border); border-radius: var(--pz-radius); background: var(--pz-surface2); }
.pz-boletin p { max-width: 45ch; margin: 12px 0 24px; color: var(--pz-muted-strong); font-size: 1.6rem; line-height: 1.55; }
.pz-boton {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: var(--radius);
    background: var(--pz-accent);
    color: var(--pz-accent-ink);
    font-size: 1.6rem;
    font-weight: 700;
    box-shadow: var(--shadow);
    transition: background-color 0.15s, transform 0.15s var(--pz-ease);
}
.pz-boton:hover { background: color-mix(in srgb, var(--primary) 88%, #000); text-decoration: none; }
.pz-boton:active { transform: scale(0.97); }
.pz-boton-sec { background: var(--pz-text); color: var(--pz-bg); }

.pz-bloque { padding-top: 64px; }
.pz-dos .pz-bloque { padding-top: 0; }
.pz-bloque-cabeza { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }

.pz-libro { margin: 0; padding: 0; list-style: none; }
.pz-libro li { margin: 0; padding: 0; border-top: 1px solid var(--pz-border); }
.pz-libro li:last-child { border-bottom: 1px solid var(--pz-border); }
.pz-libro a { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline; padding: 16px 8px; color: var(--pz-text); transition: background-color 0.15s; }
.pz-libro a:hover { background: var(--pz-hover); text-decoration: none; }
.pz-libro-nombre { font-size: 1.8rem; font-weight: 600; }
.pz-libro-cifra { color: var(--pz-muted-strong); font-size: 1.3rem; }
.pz-libro-desc { grid-column: 1; grid-row: 2; max-width: 65ch; color: var(--pz-muted-strong); font-size: 1.6rem; line-height: 1.5; }
.pz-libro-grande a { padding: 24px 8px; }
.pz-libro-grande .pz-libro-nombre { font-family: var(--pz-serif); font-size: 2.4rem; }

/* Coverage cards: fill-defined, image is the container top */
.historia-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; align-items: start; }
.historia-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--pz-border); border-radius: var(--pz-radius); background: var(--pz-surface2); color: var(--pz-text); transition: filter 0.15s; }
.historia-card:hover { border-color: var(--foreground); text-decoration: none; }
.historia-card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.historia-card-body { display: flex; flex-direction: column; gap: 8px; padding: 20px; }
.historia-card-title { font-size: 1.8rem; font-weight: 600; line-height: 1.3; }
.historia-card-excerpt { color: var(--pz-muted-strong); font-size: 1.6rem; line-height: 1.5; }
.historia-card-meta { color: var(--pz-muted); font-size: 1.3rem; }

/* Footer */
.pz-pie { margin-top: 32px; padding-top: 48px; padding-bottom: 48px; background: var(--pz-surface2); }
.pz-pie-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 16px 48px; align-items: start; }
.pz-pie-marca { color: var(--pz-text); font-family: var(--pz-serif); font-size: 2.4rem; font-weight: 600; }
.pz-pie-nota { max-width: 60ch; margin: 0; color: var(--pz-muted-strong); font-size: 1.3rem; line-height: 1.55; }
.pz-pie-nav .nav { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pz-pie-nav .nav li { margin: 0; padding: 0; }
.pz-pie-nav a, .pz-pie-ghost a { color: var(--pz-text); font-size: 1.3rem; font-weight: 600; }
.pz-pie-ghost { grid-column: 1 / -1; margin: 16px 0 0; color: var(--pz-muted-strong); font-size: 1.3rem; }

/* Casper surfaces kept for videos and crónicas */
html.auto-color .article-title, html.auto-color .post-card-title { color: var(--pz-text); }
.article-title { font-family: var(--pz-serif); font-weight: 600; }
html.auto-color .gh-content > p, html.auto-color .gh-content > ul { color: var(--pz-muted-strong); }
html.auto-color body .gh-content, html.auto-color body .gh-content > * { font-family: var(--pz-sans); }
html.auto-color body .gh-content > h2, html.auto-color body .gh-content > h3 { font-family: var(--pz-serif); }
.footer-cta, .read-more-wrap { display: none; }

/* Responsive: the board reflows into ledger rows */
@media (max-width: 860px) {
    .pz-dos-inner { grid-template-columns: 1fr; }
    .pz-ficha { grid-template-columns: repeat(2, 1fr); }
    .pz-ficha-3 { grid-template-columns: repeat(3, 1fr); }
    .pz-pie-inner { grid-template-columns: 1fr; }
}
/* Board: a full table from 1241px; ledger rows below (tablet and phone). */
@media (max-width: 1240px) {
    .pz-pizarra, .pz-prospecto { padding-top: 32px; }
    .pz-pestanas { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent); padding-right: 40px; }
    .pz-tabla thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .pz-tabla, .pz-tabla tbody { display: block; }
    .pz-fila {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        grid-template-areas: "clave clave clave" "emision emision emision" "sesion sesion sesion" "plaza plaza plaza" "entrada mesas mesa";
        gap: 8px 12px;
        padding: 18px 4px;
        border-top: 1px solid var(--pz-border);
    }
    .pz-fila:first-child { border-top: 0; }
    .pz-tabla td, .pz-tabla tbody th { display: block; padding: 0; border: 0; }
    .pz-c-clave { grid-area: clave; width: auto; }
    .pz-c-clave .pz-badge { display: inline-block; margin: 0 0 0 8px; }
    .pz-c-emision { grid-area: emision; }
    .pz-c-sesion { grid-area: sesion; white-space: normal; }
    .pz-c-sesion .pz-sub { display: block; }
    .pz-c-plaza { grid-area: plaza; }
    .pz-c-plaza .pz-sub { display: inline; margin-left: 6px; }
    .pz-tabla td.pz-n { padding-top: 8px; text-align: left; }
    .pz-tabla td[data-label="Entrada"] { grid-area: entrada; }
    .pz-tabla td[data-label="Mesas"] { grid-area: mesas; }
    .pz-tabla td[data-label="Precio mesa"] { grid-area: mesa; }
    .pz-tabla td.pz-n::before { content: attr(data-label); display: block; margin-bottom: 2px; color: var(--pz-muted); font-family: var(--pz-sans); font-size: 1.1rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
    .pz-ficha-3 > div { padding: 14px 12px; }
    .pz-ficha-3 dt { font-size: 1.1rem; }
    .pz-ficha dd.pz-dato { font-size: 1.7rem; }
    .pz-boletin { padding: 24px; }
    .pz-cabeza-emisora { flex-direction: column; align-items: flex-start; }
}

/* Casper tag strip moved below titles: metadata, not an eyebrow. */
.pz-meta-tags { margin: 12px 0 0; }

/* Inline signup (Ghost members form). States come from Ghost: .loading, .success, .error. */
.pz-alta { max-width: 560px; margin: 24px 0 0; }
.pz-alta-fila { display: flex; gap: 8px; }
.pz-alta-correo {
    flex: 1; min-width: 0; min-height: 48px; padding: 0 14px;
    border: 1px solid var(--pz-border); border-radius: var(--radius);
    background: var(--pz-bg); color: var(--pz-text); font: 400 1.6rem var(--pz-sans);
}
.pz-alta-correo::placeholder { color: var(--pz-muted); opacity: 1; }
.pz-alta-correo:hover { border-color: var(--pz-text); }
.pz-alta-correo:focus-visible { outline: 2px solid var(--pz-text); outline-offset: 2px; box-shadow: 0 0 0 6px var(--pz-focus-ring); }
.pz-alta-boton { flex: none; border: 0; cursor: pointer; font-family: var(--pz-sans); }
.pz-alta-boton:disabled { opacity: 0.6; cursor: not-allowed; }
.pz-alta-cargando, .pz-alta-ok, .pz-alta-error { display: none; }
.pz-alta.loading .pz-alta-texto { display: none; }
.pz-alta.loading .pz-alta-cargando { display: inline; }
.pz-alta.loading .pz-alta-boton { pointer-events: none; opacity: 0.75; }
.pz-alta.success .pz-alta-fila { display: none; }
.pz-alta.success .pz-alta-ok { display: inline; color: var(--pz-text); font-weight: 600; }
.pz-alta.error .pz-alta-error { display: inline; color: var(--pz-error); font-weight: 600; }
.pz-alta.error .pz-alta-correo { border-color: var(--pz-error); }
.pz-alta-estado { margin: 8px 0 0; font-size: 1.4rem; min-height: 2.2rem; }
.pz-alta-ya { margin: 16px 0 0; color: var(--pz-muted-strong); font-size: 1.6rem; }
.pz-cabeza .pz-display { max-width: 22ch; }
.pz-cabeza .pz-lead { margin-top: 16px; }
.pz-boletin .pz-alta { margin-top: 0; }

/* Countdown: filled by default.hbs script */
.pz-cuenta:empty { display: none; }
.pz-cuenta { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: var(--radius); background: color-mix(in srgb, var(--secondary) 18%, var(--pz-bg)); color: var(--pz-text); font: 700 1.3rem var(--pz-mono); }
.pz-cuenta-grande { margin: 0; padding: 6px 12px; font-size: 1.6rem; align-self: center; }

/* Prospecto actions */
.pz-acciones { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 24px; }
.pz-acciones .pz-boton:focus-visible { outline: 2px solid var(--pz-text); outline-offset: 2px; }
@media (max-width: 760px) {
    .pz-alta-fila { flex-direction: column; }
    .pz-alta-boton { justify-content: center; }
    .pz-acciones .pz-boton { flex: 1 1 100%; justify-content: center; }
}

/* Home hero: promise left, offer right on wide screens, so the board starts inside the first viewport. */
.pz-hero-oferta .pz-lead { margin-top: 16px; }
@media (min-width: 1000px) {
    .pz-cabeza-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8px 64px; align-items: end; }
    .pz-cabeza-hero .pz-display { max-width: 16ch; }
    .pz-cabeza-hero .pz-hero-oferta .pz-lead { margin-top: 0; font-size: 1.8rem; }
    .pz-cabeza-hero .pz-alta { margin-top: 16px; }
    .pz-cabeza-hero .pz-sesion { grid-column: 1 / -1; margin-top: 16px; }
}
.pz-boletin { align-self: start; }

/* /organiza/: reference price table (partials/mercado.hbs) and notes */
.pz-nota { max-width: 65ch; margin: -12px 0 16px; color: var(--pz-muted-strong); font-size: 1.6rem; }
.pz-libro-cifra .pz-etiqueta { margin: 0; font-family: var(--pz-mono); font-weight: 700; }
@media (max-width: 760px) {
    .pz-mercado .pz-fila { grid-template-areas: "emision emision emision" "sesion plaza plaza" "entrada mesas mesa"; }
    .pz-mercado .pz-c-plaza { text-align: right; }
}

/* Ghost file card (downloads in guides): theme tokens over Ghost's card CSS. */
.gh-content .kg-file-card a.kg-file-card-container {
    border: 1px solid var(--pz-border); border-radius: var(--pz-radius); background: var(--pz-surface2);
    color: var(--pz-text); text-decoration: none; transition: border-color 0.15s;
}
.gh-content .kg-file-card a.kg-file-card-container:hover { border-color: var(--pz-text); }
.gh-content .kg-file-card a.kg-file-card-container:focus-visible { outline: 2px solid var(--pz-text); outline-offset: 2px; box-shadow: 0 0 0 6px var(--pz-focus-ring); }
.gh-content .kg-file-card-title { color: var(--pz-text); font-family: var(--pz-sans); font-weight: 700; }
.gh-content .kg-file-card-caption, .gh-content .kg-file-card-metadata { color: var(--pz-muted-strong); opacity: 1; font-family: var(--pz-sans); }
.gh-content .kg-file-card-filesize { font-family: var(--pz-mono); }
.gh-content .kg-file-card-icon { color: var(--pz-accent); }

/* Fix batch: status line keeps its own spacing inside the bulletin card; hero CTA spacing; Ghost file-size fade. */
.pz-alta .pz-alta-estado { max-width: none; margin: 8px 0 0; }
.pz-hero-oferta > .pz-boton { margin-top: 20px; }
.gh-content .kg-file-card-filesize { opacity: 1; color: var(--pz-muted-strong); }
/* Casper author avatar placeholder: theme surface instead of its fixed charcoal. */
html #site-main .author-avatar { border-color: var(--pz-bg); background-color: var(--pz-surface2); }
html #site-main .author-avatar svg path { fill: var(--pz-muted-strong); }

/* Fix batch 2 */
html .gh-button-share, html.auto-color .gh-button-share { color: var(--pz-text); border: 1px solid var(--pz-border); border-radius: var(--radius); }
html .gh-button-share:hover, html.auto-color .gh-button-share:hover { border-color: var(--pz-text); }
html .gh-button-share:focus-visible { outline: 2px solid var(--pz-text); outline-offset: 2px; box-shadow: 0 0 0 6px var(--pz-focus-ring); }
.pz-icono { flex: none; margin-left: 6px; }
.pz-boton { gap: 0; }
.pz-saltos { margin: 16px 0 0; font-size: 1.6rem; color: var(--pz-muted-strong); }

/* Social embeds: TikTok's player requires a 325–605px box; Instagram's caps itself at 540px. */
.gh-content .tiktok-embed { min-width: 325px; max-width: 605px; margin: 0 auto; border: 0; padding: 0; }
.gh-content .instagram-media { margin-left: auto !important; margin-right: auto !important; }

/* Visual layer: organizer logos ("sellos"), flyer strip ("carteles"), prospecto with flyer. */
.pz-sello { display: inline-block; flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 1px solid var(--pz-border); background: var(--pz-surface2); vertical-align: middle; }
.pz-sello-grande { width: 56px; height: 56px; }
.pz-sello-linea { width: 24px; height: 24px; margin: 0 6px 0 4px; }
.pz-clave { display: inline-flex; align-items: center; gap: 12px; }
.pz-libro-nombre { display: inline-flex; align-items: center; gap: 12px; }

.pz-carteles { margin: 8px 0 40px; }
.pz-carteles-lista { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(200px, 1fr); gap: 16px; margin: 0; padding: 0 0 8px; overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.pz-cartel { margin: 0; padding: 0; scroll-snap-align: start; }
.pz-cartel-link { display: flex; flex-direction: column; gap: 8px; color: var(--pz-text); }
.pz-cartel-link:hover { text-decoration: none; }
.pz-cartel-img { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--pz-border); border-radius: var(--pz-radius); background: var(--pz-surface2); transition: border-color 0.15s; }
.pz-cartel-img img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.3s var(--pz-ease); }
.pz-cartel-link:hover .pz-cartel-img { border-color: var(--pz-text); }
.pz-cartel-link:hover .pz-cartel-img img { transform: scale(1.02); }
.pz-cartel-link:focus-visible { outline: none; }
.pz-cartel-link:focus-visible .pz-cartel-img { outline: 2px solid var(--pz-text); outline-offset: 2px; box-shadow: 0 0 0 6px var(--pz-focus-ring); }
/* No flyer: a ticker tile in ink, never a blank poster. */
.pz-cartel-sinimg { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; height: 100%; padding: 20px; background: var(--foreground); color: var(--background); }
.pz-cartel-sinimg .pz-sello { width: 56px; height: 56px; margin-bottom: auto; margin-top: 44px; border-color: var(--background); }
.pz-cartel-sinimg .pz-ticker { font-size: 3.2rem; line-height: 1; }
.pz-cartel-org { font-size: 1.6rem; font-weight: 600; }
.pz-cartel-aviso { font-size: 1.3rem; opacity: 0.85; }
.pz-cartel-cuenta { position: absolute; top: 10px; left: 10px; margin: 0; background: var(--pz-bg); border: 1px solid var(--pz-border); }
.pz-cartel-pie { display: flex; justify-content: space-between; gap: 8px; font-size: 1.4rem; color: var(--pz-muted-strong); }
.pz-cartel-plaza .pz-plaza { font-weight: 600; color: var(--pz-text); }
.pz-cartel-titulo { font-size: 1.6rem; font-weight: 600; line-height: 1.3; }
@media (prefers-reduced-motion: reduce) { .pz-cartel-img img { transition: none; } .pz-cartel-link:hover .pz-cartel-img img { transform: none; } }
@media (max-width: 760px) { .pz-carteles-lista { grid-auto-columns: 68%; } }

.pz-prospecto-datos.con-cartel { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-areas: "ficha cartel"; gap: 32px; align-items: start; margin-bottom: 48px; }
.pz-prospecto-datos.con-cartel .pz-ficha { grid-area: ficha; grid-template-columns: repeat(2, 1fr); margin: 0; }
.pz-prospecto-datos.con-cartel .pz-ficha-ancho, .pz-prospecto-datos.con-cartel .pz-ficha-resto { grid-column: 1 / -1; }
.pz-prospecto-datos.con-cartel .pz-flyer { grid-area: cartel; margin: 0; }
.pz-prospecto-datos.con-cartel .pz-flyer img { width: 100%; max-height: none; border: 1px solid var(--pz-border); }
@media (max-width: 860px) {
    .pz-prospecto-datos.con-cartel { grid-template-columns: 1fr; grid-template-areas: "ficha" "cartel"; }
    .pz-prospecto-datos.con-cartel .pz-flyer img { max-height: 70vh; width: auto; margin: 0 auto; }
}

/* Home portada: H1, flyer strip, then the bulletin offer. */
.pz-cabeza-portada { margin-bottom: 24px; }
.pz-cabeza-portada .pz-display { max-width: none; }
.pz-oferta-banda { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: center; margin: 0 0 24px; padding: 24px 0; border-top: 1px solid var(--pz-border); border-bottom: 1px solid var(--pz-border); }
.pz-oferta-banda .pz-lead { margin: 0; }
.pz-oferta-banda .pz-alta { margin: 0; }
.pz-sesion-tablero { margin: 0 0 24px; }
@media (max-width: 860px) { .pz-oferta-banda { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
    .pz-acciones .pz-boton { flex: 1 1 calc(50% - 6px); }
    .pz-acciones .pz-boton:first-child { flex-basis: 100%; }
}

/* ===== Home zones (one job each). Fixed brand inks so bands keep identity in both modes. ===== */
:root { --cs-tinta: #073642; --cs-papel: #fdf6e3; --cs-magenta-hondo: #a8286a; }
.cs-portada { padding-bottom: 0; }
.cs-zona { padding-top: 56px; padding-bottom: 8px; }

/* 1 · Foco: the next show */
.cs-foco { padding-top: 48px; padding-bottom: 56px; background: var(--cs-tinta); color: var(--cs-papel); }
.cs-foco-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.cs-foco-cabeza { display: flex; gap: 24px; align-items: flex-start; }
.cs-boleto { display: flex; flex: none; flex-direction: column; align-items: center; justify-content: center; width: 124px; padding: 16px 8px; border-radius: var(--pz-radius); background: var(--cs-papel); color: var(--cs-tinta); line-height: 1; text-transform: uppercase; }
.cs-boleto-dia, .cs-boleto-mes { font-size: 1.5rem; font-weight: 700; letter-spacing: 0.06em; }
.cs-boleto-dia { color: var(--cs-magenta-hondo); }
.cs-boleto-num { margin: 8px 0; font-size: 4.8rem; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.cs-foco-titulo { margin: 0; color: var(--cs-papel); font-size: clamp(3.2rem, 4.4vw, 5.2rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
.cs-foco-titulo a { color: inherit; }
.cs-foco-titulo a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }
.cs-foco-cuenta { margin: 0; border: 0; background: var(--primary); color: #fff; }
.cs-foco-datos { display: grid; grid-template-columns: repeat(3, auto); gap: 8px 40px; justify-content: start; margin: 36px 0 0; }
.cs-foco-datos dt, .cs-foco-datos dd { float: none; width: auto; text-align: left; }
.cs-foco-datos dt { margin: 0; color: rgba(253, 246, 227, 0.78); font-size: 1.3rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.cs-foco-datos dd { margin: 6px 0 0; color: var(--cs-papel); font-size: 1.8rem; font-weight: 600; }
.cs-foco-datos .pz-plaza { color: inherit; }
.cs-foco-acciones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cs-boton-claro { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; border: 1px solid var(--cs-papel); border-radius: var(--radius); color: var(--cs-papel); font-size: 1.6rem; font-weight: 700; transition: background-color 0.15s; }
.cs-boton-claro:hover { background: rgba(253, 246, 227, 0.12); text-decoration: none; }
.cs-boton-claro:active { transform: scale(0.97); }
.cs-foco a:focus-visible { outline: 2px solid var(--cs-papel); outline-offset: 3px; }
.cs-foco-org { display: flex; align-items: center; gap: 10px; margin: 28px 0 0; color: var(--cs-papel); font-size: 1.5rem; }
.cs-foco-org a { color: var(--cs-papel); text-decoration: underline; text-underline-offset: 4px; }
.cs-foco-org .pz-sello { width: 32px; height: 32px; border-color: var(--cs-papel); }
.cs-foco-cartel { display: block; }
.cs-foco-cartel img { width: 100%; max-height: 560px; border-radius: var(--pz-radius); object-fit: contain; }
.cs-foco-sinimg { display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: center; aspect-ratio: 4 / 5; border: 1px solid rgba(253, 246, 227, 0.4); color: var(--cs-papel); border-radius: var(--pz-radius); font-size: 1.6rem; }
.cs-foco-sinimg .pz-ticker { font-size: 4rem; }

/* 2 · Ciudades */
.cs-ciudades { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0 0 56px; }
.cs-ciudad { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 140px; padding: 20px 24px; border-radius: var(--pz-radius); color: #fff; transition: transform 0.15s var(--pz-ease); }
.cs-ciudad:hover { text-decoration: none; transform: translateY(-2px); }
.cs-ciudad:active { transform: scale(0.98); }
.cs-ciudad:focus-visible { outline: 2px solid var(--pz-text); outline-offset: 3px; }
.cs-ciudad-cdmx { background: #d33682; }
.cs-ciudad-mty { background: #cb4b16; }
.cs-ciudad-gdl { background: #1d7a73; }
.cs-ciudad-nombre { font-size: 3.2rem; font-weight: 800; line-height: 1; }
.cs-ciudad-cifra { font-size: 1.8rem; font-weight: 600; }

/* 4 · Boletín */
.cs-boletin { margin-top: 56px; padding-top: 48px; padding-bottom: 48px; background: var(--cs-magenta-hondo); color: #fff; }
.cs-boletin-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: center; }
.cs-boletin-titulo { margin: 0; color: #fff; font-size: clamp(2.8rem, 3.6vw, 4rem); font-weight: 800; line-height: 1.1; }
.cs-boletin p { margin: 8px 0 0; color: #fff; font-size: 1.8rem; }
.cs-boletin .pz-alta { margin: 0; }
.cs-boletin .pz-alta-correo { border-color: #fff; background: #fff; color: var(--cs-tinta); }
.cs-boletin .pz-alta-correo::placeholder { color: #46595f; }
.cs-boletin .pz-boton { background: var(--cs-tinta); color: var(--cs-papel); box-shadow: none; }
.cs-boletin .pz-boton:hover { background: #0b4a5a; }
.cs-boletin .pz-alta-estado, .cs-boletin .pz-alta.success .pz-alta-ok, .cs-boletin .pz-alta.error .pz-alta-error { color: #fff; }
.cs-boletin .pz-alta-correo:focus-visible, .cs-boletin .pz-boton:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: none; }

/* 6 · Organiza */
.cs-organiza { margin-top: 56px; padding-top: 56px; padding-bottom: 56px; background: var(--card); }
.cs-organiza .pz-boletin { background: var(--background); }

@media (max-width: 900px) {
    .cs-foco-inner, .cs-boletin-inner { grid-template-columns: 1fr; }
    .cs-foco-cartel img { max-height: 420px; }
}
@media (max-width: 760px) {
    .cs-foco { padding-top: 32px; padding-bottom: 40px; }
    .cs-foco-cabeza { gap: 16px; }
    .cs-boleto { width: 92px; padding: 12px 6px; }
    .cs-boleto-num { font-size: 3.4rem; }
    .cs-foco-datos { grid-template-columns: 1fr 1fr; gap: 16px 24px; }
    .cs-foco-datos > div:first-child { grid-column: 1 / -1; }
    .cs-foco-acciones > * { flex: 1 1 calc(50% - 6px); justify-content: center; }
    .cs-ciudades { grid-template-columns: 1fr; gap: 10px; }
    .cs-ciudad { flex-direction: row; align-items: center; min-height: 72px; }
    .cs-ciudad-nombre { font-size: 2.6rem; }
    .cs-ciudad-cifra { font-size: 1.6rem; font-weight: 700; }
}
@media (prefers-reduced-motion: reduce) { .cs-ciudad, .cs-ciudad:hover { transition: none; transform: none; } }
.cs-linea { display: block; white-space: nowrap; }
.cs-foco-boletos { color: var(--cs-papel); text-decoration: underline; text-underline-offset: 4px; }

/* ===== Subpages, organizers, vendor board ===== */
.cs-boleto-caja { display: flex; flex: none; flex-direction: column; align-items: center; gap: 8px; }

.cs-banda { padding-top: 48px; padding-bottom: 48px; background: var(--cs-tinta); color: var(--cs-papel); }
.cs-banda-cdmx { background: #d33682; color: #fff; }
.cs-banda-mty { background: #cb4b16; color: #fff; }
.cs-banda-gdl { background: #1d7a73; color: #fff; }
.cs-banda-inner { display: flex; align-items: center; gap: 24px; }
.cs-banda-logo { flex: none; width: 96px; height: 96px; border: 2px solid currentColor; border-radius: 50%; object-fit: cover; }
.cs-banda-titulo { margin: 0; color: inherit; font-size: clamp(3.2rem, 5vw, 5.2rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
.cs-banda-sub { max-width: 60ch; margin: 12px 0 0; color: inherit; font-size: 1.8rem; line-height: 1.5; }

.cs-orgs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.cs-orgs li { margin: 0; padding: 0; }
.cs-org { display: flex; align-items: center; gap: 16px; height: 100%; padding: 16px 20px; border: 1px solid var(--pz-border); border-radius: var(--pz-radius); background: var(--pz-surface2); color: var(--pz-text); transition: border-color 0.15s; }
.cs-org:hover { border-color: var(--pz-text); text-decoration: none; }
.cs-org:active { transform: scale(0.99); }
.cs-org:focus-visible { outline: 2px solid var(--pz-text); outline-offset: 2px; }
.cs-org-logo { flex: none; width: 64px; height: 64px; border: 1px solid var(--pz-border); border-radius: 50%; object-fit: cover; }
.cs-org-texto { display: flex; flex-direction: column; gap: 4px; }
.cs-org-nombre { font-size: 1.8rem; font-weight: 700; line-height: 1.2; }
.cs-org-cifra { color: var(--pz-muted-strong); font-size: 1.4rem; }

.cs-organiza-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 48px; align-items: end; }
.cs-organiza-sub { max-width: 50ch; margin: 8px 0 0; color: var(--pz-muted-strong); font-size: 1.7rem; }
.cs-organiza-grid .pz-alta { margin: 0; }
.cs-organiza-caja { padding: 32px; border: 1px solid var(--pz-border); border-radius: var(--pz-radius); background: var(--pz-surface2); }
.cs-saltos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 0 0 8px; }

.cs-etiqueta { display: block; margin: 0 0 6px; color: var(--pz-text); font-size: 1.4rem; font-weight: 700; }
.cs-boletin .cs-etiqueta { color: #fff; }

.pz-c-mesa { text-align: right; white-space: nowrap; vertical-align: top; }
.pz-tabla td.pz-c-mesa { padding-top: 14px; }
.cs-pedir { position: relative; z-index: 1; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--pz-text); border-radius: var(--radius); color: var(--pz-text); font-size: 1.4rem; font-weight: 700; }
.cs-pedir:hover { background: var(--pz-text); color: var(--pz-bg); text-decoration: none; }
.cs-pedir:focus-visible { outline: 2px solid var(--pz-text); outline-offset: 2px; }
.cs-sin { color: var(--pz-muted); font-size: 1.3rem; }

.cs-h2-espacio { margin: 0 0 20px; }
.cs-vacio { margin: 0 0 16px; color: var(--pz-muted-strong); font-size: 1.7rem; }
.cs-ficha { margin-top: 20px; }
.cs-ficha .pz-ficha-resto { grid-column: span 2; }
.pz-ficha dd:empty::after { content: "—"; }
.cs-zona .pz-cuerpo { margin-top: 16px; }

/* Tablet: the 9-column vendor board becomes the ledger at 1240px and below. */
@media (max-width: 1240px) {
    .cs-tabla-vendedor .pz-sub, .cs-tabla-vendedor .pz-cuenta, .cs-tabla-vendedor .pz-c-clave .pz-sello { display: none; }
    .cs-tabla-vendedor .pz-fila { grid-template-areas: "clave clave sesion" "emision emision emision" "plaza plaza plaza" "entrada mesas mesa" "pedir pedir pedir"; }
    .cs-tabla-vendedor .pz-c-mesa { grid-area: pedir; padding-top: 4px; text-align: left; }
    .cs-tabla-vendedor .pz-c-sesion { text-align: right; }
}
@media (max-width: 760px) {
    .cs-banda { padding-top: 32px; padding-bottom: 32px; }
    .cs-banda-inner { gap: 16px; }
    .cs-banda-logo { width: 64px; height: 64px; }
    .cs-organiza-grid { grid-template-columns: 1fr; }
    .cs-organiza-caja { padding: 24px; }
    .cs-foco-cartel img { max-height: 280px; width: auto; margin: 0 auto; }
    .cs-foco-sinimg { aspect-ratio: auto; min-height: 200px; }
}

/* Atracciones: a show's draws as ledger rows. Stamp = ink tile like the no-flyer ticker; the whole row is the link. */
.cs-atr-zona:has(.cs-atr-lista) { margin-bottom: 48px; }
.cs-atr-lista { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--pz-border); }
.cs-atr { position: relative; display: grid; grid-template-columns: 132px minmax(0, 1fr) 24px; gap: 4px 20px; align-items: center; padding: 18px 12px; border-bottom: 1px solid var(--pz-border); transition: background-color 0.15s; }
.cs-atr-conshow { grid-template-columns: 132px minmax(0, 1fr) minmax(180px, 260px) 24px; }
.cs-atr:hover, .cs-atr:focus-within { background: var(--pz-hover); }
.cs-atr:focus-within { outline: 2px solid var(--pz-text); outline-offset: -2px; box-shadow: inset 0 0 0 6px var(--pz-focus-ring); }
.cs-atr-tipo { justify-self: start; padding: 6px 10px; border-radius: var(--radius); background: var(--pz-text); color: var(--pz-bg); font: 700 1.2rem var(--pz-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.cs-atr-texto { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cs-atr-titulo { color: var(--pz-text); font-size: 1.9rem; font-weight: 700; line-height: 1.25; }
.cs-atr-titulo:hover { text-decoration: none; }
.cs-atr-titulo:focus-visible { outline: none; }
.cs-atr-titulo::after { content: ""; position: absolute; inset: 0; }
.cs-atr-gancho { max-width: 70ch; color: var(--pz-muted); font-size: 1.5rem; line-height: 1.45; }
.cs-atr-show { display: flex; flex-direction: column; gap: 2px; color: var(--pz-text); font-size: 1.4rem; font-weight: 600; }
.cs-atr-show .pz-dato { font-weight: 700; }
.cs-atr-flecha { color: var(--pz-muted); font-size: 2rem; transition: transform 0.15s var(--pz-ease); }
.cs-atr:hover .cs-atr-flecha { color: var(--pz-text); transform: translateX(3px); }
.cs-atr-ficha { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px) {
    .cs-atr, .cs-atr-conshow { grid-template-columns: minmax(0, 1fr) 24px; grid-template-areas: "tipo flecha" "texto texto" "show show"; padding: 16px 4px; }
    .cs-atr-tipo { grid-area: tipo; }
    .cs-atr-texto { grid-area: texto; margin-top: 6px; }
    .cs-atr-show { grid-area: show; flex-direction: row; gap: 8px; margin-top: 4px; }
    .cs-atr-flecha { grid-area: flecha; justify-self: end; }
    .cs-atr-ficha { grid-template-columns: 1fr 1fr; }
}

/* Onda credit. The mark is Onda's app tile (graphite + lime), used whole: Onda's DESIGN.md keeps lime as a fill, never as text. */
.cs-marca { display: flex; align-items: center; gap: 14px; min-width: 0; }
.cs-onda { display: block; flex: none; border-radius: 22%; }
.cs-por-onda { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 6px; border: 1px solid var(--pz-border); border-radius: 999px; color: var(--pz-muted-strong); font-size: 1.3rem; font-weight: 600; line-height: 1; white-space: nowrap; transition: border-color 0.15s, color 0.15s, background-color 0.15s; }
.cs-por-onda .cs-onda { width: 22px; height: 22px; }
.cs-por-onda:hover { border-color: var(--pz-text); color: var(--pz-text); text-decoration: none; }
.cs-por-onda:active { transform: scale(0.97); }
.cs-por-onda:focus-visible, .cs-pie-onda:focus-visible { outline: 2px solid var(--pz-text); outline-offset: 2px; }
.pz-pie-col { display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.cs-pie-onda { display: inline-flex; align-items: center; gap: 12px; color: var(--pz-text); font-size: 1.4rem; line-height: 1.3; }
.cs-pie-onda:hover { text-decoration: none; }
.cs-pie-onda:hover span { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
    .cs-marca { gap: 8px; }
    .cs-marca .gh-head-logo { font-size: 2rem; }
    .cs-por-onda { padding: 3px; border-color: transparent; }
    .cs-por-onda-texto { display: none; }
}

/* Header logo meets the 44px target. */
.gh-head-logo { display: inline-flex; align-items: center; min-height: 44px; }

/* Card Show OS landing (/para-organizadores/). Persuade. One claim: the show sells before the doors open.
   Artifacts from Mexican commerce: a corte de caja (thermal receipt), a pase de acceso, offers on a pedido. */
.cs-os-ejemplo { display: inline-block; padding: 3px 8px; border: 1px solid currentColor; border-radius: 999px; font-size: 1.1rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; }
.cs-os-falso { pointer-events: none; }
.cs-os-gris { background: var(--card); }
.cs-os-h2 { margin: 0; color: inherit; font-size: clamp(3rem, 4vw, 4.4rem); font-weight: 800; line-height: 1.08; text-wrap: balance; }
.cs-os-texto { max-width: 62ch; margin: 12px 0 0; color: var(--pz-text); font-size: 1.8rem; line-height: 1.55; }
.cs-os-intro { margin: 8px 0 24px; }
.cs-os-dos { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 56px; align-items: center; }

/* Hero */
.cs-os-hero { padding-top: 72px; padding-bottom: 80px; background: var(--cs-tinta); color: var(--cs-papel); }
.cs-os-hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.cs-os-titulo { margin: 0; color: var(--cs-papel); font-size: clamp(3.8rem, 5.8vw, 7rem); font-weight: 800; line-height: 1; letter-spacing: -0.02em; text-wrap: balance; }
.cs-os-lead { max-width: 54ch; margin: 22px 0 0; color: inherit; font-size: 2rem; line-height: 1.5; text-wrap: pretty; }
.cs-os-nota { margin: 16px 0 0; color: inherit; font-size: 1.5rem; opacity: 0.85; }
.cs-os-hero .pz-acciones { margin-top: 28px; }
.cs-os-hero .pz-boton:focus-visible, .cs-os-hero .cs-boton-claro:focus-visible { outline: 2px solid var(--cs-papel); outline-offset: 3px; }

/* Corte de caja: thermal paper, mono, dashed rules, torn bottom edge. */
.cs-os-ticket { justify-self: center; width: 100%; max-width: 380px; margin: 0; padding: 26px 26px 34px; background: #fffdf6; color: #1b1b1b; font-family: var(--pz-mono); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35); transform: rotate(1.5deg);
    -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 90deg, #0000 91deg) bottom / 20px 10px repeat-x;
    mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 90deg, #0000 91deg) bottom / 20px 10px repeat-x; }
.cs-os-ticket-cabeza { display: flex; justify-content: space-between; align-items: center; margin: 0; font-size: 1.5rem; }
.cs-os-ticket-sub { margin: 6px 0 14px; padding-bottom: 12px; border-bottom: 1px dashed #777; font-size: 1.3rem; }
.cs-os-lineas { margin: 0; }
.cs-os-linea { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 1.35rem; }
.cs-os-linea dt, .cs-os-linea dd { float: none; width: auto; margin: 0; color: #1b1b1b; font-weight: 400; }
.cs-os-total { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #777; }
.cs-os-total .cs-os-linea:first-child { font-size: 1.9rem; font-weight: 700; }
.cs-os-total .cs-os-linea:first-child dd { font-weight: 700; }
.cs-os-ticket-pie { margin-top: 14px; padding-top: 12px; border-top: 1px dashed #777; font-size: 1.3rem; text-align: center; }

/* Six revenue boxes as ledger rows. */
.cs-os-cajas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--pz-border); }
.cs-os-cajas li { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 4px; border-bottom: 1px solid var(--pz-border); }
.cs-os-cajas p { margin: 0; color: var(--pz-text); font-size: 1.7rem; line-height: 1.45; }
.cs-os-cajas .cs-atr-tipo { margin-top: 2px; text-align: center; }

/* Mercado del show */
.cs-os-flujo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 28px 0; padding: 0; list-style: none; counter-reset: none; }
.cs-os-flujo li { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border: 1px solid var(--pz-border); border-radius: 14px; background: var(--pz-bg); color: var(--pz-text); font-size: 1.6rem; line-height: 1.4; }
.cs-os-flujo li > span { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 6px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; }
.cs-os-flujo b { font-size: 1.8rem; }
.cs-os-flujo li:not(:last-child)::after { content: "→"; position: absolute; top: 50%; right: -14px; color: var(--pz-text); font-size: 2rem; font-weight: 700; transform: translateY(-50%); }
.cs-os-mesa { padding: 3px 8px; border: 1px solid var(--pz-text); border-radius: 6px; font-size: 1.2rem; }
.cs-os-tres { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin-top: 28px; }

/* Bands */
.cs-os-cierre { padding-top: 72px; padding-bottom: 72px; background: var(--cs-tinta); color: var(--cs-papel); }
.cs-os-puntos { margin: 20px 0 0; padding: 0; list-style: none; }
.cs-os-puntos li { position: relative; margin: 0; padding: 10px 0 10px 28px; border-top: 1px solid rgba(253, 246, 227, 0.3); font-size: 1.7rem; line-height: 1.45; }
.cs-os-puntos li::before { content: "→"; position: absolute; left: 0; font-weight: 700; }
.cs-os-puntos-tinta li { border-top-color: var(--pz-border); color: var(--pz-text); }

/* Correo mock */
.cs-os-correo { position: relative; margin: 0; padding: 24px; border: 1px solid var(--pz-border); border-radius: 14px; background: var(--pz-surface2); color: var(--pz-text); }
.cs-os-correo-cabeza { margin: 14px 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--pz-border); }
.cs-os-correo-cabeza div { display: flex; gap: 12px; margin: 4px 0; font-size: 1.5rem; }
.cs-os-correo-cabeza dt { float: none; width: 64px; color: var(--pz-muted); font-weight: 700; }
.cs-os-correo-cabeza dd { float: none; margin: 0; font-weight: 600; }
.cs-os-correo p { margin: 0 0 16px; font-size: 1.6rem; line-height: 1.5; }

/* Vendedores */

/* Research tables */
.cs-os-hallazgos { width: 100%; border-collapse: collapse; font-size: 1.6rem; }
.cs-os-hallazgos th, .cs-os-hallazgos td { padding: 16px; border-bottom: 1px solid var(--pz-border); text-align: left; vertical-align: top; line-height: 1.45; }
.cs-os-hallazgos thead th { color: var(--pz-muted); font-size: 1.2rem; letter-spacing: 0.08em; text-transform: uppercase; }
.cs-os-hallazgos tbody th { width: 38%; color: var(--pz-text); font-weight: 700; }
.cs-os-hallazgos td:last-child { width: 18%; font-size: 1.4rem; }
.cs-os-hallazgos .pz-enlace { display: inline-block; min-height: 24px; }

/* Pricing, FAQ, form */
.cs-os-planes { width: 100%; border-collapse: collapse; font-size: 1.6rem; }
.cs-os-planes th, .cs-os-planes td { padding: 18px 16px; border-bottom: 1px solid var(--pz-border); text-align: left; vertical-align: top; }
.cs-os-planes thead th { color: var(--pz-muted); font-size: 1.2rem; letter-spacing: 0.08em; text-transform: uppercase; }
.cs-os-planes tbody th { font-size: 1.9rem; }
.cs-os-planes td.pz-dato { font-size: 1.9rem; font-weight: 700; white-space: nowrap; }
.cs-os-plan-foco { background: color-mix(in srgb, var(--primary) 10%, var(--pz-bg)); }
.cs-os-cuenta { margin-top: 24px; padding: 24px; border: 1px solid var(--pz-border); border-radius: 14px; }
.cs-os-cuenta p { margin: 0 0 8px; font-size: 1.8rem; }
.cs-os-cuenta .cs-os-fuente { margin: 12px 0 0; color: var(--pz-muted); font-size: 1.3rem; }
.cs-os-preguntas details { max-width: 72ch; border-top: 1px solid var(--pz-border); }
.cs-os-preguntas details:last-child { border-bottom: 1px solid var(--pz-border); }
.cs-os-preguntas summary { min-height: 56px; padding: 16px 0; cursor: pointer; font-size: 1.8rem; font-weight: 700; }
.cs-os-preguntas summary:focus-visible { outline: 2px solid var(--pz-text); outline-offset: 2px; }
.cs-os-preguntas details p { margin: 0 0 18px; color: var(--pz-text); font-size: 1.7rem; line-height: 1.55; }
.cs-os-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin: 0; }
.cs-os-campo { display: flex; flex-direction: column; gap: 6px; }
.cs-os-form .cs-etiqueta { color: var(--cs-papel); }
.cs-os-form .pz-alta-correo { width: 100%; min-height: 48px; border-color: var(--cs-papel); background: #fff; color: var(--cs-tinta); }
.cs-os-form .pz-alta-correo:focus-visible { outline: 2px solid #fff; outline-offset: 2px; box-shadow: none; }
.cs-os-enviar { grid-column: 1 / -1; justify-content: center; min-height: 52px; }
.cs-os-estado { grid-column: 1 / -1; }
.cs-os-cierre .pz-alta-estado, .cs-os-cierre .pz-alta.success .pz-alta-ok, .cs-os-cierre .pz-alta.error .pz-alta-error { color: var(--cs-papel); }

/* Product images: dashboard + phone composite, phones, door photo. */
.cs-os-compo { position: relative; margin: 0; padding: 0 0 40px; }
.cs-os-compo-panel { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.cs-os-compo-tel { position: absolute; right: -28px; bottom: 0; width: 25%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5)); }
.cs-os-compo-pie { position: absolute; right: 12px; top: 8px; background: var(--cs-tinta); color: var(--cs-papel); }
.cs-os-dinero { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 48px; align-items: start; }
.cs-os-dinero .cs-os-ticket { transform: rotate(-1.5deg); box-shadow: 0 14px 30px rgba(7, 54, 66, 0.25); }
.cs-os-dinero .cs-os-cajas { grid-template-columns: minmax(0, 1fr); }
.cs-os-tel { display: block; justify-self: center; width: 100%; max-width: 340px; height: auto; filter: drop-shadow(0 18px 30px rgba(7, 54, 66, 0.3)); }
.cs-os-mercado-demo { align-items: start; margin-top: 8px; }
.cs-os-demo { display: flex; flex-direction: column; gap: 8px; padding: 24px; border: 1px solid var(--pz-border); border-radius: 14px; background: var(--pz-bg); color: var(--pz-text); box-shadow: var(--shadow); }
.cs-os-demo-cabeza { display: flex; justify-content: space-between; align-items: center; margin: 0 0 8px; font-size: 2rem; }
.cs-os-demo .cs-etiqueta { color: var(--pz-text); }
.cs-os-demo .pz-alta-correo { width: 100%; min-height: 48px; }
.cs-os-demo-boton { justify-content: center; min-height: 52px; margin-top: 8px; }
.cs-os-demo-boton:disabled { opacity: 0.7; cursor: progress; }
.cs-os-demo-cargando { display: none; }
.cs-os-demo.loading .cs-os-demo-texto { display: none; }
.cs-os-demo.loading .cs-os-demo-cargando { display: inline; }
.cs-os-demo-error { min-height: 0; margin: 0; color: var(--pz-error); font-size: 1.5rem; font-weight: 600; }
.cs-os-demo.error .pz-alta-correo:invalid, .cs-os-demo.error .pz-alta-correo[aria-invalid] { border-color: var(--pz-error); }
.cs-os-demo-ofertas { min-height: 180px; margin: 8px 0 0; padding: 0; list-style: none; }
.cs-os-demo-ofertas li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 8px; border-top: 1px solid var(--pz-border); font-size: 1.5rem; animation: cs-os-entra 0.35s var(--pz-ease); }
.cs-os-demo-ofertas li small { display: block; color: var(--pz-muted); font-size: 1.3rem; }
.cs-os-demo-ofertas li > b { font-size: 1.8rem; }
.cs-os-demo-ofertas .cs-os-demo-vacio { display: block; padding: 24px 8px; color: var(--pz-muted); text-align: center; border: 1px dashed var(--pz-border); border-radius: 12px; animation: none; }
.cs-os-demo-mejor { border-radius: 10px; background: color-mix(in srgb, var(--primary) 12%, var(--pz-bg)); }
.cs-os-mesa { padding: 3px 8px; border: 1px solid var(--pz-text); border-radius: 6px; font-size: 1.2rem; }
@keyframes cs-os-entra { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .cs-os-demo-ofertas li { animation: none; } }
.cs-os-foto { position: relative; margin: 0; }
.cs-os-foto-img { display: block; width: 100%; height: auto; border-radius: 14px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4); }
.cs-os-foto figcaption { position: absolute; left: 14px; top: 14px; background: var(--cs-tinta); color: var(--cs-papel); }
.cs-os-puerta { align-items: center; }
.cs-os-compra { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; margin-top: 28px; }
.cs-os-compra p { margin: 0; color: var(--cs-papel); font-size: 1.6rem; line-height: 1.5; }
.cs-os-tel-chico { max-width: 150px; filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.45)); }

.cs-os-captura { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 18px 40px rgba(7, 54, 66, 0.22); }
.cs-os-vend { margin-top: 8px; }
.cs-os-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.cs-os-chips li { padding: 12px 18px; border-radius: 999px; background: var(--cs-tinta); color: var(--cs-papel); font-size: 1.8rem; font-weight: 700; }
.cs-os-chips li:nth-child(3n+2) { background: var(--cs-magenta-hondo); color: #fff; }
.cs-os-investiga { border: 1px solid var(--pz-border); border-radius: 14px; background: var(--pz-surface2); }
.cs-os-investiga > summary { min-height: 64px; padding: 20px 24px; cursor: pointer; color: var(--pz-text); font-size: 2rem; font-weight: 800; }
.cs-os-investiga > summary:hover { background: var(--pz-hover); }
.cs-os-investiga > summary:focus-visible { outline: 2px solid var(--pz-text); outline-offset: 2px; }
.cs-os-investiga[open] { padding-bottom: 16px; }
.cs-os-investiga .pz-h2, .cs-os-investiga .cs-os-texto, .cs-os-investiga .pz-tabla-marco { padding: 0 24px; }
.cs-os-investiga .pz-h2 { margin-top: 24px; }

@media (max-width: 900px) {
    .cs-os-hero-inner, .cs-os-dos { grid-template-columns: minmax(0, 1fr); }
    .cs-os-cajas, .cs-os-tres { grid-template-columns: minmax(0, 1fr); }
    .cs-os-flujo { grid-template-columns: minmax(0, 1fr); }
    .cs-os-flujo li:not(:last-child)::after { content: "↓"; top: auto; right: auto; bottom: -22px; left: 28px; transform: none; }
    .cs-os-ticket, .cs-os-dinero .cs-os-ticket { transform: none; }
    .cs-os-dinero { grid-template-columns: minmax(0, 1fr); }
    .cs-os-compo-tel { right: 0; }
    .cs-os-foto { order: -1; }
    .cs-os-hallazgos thead { display: none; }
    .cs-os-hallazgos tr { display: block; padding: 16px 4px; border-bottom: 1px solid var(--pz-border); }
    .cs-os-hallazgos th, .cs-os-hallazgos td { display: block; width: auto !important; padding: 2px 0; border: 0; }
    .cs-os-hallazgos td:nth-child(2)::before { content: "→ "; font-weight: 700; }
}
@media (max-width: 760px) {
    .cs-os-hero { padding-top: 40px; padding-bottom: 48px; }
    .cs-os-lead { font-size: 1.8rem; }
    .cs-os-cajas li { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .cs-os-cajas .cs-atr-tipo { justify-self: start; }
    .cs-os-form { grid-template-columns: 1fr; }
    .cs-os-planes thead { display: none; }
    .cs-os-planes tr { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 4px; border-bottom: 1px solid var(--pz-border); }
    .cs-os-planes th, .cs-os-planes td { padding: 0; border: 0; }
    .cs-os-planes td:nth-child(3) { grid-column: 1 / -1; }
}

.cs-os-beta { display: inline-block; margin-right: 8px; padding: 2px 10px; border: 1px solid currentColor; border-radius: 999px; font: 700 1.2rem var(--pz-mono); letter-spacing: 0.06em; text-transform: uppercase; }

/* Card Show OS: icons, two-way market, fallas, price card. */
.cs-i { flex: none; width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
.cs-os-cajas .cs-atr-tipo, .cs-os-chips li { display: inline-flex; align-items: center; gap: 8px; }
.cs-os-puntos-i li { display: flex; align-items: center; gap: 12px; padding-left: 0; }
.cs-os-puntos-i li::before { content: none; }
.cs-os-puntos-i .cs-i { width: 22px; height: 22px; }

.cs-os-listas { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0 40px; }
.cs-os-lista-mercado { padding: 22px 24px; border-radius: 14px; background: var(--cs-tinta); color: var(--cs-papel); }
.cs-os-lista-venta { background: var(--cs-magenta-hondo); color: #fff; }
.cs-os-lista-tipo { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 2.2rem; font-weight: 800; }
.cs-os-lista-tipo .cs-i { width: 28px; height: 28px; }
.cs-os-lista-paso { display: flex; align-items: center; gap: 10px; margin: 8px 0 0; font-size: 1.6rem; line-height: 1.4; }
.cs-os-lista-paso b { font-weight: 800; }
.cs-os-lista-paso:not(:has(.cs-i)) { padding-left: 0; }
.cs-os-lista-mesa { display: flex; grid-column: 1 / -1; align-items: center; justify-content: center; gap: 10px; margin: 0; padding: 14px; border: 1px dashed var(--pz-border); border-radius: 14px; color: var(--pz-text); font-size: 1.6rem; font-weight: 700; }
.cs-os-modo { display: flex; gap: 8px; margin: 0 0 16px; padding: 0; border: 0; }
.cs-os-modo label { display: inline-flex; flex: 1; align-items: center; justify-content: center; gap: 8px; min-height: 44px; border: 1px solid var(--pz-border); border-radius: 999px; color: var(--pz-text); font-size: 1.5rem; font-weight: 700; cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.cs-os-modo input { position: absolute; opacity: 0; }
.cs-os-modo label:hover { background: var(--pz-hover); }
.cs-os-modo label:has(input:checked) { border-color: var(--cs-tinta); background: var(--cs-tinta); color: var(--cs-papel); }
.cs-os-modo label:has(input[value="vendo"]:checked) { border-color: var(--cs-magenta-hondo); background: var(--cs-magenta-hondo); color: #fff; }
.cs-os-modo label:has(input:focus-visible) { outline: 2px solid var(--pz-text); outline-offset: 2px; }

.cs-os-fallas { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 0 0 40px; padding: 0; list-style: none; }
.cs-os-fallas li { display: grid; grid-template-columns: 24px minmax(0, 1fr) 20px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--pz-border); font-size: 1.6rem; }
.cs-os-fallas .cs-i { width: 22px; height: 22px; color: var(--cs-magenta-hondo); }
.cs-os-falla { color: var(--pz-muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--pz-muted) 60%, transparent); }
.cs-os-flecha { color: var(--pz-muted); }
.cs-os-sub { margin: 0 0 16px; font-size: 2.2rem; }
.cs-os-chips-claro li { background: var(--card) !important; color: var(--pz-text) !important; font-size: 1.6rem; box-shadow: inset 0 0 0 1px var(--pz-border); }
.cs-os-chips-claro .cs-i { color: var(--cs-magenta-hondo); }
.cs-os-fuentes { margin-top: 24px; color: var(--pz-muted); font-size: 1.4rem; }
.cs-os-fuentes summary { min-height: 44px; padding: 10px 0; cursor: pointer; font-weight: 700; }
.cs-os-fuentes summary:focus-visible { outline: 2px solid var(--pz-text); outline-offset: 2px; }
.cs-os-fuentes ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.cs-os-fuentes li { margin: 0 0 6px; break-inside: avoid; }

.cs-os-precio { align-items: center; }
.cs-os-precio-caja { padding: 32px; border-radius: 14px; background: var(--cs-tinta); color: var(--cs-papel); }
.cs-os-precio-caja .cs-os-beta { color: var(--cs-papel); }
.cs-os-precio-cifra { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin: 16px 0 8px; color: inherit; font-size: 1.8rem; }
.cs-os-precio-cifra .pz-dato { font-size: clamp(5.6rem, 7vw, 8rem); font-weight: 700; line-height: 1; }
.cs-os-precio-cifra small { font-size: 1.8rem; font-weight: 600; }
.cs-os-precio-sub { margin: 0 0 24px; font-size: 1.7rem; }
.cs-os-precio-caja .pz-boton:focus-visible { outline: 2px solid var(--cs-papel); outline-offset: 3px; }
.cs-os-comparo { display: flex; justify-content: space-between; gap: 16px; margin: 20px 0 0; padding: 0 0 10px; border-bottom: 1px solid var(--pz-border); color: var(--pz-muted); font-size: 1.6rem; }
.cs-os-comparo b { color: var(--pz-text); font-size: 2rem; text-decoration: line-through; }
.cs-os-comparo-tu { margin-top: 10px; color: var(--pz-text); font-weight: 700; }
.cs-os-comparo-tu b { color: var(--cs-magenta-hondo); text-decoration: none; }
.cs-os-preguntas { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-items: start; }
.cs-os-preguntas h2 { grid-column: 1 / -1; }
@media (max-width: 900px) {
    .cs-os-listas, .cs-os-fallas, .cs-os-preguntas { grid-template-columns: minmax(0, 1fr); }
    .cs-os-fuentes ol { columns: 1; }
}
@media (max-width: 560px) {
    .cs-os-fallas li { grid-template-columns: 22px minmax(0, 1fr); }
    .cs-os-flecha { display: none; }
    .cs-os-fallas b { grid-column: 2; }
}
