:root {
    --ep-primary: #41a1bc;
    --ep-primary-hover: #348ba2;
    --ep-primary-soft: #eaf6f9;
    --ep-pink: #d8426c;
    --ep-blue: #1d4ed8;
    --ep-blue-soft: #dbeafe;
    --ep-green: #166534;
    --ep-green-soft: #dcfce7;
    --ep-gold: #695e25;
    --ep-gold-soft: #fffae8;
    --ep-light-gray: #ebebee;
    --ep-text: #1c2024;
    --ep-muted: #667085;
    --ep-border: #e5e7eb;
    --ep-border-soft: #f3f4f6;
    --ep-panel-header: #d9d9d9;
    --ep-selected: #cccccc;
    --ep-surface: #ffffff;
    --ep-page: #ffffff;
    --ep-warning-bg: #fff9e8;
    --ep-warning-border: #8a7a32;
    --ep-radius: 8px;
    --ep-card-radius: 10px;
    --ep-content-width: 1594px;
}

html {
    min-height: 100%;
    font-size: 16px;
    position: relative;
}

body.eventpass-shell {
    min-height: 100vh;
    margin: 0;
    color: var(--ep-text);
    background: var(--ep-page);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.app-header {
    width: 100%;
    min-height: 132px;
    background: var(--ep-surface);
    border-bottom: 1px solid var(--ep-border-soft);
}

.app-navbar {
    width: 100%;
    min-height: 132px;
    padding: 20px 43px;
    display: flex;
    align-items: flex-start;
    gap: 52px;
}

.app-brand {
    width: 220px;
    height: 85px;
    display: block;
    flex: 0 0 318px;
}

.app-brand img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.app-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid var(--ep-border);
    border-radius: var(--ep-radius);
    background: #fff;
    font-size: 24px;
}

.app-nav-collapse {
    min-width: 0;
    flex: 1;
    min-height: 85px;
    display: flex;
    align-items: center;
}

.app-nav-collapse.collapse:not(.show) { display: flex; }

.app-nav-list {
    display: flex;
    align-items: center;
    gap: clamp(36px, 4vw, 72px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.app-nav-link,
.app-logout {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    text-decoration: none;
    white-space: nowrap;
    transition: color .16s ease, background-color .16s ease;
}

.app-nav-link:hover,
.app-logout:hover { color: var(--ep-primary-hover); }
.app-nav-link.active { font-weight: 700; }

.app-nav-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 22px;
}

.app-main {
    width: 100%;
    min-height: calc(100vh - 260px);
    padding: 30px 0 80px;
}

.app-main > .container,
.app-main > form > .container {
    width: calc(100% - 160px);
    max-width: var(--ep-content-width);
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 0;
    padding-left: 0;
}

.app-main > .container.mt-4,
.app-main > .container.py-5 {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

h1, h2, h3, h4, h5, h6 { color: #000; font-weight: 700; }
h1, .h1, h2, .h2 { font-size: 28px; line-height: 42px; }
h3, .h3 { font-size: 22px; line-height: 30px; }
h4, .h4 { font-size: 18px; line-height: 27px; }
h5, .h5 { font-size: 14px; line-height: 21px; }
.text-muted { color: var(--ep-muted) !important; }

.card {
    border: 1px solid var(--ep-border) !important;
    border-radius: var(--ep-card-radius);
    background: var(--ep-surface);
    box-shadow: none !important;
    overflow: hidden;
}

.card-header {
    min-height: 51px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ep-text) !important;
    background: var(--ep-panel-header) !important;
    border-bottom: 0;
}

.card-header h5,
.card-header h6 { margin: 0; color: inherit !important; }
.card-body { padding: 24px; }

.form-label {
    margin-bottom: 6px;
    color: var(--ep-text);
    font-size: 14px;
    font-weight: 500;
}

.form-control,
.form-select {
    min-height: 43px;
    padding: 10px 13px;
    color: var(--ep-text);
    background-color: #fff;
    border: 1px solid #d8dde5;
    border-radius: var(--ep-radius);
    font-size: 14px;
}

textarea.form-control { min-height: 100px; }

.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.btn:focus-visible,
.app-nav-link:focus-visible,
.app-logout:focus-visible {
    border-color: var(--ep-primary);
    box-shadow: 0 0 0 3px rgba(65, 161, 188, .2);
    outline: none;
}

.form-text,
small.form-text { color: var(--ep-muted) !important; font-size: 12px; }

.btn {
    min-height: 40px;
    padding: 8px 16px;
    border-radius: var(--ep-radius);
    font-size: 14px;
    font-weight: 500;
    line-height: 22px;
    box-shadow: none !important;
}

.btn-sm { min-height: 28px; padding: 4px 12px; font-size: 12px; line-height: 18px; }

.btn-primary,
.btn-success,
.btn-info {
    color: #101828 !important;
    background: var(--ep-primary) !important;
    border-color: var(--ep-primary) !important;
}

.btn-primary:hover,
.btn-success:hover,
.btn-info:hover {
    color: #fff !important;
    background: var(--ep-primary-hover) !important;
    border-color: var(--ep-primary-hover) !important;
}

.btn-outline-primary,
.btn-outline-success,
.btn-outline-info {
    color: var(--ep-primary-hover);
    background: #fff;
    border-color: var(--ep-primary);
}

.btn-outline-primary:hover,
.btn-outline-success:hover,
.btn-outline-info:hover {
    color: #fff;
    background: var(--ep-primary-hover);
    border-color: var(--ep-primary-hover);
}

.btn-secondary,
.btn-outline-secondary {
    color: var(--ep-text);
    background: #ebebee;
    border-color: #ebebee;
}

.btn-outline-secondary:hover { color: var(--ep-text); background: #d9d9de; border-color: #d9d9de; }

.webadmin-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(28, 32, 36, .58);
    backdrop-filter: blur(2px);
}

.webadmin-loading-dialog {
    width: min(100%, 420px);
    min-height: 210px;
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--ep-text);
    background: var(--ep-surface);
    border: 1px solid var(--ep-border);
    border-radius: 14px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .25);
    text-align: center;
}

.webadmin-loading-dialog strong { font-size: 19px; }
.webadmin-loading-dialog > span:last-child { color: var(--ep-muted); font-size: 14px; }

