:root {
    --bg: #f7fafb;
    --line: #e3edf0;
    --card: #ffffff;
    --text: #17313a;
    --muted: #6b848b;
    --primary: #f2a33a;
    --primary-dark: #d98922;
    --secondary: #0f8a93;
    --success: #1d8b63;
    --error: #b54a3a;
    --shadow: 0 24px 60px rgba(18, 48, 57, 0.12);
    --font-base: "Montserrat", sans-serif;
}
* { box-sizing: border-box; }
html, body {
    width: 100%;
    max-width: 100%;
}
img, svg {
    max-width: 100%;
    height: auto;
}
body {
    margin: 0;
    font-family: var(--font-base);
    color: var(--text);
    background: #f7fafb;
    min-height: 100vh;
    min-height: 100dvh;
}
.page-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(248, 251, 252, 0.9)),
        var(--page-bg-image);
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    opacity: 1;
    pointer-events: none;
}
.site-shell { position: relative; max-width: 1200px; margin: 0 auto; padding: 28px 20px 60px; min-height: 100vh; min-height: 100dvh; }
.site-header {
    display: flex; align-items: center; justify-content: center; gap: 20px; text-align: center;
    margin-bottom: 28px; position: relative;
}
.site-header-admin { justify-content: space-between; text-align: left; }
.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.admin-user-chip {
    display: grid;
    gap: 4px;
    padding: 10px 14px;
    border-radius: 18px;
    background: rgba(255,255,255,0.92);
    border: 1px solid var(--line);
    box-shadow: 0 10px 24px rgba(18, 48, 57, 0.08);
}
.admin-user-chip span {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.admin-user-chip strong {
    font-size: 14px;
    color: var(--text);
}
.brand-lockup { display: block; width: 100%; max-width: 980px; }
.site-header-admin .brand-lockup { max-width: 440px; }
.brand-logo { display: block; width: 70%; height: auto; }
.summary-page-shell {
    width: 100%;
}
.summary-page-card {
    width: min(100%, 960px);
}
.summary-page-heading {
    width: 100%;
}
.site-shell,
.page-frame,
.single-panel,
.summary-page-shell,
.summary-page-card,
.summary-page-table-wrap,
.summary-table-wrap,
.summary-coupon-row,
.summary-actions,
.summary-action-form,
.coupon-input,
.summary-student-id,
.upload-card-shell,
.student-id-preview {
    min-width: 0;
}
.site-shell,
.page-frame {
    width: 100%;
    max-width: 100%;
}
.stepper-mobile-head > *,
.summary-benefits-head > *,
.coupon-row > *,
.button-row > * {
    min-width: 0;
}
.section-heading h1, .section-heading h2, .admin-toolbar h2, .detail-card h3, .result-card h2 {
    margin: 0; font-family: var(--font-base); font-weight: 700;
}
.section-heading p { margin: 6px 0 0; color: var(--muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: 12px; font-weight: 700; color: var(--secondary); margin: 0 0 8px; }
.page-frame { display: grid; gap: 20px; }
.admin-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: -6px;
}
.admin-nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 16px;
    border-radius: 999px;
    border: 1px solid rgba(23, 49, 58, 0.1);
    background: rgba(255,255,255,0.9);
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.admin-nav-link:hover,
.admin-nav-link.is-active {
    color: var(--secondary);
    border-color: rgba(15, 138, 147, 0.2);
    background: rgba(15, 138, 147, 0.08);
    box-shadow: 0 10px 22px rgba(18, 48, 57, 0.06);
}
.flow-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 340px); gap: 20px; }
.single-panel { display: grid; justify-items: center; }
.card { background: rgba(255,255,255,0.96); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); backdrop-filter: blur(8px); }
.form-card, .admin-card, .price-card { width: 100%; padding: 28px; }
.price-card { align-self: start; display: grid; gap: 18px; background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250, 247, 240, 0.96)); border-color: rgba(214, 194, 150, 0.34); box-shadow: 0 24px 60px rgba(18, 48, 57, 0.12), inset 0 1px 0 rgba(255,255,255,0.72); }
.narrow-card { max-width: 760px; }
.wide-card { max-width: 960px; }
.section-heading { margin: 20px 0 24px; }
.centered-heading { text-align: center; }
.section-heading h1 { font-size: 40px; line-height: 1.05; }
.section-heading h2 { font-size: 32px; line-height: 1.1; }
.section-summary { max-width: 720px; }
.registration-page-hero {
    display: grid;
    gap: 8px;
}
.registration-page-note {
    max-width: 720px;
    line-height: 1.7;
}
.stepper-mobile {
    display: none;
    gap: 12px;
    margin-bottom: 18px;
    padding: 14px 16px;
    border: 1px solid rgba(15, 138, 147, 0.12);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(245, 250, 251, 0.98), rgba(255, 255, 255, 0.98));
}
.stepper-mobile-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}
.stepper-mobile-count {
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.stepper-mobile-title {
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}
.stepper-mobile-track {
    position: relative;
    width: 100%;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(15, 138, 147, 0.1);
}
.stepper-mobile-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(15, 138, 147, 0.92), rgba(49, 182, 192, 0.92));
    transition: width 0.18s ease;
}
.stepper { display: grid; grid-template-columns: repeat(var(--step-count, 4), minmax(0, 1fr)); gap: 10px; }
.stepper-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #f3f8f9; color: var(--muted); font-size: 14px; }
.stepper-item.is-active { background: rgba(15, 138, 147, 0.14); color: var(--text); border: 1px solid rgba(15, 138, 147, 0.14); }
.stepper-item.is-complete { background: rgba(29, 139, 99, 0.14); color: var(--success); border: 1px solid rgba(29, 139, 99, 0.18); }
.stepper-item.is-complete .stepper-index { background: var(--success); border-color: var(--success); color: #fff; }
.stepper-item.is-complete .stepper-label { color: var(--success); font-weight: 700; }
.stepper-index { width: 28px; height: 28px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--line); font-weight: 700; }
.stacked-form { display: grid; gap: 18px; }
.form-grid { display: grid; gap: 16px; }
.form-grid.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.registration-section {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(227, 237, 240, 0.95);
    background: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(248, 251, 252, 0.95));
}
.registration-ticket-section {
    border-color: rgba(15, 138, 147, 0.12);
}
.registration-section-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.registration-section-copy {
    margin: 6px 0 0;
    color: var(--muted);
    line-height: 1.6;
}
.registration-required-copy {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    white-space: nowrap;
}
label span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field-label,
.field-label-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}
.field-label-inline {
    justify-content: flex-start;
    flex-wrap: wrap;
}
.field-label > span,
.field-label-inline > span {
    display: block;
    min-width: 0;
    margin-bottom: 0;
}
.required-mark {
    display: inline-block;
    font-size: 1em;
    font-weight: inherit;
    line-height: 1;
}

