﻿:root {
            --bg-color: #000;
            --card-bg: #0a0a0a;
            --soft-bg: #141414;
            --input-bg: #141414;
            --accent-color: #25d366;
            --text-main: #fff;
            --text-dim: #a0a0a0;
            --border-color: #1f1f1f;
            --error-color: #ff6b6b;
            --warning-color: #fbbf24;
            --ok-color: #4ade80;
            --blue-color: #60a5fa;
            --ops-alert-bg: rgba(56, 189, 248, .10);
            --ops-alert-border: rgba(125, 211, 252, .30);
            --ops-alert-text: #bae6fd;
            --ops-alert-dot: #38bdf8;
        }

        * { box-sizing: border-box; }

        [hidden] {
            display: none !important;
        }

body {
    background: var(--bg-color);
    color: var(--text-main);
    font-family: system-ui, sans-serif;
    margin: 0;
    padding: 24px;
    color-scheme: dark;
}

/* Duplicar función: operación directa, sin reutilizar visualmente el asistente. */
.duplicate-event-title {
    margin-bottom: 18px;
}

.duplicate-event-form .form-grid > [data-creator-step] {
    display: none !important;
}

.duplicate-event-form .form-grid > [data-creator-step="base"] {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.duplicate-event-form .duplicate-copy-field {
    display: none !important;
}

.duplicate-event-form .btn-save {
    display: block !important;
    width: 100%;
    margin-top: 20px;
}

@media (max-width: 720px) {
    .duplicate-event-form .form-grid > [data-creator-step="base"] {
        grid-template-columns: 1fr;
    }
}

        .container {
            max-width: 1040px;
            margin: 0 auto;
        }

        .topbar {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 20px;
            margin-bottom: 24px;
        }

        .topbar-actions {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            justify-content: flex-end;
        }

        .account-menu {
            position: relative;
        }

.account-menu summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    cursor: pointer;
    min-width: 0;
}

        .account-menu summary::-webkit-details-marker {
            display: none;
        }

        .account-menu[open] summary {
            border-color: rgba(37, 211, 102, .35);
        }

.account-menu-panel {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
            width: min(360px, calc(100vw - 32px));
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 20px;
            padding: 18px;
    box-shadow: 0 24px 60px rgba(0,0,0,.35);
    z-index: 20;
}

        .brand {
            text-decoration: none;
            color: inherit;
        }

        .logo {
            font-size: 30px;
            font-weight: 800;
            letter-spacing: -1.3px;
            display: block;
            text-transform: lowercase;
        }

        .logo span { color: var(--accent-color); }