.webadmin-loading-spinner {
    width: 52px;
    height: 52px;
    margin-bottom: 6px;
    border: 5px solid var(--ep-primary-soft);
    border-top-color: var(--ep-primary);
    border-radius: 50%;
    animation: webadmin-loading-spin .7s linear infinite;
}

body.webadmin-is-loading { overflow: hidden; cursor: progress; }

@keyframes webadmin-loading-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .webadmin-loading-spinner { animation-duration: 1.4s; }
}

.table {
    --bs-table-color: var(--ep-text);
    --bs-table-striped-bg: var(--ep-light-gray);
    margin-bottom: 0;
    font-size: 13px;
}

.table > :not(caption) > * > * { padding: 13px 20px; border-bottom-color: var(--ep-border-soft); }

.table thead th {
    color: #000;
    background: var(--ep-panel-header);
    font-weight: 700;
    white-space: nowrap;
}

.list-group { margin: -24px; border-radius: 0; }

.list-group-item {
    padding: 12px 16px;
    color: var(--ep-text);
    background: #fff;
    border-color: var(--ep-border-soft);
    font-size: 13px;
}

.list-group-item.active,
.list-group-item-action.active { color: #000; background: var(--ep-selected); border-color: var(--ep-border-soft); }
.list-group-item.active .text-white { color: #000 !important; }

.table.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-bg-type: #fff;
}

.table.table-striped > tbody > tr:nth-of-type(even) > * {
    --bs-table-bg-type: var(--ep-light-gray);
}

.list-group > .list-group-item:nth-child(odd) { background: #fff; }
.list-group > .list-group-item:nth-child(even) { background: var(--ep-light-gray); }
.list-group > .list-group-item.active { background: var(--ep-panel-header); }

.badge { padding: 4px 8px; border-radius: 4px; font-weight: 500; }
.alert { border-radius: var(--ep-radius); font-size: 14px; }
.alert-info { color: #695e25; background: var(--ep-warning-bg); border-color: var(--ep-warning-border); }

.modal-content {
    border: 1px solid var(--ep-border);
    border-radius: var(--ep-card-radius);
    box-shadow: 0 24px 48px rgba(16, 24, 40, .18);
}

.modal-header {
    color: var(--ep-text) !important;
    background: var(--ep-panel-header) !important;
    border-bottom-color: var(--ep-border);
}

.app-footer {
    width: calc(100% - 86px);
    max-width: none;
    min-height: 54px;
    margin: 0 auto;
    padding: 16px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--ep-muted);
    border-top: 1px solid var(--ep-border-soft);
    font-size: 12px;
}

.app-footer-credit { margin: 0 auto; text-align: center; }
.app-footer-credit a { color: inherit; text-decoration: none; }
.app-footer-credit a:hover { color: var(--ep-primary-hover); text-decoration: underline; }
.app-footer-heart { color: #e74c3c; }

.environment-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 14px;
    color: #664d03;
    background: #fff3cd;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .04em;
    text-transform: uppercase;
    animation: environment-pulse 1.4s ease-in-out infinite;
}

@keyframes environment-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(216, 66, 108, .05); }
    50% { opacity: .45; box-shadow: 0 0 0 7px rgba(216, 66, 108, .13); }
}

@media (prefers-reduced-motion: reduce) {
    .environment-badge { animation: none; }
}

/* The icon picker is shared by event creation and editing. */
.icon-picker-content {
    width: min(900px, calc(100vw - 32px));
    max-width: 900px !important;
}

.icon-picker-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.dashboard-card { transition: transform .18s ease, border-color .18s ease; }
.dashboard-card:hover { transform: translateY(-3px); border-color: var(--ep-primary) !important; }
.dashboard-card .card-body,
.dashboard-card:hover .card-body { background: #fff !important; }

.auth-page {
    width: calc(100% - 40px);
    min-height: 590px;
    margin: 0 auto;
    display: grid;
    place-items: center;
}

.auth-card {
    width: min(100%, 480px);
    padding: 36px;
    background: #fff;
    border: 1px solid var(--ep-border);
    border-radius: var(--ep-card-radius);
}

.auth-icon {
    width: 66px;
    height: 82px;
    margin: 0 auto 18px;
}

.auth-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.auth-heading { margin-bottom: 28px; text-align: center; }
.auth-heading h1 { margin-bottom: 6px; font-size: 26px; line-height: 36px; }
.auth-heading p { margin: 0; color: var(--ep-muted); font-size: 14px; }
.auth-form { display: grid; gap: 18px; }
.validation-summary-valid { display: none; }

.page-heading { padding-bottom: 2px; }
.page-heading h1 { letter-spacing: -.02em; }

.event-row {
    cursor: pointer;
    transition: background-color .16s ease;
}

.event-row:hover > *,
.event-row:focus > * {
    background: var(--ep-primary-soft) !important;
}

.event-row:focus { outline: none; }
.event-row-arrow-heading,
.event-row-arrow-cell { width: 72px; text-align: right; }

.event-row-arrow {
    width: 36px;
    height: 36px;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ep-text);
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    transition: color .16s ease, background-color .16s ease, transform .16s ease;
}

.event-row:hover .event-row-arrow,
.event-row:focus .event-row-arrow {
    color: var(--ep-primary-hover);
    background: #fff;
    transform: translateX(2px);
}

.event-detail-heading {
    min-height: 70px;
    margin: -9px 0 32px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-detail-heading h1 {
    margin: 0;
    font-size: 24px;
    line-height: 30px;
}

.event-detail-heading p {
    margin: 0;
    color: var(--ep-text);
    font-size: 16px;
    line-height: 30px;
}

.event-detail-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-edit-link {
    width: 26px;
    height: 26px;
    display: inline-flex;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    color: var(--ep-primary);
    border-radius: var(--ep-radius);
    font-size: 14px;
    text-decoration: none;
    transition: color .16s ease, background-color .16s ease;
}

.event-edit-link:hover {
    color: var(--ep-primary-hover);
    background: var(--ep-primary-soft);
}

.event-detail-heading h1 .event-edit-link { margin-left: 4px; }

.event-module-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.event-module-card {
    min-height: 220px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--ep-text);
    background: #ebebee;
    border: 1px solid transparent;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: transform .16s ease, background-color .16s ease, border-color .16s ease;
}

.event-module-card:hover,
.event-module-card:focus-visible {
    color: var(--ep-text);
    background: #f2f2f4;
    border-color: var(--ep-primary);
    transform: translateY(-2px);
    outline: none;
}