input, select, textarea { width: 100%; border: 1px solid #cbdbe0; border-radius: 14px; padding: 14px 16px; font-size: 15px; color: var(--text); background: #fff; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(15, 138, 147, 0.28); border-color: var(--secondary); }
.registration-field {
    display: grid;
    gap: 8px;
}
.registration-field-span {
    grid-column: 1 / -1;
}
.registration-field.has-error span {
    color: var(--text);
}
.field-note {
    display: block;
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.55;
}
.registration-section .helper-copy,
.registration-field .helper-copy {
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: var(--error);
    font-size: 13px;
    line-height: 1.5;
}
input.is-invalid,
select.is-invalid,
textarea.is-invalid {
    border-color: rgba(181, 74, 58, 0.7);
    background: rgba(253, 244, 242, 0.92);
    box-shadow: 0 0 0 4px rgba(181, 74, 58, 0.08);
}
input.is-invalid:focus,
select.is-invalid:focus,
textarea.is-invalid:focus {
    outline-color: rgba(181, 74, 58, 0.18);
    border-color: rgba(181, 74, 58, 0.82);
}
.radio-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}
.radio-card {
    position: relative;
    display: grid;
    gap: 14px;
    min-height: 168px;
    height: 100%;
    border: 1px solid #d3dde1;
    border-radius: 22px;
    padding: 18px;
    background: rgba(255,255,255,0.98);
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.radio-card:hover {
    border-color: rgba(15, 138, 147, 0.26);
    box-shadow: 0 16px 30px rgba(18, 48, 57, 0.08);
    transform: translateY(-2px);
}
.radio-card.is-selected {
    border-color: rgba(15, 138, 147, 0.46);
    background: linear-gradient(180deg, rgba(240, 249, 250, 0.96), rgba(255, 255, 255, 0.98));
    box-shadow: 0 18px 36px rgba(15, 138, 147, 0.12);
    transform: translateY(-2px);
}
.ticket-choice-card span,
.ticket-choice-card strong,
.ticket-choice-card small {
    margin-bottom: 0;
}
.radio-card:focus-within {
    border-color: rgba(15, 138, 147, 0.42);
    box-shadow: 0 0 0 4px rgba(15, 138, 147, 0.08), 0 14px 28px rgba(18, 48, 57, 0.08);
}
.ticket-choice-card {
    align-content: space-between;
}
.ticket-choice-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.ticket-choice-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(242, 163, 58, 0.15);
    color: #a56711;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.ticket-choice-badge.is-muted {
    background: rgba(15, 138, 147, 0.1);
    color: var(--secondary);
}
.ticket-choice-indicator {
    position: relative;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2px solid rgba(15, 138, 147, 0.24);
    background: #fff;
    flex: 0 0 22px;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}
