/* Public pages polish — loaded after event-pages.css and event-page-appearance.css.
   Do not edit organizer theme output. Scope rules per page. */

/* -------------------------------------------------------------------------- */
/* Private event access gate                                                    */
/* -------------------------------------------------------------------------- */

.section-access-gate.public-access-gate {
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding-block: clamp(2rem, 8vw, 4rem);
    background: var(--bg, #fafafa);
}

.section-access-gate.public-access-gate .container {
    width: min(100% - 2rem, 26.5rem);
}

.section-access-gate .access-gate-card.public-access-gate__card {
    margin-block: 0;
    padding: 0 1.5rem 1.5rem;
    overflow: hidden;
    text-align: left;
    background: var(--surface, #ffffff);
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
    border-radius: calc(var(--radius, 8px) * 2);
    box-shadow:
        0 1px 2px color-mix(in srgb, var(--text, #171717) 4%, transparent),
        0 12px 32px color-mix(in srgb, var(--text, #171717) 6%, transparent);
}

/* Banner snippet — a short strip of the artwork, not the full poster. */
.public-access-gate__artwork {
    margin: 0 -1.5rem 1.5rem;
    height: 9.5rem;
    overflow: hidden;
    background: color-mix(in srgb, var(--accent, #525252) 22%, var(--surface, #ffffff));
}

.public-access-gate__artwork-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}

.public-access-gate__event {
    margin: 0 0 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-subtle, color-mix(in srgb, var(--text, #171717) 10%, var(--surface, #ffffff)));
}

.public-access-gate__event-name {
    margin: 0;
    font-family: var(--heading-font, ui-sans-serif, system-ui, sans-serif);
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: var(--letter-spacing, normal);
    color: var(--text, #171717);
}

.public-access-gate__event-meta {
    margin: 0.45rem 0 0;
    font-family: var(--body-font, system-ui, sans-serif);
    font-size: 0.875rem;
    line-height: 1.45;
    color: var(--muted, #525252);
}

.section-access-gate .access-gate-card h2.public-access-gate__status {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 0.5rem;
    font-family: var(--heading-font, ui-sans-serif, system-ui, sans-serif);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text, #171717);
}

.section-access-gate .access-gate-card h2.public-access-gate__status::before {
    content: "";
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: calc(var(--radius, 8px) * 0.85);
    background: color-mix(in srgb, var(--accent, #525252) 12%, var(--surface, #ffffff));
}

.section-access-gate .access-gate-card h2.public-access-gate__status::after {
    content: "";
    position: absolute;
    left: 0.525rem;
    top: 50%;
    width: 0.95rem;
    height: 0.95rem;
    transform: translateY(-50%);
    background-color: var(--accent, #525252);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / 0.95rem no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") center / 0.95rem no-repeat;
    pointer-events: none;
}

.section-access-gate .muted {
    color: var(--muted, #525252);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0 0 1.35rem;
}

.section-access-gate .form-group label {
    font-family: var(--body-font, system-ui, sans-serif);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text, #171717);
}

.section-access-gate .form-group input {
    min-height: 46px;
    font-family: var(--body-font, system-ui, sans-serif);
    border-radius: calc(var(--radius, 8px) * 1.25);
    border-color: var(--border, color-mix(in srgb, var(--text, #171717) 14%, var(--surface, #ffffff)));
    background: var(--surface, #ffffff);
}

.section-access-gate .btn-primary {
    min-height: 48px;
    margin-top: 0.35rem;
    font-family: var(--body-font, system-ui, sans-serif);
    font-weight: 600;
    text-align: center;
    border-radius: calc(var(--radius, 8px) * 1.5);
}

.section-access-gate .form-group input:focus-visible,
.section-access-gate .btn-primary:focus-visible {
    outline: 2px solid var(--accent, #525252);
    outline-offset: 2px;
}

/* -------------------------------------------------------------------------- */
/* Event page hero                                                              */
/* Overlay / split / immersive crops stay designer-chosen (cover).              */
/* Get tickets selectors require .js-open-ticket-sheet — not checkout Pay now.  */
/* -------------------------------------------------------------------------- */

.section-hero.public-hero {
    padding-block: clamp(2.5rem, 7vw, 4.25rem);
}

.section-hero.public-hero .public-hero__eyebrow {
    margin: 0 0 0.65rem;
    font-family: var(--body-font, system-ui, sans-serif);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    opacity: 0.88;
}

body.event-page.tone-energetic .section-hero.public-hero h1,
body.event-page.preset-nightlife_bold .section-hero.public-hero h1,
body.event-page.preset-concert_energy .section-hero.public-hero h1 {
    text-transform: none;
    letter-spacing: var(--letter-spacing, normal);
}

.section-hero.public-hero .subtitle {
    font-size: 1.0625rem;
    line-height: 1.5;
}

.section-hero.public-hero .public-hero__meta {
    gap: 0.5rem 1.25rem;
    font-size: 0.9375rem;
}

.section-hero.hero-minimal.public-hero {
    border-bottom-color: var(--border, #e5e5e5);
}

.section-hero.public-hero .hero-split-grid {
    gap: 1.5rem;
}

.section-hero.public-hero .hero-split-image {
    box-shadow:
        0 1px 2px color-mix(in srgb, #000 10%, transparent),
        0 10px 24px color-mix(in srgb, #000 12%, transparent);
}

@media (min-width: 768px) {
    .section-hero.public-hero .hero-split-grid {
        gap: 2.5rem;
    }
}

.section-hero.public-hero .public-hero__actions {
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.section-hero.public-hero .public-hero__actions .btn {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.25rem;
    font-family: var(--body-font, system-ui, sans-serif);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: var(--letter-spacing, normal);
    text-transform: none;
    box-shadow: none;
}

.section-hero.public-hero .public-hero__actions .btn-secondary {
    border-width: 1px;
}

body.event-page:not(.buttons-outline) .section-hero.public-hero .public-hero__actions .btn-primary {
    border: none;
}

.section-hero.public-hero .public-hero__actions .btn:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

body.event-page .mobile-ticket-bar__cta.js-open-ticket-sheet,
body.event-page .desktop-checkout-cta__button.js-open-ticket-sheet {
    -webkit-appearance: none;
    appearance: none;
    min-height: 48px;
    font-family: var(--body-font, system-ui, sans-serif);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: var(--letter-spacing, normal);
    text-transform: none;
    box-shadow: none;
    cursor: pointer;
}

body.event-page:not(.buttons-outline) .mobile-ticket-bar__cta.js-open-ticket-sheet,
body.event-page:not(.buttons-outline) .desktop-checkout-cta__button.js-open-ticket-sheet {
    border: none;
}

body.event-page .mobile-ticket-bar__cta.js-open-ticket-sheet:focus-visible,
body.event-page .desktop-checkout-cta__button.js-open-ticket-sheet:focus-visible {
    outline: 2px solid var(--accent, #525252);
    outline-offset: 2px;
}

/* -------------------------------------------------------------------------- */
/* Event page footer + socials                                                  */
/* -------------------------------------------------------------------------- */

.section-footer.public-footer {
    padding-block: 2rem 2.75rem;
    background: var(--bg, #fafafa);
    border-top: 1px solid var(--border-subtle, color-mix(in srgb, var(--text, #171717) 10%, var(--surface, #ffffff)));
    color: var(--muted, #525252);
}

.section-footer.public-footer .public-footer__inner {
    text-align: center;
}

.section-footer.public-footer .footer-organizer,
.section-footer.public-footer .public-footer__organizer {
    margin: 0;
    font-family: var(--heading-font, ui-sans-serif, system-ui, sans-serif);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: var(--letter-spacing, normal);
    color: var(--primary, #1e293b);
}

.section-footer.public-footer .public-footer__contact {
    margin: 0.45rem 0 0;
}

.section-footer.public-footer .public-footer__contact a {
    color: var(--secondary, #475569);
    text-underline-offset: 2px;
}

.section-footer.public-footer .public-footer__contact a:hover,
.section-footer.public-footer .public-footer__contact a:focus-visible {
    color: var(--accent, #b45309);
}

.section-footer.public-footer .public-footer__social {
    margin-top: 1rem;
}

.section-footer.public-footer .footer-social-list {
    gap: 0.5rem;
}

.section-footer.public-footer .footer-social-link {
    min-height: 44px;
    background: var(--surface, #ffffff);
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 14%, var(--surface, #ffffff)));
    color: var(--text, #171717);
    box-shadow: none;
    transform: none;
}

.section-footer.public-footer .footer-social-link--icon {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
}

.section-footer.public-footer .footer-social-link__icon {
    width: 1.125rem;
    height: 1.125rem;
}

.section-footer.public-footer .footer-social-link:hover,
.section-footer.public-footer .footer-social-link:focus-visible {
    background: var(--surface, #ffffff);
    border-color: var(--accent, #b45309);
    color: var(--accent, #b45309);
    transform: none;
}

.section-footer.public-footer .footer-social-link:focus-visible {
    outline: 2px solid var(--accent, #525252);
    outline-offset: 2px;
}

body.event-page.layout-compact-checkout .section-footer.public-footer {
    padding: 1.5rem 0 2.25rem;
}

/* -------------------------------------------------------------------------- */
/* Order confirmation — minimal pass                                            */
/* .public-confirmation only. checkout/show uses .public-checkout separately.   */
/* -------------------------------------------------------------------------- */

html:has(.public-confirmation),
body:has(.public-confirmation),
body.event-transaction-page:has(.public-confirmation),
.section-transaction-confirmation:has(.public-confirmation) {
    background: var(--bg, #fafafa);
}

.section-transaction-confirmation:has(.public-confirmation),
body.event-transaction-page.has-mobile-sticky-cta .section-transaction-confirmation:has(.public-confirmation) {
    min-height: auto;
    align-items: flex-start;
    padding-inline: 0;
    padding-block: 2.25rem 2.5rem;
}

body.event-transaction-page .section-transaction-confirmation:has(.public-confirmation) .container,
.section-transaction-confirmation:has(.public-confirmation) .container {
    width: min(100% - 2rem, 27.5rem);
}

.confirmation-shell.public-confirmation,
.confirmation-shell.public-confirmation :where(p, h1, h2, dt, dd, span, a, .btn, .confirmation-badge, .confirmation-eyebrow, .confirmation-headline, .confirmation-lead) {
    text-transform: none;
}

.confirmation-shell.public-confirmation,
body.event-page .confirmation-shell.public-confirmation,
body.event-page.cards-elevated .confirmation-shell.public-confirmation {
    display: grid;
    grid-template-columns: minmax(0, 27.5rem);
    grid-template-areas:
        "header"
        "photo"
        "ticket"
        "notes"
        "cta"
        "brand";
    justify-content: center;
    max-width: 27.5rem;
    margin-inline: auto;
    overflow: visible;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    animation: none;
}

.confirmation-shell.public-confirmation:has(.public-confirmation__ticket-body)::before {
    content: "";
    grid-row: photo / ticket;
    grid-column: 1;
    background: var(--surface, #ffffff);
    border-radius: 20px;
    box-shadow:
        0 1px 1px color-mix(in srgb, var(--text, #171717) 5%, transparent),
        0 10px 30px color-mix(in srgb, var(--text, #171717) 5%, transparent);
    z-index: 0;
    pointer-events: none;
}

.confirmation-shell.public-confirmation:not(:has(.public-confirmation__photo)):has(.public-confirmation__ticket-body)::before {
    grid-row: ticket;
}

.confirmation-shell.public-confirmation::after {
    content: "Powered by Ayatickets";
    grid-area: brand;
    margin-top: 1rem;
    font-size: 11px;
    line-height: 1.4;
    color: var(--muted, #525252);
    text-align: center;
}

.confirmation-shell.public-confirmation .public-confirmation__body,
.confirmation-shell.public-confirmation .public-confirmation__panels {
    display: contents;
}

.confirmation-shell.public-confirmation .public-confirmation__header {
    grid-area: header;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    column-gap: 0.35rem;
    margin: 0 0 1.5rem;
    padding: 0;
    text-align: center;
}

.confirmation-shell.public-confirmation .confirmation-eyebrow,
.confirmation-shell.public-confirmation .confirmation-summary__title {
    grid-column: 1;
    grid-row: 1;
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    margin: 0;
    pointer-events: none;
}

.confirmation-shell.public-confirmation .confirmation-status {
    display: contents;
    margin: 0;
}

.confirmation-shell.public-confirmation .confirmation-status__icon {
    width: 20px;
    height: 20px;
    border-radius: 999px;
    animation: none;
    box-shadow: none;
}

.confirmation-shell.public-confirmation .confirmation-status__icon svg {
    width: 11px;
    height: 11px;
    stroke: #ffffff;
}

.confirmation-shell.public-confirmation .confirmation-status__icon--success {
    background: var(--form-success, #16a34a);
    color: #ffffff;
}

.confirmation-shell.public-confirmation .confirmation-status__icon--pending {
    background: #d97706;
    color: #ffffff;
}

.confirmation-shell.public-confirmation .confirmation-status__icon--payment {
    background: var(--accent, #b45309);
    color: #ffffff;
}

.confirmation-shell.public-confirmation .confirmation-status__icon--error {
    background: var(--form-error, #dc2626);
    color: #ffffff;
}

.confirmation-shell.public-confirmation .confirmation-badge,
.confirmation-shell.public-confirmation .public-confirmation__badge {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;
}

.confirmation-shell.public-confirmation .confirmation-badge--success {
    color: var(--form-success-text, #15803d);
}

.confirmation-shell.public-confirmation .confirmation-badge--pending {
    color: #92400e;
}

.confirmation-shell.public-confirmation .confirmation-badge--payment {
    color: var(--accent, #b45309);
}

.confirmation-shell.public-confirmation .confirmation-badge--error {
    color: var(--form-error-text, #991b1b);
}

.confirmation-shell.public-confirmation .confirmation-badge::before,
.confirmation-shell.public-confirmation .public-confirmation__badge::before {
    content: none;
}

.confirmation-shell.public-confirmation .confirmation-headline {
    flex: 1 0 100%;
    margin: 0.85rem 0 0.5rem;
    font-family: var(--heading-font, ui-sans-serif, system-ui, sans-serif);
    font-size: 2.125rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: var(--letter-spacing, normal);
    text-transform: none;
    color: var(--text, #171717);
}

.confirmation-shell.public-confirmation .confirmation-lead {
    flex: 1 0 100%;
    max-width: 22.5rem;
    margin: 0 auto;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--muted, #525252);
}

.confirmation-shell.public-confirmation .confirmation-note {
    flex: 1 0 100%;
    max-width: 22.5rem;
    margin: 0.75rem auto 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--muted, #525252);
}

.confirmation-shell.public-confirmation .public-confirmation__photo {
    grid-area: photo;
    position: relative;
    z-index: 1;
    height: auto;
    overflow: visible;
    margin: 0;
    padding: 10px 10px 0;
    border-radius: 0;
    -webkit-mask-image: none;
    mask-image: none;
}

.confirmation-shell.public-confirmation .confirmation-shell__cover {
    height: auto;
    max-height: 12rem;
    aspect-ratio: auto;
    overflow: hidden;
    border-radius: 13px;
    background: transparent;
}

.confirmation-shell.public-confirmation .confirmation-shell__cover-image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center top;
    border-radius: 0;
}

.confirmation-shell.public-confirmation .confirmation-shell__cover-scrim {
    display: none;
}

.confirmation-shell.public-confirmation .confirmation-shell__visual--fallback {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-radius: 13px;
    background: var(--primary, #1e293b);
}

.confirmation-shell.public-confirmation .confirmation-shell__visual-event {
    display: none;
}

.confirmation-shell.public-confirmation .public-confirmation__ticket-body {
    grid-area: ticket;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
        "event guests"
        "tear tear"
        "session session"
        "reference reference"
        "email email"
        "phone phone"
        "addons addons"
        "fee fee"
        "total total";
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0.75rem 1rem 1rem;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    text-align: left;
    -webkit-mask-image: none;
    mask-image: none;
}

.confirmation-shell.public-confirmation .public-confirmation__details {
    display: contents;
}

.confirmation-shell.public-confirmation .public-confirmation__field {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.5625rem 0;
    border: none;
    min-width: 0;
    grid-area: auto;
    grid-column: 1 / -1;
    grid-row: auto;
}

.confirmation-shell.public-confirmation .public-confirmation__field dt,
.confirmation-shell.public-confirmation .public-confirmation__field dd {
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
}

.confirmation-shell.public-confirmation .public-confirmation__field dt {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--muted, #525252);
}

.confirmation-shell.public-confirmation .public-confirmation__field dd {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text, #171717);
    text-align: right;
    overflow-wrap: anywhere;
}

.confirmation-shell.public-confirmation .public-confirmation__field--event {
    grid-area: event;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0.35rem 0 0.7rem;
}

.confirmation-shell.public-confirmation .public-confirmation__field--event dt {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.confirmation-shell.public-confirmation .public-confirmation__field--event dd {
    font-family: var(--heading-font, ui-sans-serif, system-ui, sans-serif);
    font-size: 1.375rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
}

.confirmation-shell.public-confirmation .public-confirmation__field--guests {
    grid-area: guests;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    text-align: right;
    padding: 0.35rem 0 0.7rem;
    gap: 0.15rem;
}

.confirmation-shell.public-confirmation .public-confirmation__field--guests dt {
    font-size: 0.8125rem;
}

.confirmation-shell.public-confirmation .public-confirmation__field--guests dd {
    font-size: 0.9375rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.confirmation-shell.public-confirmation .public-confirmation__perforation {
    grid-area: tear;
    position: relative;
    height: 0;
    margin: 0.15rem -1rem;
    border-top: 1px dashed color-mix(in srgb, var(--text, #171717) 16%, var(--surface, #ffffff));
}

.confirmation-shell.public-confirmation .public-confirmation__perforation::before,
.confirmation-shell.public-confirmation .public-confirmation__perforation::after {
    content: "";
    position: absolute;
    top: -8px;
    width: 16px;
    height: 16px;
    border-radius: 999px;
    background: var(--bg, #fafafa);
}

.confirmation-shell.public-confirmation .public-confirmation__perforation::before {
    left: -8px;
}

.confirmation-shell.public-confirmation .public-confirmation__perforation::after {
    right: -8px;
}

.confirmation-shell.public-confirmation .public-confirmation__field--session {
    grid-area: session;
}

.confirmation-shell.public-confirmation .public-confirmation__field--reference {
    grid-area: reference;
}

.confirmation-shell.public-confirmation .public-confirmation__field--reference .confirmation-ref,
.confirmation-shell.public-confirmation .public-confirmation__field--reference dd {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.01em;
}

.confirmation-shell.public-confirmation .public-confirmation__field--email {
    grid-area: email;
}

.confirmation-shell.public-confirmation .public-confirmation__field--phone {
    grid-area: phone;
}

.confirmation-shell.public-confirmation .public-confirmation__field--addons {
    grid-area: addons;
}

.confirmation-shell.public-confirmation .public-confirmation__field--fee {
    grid-area: fee;
}

.confirmation-shell.public-confirmation .public-confirmation__field--total {
    grid-area: total;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-top: 0.15rem;
    padding-top: 0.85rem;
    border-top: 1px solid color-mix(in srgb, var(--text, #171717) 10%, var(--surface, #ffffff));
}

.confirmation-shell.public-confirmation .public-confirmation__field--total dt {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text, #171717);
}

.confirmation-shell.public-confirmation .public-confirmation__field--total dd,
.confirmation-shell.public-confirmation .confirmation-details__row--highlight dd {
    font-size: 1.375rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--text, #171717);
}

.confirmation-shell.public-confirmation .public-confirmation__currency {
    margin-right: 0.28em;
    font-size: 0.7em;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--muted, #525252);
    vertical-align: 0.12em;
}

.confirmation-shell.public-confirmation .public-confirmation__notes {
    grid-area: notes;
    list-style: none;
    position: relative;
    z-index: 1;
    margin: 1.1rem 0 0;
    padding: 0 0.25rem;
    background: transparent;
    border: none;
    border-radius: 0;
    display: grid;
    gap: 0.65rem;
    text-align: left;
}

.confirmation-shell.public-confirmation .public-confirmation__notes li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.55rem;
    align-items: start;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--muted, #525252);
}

.confirmation-shell.public-confirmation .public-confirmation__notes strong {
    font-weight: 500;
    color: var(--text, #171717);
}

.confirmation-shell.public-confirmation .confirmation-next-steps__icon {
    width: 1rem;
    height: 1rem;
    margin-top: 0.12rem;
    background: transparent;
    border: none;
    color: var(--accent, #b45309);
}

.confirmation-shell.public-confirmation .confirmation-next-steps__icon svg {
    width: 1rem;
    height: 1rem;
}

.confirmation-shell.public-confirmation .public-confirmation__actions {
    grid-area: cta;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
    gap: 0.65rem;
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 1.25rem 0 0;
    padding: 0;
}

body.event-transaction-page:has(.public-confirmation) .confirmation-shell.public-confirmation .public-confirmation__actions {
    display: flex;
}

.confirmation-shell.public-confirmation .public-confirmation__actions .btn,
body.event-page.tone-elegant .confirmation-shell.public-confirmation .public-confirmation__actions .btn,
body.event-page.tone-elegant .confirmation-shell.public-confirmation .public-confirmation__actions .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-width: 0;
    min-height: 50px;
    padding: 0 1.25rem;
    border-radius: 999px;
    font-family: var(--body-font, system-ui, sans-serif);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: var(--letter-spacing, normal);
    text-transform: none;
    box-shadow: none;
    transform: none;
}

.confirmation-shell.public-confirmation .public-confirmation__actions .btn-primary,
body.event-page.tone-elegant .confirmation-shell.public-confirmation .public-confirmation__actions .btn-primary,
body.event-page:not(.buttons-outline) .confirmation-shell.public-confirmation .public-confirmation__actions .btn-primary {
    background: var(--text, #171717);
    color: var(--surface, #ffffff);
    border: none;
}

.confirmation-shell.public-confirmation .public-confirmation__actions .btn-secondary {
    background: transparent;
    color: var(--muted, #525252);
    border: none;
    min-height: auto;
    font-weight: 500;
}

.confirmation-shell.public-confirmation .public-confirmation__actions .btn-primary:hover,
.confirmation-shell.public-confirmation .public-confirmation__actions .btn-primary:focus-visible {
    transform: none;
    box-shadow: none;
}

.confirmation-shell.public-confirmation .public-confirmation__actions .btn:focus-visible {
    outline: 2px solid var(--accent, #525252);
    outline-offset: 2px;
}

body.event-transaction-page:has(.public-confirmation) .mobile-ticket-bar--solo-cta {
    display: none !important;
}

body.event-transaction-page.has-mobile-sticky-cta:has(.public-confirmation):has(.mobile-ticket-bar--solo-cta) {
    padding-bottom: 0;
}

body.event-transaction-page:has(.public-confirmation) .mobile-ticket-bar--transaction .mobile-ticket-bar__cta,
body.event-page.tone-elegant:has(.public-confirmation) .mobile-ticket-bar--transaction .btn-primary {
    text-transform: none;
    letter-spacing: var(--letter-spacing, normal);
    font-size: 0.9375rem;
    font-weight: 500;
}

@media (max-width: 767px) {
    body.event-transaction-page:has(.public-confirmation) .confirmation-shell.public-confirmation .public-confirmation__actions,
    .confirmation-shell.public-confirmation .public-confirmation__actions {
        display: flex;
    }

    body.event-transaction-page:has(.mobile-ticket-bar--solo-cta) .confirmation-shell.public-confirmation .transaction-sticky-cta--desktop {
        display: inline-flex !important;
        width: 100%;
    }

    body.event-transaction-page:has(.mobile-ticket-bar--transaction):not(:has(.mobile-ticket-bar--solo-cta)) .confirmation-shell.public-confirmation .transaction-sticky-cta--desktop {
        display: none !important;
    }
}

@media (min-width: 768px) {
    body.event-transaction-page .section-transaction-confirmation:has(.public-confirmation) .container {
        width: min(100% - 2rem, 27.5rem);
    }

    .confirmation-shell.public-confirmation,
    body.event-transaction-page .confirmation-shell.public-confirmation {
        max-width: 27.5rem;
    }

    .confirmation-shell.public-confirmation .confirmation-headline {
        font-size: 2.5rem;
    }

    .confirmation-shell.public-confirmation .public-confirmation__ticket-body,
    .confirmation-shell.public-confirmation .public-confirmation__notes,
    body.event-transaction-page .confirmation-shell.public-confirmation .confirmation-shell__panels .confirmation-summary,
    body.event-transaction-page .confirmation-shell.public-confirmation .confirmation-shell__panels .confirmation-next-steps {
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .confirmation-shell.public-confirmation .public-confirmation__actions .btn,
    body.event-page.tone-elegant .confirmation-shell.public-confirmation .public-confirmation__actions .btn-primary,
    .confirmation-shell.public-confirmation .public-confirmation__actions .transaction-sticky-cta--desktop {
        display: inline-flex !important;
        width: 100%;
        min-width: 0;
        text-transform: none;
        letter-spacing: var(--letter-spacing, normal);
        font-size: 0.9375rem;
        font-weight: 500;
    }
}

/* -------------------------------------------------------------------------- */
/* Complete payment — checkout/show                                             */
/* .public-checkout on confirmation-shell--checkout. Confirmation is separate.  */
/* -------------------------------------------------------------------------- */

html:has(.public-checkout),
body.event-transaction-page:has(.public-checkout),
.section-transaction-confirmation:has(.public-checkout) {
    background: var(--bg, #fafafa);
}

.section-transaction-confirmation:has(.public-checkout) {
    min-height: auto;
    align-items: flex-start;
    padding-inline: 0;
    padding-block: clamp(1.5rem, 5vw, 3rem);
}

body.event-transaction-page .section-transaction-confirmation:has(.public-checkout) .container,
.section-transaction-confirmation:has(.public-checkout) .container {
    width: min(100% - 2rem, 28rem);
}

.confirmation-shell.public-checkout,
.confirmation-shell.public-checkout :where(p, h1, h2, dt, dd, span, a, .btn, .confirmation-eyebrow, .confirmation-headline, .confirmation-summary__title) {
    text-transform: none;
}

.confirmation-shell.public-checkout,
body.event-page.cards-elevated .confirmation-shell.public-checkout {
    max-width: 28rem;
    margin-inline: auto;
    overflow: visible;
    background: var(--surface, #ffffff);
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
    border-radius: 16px;
    box-shadow: 0 1px 2px color-mix(in srgb, var(--text, #171717) 4%, transparent);
    animation: none;
}

.confirmation-shell.public-checkout .public-checkout__body {
    text-align: left;
    padding: 1.75rem 1.5rem 1.35rem;
}

.confirmation-shell.public-checkout .public-checkout__header {
    display: block;
    margin: 0;
}

.confirmation-shell.public-checkout .public-checkout__event,
.confirmation-shell.public-checkout .confirmation-eyebrow {
    margin: 0 0 0.45rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--muted, #525252);
}

.confirmation-shell.public-checkout .confirmation-headline {
    margin: 0 0 0.5rem;
    font-family: var(--heading-font, ui-sans-serif, system-ui, sans-serif);
    font-size: clamp(1.5rem, 4vw, 1.85rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--text, #171717);
}

.confirmation-shell.public-checkout .confirmation-lead {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--muted, #525252);
}

.confirmation-shell.public-checkout .public-checkout__amount,
.confirmation-shell.public-checkout .checkout-amount {
    margin: 1.35rem 0 0;
    padding: 1.15rem 0 0;
    border: 0;
    border-radius: 0;
    border-top: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
    background: transparent;
}

.confirmation-shell.public-checkout .checkout-amount__value {
    display: block;
    font-family: var(--heading-font, ui-sans-serif, system-ui, sans-serif);
    font-size: clamp(1.75rem, 5vw, 2.1rem);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text, #171717);
}

.confirmation-shell.public-checkout .public-checkout__currency {
    margin-right: 0.28em;
    font-size: 0.5em;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: var(--muted, #525252);
    vertical-align: 0.35em;
}

.confirmation-shell.public-checkout .checkout-amount__label {
    display: block;
    margin: 0 0 0.4rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--muted, #525252);
}

.confirmation-shell.public-checkout .public-checkout__panels,
.confirmation-shell.public-checkout .confirmation-shell__panels {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 1.5rem;
    padding-top: 0;
    border-top: 0;
}

.confirmation-shell.public-checkout .public-checkout__summary,
.confirmation-shell.public-checkout .public-checkout__pay,
.confirmation-shell.public-checkout .confirmation-shell__panels .confirmation-summary,
.confirmation-shell.public-checkout .confirmation-shell__panels .checkout-pay-form {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.confirmation-shell.public-checkout .confirmation-summary__title {
    margin: 0 0 0.35rem;
    font-family: var(--body-font, ui-sans-serif, system-ui, sans-serif);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--text, #171717);
}

.confirmation-shell.public-checkout .public-checkout__details,
.confirmation-shell.public-checkout .confirmation-details {
    margin: 0;
}

.confirmation-shell.public-checkout .confirmation-details__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 10%, var(--surface, #ffffff)));
    grid-template-columns: none;
}

.confirmation-shell.public-checkout .confirmation-details__row:last-child {
    border-bottom: 0;
}

.confirmation-shell.public-checkout .confirmation-details__row.public-checkout__row--reference,
.confirmation-shell.public-checkout .confirmation-details__row.public-checkout__row--event,
.confirmation-shell.public-checkout .confirmation-details__row.public-checkout__row--payin {
    display: none;
}

.confirmation-shell.public-checkout .confirmation-details dt {
    flex: 0 1 auto;
    max-width: 46%;
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--muted, #525252);
}

.confirmation-shell.public-checkout .confirmation-details dd {
    flex: 1 1 auto;
    margin: 0;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: right;
    color: var(--text, #171717);
    overflow-wrap: anywhere;
}

.confirmation-shell.public-checkout .confirmation-details__row--highlight dd,
.confirmation-shell.public-checkout .confirmation-details__row--highlight dd strong {
    font-size: 0.9375rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--text, #171717);
}

.confirmation-shell.public-checkout .confirmation-ref {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
}

.confirmation-shell.public-checkout .public-checkout__pay {
    margin-top: 1.5rem;
}

.confirmation-shell.public-checkout .checkout-form {
    gap: 0;
}

.confirmation-shell.public-checkout .checkout-submit,
body.event-page.tone-elegant .confirmation-shell.public-checkout .checkout-submit,
body.event-page:not(.buttons-outline) .confirmation-shell.public-checkout .checkout-submit {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 12px;
    background: var(--accent, var(--primary, #1e293b));
    color: var(--accent-ink, #ffffff);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: var(--letter-spacing, normal);
    text-transform: none;
    box-shadow: none;
    transform: none;
}

.confirmation-shell.public-checkout .checkout-submit:hover,
.confirmation-shell.public-checkout .checkout-submit:focus-visible,
body.event-page.tone-elegant .confirmation-shell.public-checkout .checkout-submit:hover {
    transform: none;
    box-shadow: none;
}

.confirmation-shell.public-checkout .checkout-submit:focus-visible {
    outline: 2px solid var(--accent, #525252);
    outline-offset: 2px;
}

.confirmation-shell.public-checkout .public-checkout__note,
.confirmation-shell.public-checkout .checkout-secure-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0.85rem 0 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--muted, #525252);
}

.confirmation-shell.public-checkout .checkout-secure-note svg {
    width: 1rem;
    height: 1rem;
    margin-top: 0.12rem;
    color: var(--muted, #525252);
}

.confirmation-shell.public-checkout .public-checkout__actions,
.confirmation-shell.public-checkout .confirmation-actions {
    justify-content: flex-start;
    margin-top: 1.15rem;
}

.confirmation-shell.public-checkout .public-checkout__back,
.confirmation-shell.public-checkout .transaction-sticky-cta__companion {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted, #525252);
    text-decoration: none;
}

.confirmation-shell.public-checkout .public-checkout__back:hover,
.confirmation-shell.public-checkout .public-checkout__back:focus-visible {
    color: var(--text, #171717);
    text-decoration: underline;
}

.confirmation-shell.public-checkout .public-checkout__back:focus-visible {
    outline: 2px solid var(--accent, #525252);
    outline-offset: 2px;
}

body.event-transaction-page:has(.public-checkout) .mobile-ticket-bar--transaction {
    box-shadow: 0 -1px 0 var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
}

body.event-transaction-page:has(.public-checkout) .mobile-ticket-bar__price {
    font-variant-numeric: tabular-nums;
}

@media (max-width: 767px) {
    .confirmation-shell.public-checkout .transaction-sticky-cta--desktop {
        display: none !important;
    }
}

@media (min-width: 768px) {
    body.event-transaction-page .section-transaction-confirmation:has(.public-checkout) .container {
        width: min(100% - 2rem, 28rem);
    }

    .confirmation-shell.public-checkout,
    body.event-transaction-page .confirmation-shell.public-checkout {
        max-width: 28rem;
    }

    .confirmation-shell.public-checkout .public-checkout__body,
    body.event-transaction-page .confirmation-shell.public-checkout .confirmation-shell__body {
        text-align: left;
        padding: 2rem 1.75rem 1.5rem;
    }

    .confirmation-shell.public-checkout.confirmation-shell--checkout .confirmation-shell__hero,
    .confirmation-shell.public-checkout .public-checkout__header {
        display: block;
    }

    .confirmation-shell.public-checkout .confirmation-shell__panels,
    body.event-transaction-page .confirmation-shell.public-checkout .confirmation-shell__panels {
        margin-top: 1.5rem;
        padding-top: 0;
        border-top: 0;
        gap: 0;
    }

    .confirmation-shell.public-checkout .confirmation-shell__panels .confirmation-summary,
    .confirmation-shell.public-checkout .confirmation-shell__panels .checkout-pay-form,
    body.event-transaction-page .confirmation-shell.public-checkout .confirmation-shell__panels .confirmation-summary,
    body.event-transaction-page .confirmation-shell.public-checkout .confirmation-shell__panels .checkout-pay-form {
        padding: 0;
        background: transparent;
        border: 0;
        border-radius: 0;
    }

    .confirmation-shell.public-checkout .confirmation-details__row {
        grid-template-columns: none;
    }

    body.event-page.tone-elegant .confirmation-shell.public-checkout .checkout-submit {
        letter-spacing: var(--letter-spacing, normal);
        text-transform: none;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .confirmation-shell.public-checkout .confirmation-details__row {
        grid-template-columns: none;
        gap: 1rem;
    }
}

/* -------------------------------------------------------------------------- */
/* Ticket selection + RSVP                                                      */
/* .public-tickets / .public-registration / .public-ticket-sheet / compact.     */
/* Does not restyle checkout/show (confirmation-shell--checkout).               */
/* -------------------------------------------------------------------------- */

body.event-page .public-tickets .section-tickets__heading,
body.event-page .public-registration h2,
body.event-page .public-compact-checkout .compact-ticket-card__title,
body.event-page .public-ticket-sheet .ticket-checkout-sheet__title {
    font-family: var(--heading-font, ui-sans-serif, system-ui, sans-serif);
    letter-spacing: var(--letter-spacing, normal);
    color: var(--text, #171717);
}

body.event-page .public-tickets .registration-card,
body.event-page .public-registration__card,
body.event-page .public-tickets .public-ticket-card,
body.event-page .public-compact-checkout__card {
    background: var(--surface, #ffffff);
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
    border-radius: calc(var(--radius, 8px) * 1.5);
    box-shadow: 0 1px 2px color-mix(in srgb, var(--text, #171717) 4%, transparent);
}

body.event-page.appearance-dark .public-tickets .registration-card,
body.event-page.appearance-dark .public-registration__card,
body.event-page.appearance-dark .public-tickets .public-ticket-card,
body.event-page.appearance-dark .public-compact-checkout__card {
    box-shadow: 0 1px 2px color-mix(in srgb, #000 24%, transparent);
}

body.event-page .public-tickets .ticket-unavailable,
body.event-page .public-registration .ticket-selection-single__price.is-unavailable,
body.event-page .public-registration .registration-live-total__amount.is-unavailable {
    color: var(--accent, #b45309);
}

body.event-page .public-registration .ticket-selection-single,
body.event-page .public-ticket-sheet .ticket-selection-single,
body.event-page .public-compact-checkout .ticket-selection-single {
    background: var(--surface, #ffffff);
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
    border-radius: 14px;
    box-shadow: none;
}

body.event-page .public-registration .ticket-selection-single--offer,
body.event-page .public-ticket-sheet .ticket-selection-single--offer,
body.event-page .public-compact-checkout .ticket-selection-single--offer {
    background: var(--surface, #ffffff);
    border-color: var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
}

body.event-page .public-registration .ticket-selection-single--with-stepper,
body.event-page .public-ticket-sheet .ticket-selection-single--with-stepper,
body.event-page .public-compact-checkout .ticket-selection-single--with-stepper {
    border-color: var(--accent, var(--primary, #1e293b));
    box-shadow: 0 0 0 1px var(--accent, var(--primary, #1e293b));
}

body.event-page .public-registration .ticket-selection-single__name,
body.event-page .public-ticket-sheet .ticket-selection-single__name,
body.event-page .public-compact-checkout .ticket-selection-single__name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text, #171717);
}

body.event-page .public-registration .ticket-selection-single__price,
body.event-page .public-ticket-sheet .ticket-selection-single__price,
body.event-page .public-compact-checkout .ticket-selection-single__price {
    color: var(--text, #171717);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.2;
}

body.event-page .public-registration .ticket-price-offer__badge,
body.event-page .public-ticket-sheet .ticket-price-offer__badge,
body.event-page .public-tickets .ticket-price-offer__badge {
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.12rem 0.5rem;
    border: 0;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent, var(--primary, #1e293b)) 12%, var(--surface, #ffffff));
    color: var(--accent, var(--primary, #1e293b));
}

body.event-page .public-registration .ticket-price-offer__compare,
body.event-page .public-ticket-sheet .ticket-price-offer__compare,
body.event-page .public-tickets .ticket-price-offer__compare {
    color: var(--muted, #525252);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: line-through;
}

body.event-page .public-registration .ticket-price-offer__ends:not([hidden]),
body.event-page .public-ticket-sheet .ticket-price-offer__ends:not([hidden]),
body.event-page .public-tickets .ticket-price-offer__ends:not([hidden]) {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    color: var(--muted, #525252);
    font-size: 0.8125rem;
    line-height: 1.35;
}

body.event-page .public-registration .ticket-price-offer__ends:not([hidden])::before,
body.event-page .public-ticket-sheet .ticket-price-offer__ends:not([hidden])::before,
body.event-page .public-tickets .ticket-price-offer__ends:not([hidden])::before {
    content: "";
    width: 0.8125rem;
    height: 0.8125rem;
    flex-shrink: 0;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.event-page .public-registration .ticket-price-offer__badge[hidden],
body.event-page .public-registration .ticket-price-offer__compare[hidden],
body.event-page .public-registration .ticket-price-offer__ends[hidden],
body.event-page .public-ticket-sheet .ticket-price-offer__badge[hidden],
body.event-page .public-ticket-sheet .ticket-price-offer__compare[hidden],
body.event-page .public-ticket-sheet .ticket-price-offer__ends[hidden],
body.event-page .public-tickets .ticket-price-offer__badge[hidden],
body.event-page .public-tickets .ticket-price-offer__compare[hidden],
body.event-page .public-tickets .ticket-price-offer__ends[hidden] {
    display: none;
}

body.event-page .public-registration .ticket-selection-list--pair .ticket-selection-option:not(:has(.ticket-selection-option__input:checked)),
body.event-page .public-ticket-sheet .ticket-selection-list--pair .ticket-selection-option:not(:has(.ticket-selection-option__input:checked)) {
    opacity: 1;
    background: var(--surface, #ffffff);
    border-color: var(--border, color-mix(in srgb, var(--text, #171717) 14%, var(--surface, #ffffff)));
    box-shadow: none;
}

body.event-page .public-registration .ticket-selection-list--pair .ticket-selection-option:has(.ticket-selection-option__input:checked),
body.event-page .public-registration .ticket-selection-list--pair .ticket-selection-option.is-selected:has(.ticket-selection-option__input:checked),
body.event-page .public-ticket-sheet .ticket-selection-list--pair .ticket-selection-option:has(.ticket-selection-option__input:checked),
body.event-page .public-ticket-sheet .ticket-selection-list--pair .ticket-selection-option.is-selected:has(.ticket-selection-option__input:checked) {
    opacity: 1;
    background: var(--surface, #ffffff);
    border-color: var(--accent, var(--primary, #1e293b));
    box-shadow: 0 0 0 1px var(--accent, var(--primary, #1e293b));
}

body.event-page .public-registration .ticket-selection-list--pair .ticket-selection-option:has(.ticket-selection-option__input:checked) .ticket-selection-single__name,
body.event-page .public-ticket-sheet .ticket-selection-list--pair .ticket-selection-option:has(.ticket-selection-option__input:checked) .ticket-selection-single__name {
    color: var(--text, #171717);
}

body.event-page .public-registration .ticket-selection-list--pair .ticket-selection-option:has(.ticket-selection-option__input:checked) .ticket-selection-single__price,
body.event-page .public-ticket-sheet .ticket-selection-list--pair .ticket-selection-option:has(.ticket-selection-option__input:checked) .ticket-selection-single__price {
    color: var(--text, #171717);
}

body.event-page .public-registration .ticket-selection-list--pair .ticket-selection-option:has(.ticket-selection-option__input:checked) .ticket-selection-single__description,
body.event-page .public-ticket-sheet .ticket-selection-list--pair .ticket-selection-option:has(.ticket-selection-option__input:checked) .ticket-selection-single__description {
    color: var(--muted, #525252);
}

body.event-page .public-registration .ticket-selection-list--pair .ticket-selection-option:has(.ticket-selection-option__input:checked) .ticket-price-offer__badge,
body.event-page .public-ticket-sheet .ticket-selection-list--pair .ticket-selection-option:has(.ticket-selection-option__input:checked) .ticket-price-offer__badge {
    color: var(--accent, var(--primary, #1e293b));
    background: color-mix(in srgb, var(--accent, var(--primary, #1e293b)) 12%, var(--surface, #ffffff));
    border: 0;
}

body.event-page .public-registration .ticket-selection-list--pair .ticket-selection-option:has(.ticket-selection-option__input:checked) .ticket-price-offer__compare,
body.event-page .public-registration .ticket-selection-list--pair .ticket-selection-option:has(.ticket-selection-option__input:checked) .ticket-price-offer__ends,
body.event-page .public-ticket-sheet .ticket-selection-list--pair .ticket-selection-option:has(.ticket-selection-option__input:checked) .ticket-price-offer__compare,
body.event-page .public-ticket-sheet .ticket-selection-list--pair .ticket-selection-option:has(.ticket-selection-option__input:checked) .ticket-price-offer__ends {
    color: var(--muted, #525252);
}

body.event-page .public-registration .ticket-selection-option:has(.ticket-selection-option__input:checked),
body.event-page .public-registration .ticket-selection-option.is-selected,
body.event-page .public-ticket-sheet .ticket-selection-option:has(.ticket-selection-option__input:checked),
body.event-page .public-ticket-sheet .ticket-selection-option.is-selected {
    border-color: var(--accent, var(--primary, #1e293b));
    box-shadow: 0 0 0 1px var(--accent, var(--primary, #1e293b));
    background: var(--surface, #ffffff);
}

body.event-page .public-registration .currency-selector__legend,
body.event-page .public-ticket-sheet .currency-selector__legend {
    font-size: 0.8125rem;
    font-weight: 600;
    margin: 0 0 0.375rem;
    color: var(--text, #171717);
}

body.event-page .public-registration .currency-selection-dropdown,
body.event-page .public-ticket-sheet .currency-selection-dropdown {
    box-sizing: border-box;
    min-height: 46px;
    padding: 0.75rem 0.85rem;
    font-size: 0.9375rem;
    line-height: 1.4;
    border-radius: 10px;
    background: var(--surface, #ffffff);
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 16%, var(--surface, #ffffff)));
    color: var(--text, #171717);
}

body.event-page .public-registration .currency-selection-option {
    opacity: 1;
    background: var(--surface, #ffffff);
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 14%, var(--surface, #ffffff)));
    border-radius: 10px;
    box-shadow: none;
    min-height: 46px;
}

body.event-page .public-registration .currency-selection-option:has(.currency-selection-option__input:checked),
body.event-page .public-registration .currency-selection-option.is-selected:has(.currency-selection-option__input:checked) {
    opacity: 1;
    background: var(--surface, #ffffff);
    border-color: var(--accent, var(--primary, #1e293b));
    box-shadow: 0 0 0 1px var(--accent, var(--primary, #1e293b));
}

body.event-page .public-registration .currency-selection-option:has(.currency-selection-option__input:checked) .currency-selection-option__label,
body.event-page .public-registration .currency-selection-option.is-selected:has(.currency-selection-option__input:checked) .currency-selection-option__label {
    color: var(--text, #171717);
}

body.event-page .public-registration .form-fieldset,
body.event-page .public-ticket-sheet .form-fieldset,
body.event-page .public-ticket-sheet .registration-form--sheet .form-fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
    background: transparent;
    box-shadow: none;
}

body.event-page .public-registration .form-fieldset legend,
body.event-page .public-ticket-sheet .form-fieldset legend,
body.event-page .public-registration .attendee-custom-fields__guest legend,
body.event-page .public-ticket-sheet .attendee-custom-fields__guest legend {
    float: none;
    display: block;
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0 0 0.85rem;
    font-family: var(--heading-font, ui-sans-serif, system-ui, sans-serif);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text, #171717);
}

body.event-page .public-registration .form-fieldset + .form-fieldset,
body.event-page .public-registration .form-fieldset + .attendee-custom-fields,
body.event-page .public-registration .form-fieldset + .form-group,
body.event-page .public-registration .attendee-custom-fields__guest + .attendee-custom-fields__guest,
body.event-page .public-ticket-sheet .form-fieldset + .form-fieldset,
body.event-page .public-ticket-sheet .form-fieldset + .attendee-custom-fields,
body.event-page .public-ticket-sheet .form-fieldset + .form-group,
body.event-page .public-ticket-sheet .attendee-custom-fields__guest + .attendee-custom-fields__guest {
    margin-top: 1.375rem;
    padding-top: 1.375rem;
    border-top: 1px solid var(--border-subtle, color-mix(in srgb, var(--text, #171717) 10%, var(--surface, #ffffff)));
}

body.event-page .public-registration .form-fieldset--addons,
body.event-page .public-ticket-sheet .form-fieldset--addons {
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.event-page .public-registration .form-fieldset--addons legend,
body.event-page .public-ticket-sheet .form-fieldset--addons legend {
    color: var(--text, #171717);
}

body.event-page .public-registration .form-group,
body.event-page .public-ticket-sheet .form-group {
    gap: 0.375rem;
}

body.event-page .public-registration .form-group > label,
body.event-page .public-ticket-sheet .form-group > label {
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text, #171717);
}

body.event-page .public-registration .form-group > label .required,
body.event-page .public-ticket-sheet .form-group > label .required,
body.event-page .public-registration .required,
body.event-page .public-ticket-sheet .required {
    color: var(--accent, var(--primary, #b45309));
}

body.event-page .public-registration .form-fieldset > .form-group + .form-group,
body.event-page .public-registration .form-fieldset > .form-row + .form-group,
body.event-page .public-registration .form-fieldset > .form-group + .form-row,
body.event-page .public-registration .form-fieldset > .form-row + .form-row,
body.event-page .public-registration .attendee-custom-fields__guest > .form-group + .form-group,
body.event-page .public-ticket-sheet .form-fieldset > .form-group + .form-group,
body.event-page .public-ticket-sheet .form-fieldset > .form-row + .form-group,
body.event-page .public-ticket-sheet .form-fieldset > .form-group + .form-row,
body.event-page .public-ticket-sheet .attendee-custom-fields__guest > .form-group + .form-group {
    margin-top: 1rem;
}

body.event-page .public-registration .form-group input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(.iti__tel-input):not(.quantity-stepper__input),
body.event-page .public-registration .form-group select,
body.event-page .public-registration .form-group textarea,
body.event-page .public-ticket-sheet .form-group input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(.iti__tel-input):not(.quantity-stepper__input),
body.event-page .public-ticket-sheet .form-group select,
body.event-page .public-ticket-sheet .form-group textarea {
    box-sizing: border-box;
    min-height: 46px;
    padding: 0.75rem 0.85rem;
    font-size: 0.9375rem;
    line-height: 1.4;
    border-radius: 10px;
    background: var(--surface, #ffffff);
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 16%, var(--surface, #ffffff)));
    color: var(--text, #171717);
    box-shadow: none;
    scroll-margin-top: 4.5rem;
}

body.event-page .public-registration .intl-phone-field .iti__tel-input,
body.event-page .public-ticket-sheet .intl-phone-field .iti__tel-input {
    box-sizing: border-box;
    min-height: 46px;
    font-size: 0.9375rem;
    line-height: 1.4;
    border-radius: 10px;
    background: var(--surface, #ffffff);
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 16%, var(--surface, #ffffff)));
    color: var(--text, #171717);
    box-shadow: none;
    scroll-margin-top: 4.5rem;
}

body.event-page .public-registration .form-group textarea,
body.event-page .public-ticket-sheet .form-group textarea {
    min-height: 7.5rem;
}

/* Focus keeps the 1px box. Ring is a shadow so the field does not grow. */
body.event-page .public-registration .form-group input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(.quantity-stepper__input):focus,
body.event-page .public-registration .form-group input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(.quantity-stepper__input):focus-visible,
body.event-page .public-registration .form-group select:focus,
body.event-page .public-registration .form-group select:focus-visible,
body.event-page .public-registration .form-group textarea:focus,
body.event-page .public-registration .form-group textarea:focus-visible,
body.event-page .public-registration .intl-phone-field .iti__tel-input:focus,
body.event-page .public-ticket-sheet .form-group input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(.quantity-stepper__input):focus,
body.event-page .public-ticket-sheet .form-group input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(.quantity-stepper__input):focus-visible,
body.event-page .public-ticket-sheet .form-group select:focus,
body.event-page .public-ticket-sheet .form-group select:focus-visible,
body.event-page .public-ticket-sheet .form-group textarea:focus,
body.event-page .public-ticket-sheet .form-group textarea:focus-visible,
body.event-page .public-ticket-sheet .intl-phone-field .iti__tel-input:focus,
body.event-page .public-registration .currency-selection-dropdown:focus,
body.event-page .public-ticket-sheet .currency-selection-dropdown:focus {
    outline: none;
    border-width: 1px;
    border-color: var(--accent, var(--primary, #1e293b));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, var(--primary, #1e293b)) 18%, transparent);
}

body.event-page .public-registration .form-group input.is-invalid:not(.quantity-stepper__input):focus,
body.event-page .public-registration .form-group input.is-invalid:not(.quantity-stepper__input):focus-visible,
body.event-page .public-registration .form-group select.is-invalid:focus,
body.event-page .public-registration .form-group select.is-invalid:focus-visible,
body.event-page .public-registration .form-group textarea.is-invalid:focus,
body.event-page .public-registration .form-group textarea.is-invalid:focus-visible,
body.event-page .public-registration .intl-phone-field.is-invalid .iti__tel-input:focus,
body.event-page .public-registration .intl-phone-field .iti__tel-input.is-invalid:focus {
    border-color: var(--form-error-accent, #dc2626);
    box-shadow: 0 0 0 3px var(--form-error-ring, color-mix(in srgb, #ef4444 14%, transparent));
}

body.event-page .public-registration .ticket-selection-option:has(.ticket-selection-option__input:focus-visible),
body.event-page .public-ticket-sheet .ticket-selection-option:has(.ticket-selection-option__input:focus-visible),
body.event-page .public-registration .currency-selection-option:has(.currency-selection-option__input:focus-visible) {
    outline: none;
}

body.event-page .public-registration .cf-option:has(input:checked) {
    background: var(--surface, #ffffff);
    border-color: var(--accent, var(--primary, #1e293b));
    box-shadow: 0 0 0 1px var(--accent, var(--primary, #1e293b));
}

body.event-page .public-registration .quantity-stepper__input:focus,
body.event-page .public-ticket-sheet .quantity-stepper__input:focus {
    outline: none;
    box-shadow: inset 0 0 0 1px var(--text, #171717);
}

body.event-page .public-registration .form-errors-summary {
    border: 1px solid var(--form-error-border, #fecaca);
    border-left-width: 1px;
    background: var(--form-error-bg, #fef2f2);
    color: var(--form-error-text, #991b1b);
}

body.event-page .public-registration .registration-live-total {
    background: transparent;
    border: 0;
    border-top: 1px solid var(--border-subtle, color-mix(in srgb, var(--text, #171717) 10%, var(--surface, #ffffff)));
    border-radius: 0;
    box-shadow: none;
    padding: 1.25rem 0 0;
    margin-top: 0.25rem;
}

body.event-page .public-registration .registration-live-total__label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted, #525252);
}

body.event-page .public-registration .registration-live-total__amount {
    color: var(--text, #171717);
    font-size: 1.375rem;
    font-weight: 700;
}

body.event-page .public-registration .btn,
body.event-page .public-ticket-sheet .btn,
body.event-page .public-compact-checkout .btn {
    -webkit-appearance: none;
    appearance: none;
    min-height: 48px;
    font-family: var(--body-font, system-ui, sans-serif);
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: var(--letter-spacing, normal);
    text-transform: none;
    box-shadow: none;
    cursor: pointer;
}

body.event-page:not(.buttons-outline) .btn-primary {
    color: var(--accent-ink, #ffffff);
}

body.event-page .public-registration .btn-primary.btn-block,
body.event-page .public-ticket-sheet .ticket-checkout-sheet__submit,
body.event-page .public-compact-checkout .compact-submit-btn {
    width: 100%;
    min-height: 52px;
    border: none;
    border-radius: 12px;
    background: var(--accent, var(--primary, #1e293b));
    color: var(--accent-ink, #ffffff);
}

body.event-page:not(.buttons-outline) .public-registration .btn-primary,
body.event-page:not(.buttons-outline) .public-ticket-sheet .btn-primary,
body.event-page:not(.buttons-outline) .public-compact-checkout .btn-primary {
    border: none;
}

body.event-page .public-registration .btn:focus-visible,
body.event-page .public-ticket-sheet .btn:focus-visible,
body.event-page .public-compact-checkout .btn:focus-visible {
    outline: 2px solid var(--accent, #525252);
    outline-offset: 2px;
}

body.event-page .public-registration .quantity-stepper__controls,
body.event-page .public-ticket-sheet .quantity-stepper__controls,
body.event-page .public-registration .quantity-stepper--inline .quantity-stepper__controls,
body.event-page .public-ticket-sheet .quantity-stepper--inline .quantity-stepper__controls {
    gap: 0.4rem;
    align-items: center;
    border: 0;
    border-radius: 0;
    overflow: visible;
    background: transparent;
}

body.event-page .public-registration .quantity-stepper__btn,
body.event-page .public-ticket-sheet .quantity-stepper__btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 16%, var(--surface, #ffffff)));
    border-radius: 999px;
    background: var(--surface, #ffffff);
    color: var(--muted, #525252);
    font-size: 1.05rem;
}

body.event-page .public-registration .quantity-stepper__btn--minus,
body.event-page .public-ticket-sheet .quantity-stepper__btn--minus {
    background: var(--surface, #ffffff);
    color: var(--muted, #525252);
}

body.event-page .public-registration .quantity-stepper__btn--plus,
body.event-page .public-ticket-sheet .quantity-stepper__btn--plus,
body.event-page.buttons-outline .public-registration .quantity-stepper__btn--plus,
body.event-page.buttons-outline .public-ticket-sheet .quantity-stepper__btn--plus {
    background: var(--accent, var(--primary, #1e293b));
    color: var(--accent-ink, #ffffff);
    border-color: var(--accent, var(--primary, #1e293b));
}

body.event-page .public-registration .quantity-stepper__btn--plus:not(:disabled):hover,
body.event-page .public-ticket-sheet .quantity-stepper__btn--plus:not(:disabled):hover {
    background: color-mix(in srgb, var(--accent, var(--primary, #1e293b)) 88%, #000000);
    color: var(--accent-ink, #ffffff);
    border-color: color-mix(in srgb, var(--accent, var(--primary, #1e293b)) 88%, #000000);
}

body.event-page .public-registration .quantity-stepper__input,
body.event-page .public-ticket-sheet .quantity-stepper__input,
body.event-page .public-registration .form-group .quantity-stepper__input,
body.event-page .public-ticket-sheet .form-group .quantity-stepper__input {
    box-sizing: content-box;
    width: 2rem;
    min-width: 2rem;
    min-height: 34px;
    padding: 0;
    border: 0;
    border-inline: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text, #171717);
    text-align: center;
}

body.event-page .public-ticket-sheet .ticket-checkout-sheet__panel {
    background: var(--surface, #ffffff);
    box-shadow:
        0 -1px 2px color-mix(in srgb, var(--text, #171717) 6%, transparent),
        0 -12px 32px color-mix(in srgb, var(--text, #171717) 10%, transparent);
}

body.event-page .public-ticket-sheet .ticket-checkout-sheet__header {
    border-bottom: 1px solid var(--border-subtle, color-mix(in srgb, var(--text, #171717) 10%, var(--surface, #ffffff)));
    background: var(--surface, #ffffff);
    padding: 1.1rem 1.1rem 0.9rem;
}

body.event-page .public-ticket-sheet .ticket-checkout-sheet__title {
    font-family: var(--heading-font, ui-sans-serif, system-ui, sans-serif);
    font-size: 1.1875rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text, #171717);
}

body.event-page .public-ticket-sheet .ticket-checkout-sheet__subtitle {
    font-size: 0.875rem;
    color: var(--muted, #525252);
}

body.event-page .public-ticket-sheet .ticket-checkout-sheet__close {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
    border-radius: 999px;
    background: var(--surface, #ffffff);
    color: var(--text, #171717);
}

body.event-page .public-ticket-sheet .ticket-checkout-sheet__footer {
    border-top: 1px solid var(--border-subtle, color-mix(in srgb, var(--text, #171717) 10%, var(--surface, #ffffff)));
    background: var(--surface, #ffffff);
    padding: 0.9rem 1.1rem 1.1rem;
}

body.event-page .public-ticket-sheet .ticket-checkout-sheet__total-label {
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted, #525252);
}

body.event-page .public-ticket-sheet .ticket-checkout-sheet__total-amount {
    font-family: var(--heading-font, ui-sans-serif, system-ui, sans-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text, #171717);
}

@media (max-width: 767px) {
    body.event-page .public-registration .quantity-stepper__btn,
    body.event-page .public-ticket-sheet .quantity-stepper__btn {
        width: 34px;
        height: 34px;
        min-width: 34px;
        min-height: 34px;
    }

    body.event-page .public-registration .quantity-stepper__input,
    body.event-page .public-ticket-sheet .quantity-stepper__input {
        min-height: 34px;
    }
}

body.event-page .public-compact-checkout .compact-checkout-image:not(.compact-checkout-image--original) {
    box-shadow:
        0 1px 2px color-mix(in srgb, var(--text, #171717) 6%, transparent),
        0 10px 24px color-mix(in srgb, var(--text, #171717) 10%, transparent);
}

body.event-page .public-compact-checkout .compact-checkout-image--placeholder {
    background: color-mix(in srgb, var(--primary, #1e293b) 10%, var(--surface, #ffffff));
    color: var(--muted, #525252);
    text-transform: none;
    letter-spacing: var(--letter-spacing, normal);
}

body.event-page .public-compact-checkout .compact-meta-chip {
    background: var(--surface, #ffffff);
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 14%, var(--surface, #ffffff)));
    color: var(--text, #171717);
    font-weight: 500;
}

body.event-page .public-compact-checkout .compact-notice--approval {
    background: color-mix(in srgb, var(--accent, #b45309) 8%, var(--surface, #ffffff));
    color: var(--text, #171717);
    border: 1px solid color-mix(in srgb, var(--accent, #b45309) 24%, var(--border, #e5e5e5));
}

body.event-page .public-compact-checkout .compact-sold-out,
body.event-page .public-ticket-state--sold {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.45rem 0.7rem;
    margin: 0;
    padding: 1rem 1.1rem;
    line-height: 1.5;
    background: var(--form-error-bg, #fef2f2);
    color: var(--form-error-text, #991b1b);
    border: 1px solid var(--form-error-border, #fecaca);
    border-radius: calc(var(--radius, 8px) * 1.25);
}

body.event-page .public-compact-checkout .compact-badge {
    text-transform: none;
    letter-spacing: 0.02em;
    font-weight: 600;
}

body.event-page .public-ticket-state--sold .compact-badge--sold {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--form-error-text, #991b1b);
    border-radius: 0;
}

body.event-page .public-ticket-state--sold .compact-badge--sold::before {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: var(--form-error-accent, #dc2626);
}

body.event-page .public-ticket-state--closed,
body.event-page .public-ticket-state--empty {
    margin: 0;
    padding: 1rem 1.1rem;
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
    border-radius: calc(var(--radius, 8px) * 1.25);
    background: color-mix(in srgb, var(--text, #171717) 3%, var(--surface, #ffffff));
    color: var(--muted, #525252);
    line-height: 1.5;
}

body.event-page .public-ticket-state--private {
    background: var(--surface, #ffffff);
    color: var(--text, #171717);
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
}

body.event-page .public-ticket-state--private .compact-badge,
body.event-page .public-ticket-state--notice {
    text-transform: none;
}

body.event-page .public-ticket-state--private .compact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0.35rem 0 0;
    padding: 0;
    background: transparent;
    color: var(--text, #171717);
}

body.event-page .public-ticket-state--private .compact-badge::before {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: var(--muted, #525252);
}

body.event-page .public-ticket-state--notice {
    background: color-mix(in srgb, var(--accent, #b45309) 8%, var(--surface, #ffffff));
    color: var(--text, #171717);
    border: 1px solid color-mix(in srgb, var(--accent, #b45309) 24%, var(--border, #e5e5e5));
}

body.event-page .public-registration .public-ticket-code {
    padding: 0.9rem 1rem;
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
    border-radius: calc(var(--radius, 8px) * 1.25);
    background: color-mix(in srgb, var(--text, #171717) 3%, var(--surface, #ffffff));
    gap: 0.45rem;
}

body.event-page .public-registration .public-ticket-code .form-hint {
    margin: 0;
}

body.event-page .public-ticket-state__status.is-sold-out {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--form-error-text, #991b1b);
}

body.event-page .public-ticket-state__status.is-sold-out::before {
    content: "";
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: var(--form-error-accent, #dc2626);
}

body.event-page .public-tickets .paid-soon.public-ticket-state__status {
    color: var(--accent, #b45309);
}

body.event-page .public-tickets .btn-disabled {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 14%, var(--surface, #ffffff)));
    background: var(--surface, #ffffff);
    color: var(--muted, #525252);
    box-shadow: none;
    text-transform: none;
}

@media (max-width: 767px) {
    body.event-page .public-compact-checkout .compact-submit-btn,
    body.event-page .public-ticket-sheet .compact-submit-btn {
        box-shadow: 0 1px 2px color-mix(in srgb, var(--text, #171717) 12%, transparent);
    }
}

/* -------------------------------------------------------------------------- */
/* Remaining event sections — about, speakers, gallery, FAQ, schedule, etc.     */
/* Keep designer crops on photos/gallery/image. Do not restyle checkout.        */
/* -------------------------------------------------------------------------- */

body.event-page .public-section {
    color: var(--text, #171717);
}

body.event-page .public-section .container.prose,
body.event-page .public-section.prose .container {
    max-width: 42rem;
}

body.event-page .public-section--gallery .container.prose,
body.event-page .public-section--speakers .container.prose,
body.event-page .public-section--sponsors .container.prose,
body.event-page .public-section--features .container,
body.event-page .public-section--impact .container {
    max-width: none;
}

body.event-page.tone-formal .public-section.prose h2,
body.event-page.tone-formal .public-section .prose h2 {
    border-bottom: 1px solid var(--border-subtle, color-mix(in srgb, var(--text, #171717) 10%, var(--surface, #ffffff)));
    padding-bottom: 0.5rem;
}

body.event-page .public-section .about-highlights li {
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
    border-left-width: 1px;
    border-radius: calc(var(--radius, 8px) * 1.25);
    background: var(--surface, #ffffff);
    box-shadow: none;
}

body.event-page .public-section--speakers .public-speaker-card,
body.event-page .public-section--speakers .speaker-card,
body.event-page .public-section--speakers .speaker-card-featured,
body.event-page .public-section--speakers .speaker-card-profile {
    background: var(--surface, #ffffff);
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
    box-shadow: 0 1px 2px color-mix(in srgb, var(--text, #171717) 4%, transparent);
}

body.event-page.cards-elevated .public-section--speakers .speaker-card,
body.event-page.appearance-dark .cards-elevated .public-section--speakers .speaker-card {
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
    box-shadow: 0 1px 2px color-mix(in srgb, var(--text, #171717) 4%, transparent);
}

body.event-page .public-section--speakers .speaker-list-item {
    border-bottom: 1px solid var(--border-subtle, color-mix(in srgb, var(--text, #171717) 10%, var(--surface, #ffffff)));
}

body.event-page .public-section--gallery .gallery-grid {
    gap: 1rem;
}

body.event-page .public-section--gallery .gallery-grid__item {
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
    box-shadow: none;
}

/*
 * Lazy gallery bitmaps stay blank inside overflow:hidden cards when height is 100%
 * of a figure that has no explicit height. Size from the organizer aspect-ratio
 * class instead; object-fit:cover still crops. Do not change layout/ratio classes.
 */
body.event-page .public-section--gallery .gallery-grid--uniform .gallery-grid__image {
    height: auto;
    min-height: 0;
}

body.event-page .public-section--gallery .gallery-grid__caption {
    color: var(--muted, #525252);
}

body.event-page .public-section--faq .public-faq-item {
    border-bottom: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
    padding: 0.25rem 0;
}

body.event-page .public-section--faq .public-faq-item summary {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.5rem 0;
    font-family: var(--heading-font, ui-sans-serif, system-ui, sans-serif);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: var(--letter-spacing, normal);
    color: var(--text, #171717);
    list-style-position: outside;
}

body.event-page .public-section--faq .public-faq-item summary:focus-visible {
    outline: 2px solid var(--accent, #525252);
    outline-offset: 2px;
}

body.event-page .public-section--schedule .schedule-list li {
    border-bottom: 1px solid var(--border-subtle, color-mix(in srgb, var(--text, #171717) 10%, var(--surface, #ffffff)));
    padding: 0.9rem 0;
}

body.event-page .public-section--schedule .schedule-list strong {
    color: var(--accent, #b45309);
}

body.event-page .public-section--venue a {
    color: var(--accent, #b45309);
    text-underline-offset: 2px;
}

body.event-page .public-section--sponsors .sponsor-card {
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
    box-shadow: none;
    min-height: 5.5rem;
}

body.event-page .public-section--sponsors .sponsor-logo {
    object-fit: contain;
}

body.event-page .public-section--video .video-embed {
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
    background: color-mix(in srgb, var(--text, #171717) 8%, var(--surface, #ffffff));
}

body.event-page .public-section--video .video-caption,
body.event-page .public-section--image .single-image__caption {
    color: var(--muted, #525252);
}

body.event-page .public-section--cta.cta-banner:not([style]) {
    background: var(--primary, #1e293b);
}

body.event-page .public-section--cta .cta-card-surface {
    background: var(--surface, #ffffff);
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
    box-shadow: 0 1px 2px color-mix(in srgb, var(--text, #171717) 4%, transparent);
}

body.event-page .public-section--cta .btn,
body.event-page .public-section--cta .public-section__cta {
    -webkit-appearance: none;
    appearance: none;
    min-height: 48px;
    font-family: var(--body-font, system-ui, sans-serif);
    font-weight: 600;
    letter-spacing: var(--letter-spacing, normal);
    text-transform: none;
    box-shadow: none;
}

body.event-page .public-section--cta .btn:focus-visible,
body.event-page .public-section--cta .public-section__cta:focus-visible {
    outline: 2px solid var(--accent, #525252);
    outline-offset: 2px;
}

body.event-page .public-section--features .feature-grid__card,
body.event-page .public-section--impact .impact-card,
body.event-page .public-section--pledge .pledge-cta-card {
    background: var(--surface, #ffffff);
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
    box-shadow: 0 1px 2px color-mix(in srgb, var(--text, #171717) 4%, transparent);
}

body.event-page .public-section--features .feature-grid--split .feature-grid__card {
    border-bottom: 1px solid var(--border-subtle, color-mix(in srgb, var(--text, #171717) 10%, var(--surface, #ffffff)));
    box-shadow: none;
}

body.event-page .public-section--features .feature-grid__label,
body.event-page .public-section .section-eyebrow {
    text-transform: none;
    letter-spacing: 0.02em;
}

body.event-page .public-section--links .quick-link {
    min-height: 44px;
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
    box-shadow: none;
}

body.event-page .public-contact__card {
    background: var(--surface, #ffffff);
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 12%, var(--surface, #ffffff)));
    box-shadow: 0 1px 2px color-mix(in srgb, var(--text, #171717) 4%, transparent);
}

body.event-page .public-contact .form-errors-summary {
    border: 1px solid var(--form-error-border, #fecaca);
    border-left-width: 1px;
    background: var(--form-error-bg, #fef2f2);
    color: var(--form-error-text, #991b1b);
}

body.event-page .public-contact .form-group input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(.iti__tel-input),
body.event-page .public-contact .form-group select,
body.event-page .public-contact .form-group textarea {
    min-height: 46px;
    padding: 0.75rem 0.85rem;
    background: var(--surface, #ffffff);
    border: 1px solid var(--border, color-mix(in srgb, var(--text, #171717) 16%, var(--surface, #ffffff)));
    color: var(--text, #171717);
}

body.event-page .public-contact .form-group textarea {
    min-height: 7.5rem;
}

body.event-page .public-contact .btn {
    -webkit-appearance: none;
    appearance: none;
    min-height: 48px;
    font-family: var(--body-font, system-ui, sans-serif);
    font-weight: 600;
    text-transform: none;
    box-shadow: none;
}

body.event-page:not(.buttons-outline) .public-contact .btn-primary {
    border: none;
}

body.event-page .public-contact .btn:focus-visible {
    outline: 2px solid var(--accent, #525252);
    outline-offset: 2px;
}

/* -------------------------------------------------------------------------- */
/* Ticket view + resend — Ayatickets platform brand (not event theme)         */
/* -------------------------------------------------------------------------- */

body.ticket-page.public-ticket-view,
body.ticket-page.public-ticket-resend {
    padding: 1.5rem 1rem;
}

body.ticket-page.public-ticket-view .ticket-card,
body.ticket-page.public-ticket-resend .ticket-card {
    max-width: 32.5rem;
    margin-block: 1.5rem;
    margin-inline: auto;
    border: 1px solid var(--ticket-border, #e2e8f0);
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(26, 26, 46, 0.04);
}

body.ticket-page.public-ticket-view .ticket-card--valid,
body.ticket-page.public-ticket-view .ticket-card--invalid {
    border-top: 3px solid var(--ticket-accent, #c0392b);
}

body.ticket-page.public-ticket-view .ticket-header {
    padding: 1.5rem 1.5rem 1.25rem;
    border-bottom: 2px dashed var(--ticket-border, #e2e8f0);
}

body.ticket-page.public-ticket-view .ticket-label {
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 0.75rem;
    font-weight: 500;
}

body.ticket-page.public-ticket-view .ticket-header h1 {
    font-size: clamp(1.35rem, 4vw, 1.65rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

body.ticket-page.public-ticket-view .ticket-body {
    gap: 1.5rem;
    padding: 0.25rem 1.5rem 1.5rem;
}

body.ticket-page.public-ticket-view .ticket-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.75rem 0;
}

body.ticket-page.public-ticket-view .ticket-row:last-child {
    border-bottom: none;
}

body.ticket-page.public-ticket-view .ticket-field-label {
    font-size: 0.75rem;
    font-weight: 500;
}

body.ticket-page.public-ticket-view .ticket-field-value {
    text-align: left;
    font-weight: 600;
}

body.ticket-page.public-ticket-view .ticket-code {
    font-variant-numeric: tabular-nums;
}

body.ticket-page.public-ticket-view .ticket-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: none;
}

body.ticket-page.public-ticket-view .ticket-status::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

body.ticket-page.public-ticket-view .ticket-qr-link {
    display: block;
    flex: 0 0 auto;
    color: inherit;
    text-decoration: none;
}

body.ticket-page.public-ticket-view .ticket-qr {
    margin-inline: auto;
    padding: 0.65rem;
    border-radius: 10px;
    box-shadow: none;
}

body.ticket-page.public-ticket-view .ticket-qr-link:focus-visible .ticket-qr {
    outline: 2px solid var(--ticket-accent, #c0392b);
    outline-offset: 2px;
}

.public-add-to-calendar {
    margin: 0 1.5rem 1.25rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--ticket-border, var(--border, #e2e8f0));
    border-radius: 10px;
    text-align: center;
}

.public-add-to-calendar__label {
    margin: 0 0 0.45rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ticket-text, var(--text, #1a1a2e));
}

.public-add-to-calendar__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.85rem;
}

.public-add-to-calendar__link {
    color: var(--ticket-accent, var(--accent, #c0392b));
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
}

.public-add-to-calendar__link:hover,
.public-add-to-calendar__link:focus-visible {
    text-decoration: underline;
}

.confirmation-shell.public-confirmation .public-add-to-calendar {
    margin: 0.85rem 0 0;
    padding: 0.85rem 1rem;
    border-color: var(--border, #e2e8f0);
}

.confirmation-shell.public-confirmation .public-add-to-calendar__link {
    color: var(--accent, #b45309);
}

body.ticket-page.public-ticket-view .ticket-notice {
    margin: 0 1.5rem 1.5rem;
    padding: 0.85rem 1rem;
    border: 1px solid var(--ticket-border, #e2e8f0);
    border-radius: 10px;
    background: transparent;
}

body.ticket-page.public-ticket-view .ticket-footer {
    padding: 1rem 1.5rem 1.25rem;
    background: transparent;
}

body.ticket-page.public-ticket-resend .ticket-card--form {
    padding: 1.5rem;
}

body.ticket-page.public-ticket-resend .ticket-card--form h1 {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 4vw, 1.65rem);
    font-weight: 600;
    letter-spacing: -0.02em;
}

body.ticket-page.public-ticket-resend .ticket-intro {
    margin: 0 0 1.25rem;
}

body.ticket-page.public-ticket-resend .ticket-alert {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: transparent;
}

body.ticket-page.public-ticket-resend .ticket-alert--success {
    border: 1px solid color-mix(in srgb, var(--ticket-valid, #1e7e34) 32%, var(--ticket-card, #ffffff));
    color: var(--ticket-valid, #1e7e34);
}

body.ticket-page.public-ticket-resend .ticket-alert--error {
    border: 1px solid color-mix(in srgb, #842029 28%, var(--ticket-card, #ffffff));
    color: #842029;
}

body.ticket-page.public-ticket-resend .ticket-form label {
    margin-bottom: 1rem;
}

body.ticket-page.public-ticket-resend .ticket-form label span {
    font-size: 0.8125rem;
    font-weight: 500;
    margin-bottom: 0.35rem;
}

body.ticket-page.public-ticket-resend .ticket-form input {
    min-height: 46px;
    padding: 0.75rem 0.85rem;
    border: 1px solid var(--ticket-border, #e2e8f0);
    border-radius: 10px;
    background: var(--ticket-card, #ffffff);
    color: var(--ticket-text, #1a1a2e);
}

body.ticket-page.public-ticket-resend .ticket-form input:focus-visible {
    outline: 2px solid var(--ticket-accent, #c0392b);
    outline-offset: 2px;
}

body.ticket-page.public-ticket-resend .ticket-form button {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    min-height: 48px;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    background: var(--ticket-accent, #c0392b);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    box-shadow: none;
    cursor: pointer;
}

body.ticket-page.public-ticket-resend .ticket-form button:focus-visible {
    outline: 2px solid var(--ticket-accent, #c0392b);
    outline-offset: 2px;
}

@media (min-width: 540px) {
    body.ticket-page.public-ticket-view,
    body.ticket-page.public-ticket-resend {
        padding: 2rem 1.5rem;
    }

    body.ticket-page.public-ticket-view .ticket-qr-link,
    body.ticket-page.public-ticket-view .ticket-qr {
        margin-inline: 0;
        margin-left: auto;
    }
}