.logout-btn {
    border: 1px solid rgba(255,255,255,.12);
    background: transparent;
    color: #fff;
            border-radius: 14px;
            padding: 14px 18px;
            font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.btn-theme-toggle {
    border: 1px solid rgba(255,255,255,.12);
    background: transparent;
    color: #fff;
    border-radius: 14px;
    width: 52px;
    height: 52px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-theme-toggle:hover {
    background: rgba(255,255,255,.06);
}

        .account-chip {
            display: inline-flex;
            align-items: center;
            gap: 10px;
            min-height: 52px;
            padding: 0 16px;
            border-radius: 16px;
            border: 1px solid var(--border-color);
            background: var(--card-bg);
        }

        .account-chip-meta {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .account-chip-label {
            color: var(--text-dim);
            font-size: 11px;
            font-weight: 800;
            letter-spacing: .06em;
            text-transform: uppercase;
        }

        .account-chip-value {
            font-size: 14px;
            font-weight: 700;
        }

        .account-menu-form {
            display: grid;
            gap: 14px;
        }

        .account-phone-field .iti {
            width: 100%;
            background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.015));
            border: 1px solid rgba(255,255,255,.09);
            border-radius: 14px;
            min-height: 48px;
            transition: border-color .2s, box-shadow .2s;
        }

        .account-phone-field .iti:focus-within {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 3px rgba(37, 211, 102, .12);
        }

        .account-phone-field input {
            border: none;
            box-shadow: none !important;
            background: transparent;
            min-height: 46px;
            padding-top: 12px !important;
            padding-bottom: 12px !important;
            padding-left: 96px !important;
            padding-right: 16px !important;
        }

        .account-phone-field input:focus {
            box-shadow: none !important;
        }

        .account-phone-field .iti__selected-country {
            height: 100%;
            padding: 0 8px;
            border-radius: 14px 0 0 14px;
            background: transparent;
            border-right: 1px solid rgba(255,255,255,.09);
            box-shadow: none !important;
        }

        .account-phone-field .iti__country-container {
            box-shadow: none !important;
        }

        .account-phone-field .iti__flag,
        .account-phone-field .iti__flag-box {
            background-color: transparent !important;
            box-shadow: none !important;
        }

        .account-phone-field .iti__selected-country-primary {
            padding-left: 0;
            padding-right: 5px;
            background: transparent !important;
            box-shadow: none !important;
        }

        .account-phone-field .iti__selected-country-primary:hover,
        .account-phone-field .iti__selected-country-primary:focus,
        .account-phone-field .iti__selected-country:has(+ .iti__country-selector:hover) .iti__selected-country-primary {
            background: transparent !important;
            box-shadow: none !important;
        }

        .account-phone-field .iti__selected-dial-code {
            font-size: 13px;
            margin-left: 4px;
            white-space: nowrap;
        }

        .account-phone-field .iti__selected-country:hover,
        .account-phone-field .iti__selected-country:focus {
            background: rgba(255,255,255,.035);
        }

        .account-menu .iti {
            --iti-border-color: var(--border-color);
            --iti-country-selector-bg: var(--soft-bg);
            --iti-dialcode-color: var(--text-main);
            --iti-dropdown-bg: var(--soft-bg);
            --iti-hover-color: rgba(96, 165, 250, .16);
            --iti-icon-color: var(--text-dim);
            --iti-spacer-horizontal: 12px;
        }

        .account-menu .iti__dropdown-content {
            background: var(--soft-bg) !important;
            border: 1px solid var(--border-color);
            border-radius: 14px;
            color: var(--text-main);
            box-shadow: 0 18px 50px rgba(0, 0, 0, .35);
            max-height: 240px;
            overflow: hidden;
        }

        .account-menu .iti__country-list {
            max-height: 190px;
        }

        .account-menu .iti__country {
            padding-top: 8px;
            padding-bottom: 8px;
        }

        .account-menu .iti__country-list,
        .account-menu .iti__search-input {
            background: var(--soft-bg) !important;
            color: var(--text-main) !important;
        }

        .account-menu .iti__country,
        .account-menu .iti__country-name {
            color: var(--text-main) !important;
        }

        .account-menu .iti__dial-code {
            color: var(--text-dim) !important;
        }

        .account-menu .iti__country.iti__highlight,
        .account-menu .iti__country:hover {
            background: rgba(96, 165, 250, .16) !important;
        }

        .account-menu .iti__country-check {
            color: var(--accent-color);
        }

        .account-menu-form .status-pill {
            margin-bottom: 4px;
        }

.account-menu-title {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 12px;
}

        .grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
        }

        .card {
            background: var(--card-bg);
            border: 1px solid var(--border-color);
            border-radius: 24px;
            padding: 24px;
        }

        .card h3 {
            font-size: 16px;
            color: var(--accent-color);
            margin: 0 0 18px;
            padding-bottom: 12px;
            border-bottom: 1px solid var(--border-color);
        }

        .agent-line {
            color: var(--text-dim);
            font-size: 14px;
            line-height: 1.5;
        }

        .status-pill {
            display: inline-flex;
            align-items: center;
            align-self: flex-start;
            min-height: 30px;
            min-width: 138px;
            padding: 7px 14px;
            border-radius: 999px;
            font-size: 12px;
            font-weight: 800;
            letter-spacing: .02em;
            white-space: normal;
            line-height: 1.15;
            text-align: center;
            justify-content: center;
            max-width: 100%;
            flex: 0 0 auto;
        }

        a.status-pill {
            text-decoration: none;
            cursor: pointer;
        }

        .status-pill.pending {
            background: rgba(251, 191, 36, .14);
            color: var(--warning-color);
            border: 1px solid rgba(251, 191, 36, .22);
        }

        .status-pill.success {
            background: rgba(74, 222, 128, .14);
            color: var(--ok-color);
            border: 1px solid rgba(74, 222, 128, .22);
        }

        .status-pill.paused {
            background: rgba(96, 165, 250, .14);
            color: var(--blue-color);
            border: 1px solid rgba(96, 165, 250, .22);
        }

        .status-pill.danger {
            background: rgba(255, 107, 107, .14);
            color: var(--error-color);
            border: 1px solid rgba(255, 107, 107, .22);
        }

        .event-list {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .event-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 12px;
            margin: 18px 0 28px;
            align-items: start;
        }

        .event-group-card {
            background: var(--soft-bg);
            border: 1px solid var(--border-color);
            border-radius: 18px;
            padding: 16px;
        }

        .event-group-card.is-single {
            padding-bottom: 14px;
        }

        .event-group-card.active {
            border-color: rgba(37, 211, 102, .45);
            box-shadow: 0 0 0 1px rgba(37, 211, 102, .2);
        }

        .event-grid.is-edit-focus .event-group-card:not(.active) {
            opacity: .48;
            filter: grayscale(.55) saturate(.55);
            background: rgba(255, 255, 255, .015);
            border-color: rgba(255, 255, 255, .055);
        }

        .event-grid.is-edit-focus .event-group-card:not(.active):hover,
        .event-grid.is-edit-focus .event-group-card:not(.active):focus-within {
            opacity: .72;
            filter: grayscale(.25) saturate(.75);
        }

        .event-grid.is-edit-focus .event-group-card.active {
            position: relative;
            z-index: 1;
        }

        .event-group-head {
            display: grid;
            grid-template-columns: minmax(0, 1fr) auto;
            gap: 14px;
            align-items: start;
            margin-bottom: 14px;
        }

        .event-group-card.is-single .event-group-head {
            margin-bottom: 10px;
        }

        .event-group-main {
            min-width: 0;
        }

        .event-group-head-status {
            margin-bottom: 12px;
        }

        .event-group-card.is-single .event-group-head-status {
            display: flex;
            justify-content: flex-start;
        }

        .event-meta-selected {
            display: none;
        }

        .event-meta-selected.is-visible {
            display: block;
        }

        .event-group-summary {
            display: none;
            min-width: 168px;
            justify-items: end;
            gap: 6px;
            text-align: right;
        }

        .event-group-summary.is-visible {
            display: grid;
        }

        .event-group-summary-prices {
            color: var(--text-dim);
            font-size: 13px;
            line-height: 1.35;
            margin-top: 4px;
        }

        .event-group-deadline {
            margin-top: 12px;
            color: var(--text-dim);
            font-size: 13px;
            line-height: 1.4;
        }

        .event-alert-strip {
            display: none !important;
        }

        .event-alert-dot {
            width: 8px;
            height: 8px;
            flex: 0 0 8px;
            border-radius: 50%;
            background: var(--ops-alert-dot);
            box-shadow: 0 0 0 4px rgba(56, 189, 248, .16);
        }

        .event-group-summary-stats {
            display: grid;
            gap: 6px;
            color: var(--text-dim);
            font-size: 13px;
        }

        .event-group-summary-stats span {
            display: flex;
            align-items: baseline;
            justify-content: flex-end;
            gap: 10px;
        }

        .event-group-summary-stats strong {
            color: var(--text-main);
            font-size: 16px;
            line-height: 1;
        }

        .event-group-functions {
            display: grid;
            gap: 12px;
        }

        .event-function-row {
            border: 1px solid rgba(255,255,255,.08);
            border-radius: 16px;
            padding: 12px;
            background: rgba(255,255,255,.02);
        }

        .event-group-card.is-single .event-function-row {
            border: none;
            background: transparent;
            border-radius: 0;
            padding: 0;
        }

        .event-function-row.active {
            border-color: rgba(37, 211, 102, .38);
            box-shadow: 0 0 0 1px rgba(37, 211, 102, .16);
        }

        .event-grid.is-edit-focus .event-group-card.active:not(.is-single) .event-function-row:not(.active) {
            opacity: .52;
            filter: grayscale(.5) saturate(.6);
        }

        .event-grid.is-edit-focus .event-group-card.active:not(.is-single) .event-function-row:not(.active):hover,
        .event-grid.is-edit-focus .event-group-card.active:not(.is-single) .event-function-row:not(.active):focus-within {
            opacity: .78;
            filter: grayscale(.2) saturate(.8);
        }

        .event-function-row.is-suspended {
            opacity: .68;
            border-color: rgba(255, 107, 107, .18);
        }

        .event-function-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 12px;
        }

        .event-function-main {
            min-width: 0;
            flex: 1 1 auto;
        }

        .event-function-date {
            font-size: 15px;
            font-weight: 800;
            color: var(--text-main);
            margin-bottom: 4px;
        }

        .event-function-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            color: var(--text-dim);
            font-size: 12px;
            line-height: 1.45;
        }

        .event-function-prices {
            color: var(--text-dim);
            font-size: 13px;
            line-height: 1.35;
        }

