@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; }

:root {
    --bg: #0a0a0c;
    --bg-2: #111114;
    --card: #161618;
    --card-hover: #1c1c1f;
    --accent: #c8973e;
    --accent-hover: #d4a840;
    --accent-soft: rgba(200, 151, 62, 0.12);
    --accent-glow: rgba(200, 151, 62, 0.25);
    --text: #f0ece4;
    --muted: #b0aaa0;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(200, 151, 62, 0.35);
    --radius: 1rem;
    --radius-lg: 1.25rem;
    --danger: #ef4444;
    --success: #16a34a;
    --font: 'Inter', 'Segoe UI', system-ui, sans-serif;
    --consent-bar-h: 88px;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    font-size: 17px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: calc(var(--consent-bar-h) + env(safe-area-inset-bottom, 0px));
}

body.consent-sheet-open {
    overflow: hidden;
}

.hidden { display: none !important; }

/* Hero */
.hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
    padding: 2rem 2rem 3rem;
    max-width: 1100px;
    margin: 0 auto;
    overflow: visible;
}

.hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(600px, 90vw);
    height: 400px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero > *:not(.hero-glow) {
    position: relative;
    z-index: 1;
}

.hero .badge {
    display: inline-block;
    background: var(--accent);
    color: #0a0a0c;
    font-weight: 800;
    font-size: 0.8rem;
    padding: 0.45rem 1.4rem;
    border-radius: 2rem;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(2.4rem, 6vw, 3.75rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.hero-accent {
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.note {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

/* Form card */
.form-card {
    width: min(760px, 100%);
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: left;
    background: rgba(22, 22, 24, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(200, 151, 62, 0.06);
}

.step-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 1.5rem;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #333;
    border: 2px solid #444;
    transition: all 0.25s;
    flex-shrink: 0;
}

.step-dot.is-active {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
    transform: scale(1.15);
}

.step-dot.is-done {
    background: var(--accent-soft);
    border-color: var(--accent);
}

.step-line {
    flex: 1;
    max-width: 60px;
    height: 2px;
    background: #333;
    margin: 0 4px;
    transition: background 0.25s;
}

.step-line.is-done {
    background: var(--accent);
}

.form-step-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.form-group {
    margin-bottom: 1.1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #ccc;
}

.form-group input,
.form-group select,
.participant-row input {
    width: 100%;
    padding: 0.8rem 1rem;
    background: #1a1a1e;
    border: 1px solid #333;
    border-radius: 0.75rem;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.participant-row input:focus,
.combobox-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-group select:disabled {
    opacity: 0.5;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Combobox */
.combobox {
    position: relative;
}

.combobox-input {
    width: 100%;
    padding: 0.8rem 2.75rem 0.8rem 1rem;
    background: #1a1a1e;
    border: 1px solid #333;
    border-radius: 0.75rem;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.combobox-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: var(--muted);
    border-radius: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.combobox-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s;
}

.combobox.open .combobox-toggle svg {
    transform: rotate(180deg);
}

.combobox.open .combobox-input {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-soft);
}

.combobox-portal {
    position: fixed;
    z-index: 10000;
    background: #1a1a1e;
    border: 1px solid var(--border-strong);
    border-radius: 0.75rem;
    overflow-y: auto;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
}

.combobox-list {
    margin-top: 6px;
    max-height: 240px;
    overflow-y: auto;
    background: #1a1a1e;
    border: 1px solid var(--border-strong);
    border-radius: 0.75rem;
}

.combobox-option {
    padding: 0.7rem 1rem;
    cursor: pointer;
    color: var(--text);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
    transition: background 0.15s;
}

.combobox-option:last-child {
    border-bottom: none;
}

.combobox-option:hover,
.combobox-option.active {
    background: var(--accent-soft);
}

.combobox-option.empty {
    color: var(--muted);
    cursor: default;
    font-style: italic;
}

.combobox-option mark {
    background: transparent;
    color: var(--accent);
    font-weight: 700;
}

.field-hint {
    font-size: 0.82rem;
    color: var(--muted);
    margin: -0.2rem 0 0.75rem;
}

.form-group-calendar {
    margin-top: 0.5rem;
}

/* Training calendar */
.training-calendar-wrap {
    width: 100%;
}

.training-calendar {
    background: #141416;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
    padding: 1rem 1.1rem 1.1rem;
}

.cal-header {
    text-align: center;
    margin-bottom: 0.85rem;
}

.cal-month {
    display: block;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 0.02em;
}

.cal-capacity-note {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.03em;
}

.cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 6px;
}

.cal-weekdays span {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.cal-day {
    aspect-ratio: 1;
    min-height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 0.65rem;
    font-size: 0.95rem;
    line-height: 1.1;
}

.cal-day-empty {
    visibility: hidden;
}

.cal-day-disabled {
    color: #3a3a3e;
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.85rem;
    cursor: default;
}

.cal-day-full {
    border: 1px solid rgba(239, 68, 68, 0.22);
    background: rgba(239, 68, 68, 0.06);
    color: #666;
    cursor: not-allowed;
}

.cal-day-full .cal-day-num {
    color: #777;
}

.cal-day-full .cal-day-wd,
.cal-day-full .cal-day-seats {
    color: #ef4444;
}

.cal-day-available {
    border: 1px solid rgba(200, 151, 62, 0.45);
    background: rgba(200, 151, 62, 0.08);
    color: var(--text);
    cursor: pointer;
    font-family: inherit;
    padding: 0;
    transition: all 0.2s;
}

.cal-day-available:hover {
    background: rgba(200, 151, 62, 0.18);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.cal-day-available.is-selected {
    background: var(--accent);
    border-color: var(--accent);
    color: #0a0a0c;
    box-shadow: 0 0 20px var(--accent-glow);
}

.cal-day-available.is-selected .cal-day-wd {
    color: rgba(10, 10, 12, 0.75);
}

.cal-day-num {
    font-size: 1.1rem;
    font-weight: 800;
}

.cal-day-wd {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 2px;
    text-transform: uppercase;
}

.cal-day-seats {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
    margin-top: 5px;
    line-height: 1;
}

.cal-day-seats-num {
    font-size: 0.72rem;
    font-weight: 800;
    color: #6ee7a0;
}

.cal-day-seats-label {
    font-size: 0.58rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.02em;
}

.cal-day-seats-full {
    font-size: 0.58rem;
    font-weight: 700;
    color: #ef4444;
}

.cal-day-available.is-selected .cal-day-seats-num {
    color: #0a0a0c;
}

.cal-day-available.is-selected .cal-day-seats-label {
    color: rgba(10, 10, 12, 0.65);
}

.cal-legend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.85rem;
    font-size: 0.78rem;
    color: var(--muted);
}

.cal-legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: rgba(200, 151, 62, 0.35);
    border: 1px solid var(--accent);
    flex-shrink: 0;
}

.cal-selected {
    margin-top: 0.65rem;
    padding: 0.65rem 0.85rem;
    background: #1a1a1e;
    border-radius: 0.65rem;
    font-size: 0.88rem;
    color: var(--muted);
    text-align: center;
}

.cal-selected.has-selection {
    color: var(--accent);
    font-weight: 600;
    border: 1px solid var(--border-strong);
}

/* Participants */
.participant-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.participant-remove {
    width: 42px;
    height: 42px;
    border-radius: 0.75rem;
    border: 1px solid #333;
    background: #1a1a1e;
    color: var(--muted);
    cursor: pointer;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.participant-remove:hover {
    color: var(--danger);
    border-color: var(--danger);
}

.add-participant-btn {
    background: none;
    border: 1px dashed #444;
    color: var(--accent);
    padding: 0.55rem 1rem;
    border-radius: 0.75rem;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    margin-bottom: 0.5rem;
    font-family: inherit;
    font-size: 0.9rem;
}

.add-participant-btn:hover {
    border-color: var(--accent);
    background: var(--accent-soft);
}

/* Buttons */
.btn {
    display: inline-block;
    background: var(--accent);
    color: #0a0a0c;
    font-weight: 800;
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
    border-radius: 3rem;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
}

.btn:hover:not(:disabled) {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-full {
    width: 100%;
}

.btn-ghost {
    background: transparent;
    color: var(--muted);
    border: 1px solid #444;
    font-weight: 600;
}

.btn-ghost:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.04);
    transform: none;
    box-shadow: none;
}

.btn-consent {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Alerts */
.alert {
    display: none;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.88rem;
}

.alert.show { display: block; }

.alert.error {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Success */
.success-screen {
    width: min(760px, 100%);
    max-width: 760px;
    margin: 0 auto 2rem;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
}

.success-screen h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.success-summary {
    text-align: left;
    margin-top: 1rem;
    padding: 1rem;
    background: #1a1a1e;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    color: var(--muted);
}

.success-summary strong { color: #fff; }

/* Consent bar + sheet */
.consent-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: transparent;
    border: none;
    padding: 0 1.25rem 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.consent-bar-inner {
    pointer-events: auto;
    width: min(640px, 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    background: rgba(16, 16, 18, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 0.85rem 1.25rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
}

.consent-bar.is-accepted .consent-bar-inner {
    border-color: rgba(22, 163, 74, 0.45);
    background: rgba(16, 24, 18, 0.96);
}

.consent-bar-inner p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
    flex: 1;
    min-width: 200px;
}

.consent-bar.is-accepted .consent-bar-inner p {
    color: var(--success);
}

.consent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.consent-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.consent-sheet {
    position: fixed;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    left: 50%;
    z-index: 9600;
    width: min(640px, calc(100% - 2.5rem));
    background: #161618;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 1.5rem 1.5rem 1.25rem;
    max-height: min(85vh, 640px);
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
    transform: translateX(-50%) translateY(calc(100% + 2rem));
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.consent-sheet.is-open {
    transform: translateX(-50%) translateY(0);
}

.consent-sheet-handle {
    width: 40px;
    height: 4px;
    background: #444;
    border-radius: 2px;
    margin: 0 auto 1.25rem;
}

.consent-sheet h2 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.consent-sheet-body {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.consent-sheet-body p {
    margin-bottom: 0.75rem;
}

.consent-sheet-actions {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

/* Sections */
.section {
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    padding: 3.25rem 2rem;
    gap: 2.5rem;
    align-items: flex-start;
}

.section-last {
    border-bottom: none;
}

.section-num {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    min-width: 40px;
    padding-top: 0.3rem;
    letter-spacing: 0.05em;
}

.section-body { flex: 1; }

.section-body-center { text-align: center; }

.section-subhead {
    margin-top: 2rem !important;
}

.venue-directions {
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.venue-directions strong {
    color: var(--text);
    font-weight: 700;
}

.venue-directions a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.venue-directions a:hover {
    text-decoration: underline;
}

h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
    color: #fff;
}

p { color: var(--muted); margin-bottom: 0.6rem; font-weight: 600; }

.timeline-item {
    display: flex;
    gap: 1.25rem;
    padding: 0.75rem 0;
    align-items: baseline;
    flex-wrap: wrap;
}

.timeline-item:last-child { padding-bottom: 0; }

.tl-time {
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
    font-size: 0.85rem;
    min-width: 100px;
    font-variant-numeric: tabular-nums;
}

.tl-text { color: var(--muted); font-size: 0.95rem; flex: 1; min-width: 0; font-weight: 600; }
.tl-text strong { color: #fff; display: block; margin-bottom: 0.35rem; }

.tl-sublist {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
}

.tl-sublist li {
    position: relative;
    padding: 0.2rem 0 0.2rem 1rem;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.tl-sublist li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--accent);
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
    align-items: stretch;
}

.cards-intro {
    margin: -0.35rem 0 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
    line-height: 1.5;
}

.card {
    background: var(--card);
    border: none;
    border-radius: var(--radius);
    padding: 1.1rem 1.2rem;
    text-align: left;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.card:hover {
    box-shadow: inset 0 0 0 1px rgba(200, 151, 62, 0.35);
    transform: translateY(-2px);
}

.card h4 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.25;
}

.card p {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text);
}

.speakers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.speaker-card {
    background: linear-gradient(145deg, #1a1a1e 0%, #141416 100%);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    padding: 2rem 1.75rem;
    text-align: center;
    transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.speaker-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--accent-soft);
}

.speaker-photo {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(200, 151, 62, 0.25), rgba(200, 151, 62, 0.05));
    border: 2px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.speaker-photo svg {
    width: 40px;
    height: 40px;
}

.speaker-name {
    font-weight: 800;
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
    letter-spacing: -0.01em;
}

.speaker-role {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.speaker-bio {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
    font-weight: 500;
}

.prog-block { margin-bottom: 1.75rem; }

.prog-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.prog-list li {
    padding: 0.45rem 0 0.45rem 0.1rem;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
}

.prog-list li::before {
    content: "—";
    color: var(--accent);
    margin-right: 0.6rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-list li {
    padding: 0.4rem 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.benefits-list li::before {
    content: "✓";
    color: var(--success);
    font-weight: 700;
    margin-right: 0.6rem;
}

/* Outcomes sections 06–07 */
.section-outcomes {
    padding-bottom: 2.75rem;
}

.section-outcomes .section-body {
    max-width: 920px;
}

.section-outcomes .section-body h2 {
    margin-bottom: 1rem;
}

/* Block 06 — unified 2×2 grid */
.outcomes-board {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    align-items: start;
}

.outcomes-panel {
    background: rgba(22, 22, 24, 0.85);
    border-radius: var(--radius-lg);
    padding: 1.1rem 1.15rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.outcomes-panel-title,
.outcomes-group-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 0.7rem;
}

.outcomes-bonus-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-lg);
    background: rgba(200, 151, 62, 0.11);
}

.outcomes-bonus-icon {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(200, 151, 62, 0.22);
    color: var(--accent);
}

.outcomes-bonus-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

.outcomes-bonus-body {
    min-width: 0;
}

.outcomes-bonus-label {
    display: block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.2rem;
}

.outcomes-bonus-body p {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
}

.outcomes-layout {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.outcomes-groups-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.outcomes-group {
    background: rgba(22, 22, 24, 0.85);
    border: none;
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.3rem;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.outcomes-group-full {
    padding: 1.3rem 1.35rem;
}

.outcomes-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.outcomes-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.96rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--text);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0.65rem;
    border: none;
}

.outcomes-checklist li::before {
    content: "✓";
    color: #4ade80;
    font-weight: 800;
    font-size: 0.82rem;
    line-height: 1.5;
    flex-shrink: 0;
    width: 1.1rem;
    text-align: center;
}

.outcomes-checklist-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0.85rem;
    row-gap: 0.45rem;
}

.outcomes-checklist-split li {
    padding: 0.55rem 0.7rem;
}

.result-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
}

.result-card {
    text-align: center;
    padding: 1.15rem 0.85rem;
    background: rgba(22, 22, 24, 0.85);
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.result-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.5rem;
    border-radius: 50%;
    background: var(--accent-soft);
    border: none;
    color: var(--accent);
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

.result-card-label {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.35;
}

.benefit-cards {
    display: grid;
    gap: 0.85rem;
}

.benefit-cards-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.benefit-cards-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.15rem 1.2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.benefit-card:hover {
    border-color: var(--border-strong);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.benefit-card-compact {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    min-height: 100%;
}

.benefit-card-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 0.7rem;
    background: var(--accent-soft);
    border: 1px solid var(--border-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.benefit-card-icon svg {
    width: 22px;
    height: 22px;
}

.benefit-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--text);
}

.result-strip {
    margin-top: 1.25rem;
    padding: 1.1rem 1.25rem;
    background: linear-gradient(
        135deg,
        rgba(200, 151, 62, 0.1) 0%,
        rgba(22, 22, 24, 0.95) 60%
    );
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem 1.25rem;
}

.result-strip-label {
    font-weight: 800;
    color: var(--accent);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.result-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    flex: 1;
}

.result-metric {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.95rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 2rem;
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 600;
    line-height: 1.3;
}

.result-metric::before {
    content: "✓";
    color: var(--success);
    font-weight: 800;
    margin-right: 0.45rem;
    font-size: 0.75rem;
}

.result-box {
    background: #1a1a1e;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-top: 1.5rem;
    text-align: center;
}

.result-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #fff;
}

.result-text { color: var(--muted); margin: 0; font-size: 0.9rem; }

.dates-hint {
    display: none;
}

/* CTA band */
.cta-band {
    max-width: 1100px;
    margin: 0 auto 0;
    padding: 1rem 2rem 3rem;
}

.cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 2.25rem 2.25rem;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(200, 151, 62, 0.14) 0%, rgba(22, 22, 24, 0.95) 55%);
    border: none;
    box-shadow: inset 0 0 0 1px rgba(200, 151, 62, 0.28), 0 20px 50px rgba(0, 0, 0, 0.35);
}

.cta-band-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.cta-band-text h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.cta-band-text p {
    margin: 0;
    max-width: 480px;
    font-size: 0.95rem;
}

.btn-cta {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Footer */
.site-footer {
    padding: 2.5rem 2rem 1.5rem;
    background: #080809;
}

.site-footer-minimal {
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    border-top: none;
    background: transparent;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-logo {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 0.35rem;
}

.footer-brand p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--muted);
}

.footer-contacts {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.footer-contact {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    min-width: 200px;
}

.footer-contact-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.footer-contact strong {
    display: block;
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.footer-contact span:last-child {
    font-size: 0.82rem;
    color: var(--accent);
}

.footer-copy {
    text-align: center;
    margin: 0;
    font-size: 0.82rem;
    color: #666;
}

.site-footer-minimal .footer-copy {
    color: #555;
}

footer {
    text-align: center;
    padding: 3rem 2rem 5rem;
    color: #555;
    font-size: 0.85rem;
}

.consent-footer {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    color: #444;
    font-size: 0.78rem;
    line-height: 1.5;
}

/* Admin (unchanged essentials) */
.login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.login-card {
    width: 100%;
    max-width: 400px;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.admin-shell {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.admin-tab {
    padding: 0.55rem 1.15rem;
    border-radius: 2rem;
    border: 1px solid var(--border);
    background: #1a1a1e;
    color: var(--muted);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-tab:hover {
    border-color: var(--border-strong);
    color: var(--text);
}

.admin-tab.is-active {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
}

.admin-panel.hidden {
    display: none !important;
}

.overview-hint {
    margin: 0 0 1.25rem;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.5;
    max-width: 900px;
}

.overview-heading {
    font-size: 1.05rem;
    margin: 1.75rem 0 0.85rem;
    color: var(--text);
}

.admin-table-wrap-wide {
    overflow-x: auto;
}

.admin-matrix th.matrix-date-col {
    text-align: center;
    white-space: nowrap;
    min-width: 3.5rem;
    font-size: 0.78rem;
}

.matrix-col-sub {
    display: block;
    font-size: 0.65rem;
    color: var(--muted);
    font-weight: 600;
    margin-top: 0.15rem;
}

.matrix-contragent {
    font-weight: 700;
    min-width: 140px;
    max-width: 220px;
}

.matrix-store {
    min-width: 160px;
    max-width: 260px;
    color: var(--muted);
    font-size: 0.82rem;
}

.matrix-stat {
    text-align: center;
    white-space: nowrap;
}

.matrix-total,
.matrix-marked {
    text-align: center;
    font-weight: 700;
}

.matrix-marked-sub {
    color: var(--muted);
    font-weight: 600;
    font-size: 0.78rem;
}

.stat-cell {
    display: inline-block;
    min-width: 1.75rem;
    padding: 0.15rem 0.35rem;
    border-radius: 0.4rem;
    font-weight: 700;
    font-size: 0.82rem;
}

.stat-cell--zero {
    color: #444;
}

.stat-cell--low {
    background: rgba(200, 151, 62, 0.12);
    color: var(--accent);
}

.stat-cell--high {
    background: rgba(200, 151, 62, 0.28);
    color: #ffe4a8;
    box-shadow: 0 0 0 1px rgba(200, 151, 62, 0.35);
}

.stat-marked {
    color: #6ee7a0;
    font-size: 0.72rem;
    font-weight: 800;
}

.participants-cell {
    font-size: 0.82rem;
    line-height: 1.45;
    min-width: 180px;
}

.participant-marked {
    color: #6ee7a0;
    font-weight: 800;
}

.participant-unmarked {
    color: #666;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.admin-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.admin-toolbar input,
.admin-toolbar select {
    padding: 0.6rem 1rem;
    background: #1a1a1e;
    border: 1px solid #333;
    border-radius: 0.75rem;
    color: #fff;
    font-family: inherit;
    min-width: 200px;
}

.stats-label {
    color: var(--muted);
    font-size: 0.9rem;
    margin-left: auto;
}

.admin-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.admin-table th,
.admin-table td {
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    background: var(--card);
    color: var(--accent);
    font-weight: 700;
}

.btn-danger {
    background: transparent;
    color: var(--danger);
    border: 1px solid var(--danger);
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
}

.mark-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 7.5rem;
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: inherit;
    border-radius: 2rem;
    cursor: pointer;
    border: 1px solid #444;
    background: #1a1a1e;
    color: var(--muted);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.mark-btn:hover {
    border-color: #5a9e6f;
    color: #8fd4a4;
}

.mark-btn.is-marked {
    background: rgba(46, 160, 87, 0.18);
    border-color: #3ecf7a;
    color: #6ee7a0;
}

.admin-table tr.is-marked {
    background: rgba(46, 160, 87, 0.08);
}

.admin-table tr.is-marked td {
    border-bottom-color: rgba(62, 207, 122, 0.15);
}

.admin-table tr.is-marked:hover {
    background: rgba(46, 160, 87, 0.14);
}

.btn-secondary {
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.45rem 1rem;
    border-radius: 2rem;
    cursor: pointer;
    font-family: inherit;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--muted);
}

@media (max-width: 700px) {
    .hero {
        padding: 1.25rem 1rem 2rem;
    }

    .section {
        flex-direction: column;
        gap: 0.75rem;
        padding: 2rem 1rem;
    }

    .cards-grid,
    .speakers-grid {
        grid-template-columns: 1fr;
    }

    .outcomes-board,
    .outcomes-groups-row,
    .outcomes-checklist-split,
    .result-cards {
        grid-template-columns: 1fr;
    }

    .outcomes-bonus-card {
        padding: 0.85rem 0.95rem;
    }

    .outcomes-checklist li {
        font-size: 0.97rem;
    }

    .result-card {
        display: flex;
        align-items: center;
        gap: 0.85rem;
        text-align: left;
        padding: 0.95rem 1rem;
    }

    .result-card-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .date-cards,
    .cal-grid {
        gap: 4px;
    }

    .cal-day {
        min-height: 44px;
    }

    .cal-day-num {
        font-size: 0.95rem;
    }

    .cta-band-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 1.75rem 1.25rem;
    }

    .cta-band-text p {
        max-width: none;
    }

    .btn-cta {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
    }

    .footer-contacts {
        width: 100%;
    }

    .footer-contact {
        flex: 1;
        min-width: 0;
    }

    .consent-bar {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .consent-bar-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        padding: 1rem;
    }

    .consent-sheet {
        width: calc(100% - 1.5rem);
        bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
        padding: 1.25rem 1.15rem 1rem;
    }

    .btn-consent {
        width: 100%;
    }

    .form-card {
        padding: 1.25rem;
    }

    .admin-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .stats-label { margin-left: 0; }
}