.ticket-choice-indicator::after {
    content: "\2713";
    position: absolute;
    top: 50%;
    left: 50%;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
    transition: transform 0.18s ease, opacity 0.18s ease;
}
.radio-card.is-selected .ticket-choice-indicator {
    border-color: var(--secondary);
    background: var(--secondary);
    box-shadow: 0 0 0 5px rgba(15, 138, 147, 0.08);
    transform: scale(1.03);
}
.radio-card.is-selected .ticket-choice-indicator::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}
.ticket-choice-body {
    display: grid;
    gap: 8px;
}
.phone-field {
    display: grid;
    grid-template-columns: minmax(150px, 190px) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
    padding: 4px;
    border: 1px solid #cbdbe0;
    border-radius: 16px;
    background: #fff;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.phone-field:focus-within {
    border-color: var(--secondary);
    box-shadow: 0 0 0 4px rgba(15, 138, 147, 0.08);
}
.phone-field.is-invalid-group {
    border-color: rgba(181, 74, 58, 0.7);
    background: rgba(253, 244, 242, 0.92);
    box-shadow: 0 0 0 4px rgba(181, 74, 58, 0.08);
}
.phone-field select,
.phone-field input {
    border: 0;
    box-shadow: none;
    background: transparent;
}
.phone-field select:focus,
.phone-field input:focus {
    outline: none;
}
.phone-field select {
    border-right: 1px solid var(--line);
    border-radius: 12px 0 0 12px;
}
.phone-field input {
    border-radius: 0 12px 12px 0;
}
.phone-field select.is-invalid,
.phone-field input.is-invalid {
    background: transparent;
    box-shadow: none;
}
.price-amount { display: flex; align-items: baseline; gap: 10px; margin: 8px 0 6px; }
.price-amount span { color: #8a6a1f; font-weight: 700; letter-spacing: 0.08em; }
.price-amount strong { font-size: 46px; color: #d99a1b; letter-spacing: -0.03em; text-shadow: 0 1px 0 rgba(255,255,255,0.5); }
.package-type { margin: 0; color: #111111; font-weight: 700; font-size: 22px; line-height: 1.3; }
.radio-card-title { margin: 0; font-weight: 700; color: #111111; font-size: 18px; line-height: 1.35; }
.ticket-choice-helper {
    display: block;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.55;
}
.radio-card-price {
    display: block;
    font-size: 20px;
    color: #111111;
    font-weight: 800;
}
.package-copy { margin: -2px 0 6px; color: #394a50; line-height: 1.68; font-weight: 500; }
.package-features { display: grid; gap: 12px; margin: 0; padding-left: 20px; color: #111111; line-height: 1.6; list-style: none; }
.package-features li { position: relative; padding-left: 18px; }
.package-features li::before { content: ""; position: absolute; left: 0; top: 0.68em; width: 7px; height: 7px; border-radius: 999px; background: #d99a1b; box-shadow: 0 0 0 4px rgba(217, 154, 27, 0.12); }
.package-meta { padding-top: 18px; border-top: 1px solid var(--line); }
.registration-summary-card {
    position: sticky;
    top: 24px;
    gap: 22px;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.registration-summary-card.is-refreshing {
    border-color: rgba(15, 138, 147, 0.36);
    box-shadow: 0 28px 64px rgba(15, 138, 147, 0.14), inset 0 1px 0 rgba(255,255,255,0.72);
    transform: translateY(-1px);
}
.summary-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.summary-panel-caption {
    margin: 6px 0 0;
    color: var(--muted);
    line-height: 1.55;
}
.summary-selection-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(15, 138, 147, 0.1);
    color: var(--secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}
.summary-benefits-block {
    display: grid;
    gap: 14px;
}
.summary-benefits-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.summary-details-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}
.summary-details-toggle-icon {
    position: relative;
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
}
.summary-details-toggle-icon::before,
.summary-details-toggle-icon::after {
    content: "";
    position: absolute;
    top: 4px;
    width: 7px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.18s ease;
}
.summary-details-toggle-icon::before {
    left: 0;
    transform: rotate(45deg);
}
.summary-details-toggle-icon::after {
    right: 0;
    transform: rotate(-45deg);
}
.registration-summary-card.is-details-open .summary-details-toggle-icon::before {
    transform: rotate(-45deg);
}
.registration-summary-card.is-details-open .summary-details-toggle-icon::after {
    transform: rotate(45deg);
}
.summary-details-extra {
    display: grid;
    gap: 12px;
}
.summary-details-extra.is-empty {
    display: none;
}
.package-features-primary {
    gap: 10px;
}
.package-features-secondary {
    padding-top: 4px;
}
.summary-block-label {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.summary-meta {
    display: grid;
    gap: 14px;
}
.summary-stack, .result-details { display: grid; gap: 18px; }
.summary-stack span, .result-details span, .detail-card dt, .upload-meta span { display: block; color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; }
.summary-stack strong, .result-details strong, .detail-card dd, .upload-meta strong { display: block; margin-top: 4px; }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; }
.button-row.align-right { justify-content: flex-end; }
.button-row.split-row { justify-content: space-between; align-items: center; }
.registration-action-row {
    padding-top: 10px;
}
.body-event .site-shell {
    padding-bottom: 136px;
}
.primary-button, .secondary-button, .ghost-button, .upload-trigger {
    display: inline-flex; align-items: center; justify-content: center; min-width: 160px; border-radius: 999px;
    padding: 14px 24px; font-size: 15px; font-weight: 700; text-decoration: none; cursor: pointer; border: 0;
}
.primary-button { background: var(--primary); color: #fff; }
.registration-primary-button {
    min-width: 220px;
    box-shadow: 0 16px 30px rgba(217, 137, 34, 0.24);
}
.primary-button:disabled, .secondary-button:disabled, .ghost-button:disabled { opacity: 0.58; cursor: not-allowed; box-shadow: none; transform: none; }
.primary-button:hover { background: var(--primary-dark); }
.secondary-button { background: rgba(15, 138, 147, 0.1); color: var(--secondary); }
.ghost-button { background: transparent; color: var(--text); border: 1px solid var(--line); }
.upload-trigger { background: #22a79d; color: #fff; }
.support-help-widget {
    position: fixed;
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 70;
    display: grid;
    justify-items: end;
    gap: 10px;
}
.support-help-panel {
    width: min(360px, calc(100vw - 36px));
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(23, 49, 58, 0.08);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 48px rgba(18, 48, 57, 0.18);
}
.support-help-panel[hidden] {
    display: none !important;
}
.support-help-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}
.support-help-panel-eyebrow {
    margin: 0 0 4px;
    color: var(--secondary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.support-help-panel-title {
    margin: 0;
    font-size: 22px;
    line-height: 1.15;
}
.support-help-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(15, 138, 147, 0.08);
    color: var(--secondary);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}
.support-help-panel-copy {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.55;
}
.support-help-feedback {
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.5;
}
.support-help-feedback.is-success {
    background: rgba(29, 139, 99, 0.12);
    color: var(--success);
}
.support-help-feedback.is-error {
    background: rgba(181, 74, 58, 0.1);
    color: var(--error);
}
.support-help-form {
    display: grid;
    gap: 12px;
}
.support-help-field {
    display: grid;
    gap: 6px;
}
.support-help-field span {
    display: block;
    margin-bottom: 0;
    font-size: 13px;
    font-weight: 700;
}
.support-help-field textarea {
    min-height: 120px;
    resize: vertical;
}
.support-help-actions {
    display: grid;
    gap: 10px;
    margin-top: 4px;
}
.support-help-submit {
    width: 100%;
    min-width: 0;
}
.support-help-direct {
    margin: 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}
.support-help-direct a {
    color: var(--secondary);
    font-weight: 700;
    text-decoration: none;
}
.support-help-fab {
    display: grid;
    justify-items: end;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: right;
}
.support-help-copy {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(23, 49, 58, 0.08);
    box-shadow: 0 12px 28px rgba(18, 48, 57, 0.14);
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
.support-help-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: linear-gradient(180deg, #22a79d, #0f8a93);
    box-shadow: 0 18px 34px rgba(15, 138, 147, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.support-help-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    backdrop-filter: blur(6px);
}
.support-help-avatar svg {
    width: 22px;
    height: 22px;
}
.support-help-widget.is-open .support-help-fab .support-help-button,
.support-help-fab:hover .support-help-button,
.support-help-fab:focus-visible .support-help-button {
    transform: translateY(-2px);
    box-shadow: 0 22px 38px rgba(15, 138, 147, 0.34);
    background: linear-gradient(180deg, #24b7ac, #0f949e);
}
.support-help-fab:focus-visible {
    outline: none;
}
.support-help-fab:focus-visible .support-help-copy {
    box-shadow: 0 0 0 4px rgba(15, 138, 147, 0.14), 0 12px 28px rgba(18, 48, 57, 0.14);
}
.upload-trigger.is-disabled, .upload-dropzone.is-disabled { opacity: 0.58; cursor: not-allowed; pointer-events: none; }
.consent-stack { display: grid; gap: 12px; }
.consent-item { display: flex; align-items: flex-start; gap: 12px; padding: 18px; border-radius: 18px; background: #f5fafb; border: 1px solid var(--line); }
.consent-item.has-error {
    border-color: rgba(181, 74, 58, 0.26);
    background: rgba(253, 244, 242, 0.82);
}
.consent-item input { width: auto; margin: 3px 0 0; }
.consent-item span { margin-bottom: 0; }
.consent-copy { display: grid; gap: 4px; }
.consent-copy small { color: var(--muted); line-height: 1.45; }
.registration-verification-section {
    padding-bottom: 18px;
}
.registration-verification-section .turnstile-panel {
    margin-top: 2px;
    min-height: 110px;
}
.upload-card-panel { max-width: 760px; }
.upload-card-shell { display: grid; gap: 18px; }
.upload-copy-block { text-align: left; }
.upload-label { margin: 0; color: var(--secondary); font-size: 28px; font-family: var(--font-base); font-weight: 700; }
.upload-label .required-mark {
    margin-left: 10px;
    vertical-align: middle;
}
.upload-subtitle { margin: 6px 0 0; color: var(--primary-dark); font-style: italic; }
.upload-dropzone {
    min-height: 220px; border: 3px dashed rgba(23, 49, 58, 0.75); border-radius: 20px; background: rgba(255,255,255,0.82);
    display: grid; place-items: center; text-align: center; padding: 28px; cursor: pointer;
}
.upload-dropzone.is-dragover { border-color: var(--secondary); background: rgba(15, 138, 147, 0.08); }
.upload-title { margin: 0; font-size: 20px; letter-spacing: 0.04em; }
.upload-help { margin: 12px 0 0; color: var(--muted); }
.upload-filename { margin: 18px 0 0; color: var(--secondary); font-weight: 700; }
.student-id-secondary-block {
    display: grid;
    gap: 14px;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid rgba(227, 237, 240, 0.92);
    background: rgba(248, 251, 252, 0.74);
}
.student-id-secondary-copy {
    display: grid;
    gap: 4px;
}
.student-id-secondary-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}
.student-id-secondary-text {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}
.student-id-preview {
    min-height: 220px;
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    border-radius: 20px;
    border: 1px solid rgba(227, 237, 240, 0.95);
    background: rgba(255, 255, 255, 0.62);
    padding: 14px;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.student-id-preview.has-image {
    background: rgba(255, 255, 255, 0.9);
}
.student-id-preview img {
    display: block;
    max-width: 86%;
    max-height: 300px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 10px 24px rgba(18, 48, 57, 0.07);
}
.student-id-preview-empty {
    margin: 0;
    color: var(--muted);
    text-align: center;
    max-width: 420px;
    line-height: 1.6;
}
.student-id-confirmation {
    display: grid;
    gap: 20px;
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(15, 138, 147, 0.16);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 250, 251, 0.98));
}
.student-id-confirmation-header {
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
}
.student-id-confirmation-title {
    margin: 0;
    color: var(--secondary);
    font-size: 30px;
    font-family: var(--font-base);
}
.student-id-confirmation-copy {
    margin: 0;
    color: #38555d;
    line-height: 1.65;
    max-width: 560px;
}
.student-id-success-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(29, 139, 99, 0.12);
    color: var(--success);
    font-size: 14px;
    font-weight: 700;
}
.student-id-success-badge::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 0 4px rgba(29, 139, 99, 0.12);
}
.student-id-confirmation-media {
    min-height: 320px;
    display: grid;
    place-items: center;
    padding: 24px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(15, 138, 147, 0.12);
}
.student-id-confirmation-media img {
    display: block;
    width: 100%;
    max-width: 500px;
    max-height: 360px;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
    box-shadow: 0 18px 36px rgba(18, 48, 57, 0.12);
}
.student-id-confirmation-empty {
    margin: 0;
    color: var(--muted);
    text-align: center;
    max-width: 480px;
    line-height: 1.6;
}
.student-id-confirmation-actions {
    display: flex;
    justify-content: center;
}
.student-id-replace-button {
    min-width: 220px;
}
.student-id-confirmation.is-neutral,
.student-id-confirmation.is-pending {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(244, 250, 251, 0.98));
    border-color: rgba(15, 138, 147, 0.16);
}
.student-id-confirmation.is-pass {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 250, 245, 0.98));
    border-color: rgba(29, 139, 99, 0.24);
}
.student-id-confirmation.is-warn {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 249, 240, 0.98));
    border-color: rgba(242, 163, 58, 0.26);
}
.student-id-confirmation.is-fail {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(253, 244, 242, 0.98));
    border-color: rgba(181, 74, 58, 0.24);
}
.summary-table-wrap { overflow-x: auto; width: 100%; }
.summary-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.summary-table th, .summary-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: normal; word-break: break-word; overflow-wrap: anywhere; }
.summary-total-row td { font-weight: 700; }
.coupon-row { display: flex; gap: 12px; align-items: end; margin-top: 24px; }
.summary-coupon-row {
    width: 100%;
}
.summary-actions {
    margin-top: 24px;
    align-items: stretch;
}
.summary-action-form {
    margin: 0;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}
.summary-action-button {
    min-width: 200px;
}
.summary-action-form .summary-action-button {
    width: 100%;
}
@media (min-width: 961px) {
    .summary-actions .summary-action-button {
        width: auto;
    }
}
.coupon-input { flex: 1; }
.result-card { text-align: center; }
.result-success { border-top: 6px solid var(--success); }
.result-failure { border-top: 6px solid var(--error); }
.result-pending { border-top: 6px solid var(--secondary); }
.helper-copy { padding: 14px 16px; border-radius: 16px; background: rgba(181, 74, 58, 0.08); color: var(--error); margin-bottom: 16px; }
.alert { border-radius: 18px; padding: 16px 18px; margin-bottom: 16px; border: 1px solid var(--line); }
.alert-success { background: rgba(29, 139, 99, 0.12); color: var(--success); }
.alert-error { background: rgba(181, 74, 58, 0.1); color: var(--error); }
.alert-list { margin: 0; padding-left: 18px; }
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.toolbar-actions, .inline-filter, .pager, .pager-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.status-pill { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 6px 12px; background: #eef5f7; font-size: 13px; font-weight: 700; }
.status-succeeded, .status-settled, .status-authorized { background: rgba(29, 139, 99, 0.12); color: var(--success); }
.status-failed, .status-cancelled, .status-expired { background: rgba(181, 74, 58, 0.12); color: var(--error); }
.status-open, .status-pending { background: rgba(15, 138, 147, 0.12); color: var(--secondary); }
.text-link { color: var(--secondary); font-weight: 700; text-decoration: none; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; }
.detail-card { padding: 22px; border-radius: 20px; background: #f9fcfd; border: 1px solid var(--line); }
.detail-card dl { margin: 0; display: grid; gap: 12px; }
.detail-card dd { margin: 4px 0 0; }
.json-block { margin: 0; overflow-x: auto; background: #132027; color: #d5e6ea; padding: 18px; border-radius: 18px; font-size: 13px; }
.is-hidden { display: none !important; }
@keyframes student-id-spin {
    to { transform: rotate(360deg); }
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
@media (min-width: 721px) {
    .registration-page-grid {
        max-width: 1080px;
        margin: 0 auto;
        grid-template-columns: minmax(0, 1.78fr) minmax(270px, 300px);
        gap: 18px;
        align-items: start;
    }
    .registration-form-card {
        padding: 18px 20px;
    }
    .registration-page-hero {
        gap: 4px;
        margin-bottom: 0;
    }
    .registration-page-hero .eyebrow {
        margin-bottom: 2px;
    }
    .registration-page-hero h1 {
        font-size: 30px;
        line-height: 1.08;
    }
    .registration-page-hero p,
    .registration-page-note {
        font-size: 13px;
        line-height: 1.45;
    }
    .stepper-item {
        padding: 9px 11px;
        font-size: 12px;
    }
    .stepper-index {
        width: 24px;
        height: 24px;
    }
    .stacked-form {
        gap: 12px;
    }
    .registration-section {
        gap: 12px;
        padding: 15px 16px;
        border-radius: 18px;
    }
    .registration-section-head {
        gap: 10px;
    }
    .registration-section-copy,
    .registration-required-copy {
        font-size: 12px;
        line-height: 1.4;
    }
    .form-grid {
        gap: 12px;
    }
    label span {
        font-size: 12px;
        margin-bottom: 5px;
    }
    input,
    select,
    textarea {
        padding: 11px 13px;
        font-size: 13px;
    }
    .radio-row {
        gap: 12px;
    }
    .radio-card {
        min-height: 124px;
        gap: 10px;
        padding: 14px;
        border-radius: 18px;
    }
    .ticket-choice-topline {
        gap: 8px;
    }
    .ticket-choice-badge,
    .summary-selection-badge {
        min-height: 24px;
        padding: 4px 10px;
        font-size: 10px;
    }
    .radio-card-title {
        font-size: 15px;
    }
    .ticket-choice-helper {
        font-size: 11px;
        line-height: 1.35;
    }
    .radio-card-price {
        font-size: 16px;
    }
    .consent-item {
        padding: 14px;
    }
    .consent-copy small {
        font-size: 11px;
        line-height: 1.35;
    }
    .registration-verification-section .turnstile-panel {
        min-height: 84px;
        padding: 14px 16px;
    }
    .registration-action-row {
        padding-top: 0;
    }
    .registration-primary-button {
        min-width: 184px;
        min-height: 48px;
        padding: 12px 20px;
        box-shadow: 0 14px 26px rgba(217, 137, 34, 0.22);
    }
    .registration-summary-card {
        top: 18px;
        gap: 16px;
        padding: 18px;
    }
    .summary-panel-caption {
        font-size: 12px;
        line-height: 1.4;
    }
    .price-amount {
        margin: 2px 0 0;
    }
    .price-amount span {
        font-size: 12px;
    }
    .price-amount strong {
        font-size: 34px;
    }
    .package-type {
        font-size: 16px;
    }
    .package-copy {
        margin: 0;
        font-size: 13px;
        line-height: 1.45;
    }
    .summary-benefits-block {
        gap: 10px;
    }
    .package-features {
        gap: 8px;
        font-size: 13px;
        line-height: 1.45;
    }
    .package-meta {
        padding-top: 14px;
    }
    .package-meta strong {
        line-height: 1.4;
    }
}
@media (max-width: 1100px) {
    .radio-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 960px) {
    .flow-grid, .detail-grid, .form-grid.two-columns { grid-template-columns: 1fr; }
    .site-header, .admin-toolbar, .toolbar-actions, .coupon-row, .button-row.split-row, .admin-header-actions { align-items: stretch; flex-direction: column; }
    .primary-button, .secondary-button, .ghost-button, .upload-trigger, .student-id-replace-button { width: 100%; }
    .registration-page-grid {
        grid-template-columns: 1fr;
    }
    .registration-summary-card {
        position: static;
        order: -1;
    }
    .registration-section-head,
    .summary-panel-head {
        flex-direction: column;
        align-items: stretch;
    }
    .registration-required-copy {
        white-space: normal;
    }
}
@media (max-width: 720px) {
    html, body {
        overflow-x: hidden;
        overflow-x: clip;
    }
    .body-event .site-shell {
        padding-bottom: 124px;
    }
    .stepper {
        display: none;
    }
    .stepper-mobile {
        display: grid;
    }
    .site-header {
        gap: 12px;
        margin-bottom: 22px;
    }
    .brand-lockup {
        max-width: 100%;
    }
    .brand-logo {
        width: 76%;
        max-width: 340px;
        margin: 0 auto;
    }
    .support-help-widget {
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        gap: 6px;
    }
    .support-help-panel {
        width: min(100vw - 28px, 340px);
        padding: 16px;
        border-radius: 20px;
    }
    .support-help-panel-title {
        font-size: 20px;
    }
    .support-help-copy {
        padding: 8px 12px;
        font-size: 12px;
    }
    .support-help-button {
        width: 58px;
        height: 58px;
    }
    .support-help-avatar {
        width: 38px;
        height: 38px;
    }
    .support-help-avatar svg {
        width: 20px;
        height: 20px;
    }
    .radio-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .site-shell { padding: 24px 14px 40px; }
    .form-card, .admin-card, .price-card { padding: 18px; }
    .site-shell,
    .page-frame {
        overflow-x: clip;
    }
    .page-frame,
    .single-panel,
    .summary-page-shell,
    .summary-page-card,
    .summary-page-table-wrap,
    .summary-table-wrap,
    .summary-coupon-row,
    .summary-actions,
    .summary-action-form,
    .coupon-input,
    .summary-student-id,
    .upload-card-shell,
    .student-id-preview {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .summary-page-card {
        width: 100%;
        max-width: 100%;
        border-radius: 20px;
    }
    .summary-page-heading {
        margin: 18px 0 20px;
    }
    .stepper-mobile-head,
    .summary-benefits-head {
        flex-wrap: wrap;
    }
    .stepper-mobile-title {
        min-width: 0;
        overflow-wrap: anywhere;
        text-align: right;
    }
    .registration-section {
        gap: 14px;
        padding: 16px;
    }
    .section-heading h1 { font-size: 32px; }
    .section-heading h2 { font-size: 28px; }
    .registration-page-hero {
        gap: 6px;
    }
    .registration-page-note,
    .registration-section-copy {
        font-size: 14px;
        line-height: 1.5;
    }
    .registration-section-head {
        gap: 10px;
    }
    .registration-required-copy {
        font-size: 12px;
    }
    .upload-title { font-size: 18px; }
    .student-id-secondary-block,
    .student-id-confirmation { padding: 18px; }
    .student-id-preview { min-height: 190px; }
    .student-id-preview img { max-width: 92%; max-height: 240px; }
    .student-id-confirmation-title { font-size: 24px; }
    .student-id-confirmation-media { min-height: 240px; padding: 18px; }
    .student-id-confirmation-media img { max-height: 300px; }
    .student-id-success-badge { width: 100%; justify-content: center; }
    .radio-card {
        min-height: 138px;
        gap: 10px;
        padding: 15px;
    }
    .ticket-choice-topline {
        gap: 10px;
    }
    .ticket-choice-badge {
        min-height: 24px;
        padding: 5px 10px;
        font-size: 10px;
    }
    .radio-card-title {
        font-size: 17px;
    }
    .ticket-choice-helper {
        font-size: 12px;
        line-height: 1.45;
    }
    .radio-card-price {
        font-size: 18px;
    }
    .registration-summary-card {
        gap: 16px;
        padding-bottom: 18px;
    }
    .summary-panel-caption {
        font-size: 13px;
        line-height: 1.45;
    }
    .price-amount {
        margin: 2px 0 0;
    }
    .price-amount strong {
        font-size: 38px;
    }
    .package-type {
        font-size: 20px;
    }
    .package-copy {
        margin: 0;
        font-size: 14px;
        line-height: 1.55;
    }
    .summary-benefits-block {
        gap: 10px;
    }
    .summary-details-toggle {
        display: inline-flex;
        font-size: 12px;
    }
    .summary-details-extra {
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        transition: max-height 0.2s ease, opacity 0.18s ease;
    }
    .registration-summary-card.is-details-open .summary-details-extra {
        opacity: 1;
    }
    .package-meta {
        gap: 10px;
        padding-top: 14px;
    }
    .package-meta strong {
        margin-top: 2px;
        line-height: 1.4;
    }
    .phone-field {
        grid-template-columns: minmax(120px, 40%) minmax(0, 1fr);
    }
    .consent-stack {
        gap: 10px;
    }
    .consent-item {
        gap: 10px;
        padding: 14px;
    }
    .consent-copy {
        gap: 2px;
    }
    .consent-copy small {
        font-size: 12px;
        line-height: 1.4;
    }
    .registration-verification-section {
        gap: 12px;
        padding-bottom: 14px;
    }
    .registration-verification-section .turnstile-panel {
        min-height: 96px;
        padding: 14px 16px;
    }
    .registration-action-row {
        padding-top: 6px;
    }
    .registration-primary-button {
        min-width: 0;
        min-height: 54px;
    }
    .summary-page-heading h2 {
        font-size: 25px;
        line-height: 1.15;
    }
    .summary-page-heading p {
        font-size: 14px;
        line-height: 1.5;
        overflow-wrap: anywhere;
    }
    .summary-page-table-wrap {
        overflow: visible;
    }
    .summary-table,
    .summary-table thead,
    .summary-table tbody,
    .summary-table tr,
    .summary-table th,
    .summary-table td {
        display: block;
        width: 100%;
    }
    .summary-table thead {
        display: none;
    }
    .summary-table tr {
        padding: 13px 0;
        border-bottom: 1px solid var(--line);
    }
    .summary-table tbody tr:first-child {
        padding-top: 0;
    }
    .summary-table tbody tr:last-child {
        border-bottom: 0;
        padding-bottom: 0;
    }
    .summary-table td {
        padding: 0;
        border: 0;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
        white-space: normal;
    }
    .summary-table td + td {
        margin-top: 8px;
    }
    .summary-total-row td {
        font-size: 16px;
    }
    .summary-total-row td:first-child {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(227, 237, 240, 0.92);
    }
    .summary-student-id {
        gap: 14px;
    }
    .summary-student-id .upload-label {
        font-size: 24px;
    }
    .summary-student-id .upload-subtitle,
    .summary-student-id .upload-guidance p {
        font-size: 13px;
        line-height: 1.5;
    }
    .summary-coupon-row {
        gap: 10px;
        margin-top: 20px;
    }
    .summary-coupon-row .coupon-input span {
        font-size: 13px;
    }
    .summary-coupon-row .coupon-input {
        width: 100%;
    }
    .summary-coupon-row input,
    .summary-coupon-row .secondary-button {
        min-height: 46px;
        padding-top: 11px;
        padding-bottom: 11px;
    }
    .summary-actions {
        gap: 10px;
        margin-top: 20px;
    }
    .summary-action-button {
        width: 100%;
        min-width: 0;
        min-height: 52px;
        padding: 13px 18px;
        font-size: 15px;
    }
    .summary-action-form {
        width: 100%;
    }
    .summary-action-form .summary-action-button {
        width: 100%;
    }
}




.student-id-secondary-copy {
    gap: 6px;
}
.student-id-processing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(15, 138, 147, 0.08);
    color: var(--secondary);
    font-size: 14px;
    font-weight: 700;
}
.student-id-processing-spinner {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(15, 138, 147, 0.22);
    border-top-color: var(--secondary);
    animation: student-id-spin 0.9s linear infinite;
}
.student-id-confirmation.is-processing .student-id-confirmation-media {
    opacity: 0.82;
}
.student-id-continue-button {
    min-width: 220px;
    padding: 17px 34px;
    box-shadow: 0 16px 30px rgba(217, 137, 34, 0.28);
}
.student-id-continue-button:hover {
    background: var(--primary-dark);
}
.student-id-continue-button:focus-visible {
    outline: 3px solid rgba(242, 163, 58, 0.24);
    outline-offset: 3px;
}
@media (max-width: 720px) {
    .student-id-processing {
        width: 100%;
    }
    .student-id-continue-button {
        width: 100%;
    }
}
















.admin-section-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.95fr);
    gap: 18px;
    margin-bottom: 20px;
}
.admin-user-card .coupon-code-chip {
    background: rgba(15, 138, 147, 0.09);
    color: var(--secondary);
}
.admin-stack-card {
    display: grid;
    gap: 18px;
}
.admin-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #f5fafb;
    border: 1px solid var(--line);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}
.admin-checkbox-row input {
    width: auto;
    margin: 3px 0 0;
}
.admin-note-list {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    line-height: 1.7;
}
.admin-note-list li + li {
    margin-top: 8px;
}
.admin-table-meta {
    margin-top: 6px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    white-space: normal;
}
.admin-status-stack {
    display: grid;
    gap: 8px;
    justify-items: start;
}
.status-active,
.status-available {
    background: rgba(29, 139, 99, 0.12);
    color: var(--success);
}
.status-inactive,
.status-unavailable {
    background: rgba(181, 74, 58, 0.12);
    color: var(--error);
}
@media (max-width: 960px) {
    .admin-section-grid {
        grid-template-columns: 1fr;
    }
}
.admin-inline-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.admin-inline-form {
    margin: 0;
}
.admin-inline-button {
    min-width: 0;
    padding: 10px 16px;
}
.admin-action-panel {
    display: grid;
    gap: 16px;
}
.admin-action-block {
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 18px;
    background: #f9fcfd;
    border: 1px solid var(--line);
}
.admin-action-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}
.admin-warning-copy {
    margin: 0;
    color: var(--error);
    line-height: 1.6;
}
.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}
.admin-stat-card {
    gap: 10px;
}
.admin-stat-number {
    margin: 0;
    font-size: 34px;
    font-weight: 800;
    color: var(--secondary);
}
.danger-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    border-radius: 999px;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 0;
    background: #b54a3a;
    color: #fff;
}
.danger-button:disabled {
    opacity: 0.58;
    cursor: not-allowed;
}
.status-applied {
    background: rgba(29, 139, 99, 0.12);
    color: var(--success);
}
@media (max-width: 960px) {
    .admin-stat-grid {
        grid-template-columns: 1fr;
    }
}
.coupon-admin-shell {
    display: grid;
    gap: 24px;
}
.coupon-admin-hero {
    margin-bottom: 0;
}
.coupon-overview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.coupon-overview-card {
    padding: 20px 22px;
    border-radius: 22px;
    border: 1px solid rgba(15, 138, 147, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 250, 251, 0.98));
    box-shadow: 0 14px 30px rgba(18, 48, 57, 0.08);
}
.coupon-overview-card span {
    display: block;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.coupon-overview-card strong {
    display: block;
    margin-top: 12px;
    font-size: 34px;
    line-height: 1;
    color: var(--text);
}
.coupon-overview-card p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.55;
}
.coupon-overview-grid-compact .coupon-overview-card strong {
    font-size: 28px;
}
.coupon-admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.95fr);
    gap: 20px;
    align-items: start;
}
.coupon-admin-grid-edit {
    align-items: stretch;
}
.coupon-side-stack {
    display: grid;
    gap: 20px;
}
.coupon-creation-card,
.coupon-rule-card,
.coupon-history-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 253, 0.98));
}
.coupon-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.coupon-section-heading.compact {
    justify-content: flex-start;
}
.coupon-section-heading h3,
.coupon-list-header h3,
.coupon-record-card h4 {
    margin: 0;
}
.coupon-section-heading p,
.coupon-list-header p,
.coupon-record-head p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.6;
}
.coupon-section-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(15, 138, 147, 0.1);
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.coupon-form {
    gap: 20px;
}
.coupon-form-grid label {
    display: grid;
    gap: 8px;
}
.field-hint {
    display: block;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.5;
}
.coupon-form-actions {
    margin-top: 4px;
}
.coupon-rule-list,
.coupon-example-list {
    display: grid;
    gap: 14px;
}
.coupon-rule-item,
.coupon-example-item {
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(15, 138, 147, 0.06);
    border: 1px solid rgba(15, 138, 147, 0.1);
}
.coupon-rule-item strong,
.coupon-example-code {
    display: inline-flex;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--text);
}
.coupon-rule-item p,
.coupon-example-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.55;
}
.coupon-example-code {
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(15, 138, 147, 0.12);
    color: var(--secondary);
    font-size: 13px;
    letter-spacing: 0.08em;
}
.coupon-list-section {
    display: grid;
    gap: 18px;
}
.coupon-list-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}
.coupon-table-controls {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(150px, 0.35fr) minmax(180px, 0.45fr) auto;
    gap: 12px;
    align-items: end;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(15, 138, 147, 0.12);
    background: rgba(244, 250, 251, 0.78);
}
.coupon-individual-controls {
    grid-template-columns: minmax(260px, 1fr) minmax(170px, 0.35fr) auto;
}
.coupon-batch-groups {
    display: grid;
    gap: 14px;
}
.coupon-batch-group {
    border: 1px solid rgba(15, 138, 147, 0.14);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(246, 251, 252, 0.98));
    overflow: hidden;
}
.coupon-batch-group summary {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto auto;
    gap: 20px;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
}
.coupon-batch-group summary::-webkit-details-marker {
    display: none;
}
.coupon-batch-group[open] summary {
    border-bottom: 1px solid rgba(15, 138, 147, 0.12);
    background: rgba(15, 138, 147, 0.035);
}
.coupon-batch-group-identity {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}
.coupon-batch-group-identity .coupon-code-chip {
    margin: 0;
}
.coupon-batch-group-identity div {
    display: grid;
    gap: 4px;
    min-width: 0;
}
.coupon-batch-group-identity strong {
    font-size: 16px;
}
.coupon-batch-group-identity span,
.coupon-batch-group-metrics span {
    color: var(--muted);
    font-size: 12px;
}
.coupon-batch-group-metrics {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}
.coupon-batch-group-metrics span {
    padding: 7px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(15, 138, 147, 0.1);
    white-space: nowrap;
}
.coupon-batch-group-metrics strong {
    color: var(--secondary);
}
.coupon-batch-expand-label {
    color: var(--secondary);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}