.event-function-door-fee {
    margin-top: 4px;
    color: var(--text-dim);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}

.event-function-service-fee {
    margin-top: 3px;
    color: var(--text-dim);
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
}

        .event-function-stats-inline {
            display: flex;
            flex-wrap: wrap;
            gap: 8px 16px;
            align-items: center;
            margin-top: 8px;
            color: var(--text-dim);
            font-size: 12px;
            line-height: 1.35;
        }

        .event-function-stats-inline strong {
            color: var(--text-main);
            font-size: 13px;
        }

        .event-function-bottom {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-top: 10px;
        }

        .event-function-deadline {
            color: var(--text-dim);
            font-size: 12px;
            line-height: 1.35;
            flex: 1 1 auto;
            min-width: 0;
        }

        .event-function-sep {
            opacity: .6;
        }

        .event-actions.compact {
            display: flex;
            flex-wrap: nowrap;
            gap: 6px;
            justify-content: flex-end;
            flex: 0 0 auto;
        }

        .event-actions.compact .event-action {
            min-height: 34px;
            padding: 0 12px;
            font-size: 12px;
            border-radius: 12px;
        }

        .event-actions.compact .event-action.primary {
            min-width: 92px;
        }

        .event-manage-action {
            position: relative;
            overflow: visible;
            gap: 7px;
        }

        .event-manage-action.has-alerts {
            box-shadow: 0 0 0 1px rgba(251, 191, 36, .28), 0 8px 24px rgba(37, 211, 102, .16);
        }

        .event-manage-badge {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 18px;
            height: 18px;
            padding: 0 5px;
            border-radius: 999px;
            background: linear-gradient(180deg, #facc15, #f59e0b);
            color: #111827;
            font-size: 11px;
            font-weight: 900;
            line-height: 1;
            border: 1px solid rgba(255, 255, 255, .58);
            box-shadow: 0 0 0 2px rgba(0, 0, 0, .42), 0 0 14px rgba(245, 158, 11, .38);
            animation: manageBadgePulse 1.9s ease-in-out infinite;
        }

        .event-manage-badge[hidden] {
            display: none !important;
        }

        body[data-theme="light"] .event-manage-badge {
            background: linear-gradient(180deg, #fbbf24, #f59e0b);
            border-color: rgba(180, 83, 9, .20);
            box-shadow: 0 0 0 1px rgba(255, 255, 255, .82), 0 3px 10px rgba(245, 158, 11, .28);
            animation-name: manageBadgePulseLight;
        }

        @keyframes manageBadgePulse {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 0 0 2px rgba(0, 0, 0, .42), 0 0 12px rgba(245, 158, 11, .30);
            }
            50% {
                transform: scale(1.06);
                box-shadow: 0 0 0 2px rgba(0, 0, 0, .42), 0 0 18px rgba(245, 158, 11, .50);
            }
        }

        @keyframes manageBadgePulseLight {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 0 0 1px rgba(255, 255, 255, .82), 0 3px 10px rgba(245, 158, 11, .24);
            }
            50% {
                transform: scale(1.06);
                box-shadow: 0 0 0 1px rgba(255, 255, 255, .82), 0 4px 14px rgba(245, 158, 11, .42);
            }
        }

        @media (prefers-reduced-motion: reduce) {
            .event-manage-badge {
                animation: none;
            }
        }

        .event-group-card.is-single .event-actions.compact {
            margin-top: 10px;
        }

        .event-group-card.is-single .event-function-meta {
            margin-right: 0;
        }

        .event-group-card.is-single .event-function-bottom {
            margin-top: 14px;
            justify-content: flex-start;
        }

        .event-group-card.is-single .event-function-deadline {
            width: 100%;
        }

        .event-group-card.is-single .event-actions.compact {
            width: 100%;
            justify-content: flex-start;
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: 8px;
        }

        .event-group-card.is-single .event-actions.compact .event-action,
        .event-group-card.is-single .event-actions.compact .event-inline-form {
            width: 100%;
        }

        .event-group-card.is-single .event-actions.compact .event-action {
            justify-content: center;
        }

        .event-group-card.is-single .event-actions.compact .event-inline-form .event-action {
            width: 100%;
        }

        .event-group-card.has-selection .event-meta-default {
            display: none;
        }

        .event-group-card.has-selection .event-meta-selected {
            display: block;
        }

        .event-function-row.is-preview {
            border-color: rgba(96, 165, 250, .24);
            background: rgba(96, 165, 250, .05);
        }

        .event-group-more {
            border-top: 1px dashed rgba(255,255,255,.08);
            padding-top: 14px;
            margin-top: 2px;
        }

        .event-group-more summary {
            list-style: none;
            cursor: pointer;
            color: var(--blue-color);
            font-size: 13px;
            font-weight: 800;
            user-select: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            min-height: 38px;
            padding: 0 14px;
            border-radius: 12px;
            background: rgba(96, 165, 250, .08);
            border: 1px solid rgba(96, 165, 250, .18);
            transition: background .18s ease, border-color .18s ease, color .18s ease;
        }

        .event-group-more summary::-webkit-details-marker {
            display: none;
        }

        .event-group-more summary::after {
            content: '▾';
            font-size: 12px;
        }

        .event-group-more[open] summary::after {
            content: '▴';
        }

        .event-group-more summary:hover {
            background: rgba(96, 165, 250, .12);
            border-color: rgba(96, 165, 250, .3);
        }

        .event-group-extra-list {
            display: grid;
            gap: 12px;
            margin-top: 14px;
        }

        .event-item {
            display: block;
            text-decoration: none;
            color: inherit;
            background: var(--soft-bg);
            border: 1px solid var(--border-color);
            border-radius: 18px;
            padding: 16px;
        }

        .event-item-top {
            display: grid;
            grid-template-columns: minmax(0, 1fr) 164px;
            gap: 14px;
            align-items: start;
        }

        .event-item-main {
            min-width: 0;
        }

        .event-item.active {
            border-color: rgba(37, 211, 102, .45);
            box-shadow: 0 0 0 1px rgba(37, 211, 102, .2);
        }

        .event-item.is-suspended {
            opacity: .62;
            border-color: rgba(255, 107, 107, .24);
            box-shadow: inset 0 0 0 1px rgba(255, 107, 107, .08);
        }

        .event-title {
            font-size: 17px;
            font-weight: 800;
            margin-bottom: 6px;
        }

        .event-title-link {
            color: inherit;
            text-decoration: none;
        }

        .event-title-link:hover {
            color: var(--accent-color);
        }

        .event-meta {
            color: var(--text-dim);
            font-size: 13px;
            line-height: 1.45;
            margin-bottom: 12px;
        }

        .event-cutoff {
            display: grid;
            gap: 2px;
            margin-bottom: 0;
        }

        .event-cutoff-label {
            color: var(--text-dim);
            font-size: 11px;
            font-weight: 800;
            letter-spacing: .05em;
            text-transform: uppercase;
        }

        .event-cutoff-value {
            font-size: 13px;
            font-weight: 700;
            color: var(--text-main);
        }

        .event-stats-mini {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin: 4px 0 0;
        }

        .event-stat-mini {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 8px;
            padding: 0;
        }

        .event-stat-mini-label {
            color: var(--text-dim);
            font-size: 14px;
            font-weight: 800;
            letter-spacing: 0;
            text-transform: none;
            margin: 0;
        }

        .event-stat-mini strong {
            font-size: 18px;
            line-height: 1;
        }

        .event-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: 14px;
        }

        .event-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 12px;
        }

        .event-inline-form {
            display: inline-flex;
        }

        .event-action {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 40px;
            padding: 0 14px;
            border-radius: 12px;
            text-decoration: none;
            font-size: 13px;
            font-weight: 800;
        }

        .event-action.primary {
            min-width: 170px;
            background: linear-gradient(90deg, #1fb154, #25d366);
            border: 1px solid rgba(37, 211, 102, .35);
            color: #000;
        }

        .event-action.secondary {
            background: transparent;
            border: 1px solid rgba(255,255,255,.12);
            color: #fff;
        }

        .event-action.warning {
            background: rgba(120, 113, 108, .12);
            border: 1px solid rgba(168, 162, 158, .22);
            color: #d6d3d1;
        }

        .event-action.danger {
            background: transparent;
            border: 1px solid rgba(255, 107, 107, .16);
            color: rgba(255, 139, 139, .82);
        }

        .event-action.secondary:hover,
        .event-action.warning:hover,
        .event-action.danger:hover {
            border-color: rgba(255,255,255,.22);
            background: rgba(255,255,255,.04);
        }

        .event-action.warning:hover {
            border-color: rgba(214, 211, 209, .30);
            background: rgba(168, 162, 158, .14);
        }

        .event-action.danger:hover {
            border-color: rgba(255, 107, 107, .30);
            background: rgba(255, 107, 107, .09);
            color: #ffadad;
        }

        .event-disabled-note {
            margin-top: 12px;
            color: var(--text-dim);
            font-size: 13px;
            line-height: 1.45;
        }

        .event-kind-selector {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
        }

.event-kind-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-height: 76px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid var(--border-color);
    background: var(--soft-bg);
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

        .event-kind-card:hover {
            border-color: rgba(37, 211, 102, .35);
        }

        .event-kind-card.is-selected {
            border-color: rgba(37, 211, 102, .55);
            box-shadow: 0 0 0 1px rgba(37, 211, 102, .22);
            transform: translateY(-1px);
        }

        .event-kind-card input[type="radio"] {
            position: absolute;
            inset: 0;
            opacity: 0;
            pointer-events: none;
        }

        .event-kind-title {
            font-size: 15px;
            font-weight: 800;
            color: var(--text-main);
        }

.event-kind-copy {
    color: var(--text-dim);
    font-size: 12px;
    line-height: 1.35;
    max-width: none;
}

        .mode-note-card {
            background: rgba(96, 165, 250, .08);
            border: 1px solid rgba(96, 165, 250, .2);
            border-radius: 18px;
            padding: 18px;
        }

        .mode-note-title {
            font-size: 16px;
            font-weight: 800;
            margin-bottom: 6px;
        }

        .mode-note-copy {
            color: var(--text-dim);
            line-height: 1.5;
            font-size: 14px;
        }

        .mode-note-copy.is-small {
            margin-top: 12px;
            font-size: 13px;
        }

        .mode-note-steps {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 14px;
        }

        .mode-note-step {
            display: inline-flex;
            align-items: center;
            min-height: 32px;
            padding: 0 12px;
            border-radius: 999px;
            background: rgba(96, 165, 250, .08);
            border: 1px solid rgba(96, 165, 250, .18);
            color: var(--text-main);
            font-size: 12px;
            font-weight: 800;
        }

        .panel-empty {
            color: var(--text-dim);
            font-size: 15px;
            line-height: 1.5;
        }

        .map-request-card {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            padding: 20px;
            margin-bottom: 18px;
            border: 1px solid var(--border-color);
            border-radius: 16px;
            background: var(--card-bg);
        }

        .map-request-content {
            min-width: 0;
        }

        .map-request-heading {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 6px;
        }

        .map-request-heading strong {
            font-size: 17px;
        }

        .map-request-status {
            display: inline-flex;
            align-items: center;
            min-height: 26px;
            padding: 3px 10px;
            border: 1px solid rgba(251, 191, 36, .38);
            border-radius: 999px;
            background: rgba(251, 191, 36, .12);
            color: var(--warning-color);
            font-size: 11px;
            font-weight: 800;
            text-transform: uppercase;
        }

        .map-request-content p {
            margin: 0;
            color: var(--text-dim);
            font-size: 14px;
            line-height: 1.45;
        }

        .map-request-action {
            min-width: 240px;
            justify-content: center;
            flex: 0 0 auto;
        }

        @media (max-width: 720px) {
            .map-request-card {
                align-items: stretch;
                flex-direction: column;
                padding: 18px;
            }

            .map-request-action {
                width: 100%;
                min-width: 0;
            }
        }

        .hero-title {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 16px;
            margin-bottom: 18px;
            flex-wrap: wrap;
        }

        .list-head {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
            flex-wrap: wrap;
            margin-bottom: 10px;
        }

        .hero-title h2 {
            margin: 0;
            font-size: 28px;
            line-height: 1.1;
        }

        .hero-sub {
            color: var(--text-dim);
            margin-top: 8px;
            font-size: 14px;
        }

        .hero-empty {
            min-height: 340px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 18px;
        }

        .hero-empty h2 {
            margin: 0;
            font-size: 42px;
            line-height: 1.05;
        }

        .hero-empty .hero-sub {
            max-width: 620px;
            font-size: 16px;
            line-height: 1.6;
        }

        .hero-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: 6px;
        }

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 20px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
    gap: 10px;
    transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.btn-primary {
    background: linear-gradient(90deg, #1fb154, #25d366);
    color: #000;
    border: none;
    box-shadow: 0 14px 28px rgba(37, 211, 102, .16);
}

.btn-secondary {
    border: 1px solid rgba(255,255,255,.12);
    color: #fff;
    background: transparent;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-1px);
}

