:root {
    --ink: #1c1917;
    --muted: #78716c;
    --line: #e7e5e4;
    --bg: #f6f4f1;
    --sidebar: #f7f6f3;
    --card: #ffffff;
    --accent: #c2410c;
    --accent-dark: #9a3412;
    --live: #15803d;
    --shadow: 0 1px 2px rgba(28, 25, 23, .04);
    --sidebar-w: 248px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--bg);
    font-family: "Outfit", "Source Sans 3", sans-serif;
}

a { color: inherit; }

.admin-shell { display: flex; min-height: 100vh; }

.sidebar {
    width: var(--sidebar-w);
    background: #161311;
    color: #f5f5f4;
    border-right: 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    padding: 20px 14px 14px;
    overflow: auto;
}

.brand { display: flex; gap: 10px; align-items: center; padding: 4px 8px 18px; text-decoration: none; }
.brand strong { font-size: 1.35rem; letter-spacing: -.04em; display: block; line-height: 1; }
.brand small { color: var(--muted); font-size: .72rem; }

.sidebar .brand, .sidebar .brand strong { color: white; }
.sidebar .brand small { color: #a8a29e; }
.serving {
    background: rgba(255,255,255,.06);
    border-radius: 12px;
    padding: 10px 12px;
    margin: 0 4px 14px;
}
.serving span { display: block; font-size: .68rem; letter-spacing: .08em; color: #fdba74; font-weight: 700; }
.serving strong { font-size: .95rem; color: white; }

.nav-label { color: #78716c; font-size: .68rem; letter-spacing: .08em; font-weight: 700; margin: 16px 12px 6px; }
.side-link {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: 10px; text-decoration: none; color: #d6d3d1; font-weight: 550;
}
.side-link i { width: 18px; text-align: center; }
.side-link.active, .side-link:hover { background: rgba(255,255,255,.08); color: white; }
.side-link.active { box-shadow: inset 3px 0 0 var(--accent); }

.sidebar-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.08); }
.who { display: flex; gap: 10px; align-items: center; padding: 8px; }
.who strong { display: block; font-size: .92rem; line-height: 1.2; }
.sidebar .who strong { color: white; }
.sidebar .hint, .sidebar .langs a { color: #a8a29e; }
.sidebar .langs a.active { color: white; }
.sidebar .btn-link { color: #d6d3d1; text-decoration: none; }
.avatar-bubble {
    width: 36px; height: 36px; border-radius: 999px; background: rgba(194, 65, 12, .22); color: #fdba74;
    display: grid; place-items: center; font-weight: 700; flex-shrink: 0;
}
.langs { display: flex; gap: 8px; padding: 4px 8px 8px; font-size: .82rem; }
.langs a { text-decoration: none; color: #a8a29e; }
.langs a.active { color: var(--ink); font-weight: 700; }

.admin-main { flex: 1; padding: 32px 40px 56px; min-width: 0; }
.page-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 22px; }
.page-head h1 { font-size: 1.7rem; font-weight: 650; letter-spacing: -.035em; margin: 0 0 4px; }
.lede { color: var(--muted); margin: 0; }

.card-soft, .metric, .table-card, .room-card {
    background: var(--card); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
}
.metric { padding: 18px 18px 16px; }
.metric b { display: block; font-size: 1.85rem; font-weight: 650; letter-spacing: -.04em; color: var(--ink); line-height: 1.1; }
.metric span, .hint { color: var(--muted); font-size: .85rem; }

.btn-accent { background: var(--accent); color: white; border: 0; border-radius: 999px; padding: 8px 14px; font-weight: 650; }
.btn-accent:hover { background: var(--accent-dark); color: white; }
.btn-ink { background: #1c1917; color: white; border: 0; border-radius: 12px; padding: 10px 14px; font-weight: 650; }
.btn-ghost { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 650; }
.dot { width: 8px; height: 8px; border-radius: 99px; background: #a8a29e; display: inline-block; }
.dot.live { background: var(--live); }
.pill.live { color: var(--live); }
.pill.closed { color: #78716c; }
.pill.warn { color: var(--accent); }

.room-card { padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; text-decoration: none; }
.room-card + .room-card, .stack > * + * { margin-top: 10px; }
.event-block { margin-bottom: 22px; }
.event-block h2 { font-size: 1.05rem; margin: 0 0 8px; }

table.data { width: 100%; border-collapse: collapse; }
.table-card { overflow: hidden; }
table.data th { text-align: left; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); font-weight: 650; padding: 12px 14px; border-bottom: 1px solid var(--line); background: #fafaf9; }
table.data td { padding: 13px 14px; border-bottom: 1px solid #f5f5f4; vertical-align: top; }
table.data tbody tr:hover td { background: #fafaf9; }
table.data tr:last-child td { border-bottom: 0; }
.admin-main .data a { font-weight: 650; text-decoration: none; }
.admin-main .data a:hover { text-decoration: underline; }
.admin-main code { background: #f5f5f4; color: var(--ink); border-radius: 6px; padding: 2px 6px; font-size: .82rem; }
.admin-main .form-label { font-weight: 600; font-size: .88rem; }
.admin-main .form-control, .admin-main .form-select {
    border-radius: 12px; border-color: var(--line); padding: 10px 12px;
}
.admin-main .form-control:focus, .admin-main .form-select:focus {
    border-color: #c4472a; box-shadow: 0 0 0 3px rgba(196, 71, 42, .12);
}
.admin-main .alert { border: 0; border-radius: 14px; }
.btn-ghost:hover { background: #fafaf9; }
.org-card { padding: 18px; margin-bottom: 14px; }
.org-top { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.org-id { display: flex; gap: 12px; align-items: center; min-width: 0; }
.org-mark {
    width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
    display: grid; place-items: center; background: #fff7ed; color: var(--accent); font-weight: 700;
}
.org-top h2 { font-size: 1.05rem; letter-spacing: -.02em; margin: 0; }
.org-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px;
    background: #faf8f6; border-radius: 14px; overflow: hidden;
}
.org-stats div { padding: 12px 14px; min-width: 0; }
.org-stats div + div { border-left: 1px solid #efece8; }
.org-stats b { display: block; font-size: 1.2rem; font-weight: 650; letter-spacing: -.03em; line-height: 1.1; }
.org-stats span { color: var(--muted); font-size: .75rem; }
.org-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.org-fold { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.panel-card { padding: 22px; }
.panel-card h2 { font-size: 1.05rem; letter-spacing: -.02em; margin: 0 0 4px; }
.field-kicker {
    margin: 16px 0 10px; color: var(--muted); font-size: .72rem; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase;
}
.panel-card .field-kicker:first-of-type { margin-top: 18px; }
.panel-card .btn { width: 100%; margin-top: 4px; }
.form-label .hint { margin-left: 6px; font-weight: 500; }

.page-kicker {
    margin: 0 0 6px; color: var(--accent); font-size: .72rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
}
.metric-icon {
    width: 34px; height: 34px; border-radius: 11px; margin-bottom: 16px;
    display: grid; place-items: center; background: #fff7ed; color: var(--accent); font-size: 1rem;
}
.live-card, .event-card { padding: 18px; }
.live-card + .live-card, .event-card + .event-card { margin-top: 12px; }
.live-card-top, .event-card-top { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.live-card h3, .event-name { font-size: 1.15rem; letter-spacing: -.03em; margin: 8px 0 0; font-weight: 650; }
.event-name { display: block; text-decoration: none; }
.event-name:hover { color: var(--accent); }
.event-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
.live-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.section-label { font-size: .95rem; letter-spacing: -.02em; margin: 0 0 12px; }
.chart-head, .chart-axis, .rank-line { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.chart-head h2, .panel-title { font-size: 1rem; letter-spacing: -.02em; margin: 0; }
.chart-total { text-align: right; }
.chart-total strong { display: block; font-size: 1.35rem; letter-spacing: -.03em; line-height: 1; }
.chart-total span { color: var(--muted); font-size: .75rem; }
.chart { width: 100%; height: 210px; }
.chart-axis { margin-top: 2px; color: var(--muted); font-size: .75rem; }
.day-list { margin-top: 14px; }
.day-list summary { cursor: pointer; color: var(--muted); font-size: .82rem; font-weight: 650; }
.day-list table { margin-top: 8px; }
.rank-line span { min-width: 0; }
.rank-line b { font-weight: 650; }
.rank-track { height: 6px; border-radius: 99px; background: #f3f0ec; margin-top: 6px; overflow: hidden; }
.rank-track i { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
table.rank th, table.rank td { background: transparent; }
table.rank td { border-bottom-color: #f3f0ec; }
.filter-bar { padding: 16px 16px 14px; }
.filter-bar .form-label { font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.results-count { margin: -8px 0 14px; }
.person { display: flex; gap: 12px; align-items: center; min-width: 180px; }
.person a { text-decoration: none; }
.person a:hover { color: var(--accent); }
.count-pill {
    display: inline-grid; place-items: center; min-width: 32px; height: 28px; padding: 0 8px;
    border-radius: 999px; background: #faf8f6; font-weight: 650; font-size: .85rem;
}
.empty-state { padding: 28px 20px; color: var(--muted); }
.admin-main .pagination { gap: 4px; margin-bottom: 0; }
.admin-main .page-link { border-radius: 10px; border-color: var(--line); color: var(--ink); margin: 0 2px; }
.admin-main .page-item.active .page-link { background: var(--ink); border-color: var(--ink); }
.admin-main .page-link:hover { background: #faf8f6; color: var(--ink); }

.choice {
    border: 1px solid var(--line); background: white; border-radius: 999px; padding: 8px 14px; margin: 0 8px 8px 0;
}
.choice.active { background: #1e3a8a; color: white; border-color: #1e3a8a; }
.gender-choice { width: 110px; border-radius: 16px; padding: 14px 8px; text-align: center; }
.gender-choice.active { background: #fce7f3; border-color: #ec4899; }

.public-wrap { max-width: 440px; margin: 0 auto; padding: 18px 14px 40px; }
.public-card { background: white; border-radius: 22px; padding: 18px; border: 1px solid var(--line); }
.steps { display: flex; gap: 8px; margin: 12px 0; }
.steps i { height: 4px; border-radius: 99px; background: #e7e5e4; flex: 1; }
.steps i.on { background: #1e3a8a; }
.reg { padding: 28px 0 48px; }
.reg-shell { width: min(980px, calc(100% - 40px)); margin: 0 auto; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 36px; align-items: start; }
.reg-intro h1 { font-size: clamp(1.8rem, 3vw, 2.5rem); letter-spacing: -.04em; line-height: 1.05; margin: 0 0 10px; }
.reg-intro h1 a { text-decoration: none; }
.reg-intro p { color: var(--muted); max-width: 28ch; }
.reg-kicker { margin: 0 0 8px; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.reg-logo { display: block; max-height: 56px; margin-bottom: 16px; }
.reg-card { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 22px 22px 18px; box-shadow: 0 16px 40px rgba(28, 25, 23, .04); }
.reg-progress { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.reg-progress .steps { flex: 1; margin: 0; }
.reg-progress [data-step-count] { color: var(--muted); font-size: .82rem; font-weight: 650; }
.reg .steps i.on { background: var(--accent); }
.reg .form-label { font-weight: 650; }
.reg .form-control, .reg .form-select { min-height: 48px; border-radius: 14px; border-color: var(--line); font-size: 16px; }
.reg .form-control:focus, .reg .form-select:focus { border-color: #c4472a; box-shadow: 0 0 0 3px rgba(196, 71, 42, .12); }
.reg .gender-row, .reg .chip-set { border: 0; padding: 0; margin: 0 0 8px; }
.reg .gender-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.reg .gender-row legend, .reg .chip-set legend { grid-column: 1 / -1; width: 100%; float: none; }
.reg .gender-choice { width: auto; margin: 0; min-height: 48px; display: flex; align-items: center; justify-content: center; }
.reg .gender-choice.active { background: #1c1917; color: white; border-color: #1c1917; }
.reg .chip-set { display: flex; flex-wrap: wrap; gap: 8px; }
.reg .chip-set .choice { margin: 0; min-height: 40px; display: inline-flex; align-items: center; }
.reg .choice.active { background: #1c1917; color: white; border-color: #1c1917; }
.reg .avatar-pick { width: 48px; height: 48px; }
.consent-box { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fafaf9; margin-bottom: 10px; }
.consent-box input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex-shrink: 0; accent-color: #c4472a; }
.consent-box label { font-size: .92rem; }
.reg-actions { display: flex; gap: 8px; margin-top: 8px; }
.reg-actions .btn-ink, .reg-actions .btn-ghost { min-height: 48px; border-radius: 999px; }
.reg-actions .btn-ink { flex: 1; }
.reg-actions .btn-ghost { background: white; }
@media (max-width: 860px) {
    .reg { padding: 12px 0 24px; }
    .reg-shell { width: min(560px, calc(100% - 20px)); grid-template-columns: 1fr; gap: 12px; }
    .reg-intro p { max-width: none; }
    .reg-card { padding: 16px 16px 12px; }
    .reg .gender-row { grid-template-columns: 1fr; }
    .reg-actions { margin-top: 16px; }
}
.avatar-pick { width: 42px; height: 42px; border-radius: 999px; border: 2px solid transparent; display: grid; place-items: center; color: white; }
.avatar-pick.active { outline: 2px solid var(--ink); }

.reg-logo-tile { display: inline-flex; align-items: center; justify-content: center; background: white; border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px; margin-bottom: 18px; box-shadow: 0 10px 30px rgba(28, 25, 23, .05); }
.reg-logo-tile .reg-logo { max-height: 64px; max-width: 200px; width: auto; object-fit: contain; margin: 0; }
.reg-alias .reg-shell { width: min(900px, calc(100% - 40px)); grid-template-columns: 300px minmax(0, 1fr); }
.reg-alias fieldset { border: 0; padding: 0; margin: 0; }
.reg-alias legend { float: none; width: 100%; font-size: 1rem; }
.reg-alias textarea.form-control { min-height: 128px; resize: vertical; }
.now-talk { display: flex; gap: 12px; align-items: center; padding: 12px 14px; margin-bottom: 18px; border-radius: 14px; background: #fff7ed; border: 1px solid #fed7aa; }
.now-talk small { display: block; color: var(--accent); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.now-talk strong { display: block; font-size: .95rem; line-height: 1.3; }
.now-dot { flex: none; width: 10px; height: 10px; border-radius: 99px; background: var(--accent); box-shadow: 0 0 0 4px rgba(194, 65, 12, .15); }
.kind-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.kind-row label { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 76px; padding: 10px 6px; border: 1px solid var(--line); border-radius: 16px; background: white; cursor: pointer; text-align: center; font-size: .88rem; font-weight: 600; line-height: 1.15; transition: border-color .15s, background .15s, color .15s; }
.kind-row label:hover { border-color: #d6d3d1; }
.kind-row label i { font-size: 1.3rem; color: var(--accent); }
.kind-row input { position: absolute; opacity: 0; pointer-events: none; }
.kind-row label:has(input:focus-visible) { outline: 3px solid rgba(194, 65, 12, .35); outline-offset: 2px; }
.kind-row label.on, .kind-row label:has(input:checked) { background: var(--ink); color: white; border-color: var(--ink); }
.kind-row label.on i, .kind-row label:has(input:checked) i { color: #fdba74; }
@media (max-width: 859px) {
    .reg-alias { padding: 0 0 24px; }
    .reg-alias .reg-shell { width: 100%; grid-template-columns: 1fr; gap: 0; }
    .reg-alias .reg-intro { text-align: center; padding: 22px 20px 26px; }
    .reg-alias .reg-intro h1 { font-size: 1.7rem; }
    .reg-alias .reg-intro p:last-child { margin: 0 auto; }
    .reg-alias .reg-logo-tile { margin-bottom: 14px; }
    .reg-alias .reg-card { margin: 0 12px; padding: 18px 16px 16px; }
}
.event-facts { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; color: var(--muted); }
.event-facts li { display: flex; align-items: flex-start; gap: 10px; }
.event-facts i { color: var(--event-accent, var(--accent)); margin-top: 1px; }
.event-facts a { color: var(--ink); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); }
.event-section-title { margin: 0 0 14px; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.room-tiles { display: grid; gap: 10px; }
.room-tile { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: white; color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.room-tile:hover { border-color: #fdba74; box-shadow: 0 10px 24px rgba(28, 25, 23, .06); color: var(--ink); }
.room-tile:active { transform: scale(.99); }
.room-tile.is-live { border-color: #fdba74; background: linear-gradient(180deg, #fffaf5 0%, #fff 70%); }
.room-tile-body { flex: 1; min-width: 0; display: grid; gap: 4px; }
.room-tile-title-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.room-tile-body strong { font-size: 1.05rem; }
.room-tile-live-tag { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #9a3412; background: #ffedd5; padding: 3px 8px; border-radius: 999px; }
.room-tile-now { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .88rem; line-height: 1.35; }
.room-tile-now .now-dot { width: 8px; height: 8px; border-radius: 50%; background: #c2410c; box-shadow: 0 0 0 3px rgba(194, 65, 12, .15); flex: none; }
.room-tile-people { color: var(--ink); font-size: .84rem; opacity: .82; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.room-tile-idle { color: var(--muted); font-size: .88rem; }
.room-tile-go { flex: none; width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center; background: #fff7ed; color: var(--event-accent, var(--accent)); transition: transform .15s; }
.room-tile:hover .room-tile-go { transform: translateX(2px); }
.event-page .reg-actions { margin-top: 16px; }
.event-page .reg-actions .btn-ink { flex: 1; }
.event-secondary { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: #fafaf9; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.event-secondary:hover { color: var(--ink); border-color: #d6d3d1; }
.event-secondary > i:first-child { font-size: 1.2rem; color: var(--accent); }
.event-secondary strong { display: block; font-size: .95rem; }
.event-secondary small { display: block; color: var(--muted); font-size: .8rem; }

/* Vista en vivo del evento */
.event-live-body { min-height: 100vh; background:
    radial-gradient(1200px 480px at 12% -10%, color-mix(in srgb, var(--event-accent, #c2410c) 16%, transparent), transparent 60%),
    radial-gradient(900px 420px at 100% 0%, rgba(28, 25, 23, .05), transparent 55%),
    var(--bg); }
.event-live-body > .langs {
    position: fixed; top: 14px; right: 16px; z-index: 20;
    margin: 0; padding: 6px 8px; gap: 2px;
    background: rgba(255, 255, 255, .86); border: 1px solid var(--line); border-radius: 999px;
    backdrop-filter: blur(8px); box-shadow: 0 8px 24px rgba(28, 25, 23, .06);
}
.event-live-body > .langs a { padding: 4px 8px; border-radius: 999px; font-weight: 650; font-size: .78rem; color: var(--muted); }
.event-live-body > .langs a.active { background: #1c1917; color: #fff; }
.event-live { position: relative; padding: 36px 0 56px; min-height: calc(100vh - 24px); }
.event-live-glow { pointer-events: none; position: absolute; inset: 0; overflow: hidden; }
.event-live-glow::before {
    content: ''; position: absolute; width: 420px; height: 420px; right: -80px; top: 18%;
    border-radius: 50%; background: color-mix(in srgb, var(--event-accent, #c2410c) 10%, transparent);
    filter: blur(40px);
}
.event-live-shell {
    position: relative; z-index: 1;
    width: min(1040px, calc(100% - 40px)); margin: 0 auto;
    display: grid; grid-template-columns: minmax(240px, 320px) minmax(0, 1fr); gap: 28px 40px; align-items: start;
}
.event-live-intro { position: sticky; top: 28px; }
.event-live-intro h1 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); letter-spacing: -.045em; line-height: 1.05; margin: 0 0 10px; color: var(--ink); }
.event-live-intro .reg-kicker { color: var(--event-accent, var(--accent)); }
.event-live-logo { margin-bottom: 18px; }
.event-live-topline { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; min-height: 28px; }
.event-live-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: 999px; background: #1c1917; color: #fff;
    font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.event-live-badge .now-dot { width: 8px; height: 8px; border-radius: 50%; background: #fb7185; box-shadow: 0 0 0 4px rgba(251, 113, 133, .22); animation: event-live-pulse 1.6s ease-in-out infinite; }
.event-live-hello { color: var(--muted); font-size: .9rem; font-weight: 600; }
.event-live-main { display: grid; gap: 16px; }
.event-live-card {
    background: rgba(255, 255, 255, .92); border: 1px solid var(--line); border-radius: 24px;
    padding: 22px; box-shadow: 0 18px 44px rgba(28, 25, 23, .06); backdrop-filter: blur(6px);
}
.event-live-card.soft { background: rgba(255, 255, 255, .72); box-shadow: none; }
.event-live-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.event-live-card-head .event-section-title { margin-bottom: 14px; }
.event-live-chip {
    margin-bottom: 14px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: #9a3412; background: #ffedd5; padding: 5px 10px; border-radius: 999px;
}
.event-live-card .reg-actions { margin-top: 16px; }
.event-live-card .reg-actions .btn-ink { flex: 1; background: var(--event-accent, #1c1917); border-color: transparent; }
.event-live-card .reg-actions .btn-ink:hover { filter: brightness(.95); }
.event-live-agenda { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.event-live-agenda a {
    display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center;
    padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: #fff;
    text-decoration: none; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.event-live-agenda a:hover { border-color: #fdba74; box-shadow: 0 8px 20px rgba(28, 25, 23, .05); }
.event-live-agenda-time { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--event-accent, var(--accent)); font-size: .92rem; }
.event-live-agenda-body { min-width: 0; display: grid; gap: 2px; }
.event-live-agenda-body strong { font-size: .95rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-live-agenda-body small { color: var(--muted); font-size: .78rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-live-agenda i { color: var(--muted); }
.event-live-shortcuts {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px;
}
.event-live-shortcuts a {
    display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px;
    border-radius: 18px; border: 1px solid var(--line); background: rgba(255, 255, 255, .78);
    text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s, background .15s;
}
.event-live-shortcuts a:hover { border-color: #fdba74; background: #fff; transform: translateY(-1px); }
.event-live-shortcuts i { font-size: 1.15rem; color: var(--event-accent, var(--accent)); margin-top: 2px; }
.event-live-shortcuts strong { display: block; font-size: .92rem; }
.event-live-shortcuts small { display: block; color: var(--muted); font-size: .78rem; margin-top: 2px; }
@keyframes event-live-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: .75; }
}
@media (max-width: 860px) {
    .event-live { padding: 18px 0 72px; }
    .event-live-shell { width: min(640px, calc(100% - 24px)); grid-template-columns: 1fr; gap: 18px; }
    .event-live-intro { position: static; text-align: center; }
    .event-live-topline { justify-content: center; }
    .event-live-intro .event-facts li { justify-content: center; }
    .event-live-body > .langs { top: auto; bottom: 14px; right: 50%; transform: translateX(50%); }
}
@media (max-width: 520px) {
    .event-live-agenda a { grid-template-columns: 52px minmax(0, 1fr) auto; padding: 12px; }
    .event-live-shortcuts { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
    .kind-row { gap: 6px; }
    .kind-row label { font-size: .78rem; padding: 10px 4px; }
}

.wall-body {
    --wall-bg: #070a0f; --wall-bg-rgb: 7, 10, 15; --wall-glass: rgba(255, 255, 255, .04); --wall-line: rgba(255, 255, 255, .08);
    --wall-text: #f0f4ff; --wall-muted: #7a8499;
    margin: 0; height: 100vh; overflow: hidden; background: var(--wall-bg); color: var(--wall-text);
    font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased;
}
.wall {
    --accent-rgb: 247, 147, 26; --wall-accent: rgb(var(--accent-rgb));
    --wall-bg: #070a0f; --wall-bg-rgb: 7, 10, 15; --wall-text: #f0f4ff; --wall-muted: #7a8499;
    position: relative; display: grid; grid-template-columns: 380px minmax(0, 1fr); height: 100vh;
    background: var(--wall-bg); color: var(--wall-text);
}
.wall::before {
    content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background:
        radial-gradient(ellipse 60% 50% at 15% 50%, rgba(var(--accent-rgb), .18) 0%, transparent 70%),
        radial-gradient(ellipse 45% 55% at 88% 12%, rgba(var(--accent-rgb), .1) 0%, transparent 62%),
        radial-gradient(ellipse 40% 60% at 85% 80%, rgba(var(--wall-bg-rgb), .35) 0%, transparent 60%);
}
.wall > * { position: relative; z-index: 1; }
.wall-side { display: flex; flex-direction: column; gap: 22px; padding: 32px 28px 28px; border-right: 1px solid var(--wall-line); background: rgba(var(--wall-bg-rgb), .72); overflow: hidden; }
.wall-brand { display: flex; align-items: center; gap: 12px; min-height: 40px; }
.wall-logo { display: flex; align-items: center; justify-content: center; background: white; border-radius: 12px; padding: 8px 12px; max-width: 100%; }
.wall-logo img { display: block; max-height: 48px; max-width: 220px; object-fit: contain; }
.wall-logo.is-transparent { background: transparent; padding: 0; justify-content: flex-start; }
.wall-logo.is-transparent img { max-height: 72px; max-width: 280px; }
.wall-mark { width: 32px; height: 32px; flex: none; border-radius: 8px; background: var(--wall-accent); color: #000; display: grid; place-items: center; font-weight: 900; font-size: 14px; }
.wall-event { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wall-muted); }
.wall-now { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 5px 14px; border-radius: 20px; background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .3); }
.wall-now span:last-child { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wall-accent); }
.wall-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wall-accent); animation: wall-pulse-dot 1.6s ease-in-out infinite; }
.wall-title { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.28; letter-spacing: -.02em; color: var(--wall-text); }
.wall-mode-copy { margin: 0; color: var(--wall-muted); font-size: 14px; line-height: 1.45; max-width: 28ch; }
.wall-mode-speakers .wall-main { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; min-height: 0; }
.wall-ribbon {
    position: relative; display: grid; align-items: center; min-height: 0; overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.wall-reactions {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
    padding: 8px 4px 4px;
}
.wall-reaction {
    display: grid; justify-items: center; gap: 6px; padding: 18px 12px 14px;
    border-radius: 22px; background: var(--wall-glass); border: 1px solid var(--wall-line);
    text-align: center;
}
.wall-reaction-emoji { font-size: clamp(28px, 3vw, 42px); line-height: 1; }
.wall-reaction-count {
    font-size: clamp(28px, 3.2vw, 44px); font-weight: 800; letter-spacing: -.03em;
    color: var(--wall-text); line-height: 1;
}
.wall-reaction small {
    font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--wall-muted);
}
.reaction-row {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
}
.reaction-row form { margin: 0; min-width: 0; }
.reaction-btn {
    width: 100%; display: grid; justify-items: center; gap: 4px; min-height: 92px;
    padding: 12px 6px; border: 1px solid var(--line); border-radius: 16px; background: white;
    cursor: pointer; transition: border-color .15s, background .15s, color .15s, transform .12s;
}
.reaction-btn:hover { border-color: #d6d3d1; transform: translateY(-1px); }
.reaction-btn.on {
    background: var(--ink); color: white; border-color: var(--ink);
}
.reaction-emoji { font-size: 1.55rem; line-height: 1; }
.reaction-label { font-size: .78rem; font-weight: 650; line-height: 1.15; }
.reaction-count { font-size: .95rem; font-weight: 800; color: var(--accent); }
.reaction-btn.on .reaction-count { color: #fdba74; }
@media (max-width: 520px) {
    .reaction-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wall-reactions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.wall-ribbon-track {
    display: flex; gap: 18px; width: max-content; align-items: stretch;
    animation: wall-ribbon-scroll 42s linear infinite; padding: 18px 0;
}
.wall-ribbon:hover .wall-ribbon-track { animation-play-state: paused; }
.wall-ribbon-card {
    flex: 0 0 280px; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center;
    padding: 22px 20px; border-radius: 22px; background: var(--wall-glass); border: 1px solid var(--wall-line);
    position: relative;
}
.wall-ribbon-card.is-current {
    border-color: rgba(var(--accent-rgb), .45);
    background: rgba(var(--accent-rgb), .08);
    box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .12);
}
.wall-ribbon-avatar {
    width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center;
    font-size: 24px; font-weight: 800; color: var(--wall-accent);
    background: linear-gradient(135deg, rgba(var(--accent-rgb), .2), rgba(var(--accent-rgb), .05));
    border: 1px solid rgba(var(--accent-rgb), .28);
}
.wall-ribbon-body { min-width: 0; display: grid; gap: 4px; }
.wall-ribbon-body strong {
    font-size: clamp(18px, 1.5vw, 26px); font-weight: 800; line-height: 1.15; color: var(--wall-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.wall-ribbon-body small { color: var(--wall-muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wall-ribbon-tag {
    position: absolute; top: 12px; right: 12px; padding: 3px 8px; border-radius: 999px;
    font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
    color: var(--wall-accent); background: rgba(var(--accent-rgb), .14); border: 1px solid rgba(var(--accent-rgb), .28);
}
@keyframes wall-ribbon-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.wall-divider { height: 1px; flex: none; background: linear-gradient(90deg, rgba(var(--accent-rgb), .35), transparent); }
.wall-label { margin: 0 0 10px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wall-muted); }
.wall-people { display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow: hidden; }
.wall-person { display: flex; align-items: center; gap: 12px; }
.wall-avatar { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: var(--wall-accent); background: linear-gradient(135deg, rgba(var(--accent-rgb), .15), rgba(59, 130, 246, .15)); border: 1.5px solid var(--wall-line); }
.wall-person-info { display: flex; flex-direction: column; min-width: 0; }
.wall-person-info strong { font-size: 13px; font-weight: 600; line-height: 1.3; }
.wall-person-info small { font-size: 11px; color: var(--wall-muted); }
.wall-chip { margin-left: auto; white-space: nowrap; padding: 2px 8px; border-radius: 10px; font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #93c5fd; background: rgba(59, 130, 246, .12); border: 1px solid rgba(59, 130, 246, .25); }
.wall-qr { margin-top: auto; display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: 20px; background: var(--wall-glass); border: 1px solid var(--wall-line); }
.wall-qr-img { flex: none; background: white; border-radius: 12px; padding: 8px; }
.wall-qr-img img { display: block; width: 116px; height: 116px; }
.wall-qr p { margin: 0 0 10px; font-size: 13px; font-weight: 700; line-height: 1.4; color: white; }
.wall-qr p span { color: var(--wall-accent); }
.wall-code { display: inline-block; padding: 8px 14px; border-radius: 10px; background: rgba(var(--accent-rgb), .1); border: 1px solid rgba(var(--accent-rgb), .25); }
.wall-code small { display: block; margin-bottom: 2px; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--wall-muted); }
.wall-code strong { font-size: 22px; font-weight: 900; letter-spacing: .12em; color: var(--wall-accent); }

.wall-main { display: flex; flex-direction: column; gap: 20px; min-height: 0; padding: 32px 36px 24px; overflow: hidden; }
.wall-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wall-head h2 { margin: 4px 0 0; font-size: 28px; font-weight: 800; letter-spacing: -.02em; color: white; }
.wall-head h2 span { color: var(--wall-accent); }
.wall-switch { display: flex; gap: 8px; }
.wall-switch a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; border-radius: 20px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--wall-muted); background: var(--wall-glass); border: 1px solid var(--wall-line); }
.wall-switch a.on { color: #fca5a5; background: rgba(239, 68, 68, .1); border-color: rgba(239, 68, 68, .25); }
.wall-switch a.on.top { color: var(--wall-accent); background: rgba(var(--accent-rgb), .12); border-color: rgba(var(--accent-rgb), .3); }
.wall-live-dot { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; box-shadow: 0 0 10px rgba(239, 68, 68, .6); animation: wall-pulse-live 1.2s ease-in-out infinite; }
.wall-stats { display: flex; gap: 12px; flex-wrap: wrap; }
.wall-stat { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 14px; background: var(--wall-glass); border: 1px solid var(--wall-line); }
.wall-stat i { font-size: 18px; color: var(--wall-accent); }
.wall-stat b { display: block; font-size: 22px; font-weight: 800; line-height: 1.1; color: white; }
.wall-stat small { font-size: 10px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--wall-muted); }
.wall-list { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 14px; overflow-y: auto; padding-right: 4px; }
.wall-list::-webkit-scrollbar { width: 4px; }
.wall-list::-webkit-scrollbar-thumb { background: var(--wall-line); border-radius: 2px; }
.wall-card { position: relative; display: flex; align-items: flex-start; gap: 18px; padding: 22px 24px; border-radius: 18px; background: var(--wall-glass); border: 1px solid var(--wall-line); }
.wall-card.is-top, .wall-card.is-featured { background: rgba(var(--accent-rgb), .04); border-color: rgba(var(--accent-rgb), .35); }
.wall-card.is-featured { padding: 28px 30px; }
.wall-badge { position: absolute; top: 14px; right: 16px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 8px; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--wall-accent); background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .25); }
.wall-votes { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 48px; flex: none; }
.wall-votes span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; font-size: 15px; color: var(--wall-accent); background: rgba(var(--accent-rgb), .12); border: 1px solid rgba(var(--accent-rgb), .25); }
.wall-votes b { font-size: 20px; font-weight: 800; color: var(--wall-accent); }
.wall-q { flex: 1; min-width: 0; }
.wall-card.is-top .wall-q, .wall-card.is-featured .wall-q { padding-right: 96px; }
.wall-q-text { margin: 0 0 12px; font-size: clamp(18px, 1.45vw, 26px); font-weight: 500; line-height: 1.5; color: var(--wall-text); }
.wall-card.is-featured .wall-q-text { font-size: clamp(22px, 1.9vw, 34px); font-weight: 600; line-height: 1.35; }
.wall-q-original { margin: -6px 0 12px; font-size: 14px; color: var(--wall-muted); }
.wall-answer { margin: 0 0 14px; padding: 4px 0 4px 14px; border-left: 3px solid var(--wall-accent); font-size: clamp(15px, 1.1vw, 19px); line-height: 1.5; color: #d7dceb; }
.wall-answer b { color: var(--wall-accent); font-weight: 700; }
.wall-meta { display: flex; align-items: center; gap: 10px; }
.wall-meta .wall-avatar { width: 26px; height: 26px; font-size: 10px; border-width: 1px; }
.wall-meta span { font-size: 13px; font-weight: 500; color: var(--wall-muted); }
.wall-meta time { margin-left: auto; font-size: 12px; color: var(--wall-muted); }
.wall-empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.wall-empty i { font-size: 56px; color: var(--wall-muted); opacity: .4; }
.wall-empty strong { font-size: 22px; font-weight: 700; color: var(--wall-muted); }
.wall-empty span { max-width: 340px; font-size: 15px; color: #4a5568; }
.wall-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--wall-line); font-size: 12px; color: var(--wall-muted); }
.wall-foot b { color: var(--wall-accent); font-weight: 600; }
.wall-foot .wall-session { display: inline-flex; align-items: center; gap: 6px; }
.wall-foot .wall-session i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.wall-foot .wall-session.idle i { background: var(--wall-muted); }
@keyframes wall-pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.75); } }
@keyframes wall-pulse-live { 0%, 100% { box-shadow: 0 0 6px rgba(239, 68, 68, .5); } 50% { box-shadow: 0 0 16px rgba(239, 68, 68, .9); } }
@media (prefers-reduced-motion: reduce) { .wall-dot, .wall-live-dot { animation: none; } }
@media (max-width: 1000px) {
    .wall-body { height: auto; overflow: auto; }
    .wall { grid-template-columns: 1fr; height: auto; }
    .wall-side { border-right: 0; border-bottom: 1px solid var(--wall-line); }
    .wall-main { overflow: visible; }
    .wall-card.is-top .wall-q, .wall-card.is-featured .wall-q { padding-right: 0; padding-top: 18px; }
}

.projection { background: #07080b; color: white; min-height: 100vh; display: grid; grid-template-columns: 340px 1fr; }
.projection-side { padding: 28px; }
.projection-main { padding: 28px 32px; }
.now { color: #f5c16c; letter-spacing: .14em; font-size: .8rem; font-weight: 700; }
.qr-box { background: white; border-radius: 16px; padding: 10px; width: 220px; }
.live-banner { background: #1c1d22; border-radius: 22px; padding: 22px 24px; font-size: 1.8rem; font-weight: 700; }
.view-switch { position: fixed; right: 22px; bottom: 22px; display: flex; gap: 8px; z-index: 5; }
.view-switch a { display: inline-flex; align-items: center; gap: 8px; color: #d6d3d1; background: #222; border-radius: 999px; padding: 8px 14px; text-decoration: none; font-size: .92rem; font-weight: 650; }
.view-switch a.on { background: white; color: black; }
.live-beat { width: 9px; height: 9px; border-radius: 99px; background: #ef4444; box-shadow: 0 0 0 0 rgba(239, 68, 68, .7); animation: live-beat 1.3s ease-in-out infinite; }
@keyframes live-beat {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, .55); }
    18% { transform: scale(1.35); box-shadow: 0 0 0 0 rgba(239, 68, 68, .45); }
    32% { transform: scale(1); }
    48% { transform: scale(1.2); box-shadow: 0 0 0 7px rgba(239, 68, 68, 0); }
    64% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .live-beat { animation: none; }
}

.hero { padding: 72px 8vw; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); letter-spacing: -.04em; max-width: 14ch; }
.menu-toggle { display: none; }

.site-nav {
    position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px); border-bottom: 1px solid #eee;
}
.site-nav .brand { padding: 0; color: #1c1917; flex-shrink: 0; }
.site-nav .brand small { color: #78716c; white-space: nowrap; }
.site-nav .langs, .login-panel .langs { padding: 0; flex-wrap: nowrap; }
.site-nav .langs a, .login-panel .langs a { white-space: nowrap; }
.nav-links { display: flex; gap: 22px; align-items: center; flex-shrink: 0; }
.btn-code, .btn-access { white-space: nowrap; flex-shrink: 0; }
.nav-links a { text-decoration: none; color: #44403c; font-weight: 550; }
.btn-access { border: 1px solid #e7e5e4; background: white; border-radius: 999px; padding: 8px 14px; text-decoration: none; font-weight: 650; }
.btn-code { background: #1c1917; color: white; border-radius: 999px; padding: 8px 14px; text-decoration: none; font-weight: 650; }
.site { color: var(--ink); }
.site-section { padding: 76px 0; }
.site-kicker { margin: 0 0 12px; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.site h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); letter-spacing: -.035em; line-height: 1.12; margin: 0 0 12px; }
.site-hero { padding: 64px 0 28px; }
.site-hero-grid, .site-split { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.site-hero h1 { font-size: clamp(2.5rem, 4.6vw, 4.15rem); letter-spacing: -.045em; line-height: 1.02; max-width: 14ch; margin: 0; }
.site-hero .lede { font-size: 1.12rem; max-width: 42ch; margin-top: 18px; }
.site-lead { max-width: 62ch; }
.site-foot strong { color: var(--ink); }
.code-band .btn { padding: 12px 16px; }
.site-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.site-actions .btn { padding: 12px 18px; }
.band { background: #faf8f6; }
.step-card, .info-card, .lang-card, .program-card, .stage, .mod-panel {
    background: white; border: 1px solid var(--line); border-radius: 20px;
}
.step-card, .info-card { padding: 22px 22px 20px; height: 100%; }
.step-no { width: 36px; height: 36px; border-radius: 999px; background: #fff7ed; color: var(--accent); display: grid; place-items: center; font-weight: 700; margin-bottom: 16px; }
.step-card h3, .info-card h3 { font-size: 1.12rem; letter-spacing: -.02em; margin: 0 0 8px; }
.step-card p, .info-card p { color: var(--muted); margin: 0; }
.stage { padding: 18px; box-shadow: 0 24px 50px rgba(28, 25, 23, .08); }
.stage-screen { background: #14120f; color: white; border-radius: 16px; padding: 22px 20px 18px; }
.stage-live { color: #f5c16c; letter-spacing: .14em; font-size: .72rem; font-weight: 700; }
.stage-q { font-size: 1.35rem; font-weight: 650; letter-spacing: -.03em; line-height: 1.2; margin: 14px 0 10px; }
.stage-meta { color: #a8a29e; font-size: .85rem; }
.stage-list { margin-top: 12px; display: grid; gap: 8px; }
.stage-list div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #fafaf9; font-weight: 600; }
.stage-list b { color: var(--accent); }
.mod-panel { padding: 8px; }
.mod-row { display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center; padding: 12px; border-radius: 14px; }
.mod-row + .mod-row { border-top: 1px solid #f5f5f4; }
.mod-row b { font-size: 1.05rem; }
.mod-row span { color: var(--muted); font-size: .82rem; }
.key { border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 8px; padding: 2px 7px; font-size: .75rem; font-weight: 700; background: #fafaf9; }
.code-band { background: #1c1917; color: white; border-radius: 28px; padding: 36px 32px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: center; }
.code-band h2, .code-band p { color: white; }
.code-band .lede { color: #d6d3d1; }
.code-band .form-control { border: 0; border-radius: 999px; padding: 12px 16px; }
.lang-card { display: block; padding: 18px; text-decoration: none; height: 100%; }
.lang-card:hover { border-color: #d6d3d1; }
.lang-card small { color: var(--accent); font-weight: 700; letter-spacing: .08em; }
.lang-card strong { display: block; margin: 8px 0 4px; font-size: 1.05rem; }
.lang-card span { color: var(--muted); }
.program-card { display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; padding: 20px; text-decoration: none; height: 100%; }
.program-card:hover { border-color: #d6d3d1; }
.program-card strong { font-size: 1.15rem; letter-spacing: -.02em; }
.program-card span { color: var(--muted); font-size: .9rem; }
.close-panel { border: 1px solid var(--line); border-radius: 28px; padding: 36px 32px; display: flex; justify-content: space-between; gap: 24px; align-items: center; background: white; }
.site-foot { border-top: 1px solid var(--line); padding: 28px 0 36px; color: var(--muted); font-size: .9rem; }
.site-foot a { color: var(--ink); font-weight: 650; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.login-split { min-height: 100vh; display: grid; grid-template-columns: 1.05fr .95fr; background: white; }
.login-story { background: #c4472a; color: white; padding: 28px 40px 32px; display: flex; flex-direction: column; min-height: 100vh; }
.login-story h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); letter-spacing: -.04em; line-height: 1.02; max-width: 12ch; margin-top: 18vh; }
.login-story .brand, .login-story .brand small, .login-story .brand strong { color: white; }
.login-mock { margin-top: auto; width: min(420px, 100%); background: #111; border-radius: 18px; padding: 16px; transform: rotate(-6deg); box-shadow: 0 18px 40px rgba(0,0,0,.25); }
.login-panel { padding: 28px 8vw; display: flex; flex-direction: column; }
.login-panel h1 { letter-spacing: -.03em; }
.login-form { max-width: 420px; margin: auto 0; }
.field-line { border: 0; border-bottom: 1px solid #e7e5e4; border-radius: 0; padding-left: 0; }
.field-line:focus { box-shadow: none; border-color: #c4472a; }
.system-alert { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 18px; border: 1px solid #fed7aa; border-radius: 16px; background: #fff7ed; }
.system-alert > i { flex: none; font-size: 1.3rem; color: var(--accent); }
.system-alert div { flex: 1; min-width: 0; }
.system-alert strong { display: block; }
.system-alert span { color: var(--muted); font-size: .88rem; }
.system-alert form { flex: none; }
@media (max-width: 680px) { .system-alert { flex-wrap: wrap; } .system-alert form { width: 100%; } .system-alert .btn-ink { width: 100%; } }
.password-field { position: relative; }
.password-field .field-line { padding-right: 36px; }
.password-toggle {
    position: absolute; right: 0; top: 50%; transform: translateY(-50%);
    border: 0; background: transparent; color: #78716c; padding: 4px 2px; line-height: 1;
}
.password-toggle:hover, .password-toggle[aria-pressed="true"] { color: #1c1917; }

@media (max-width: 900px) {
    .nav-links { display: none; }
    .site-hero-grid, .site-split, .code-band, .close-panel { grid-template-columns: 1fr; display: grid; }
    .close-panel { align-items: flex-start; }
    .site-section { padding: 52px 0; }
}
@media (max-width: 680px) {
    .login-split { grid-template-columns: 1fr; }
    .login-story { min-height: auto; padding-bottom: 48px; }
    .login-story h1 { margin-top: 28px; }
    .login-mock { transform: none; }
    .live-card-top, .event-card-top { flex-direction: column; }
    .live-actions { justify-content: flex-start; }
    .org-stats { grid-template-columns: 1fr; }
    .org-stats div + div { border-left: 0; border-top: 1px solid #efece8; }
}

@media (max-width: 900px) {
    .sidebar { position: fixed; z-index: 20; transform: translateX(-105%); transition: .2s ease; }
    .sidebar.open { transform: none; box-shadow: 18px 0 40px rgba(0,0,0,.22); }
    .admin-main { padding: 18px; }
    .menu-toggle { display: inline-flex; }
    .projection { grid-template-columns: 1fr; }
    .page-head { flex-direction: column; }
}

/* ==========================================================================
   Panel de administración · sistema visual v2
   Tokens, navegación, encabezados, tarjetas, tablas, pestañas y formularios.
   ========================================================================== */
:root {
    --ink-2: #44403c;
    --surface-2: #faf9f7;
    --line-2: #efece8;
    --accent-soft: #fff4ec;
    --accent-ring: rgba(194, 65, 12, .16);
    --radius: 14px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(28, 25, 23, .04), 0 1px 3px rgba(28, 25, 23, .04);
    --shadow-md: 0 4px 16px -4px rgba(28, 25, 23, .08), 0 2px 4px rgba(28, 25, 23, .03);
    --sidebar-w: 260px;
    --topbar-h: 60px;
}

.admin-body { background: var(--bg); -webkit-font-smoothing: antialiased; }
.admin-shell { align-items: stretch; }
.admin-content { flex: 1; min-width: 0; display: flex; flex-direction: column; }

/* ---------- Sidebar ---------- */
.sidebar { width: var(--sidebar-w); flex-shrink: 0; padding: 18px 14px 14px; background: #15120f; gap: 4px; scrollbar-width: thin; scrollbar-color: #3a3430 transparent; }
.sidebar-top { display: flex; align-items: center; justify-content: space-between; }
.sidebar .brand { padding: 2px 6px 16px; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: white; background: linear-gradient(140deg, #ea580c, #9a3412); box-shadow: 0 4px 14px -4px rgba(234, 88, 12, .6); }
.sidebar .brand strong { font-size: 1.25rem; letter-spacing: -.03em; }
.sidebar-close { display: none; border: 0; background: transparent; color: #a8a29e; font-size: 1rem; padding: 6px; }

.serving { display: flex; align-items: center; gap: 10px; margin: 0 2px 10px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .06); }
.serving > div { min-width: 0; flex: 1; }
.serving small { display: block; font-size: .62rem; letter-spacing: .1em; color: #fdba74; font-weight: 700; }
.serving strong { display: block; font-size: .9rem; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.org-badge { width: 32px; height: 32px; flex: none; border-radius: 9px; display: grid; place-items: center; background: rgba(234, 88, 12, .18); color: #fdba74; font-weight: 700; font-size: .9rem; }
.serving-switch { color: #a8a29e; padding: 4px 6px; border-radius: 8px; text-decoration: none; }
.serving-switch:hover { color: white; background: rgba(255, 255, 255, .08); }

.side-nav { display: flex; flex-direction: column; gap: 2px; }
.nav-label { color: #8a817a; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; margin: 14px 12px 6px; }
.side-link { position: relative; padding: 9px 12px; border-radius: 10px; color: #cfc9c4; font-weight: 500; font-size: .95rem; transition: background .15s, color .15s; }
.side-link i { font-size: 1.05rem; width: 20px; color: #9c938c; transition: color .15s; }
.side-link:hover { background: rgba(255, 255, 255, .06); color: white; }
.side-link:hover i { color: #e7e5e4; }
.side-link.active { background: rgba(234, 88, 12, .14); color: white; box-shadow: none; }
.side-link.active i { color: #fb923c; }
.side-link.active::before { content: ''; position: absolute; left: -14px; top: 8px; bottom: 8px; width: 3px; border-radius: 0 3px 3px 0; background: #f97316; }

.sidebar-foot { padding-top: 10px; }
.who { padding: 8px 6px; }
.who-text { min-width: 0; }
.who-text strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar .hint { font-size: .78rem; }
.avatar-bubble { width: 34px; height: 34px; font-size: .82rem; background: linear-gradient(140deg, rgba(234, 88, 12, .35), rgba(154, 52, 18, .35)); }
.icon-btn { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 9px; background: transparent; color: #a8a29e; font-size: 1.05rem; transition: background .15s, color .15s; }
.icon-btn:hover { background: rgba(255, 255, 255, .08); color: white; }
.foot-links { padding: 0 6px 6px; }
.foot-links a { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: #a8a29e; text-decoration: none; }
.foot-links a:hover { color: white; }
.sidebar .langs { padding: 6px 6px 2px; gap: 4px; }
.sidebar .langs a { padding: 2px 7px; border-radius: 6px; font-size: .75rem; }
.sidebar .langs a.active { background: rgba(255, 255, 255, .1); color: white; }
.sidebar-backdrop { display: none; }

/* ---------- Topbar ---------- */
.admin-topbar { position: sticky; top: 0; z-index: 15; height: var(--topbar-h); display: flex; align-items: center; gap: 14px; padding: 0 40px; background: rgba(246, 244, 241, .86); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.admin-topbar .menu-toggle { display: none; color: var(--ink); background: white; border: 1px solid var(--line); }
.crumbs { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: .88rem; color: var(--muted); }
.crumbs i { font-size: .65rem; opacity: .7; }
.crumbs a { color: var(--muted); text-decoration: none; white-space: nowrap; }
.crumbs a:hover { color: var(--ink); }
.crumb-org { white-space: nowrap; }
.crumb-current { color: var(--ink); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.topbar-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: .85rem; font-weight: 500; color: var(--ink-2); text-decoration: none; border: 1px solid transparent; }
.topbar-link:hover { background: white; border-color: var(--line); color: var(--ink); }

/* ---------- Contenido ---------- */
.admin-main { padding: 28px 40px 64px; max-width: 1360px; width: 100%; }
.page-head { align-items: flex-end; margin-bottom: 24px; flex-wrap: wrap; }
.page-head > div:first-child { min-width: 0; }
.page-head h1 { font-size: 1.75rem; font-weight: 650; }
.page-head .lede { font-size: .95rem; }
.page-kicker { font-size: .7rem; letter-spacing: .12em; margin-bottom: 6px; }
.page-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.page-meta { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; margin-top: 8px; }
.meta-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: white; border: 1px solid var(--line); color: var(--ink-2); font-size: .8rem; font-weight: 500; }
.meta-chip i { color: var(--muted); }
.meta-chip.mono { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .76rem; }
.back-link { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; font-size: .85rem; font-weight: 500; color: var(--muted); text-decoration: none; }
.back-link:hover { color: var(--accent); }

.status-badge { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: .8rem; font-weight: 650; background: #f5f5f4; color: var(--ink-2); border: 1px solid var(--line); }
.status-badge.live { background: #f0fdf4; color: var(--live); border-color: #bbf7d0; }
.status-badge.draft { background: var(--accent-soft); color: var(--accent); border-color: #fed7aa; }
.status-badge .dot.live { box-shadow: 0 0 0 3px rgba(21, 128, 61, .15); animation: soft-pulse 2s ease-in-out infinite; }
@keyframes soft-pulse { 50% { box-shadow: 0 0 0 6px rgba(21, 128, 61, 0); } }
@media (prefers-reduced-motion: reduce) { .status-badge .dot.live { animation: none; } }

.card-soft, .metric, .table-card, .room-card { border-radius: var(--radius); border-color: var(--line); box-shadow: var(--shadow); }
.card-soft h2.h5, .table-card h2.h5, .panel-title, .chart-head h2 { font-size: 1rem; font-weight: 650; letter-spacing: -.015em; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-head h2 { margin: 0; font-size: 1rem; font-weight: 650; letter-spacing: -.015em; }
.section-label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; display: flex; align-items: center; gap: 8px; }
h2.h5.section-title { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Métricas */
.metric { position: relative; padding: 18px; transition: box-shadow .15s, transform .15s; height: 100%; }
.metric:hover { box-shadow: var(--shadow-md); }
.metric b { font-size: 1.9rem; }
.metric span { font-size: .84rem; }
.metric-icon { width: 36px; height: 36px; border-radius: 10px; margin-bottom: 14px; background: var(--accent-soft); }
.metric-icon.green { background: #f0fdf4; color: var(--live); }
.metric-icon.blue { background: #eff6ff; color: #1d4ed8; }
.metric-icon.violet { background: #f5f3ff; color: #6d28d9; }
.metric.compact { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.metric.compact .metric-icon { margin: 0; }
.metric.compact b { font-size: 1.4rem; }

/* Botones */
.btn { --bs-btn-font-weight: 600; }
.btn-accent, .btn-ink, .btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 16px; border-radius: var(--radius-sm); font-weight: 600; font-size: .92rem; text-decoration: none; transition: background .15s, border-color .15s, box-shadow .15s, color .15s; }
.btn-accent { background: var(--accent); color: white; box-shadow: 0 1px 2px rgba(154, 52, 18, .25), inset 0 1px 0 rgba(255, 255, 255, .12); }
.btn-accent:hover, .btn-accent:focus-visible { background: var(--accent-dark); color: white; }
.btn-ink { background: var(--ink); color: white; }
.btn-ink:hover, .btn-ink:focus-visible { background: #000; color: white; }
.btn-ghost { background: white; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: var(--surface-2); border-color: #d6d3d1; color: var(--ink); }
.btn-accent.btn-sm, .btn-ink.btn-sm, .btn-ghost.btn-sm { min-height: 32px; padding: 5px 12px; font-size: .84rem; border-radius: 8px; }
.btn-danger-soft { color: #b91c1c; }
.btn-danger-soft:hover { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.btn:focus-visible { box-shadow: 0 0 0 3px var(--accent-ring); }

/* Pestañas (nav-tabs y nav-pills de Bootstrap dentro del panel) */
.admin-main .nav-tabs { gap: 2px; border-bottom: 1px solid var(--line); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.admin-main .nav-tabs::-webkit-scrollbar { display: none; }
.admin-main .nav-tabs .nav-link { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; border: 0; border-bottom: 2px solid transparent; border-radius: 0; margin-bottom: -1px; padding: 10px 14px; color: var(--muted); font-weight: 550; font-size: .92rem; background: transparent; }
.admin-main .nav-tabs .nav-link:hover { color: var(--ink); border-bottom-color: #d6d3d1; }
.admin-main .nav-tabs .nav-link.active { color: var(--ink); border-bottom-color: var(--accent); background: transparent; }
.admin-main .nav-tabs .nav-link.active i { color: var(--accent); }
.admin-main .nav-pills { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: white; border: 1px solid var(--line); box-shadow: var(--shadow); }
.admin-main .nav-pills .nav-link { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 9px; color: var(--ink-2); font-weight: 550; font-size: .9rem; }
.admin-main .nav-pills .nav-link:hover { background: var(--surface-2); color: var(--ink); }
.admin-main .nav-pills .nav-link.active { background: var(--ink); color: white; }
.admin-main .nav-pills .badge { font-weight: 650; border-radius: 999px; background: #f5f5f4 !important; color: var(--ink-2) !important; }
.admin-main .nav-pills .nav-link.active .badge { background: rgba(255, 255, 255, .18) !important; color: white !important; }

/* Badges suaves */
.admin-main .badge { font-weight: 600; letter-spacing: .01em; border-radius: 999px; padding: .38em .7em; }
.admin-main .badge.text-bg-secondary { background: #f5f5f4 !important; color: var(--ink-2) !important; }
.admin-main .badge.text-bg-warning { background: #fef3c7 !important; color: #92400e !important; }
.admin-main .badge.text-bg-success { background: #dcfce7 !important; color: #166534 !important; }
.admin-main .badge.text-bg-danger { background: #fee2e2 !important; color: #991b1b !important; }
.admin-main .badge.text-bg-light { background: #f5f5f4 !important; color: var(--ink-2) !important; }

/* Tablas */
.table-card { overflow: auto; }
table.data th { font-size: .7rem; letter-spacing: .06em; padding: 11px 16px; background: var(--surface-2); }
table.data td { padding: 13px 16px; border-bottom-color: var(--line-2); vertical-align: middle; }
table.data tbody th { font-weight: 600; font-size: .88rem; padding: 13px 16px; border-bottom: 1px solid var(--line-2); background: transparent; }
table.data tbody tr { transition: background .1s; }

/* Formularios */
.admin-main .form-label { color: var(--ink-2); margin-bottom: 6px; }
.admin-main .form-control, .admin-main .form-select { border-radius: var(--radius-sm); min-height: 42px; padding: 9px 12px; font-size: .94rem; background-color: white; }
.admin-main .form-control::placeholder { color: #a8a29e; }
.admin-main .form-control:focus, .admin-main .form-select:focus { border-color: #ea580c; box-shadow: 0 0 0 3px var(--accent-ring); }
.admin-main .form-check-input:checked { background-color: var(--accent); border-color: var(--accent); }
.admin-main .form-check-input:focus { box-shadow: 0 0 0 3px var(--accent-ring); border-color: #ea580c; }
.admin-main .form-switch .form-check-input { width: 2.4em; height: 1.3em; }
.admin-main .alert { display: flex; border-radius: 12px; padding: 12px 16px; font-weight: 500; font-size: .93rem; }
.admin-main .alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.admin-main .alert-danger { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.admin-main details > summary { cursor: pointer; }

/* Tarjetas de evento / sala / organización */
.event-card, .live-card { transition: box-shadow .15s, border-color .15s; }
.event-card:hover, .live-card:hover { box-shadow: var(--shadow-md); border-color: #e2ded9; }
.org-stats { background: var(--surface-2); border: 1px solid var(--line-2); border-radius: 12px; }
.org-stats div + div { border-left-color: var(--line-2); }
.org-mark { background: var(--accent-soft); }
.room-card { padding: 14px 16px; gap: 12px; flex-wrap: wrap; transition: box-shadow .15s; }
.room-card:hover { box-shadow: var(--shadow-md); }
.room-icon { width: 36px; height: 36px; flex: none; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); color: var(--ink-2); border: 1px solid var(--line-2); }
.room-card .room-id { display: flex; gap: 12px; align-items: center; min-width: 0; }
a.room-card { color: var(--ink); }
a.room-card:hover { border-color: #fdba74; color: var(--ink); }
.event-block h2 { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }

/* Lista de preparación */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.checklist li { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; font-size: .93rem; }
.checklist li.done { color: var(--muted); }
.checklist li.todo { background: var(--surface-2); color: var(--ink); font-weight: 500; }
.checklist i { font-size: 1.05rem; }
.progress-line { height: 6px; border-radius: 99px; background: #f3f0ec; overflow: hidden; margin-bottom: 14px; }
.progress-line i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #f97316, var(--accent)); }

/* Barras de ingresos por hora */
.bar-chart { display: flex; align-items: flex-end; gap: 6px; height: 170px; padding: 8px 4px 0; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.bar-chart .bar { flex: 1; max-width: 46px; position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; }
.bar-chart .bar i { display: block; width: 100%; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, #fb923c, var(--accent)); min-height: 4px; }
.bar-chart .bar b { font-size: .72rem; font-weight: 650; color: var(--ink-2); margin-bottom: 4px; }
.bar-axis { display: flex; gap: 6px; padding: 0 4px; margin-bottom: 14px; }
.bar-axis span { flex: 1; max-width: 46px; text-align: center; font-size: .7rem; color: var(--muted); }

/* Moderación */
.mod-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 10px; margin-bottom: 14px; }
.mod-toolbar .form-select, .mod-toolbar .form-control { flex: 1 1 200px; max-width: none !important; }
.mod-toolbar .search-field { position: relative; flex: 1 1 220px; }
.mod-toolbar .search-field i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.mod-toolbar .search-field .form-control { padding-left: 34px; width: 100%; }
.mod-tabs-row { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mod-tabs-row .nav-pills { margin: 0 !important; }
.shortcut-hint { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .8rem; color: var(--muted); }
.shortcut-hint kbd { background: white; color: var(--ink-2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 6px; padding: 1px 6px; font-size: .72rem; font-weight: 700; font-family: inherit; }
.talk-now { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 14px; }
.talk-now .now-dot { flex: none; }
.talk-now label { margin: 0; white-space: nowrap; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.talk-now .form-select { flex: 1; min-width: 0; }
.question-card { position: relative; padding: 18px 18px 16px !important; border-left: 3px solid transparent; transition: box-shadow .15s, border-color .15s; }
.question-card:hover { box-shadow: var(--shadow-md); }
.question-card.is-selected { outline: 0 !important; border-left-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring), var(--shadow-md); }
.question-card > p { font-size: 1.05rem; line-height: 1.5; color: var(--ink); }
.question-card blockquote { margin: 0 0 8px; padding: 8px 12px; border-left: 3px solid #fdba74; background: var(--accent-soft); border-radius: 0 10px 10px 0; font-size: .92rem; }
.question-card form[data-action="reply"], .question-card form[data-action="merge"] { padding-top: 12px; border-top: 1px dashed var(--line); }
.question-card .form-label { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.question-card > div:first-child > div:last-child { flex: none; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; min-width: 58px; padding: 6px 8px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; line-height: 1.1; }
.question-card > div:first-child > div:last-child strong { font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
#question-empty, .empty-box { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 40px 20px; text-align: center; color: var(--muted); background: white; border: 1px dashed #d6d3d1; border-radius: var(--radius); }
.side-panel { padding: 16px; }
.side-panel + .side-panel { margin-top: 12px; }
.side-panel h2 { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.side-actions { display: grid; gap: 8px; }
.side-actions .btn { justify-content: flex-start; }
.side-actions .btn i:last-child:not(:first-child) { margin-left: auto; opacity: .6; }
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.switch-row + .switch-row { border-top: 1px solid var(--line-2); }
.switch-row label { font-weight: 550; }
.switch-row small { display: block; color: var(--muted); font-size: .78rem; font-weight: 400; }
.switch-row .form-check { margin: 0; padding: 0; min-height: 0; }
.switch-row .form-check-input { margin: 0; float: none; }
@media (min-width: 992px) { .sticky-aside { position: sticky; top: calc(var(--topbar-h) + 20px); } }

/* Paginación */
.admin-main .page-link { border-radius: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .admin-main { padding: 24px 24px 56px; }
    .admin-topbar { padding: 0 24px; }
}
@media (max-width: 900px) {
    .sidebar { position: fixed; inset: 0 auto 0 0; z-index: 40; height: 100vh; height: 100dvh; transform: translateX(-105%); transition: transform .22s ease; }
    .nav-open .sidebar { transform: none; box-shadow: 18px 0 40px rgba(0, 0, 0, .25); }
    .sidebar-close { display: inline-grid; }
    .sidebar-backdrop { position: fixed; inset: 0; z-index: 35; background: rgba(12, 10, 9, .45); opacity: 0; pointer-events: none; transition: opacity .2s; display: block; }
    .nav-open .sidebar-backdrop { opacity: 1; pointer-events: auto; }
    .nav-open { overflow: hidden; }
    .admin-topbar { padding: 0 16px; gap: 10px; }
    .admin-topbar .menu-toggle { display: inline-grid; }
    .topbar-link span { display: none; }
    .crumb-org, .crumbs > i:first-of-type { display: none; }
    .admin-main { padding: 20px 16px 48px; }
    .page-head { flex-direction: column; align-items: stretch; }
    .page-head h1 { font-size: 1.5rem; }
}
@media (max-width: 560px) {
    .metric b { font-size: 1.55rem; }
    .metric { padding: 14px; }
    .metric-icon { margin-bottom: 10px; width: 32px; height: 32px; }
    .page-actions .btn { flex: 1; }
    .talk-now { flex-wrap: wrap; }
}

/* Evento: QR, programa, stands, resultados, ajustes */
.code-hero { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 40px; align-items: center; padding: 24px; }
.code-big { margin: 0 0 6px; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; letter-spacing: .14em; line-height: 1; color: var(--accent); font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.copy-field { display: flex; gap: 6px; }
.copy-field .form-control { font-size: .86rem; background: var(--surface-2) !important; color: var(--ink-2); }
.copy-field .btn { flex: none; min-width: 42px; }
.qr-thumb { width: 64px; height: 64px; padding: 4px; border-radius: 10px; border: 1px solid var(--line); background: white; flex: none; }
.inline-create { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.room-program { padding: 0; overflow: hidden; }
.room-program-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line-2); background: var(--surface-2); }
.room-program > .talk-row, .room-program > p { margin: 0 20px; }
.talk-row { padding: 14px 4px; border-bottom: 1px solid var(--line-2); }
.talk-row strong { font-weight: 600; }
.talk-people { list-style: none; padding: 0; margin: 6px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.talk-people li { padding: 3px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: .82rem; color: var(--ink-2); }
.icon-btn-light { color: var(--muted); }
.icon-btn-light:hover { background: #fef2f2; color: #b91c1c; }
.add-talk { margin: 16px 20px 20px; padding: 16px; border-radius: 12px; background: var(--surface-2); border: 1px dashed #dcd7d1; }
.stand-list { border-radius: var(--radius); box-shadow: var(--shadow); }
.stand-list .list-group-item { padding: 12px 16px; border-color: var(--line); }
.stand-list-logo { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line); flex: none; }
.stand-no { min-width: 44px; height: 32px; padding: 0 8px; border-radius: 8px; display: inline-grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .85rem; }
.min-w-0 { min-width: 0; }
.export-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.export-tile { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: white; color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.export-tile i { font-size: 1.2rem; color: var(--muted); }
.export-tile:hover { border-color: #fdba74; box-shadow: var(--shadow-md); color: var(--ink); }
.export-tile.primary { background: var(--ink); border-color: var(--ink); color: white; }
.export-tile.primary i { color: #fdba74; }
.settings-kicker { margin: 18px 0 0; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.color-field { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 8px; align-items: center; }
.color-field .form-control-color { width: 52px; height: 42px; padding: 4px; border-radius: 12px; }
.projection-mode-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.projection-mode-card {
    display: grid; gap: 6px; padding: 16px; border-radius: 16px; border: 1px solid var(--line);
    background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s;
}
.projection-mode-card input { position: absolute; opacity: 0; pointer-events: none; }
.projection-mode-card.is-selected, .projection-mode-card:has(input:checked) {
    border-color: #fdba74; background: #fff7ed; box-shadow: 0 8px 20px rgba(28, 25, 23, .05);
}
.projection-mode-icon {
    width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
    background: #fff7ed; color: var(--accent); font-size: 1.1rem;
}
.projection-mode-card strong { font-size: .98rem; }
.projection-mode-card small { color: var(--muted); line-height: 1.35; }
@media (max-width: 720px) {
    .projection-mode-grid { grid-template-columns: 1fr; }
}
.screen-palette-preview {
    margin-top: 4px; padding: 18px 20px; border-radius: 18px; border: 1px solid rgba(255,255,255,.08);
    background:
        radial-gradient(ellipse 70% 80% at 20% 30%, color-mix(in srgb, var(--preview-accent) 28%, transparent), transparent 65%),
        var(--preview-bg);
    color: var(--preview-text);
    display: grid; gap: 6px;
}
.screen-palette-preview-kicker { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--preview-accent); }
.screen-palette-preview strong { font-size: 1.05rem; }
.screen-palette-preview small { color: color-mix(in srgb, var(--preview-text) 65%, var(--preview-bg)); }
.row > .col-12:first-child > .settings-kicker { margin-top: 0; }
.option-switch { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 14px; margin: 0; border: 1px solid var(--line); border-radius: 12px; background: white; min-height: 52px; }
.option-switch .form-check-input { margin: 0; float: none; flex: none; }
.option-switch .form-check-label { font-weight: 500; }
.form-footer { display: flex; justify-content: flex-end; gap: 8px; margin: 24px -24px -24px; padding: 16px 24px; border-top: 1px solid var(--line-2); background: var(--surface-2); border-radius: 0 0 var(--radius) var(--radius); }
.danger-zone { border-color: #fecaca !important; background: linear-gradient(180deg, #fff, #fffafa); }
.danger-zone h2 { color: #b91c1c; }
@media (max-width: 700px) {
    .code-hero { grid-template-columns: 1fr; }
    .room-program-head { flex-wrap: wrap; }
    .form-footer .btn { flex: 1; }
}
.serving .org-badge { display: grid; font-size: .9rem; letter-spacing: 0; color: #fdba74; }
.form-footer.is-sticky { position: sticky; bottom: 0; z-index: 5; }
.side-link { padding: 8px 12px; }
.room-id { display: flex; gap: 12px; align-items: center; min-width: 0; }
.admin-main .btn-link { text-decoration: none; font-weight: 550; }
.admin-main .btn-link:hover { text-decoration: underline; }
@media (hover: none), (max-width: 700px) { .shortcut-hint { display: none; } }
.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 12px; }
.room-grid .room-card { margin: 0 !important; flex-wrap: nowrap; }
.room-go { width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); transition: transform .15s; }
a.room-card:hover .room-go { transform: translateX(3px); }
@media (max-width: 420px) { .room-grid { grid-template-columns: 1fr; } .room-grid .status-badge { display: none; } }
.status-badge { white-space: nowrap; }
@media (max-width: 700px) { .meta-chip.mono:last-child { display: none; } }

/* Marca del sistema */
.brand-mark.has-logo { background: transparent; box-shadow: none; }
.brand-mark img, .brand-logo { width: 100%; height: 100%; object-fit: contain; display: block; }
.brand-logo { width: 32px; height: 32px; }
.checker { background-color: #fff; background-image: linear-gradient(45deg, #eee 25%, transparent 25%), linear-gradient(-45deg, #eee 25%, transparent 25%), linear-gradient(45deg, transparent 75%, #eee 75%), linear-gradient(-45deg, transparent 75%, #eee 75%); background-size: 16px 16px; background-position: 0 0, 0 8px, 8px -8px, -8px 0; }
.logo-drop { display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px dashed #d6d3d1; border-radius: 14px; background: var(--surface-2); cursor: pointer; transition: border-color .15s, background .15s; }
.logo-drop:hover, .logo-drop:focus-within { border-color: #fb923c; background: var(--accent-soft); }
.logo-drop-preview { width: 88px; height: 88px; flex: none; border-radius: 14px; border: 1px solid var(--line); display: grid; place-items: center; padding: 10px; overflow: hidden; }
.logo-drop-preview img { max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-drop-preview i { font-size: 1.8rem; color: #a8a29e; }
.logo-drop-text strong { color: var(--accent); }
.logo-warning { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: .88rem; }
.brand-preview { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); }
.brand-preview strong { font-size: 1.1rem; letter-spacing: -.02em; }
.brand-preview small { margin-left: auto; font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.brand-preview.dark { background: #15120f; border-color: #15120f; color: white; }
.brand-preview.dark small { color: #8a817a; }
.brand-preview.light { background: white; }
.brand-preview.tab { background: #e7e5e4; }
.brand-preview .brand-mark { width: 34px; height: 34px; }
.tab-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 10px 10px 0 0; background: white; font-size: .82rem; max-width: 70%; }
.tab-chip span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tab-icon { width: 16px; height: 16px; display: grid; place-items: center; flex: none; font-size: .8rem; color: var(--muted); }
.tab-icon img { width: 16px; height: 16px; object-fit: contain; }

/* ==========================================================================
   Página principal (landing) · v2
   ========================================================================== */
.lp { --lp-ink: #1c1917; --lp-muted: #6b625b; overflow-x: clip; }
.lp h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); letter-spacing: -.035em; line-height: 1.1; margin: 0 0 14px; }
.lp h3 { font-size: 1.08rem; letter-spacing: -.02em; margin: 0 0 6px; font-weight: 650; }
.lp-lede { color: var(--lp-muted); font-size: 1.08rem; line-height: 1.6; max-width: 56ch; margin: 0; }
.lp .site-kicker { display: inline-flex; align-items: center; gap: 8px; }
.lp .site-kicker::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: var(--accent); }

/* Navegación */
.lp-nav { background: rgba(255, 255, 255, .72); border-bottom: 1px solid transparent; transition: background .2s, border-color .2s, box-shadow .2s; }
.lp-nav.is-scrolled { background: rgba(255, 255, 255, .92); border-bottom-color: var(--line); box-shadow: 0 6px 24px -12px rgba(28, 25, 23, .18); }
.lp-nav-inner { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.lp-nav .brand { padding: 0; color: var(--lp-ink); }
.lp-nav .brand strong { font-size: 1.3rem; }
.lp-links { display: flex; align-items: center; gap: 4px; }
.lp-links > a { padding: 8px 12px; border-radius: 999px; color: #44403c; font-weight: 550; font-size: .95rem; text-decoration: none; transition: background .15s, color .15s; }
.lp-links > a:hover { background: #f5f5f4; color: var(--lp-ink); }
.lp-links-mobile { display: none; }
.lp-nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.lp-nav-actions .langs { padding: 0 6px 0 0; gap: 2px; }
.lp .langs a { padding: 3px 7px; border-radius: 6px; font-size: .78rem; font-weight: 600; color: #8a817a; }
.lp .langs a.active { background: #f5f5f4; color: var(--lp-ink); }
.lp .btn-access, .lp .btn-code { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; font-size: .92rem; transition: background .15s, border-color .15s, transform .15s; }
.lp .btn-access:hover { border-color: #d6d3d1; background: #fafaf9; }
.lp .btn-code:hover { background: #000; color: white; }
.lp-burger { display: none; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); background: white; font-size: 1.25rem; color: var(--lp-ink); }

/* Hero */
.lp-hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); }
.lp-hero-bg { position: absolute; inset: -68px 0 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(60% 55% at 85% 20%, rgba(251, 146, 60, .22), transparent 70%),
        radial-gradient(45% 50% at 5% 0%, rgba(253, 186, 116, .25), transparent 70%),
        linear-gradient(180deg, #fffaf5 0%, #fff 100%);
}
.lp-hero-bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(28, 25, 23, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(28, 25, 23, .045) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 75%); }
.lp-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.lp-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 999px; background: white; border: 1px solid #fed7aa; color: var(--accent); font-size: .82rem; font-weight: 650; box-shadow: 0 4px 14px -6px rgba(194, 65, 12, .3); }
.lp-eyebrow .dot { box-shadow: 0 0 0 3px rgba(21, 128, 61, .15); }
.lp-hero h1 { margin: 22px 0 18px; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1; letter-spacing: -.05em; font-weight: 700; max-width: 14ch; }
.lp-hero h1 span { display: block; background: linear-gradient(100deg, #ea580c 0%, #c2410c 45%, #9a3412 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-hero .lp-lede { font-size: 1.15rem; max-width: 44ch; }

.lp-code { margin-top: 30px; max-width: 520px; }
.lp-code-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lp-ink); }
.lp-code-label i { color: var(--accent); font-size: 1rem; }
.lp-code-field { display: flex; gap: 6px; padding: 6px; border-radius: 16px; background: white; border: 1px solid var(--line); box-shadow: 0 18px 40px -20px rgba(28, 25, 23, .25); transition: border-color .15s, box-shadow .15s; }
.lp-code-field:focus-within { border-color: #fb923c; box-shadow: 0 0 0 4px rgba(234, 88, 12, .12), 0 18px 40px -20px rgba(28, 25, 23, .25); }
.lp-code-field.has-error { border-color: #fca5a5; }
.lp-code-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 10px 12px; font-size: 1.1rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--lp-ink); }
.lp-code-field input::placeholder { letter-spacing: 0; text-transform: none; font-weight: 400; color: #a8a29e; }
.lp-code-field .btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 11px; padding: 10px 20px; font-weight: 650; }
.lp-code-help, .lp-code-error { margin: 8px 2px 0; font-size: .86rem; color: var(--lp-muted); }
.lp-code-error { color: #b91c1c; font-weight: 550; display: flex; align-items: center; gap: 6px; }
.lp-proof { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #57534e; font-size: .9rem; font-weight: 550; }
.lp-proof li { display: inline-flex; align-items: center; gap: 8px; }
.lp-proof i { color: var(--accent); }

/* Visual del hero */
.lp-visual { position: relative; min-height: 440px; }
.lp-screen { position: absolute; top: 0; right: 0; width: min(100%, 470px); padding: 22px 22px 18px; border-radius: 22px; background: #0c0a09; color: white; box-shadow: 0 40px 80px -30px rgba(28, 25, 23, .55), 0 0 0 1px rgba(255, 255, 255, .06) inset; }
.lp-screen::before { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(70% 60% at 0% 0%, rgba(249, 115, 22, .22), transparent 60%); pointer-events: none; }
.lp-screen > * { position: relative; }
.lp-screen-top { display: flex; justify-content: space-between; align-items: center; }
.lp-live { display: inline-flex; align-items: center; gap: 7px; padding: 4px 11px; border-radius: 999px; background: rgba(249, 115, 22, .14); border: 1px solid rgba(249, 115, 22, .35); color: #fdba74; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.lp-live i { width: 6px; height: 6px; border-radius: 50%; background: #fb923c; animation: wall-pulse-dot 1.6s ease-in-out infinite; }
.lp-screen-room { color: #a8a29e; font-size: .78rem; }
.lp-screen-q { margin: 18px 0 14px; font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 650; line-height: 1.25; letter-spacing: -.02em; }
.lp-screen-meta { display: flex; align-items: center; gap: 8px; color: #a8a29e; font-size: .85rem; }
.lp-screen-meta b { color: #fdba74; }
.lp-av { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; background: rgba(249, 115, 22, .2); color: #fdba74; font-size: .66rem; font-weight: 700; }
.lp-screen-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 18px; }
.lp-screen-stats div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07); }
.lp-screen-stats b { display: block; font-size: 1.3rem; line-height: 1.1; }
.lp-screen-stats span { font-size: .72rem; color: #a8a29e; }
.lp-phone { position: absolute; left: 0; bottom: 0; width: 230px; padding: 10px; border-radius: 34px; background: #1c1917; box-shadow: 0 30px 60px -20px rgba(28, 25, 23, .5); transform: rotate(-4deg); }
.lp-phone-notch { width: 70px; height: 18px; margin: 0 auto 8px; border-radius: 0 0 12px 12px; background: #0c0a09; }
.lp-phone-body { padding: 14px 12px 16px; border-radius: 24px; background: #fff; display: grid; gap: 8px; }
.lp-phone-body small { font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.lp-phone-input { padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); font-size: .78rem; color: var(--lp-ink); background: #fafaf9; }
.lp-phone-btn { padding: 8px; border-radius: 10px; background: var(--lp-ink); color: white; text-align: center; font-size: .78rem; font-weight: 650; }
.lp-phone-q { display: flex; gap: 8px; align-items: center; padding: 8px; border-radius: 10px; border: 1px solid #f1efed; font-size: .74rem; line-height: 1.3; color: #44403c; }
.lp-phone-q span { flex: none; display: grid; place-items: center; min-width: 32px; padding: 3px 0; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .72rem; line-height: 1; }
.lp-phone-q span i { font-size: .62rem; }

/* Secciones */
.lp-section { padding: clamp(64px, 9vw, 112px) 0; }
.lp-tint { background: linear-gradient(180deg, #faf8f6, #f6f3ef); border-top: 1px solid #f0ece7; border-bottom: 1px solid #f0ece7; }
.lp-head { max-width: 760px; margin-bottom: 40px; }

.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; position: relative; }
.lp-steps li { position: relative; padding: 26px 24px 24px; border-radius: 20px; background: white; border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(28, 25, 23, .04); transition: transform .2s, box-shadow .2s, border-color .2s; }
.lp-steps li:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(28, 25, 23, .3); border-color: #fed7aa; }
.lp-step-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px; background: linear-gradient(140deg, #fff7ed, #ffedd5); color: var(--accent); font-size: 1.35rem; border: 1px solid #fed7aa; }
.lp-step-no { position: absolute; top: 22px; right: 22px; font-size: .8rem; font-weight: 700; color: #d6d3d1; letter-spacing: .06em; }
.lp-steps p, .lp-card p, .lp-features p { color: var(--lp-muted); margin: 0; line-height: 1.55; }

.lp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.lp-features { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 22px; }
.lp-features li { display: flex; gap: 16px; }
.lp-features li > span { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: white; border: 1px solid var(--line); color: var(--accent); font-size: 1.15rem; box-shadow: 0 1px 2px rgba(28, 25, 23, .05); }

.lp-mod { border-radius: 22px; background: white; border: 1px solid var(--line); box-shadow: 0 40px 80px -40px rgba(28, 25, 23, .35); overflow: hidden; }
.lp-mod-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #f1efed; background: #fafaf9; font-size: .82rem; font-weight: 650; color: #57534e; }
.lp-mod-dots { display: inline-flex; gap: 6px; }
.lp-mod-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e7e5e4; }
.lp-mod-dots i:first-child { background: #fca5a5; } .lp-mod-dots i:nth-child(2) { background: #fde68a; } .lp-mod-dots i:last-child { background: #bbf7d0; }
.lp-mod-tabs { display: flex; gap: 6px; padding: 14px 16px 6px; font-size: .82rem; flex-wrap: wrap; }
.lp-mod-tabs b, .lp-mod-tabs span { padding: 6px 10px; border-radius: 9px; font-weight: 600; color: #57534e; }
.lp-mod-tabs b { background: var(--lp-ink); color: white; }
.lp-mod-tabs em { font-style: normal; opacity: .7; margin-left: 4px; }
.lp-mod-row { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; margin: 8px 12px; padding: 12px; border-radius: 14px; border: 1px solid #f1efed; }
.lp-mod-row:last-child { margin-bottom: 14px; }
.lp-mod-row.is-on { border-color: #fdba74; box-shadow: 0 0 0 3px rgba(234, 88, 12, .1); }
.lp-mod-votes { height: 44px; border-radius: 11px; display: grid; place-items: center; background: #fafaf9; font-weight: 700; font-size: 1.05rem; }
.lp-mod-row strong { display: block; font-size: .92rem; font-weight: 600; }
.lp-mod-row div > span { font-size: .78rem; color: var(--lp-muted); }

.lp-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.lp-card { padding: 28px; border-radius: 20px; background: white; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.lp-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(28, 25, 23, .3); }
.lp-card-icon { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px; background: var(--lp-ink); color: #fdba74; font-size: 1.2rem; }

.lp-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.lp-event { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 20px; background: white; border: 1px solid var(--line); color: var(--lp-ink); text-decoration: none; transition: transform .2s, box-shadow .2s, border-color .2s; }
.lp-event:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -24px rgba(28, 25, 23, .3); border-color: #fdba74; color: var(--lp-ink); }
.lp-event-badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 999px; background: #f0fdf4; color: var(--live); border: 1px solid #bbf7d0; font-size: .76rem; font-weight: 650; }
.lp-event strong { font-size: 1.2rem; letter-spacing: -.02em; line-height: 1.25; }
.lp-event-meta { display: grid; gap: 6px; color: var(--lp-muted); font-size: .88rem; }
.lp-event-meta span { display: flex; gap: 8px; align-items: flex-start; }
.lp-event-meta i { color: #a8a29e; margin-top: 1px; }
.lp-event-go { margin-top: auto; padding-top: 12px; border-top: 1px solid #f1efed; display: flex; justify-content: space-between; align-items: center; color: var(--accent); font-weight: 650; font-size: .92rem; }
.lp-event-go i { transition: transform .15s; }
.lp-event:hover .lp-event-go i { transform: translateX(4px); }

.lp-langs { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; }
.lp-lang-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.lp-lang { display: grid; gap: 2px; padding: 18px 20px; border-radius: 16px; border: 1px solid var(--line); background: white; color: var(--lp-ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.lp-lang:hover { border-color: #fdba74; box-shadow: 0 10px 24px -16px rgba(28, 25, 23, .3); color: var(--lp-ink); }
.lp-lang.active { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(234, 88, 12, .12); }
.lp-lang small { color: var(--accent); font-weight: 700; letter-spacing: .08em; font-size: .72rem; }
.lp-lang strong { font-size: 1.05rem; }
.lp-lang span { color: var(--lp-muted); font-size: .85rem; }

.lp-cta { position: relative; overflow: hidden; display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: clamp(32px, 5vw, 56px); border-radius: 28px; color: white; background: radial-gradient(80% 120% at 100% 0%, #f97316 0%, transparent 55%), linear-gradient(135deg, #9a3412, #1c1917 75%); box-shadow: 0 40px 80px -40px rgba(154, 52, 18, .6); }
.lp-cta h2 { color: white; max-width: 20ch; }
.lp-cta p { color: #fed7aa; margin: 0; max-width: 52ch; }
.lp-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
.lp-btn-light, .lp-btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 12px; font-weight: 650; }
.lp-btn-light { background: white; color: var(--lp-ink); }
.lp-btn-light:hover { background: #fff7ed; color: var(--lp-ink); }
.lp-btn-ghost { border: 1px solid rgba(255, 255, 255, .35); color: white; }
.lp-btn-ghost:hover { background: rgba(255, 255, 255, .1); color: white; border-color: rgba(255, 255, 255, .6); }

.lp-foot { padding: 40px 0 44px; background: #fafaf9; }
.lp-foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 24px; align-items: start; }
.lp-foot .brand { padding: 0; color: var(--lp-ink); }
.lp-foot-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.lp-foot-links a { font-weight: 550; color: #44403c; }
.lp-foot-legal { text-align: right; }

.lp-toast { position: fixed; top: 84px; left: 50%; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .2); font-weight: 550; }

@media (prefers-reduced-motion: reduce) { .lp-live i { animation: none; } .lp-steps li, .lp-card, .lp-event { transition: none; } }

@media (max-width: 1100px) {
    .lp-nav-actions .langs { display: none; }
}
@media (max-width: 960px) {
    .lp-hero-grid, .lp-split, .lp-langs { grid-template-columns: 1fr; }
    .lp-visual { min-height: 400px; max-width: 520px; width: 100%; margin: 0 auto; }
    .lp-steps { grid-template-columns: 1fr; }
    .lp-cta { flex-direction: column; align-items: flex-start; }
    .lp-foot-grid { grid-template-columns: 1fr; }
    .lp-foot-legal { text-align: left; }
}
@media (max-width: 860px) {
    .lp-burger { display: inline-grid; place-items: center; }
    .lp-nav-actions .btn-access { display: none; }
    .lp-links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .25); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .18s, transform .18s; }
    .lp-nav.is-open .lp-links { opacity: 1; transform: none; pointer-events: auto; }
    .lp-nav.is-open { background: white; }
    .lp-links > a { padding: 12px 10px; border-radius: 10px; font-size: 1rem; }
    .lp-links-mobile { display: grid; gap: 12px; padding-top: 12px; margin-top: 6px; border-top: 1px solid var(--line); }
    .lp-links-mobile .langs { display: flex; padding: 0; }
    .lp-nav-inner { position: relative; gap: 12px; }
}
@media (max-width: 560px) {
    .lp-nav .btn-code { padding: 8px 12px; font-size: .85rem; }
    .lp-hero h1 { font-size: 2.5rem; }
    .lp-code-field { flex-direction: column; }
    .lp-code-field .btn { justify-content: center; padding: 12px; }
    .lp-cards, .lp-lang-grid { grid-template-columns: 1fr; }
    .lp-visual { min-height: 430px; }
    .lp-screen { position: relative; width: 100%; }
    .lp-phone { position: relative; width: 200px; margin: -40px 0 0 auto; transform: rotate(3deg); }
    .lp-screen-stats b { font-size: 1.1rem; }
    .lp-section { padding: 56px 0; }
    .lp-cta-actions, .lp-cta-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 400px) {
    .lp-nav .btn-code { display: none; }
}
@media (min-width: 961px) { .lp-visual { min-height: 480px; } .lp-phone { left: -8px; width: 215px; } .lp-screen { top: 10px; } }
@media (max-width: 560px) { .lp-phone { display: none; } .lp-visual { min-height: 0; } }

/* ==========================================================================
   Login · v2
   ========================================================================== */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; }
.auth-story { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 32px; padding: 32px clamp(28px, 4vw, 56px); color: white; background: linear-gradient(150deg, #1c1917 0%, #292524 45%, #7c2d12 100%); }
.auth-story-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 50% at 100% 0%, rgba(249, 115, 22, .45), transparent 70%), radial-gradient(50% 40% at 0% 100%, rgba(234, 88, 12, .35), transparent 70%); }
.auth-story-bg::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(80% 70% at 30% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(80% 70% at 30% 40%, #000 20%, transparent 75%); }
.auth-story > * { position: relative; }
.auth-story-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.auth-story .brand, .auth-story .brand strong { color: white; padding: 0; }
.auth-story .brand strong { font-size: 1.3rem; }
.auth-back { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: .86rem; font-weight: 550; text-decoration: none; color: rgba(255, 255, 255, .8); border: 1px solid rgba(255, 255, 255, .18); transition: background .15s, color .15s; }
.auth-back:hover { background: rgba(255, 255, 255, .1); color: white; }
.auth-story-body { margin-top: auto; max-width: 520px; }
.auth-eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fdba74; font-size: .8rem; font-weight: 650; }
.auth-story h1 { margin: 20px 0 16px; font-size: clamp(2.3rem, 4vw, 3.6rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 700; }
.auth-story h1 span { display: block; background: linear-gradient(100deg, #fdba74, #fb923c 50%, #f97316); -webkit-background-clip: text; background-clip: text; color: transparent; }
.auth-story-body > p { color: #d6d3d1; font-size: 1.05rem; line-height: 1.6; max-width: 42ch; margin: 0; }
.auth-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.auth-points li { display: flex; align-items: center; gap: 12px; color: #e7e5e4; font-weight: 500; }
.auth-points i { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 9px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #fdba74; }
.auth-mock { width: min(400px, 100%); padding: 18px; border-radius: 18px; background: rgba(12, 10, 9, .7); border: 1px solid rgba(255, 255, 255, .1); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); backdrop-filter: blur(8px); transform: rotate(-3deg); }
.auth-mock-top { display: flex; justify-content: space-between; align-items: center; font-size: .76rem; color: #a8a29e; }
.auth-mock p { margin: 12px 0 10px; font-size: 1.1rem; font-weight: 650; letter-spacing: -.02em; line-height: 1.3; }
.auth-mock-meta { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: #a8a29e; }
.auth-legal { margin: auto 0 0; font-size: .8rem; color: rgba(255, 255, 255, .55); }
.auth-story .auth-legal { margin-top: 0; }

.auth-panel { display: flex; flex-direction: column; padding: 28px clamp(20px, 5vw, 64px); background: radial-gradient(60% 40% at 50% 0%, #fff7ed, transparent 70%), #fafaf9; }
.auth-panel-top { display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.auth-panel .langs { padding: 0; gap: 2px; }
.auth-panel .langs a { padding: 3px 8px; border-radius: 6px; font-size: .78rem; font-weight: 600; color: #8a817a; }
.auth-panel .langs a.active { background: white; color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.auth-back-mobile { display: none; color: var(--ink-2); border-color: var(--line); background: white; }
.auth-back-mobile:hover { color: var(--ink); background: white; border-color: #d6d3d1; }
.auth-card { width: 100%; max-width: 420px; margin: auto; padding: 36px 32px 28px; border-radius: 24px; background: white; border: 1px solid var(--line); box-shadow: 0 40px 80px -48px rgba(28, 25, 23, .35), 0 1px 2px rgba(28, 25, 23, .04); }
.auth-card-mark { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 20px; border-radius: 14px; color: white; background: linear-gradient(140deg, #ea580c, #9a3412); box-shadow: 0 8px 20px -8px rgba(234, 88, 12, .6); overflow: hidden; }
.auth-card-mark img { width: 100%; height: 100%; object-fit: contain; }
.auth-card-mark:has(img) { background: transparent; box-shadow: none; }
.auth-card h2 { margin: 0 0 6px; font-size: 1.65rem; font-weight: 700; letter-spacing: -.035em; }
.auth-sub { margin: 0 0 24px; color: var(--muted); font-size: .95rem; }
.auth-alert { display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; margin-bottom: 18px; border-radius: 12px; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; font-size: .9rem; font-weight: 500; }
.auth-alert i { margin-top: 2px; }
.auth-alert.ok { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.auth-field { margin-bottom: 18px; }
.auth-field label { display: block; margin-bottom: 7px; font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.auth-input { position: relative; display: flex; align-items: center; border-radius: 12px; border: 1px solid #e2ded9; background: white; transition: border-color .15s, box-shadow .15s; }
.auth-input:hover { border-color: #d6d3d1; }
.auth-input:focus-within { border-color: #ea580c; box-shadow: 0 0 0 4px rgba(234, 88, 12, .12); }
.auth-input.has-error { border-color: #f87171; }
.auth-input.has-error:focus-within { box-shadow: 0 0 0 4px rgba(220, 38, 38, .12); }
.auth-input > i { position: absolute; left: 14px; color: #a8a29e; pointer-events: none; }
.auth-input:focus-within > i { color: var(--accent); }
.auth-input input { flex: 1; min-width: 0; height: 48px; padding: 0 44px 0 42px; border: 0; outline: 0; background: transparent; font-size: 1rem; color: var(--ink); border-radius: 12px; }
.auth-input input::placeholder { color: #c4bdb6; }
.auth-input .password-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; display: grid; place-items: center; border-radius: 9px; color: #8a817a; }
.auth-input .password-toggle:hover { background: #f5f5f4; color: var(--ink); }
.auth-error, .auth-caps { display: flex; align-items: center; gap: 6px; margin: 7px 2px 0; font-size: .84rem; }
.auth-error { color: #b91c1c; font-weight: 550; }
.auth-caps { color: #92400e; }
.auth-submit { width: 100%; height: 50px; margin-top: 6px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 12px; font-size: 1rem; font-weight: 650; }
.auth-submit i { transition: transform .15s; }
.auth-submit:hover i { transform: translateX(3px); }
.auth-submit.is-loading { opacity: .85; pointer-events: none; }
.auth-submit.is-loading i { animation: auth-spin .8s linear infinite; }
.auth-submit.is-loading i::before { content: "\F130"; }
@keyframes auth-spin { to { transform: rotate(360deg); } }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 26px 0 14px; color: var(--muted); font-size: .82rem; font-weight: 550; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-attendee { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); text-decoration: none; transition: border-color .15s, background .15s; }
.auth-attendee:hover { border-color: #fdba74; background: var(--accent-soft); color: var(--ink); }
.auth-attendee-icon { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 10px; background: white; border: 1px solid var(--line); color: var(--accent); font-size: 1.1rem; }
.auth-attendee strong { display: block; font-size: .92rem; font-weight: 600; }
.auth-attendee small { display: block; color: var(--muted); font-size: .8rem; }
.auth-attendee > i { margin-left: auto; color: #a8a29e; }
.auth-legal-mobile { display: none; }

@media (prefers-reduced-motion: reduce) { .auth-submit.is-loading i { animation: none; } }
@media (max-width: 960px) {
    .auth { grid-template-columns: 1fr; }
    .auth-story { display: none; }
    .auth-back-mobile { display: inline-flex; margin-right: auto; }
    .auth-panel { min-height: 100vh; min-height: 100dvh; }
    .auth-legal-mobile { display: block; text-align: center; color: var(--muted); margin-top: 24px; }
}
@media (max-width: 480px) {
    .auth-panel { padding: 16px 14px 20px; }
    .auth-card { padding: 28px 20px 22px; border-radius: 20px; margin-top: 24px; }
}

/* LaPlatea · admin: participantes y radar */
.role-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 650; background: #f5f5f4; color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.role-badge.speaker { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.role-badge.sponsor { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.role-badge.speaker_sponsor { background: #1c1917; color: #fde68a; border-color: #1c1917; }
tr.is-banned td { background: #fffafa; }
.edit-row td { background: var(--surface-2) !important; }
.talk-checks { display: grid; gap: 4px; max-height: 180px; overflow: auto; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: white; }
.talk-checks .form-check { margin: 0; font-size: .88rem; }
.csv-example summary { font-size: .85rem; color: var(--muted); font-weight: 600; }
.csv-example pre { margin: 8px 0 0; padding: 10px; border-radius: 10px; background: #1c1917; color: #e7e5e4; font-size: .72rem; white-space: pre; overflow: auto; }
.request-item { padding: 10px 0; border-top: 1px solid var(--line-2); font-size: .9rem; }
.request-item:first-of-type { border-top: 0; padding-top: 0; }
.request-item.done { opacity: .55; }
.interest-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.interest-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 6px 5px 12px; border-radius: 999px; background: var(--accent-soft); border: 1px solid #fed7aa; color: #9a3412; font-size: .86rem; font-weight: 600; }
.interest-chip small { min-width: 20px; padding: 0 6px; border-radius: 999px; background: white; color: var(--muted); font-size: .72rem; text-align: center; }
.interest-chip form { display: inline; }
.interest-chip button { border: 0; background: transparent; color: #c2410c; padding: 0 4px; line-height: 1; border-radius: 999px; }
.interest-chip button:hover { background: #fed7aa; }
.radar-admin-feed { display: grid; gap: 10px; max-height: 70vh; overflow: auto; }
.radar-admin-post { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: white; font-size: .92rem; }
.radar-admin-post.is-hidden { opacity: .5; background: var(--surface-2); }
.radar-kind { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; background: #f5f5f4; color: var(--ink-2); }
.radar-kind.arrival { background: #f0fdf4; color: #15803d; }
.radar-kind.looking { background: #eff6ff; color: #1d4ed8; }
.radar-kind.offer { background: #fff7ed; color: #c2410c; }

/* ==========================================================================
   LaPlatea · espacio del participante (perfil, radar, contactos)
   ========================================================================== */
.public-body { background: #f6f4f1; }
.pp-body { --pp-card: #fff; --pp-line: #ebe7e2; --pp-ink: #1c1917; --pp-muted: #78716c; background: radial-gradient(80% 40% at 50% 0%, #fff4ec, transparent 70%), #f6f4f1; color: var(--pp-ink); min-height: 100vh; }
.pp-body.premium { --pp-card: #17140f; --pp-line: rgba(255, 255, 255, .09); --pp-ink: #f5f5f4; --pp-muted: #a8a29e; background: radial-gradient(80% 40% at 50% 0%, rgba(202, 138, 4, .18), transparent 70%), #0c0a09; }
.pp-body > .alert { max-width: 1080px; margin: 12px auto 0; border-radius: 12px; }
.pp-body > .langs { justify-content: center; padding: 8px 0 28px; }
.pp-body.premium > .langs a { color: #a8a29e; } .pp-body.premium > .langs a.active { color: white; }
.pp-wrap { max-width: 1080px; margin: 0 auto; padding: 14px 16px 40px; }
.pp-wrap.narrow { max-width: 620px; }
.pp-muted { color: var(--pp-muted); font-size: .88rem; }
.pp-link { color: var(--accent); font-weight: 600; font-size: .9rem; text-decoration: none; }
.pp-body.premium .pp-link { color: #fbbf24; }

.pp-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0 12px; margin-bottom: 8px; background: inherit; }
.pp-body .pp-top { background: linear-gradient(180deg, rgba(246, 244, 241, .96) 70%, rgba(246, 244, 241, 0)); }
.pp-body.premium .pp-top { background: linear-gradient(180deg, rgba(12, 10, 9, .96) 70%, rgba(12, 10, 9, 0)); }
.pp-event { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--pp-ink); text-decoration: none; font-weight: 650; }
.pp-event img { height: 32px; width: auto; max-width: 90px; object-fit: contain; border-radius: 6px; }
.pp-event span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-tabs { display: flex; gap: 2px; padding: 4px; border-radius: 14px; background: var(--pp-card); border: 1px solid var(--pp-line); box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.pp-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 10px; color: var(--pp-muted); font-weight: 600; font-size: .88rem; text-decoration: none; }
.pp-tabs a:hover { color: var(--pp-ink); }
.pp-tabs a.active { background: var(--accent); color: white; }
.pp-body.premium .pp-tabs a.active { background: linear-gradient(135deg, #fbbf24, #b45309); color: #1c1917; }

.pp-hero { display: flex; align-items: center; gap: 18px; padding: 22px; margin-bottom: 14px; border-radius: 22px; background: var(--pp-card); border: 1px solid var(--pp-line); box-shadow: 0 20px 40px -30px rgba(28, 25, 23, .4); }
.pp-hero.premium { background: linear-gradient(135deg, #1c1917, #0c0a09 60%), #0c0a09; border-color: rgba(251, 191, 36, .35); box-shadow: 0 30px 60px -30px rgba(251, 191, 36, .35); }
.pp-hero h1 { margin: 6px 0 2px; font-size: clamp(1.5rem, 4vw, 2rem); letter-spacing: -.03em; font-weight: 700; word-break: break-word; }
.pp-hero p { margin: 0; color: var(--pp-muted); }
.pp-headline { font-style: italic; color: var(--pp-ink) !important; margin-top: 6px !important; }
.pp-avatar { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 700; border: 1px solid #fed7aa; object-fit: cover; }
.pp-avatar.photo { padding: 0; }
.pp-avatar.xl { width: 72px; height: 72px; font-size: 1.8rem; }
.pp-avatar.premium { background: linear-gradient(135deg, #fde68a, #b45309); color: #1c1917; border-color: #fbbf24; }
.pp-badge { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; background: #1c1917; color: #fde68a; border: 1px solid rgba(251, 191, 36, .4); }
.pp-badge.sponsor { background: #1e3a8a; color: #dbeafe; border-color: #3b82f6; }
.pp-note { display: flex; gap: 10px; align-items: center; padding: 12px 14px; margin-bottom: 14px; border-radius: 14px; background: var(--pp-card); border: 1px dashed var(--pp-line); color: var(--pp-ink); font-size: .9rem; }
.pp-note i { color: #f59e0b; font-size: 1.1rem; }

.pp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.pp-grid.radar { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.pp-col { display: grid; gap: 14px; min-width: 0; }
.pp-card { padding: 18px; border-radius: 18px; background: var(--pp-card); border: 1px solid var(--pp-line); box-shadow: 0 1px 2px rgba(28, 25, 23, .04); }
.pp-card h2 { font-size: 1.05rem; font-weight: 650; letter-spacing: -.02em; margin: 0 0 10px; }
.pp-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.pp-card-head h2 { margin: 0; }
.pp-count { min-width: 28px; padding: 2px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .8rem; text-align: center; }
.pp-body.premium .pp-count { background: rgba(251, 191, 36, .15); color: #fbbf24; }

.pp-qr { display: flex; align-items: center; gap: 16px; justify-content: space-between; }
.pp-qr p { color: var(--pp-muted); font-size: .9rem; }
.pp-qr img { width: 132px; height: 132px; flex: none; padding: 8px; border-radius: 14px; background: white; border: 1px solid var(--pp-line); }
.pp-radar-cta { display: flex; align-items: center; gap: 14px; }
.pp-radar-cta p { margin: 0; color: var(--pp-muted); font-size: .9rem; }
.pp-radar-cta h2 { margin-bottom: 2px; }
.pp-radar-cta .btn { margin-left: auto; flex: none; }
.pp-radar-icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: #f5f5f4; color: #a8a29e; font-size: 1.3rem; }
.pp-radar-cta.ready .pp-radar-icon { background: linear-gradient(135deg, #fb923c, #c2410c); color: white; box-shadow: 0 0 0 6px rgba(234, 88, 12, .12); }

.pp-field { margin-bottom: 16px; }
.pp-field > label { display: block; margin-bottom: 6px; font-size: .86rem; font-weight: 600; }
.pp-field small { display: block; margin-top: 5px; color: var(--pp-muted); font-size: .8rem; }
.pp-error { color: #dc2626 !important; font-weight: 550; }
.pp-input { display: flex; align-items: center; border: 1px solid var(--pp-line); border-radius: 12px; background: transparent; }
.pp-input span { padding-left: 12px; color: var(--pp-muted); font-weight: 600; }
.pp-input input, .pp-plain { width: 100%; min-height: 46px; padding: 10px 12px; border: 0; outline: 0; background: transparent; color: var(--pp-ink); font-size: 1rem; border-radius: 12px; }
.pp-plain { border: 1px solid var(--pp-line); display: block; resize: vertical; }
.pp-input:focus-within, .pp-plain:focus { border-color: #ea580c; box-shadow: 0 0 0 3px rgba(234, 88, 12, .14); }
.pp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pp-chip { position: relative; cursor: pointer; }
.pp-chip input { position: absolute; opacity: 0; pointer-events: none; }
.pp-chip span { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--pp-line); background: transparent; font-size: .88rem; font-weight: 550; transition: background .15s, border-color .15s, color .15s; }
.pp-chip input:checked + span, .pp-chip.on span { background: var(--accent); border-color: var(--accent); color: white; }
.pp-chip input:checked + span::before { content: '\2713'; font-weight: 700; }
.pp-chip input:focus-visible + span { outline: 3px solid rgba(234, 88, 12, .35); outline-offset: 2px; }
.pp-body.premium .pp-chip input:checked + span, .pp-body.premium .pp-chip.on span { background: #fbbf24; border-color: #fbbf24; color: #1c1917; }
.pp-chips.readonly .pp-chip { cursor: default; }
.pp-switch { display: flex; align-items: center; gap: 10px; padding: 8px 0; cursor: pointer; font-size: .92rem; }
.pp-switch input { appearance: none; width: 40px; height: 22px; flex: none; border-radius: 999px; background: #d6d3d1; position: relative; transition: background .15s; cursor: pointer; }
.pp-switch input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: white; transition: transform .15s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.pp-switch input:checked { background: var(--accent); }
.pp-switch input:checked::after { transform: translateX(18px); }
.pp-switch.small { font-size: .84rem; padding: 0; }

.pp-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--pp-line); }
.pp-card h2 + .pp-row, .pp-card-head + .pp-row { border-top: 0; padding-top: 2px; }
.pp-person { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.pp-person strong { font-size: .95rem; }
.pp-affinity { margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: #fef3c7; color: #92400e; font-size: .75rem; font-weight: 700; }
.pp-state { flex: none; padding: 3px 10px; border-radius: 999px; font-size: .74rem; font-weight: 650; background: #f5f5f4; color: #78716c; }
.pp-state.ok { background: #dcfce7; color: #166534; }
.pp-indent { margin: -4px 0 8px 50px; font-style: italic; }
.pp-question { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--pp-line); }
.pp-card-head + .pp-question { border-top: 0; padding-top: 0; }
.pp-question p { margin: 0 0 3px; line-height: 1.45; }
.pp-votes { flex: none; width: 42px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: .85rem; line-height: 1; }
.pp-body.premium .pp-votes { background: rgba(251, 191, 36, .14); color: #fbbf24; }
.pp-sent { display: flex; align-items: center; gap: 8px; padding-top: 10px; margin-top: 10px; border-top: 1px solid var(--pp-line); font-size: .85rem; }
.pp-sent span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pp-sent small { color: var(--pp-muted); }

/* Radar */
.pp-radar-head { display: flex; align-items: center; gap: 16px; margin: 8px 0 16px; }
.pp-radar-head h1 { margin: 0 0 2px; font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 700; letter-spacing: -.03em; }
.pp-radar-head p { margin: 0; color: var(--pp-muted); }
.pp-radar-pulse { position: relative; width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(135deg, #fb923c, #c2410c); color: white; font-size: 1.4rem; }
.pp-radar-pulse::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(234, 88, 12, .35); animation: pp-ping 2s ease-out infinite; }
@keyframes pp-ping { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .pp-radar-pulse::after { animation: none; } }
.pp-blocked { display: flex; gap: 14px; align-items: flex-start; }
.pp-blocked > i { font-size: 1.5rem; color: var(--pp-muted); }
.pp-rules ol, .pp-rules-mini ol { padding-left: 20px; margin: 10px 0 16px; display: grid; gap: 6px; line-height: 1.45; }
.pp-rules h2 i { color: var(--accent); }
.pp-rules-mini summary { cursor: pointer; font-weight: 600; }
.pp-rules-mini ol { font-size: .88rem; color: var(--pp-muted); margin-bottom: 0; }
.pp-composer { display: grid; gap: 12px; }
.pp-kinds { display: flex; gap: 6px; flex-wrap: wrap; }
.pp-kind input { position: absolute; opacity: 0; pointer-events: none; }
.pp-kind span { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--pp-line); font-size: .86rem; font-weight: 600; cursor: pointer; color: var(--pp-muted); }
.pp-kind input:checked + span { color: white; border-color: transparent; }
.pp-kind.arrival input:checked + span { background: #16a34a; }
.pp-kind.looking input:checked + span { background: #2563eb; }
.pp-kind.offer input:checked + span { background: #ea580c; }
.pp-kind input:focus-visible + span { outline: 3px solid rgba(234, 88, 12, .35); outline-offset: 2px; }
.pp-composer-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.pp-feed { display: grid; gap: 10px; }
.pp-post { padding: 14px 16px; border-radius: 16px; background: var(--pp-card); border: 1px solid var(--pp-line); }
.pp-post.premium { border-color: rgba(251, 191, 36, .45); box-shadow: 0 0 0 3px rgba(251, 191, 36, .08); }
.pp-post.mine { border-style: dashed; }
.pp-post-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pp-post p { margin: 8px 0 10px; line-height: 1.5; white-space: pre-line; }
.pp-match, .pp-matched { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--pp-line); background: transparent; color: var(--pp-ink); font-size: .82rem; font-weight: 600; }
.pp-match:hover { border-color: #fb923c; color: var(--accent); }
.pp-match.compact, .pp-matched.compact { width: 34px; height: 34px; padding: 0; justify-content: center; flex: none; }
.pp-matched { background: #dcfce7; color: #166534; border-color: #bbf7d0; }
.pp-empty { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 30px 18px; color: var(--pp-muted); }
.pp-empty > i { font-size: 2rem; }

/* Conectar / contactos */
.pp-connect { text-align: center; padding: 26px 22px; }
.pp-connect h1 { font-size: 1.5rem; font-weight: 700; margin: 12px 0 6px; letter-spacing: -.03em; }
.pp-connect-icon { width: 64px; height: 64px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 1.7rem; }
.pp-connect.mutual .pp-connect-icon { background: #dcfce7; color: #16a34a; }
.pp-connect-card { margin-top: 18px; padding: 16px; border-radius: 16px; border: 1px solid var(--pp-line); text-align: left; }
.pp-contact { list-style: none; padding: 12px 0 0; margin: 12px 0 0; border-top: 1px solid var(--pp-line); display: grid; gap: 8px; font-size: .92rem; }
.pp-contact li { display: flex; align-items: center; gap: 10px; min-width: 0; word-break: break-word; }
.pp-contact i { color: var(--pp-muted); }
.pp-contact a { color: var(--accent); text-decoration: none; font-weight: 550; }
.pp-contact-card + .pp-contact-card { margin-top: 10px; }
.pp-contact-card .pp-row { border-top: 0; padding: 0; }

@media (max-width: 860px) {
    .pp-grid, .pp-grid.radar { grid-template-columns: 1fr; }
    .pp-top { flex-direction: column; align-items: stretch; }
    .pp-tabs { justify-content: space-between; }
    .pp-tabs a { flex: 1; justify-content: center; flex-direction: column; gap: 2px; padding: 7px 4px; font-size: .74rem; }
    .pp-tabs a i { font-size: 1.1rem; }
}
@media (max-width: 480px) {
    .pp-hero { padding: 16px; gap: 14px; }
    .pp-avatar.xl { width: 58px; height: 58px; font-size: 1.4rem; }
    .pp-qr { flex-direction: column-reverse; text-align: center; }
    .pp-radar-cta { flex-wrap: wrap; }
    .pp-radar-cta .btn { width: 100%; }
}
.pp-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.pp-quick a { display: grid; gap: 2px; padding: 14px; border-radius: 16px; background: white; border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.pp-quick a:hover { border-color: #fdba74; box-shadow: 0 10px 24px -16px rgba(28, 25, 23, .3); color: var(--ink); }
.pp-quick i { font-size: 1.3rem; color: var(--accent); margin-bottom: 4px; }
.pp-quick span { font-weight: 650; }
.pp-quick small { color: var(--muted); font-size: .78rem; }
.pp-switch input { margin: 0; vertical-align: middle; }
.pp-body.premium .btn-ink { background: linear-gradient(135deg, #fde68a, #f59e0b); color: #1c1917; }
.pp-body.premium .btn-ink:hover { background: #fbbf24; color: #1c1917; }
.pp-body.premium .pp-plain, .pp-body.premium .pp-input { background: rgba(255, 255, 255, .03); }
.pp-you { margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: #f5f5f4; color: #78716c; font-size: .7rem; font-weight: 700; vertical-align: middle; }

.admin-main .btn-link { color: var(--accent); }
.admin-main .btn-link.text-danger { color: #dc2626 !important; }

/* LaPlatea · fase 2 admin: integraciones, difusión, hub */
.code-block { margin: 0 0 14px; padding: 12px 14px; border-radius: 10px; background: #1c1917; color: #e7e5e4; font-size: .76rem; line-height: 1.55; white-space: pre-wrap; word-break: break-all; }
.code-block.small { font-size: .72rem; }
.outbound-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line-2); font-size: .88rem; }
.outbound-row > i { color: var(--muted); font-size: 1.05rem; }
.outbound-row > i.bi-whatsapp { color: #16a34a; }
.outbound-status { margin-left: auto; flex: none; padding: 2px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; background: #f5f5f4; color: var(--muted); }
.outbound-status.sent { background: #dcfce7; color: #166534; }
.outbound-status.failed { background: #fee2e2; color: #991b1b; }
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.audience-option { position: relative; cursor: pointer; }
.audience-option input { position: absolute; opacity: 0; pointer-events: none; }
.audience-option span { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); background: white; font-weight: 550; font-size: .88rem; }
.audience-option small { color: var(--muted); font-weight: 600; }
.audience-option input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: #9a3412; box-shadow: 0 0 0 3px var(--accent-ring); }
.audience-option input:focus-visible + span { outline: 2px solid var(--accent); }
.tag-btn { border: 1px solid var(--line); background: var(--surface-2); border-radius: 6px; padding: 1px 7px; font-size: .76rem; font-family: ui-monospace, Menlo, Consolas, monospace; color: var(--ink-2); }
.tag-btn:hover { border-color: #fdba74; }
.hub-type { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 650; background: #f5f5f4; color: var(--ink-2); white-space: nowrap; }
.hub-type.revealed, .hub-type.meeting_accepted { background: #dcfce7; color: #166534; }
.hub-type.match, .hub-type.meeting_pending { background: #fef3c7; color: #92400e; }
.hub-type.chat { background: #f5f3ff; color: #6d28d9; }
.hub-type.meeting_declined, .hub-type.meeting_cancelled { background: #fee2e2; color: #991b1b; }
@media (max-width: 560px) { .audience-grid { grid-template-columns: 1fr 1fr; } }

/* LaPlatea · fase 2 participante: mensajes, chat, reuniones */
.pp-actions, .pp-post-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pp-contact-card .pp-actions { margin-top: 10px; }
a.pp-match { text-decoration: none; }
.pp-inbox { padding: 6px; }
.pp-thread { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; color: var(--pp-ink); text-decoration: none; }
.pp-thread:hover { background: rgba(234, 88, 12, .06); color: var(--pp-ink); }
.pp-thread + .pp-thread { border-top: 1px solid var(--pp-line); }
.pp-avatar.group { background: #f5f3ff; color: #6d28d9; border-color: #ddd6fe; }
.pp-unread { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-top: 4px; border-radius: 999px; background: var(--accent); color: white; font-size: .72rem; font-weight: 700; }
.flex-none { flex: none; }
.pp-summary { cursor: pointer; font-weight: 600; }
.pp-pick { display: flex; flex-wrap: wrap; gap: 6px; max-height: 220px; overflow: auto; }
.pp-chat-wrap { display: flex; flex-direction: column; min-height: calc(100vh - 60px); }
.pp-chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: var(--pp-card); border: 1px solid var(--pp-line); }
.pp-back { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 10px; color: var(--pp-ink); text-decoration: none; }
.pp-back:hover { background: rgba(0, 0, 0, .05); color: var(--pp-ink); }
.pp-chat { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px 4px; min-height: 50vh; }
.pp-bubble { max-width: 78%; padding: 8px 12px 6px; border-radius: 16px 16px 16px 4px; background: var(--pp-card); border: 1px solid var(--pp-line); align-self: flex-start; }
.pp-bubble.mine { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--accent); border-color: var(--accent); color: white; }
.pp-body.premium .pp-bubble.mine { background: linear-gradient(135deg, #fbbf24, #d97706); color: #1c1917; border-color: transparent; }
.pp-bubble small { display: block; font-size: .72rem; font-weight: 700; color: var(--accent); }
.pp-bubble p { margin: 0; white-space: pre-line; word-break: break-word; line-height: 1.4; }
.pp-bubble time { display: block; text-align: right; font-size: .66rem; opacity: .65; margin-top: 2px; }
.pp-chat-form { position: sticky; bottom: 0; display: flex; gap: 8px; align-items: flex-end; padding: 10px 0 14px; background: inherit; }
.pp-body .pp-chat-form { background: linear-gradient(0deg, #f6f4f1 75%, rgba(246, 244, 241, 0)); }
.pp-body.premium .pp-chat-form { background: linear-gradient(0deg, #0c0a09 75%, rgba(12, 10, 9, 0)); }
.pp-chat-form textarea { flex: 1; min-height: 46px; max-height: 140px; padding: 11px 14px; border-radius: 14px; border: 1px solid var(--pp-line); background: var(--pp-card); color: var(--pp-ink); resize: none; outline: 0; }
.pp-chat-form textarea:focus { border-color: #ea580c; box-shadow: 0 0 0 3px rgba(234, 88, 12, .14); }
.pp-chat-form .btn { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; padding: 0; }
.pp-meeting { display: flex; gap: 12px; padding: 12px 0 8px; border-top: 1px solid var(--pp-line); }
.pp-card-head + .pp-meeting { border-top: 0; padding-top: 0; }
.pp-meeting-date { width: 48px; height: 52px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 12px; background: var(--accent-soft); color: var(--accent); line-height: 1; }
.pp-meeting-date b { font-size: 1.2rem; }
.pp-meeting-date small { font-size: .7rem; text-transform: uppercase; font-weight: 700; margin-top: 2px; }
.pp-body.premium .pp-meeting-date { background: rgba(251, 191, 36, .14); color: #fbbf24; }
.pp-meeting-actions { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 0 12px 60px; }
@media (max-width: 860px) { .pp-tabs a span { font-size: .68rem; } .pp-tabs a { padding: 6px 2px; } }
.outbound-status.simulated { background: #fef3c7; color: #92400e; }

/* ==========================================================================
   Densidad y uso de espacio v3 (pantallas anchas)
   ========================================================================== */
.admin-main { max-width: 1640px; margin-inline: auto; padding: 24px 32px 56px; }
.admin-topbar { padding-inline: max(32px, calc((100% - 1640px) / 2 + 32px)); }
.page-head { margin-bottom: 20px; }
.page-head h1 { font-size: 1.6rem; }

/* KPI: tarjetas horizontales y bajas */
.metric { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px 16px; }
.metric .metric-icon { grid-row: 1 / span 2; margin: 0; width: 42px; height: 42px; font-size: 1.15rem; border-radius: 12px; }
.metric b { font-size: 1.55rem; line-height: 1.05; align-self: end; }
.metric span { align-self: start; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metric:not(:has(.metric-icon)) { display: block; }
.metric.compact { display: grid; }
.metric.compact > div:last-child { min-width: 0; }
.metric.compact b { font-size: 1.4rem; }
.kpi-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }

/* Resumen */
.dash-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: 20px; align-items: start; }
.dash-side { display: grid; gap: 20px; }
.dash-side .chart { height: 150px; }
.live-list { padding: 8px 8px 8px; }
.live-row { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: 12px; }
.live-row + .live-row { border-top: 1px solid var(--line-2); border-radius: 0; }
.live-row:hover { background: var(--surface-2); }
.live-row-main { flex: 1; min-width: 0; }
.live-row-title { display: block; font-size: 1.05rem; font-weight: 650; letter-spacing: -.02em; color: var(--ink); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-row-title:hover { color: var(--accent); }
.live-row-stats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.live-row-stats span { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: .8rem; color: var(--muted); }
.live-row-stats b { color: var(--ink); font-weight: 700; }
.live-row-stats .is-alert { background: #fff7ed; border-color: #fed7aa; color: #9a3412; }
.live-row-stats .is-alert b { color: #9a3412; }
.live-row-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; flex: none; max-width: 52%; }

/* Tus salas */
.room-event { padding: 18px 20px 20px; margin-bottom: 16px; }
.room-event-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.room-event-head h2 { margin: 0 0 2px; font-size: 1.1rem; font-weight: 650; letter-spacing: -.02em; }
.room-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.room-tile-admin { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); color: var(--ink); text-decoration: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.room-tile-admin:hover { background: white; border-color: #fdba74; box-shadow: var(--shadow-md); color: var(--ink); }
.room-tile-top { display: flex; align-items: center; gap: 10px; min-width: 0; }
.room-tile-top strong { flex: 1; min-width: 0; font-size: .98rem; }
.room-tile-top .room-icon { background: white; }
.pending-pill { flex: none; min-width: 26px; height: 24px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; background: var(--accent); color: white; font-size: .76rem; font-weight: 700; }
.room-tile-now { display: flex; align-items: center; gap: 8px; min-height: 20px; font-size: .88rem; color: var(--ink-2); }
.room-tile-now .now-dot { width: 8px; height: 8px; box-shadow: 0 0 0 3px rgba(194, 65, 12, .15); }
.room-tile-foot { display: flex; align-items: center; gap: 14px; padding-top: 10px; border-top: 1px solid var(--line-2); font-size: .8rem; color: var(--muted); }
.rta-go { margin-left: auto; color: var(--accent); font-weight: 650; }
.room-tile-admin:hover .rta-go i { transform: translateX(3px); }
.rta-go i { display: inline-block; transition: transform .15s; }

/* Eventos */
.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(460px, 1fr)); gap: 16px; }
.event-tile { display: flex; flex-direction: column; gap: 14px; padding: 18px; transition: box-shadow .15s, border-color .15s; }
.event-tile:hover { box-shadow: var(--shadow-md); border-color: #e2ded9; }
.event-tile-top { display: flex; align-items: center; gap: 12px; }
.event-tile .event-name { display: block; margin: 0; font-size: 1.08rem; font-weight: 650; letter-spacing: -.02em; }
.event-tile-stats { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface-2); }
.event-tile-stats div { padding: 10px 14px; }
.event-tile-stats div + div { border-left: 1px solid var(--line-2); }
.event-tile-stats b { display: block; font-size: 1.15rem; font-weight: 650; line-height: 1.1; }
.event-tile-stats span { font-size: .75rem; color: var(--muted); }
.event-tile-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.event-grid > .empty-box { grid-column: 1 / -1; }

/* Equipo */
.assign-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.assign-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: .82rem; font-weight: 600; }
.assign-chip i { color: var(--muted); }
.assign-chip small { color: var(--muted); font-weight: 500; }
.assign-form { display: grid; grid-template-columns: minmax(0, 1fr) 140px auto; gap: 6px; align-items: center; }
.assign-form .form-select { min-height: 34px; padding-top: 5px; padding-bottom: 5px; font-size: .86rem; }

@media (max-width: 1280px) {
    .dash-grid { grid-template-columns: 1fr; }
    .dash-side { grid-template-columns: 1fr 1fr; }
    .live-row-actions { max-width: 60%; }
}
@media (max-width: 900px) {
    .admin-main { padding: 18px 16px 48px; }
    .admin-topbar { padding-inline: 16px; }
    .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dash-side { grid-template-columns: 1fr; }
    .live-row { flex-direction: column; align-items: stretch; }
    .live-row-actions { max-width: none; justify-content: flex-start; }
    .event-grid { grid-template-columns: 1fr; }
    .room-event-head { flex-direction: column; align-items: flex-start; }
    .assign-form { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .metric .metric-icon { width: 36px; height: 36px; }
    .metric b { font-size: 1.3rem; }
}
.room-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(560px, 1fr)); gap: 16px; align-items: start; }
.room-events .room-event { margin-bottom: 0; }
.room-events > .empty-box { grid-column: 1 / -1; }
.room-tile-foot span { white-space: nowrap; }
.room-event-head > div:first-child, .room-event-head .hint { max-width: 100%; }
.card-head { flex-wrap: wrap; }
.card-head > * { min-width: 0; }
@media (max-width: 900px) {
    .room-events { grid-template-columns: 1fr; }
    .room-event-head .text-truncate { white-space: normal; }
    .live-row-main .hint.text-truncate { white-space: normal; }
}
.rta-go { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }

/* Plano de feria */
.floor-stand-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-height: 420px; overflow: auto; }
.floor-stand-row { display: grid; gap: 4px; }
.floor-stand-item { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: white; text-align: left; cursor: pointer; }
.floor-stand-item strong { display: block; font-size: .92rem; }
.floor-stand-item small { color: var(--muted); font-size: .75rem; }
.floor-stand-item.is-mapped { border-color: #fdba74; background: #fff7ed; }
.floor-stand-item.is-selected { outline: 2px solid var(--accent); outline-offset: 1px; }
.floor-stand-thumb { width: 34px; height: 34px; object-fit: contain; border-radius: 8px; background: #fff; border: 1px solid var(--line); flex: none; }
.floor-stand-logo-link { font-size: .75rem; color: var(--accent); text-decoration: none; padding-left: 4px; }
.floor-stand-logo-link:hover { text-decoration: underline; }
.stand-logo-preview { width: 96px; height: 96px; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.floor-editor { overflow: hidden; }
.floor-stage { position: relative; width: 100%; border-radius: 14px; overflow: hidden; background: #f5f5f4; touch-action: none; user-select: none; }
.floor-stage > img { display: block; width: 100%; height: auto; }
.floor-pin { position: absolute; transform: translate(-50%, -100%); border: 0; padding: 0; background: transparent; cursor: grab; z-index: 2; }
.floor-pin-chip {
    display: grid; gap: 1px; justify-items: start; min-width: 0; max-width: 140px;
    padding: 6px 10px; border-radius: 14px; background: var(--ink); color: white;
    box-shadow: 0 8px 18px rgba(28, 25, 23, .25); text-align: left;
}
.floor-pin-chip strong { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .02em; line-height: 1.1; }
.floor-pin-chip em {
    display: block; max-width: 120px; font-style: normal; font-size: .68rem; font-weight: 600;
    line-height: 1.15; opacity: .88; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.floor-pin::after { content: ''; position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; margin-left: -5px; background: var(--ink); transform: rotate(45deg); border-radius: 2px; }
.floor-pin.is-selected .floor-pin-chip, .floor-pin.is-selected::after { background: var(--accent); }
.floor-pin.public .floor-pin-chip { background: #c2410c; }
.floor-pin.public::after { background: #c2410c; }
.floor-pin.has-logo { transform: translate(-50%, -100%); }
.floor-pin.has-logo img { display: block; width: 48px; height: 48px; object-fit: contain; border-radius: 12px; background: #fff; border: 2px solid #fff; box-shadow: 0 8px 18px rgba(28, 25, 23, .28); }
.floor-pin.has-logo .floor-pin-no {
    position: absolute; right: -6px; top: -6px; min-width: 22px; height: 22px; padding: 0 5px;
    display: grid; place-items: center; font-size: .65rem; font-weight: 700; border-radius: 999px;
    background: var(--ink); color: #fff; box-shadow: 0 2px 6px rgba(28, 25, 23, .25);
}
.floor-pin.has-logo .floor-pin-name {
    display: block; max-width: 110px; margin: 4px auto 0; padding: 3px 7px; border-radius: 999px;
    background: rgba(28, 25, 23, .88); color: #fff; font-size: .65rem; font-weight: 650;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 4px 10px rgba(28, 25, 23, .2);
}
.floor-pin.has-logo.public .floor-pin-no, .floor-pin.has-logo.public .floor-pin-name { background: #c2410c; }
.floor-pin.has-logo.is-selected .floor-pin-no, .floor-pin.has-logo.is-selected .floor-pin-name { background: var(--accent); }
.floor-public { padding: 12px; }
.floor-sheet { position: fixed; inset: 0; z-index: 40; background: rgba(28, 25, 23, .45); display: grid; align-items: end; }
.floor-sheet[hidden] { display: none !important; }
.floor-sheet-card { position: relative; margin: 0; padding: 22px 18px 28px; border-radius: 22px 22px 0 0; background: white; }
.floor-sheet-card h2 { margin: 10px 0 4px; font-size: 1.25rem; }
.floor-sheet-logo { width: 64px; height: 64px; object-fit: contain; border-radius: 12px; border: 1px solid var(--line); background: #fff; }
.floor-sheet-close { position: absolute; top: 12px; right: 12px; border: 0; background: #f5f5f4; width: 36px; height: 36px; border-radius: 999px; }
@media (min-width: 720px) {
    .floor-sheet { place-items: center; }
    .floor-sheet-card { width: min(420px, calc(100% - 32px)); border-radius: 22px; }
}

/* ==========================================================================
   Participante · perfil y navegación móvil
   ========================================================================== */
.pp-col > * { min-width: 0; }
.pp-field > .pp-switch { display: flex; }
.pp-label { display: block; margin-bottom: 6px; font-size: .86rem; font-weight: 600; }
.pp-avatar.lg { width: 64px; height: 64px; font-size: 1.5rem; }
.pp-photo-pick { display: flex; align-items: center; gap: 14px; }
.pp-photo-pick .btn { cursor: pointer; }
.pp-body.premium .btn-ghost { background: transparent; color: var(--pp-ink); border-color: var(--pp-line); }
.pp-photo-pick input:focus-visible + .btn, .pp-photo-pick .btn:focus-within { outline: 3px solid rgba(234, 88, 12, .35); outline-offset: 2px; }
.pp-stats { display: none; }
.pp-hero-edit { display: none; }
.pp-qr-open { flex: none; display: grid; justify-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: var(--pp-muted); font-size: .75rem; font-weight: 600; cursor: zoom-in; }
.pp-qr-open span { display: inline-flex; align-items: center; gap: 5px; }
.pp-qr-modal .modal-content { position: relative; align-items: center; padding: 28px 22px 26px; border: 0; border-radius: 24px; text-align: center; }
.pp-qr-modal .btn-close { position: absolute; top: 14px; right: 14px; }
.pp-qr-modal h2 { margin: 6px 0 4px; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.pp-qr-modal p { margin: 0 0 16px; color: #78716c; font-size: .92rem; }
.pp-qr-modal img { width: min(78vw, 340px); height: auto; aspect-ratio: 1; padding: 12px; border-radius: 18px; background: #fff; border: 1px solid #ebe7e2; }

@media (max-width: 860px) {
    /* Barra de pestañas inferior tipo app */
    .pp-body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .pp-top { flex-direction: row; padding: 10px 0; margin: 0 -16px 6px; padding-inline: 16px; }
    .pp-event { font-size: .98rem; }
    .pp-event img { height: 28px; }
    .pp-tabs {
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
        justify-content: flex-start; gap: 0; padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
        border-radius: 0; border: 0; border-top: 1px solid var(--pp-line);
        background: color-mix(in srgb, var(--pp-card) 92%, transparent);
        -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px);
        box-shadow: 0 -8px 24px -18px rgba(28, 25, 23, .35);
        overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
    }
    .pp-tabs::-webkit-scrollbar { display: none; }
    .pp-tabs a { flex: 1 1 0; min-width: 48px; min-height: 52px; flex-direction: column; justify-content: center; gap: 3px; padding: 4px 2px; border-radius: 12px; font-size: .66rem; font-weight: 600; }
    .pp-tabs a span { font-size: .62rem; letter-spacing: -.01em; white-space: nowrap; }
    .pp-tabs a i { font-size: 1.25rem; line-height: 1; }
    .pp-tabs a.active { background: transparent; color: var(--accent); }
    .pp-tabs a.active i { display: grid; place-items: center; width: 44px; height: 28px; border-radius: 999px; background: var(--accent-soft); }
    .pp-body.premium .pp-tabs a.active { background: transparent; color: #fbbf24; }
    .pp-body.premium .pp-tabs a.active i { background: rgba(251, 191, 36, .16); }

    /* Perfil: una columna con lo útil primero y el formulario al final */
    .pp-grid { display: flex; flex-direction: column; align-items: stretch; }
    .pp-grid > .pp-col { display: contents; }
    .pp-edit { order: 99; scroll-margin-top: 70px; }

    .pp-hero { position: relative; flex-direction: column; text-align: center; gap: 10px; padding: 26px 18px 18px; }
    .pp-hero .pp-avatar.xl { width: 92px; height: 92px; font-size: 2.2rem; box-shadow: 0 0 0 5px var(--pp-card), 0 10px 24px -10px rgba(28, 25, 23, .45); }
    .pp-hero h1 { margin-top: 4px; }
    .pp-headline { display: inline-block; padding: 6px 12px; border-radius: 12px; background: var(--accent-soft); font-size: .92rem; }
    .pp-body.premium .pp-headline { background: rgba(251, 191, 36, .1); }
    .pp-stats { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; margin: 8px 0 0; padding-top: 14px; border-top: 1px solid var(--pp-line); }
    .pp-stats div + div { border-left: 1px solid var(--pp-line); }
    .pp-stats dt { order: 2; font-size: .72rem; font-weight: 600; color: var(--pp-muted); text-transform: uppercase; letter-spacing: .04em; }
    .pp-stats dd { margin: 0; font-size: 1.3rem; font-weight: 700; line-height: 1.2; }
    .pp-stats div { display: flex; flex-direction: column-reverse; }
    .pp-hero-edit { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--pp-line); color: var(--pp-ink); text-decoration: none; font-size: 1.05rem; }
    .pp-hero-edit span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

    .pp-qr { flex-direction: column-reverse; text-align: center; gap: 12px; }
    .pp-qr p { margin-bottom: 10px; }
    .pp-qr-open img { width: 184px; height: 184px; }

    .pp-radar-cta { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; }
    .pp-radar-cta .btn { grid-column: 1 / -1; width: 100%; min-height: 46px; margin: 0; }

    .pp-row { flex-wrap: wrap; row-gap: 6px; }
    .pp-row > .pp-person { flex: 1 1 100%; }
    .pp-row > .pp-state { margin-left: 50px; }

    .pp-chip span { min-height: 40px; }
    .pp-field > .pp-switch { flex-direction: row-reverse; justify-content: space-between; gap: 14px; min-height: 52px; padding: 10px 0; border-top: 1px solid var(--pp-line); }
    .pp-field > .pp-switch:last-child { border-bottom: 1px solid var(--pp-line); }
    .pp-field > .pp-switch.mt-2 { border: 0; min-height: 0; margin-top: 10px !important; }
    .pp-switch input { width: 48px; height: 28px; }
    .pp-switch input::after { width: 22px; height: 22px; }
    .pp-switch input:checked::after { transform: translateX(20px); }

    .pp-save { position: sticky; bottom: calc(80px + env(safe-area-inset-bottom)); z-index: 5; margin: 0 -6px; padding: 8px 6px 0; }
    .pp-save .btn { min-height: 50px; border-radius: 14px; font-size: 1rem; box-shadow: 0 12px 24px -12px rgba(154, 52, 18, .6); }
}
@media (max-width: 860px) and (prefers-reduced-transparency: reduce) { .pp-tabs { background: var(--pp-card); } }

/* ==========================================================================
   Participante · escritorio: app shell con barra lateral
   ========================================================================== */
@media (min-width: 861px) {
    .pp-body { --pp-side: 248px; padding-left: var(--pp-side); }
    .pp-wrap { padding: 28px 32px 48px; max-width: 1120px; }
    .pp-wrap.narrow { max-width: 820px; }
    .pp-body > .alert { max-width: 1056px; margin: 16px auto 0; }

    .pp-top {
        position: fixed; inset: 0 auto 0 0; z-index: 20; width: var(--pp-side); margin: 0;
        flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 22px;
        padding: 22px 14px 72px; border-right: 1px solid var(--pp-line); overflow-y: auto;
    }
    .pp-body .pp-top, .pp-body.premium .pp-top { background: var(--pp-card); }
    .pp-event { flex-direction: column; align-items: flex-start; gap: 10px; padding: 4px 10px 18px; border-bottom: 1px solid var(--pp-line); font-size: .98rem; line-height: 1.3; }
    .pp-event img { height: 36px; max-width: 150px; }
    .pp-event span { white-space: normal; }
    .pp-tabs { flex-direction: column; gap: 2px; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
    .pp-tabs a { gap: 12px; padding: 10px 12px; border-radius: 10px; font-size: .92rem; }
    .pp-tabs a i { width: 20px; font-size: 1.05rem; text-align: center; }
    .pp-tabs a:hover { background: color-mix(in srgb, var(--pp-ink) 5%, transparent); }
    .pp-tabs a.active { background: var(--accent-soft); color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
    .pp-body.premium .pp-tabs a.active { background: rgba(251, 191, 36, .12); color: #fbbf24; box-shadow: inset 3px 0 0 #fbbf24; }
    .pp-body > .langs { position: fixed; left: 0; bottom: 0; z-index: 21; width: var(--pp-side); justify-content: flex-start; padding: 14px 24px; border-top: 1px solid var(--pp-line); border-right: 1px solid var(--pp-line); background: var(--pp-card); }

    /* Encabezados de página: más sobrios, alineados al contenido */
    .pp-radar-head { gap: 14px; margin: 0 0 22px; padding-bottom: 20px; border-bottom: 1px solid var(--pp-line); }
    .pp-radar-head h1 { font-size: 1.6rem; }
    .pp-radar-head p { max-width: 60ch; font-size: .95rem; }
    .pp-radar-head .pp-radar-pulse { width: 44px; height: 44px; font-size: 1.15rem; border-radius: 14px; }
    .pp-radar-head .pp-radar-pulse::after { display: none; }
}

/* Estado vacío */
.pp-empty { gap: 12px; padding: 44px 24px; border-style: dashed; box-shadow: none; }
.pp-empty > i { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: var(--accent-soft); color: var(--accent); font-size: 1.7rem; }
.pp-body.premium .pp-empty > i { background: rgba(251, 191, 36, .12); color: #fbbf24; }
.pp-empty h2 { margin: 4px 0 0; color: var(--pp-ink); font-size: 1.1rem; font-weight: 650; }
.pp-empty p { max-width: 42ch; margin: 0; }
.pp-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }

/* Perfil: contenido principal + columna lateral (QR, radar, contactos) */
@media (max-width: 860px) {
    .pp-profile-grid .pp-qr, .pp-profile-grid .pp-radar-cta { order: -1; }
}
@media (min-width: 861px) {
    .pp-profile-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; }
    .pp-profile-grid > .pp-col { gap: 18px; }
    .pp-profile-grid > aside.pp-col { position: sticky; top: 28px; }
    .pp-profile-grid .pp-card { padding: 22px; }
    .pp-profile-grid .pp-qr { flex-direction: column-reverse; text-align: center; gap: 14px; }
    .pp-profile-grid .pp-qr p { margin-bottom: 10px; }
    .pp-profile-grid .pp-qr-open img { width: 168px; height: 168px; }
    .pp-profile-grid .pp-radar-cta { display: grid; grid-template-columns: auto 1fr; gap: 12px 14px; }
    .pp-profile-grid .pp-radar-cta .btn { grid-column: 1 / -1; width: 100%; margin: 0; }

    .pp-hero { gap: 20px; padding: 24px 28px; margin-bottom: 18px; }
    .pp-hero > .min-w-0 { flex: 1; }
    .pp-stats { display: flex; flex: none; margin: 0; }
    .pp-stats div { display: flex; flex-direction: column-reverse; align-items: center; min-width: 92px; padding: 2px 18px; }
    .pp-stats div + div { border-left: 1px solid var(--pp-line); }
    .pp-stats dt { font-size: .72rem; font-weight: 600; color: var(--pp-muted); text-transform: uppercase; letter-spacing: .05em; }
    .pp-stats dd { margin: 0; font-size: 1.5rem; font-weight: 700; line-height: 1.2; }

    .pp-edit h2 { font-size: 1.15rem; margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--pp-line); }
    .pp-edit .pp-field { display: grid; grid-template-columns: 180px minmax(0, 1fr); column-gap: 24px; margin-bottom: 20px; }
    .pp-edit .pp-field > .pp-label, .pp-edit .pp-field > label:not(.pp-switch) { grid-column: 1; grid-row: 1 / span 4; margin: 10px 0 0; }
    .pp-edit .pp-field > :not(.pp-label):not(label:not(.pp-switch)) { grid-column: 2; }
    .pp-edit .pp-field > .pp-switch { grid-column: 2; }
    .pp-edit .pp-save { display: flex; justify-content: flex-end; padding-top: 16px; border-top: 1px solid var(--pp-line); }
    .pp-edit .pp-save .btn { width: auto !important; min-width: 180px; }
}
@media (min-width: 861px) and (max-width: 1180px) {
    .pp-edit .pp-field { display: block; }
    .pp-edit .pp-field > .pp-label, .pp-edit .pp-field > label:not(.pp-switch) { margin: 0 0 6px; }
}

/* ==========================================================================
   Credencial de ingreso (formato gafete)
   ========================================================================== */
.pp-body.pp-solo { padding-left: 0; padding-bottom: 0; }
.pp-back { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 8px; color: var(--pp-muted); font-weight: 600; font-size: .9rem; text-decoration: none; }
.pp-back:hover { color: var(--pp-ink); }

.cr-stage { --cr-accent: var(--event-accent, var(--accent)); display: grid; justify-items: center; gap: 18px; padding: 8px 0 12px; }
.cr-badge { position: relative; width: min(100%, 380px); overflow: hidden; border-radius: 26px; background: #fff; color: #1c1917; border: 1px solid #ebe7e2; box-shadow: 0 1px 2px rgba(28, 25, 23, .05), 0 30px 60px -32px rgba(28, 25, 23, .45); }
.cr-slot { position: absolute; top: 12px; left: 50%; z-index: 2; width: 56px; height: 10px; transform: translateX(-50%); border-radius: 999px; background: rgba(0, 0, 0, .28); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .35); }

.cr-head { display: grid; justify-items: center; gap: 8px; padding: 38px 22px 58px; text-align: center; color: #fff; background:
    radial-gradient(120% 90% at 100% 0%, rgba(255, 255, 255, .18), transparent 55%),
    linear-gradient(135deg, var(--cr-accent), color-mix(in srgb, var(--cr-accent) 62%, #1c1917)); }
.cr-logo { display: grid; place-items: center; height: 44px; padding: 6px 12px; border-radius: 12px; background: #fff; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .4); }
.cr-logo img { max-height: 32px; max-width: 150px; object-fit: contain; }
.cr-event { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
.cr-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 14px; font-size: .8rem; opacity: .9; }
.cr-meta span { display: inline-flex; align-items: center; gap: 5px; }

.cr-person { display: grid; justify-items: center; gap: 4px; margin-top: -46px; padding: 0 22px 18px; text-align: center; }
.cr-avatar { width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; object-fit: cover; background: #fff4ec; color: var(--cr-accent); font-size: 2.2rem; font-weight: 700; border: 4px solid #fff; box-shadow: 0 10px 24px -12px rgba(28, 25, 23, .5); }
.cr-person h1 { margin: 8px 0 0; font-size: 1.45rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; word-break: break-word; }
.cr-person p { margin: 0; color: #78716c; font-size: .92rem; }
.cr-role { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 4px 12px; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: #f5f5f4; color: #44403c; }
.cr-role.speaker, .cr-role.speaker_sponsor { background: #1c1917; color: #fde68a; }
.cr-role.sponsor { background: #1e3a8a; color: #dbeafe; }

.cr-tear { position: relative; height: 0; margin: 0 18px; border-top: 2px dashed #e7e5e4; }
.cr-tear::before, .cr-tear::after { content: ''; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--cr-bg, #f6f4f1); border: 1px solid #ebe7e2; }
.cr-tear::before { left: -31px; clip-path: inset(0 0 0 50%); }
.cr-tear::after { right: -31px; clip-path: inset(0 50% 0 0); }

.cr-pass { display: grid; justify-items: center; gap: 6px; padding: 22px 22px 26px; text-align: center; }
.cr-qr { width: min(100%, 236px); padding: 12px; border-radius: 18px; background: #fff; border: 1px solid #ebe7e2; }
.cr-qr img { display: block; width: 100%; height: auto; aspect-ratio: 1; image-rendering: pixelated; }
.cr-code { margin: 10px 0 0; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 1.7rem; font-weight: 700; letter-spacing: .22em; padding-left: .22em; }
.cr-hint { max-width: 32ch; margin: 0; color: #78716c; font-size: .86rem; }
.cr-pending h2 { margin: 6px 0 0; font-size: 1.05rem; font-weight: 650; }
.cr-pending-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: #fff4ec; color: var(--cr-accent); font-size: 1.4rem; }

.cr-actions { display: grid; justify-items: center; gap: 12px; width: min(100%, 380px); }
.cr-tip { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--pp-muted); font-size: .84rem; text-align: center; }
.cr-tip i { color: #f59e0b; }
.cr-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pp-body.premium .cr-buttons .btn-ghost { background: transparent; color: var(--pp-ink); border-color: var(--pp-line); }

.pp-body.premium .cr-stage { --cr-bg: #0c0a09; }
.pp-body.premium .cr-tear::before, .pp-body.premium .cr-tear::after { border-color: transparent; }
.cr-badge.premium { border-color: rgba(251, 191, 36, .45); box-shadow: 0 30px 60px -28px rgba(251, 191, 36, .35); }
.cr-badge.premium .cr-head { background: radial-gradient(120% 90% at 100% 0%, rgba(251, 191, 36, .28), transparent 55%), linear-gradient(135deg, #292524, #0c0a09); }
.cr-badge.premium .cr-avatar { background: linear-gradient(135deg, #fde68a, #b45309); color: #1c1917; }

@media (max-width: 860px) {
    .cr-stage { padding-top: 0; }
}
@media print {
    body.pp-body { padding: 0 !important; background: #fff !important; }
    .pp-top, .pp-back, .cr-actions, .langs, .alert { display: none !important; }
    .pp-wrap { padding: 0; }
    .cr-stage { padding: 0; }
    .cr-badge { box-shadow: none; border-color: #d6d3d1; break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .cr-slot { display: none; }
}

/* ==========================================================================
   Participante · páginas internas (radar, mensajes, reuniones, contactos, mi espacio)
   ========================================================================== */
.pp-head-action { flex: none; align-self: center; }
.pp-section-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 2px -2px; }
.pp-section-head h2 { margin: 0; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--pp-muted); }
.pp-card h2 > i { margin-right: 8px; color: var(--accent); }
.pp-body.premium .pp-card h2 > i { color: #fbbf24; }
.pp-empty.compact { padding: 28px 20px; }
.pp-empty.compact > i { width: 48px; height: 48px; font-size: 1.3rem; border-radius: 16px; }
.pp-match.danger:hover { border-color: #fca5a5; color: #dc2626; }

/* Radar */
.pp-rules { max-width: 640px; }
.pp-rules-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 12px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); font-size: 1.4rem; }
.pp-rules h2 { font-size: 1.25rem; }
.pp-rules ol { counter-reset: rule; list-style: none; padding: 0; gap: 0; margin: 14px 0 18px; border: 1px solid var(--pp-line); border-radius: 14px; }
.pp-rules ol li { counter-increment: rule; position: relative; padding: 12px 14px 12px 48px; }
.pp-rules ol li + li { border-top: 1px solid var(--pp-line); }
.pp-rules ol li::before { content: counter(rule); position: absolute; left: 14px; top: 11px; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: .75rem; font-weight: 700; }
.pp-composer-title { margin: 0 !important; font-size: 1rem !important; }
.pp-composer textarea { min-height: 96px; }
.pp-post { padding: 16px 18px; border-radius: 18px; transition: border-color .15s, box-shadow .15s; }
.pp-post:hover { box-shadow: 0 12px 28px -22px rgba(28, 25, 23, .45); }
.pp-post-head { margin-bottom: 10px; }
.pp-post p { margin: 10px 0 12px; }
.pp-post-actions { padding-top: 12px; border-top: 1px solid var(--pp-line); }
.pp-rules-mini { padding: 14px 18px; }
.pp-rules-mini summary { list-style: none; display: flex; align-items: center; gap: 8px; }
.pp-rules-mini summary::-webkit-details-marker { display: none; }
.pp-rules-mini summary::after { content: '\F282'; font-family: 'bootstrap-icons'; margin-left: auto; color: var(--pp-muted); transition: transform .15s; }
.pp-rules-mini[open] summary::after { transform: rotate(180deg); }
.pp-rules-mini summary i { color: var(--accent); }

/* Mensajes */
.pp-inbox { padding: 6px; overflow: hidden; }
.pp-thread { padding: 12px 12px; border-radius: 14px; }
.pp-thread + .pp-thread { border-top: 0; box-shadow: 0 -1px 0 var(--pp-line); }
.pp-thread .pp-avatar { width: 46px; height: 46px; }
.pp-thread-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pp-thread-top, .pp-thread-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }
.pp-thread-top small { flex: none; color: var(--pp-muted); font-size: .76rem; }
.pp-thread-bottom > span:first-child { color: var(--pp-muted); font-size: .9rem; }
.pp-thread .pp-unread { margin: 0; flex: none; }
.pp-thread.unread strong { font-weight: 700; }
.pp-thread.unread .pp-thread-bottom > span:first-child { color: var(--pp-ink); font-weight: 550; }
.pp-thread.unread .pp-thread-top small { color: var(--accent); font-weight: 650; }
.pp-group-new { margin-top: 14px; padding: 0; overflow: hidden; }
.pp-group-new summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.pp-group-new summary::-webkit-details-marker { display: none; }
.pp-group-new summary strong { display: block; font-size: .95rem; }
.pp-group-new summary small { display: block; color: var(--pp-muted); font-weight: 500; font-size: .82rem; }
.pp-summary-icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; background: #f5f3ff; color: #6d28d9; }
.pp-summary-caret { margin-left: auto; color: var(--pp-muted); transition: transform .15s; }
.pp-group-new[open] .pp-summary-caret { transform: rotate(180deg); }
.pp-group-new form { padding: 0 18px 18px; border-top: 1px solid var(--pp-line); padding-top: 16px; }
.pp-pick { max-height: 240px; }

/* Reuniones */
.pp-tally { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 14px; }
.pp-tally a { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 10px; align-items: center; padding: 14px; border-radius: 16px; background: var(--pp-card); border: 1px solid var(--pp-line); color: var(--pp-ink); text-decoration: none; transition: border-color .15s; }
.pp-tally a:hover { border-color: #fdba74; color: var(--pp-ink); }
.pp-tally i { grid-row: 1 / span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: #f5f5f4; color: var(--pp-muted); font-size: 1.05rem; }
.pp-tally b { font-size: 1.35rem; line-height: 1.1; }
.pp-tally span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--pp-muted); font-size: .78rem; font-weight: 600; }
.pp-tally a.attention { border-color: #fdba74; background: var(--accent-soft); }
.pp-tally a.attention i { background: var(--accent); color: #fff; }
.pp-meetings + .pp-meetings { margin-top: 14px; }
.pp-meeting { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: start; gap: 14px; padding: 14px 0; }
.pp-meeting.closed { opacity: .7; }
.pp-meeting-body { min-width: 0; }
.pp-meeting-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; color: var(--pp-muted); font-size: .86rem; }
.pp-meeting-meta span { display: inline-flex; align-items: center; gap: 5px; }
.pp-meeting-note { margin: 8px 0 0; padding: 8px 12px; border-radius: 10px; background: color-mix(in srgb, var(--pp-ink) 4%, transparent); font-size: .88rem; font-style: italic; }
.pp-meeting-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; padding: 0; }

/* Contactos */
.pp-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.pp-filter { display: inline-flex; gap: 2px; padding: 4px; border-radius: 12px; background: var(--pp-card); border: 1px solid var(--pp-line); }
.pp-filter button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 0; border-radius: 9px; background: transparent; color: var(--pp-muted); font-size: .86rem; font-weight: 600; }
.pp-filter button b { padding: 0 6px; border-radius: 999px; background: color-mix(in srgb, var(--pp-ink) 7%, transparent); font-size: .74rem; }
.pp-filter button.active { background: var(--accent-soft); color: var(--accent); }
.pp-search { position: relative; flex: 1 1 220px; max-width: 320px; }
.pp-search i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--pp-muted); }
.pp-search input { width: 100%; min-height: 42px; padding: 8px 12px 8px 38px; border-radius: 12px; border: 1px solid var(--pp-line); background: var(--pp-card); color: var(--pp-ink); font-size: .92rem; outline: 0; }
.pp-search input:focus { border-color: #ea580c; box-shadow: 0 0 0 3px rgba(234, 88, 12, .14); }
.pp-contact-grid { display: grid; gap: 12px; }
.pp-contact-grid .pp-contact-card { margin: 0 !important; }
.pp-contact-card[hidden] { display: none; }
.pp-no-results { padding: 20px; text-align: center; }

/* Mi espacio */
.pp-live { display: inline-flex; align-items: center; gap: 8px; align-self: center; padding: 6px 12px; border-radius: 999px; background: #dcfce7; color: #166534; font-size: .8rem; font-weight: 700; }
.pp-live span { width: 8px; height: 8px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 4px rgba(22, 163, 74, .2); }
.pp-me { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px; }
.pp-me .btn { grid-column: 1 / -1; }
.pp-me strong { font-size: 1.02rem; }
.pp-me-code { display: inline-block; margin-top: 2px; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .14em; color: var(--accent); }
.pp-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.pp-quick a { background: var(--pp-card); border-color: var(--pp-line); color: var(--pp-ink); }
.pp-quick small { color: var(--pp-muted); }
.pp-room + .pp-room { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--pp-line); }
.pp-room-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.pp-room-head h3 { margin: 0; font-size: .95rem; font-weight: 700; }
.pp-room-head h3 i { margin-right: 6px; color: var(--pp-muted); }
.pp-talk { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; padding: 12px 0; position: relative; }
.pp-talk + .pp-talk { border-top: 1px dashed var(--pp-line); }
.pp-talk-time { display: grid; align-content: start; text-align: right; font-variant-numeric: tabular-nums; }
.pp-talk-time b { font-size: .95rem; }
.pp-talk-time small { color: var(--pp-muted); font-size: .76rem; }
.pp-talk-body { display: grid; gap: 3px; min-width: 0; padding-left: 14px; border-left: 3px solid var(--accent); }
.pp-talk-body strong { font-size: .98rem; line-height: 1.35; }
.pp-talk-person { color: var(--pp-muted); font-size: .86rem; }
.pp-talk-person em { font-style: normal; font-weight: 650; margin-right: 4px; }
.pp-talk.is-break .pp-talk-body { border-left-color: var(--pp-line); }
.pp-talk.is-break strong { color: var(--pp-muted); font-weight: 600; }
.pp-rate-row { margin: 0 0 14px; padding: 0; border: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; }
.pp-rate-row legend { float: left; width: auto; margin: 0; font-size: .92rem; font-weight: 600; }
.pp-rate-row .pp-error { width: 100%; }
.pp-rate { display: inline-flex; gap: 6px; }
.pp-rate label { position: relative; }
.pp-rate input { position: absolute; opacity: 0; pointer-events: none; }
.pp-rate span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--pp-line); font-weight: 650; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.pp-rate label:hover span { border-color: #fdba74; }
.pp-rate input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.pp-rate input:focus-visible + span { outline: 3px solid rgba(234, 88, 12, .35); outline-offset: 2px; }
.pp-rate-scale { display: flex; justify-content: space-between; margin: -4px 0 16px; color: var(--pp-muted); font-size: .76rem; }
.pp-averages { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--pp-line); }
.pp-averages-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.pp-averages-head h3 { margin: 0; font-size: .95rem; font-weight: 700; }
.pp-averages-head span { color: var(--pp-muted); font-size: .84rem; }
.pp-averages-head b { color: var(--pp-ink); font-size: 1.15rem; }
.pp-bar { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 40px; align-items: center; gap: 12px; padding: 5px 0; font-size: .86rem; }
.pp-bar-track { height: 8px; border-radius: 999px; background: color-mix(in srgb, var(--pp-ink) 7%, transparent); overflow: hidden; }
.pp-bar-track span { display: block; height: 100%; border-radius: inherit; background: var(--accent); }
.pp-bar b { text-align: right; font-variant-numeric: tabular-nums; }

/* Acceso sin sesión */
.pp-auth { max-width: 460px; padding-top: 48px; }
.pp-auth-brand { display: grid; justify-items: center; gap: 6px; margin-bottom: 18px; text-align: center; }
.pp-auth-brand img { max-height: 44px; max-width: 170px; object-fit: contain; margin-bottom: 6px; }
.pp-auth-brand a { color: var(--pp-ink); font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.pp-auth-brand span { color: var(--pp-muted); font-size: .86rem; }
.pp-auth-card { padding: 26px; }
.pp-auth-card h1 { margin: 0 0 6px; font-size: 1.35rem; font-weight: 700; letter-spacing: -.02em; }
.pp-auth-icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 14px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); font-size: 1.25rem; }
.pp-code-input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .3em; font-size: 1.15rem; }
.pp-auth-foot { margin-top: 16px; text-align: center; color: var(--pp-muted); font-size: .92rem; }
.pp-auth-foot a { color: var(--accent); font-weight: 650; text-decoration: none; }

@media (min-width: 861px) {
    .pp-aside { position: sticky; top: 28px; }
    .pp-grid.radar { gap: 18px; }
    .pp-home-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; }
    .pp-home-grid > .pp-col { gap: 18px; }
    .pp-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}
@media (max-width: 860px) {
    .pp-radar-head { flex-wrap: wrap; }
    .pp-head-action span { display: none; }
    .pp-head-action { width: 42px; height: 42px; padding: 0; border-radius: 999px; }
    .pp-home-grid { display: flex; flex-direction: column; align-items: stretch; }
    .pp-home-grid > .pp-col { display: contents; }
    .pp-home-grid .pp-aside > * { order: -1; }
    .pp-meeting { grid-template-columns: 48px minmax(0, 1fr); }
    .pp-meeting-actions { grid-column: 2; justify-content: flex-start; }
    .pp-tally { gap: 8px; }
    .pp-tally a { grid-template-columns: 1fr; grid-template-rows: auto; justify-items: center; text-align: center; padding: 12px 8px; row-gap: 4px; }
    .pp-tally i { grid-row: auto; }
    .pp-tally span { white-space: normal; font-size: .72rem; line-height: 1.2; }
    .pp-toolbar { flex-direction: column; align-items: stretch; }
    .pp-filter { display: flex; }
    .pp-filter button { flex: 1; justify-content: center; padding: 8px 6px; }
    .pp-search { max-width: none; flex-basis: auto; }
    .pp-auth { padding-top: 24px; }
    .pp-rate-row { flex-direction: column; align-items: stretch; }
    .pp-rate { display: grid; grid-template-columns: repeat(5, 1fr); }
    .pp-rate span { width: 100%; height: 44px; }
    .pp-bar { grid-template-columns: minmax(0, 1fr) 80px 36px; }
}
.pp-talk.untimed { grid-template-columns: minmax(0, 1fr); }
.pp-aside .pp-quick { grid-template-columns: 1fr; gap: 0; padding: 6px; border-radius: 18px; background: var(--pp-card); border: 1px solid var(--pp-line); }
.pp-aside .pp-quick a { grid-template-columns: 38px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 0; align-items: center; padding: 10px 12px; border: 0; border-radius: 12px; background: transparent; }
.pp-aside .pp-quick a:hover { background: color-mix(in srgb, var(--pp-ink) 4%, transparent); box-shadow: none; }
.pp-aside .pp-quick i { grid-row: 1 / span 2; display: grid; place-items: center; width: 38px; height: 38px; margin: 0; border-radius: 12px; background: var(--accent-soft); font-size: 1.05rem; }
.pp-thread { position: relative; }
.pp-thread + .pp-thread { box-shadow: none; }
.pp-thread + .pp-thread::before { content: ''; position: absolute; top: 0; left: 70px; right: 12px; border-top: 1px solid var(--pp-line); }
.pp-thread:hover::before, .pp-thread:hover + .pp-thread::before { opacity: 0; }