.coupon-batch-group[open] .coupon-batch-expand-label {
    font-size: 0;
}
.coupon-batch-group[open] .coupon-batch-expand-label::after {
    content: "Hide codes";
    font-size: 13px;
}
.coupon-batch-group-body {
    display: grid;
    gap: 14px;
    padding: 16px;
}
.coupon-batch-group-actions {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
}
.coupon-batch-code-table {
    min-width: 760px;
}
.coupon-table-controls label {
    display: grid;
    gap: 7px;
}
.coupon-table-controls label > span,
.coupon-result-count {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.coupon-result-count {
    padding: 13px 4px;
    white-space: nowrap;
}
.coupon-result-count strong {
    color: var(--secondary);
    font-size: 16px;
}
.coupon-compact-table-wrap {
    border: 1px solid rgba(227, 237, 240, 0.92);
    border-radius: 20px;
}
.coupon-compact-table {
    min-width: 920px;
}
.coupon-compact-table th,
.coupon-compact-table td {
    padding: 13px 14px;
    vertical-align: middle;
}
.coupon-compact-table tbody tr:not([hidden]) {
    transition: background-color 0.18s ease;
}
.coupon-compact-table tbody tr:hover {
    background: rgba(15, 138, 147, 0.045);
}
.coupon-row-open {
    display: grid;
    gap: 3px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}
.coupon-row-open strong {
    color: var(--secondary);
    font-size: 13px;
    letter-spacing: 0.05em;
}
.coupon-row-open span {
    color: var(--muted);
    font-size: 12px;
}
.coupon-table-row[hidden] {
    display: none;
}
.coupon-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(14, 35, 42, 0.38);
    backdrop-filter: blur(2px);
}
.coupon-detail-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1110;
    width: min(470px, 100%);
    height: 100vh;
    overflow-y: auto;
    padding: 24px;
    background: #fff;
    box-shadow: -20px 0 60px rgba(14, 35, 42, 0.18);
    transform: translateX(105%);
    transition: transform 0.24s ease;
}
.coupon-detail-drawer.is-open {
    transform: translateX(0);
}
.coupon-drawer-open {
    overflow: hidden;
}
.coupon-drawer-header {
    position: sticky;
    top: -24px;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin: -24px -24px 22px;
    padding: 24px;
    border-bottom: 1px solid rgba(227, 237, 240, 0.92);
    background: rgba(255, 255, 255, 0.97);
}
.coupon-drawer-header h3,
.coupon-drawer-title h4 {
    margin: 0;
}
.coupon-drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(23, 49, 58, 0.12);
    border-radius: 50%;
    background: #fff;
    color: var(--text);
    font-size: 25px;
    cursor: pointer;
}
.coupon-drawer-content {
    display: grid;
    gap: 20px;
}
.coupon-drawer-title p {
    margin: 8px 0 0;
    color: var(--muted);
}
.coupon-drawer-statuses {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.coupon-drawer-facts {
    display: grid;
    gap: 0;
    margin: 0;
    border: 1px solid rgba(227, 237, 240, 0.92);
    border-radius: 18px;
    overflow: hidden;
}
.coupon-drawer-facts div {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(227, 237, 240, 0.92);
}
.coupon-drawer-facts div:last-child {
    border-bottom: 0;
}
.coupon-drawer-facts dt {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.coupon-drawer-facts dd {
    margin: 0;
    font-weight: 600;
    line-height: 1.5;
}
.coupon-drawer-actions {
    display: grid;
    gap: 10px;
}
.coupon-drawer-actions > *,
.coupon-drawer-actions form button {
    width: 100%;
}
.coupon-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.coupon-record-card {
    display: grid;
    gap: 18px;
    padding: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 250, 251, 0.97));
}
.coupon-record-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}
.coupon-code-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    margin-bottom: 12px;
    border-radius: 999px;
    background: rgba(23, 49, 58, 0.07);
    color: var(--text);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.coupon-record-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}