.btn-icon {
    justify-content: flex-start;
}

.btn-icon-only {
    min-width: 56px;
    width: 56px;
    padding: 0;
    justify-content: center;
}

.btn-icon-right {
    justify-content: center;
}

.btn-icon-badge {
    width: 30px;
    height: 30px;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.btn-icon-only .btn-icon-badge {
    margin: 0;
}

.btn-icon-badge svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.message {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 14px;
            font-size: 14px;
            font-weight: 700;
        }

        .message.success {
            background: rgba(37, 211, 102, 0.1);
            color: var(--accent-color);
        }

        .message.error {
            background: rgba(255, 68, 68, 0.12);
            color: var(--error-color);
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
        }

        .creator-block {
            grid-column: 1 / -1;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
            padding: 0;
            border: none;
            border-radius: 0;
            background: transparent;
            box-shadow: none;
        }

        .creator-block-title {
            grid-column: 1 / -1;
            color: var(--text-main);
            font-size: 13px;
            font-weight: 900;
            letter-spacing: .08em;
            text-transform: uppercase;
        }

        .creator-subhead {
            grid-column: 1 / -1;
            color: var(--text-dim);
            font-size: 11px;
            font-weight: 800;
            letter-spacing: .08em;
            text-transform: uppercase;
            padding-top: 6px;
        }

        .creator-block + .creator-block {
            margin-top: 12px;
            padding-top: 22px;
        }

        .field {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .field.full {
            grid-column: 1 / -1;
        }

        .form-section-title {
            grid-column: 1 / -1;
            margin-top: 12px;
            padding: 12px 14px;
            border: 1px solid var(--border-color);
            border-radius: 16px;
            background: rgba(255, 255, 255, .03);
            color: var(--text-main);
            font-size: 12px;
            text-transform: uppercase;
            font-weight: 900;
            letter-spacing: .08em;
            box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
        }

        .form-section-title + .field,
        .form-section-title + .promo-grid {
            margin-top: 2px;
        }

        .creator-block .field,
        .creator-block .field.full {
            grid-column: auto;
        }

        .creator-block .field.full {
            grid-column: 1 / -1;
        }

        .creator-block .field.field-price-inline {
            min-width: 0;
        }

        .event-base-row {
            grid-column: 1 / -1;
            display: grid;
            grid-template-columns: minmax(220px, 1.6fr) minmax(120px, .7fr) minmax(180px, 1fr);
            gap: 16px;
            align-items: end;
        }

        .event-base-row .field {
            min-width: 0;
        }

        .simple-sale-row {
            grid-column: 1 / -1;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
            align-items: end;
        }

        .simple-sale-row .field {
            min-width: 0;
        }

        .price-row {
            grid-column: 1 / -1;
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 16px;
            align-items: end;
        }

        .price-row > .field[hidden] {
            display: none !important;
        }

        .field-price-toggle {
            align-self: end;
        }

        .field-price-toggle > input[type="number"] {
            display: none;
        }

        .price-jubilado-input-label {
            display: none;
        }

        .field-price-toggle.is-active .price-jubilado-toggle {
            display: none;
        }

        .field-price-toggle.is-active .price-jubilado-input-label {
            display: block;
        }

        .field-price-toggle.is-active > input[type="number"] {
            display: block;
        }

        .field .price-jubilado-toggle {
            min-height: 48px;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 0 14px;
            border: 1px solid rgba(255,255,255,.09);
            border-radius: 14px;
            background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.015));
            color: var(--text-main);
            font-size: 14px;
            font-weight: 800;
            text-transform: none;
            letter-spacing: 0;
            cursor: pointer;
        }

        .field .price-jubilado-toggle input {
            width: 18px;
            height: 18px;
            margin: 0;
            accent-color: var(--accent-color);
        }

        .creator-submit-hidden {
            display: none;
        }

        .creator-wizard-actions {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 14px;
            margin-top: 18px;
            flex-wrap: wrap;
        }