.event-module-card > i {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    line-height: 1;
}

.event-module-card h2 {
    margin: 0;
    font-size: 22px;
    line-height: 33px;
}

.event-module-card p {
    margin: 0;
    color: #4a5565;
    font-size: 14px;
    line-height: 20px;
}

.event-module-pass > i { color: #41a1bc; }
.event-module-program > i { color: var(--ep-green); }
.event-module-schedule > i { color: var(--ep-gold); }
.event-module-push > i { color: var(--ep-pink); }
.event-module-statistics > i { color: var(--ep-blue); }

.badge.bg-info { color: var(--ep-blue) !important; background: var(--ep-blue-soft) !important; }
.badge.bg-success { color: var(--ep-green) !important; background: var(--ep-green-soft) !important; }
.badge.bg-warning { color: var(--ep-gold) !important; background: var(--ep-gold-soft) !important; }

.dashboard-user-info {
    margin-top: 28px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--ep-gold-soft);
    border: 1px solid var(--ep-gold);
    border-radius: var(--ep-radius);
    font-size: 14px;
}

.dashboard-user-info > i { color: var(--ep-gold); font-size: 24px; }

.eventpass-eyebrow {
    display: block;
    margin-bottom: 2px;
    color: var(--ep-muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.eventpass-stepper {
    margin: 0 0 34px;
    padding: 0 4%;
    display: flex;
    align-items: flex-start;
}

.eventpass-step {
    position: relative;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #000;
    text-align: center;
    text-decoration: none;
}

.eventpass-step:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 0;
    top: 20px;
    left: calc(50% + 23px);
    width: calc(100% - 46px);
    height: 1px;
    background: #000;
}

.eventpass-step-number {
    position: relative;
    z-index: 1;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
    background: var(--ep-light-gray);
    border-radius: 50%;
    font-size: 16px;
    font-weight: 700;
}

.eventpass-step.is-reached .eventpass-step-number { color: #fff; background: var(--ep-pink); }
.eventpass-step.is-current .eventpass-step-label { font-weight: 700; }
.eventpass-step.is-disabled { color: #98a2b3; cursor: not-allowed; }
.eventpass-step.is-disabled .eventpass-step-number { color: #98a2b3; background: #f3f4f6; }
.eventpass-step-label { font-size: 14px; line-height: 20px; }

.eventpass-flow-heading {
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.eventpass-flow-heading h1 { margin: 0; }

.eventpass-panel {
    overflow: hidden;
    border: 1px solid var(--ep-border);
    border-radius: var(--ep-card-radius);
}

.eventpass-panel-header {
    min-height: 58px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--ep-panel-header);
}

.eventpass-panel-header h2 { margin: 0; font-size: 18px; }
.eventpass-panel-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.eventpass-shipping-placeholder {
    min-height: 320px;
    padding: 50px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.eventpass-shipping-placeholder > i { color: var(--ep-primary); font-size: 50px; }
.eventpass-shipping-placeholder h3 { margin: 14px 0 6px; }
.eventpass-shipping-placeholder p { max-width: 620px; color: var(--ep-muted); }

.eventpass-status-badge {
    display: inline-flex;
    padding: 5px 9px;
    color: var(--ep-gold);
    background: var(--ep-gold-soft);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.eventpass-flow-footer {
    margin-top: 28px;
    padding-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    color: var(--ep-muted);
    border-top: 1px solid var(--ep-border-soft);
    font-size: 13px;
}

/* EventPass wizard – Figma nodes 722:23005, 705:27035, 722:23809, 727:25470 */
.eventpass-wizard-page { max-width: 1199px !important; }

.eventpass-page-header {
    min-height: 48px;
    margin: -6px 0 26px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.eventpass-page-header h1 { margin: 0; font-size: 24px; line-height: 36px; }
.eventpass-page-header-with-subtitle span { display: block; color: #99a1af; font-size: 14px; font-weight: 700; line-height: 18px; }
.eventpass-wizard-page .eventpass-stepper { margin-bottom: 21px; padding: 0 26px; }

.eventpass-two-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.eventpass-design-panel {
    min-height: 268px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ep-border);
    border-radius: 12px;
}

.eventpass-design-panel.panel-blue { border-color: rgba(38,114,227,.2); }
.eventpass-design-panel.panel-green { border-color: rgba(42,134,87,.2); }

.eventpass-design-panel-header {
    min-height: 39px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: #1c2024;
    background: #d9d9d9;
    font-size: 15px;
    line-height: 22px;
}

.figma-count { margin-left: 4px; padding: 2px 7px; background: rgba(0,0,0,.2); border-radius: 4px; font-size: 12px; }
.figma-header-button { min-height: 27px; padding: 4px 10px; color: #1c2024; background: rgba(0,0,0,.2); border: 0; border-radius: 6px; font-size: 13px; line-height: 19px; }
.figma-header-button:hover:not(:disabled) { background: rgba(0,0,0,.28); }

.eventpass-design-panel-body { padding: 16px; }
.upload-panel-body p { margin: 0 0 12px; color: #6a7282; font-size: 13px; }
.upload-panel-body hr { margin: 12px 0; color: #f3f4f6; opacity: 1; }

.figma-download-button {
    min-height: 37px;
    padding: 7px 13px;
    color: var(--ep-pink);
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
}
.figma-download-button i { margin-right: 8px; }

.eventpass-dropzone {
    min-height: 125px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #99a1af;
    background: #fafafa;
    border: 2px dashed #e5e7eb;
    border-radius: 10px;
    font-size: 13px;
    cursor: pointer;
}
.eventpass-dropzone > i { font-size: 18px; }
.eventpass-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.selected-upload-file { max-width: 100%; color: #4b5563; font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.import-success { color: #198754; font-size: 16px; font-weight: 500; }

.eventpass-design-row {
    min-height: 51px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 14px;
}
.eventpass-design-row:nth-child(odd) { background: #fff; }
.eventpass-design-row:nth-child(even) { background: #ebebee; }
.eventpass-design-row:last-child { border-bottom: 0; }
.eventpass-design-row strong { font-weight: 400; }
.eventpass-design-row small { display: block; color: #b6bcc5; font-size: 12px; line-height: 17px; }
.figma-row-title { min-width: 0; display: flex; align-items: center; gap: 8px; }
.figma-row-actions { display: flex; align-items: center; gap: 10px; }
.figma-row-actions form { margin: 0; }
.figma-row-actions button { padding: 2px; color: #41a1bc; background: transparent; border: 0; font-size: 14px; }
.figma-row-actions button:last-child { color: #d8426c; }
.figma-row-actions button:disabled { opacity: .45; }
.eventpass-empty-row { padding: 32px 16px; color: #99a1af; text-align: center; font-size: 13px; }

.figma-type-tag { display: inline-flex; padding: 2px 8px; border-radius: 4px; font-size: 12px; font-style: normal; font-weight: 500; line-height: 18px; white-space: nowrap; }
.tag-blue { color: #1d4ed8; background: #dbeafe; }
.tag-green { color: #166534; background: #dcfce7; }
.tag-gold { color: #695e25; background: #fffae8; }

.figma-sticky-footer { margin-top: 55px; padding: 16px 0 0; color: #000; font-size: 16px; }
.figma-next-button { width: 140px; }

.figma-modal-sm { max-width: 420px; }
.figma-eventpass-modal { max-width: 480px; }
.modal-title { font-size: 18px; line-height: 27px; }
.modal-body { padding: 20px; }
.modal-footer { padding: 14px 20px; border-top-color: #f3f4f6; }
.backend-note { display: block; margin: 10px 0 0; color: #8a7a32; font-size: 11px; line-height: 16px; }
.standalone-backend-note { padding: 10px 12px; background: #fffae8; border: 1px solid #695e25; border-radius: 8px; }

.eventpass-section-title { margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.eventpass-section-title h2 { margin: 0; font-size: 20px; line-height: 30px; }
.eventpass-template-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; }
.eventpass-template-card { overflow: hidden; border: 1px solid #e5e7eb; border-radius: 12px; }
.eventpass-template-card > header { min-height: 43px; padding: 9px 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: #d9d9d9; }
.eventpass-template-card > header > div:first-child { display: flex; align-items: center; gap: 9px; }
.eventpass-template-card > header strong { font-size: 16px; }
.eventpass-template-body { min-height: 180px; padding: 12px; }
.figma-overline { color: #99a1af; font-size: 12px; letter-spacing: .3px; text-transform: uppercase; }
.eventpass-template-empty { margin: 28px 0 0; color: #99a1af; font-size: 13px; text-align: center; }
.eventpass-bon-line { margin-top: 8px; display: grid; grid-template-columns: max-content minmax(0, 1fr); align-items: start; gap: 8px; font-size: 14px; }
.eventpass-bon-line > strong { white-space: nowrap; }
.eventpass-bon-line small { display: block; color: #99a1af; font-size: 12px; }
.eventpass-counter-list { overflow: hidden; border: 1px solid #d8dde5; border-radius: 8px; }
.eventpass-counter-row { min-height: 53px; padding: 8px 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid #f3f4f6; }
.eventpass-counter-row:last-child { border-bottom: 0; }
.eventpass-counter-row strong { display: block; color: #4a5565; font-size: 13px; font-weight: 400; }
.eventpass-counter-row small { display: block; color: #99a1af; font-size: 11px; }
.eventpass-counter { display: inline-grid; grid-template-columns: 28px 28px 28px; height: 28px; border: 1px solid #d8dde5; border-radius: 4px; overflow: hidden; }
.eventpass-counter button, .eventpass-counter span { display: grid; place-items: center; padding: 0; color: #4a5565; background: #fff; border: 0; border-right: 1px solid #d8dde5; font-size: 14px; }
.eventpass-counter button:last-child { border-right: 0; }

.eventpass-send-panel { overflow: hidden; border: 1px solid rgba(38,114,227,.2); border-radius: 12px; }
.eventpass-send-panel > header { min-height: 45px; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #d9d9d9; }
.eventpass-send-filter { display: flex; align-items: center; gap: 10px; }
.eventpass-send-filter .form-select { width: 170px; min-height: 32px; padding-top: 3px; padding-bottom: 3px; font-size: 12px; }
.eventpass-send-filter .form-select { appearance: auto; background-position: right .55rem center; }
.eventpass-send-filter { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.eventpass-send-filter select { min-width: 138px; height: 29px; padding: 3px 8px; background: rgba(0,0,0,.12); border: 1px solid rgba(0,0,0,.22); border-radius: 4px; font-size: 12px; }
.eventpass-recipient-search { padding: 12px 24px 0; background: #fff; }
.eventpass-recipient-search .schedule-search-row { margin-bottom: 0; }
.eventpass-recipient-row { min-height: 116px; padding: 12px 24px; display: grid; grid-template-columns: minmax(230px,1.1fr) minmax(200px,.9fr) minmax(360px,1.55fr) minmax(180px,.65fr); align-items: start; gap: 28px; border-bottom: 1px solid #f3f4f6; }
.eventpass-recipient-row:nth-child(odd) { background: #fff; }
.eventpass-recipient-row:nth-child(even) { background: #ebebee; }
.shipping-pass-picker { overflow: hidden; border: 1px solid #d8dde5; border-radius: 8px; background: #fff; }
.shipping-pass-picker > div { min-height: 38px; padding: 5px 8px; display: flex; align-items: center; justify-content: space-between; gap: 10px; border-bottom: 1px solid #f3f4f6; color: #4a5565; font-size: 13px; }
.shipping-pass-picker > small { min-height: 34px; padding: 8px; display: block; color: #6b7280; font-size: 12px; }
.shipping-quantity-native { width: 90px; min-width: 90px; text-align: center; }
.shipping-pass-picker .add-eventpass { width: 100%; border: 0; border-radius: 0; color: #6b7280; box-shadow: none; }
.shipping-pass-picker > div:last-child { border-bottom: 0; }
.shipping-pass-picker .figma-type-tag { margin-left: 7px; }
.recipient-actions { padding-top: 1px; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.recipient-actions { justify-content: flex-end; }
.recipient-actions > button:not(.btn) { padding: 6px; color: #41a1bc; background: transparent; border: 0; }
.recipient-actions > button:last-child { color: #d8426c; }
.figma-row-actions img, .recipient-actions img { display: block; width: 15px; height: 15px; }
.figma-row-actions button, .recipient-actions > button:not(.btn) { display: inline-grid; place-items: center; }
.recipient-actions form > button:not(.btn), .recipient-actions > button:not(.btn) { padding: 5px; background: transparent; border: 0; }
.delivery-autosave { display: none !important; }
.eventpass-sent-row { min-height: 92px; align-items: center; }
.eventpass-sent-passes { display: grid; gap: 7px; font-size: 13px; }
.eventpass-sent-row .recipient-actions { align-items: center; flex-wrap: wrap; }
.eventpass-sent-row .recipient-actions small { width: 100%; color: #98a2b3; font-size: 11px; text-align: right; }
.delivery-date-list { width: 100%; display: grid; gap: 2px; }
.delivery-date-list small { display: block; }
.eventpass-import-preview-modal { max-width: 760px; }
.eventpass-import-summary { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.eventpass-import-summary > div { padding: 12px; display: grid; place-items: center; color: #4b5563; background: #f3f4f6; border-radius: 8px; }
.eventpass-import-summary strong { font-size: 24px; line-height: 28px; }
.eventpass-import-summary span { font-size: 12px; }
.eventpass-import-summary .is-valid { color: #166534; background: #dcfce7; }
.eventpass-import-summary .is-invalid { color: #991b1b; background: #fee2e2; }
.eventpass-import-summary .is-warning { color: #695e25; background: #fffae8; }
.eventpass-import-errors { max-height: 42vh; overflow-y: auto; border: 1px solid #e5e7eb; border-radius: 8px; }
.eventpass-import-error { padding: 12px; border-bottom: 1px solid #e5e7eb; }
.eventpass-import-error:last-child { border-bottom: 0; }
.eventpass-import-error > strong,.eventpass-import-error > small { display: block; }
.eventpass-import-error > small { margin-top: 2px; color: #6b7280; }
.eventpass-import-error ul { margin: 8px 0; padding-left: 20px; color: #991b1b; font-size: 12px; }
.eventpass-import-error .form-label { margin-bottom: 4px; font-size: 12px; font-weight: 600; }
.recipient-field { min-width: 0; }
.pending-import-note { display: block; margin-top: 5px; color: #b45309; font-size: 11px; line-height: 15px; text-align: left; }

/* Zeitplan views – Figma nodes 730:29423, 730:30502 and import variants */
.schedule-page { max-width: 1433px !important; }
.schedule-page-header { margin: -6px 0 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.schedule-page-header h1 { margin: 0; font-size: 24px; line-height: 30px; }
.schedule-page-header span { display: block; color: #99a1af; font-size: 14px; font-weight: 700; line-height: 18px; }
.schedule-panel { overflow: hidden; border: 1px solid #d9d9d9; border-radius: 10px; }
.schedule-toolbar { min-height: 45px; padding: 8px 12px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #d9d9d9; }
.schedule-view-tabs, .schedule-toolbar-actions { display: flex; align-items: center; gap: 8px; }
.schedule-tab, .schedule-toolbar-button { min-height: 29px; padding: 5px 10px; display: inline-flex; align-items: center; gap: 6px; color: #000; border: 1px solid transparent; border-radius: 6px; font-size: 13px; text-decoration: none; white-space: nowrap; }
.schedule-tab.is-active, .schedule-toolbar-button { background: rgba(0,0,0,.2); border-color: rgba(0,0,0,.3); }
.schedule-tab:hover, .schedule-toolbar-button:hover { color: #000; background: rgba(0,0,0,.28); }
.schedule-panel-body, .schedule-calendar-body { padding: 20px; background: #fff; }
.schedule-search-row { margin-bottom: 12px; display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.schedule-search-input { min-height: 37px; display: flex; align-items: center; gap: 10px; padding: 0 12px; border: 1px solid #e5e7eb; border-radius: 8px; color: #99a1af; }
.schedule-search-input input { width: 100%; border: 0; outline: 0; font-size: 13px; }
.schedule-table-wrap { overflow-x: auto; overflow-y: hidden; border: 1px solid #e5e7eb; border-radius: 8px; }
.schedule-table { min-width: 980px; font-size: 12px; }
.schedule-table thead th { padding: 10px 12px; background: #fff; border-bottom: 1px solid #e5e7eb; font-size: 12px; }
.schedule-table > :not(caption) > * > * { padding: 10px 12px; }
.schedule-table tbody tr:nth-child(even) > * { background: #fafafa; }
.schedule-row-actions { white-space: nowrap; }
.schedule-row-actions form { display: inline-block; margin: 0; }
.schedule-row-actions a, .schedule-row-actions button { margin-left: 8px; color: #41a1bc; text-decoration: none; background: transparent; border: 0; padding: 0; }
.schedule-row-actions a:last-child { color: #d8426c; }
.schedule-empty { padding: 46px 20px; color: #99a1af; text-align: center; font-size: 13px; }
.schedule-pagination { padding-top: 10px; display: flex; align-items: center; gap: 10px; color: #99a1af; font-size: 12px; }
.schedule-pagination > div { display: flex; align-items: center; gap: 4px; }
.schedule-pagination button, .schedule-pagination strong { min-height: 29px; padding: 5px 10px; background: #fff; border: 1px solid #e5e7eb; border-radius: 6px; font-size: 12px; font-weight: 400; }
.schedule-pagination strong { color: #000; background: #41a1bc; border-color: #41a1bc; }
.schedule-delete-all { margin-left: auto; color: #d8426c !important; }
.schedule-warning { padding: 10px; color: #695e25; background: #fffae8; border: 1px solid #695e25; border-radius: 6px; font-size: 12px; }
.schedule-calendar-body { min-height: 300px; }
.schedule-date-pills { margin-bottom: 14px; display: flex; gap: 8px; }
.schedule-date-pills a { padding: 6px 10px; color: #41a1bc; border: 1px solid #b8dce6; border-radius: 6px; font-size: 12px; text-decoration: none; }
.schedule-day { margin-bottom: 18px; }
.schedule-day-heading { margin-bottom: 6px; display: flex; align-items: center; justify-content: space-between; color: #41a1bc; font-size: 14px; }
.schedule-day-heading a { padding: 4px 8px; color: #99a1af; border: 1px solid #e5e7eb; border-radius: 5px; font-size: 11px; text-decoration: none; }
.schedule-calendar-table { width: max-content; min-width: 100%; table-layout: auto; font-size: 12px; }
.schedule-calendar-table { min-width: 1280px; }
.program-table { min-width: 1180px; }
.program-calendar { min-width: 1500px; }
.program-calendar th, .program-calendar td { min-width: 240px; }
.program-calendar th:first-child, .program-calendar td:first-child { min-width: 128px; width: 128px; }
.schedule-calendar-table th { background: #fff; font-size: 11px; }
.schedule-calendar-table td, .schedule-calendar-table th { padding: 8px; border-color: #e5e7eb; }
.schedule-calendar-table td:first-child, .schedule-calendar-table th:first-child { width: 128px; }
.schedule-calendar-table td:not(:first-child), .schedule-calendar-table th:not(:first-child) { min-width: 220px; }
.schedule-calendar-table td.has-schedule-event { background: #dcfce7; }
.schedule-calendar-event { position: relative; min-height: 30px; padding-right: 15px; }
.schedule-calendar-event small, .schedule-calendar-event strong { display: block; }
.schedule-calendar-event small { color: #99a1af; font-size: 10px; }
.schedule-calendar-event strong { font-size: 11px; }
.schedule-calendar-event span { display: block; margin-top: 3px; white-space: normal; overflow-wrap: anywhere; }
.schedule-calendar-event strong { white-space: normal; overflow-wrap: anywhere; }
.schedule-calendar-event a { position: absolute; top: 0; right: 0; color: #41a1bc; }
.schedule-calendar-event button { position: absolute; top: 0; right: 0; padding: 0; color: #41a1bc; background: transparent; border: 0; line-height: 1; }
.schedule-calendar-event button img { display: block; width: 15px; height: 15px; }
.schedule-create-page { max-width: 880px !important; }
.schedule-create-page > .card { margin-top: 18px; border-radius: 10px; }
.schedule-create-page > .card .card-body { padding: 24px; }
.schedule-create-page .form-label { font-size: 12px; font-weight: 700; }
.schedule-create-page textarea.form-control { min-height: 84px; }
.schedule-create-page .alert-warning { color: #695e25; background: #fffae8; border-color: #695e25; }
.schedule-import-stepper { max-width: 520px; margin: 0 auto 24px; display: flex; align-items: flex-start; }
.schedule-import-stepper > a, .schedule-import-stepper > span { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 7px; color: #000; text-align: center; font-size: 13px; text-decoration: none; }
.schedule-import-stepper > :not(:last-child)::after { content: ""; position: absolute; top: 18px; left: calc(50% + 17px); width: calc(100% - 34px); height: 1px; background: #000; }
.schedule-import-stepper strong { z-index: 1; width: 36px; height: 36px; display: grid; place-items: center; color: #000; background: #ebebee; border-radius: 50%; }
.schedule-import-stepper .is-complete strong, .schedule-import-stepper .is-current strong { color: #fff; background: #d8426c; }
.schedule-import-stepper .is-disabled { color: #98a2b3; cursor: not-allowed; }
.schedule-import-stepper .is-disabled strong { color: #98a2b3; background: #f3f4f6; }
.schedule-step-info { margin-top: -8px; margin-bottom: 24px; }
.schedule-import-actions { margin-top: 18px; padding-top: 16px; display: flex; align-items: center; justify-content: flex-end; gap: 14px; border-top: 1px solid #f3f4f6; }
.schedule-import-actions > span { margin-right: auto; color: var(--ep-text); font-size: 13px; }
.schedule-category-flow-panel { width: 100%; min-height: 260px; margin: 0 auto; }
.schedule-create-modal { max-width: 680px; }
.schedule-create-modal .modal-body { max-height: 72vh; overflow-y: auto; }

/* Push-Nachrichten und Statistiken – Figma node 752:37086 */
.announcement-page > .card { border: 1px solid #e5e7eb !important; border-radius: 10px; box-shadow: none !important; }
.announcement-page { box-sizing: border-box; max-width: 1433px !important; padding-left: 43px !important; padding-right: 43px !important; }
.announcement-page > .card { width: 100%; margin-right: 0; margin-left: 0; }
.announcement-page > .card > .card-header { color: #000 !important; background: #d9d9d9 !important; border-bottom-color: #e5e7eb; }
.announcement-history-header { display: flex; align-items: center; gap: 16px; min-height: 55px; }
.announcement-history-header .form-select { width: 230px; min-height: 32px; padding: 4px 34px 4px 12px; color: #111827; background-color: rgba(0,0,0,.12); border: 1px solid rgba(0,0,0,.22); border-radius: 4px; font-size: 14px; }
.announcement-actions { align-items: center; gap: 4px; }
.announcement-actions .btn { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; min-height: 28px; padding: 4px 6px; color: #41a1bc; background: transparent !important; border: 0 !important; box-shadow: none !important; }
.announcement-actions .btn:hover { color: #267f9a; }
.announcement-actions .btn img { display: block; width: 15px; height: 15px; }
.announcement-actions .announcement-delete-action { color: #d8428a; }
.announcement-actions .announcement-delete-action:hover { background: rgba(216,66,138,.08) !important; }
.eventpass-pink-toggle:checked { background-color: #d8426c; border-color: #d8426c; }
.eventpass-pink-toggle:focus { box-shadow: 0 0 0 .2rem rgba(216,66,108,.22); }
.statistics-design-page { max-width: 1500px !important; }
.statistics-backend-note { margin: 0 0 20px; padding: 10px 12px; color: #695e25; background: #fffae8; border: 1px solid #695e25; border-radius: 8px; font-size: 12px; }
.statistics-design-page .nav-tabs { gap: 8px; border-bottom: 0; }
.statistics-design-page .nav-tabs .nav-link { color: #000; border: 1px solid #e5e7eb; border-radius: 7px; }
.statistics-design-page .nav-tabs .nav-link.active { color: #000; background: #d9d9d9; border-color: rgba(0,0,0,.3); }
.statistics-design-page .card { border: 1px solid #e5e7eb; border-radius: 10px; box-shadow: none !important; }
.statistics-design-page .card-header { color: #000 !important; background: #ebebee !important; border-bottom: 1px solid #e5e7eb; }
.statistics-design-page .card.text-center { min-height: 112px; text-align: left !important; }
.statistics-design-page .card.text-center .card-body { padding: 16px; }
.statistics-design-page .display-4 { font-size: 28px; font-weight: 700; }
.statistics-design-page .border-primary { border-color: #1d4ed8 !important; }
.statistics-design-page .border-success { border-color: #385f3d !important; }
.statistics-design-page .border-warning { border-color: #695e25 !important; }
.statistics-design-page .text-primary { color: #1d4ed8 !important; }
.statistics-design-page .text-success { color: #385f3d !important; }
.statistics-design-page .text-warning { color: #695e25 !important; }

.statistics-figma-page { max-width: 1540px !important; padding-top: 30px; padding-bottom: 80px; }
.statistics-kpi-grid { margin: 18px 0 12px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.statistics-kpi { min-height: 90px; padding: 14px 16px; display: flex; flex-direction: column; gap: 3px; border: 2px solid #d9d9d9; border-radius: 8px; }
.statistics-kpi span { color: #6a7282; font-size: 12px; }
.statistics-kpi strong { font-size: 28px; line-height: 34px; }
.statistics-kpi.is-blue { color: #1d4ed8; border-color: #1d4ed8; }
.statistics-kpi.is-green { color: #385f3d; border-color: #385f3d; }
.statistics-kpi.is-yellow { color: #695e25; border-color: #695e25; }
.statistics-kpi.is-gray { color: #4b5563; border-color: #9ca3af; background: #e5e7eb; }
.statistics-info-grid { margin-bottom: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.statistics-info-grid article { min-height: 96px; padding: 14px 16px; display: flex; flex-direction: column; gap: 5px; border: 1px solid #e5e7eb; border-radius: 8px; font-size: 12px; }
.statistics-info-grid strong { font-size: 12px; }
.statistics-festkarte > div { display: flex; align-items: center; gap: 8px; }
.statistics-festkarte label { color: #6a7282; font-size: 10px; }
.statistics-festkarte input { width: 54px; padding: 2px 4px; border: 1px solid #e5e7eb; border-radius: 4px; font-size: 11px; }
.statistics-festkarte > span { display: flex; align-items: end; justify-content: space-between; }
.statistics-festkarte b { font-size: 20px; }
.statistics-muted, .statistics-empty { color: #6a7282; font-size: 12px; }
.statistics-panel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.statistics-panel { overflow: hidden; border: 1px solid #e5e7eb; border-radius: 10px; }
.statistics-panel > header { padding: 12px 16px; color: #111827; background: #f3f4f6; border-bottom: 1px solid #e5e7eb; font-size: 13px; font-weight: 700; }
.statistics-mini-kpis { padding: 12px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.statistics-mini-kpis.has-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.statistics-mini-kpis > div { min-height: 52px; padding: 7px; display: flex; flex-direction: column; align-items: center; border-radius: 6px; text-align: center; }
.statistics-mini-kpis small { color: #6a7282; font-size: 10px; }
.statistics-mini-kpis strong { font-size: 17px; }
.statistics-mini-kpis .is-blue { color: #1d4ed8; background: #dbeafe; }
.statistics-mini-kpis .is-green { color: #2e9f5b; background: #d1fae5; }
.statistics-mini-kpis .is-yellow { color: #b78a13; background: #fff7df; }
.statistics-mini-kpis .is-gray { color: #4b5563; background: #e5e7eb; }
.statistics-mini-kpis .is-pink { color: #d8426c; background: #fce7f3; }
.statistics-table { width: calc(100% - 24px); margin: 0 12px 12px; border-collapse: collapse; table-layout: fixed; font-size: 11px; }
.statistics-table-item col:nth-child(1) { width: 48%; }
.statistics-table-item col:nth-child(2), .statistics-table-item col:nth-child(3), .statistics-table-item col:nth-child(4) { width: 16%; }
.statistics-table-item col:nth-child(5) { width: 4%; }
.statistics-table-toggle col:nth-child(1) { width: 38%; }
.statistics-table-toggle col:nth-child(2) { width: 12%; }
.statistics-table-toggle col:nth-child(3), .statistics-table-toggle col:nth-child(4), .statistics-table-toggle col:nth-child(5) { width: 14%; }
.statistics-table-toggle col:nth-child(6) { width: 8%; }
.statistics-table th, .statistics-table td { padding: 8px; border-bottom: 1px solid #e5e7eb; }
.statistics-table th { font-size: 10px; }
.statistics-table td:not(:first-child), .statistics-table th:not(:first-child) { text-align: right; }
.statistics-category-row { font-weight: 700; }
.statistics-category-row:has(.statistics-dropdown-button[aria-expanded="true"]) { background: #e5e7eb; }
.statistics-dropdown-button { padding: 0; color: #000; background: transparent; border: 0; }
.statistics-dropdown-button i { display: inline-block; transition: transform .15s ease; }
.statistics-dropdown-button[aria-expanded="true"] i { transform: rotate(180deg); }
.statistics-details { padding: 0 !important; background: #fff; }
.statistics-detail-table { background: #fff; }
.statistics-details > div { padding: 7px 12px; display: flex; justify-content: space-between; border-top: 1px solid #e5e7eb; font-size: 10px; }
.statistics-details .btn { margin: 8px 12px; }
.statistics-detail-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 10px; }
.statistics-detail-table th, .statistics-detail-table td { padding: 7px 12px; border-top: 1px solid #e5e7eb; }
.statistics-detail-table th:not(:first-child), .statistics-detail-table td:not(:first-child) { text-align: right; }
.statistics-detail-table td:first-child { min-width: 220px; }
.statistics-bon-name, .statistics-detail-table td:first-child small { display: block; }
.statistics-bon-name { color: #111827; }
.statistics-detail-table td:first-child small { margin-top: 2px; color: #94a3b8; font-size: 9px; }
.statistics-badge { min-width: 18px; height: 18px; display: inline-grid; place-items: center; border-radius: 50%; font-size: 10px; font-weight: 700; }
.statistics-badge.blue { background: #1d4ed8; }
.statistics-badge.green { color: #2e9f5b; background: #d1fae5; }
.statistics-badge.cyan { background: #41a1bc; }
.statistics-badge.pink { color: #d8426c; background: #fce7f3; }
.statistics-badge.yellow { color: #b78a13; background: #fff7df; }
.statistics-badge.gray { color: #111827; background: #d1d1d1; }
.statistics-users-button { margin: 0 !important; color: #111827; background: #bdbdbd; border: 1px solid #909090; white-space: nowrap; }
.statistics-users-button:hover { color: #111827; background: #a9a9a9; border-color: #7d7d7d; }
.statistics-detail-table .statistics-template-users-row td { padding: 4px 12px 8px; text-align: right; border-top: 0; }
.statistics-user-statuses .tag-green { color: #2e9f5b; background: #d1fae5; }
.statistics-user-statuses .tag-pink { color: #d8426c; background: #fce7f3; }
.statistics-user-statuses .tag-gold { color: #b78a13; background: #fff7df; }
.statistics-user-statuses .tag-gray { color: #4b5563; background: #e5e7eb; }
.statistics-empty { min-height: 112px; margin: 0; padding: 28px 16px; }
.statistics-chart-placeholder { min-height: 130px; margin: 12px; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; color: #6a7282; border-top: 1px solid #e5e7eb; font-size: 10px; }
.statistics-chart-placeholder div { min-height: 72px; display: grid; place-items: center; background: linear-gradient(to top, #f8fafc 1px, transparent 1px); background-size: 100% 24px; }
.statistics-chart-placeholder i { margin-right: 6px; color: #41a1bc; }
.statistics-chart { height: 190px; margin: 12px; padding-top: 10px; border-top: 1px solid #e5e7eb; }
.statistics-chart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 150px; align-items: center; }
.statistics-chart-grid .statistics-chart { margin-right: 0; }
.statistics-pie-chart { width: 150px; height: 150px; padding: 12px; }
.statistics-pie-chart canvas { width: 126px !important; height: 126px !important; }
.statistics-chart-legend { margin: -2px 12px 14px; display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; color: #6a7282; font-size: 10px; }
.statistics-chart-legend span { display: inline-flex; align-items: center; gap: 6px; }
.statistics-chart-legend i { width: 10px; height: 10px; display: inline-block; border-radius: 2px; }
.statistics-chart-legend .is-cyan { background: #41a1bc; }
.statistics-chart-legend .is-green { background: #2e9f5b; }
.statistics-chart-legend .is-pink { background: #d8426c; }
.statistics-chart-legend .is-yellow { background: #b78a13; }
.statistics-chart-legend .is-gray { background: #d9d9d9; }
.statistics-status-filter { display: flex; align-items: center; gap: 10px; }
.statistics-status-filter select { min-width: 125px; height: 29px; padding: 3px 26px 3px 8px; color: #111827; background: rgba(0,0,0,.12); border: 1px solid rgba(0,0,0,.22); border-radius: 4px; font-size: 12px; font-weight: 400; }
.statistics-user-statuses { display: flex; flex-wrap: wrap; gap: 5px; }
.figma-type-tag.tag-pink { color: #9d174d; background: #fce7f3; }

@media (max-width: 860px) {
    .schedule-toolbar, .schedule-page-header { align-items: flex-start; flex-direction: column; }
    .schedule-toolbar-actions { flex-wrap: wrap; }
    .schedule-pagination { align-items: flex-start; flex-direction: column; }
    .schedule-delete-all { margin-left: 0; }
}

.page-user .app-main > .container > h2 {
    margin-bottom: 24px !important;
    font-size: 28px;
    line-height: 42px;
}

.page-user .app-main > .container > .row > [class*="col-md-4"] {
    display: flex;
}

.page-user .app-main > .container > .row > [class*="col-md-4"] > .card {
    width: 100%;
    min-height: 647px;
}

.page-user .card-body { max-height: 600px; overflow-y: auto; }
.page-user .list-group-item h6 { font-size: 13px; line-height: 18px; }
.page-user .list-group-item small { color: #99a1af; font-size: 11px; }

.admin-create-card .card-body { padding: 24px; }
.admin-create-card .alert-info { margin-top: 6px; }

@media (max-width: 1100px) {
    .app-navbar { gap: 28px; }
    .app-brand { width: 250px; flex-basis: 250px; }
    .app-nav-list { gap: 24px; }
}

@media (max-width: 860px) {
    .app-header,
    .app-navbar { min-height: 96px; }

    .app-navbar { position: relative; padding: 14px 20px; align-items: center; }
    .app-brand { width: 176px; height: 68px; flex-basis: 176px; }

    .app-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
    }

    .app-nav-collapse {
        position: absolute;
        z-index: 1040;
        top: 96px;
        right: 0;
        left: 0;
        min-height: 0;
        padding: 12px 20px 20px;
        background: #fff;
        border-bottom: 1px solid var(--ep-border);
        box-shadow: 0 14px 28px rgba(16, 24, 40, .1);
    }

    .app-nav-collapse.collapse:not(.show) { display: none; }
    .app-nav-collapse.show { display: block; }
    .app-nav-list { display: block; }
    .app-nav-list li + li { border-top: 1px solid var(--ep-border-soft); }
    .app-nav-link,
    .app-logout { width: 100%; min-height: 48px; }
    .app-nav-actions {
        width: 100%;
        margin-left: 0;
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        border-top: 1px solid var(--ep-border-soft);
    }
    .environment-badge { align-self: flex-start; margin: 10px 0; }
    .app-logout { border-top: 1px solid var(--ep-border-soft); }

    .app-main { padding: 24px 0 56px; }
    .app-main > .container,
    .app-main > form > .container,
    .app-footer { width: calc(100% - 40px); }

    .event-module-grid { grid-template-columns: 1fr; }
    .eventpass-stepper { padding: 0; }
    .eventpass-step-label { font-size: 12px; }
    .eventpass-two-columns,
    .eventpass-template-grid { grid-template-columns: 1fr; }
    .eventpass-recipient-row { grid-template-columns: 1fr 1fr; gap: 12px; }
    .eventpass-send-panel > header { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 575.98px) {
    html { font-size: 14px; }
    h1, .h1, h2, .h2 { font-size: 24px; line-height: 34px; }
    .card-body { padding: 18px; }
    .list-group { margin: -18px; }
    .table-responsive, .card-body { overflow-x: auto; }
    .app-footer { align-items: center; flex-direction: column; }
    .icon-picker-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .event-module-card { min-height: 190px; padding: 30px 20px; }
    .event-detail-heading { align-items: flex-start; }
    .eventpass-flow-heading,
    .eventpass-flow-footer { align-items: stretch; flex-direction: column; }
    .eventpass-step-label { max-width: 70px; font-size: 10px; line-height: 14px; }
    .eventpass-step-number { width: 34px; height: 34px; }
    .eventpass-step:not(:last-child)::after { top: 16px; left: calc(50% + 19px); width: calc(100% - 38px); }
    .eventpass-page-header { flex-direction: column; }
    .eventpass-recipient-row { grid-template-columns: 1fr; }
    .figma-sticky-footer { font-size: 13px; }
}