.coupon-metric-card {
    padding: 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(227, 237, 240, 0.92);
}
.coupon-metric-card span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.coupon-metric-card strong {
    display: block;
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.35;
}
.coupon-record-footer {
    display: grid;
    gap: 16px;
}
.coupon-window-note span {
    display: block;
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.coupon-window-note p {
    margin: 10px 0 0;
    color: var(--text);
    line-height: 1.6;
}
.coupon-record-actions {
    justify-content: flex-start;
}
.coupon-empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 252, 0.97));
}
.coupon-empty-state h4 {
    margin: 0 0 10px;
    font-size: 24px;
}
.coupon-empty-state p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}
.coupon-history-table th,
.coupon-history-table td {
    white-space: normal;
}
@media (max-width: 1120px) {
    .coupon-overview-grid,
    .coupon-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 960px) {
    .coupon-admin-grid,
    .coupon-card-grid,
    .coupon-overview-grid,
    .coupon-record-metrics {
        grid-template-columns: 1fr;
    }
    .coupon-record-head,
    .coupon-list-header,
    .coupon-section-heading {
        flex-direction: column;
        align-items: stretch;
    }
    .coupon-table-controls {
        grid-template-columns: 1fr 1fr;
    }
    .coupon-batch-group summary {
        grid-template-columns: 1fr auto;
    }
    .coupon-batch-group-metrics {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}
@media (max-width: 620px) {
    .coupon-table-controls {
        grid-template-columns: 1fr;
    }
    .coupon-detail-drawer {
        padding: 18px;
    }
    .coupon-batch-group summary {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .coupon-batch-expand-label {
        justify-self: start;
    }
    .coupon-drawer-header {
        top: -18px;
        margin: -18px -18px 20px;
        padding: 18px;
    }
    .coupon-drawer-facts div {
        grid-template-columns: 1fr;
        gap: 5px;
    }
}
.turnstile-panel {
    display: grid;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 20px;
    border: 1px solid rgba(15, 138, 147, 0.14);
    background: rgba(244, 250, 251, 0.92);
}
.turnstile-copy span {
    display: block;
    color: var(--secondary);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}
.turnstile-copy p {
    margin: 6px 0 0;
    color: var(--muted);
    line-height: 1.6;
}
.turnstile-panel .cf-turnstile {
    width: 100%;
}

.coupon-ticket-types {
    margin: 0;
    padding: 18px;
    border: 1px solid rgba(15, 138, 147, 0.16);
    border-radius: 18px;
    background: rgba(244, 250, 251, 0.7);
}
.coupon-ticket-types legend {
    padding: 0 8px;
    color: var(--secondary);
    font-size: 13px;
    font-weight: 800;
}
.coupon-ticket-types .admin-checkbox-row {
    margin: 0;
}