.creator-wizard-actions-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

        .creator-wizard-status {
            color: var(--text-dim);
            font-size: 12px;
            font-weight: 700;
            line-height: 1.35;
            margin-right: 4px;
        }

        .field label {
            color: var(--text-dim);
            font-size: 12px;
            text-transform: uppercase;
            font-weight: 800;
            letter-spacing: .05em;
        }

        .label-row {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .label-help {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 18px;
            border-radius: 999px;
            border: 1px solid var(--border-color);
            color: var(--text-dim);
            font-size: 11px;
            font-weight: 800;
            cursor: help;
            user-select: none;
        }

        .label-help.is-open {
            color: var(--accent-color);
            border-color: rgba(37, 211, 102, .28);
            background: rgba(37, 211, 102, .08);
        }

        .label-tooltip {
            position: fixed;
            z-index: 1000;
            max-width: 280px;
            padding: 10px 12px;
            border-radius: 12px;
            border: 1px solid var(--border-color);
            background: #101010;
            color: #fff;
            font-size: 13px;
            line-height: 1.45;
            white-space: pre-line;
            box-shadow: 0 14px 34px rgba(0,0,0,.28);
            pointer-events: none;
        }

        .label-tooltip[hidden] {
            display: none;
        }

.field input,
.field select {
    width: 100%;
    padding: 15px 16px;
    background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.015));
    border: 1px solid rgba(255,255,255,.09);
    color: #fff;
    border-radius: 14px;
    font-size: 15px;
    outline: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
}

.field select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 46px;
    background-image:
        linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.015)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5.5 7.5 4.5 4.5 4.5-4.5' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat, no-repeat;
    background-position: center, right 14px center;
    background-size: auto, 16px;
}

.field select option {
    background: var(--soft-bg);
    color: var(--text-main);
}

.field input:focus,
.field select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(37, 211, 102, .12);
}

.field input::placeholder {
    color: rgba(255,255,255,.32);
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

        .helper {
            color: var(--text-dim);
            font-size: 13px;
        }

        .field-alert {
            display: none !important;
        }

        .field-alert.alias-alert:not([hidden]) {
            display: block !important;
            margin-top: 8px;
            color: #ff8b8b;
            font-size: 12px;
            line-height: 1.35;
        }

        .field.is-invalid {
            border-radius: 16px;
        }

        .field.is-invalid label,
        .field.is-invalid .label-row span:first-child {
            color: #ff8b8b;
        }

        .field input.is-invalid,
        .field select.is-invalid {
            border-color: rgba(255, 107, 107, .82) !important;
            box-shadow: 0 0 0 3px rgba(255, 107, 107, .18) !important;
            background: linear-gradient(180deg, rgba(255, 107, 107, .04), rgba(255, 255, 255, .015)) !important;
        }

        input[type="date"],
        input[type="datetime-local"],
        input[type="time"] {
            color-scheme: dark;
        }

        input[type="date"]::-webkit-calendar-picker-indicator,
        input[type="datetime-local"]::-webkit-calendar-picker-indicator,
        input[type="time"]::-webkit-calendar-picker-indicator {
            opacity: 1;
            filter: none;
            cursor: pointer;
        }

        .image-field {
            gap: 10px;
        }

        .image-upload-card {
            display: block;
        }

        .image-preview-frame {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 8;
            border-radius: 18px;
            overflow: hidden;
            border: none;
            background: rgba(255,255,255,.03);
            box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
        }

        .image-preview-frame.is-cover {
            aspect-ratio: 16 / 8;
        }

        .image-preview-frame.is-dragover {
            box-shadow: inset 0 0 0 2px rgba(37, 211, 102, .55);
            background: rgba(37, 211, 102, .08);
        }

        .image-preview-frame.has-image::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(0,0,0,.34) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,.24) 100%);
            pointer-events: none;
        }

        .image-preview {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            background: #0f0f0f;
        }

        .image-preview[hidden] {
            display: none;
        }

        .image-preview-empty {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 12px;
            padding: 24px;
            text-align: center;
            color: var(--text-dim);
            font-size: 14px;
            font-weight: 700;
        }

        .image-preview-empty[hidden] {
            display: none;
        }

        .image-empty-copy {
            max-width: 200px;
            line-height: 1.45;
        }

        .image-upload-actions {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            position: absolute;
            top: 12px;
            right: 12px;
            z-index: 2;
            opacity: 0;
            transform: translateY(-4px);
            pointer-events: none;
            transition: opacity .18s ease, transform .18s ease;
        }

        .image-preview-frame.has-image:hover .image-upload-actions,
        .image-preview-frame.has-image:focus-within .image-upload-actions {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        .image-preview-frame:not(.has-image) .image-upload-actions {
            display: none;
        }

        .image-action {
            min-height: 36px;
            padding: 0 14px;
            border-radius: 999px;
            border: 1px solid rgba(255,255,255,.16);
            background: rgba(12, 12, 12, .72);
            color: #fff;
            font-size: 13px;
            font-weight: 800;
            cursor: pointer;
            backdrop-filter: blur(10px);
        }

        .image-action.primary {
            background: rgba(37, 211, 102, 0.16);
            border-color: rgba(37, 211, 102, 0.26);
            color: #9bf0b7;
        }

        .image-file-hidden {
            display: none;
        }

        .promo-grid {
            display: grid;
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 14px;
            margin-top: 18px;
        }

        .promo-card {
            background: var(--soft-bg);
            border: 1px solid var(--border-color);
            border-radius: 18px;
            padding: 18px;
        }

        .promo-card.is-locked {
            opacity: .78;
        }

        .promo-card-title {
            font-size: 15px;
            font-weight: 800;
            margin-bottom: 6px;
        }

        .promo-card-copy {
            color: var(--text-dim);
            font-size: 13px;
            line-height: 1.55;
        }

        .locked-chip {
            display: inline-flex;
            align-items: center;
            min-height: 28px;
            padding: 0 10px;
            border-radius: 999px;
            background: rgba(251, 191, 36, .12);
            border: 1px solid rgba(251, 191, 36, .18);
            color: var(--warning-color);
            font-size: 11px;
            font-weight: 800;
            letter-spacing: .04em;
            text-transform: uppercase;
            margin-top: 10px;
        }

        .summary-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 14px;
            margin: 22px 0 24px;
        }

        .summary-item {
            background: var(--soft-bg);
            border: 1px solid var(--border-color);
            border-radius: 18px;
            padding: 16px;
        }

        .summary-kicker {
            color: var(--text-dim);
            font-size: 11px;
            font-weight: 800;
            letter-spacing: .06em;
            text-transform: uppercase;
            margin-bottom: 8px;
        }

        .summary-value {
            font-size: 20px;
            font-weight: 800;
        }

        .btn-save {
            width: 100%;
            padding: 18px;
            background: linear-gradient(90deg, #1fb154, #25d366);
            border: none;
            font-weight: 800;
            cursor: pointer;
            color: #000;
            border-radius: 16px;
            font-size: 16px;
            margin-top: 10px;
            text-transform: uppercase;
        }

        body[data-theme="light"] {
            --bg-color: #eef3fb;
            --card-bg: #ffffff;
            --soft-bg: #f6f8fc;
            --input-bg: #ffffff;
            --text-main: #162033;
            --text-dim: #64748b;
            --border-color: #d8e1f0;
            --ops-alert-bg: #eff6ff;
            --ops-alert-border: #bfdbfe;
            --ops-alert-text: #1d4ed8;
            --ops-alert-dot: #2563eb;
            color-scheme: light;
        }

        body[data-theme="light"] .logo,
        body[data-theme="light"] .logout-btn,
        body[data-theme="light"] .btn-theme-toggle,
        body[data-theme="light"] .account-chip-value,
        body[data-theme="light"] .event-title-link,
        body[data-theme="light"] .event-action.secondary,
        body[data-theme="light"] .event-action.warning,
        body[data-theme="light"] .event-action.danger {
            color: var(--text-main);
        }

        body[data-theme="light"] .event-action.warning {
            background: rgba(251, 191, 36, .10);
            border-color: rgba(251, 191, 36, .24);
        }

        body[data-theme="light"] .event-action.warning:hover {
            background: rgba(251, 191, 36, .14);
            border-color: rgba(251, 191, 36, .34);
        }

        body[data-theme="light"] .logout-btn,
        body[data-theme="light"] .btn-theme-toggle,
        body[data-theme="light"] .account-chip,
        body[data-theme="light"] .account-menu summary,
        body[data-theme="light"] .account-menu-panel,
        body[data-theme="light"] .event-item,
        body[data-theme="light"] .event-group-card,
        body[data-theme="light"] .event-function-row,
        body[data-theme="light"] .card,
        body[data-theme="light"] .summary-item,
        body[data-theme="light"] .mode-note-card,
        body[data-theme="light"] .image-preview-frame {
            box-shadow: 0 10px 28px rgba(15, 23, 42, .06);
        }

        body[data-theme="light"] .field input,
        body[data-theme="light"] .field select {
            background: #fff;
            border-color: #d7e0ef;
            color: var(--text-main);
            box-shadow: inset 0 1px 0 rgba(15, 23, 42, .02);
        }

        body[data-theme="light"] .account-phone-field .iti {
            background: #fff;
            border-color: #d7e0ef;
            box-shadow: inset 0 1px 0 rgba(15, 23, 42, .02);
        }

        body[data-theme="light"] .account-phone-field .iti__selected-country {
            background: #f1f5f9;
            border-right-color: #d7e0ef;
        }

        body[data-theme="light"] .account-phone-field .iti__selected-country:hover,
        body[data-theme="light"] .account-phone-field .iti__selected-country:focus {
            background: #e8eef7;
        }

        body[data-theme="light"] .account-menu .iti__dropdown-content,
        body[data-theme="light"] .account-menu .iti__country-list,
        body[data-theme="light"] .account-menu .iti__search-input {
            background: #fff !important;
            color: var(--text-main) !important;
        }

        body[data-theme="light"] .field select {
            background-image:
                linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,1)),
                url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='m5.5 7.5 4.5 4.5 4.5-4.5' stroke='%23162033' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        }

        body[data-theme="light"] .field input::placeholder {
            color: rgba(100, 116, 139, .8);
        }

        body[data-theme="light"] input[type="date"]::-webkit-calendar-picker-indicator,
        body[data-theme="light"] input[type="datetime-local"]::-webkit-calendar-picker-indicator,
        body[data-theme="light"] input[type="time"]::-webkit-calendar-picker-indicator {
            filter: invert(0.16);
            opacity: .95;
        }

        body[data-theme="light"] input[type="date"],
        body[data-theme="light"] input[type="datetime-local"],
        body[data-theme="light"] input[type="time"] {
            color-scheme: light;
        }

        body[data-theme="light"] .event-action.secondary:hover,
        body[data-theme="light"] .btn-theme-toggle:hover,
        body[data-theme="light"] .logout-btn:hover {
            background: rgba(15, 23, 42, .04);
        }

        body[data-theme="light"] .btn-primary,
        body[data-theme="light"] .btn-save {
            color: #0b1220;
            box-shadow: 0 14px 28px rgba(37, 211, 102, .18);
        }

        body[data-theme="light"] .btn-secondary {
            color: var(--text-main);
            background: #ffffff;
            border-color: #cfd9eb;
            box-shadow: 0 10px 22px rgba(15, 23, 42, .06);
        }

        body[data-theme="light"] .btn-secondary:hover {
            background: #f8fbff;
            border-color: #b8c7df;
        }

        body[data-theme="light"] .btn-icon-only {
            background: #ffffff;
        }

        body[data-theme="light"] .btn-icon-badge {
            color: var(--text-main);
        }

        body[data-theme="light"] .creator-wizard-status {
            color: #4b5d7a;
        }

        body[data-theme="light"] .mode-note-step {
            background: rgba(37, 99, 235, .07);
            border-color: rgba(37, 99, 235, .16);
        }

        @media (max-width: 920px) {
            .topbar {
                flex-direction: column;
            }
        }

        @media (max-width: 680px) {
            body { padding: 16px; }
            .topbar {
                flex-direction: column;
                align-items: stretch;
            }
            .topbar-actions {
                width: 100%;
                display: grid;
                grid-template-columns: 48px minmax(0, 1fr) auto;
                justify-content: stretch;
                align-items: center;
                gap: 10px;
            }
            .account-menu {
                grid-column: auto;
                order: 2;
                width: 100%;
                min-width: 0;
                position: relative;
            }
            .account-menu summary {
                width: 100%;
                min-width: 0;
                padding: 12px 14px;
            }
            .account-menu-panel {
                position: absolute;
                right: 0;
                left: auto;
                margin-top: 0;
                width: min(360px, calc(100vw - 32px));
                max-width: calc(100vw - 32px);
                box-shadow: 0 24px 60px rgba(0,0,0,.35);
            }
            .account-menu-form {
                gap: 12px;
            }
            .account-menu-form .field {
                min-width: 0;
            }
            .account-menu-form .field input {
                min-width: 0;
            }
            .account-chip-meta {
                min-width: 0;
            }
            .account-chip-value {
                overflow-wrap: anywhere;
                line-height: 1.35;
            }
            .logout-btn {
                min-height: 48px;
                white-space: nowrap;
                padding: 0 16px;
            }
            .btn-theme-toggle {
                width: 48px;
                height: 48px;
            }
            .hero-title h2 { font-size: 24px; }
            .hero-empty h2 { font-size: 30px; }
            .event-kind-selector {
                grid-template-columns: 1fr;
            }
            .event-kind-card {
                min-height: 78px;
                align-items: center;
                text-align: center;
                padding: 16px 14px;
            }
            .event-kind-title {
                font-size: 14px;
            }
            .event-kind-copy {
                font-size: 12px;
                white-space: normal;
                max-width: none;
            }
            .creator-block {
                grid-template-columns: 1fr;
            }
            .event-base-row {
                grid-template-columns: 1fr;
            }
            .simple-sale-row {
                grid-template-columns: 1fr;
            }
            .price-row {
                grid-template-columns: 1fr;
            }
            .creator-block .field.field-price-inline {
                grid-column: 1 / -1;
            }
            .form-grid,
            .summary-grid,
            .event-grid,
            .promo-grid {
                grid-template-columns: 1fr;
            }
            .creator-wizard-actions {
                width: 100%;
                display: grid;
                grid-template-columns: 56px minmax(0, 1fr) auto;
                justify-content: stretch;
                align-items: center;
                gap: 14px 12px;
                max-width: 100%;
                margin-left: 0;
                margin-right: 0;
            }
            .creator-wizard-actions-right {
                display: flex;
                align-items: center;
                justify-content: flex-end;
                gap: 10px;
                min-width: 0;
            }
            .creator-wizard-actions .btn-icon-only {
                width: 56px;
                min-width: 56px;
                height: 56px;
            }
            .creator-wizard-status {
                grid-column: 2;
                margin: 0;
                text-align: center;
            }
            .creator-wizard-actions .btn-icon-badge {
                width: 24px;
                height: 24px;
                flex-basis: 24px;
                border-radius: 0;
                background: transparent;
                border: none;
            }
            .creator-wizard-actions > .btn-secondary {
                grid-column: 1;
                justify-self: start;
            }
            .event-item-top {
                grid-template-columns: 1fr;
            }
            .event-group-head {
                grid-template-columns: 1fr;
            }
            .event-function-top {
                flex-direction: column;
            }
            .event-function-bottom {
                flex-direction: column;
                align-items: stretch;
            }
            .event-function-stats-inline {
                gap: 6px 12px;
            }
            .event-function-deadline {
                width: 100%;
            }
            .event-group-summary {
                min-width: 0;
                justify-items: start;
                text-align: left;
            }
            .event-group-summary-stats span {
                justify-content: flex-start;
            }
            .mode-note-steps {
                gap: 8px;
            }
            .mode-note-step {
                width: 100%;
                justify-content: center;
            }
            .status-pill {
                min-width: 0;
                width: auto;
                max-width: 100%;
            }
            .event-actions.compact {
                flex-wrap: wrap;
                justify-content: flex-start;
            }
            .event-group-card.is-single .event-actions.compact {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
            .event-action.primary {
                min-width: 0;
                flex: 1 1 100%;
            }
            .event-stats-mini {
                gap: 6px;
                margin-top: 2px;
            }
            .event-stat-mini {
                padding: 0;
            }
            .event-stat-mini strong {
                font-size: 20px;
            }
            .image-upload-actions {
                top: auto;
                right: 10px;
                bottom: 10px;
                left: 10px;
                justify-content: flex-end;
                opacity: 1;
                transform: none;
                pointer-events: auto;
            }
            .image-preview-frame {
                aspect-ratio: 16 / 8;
            }
            .image-preview-frame.is-cover {
                aspect-ratio: 16 / 10;
            }
        }

/* Normalización tipográfica: mínimos legibles sin agrandar títulos. */
body {
    font-size: 15px;
}

.account-chip-label,
.status-pill,
.mode-pill,
.event-card-meta,
.event-card-date,
.event-card-note,
.event-card-small,
.event-card-id,
.field-help,
.helper-text,
.hint,
.section-kicker,
.form-hint,
.mini-label,
.empty-copy,
.step-pill .step-index,
.btn-icon-badge,
.creator-step-kicker,
.event-function-deadline,
.event-function-stats-inline,
.event-group-count {
    font-size: 12px !important;
    font-weight: 600 !important;
}

.account-chip-value,
.field label,
.event-card-price,
.event-card-action,
.btn-primary,
.btn-secondary,
.btn-save,
.btn-theme-toggle,
.logout-btn,
input,
select,
textarea {
    font-size: 14px !important;
}

.event-card-title,
.event-function-title,
.section-title,
.subsection-title,
.creator-step-title {
    font-weight: 700 !important;
}
