:root {
    --brand-blue: #0b2348;
    --brand-orange: #ff7a1a;
    --brand-sky: #214a86;
    --brand-bg: #f7f8fb;
}

html,
body {
    min-height: 100%;
}

body {
    position: relative;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 8% 14%, rgba(255, 122, 26, 0.12), transparent 24rem),
        radial-gradient(circle at 88% 12%, rgba(33, 74, 134, 0.12), transparent 24rem),
        radial-gradient(circle at 50% 112%, rgba(11, 35, 72, 0.07), transparent 28rem),
        linear-gradient(135deg, #fbf7f2 0%, #f6f8fc 42%, #edf2f9 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: -10% -6%;
    z-index: 0;
    background:
        radial-gradient(circle at 48% 38%, rgba(255, 255, 255, 0.48), transparent 28rem),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 34%);
    filter: blur(44px);
    pointer-events: none;
}

.page-orb {
    position: fixed;
    border-radius: 9999px;
    filter: blur(84px);
    opacity: 0.28;
    pointer-events: none;
}

.page-orb--one {
    top: 2rem;
    left: -2rem;
    width: 14rem;
    height: 14rem;
    background: rgba(255, 122, 26, 0.18);
}

.page-orb--two {
    top: 6rem;
    right: -3rem;
    width: 16rem;
    height: 16rem;
    background: rgba(33, 74, 134, 0.14);
}

.page-orb--three {
    bottom: 4rem;
    left: 38%;
    width: 12rem;
    height: 12rem;
    background: rgba(11, 35, 72, 0.06);
}

.glass-card {
    border: 1px solid rgba(255, 255, 255, 0.76);
    background: rgba(255, 255, 255, 0.64);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.glass-dark {
    background: linear-gradient(180deg, rgba(11, 35, 72, 0.92), rgba(33, 74, 134, 0.88));
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.shadow-glass {
    box-shadow: 0 24px 72px rgba(11, 35, 72, 0.16);
}

.shadow-soft {
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.brand-mark {
    display: inline-flex;
    flex-direction: column;
}

.brand-mark__image {
    display: block;
    height: auto;
    max-width: 100%;
    filter: drop-shadow(0 12px 24px rgba(11, 35, 72, 0.1));
}

.brand-mark__image--md-h-8 {
    height: 1.75rem;
}

.brand-mark__image--md-h-24 {
    height: 5rem;
}

@media (min-width: 768px) {
    .brand-mark__image--md-h-8 {
        height: 2rem;
    }

    .brand-mark__image--md-h-24 {
        height: 6rem;
    }
}

.brand-mark__surface {
    border: 1px solid rgba(255, 255, 255, 0.66);
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.brand-mark__hero {
    position: relative;
}

.brand-mark__hero::before {
    content: "";
    position: absolute;
    inset: -14%;
    z-index: -1;
    border-radius: 9999px;
    background:
        radial-gradient(circle at 24% 30%, rgba(255, 122, 26, 0.18), transparent 45%),
        radial-gradient(circle at 74% 32%, rgba(11, 35, 72, 0.14), transparent 48%);
    filter: blur(22px);
}

.topbar-shell {
    border: 1px solid rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.54);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.glass-header {
    border-radius: 2.125rem;
    padding: 1.25rem;
}

.glass-header__top {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.glass-header__brand {
    display: inline-flex;
    align-items: center;
    width: fit-content;
}

.glass-header__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.glass-header__action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: #0b2348;
    text-decoration: none;
}

.glass-header__action--icon-only {
    justify-content: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border-radius: 1rem;
}

.glass-header__body {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.glass-header__content {
    flex: 1 1 auto;
    min-width: 0;
}

.glass-header__eyebrow {
    margin-bottom: 0.75rem;
    color: rgba(11, 35, 72, 0.72);
}

.glass-header__title {
    font-family: Sora, sans-serif;
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 600;
    line-height: 1.08;
    color: #0b2348;
}

.participant-landing__title {
    font-size: clamp(1.8rem, 2.7vw, 2.2rem);
    max-width: 14ch;
}

.glass-header--participant-home .glass-header__top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.8rem;
}

.glass-header--participant-home .glass-header__actions {
    margin-left: auto;
    gap: 0.55rem;
    flex-wrap: nowrap;
}

.glass-header--participant-home .glass-header__body {
    display: block;
}

.glass-header--participant-home .glass-header__title {
    font-size: clamp(2rem, 3.1vw, 2.55rem);
}

.glass-header__subtitle {
    margin-top: 0.5rem;
    max-width: 48rem;
    font-size: 1rem;
    line-height: 1.75;
    color: #64748b;
}

.glass-header__standalone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1.125rem;
    background: rgba(11, 35, 72, 0.08);
    color: #0b2348;
    flex: 0 0 auto;
}

.nav-item {
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.nav-item:hover {
    transform: translateY(-1px);
}

.nav-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.06);
}

.nav-item.is-active .nav-item__icon {
    background: rgba(255, 255, 255, 0.16);
}

.filter-shell {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-height: 3.75rem;
}

.filter-shell__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #64748b;
}

.filter-shell__input,
.filter-shell__select {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #0f172a;
    padding: 0 !important;
    box-shadow: none;
}

.filter-shell__input:focus,
.filter-shell__select:focus {
    outline: none;
    box-shadow: none;
}

.filter-shell__select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 1.9rem !important;
}

.filter-shell--select {
    position: relative;
}

.filter-shell--select::after {
    content: "";
    position: absolute;
    right: 1.15rem;
    top: 50%;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid rgba(100, 116, 139, 0.9);
    border-bottom: 2px solid rgba(100, 116, 139, 0.9);
    transform: translateY(-64%) rotate(45deg);
    pointer-events: none;
}

.filter-field {
    position: relative;
}

.filter-field__icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.filter-field__input,
.filter-field__select {
    position: relative;
    z-index: 1;
    padding-left: 3rem !important;
}

.chip-icon {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
}

.participant-home-filter {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.58));
}

.participant-home-filter__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
}

.participant-home-filter__eyebrow {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(33, 74, 134, 0.68);
}

.participant-home-filter__title {
    margin-top: 0.18rem;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0b2348;
}

.participant-home-filter__reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 0.62rem 0.9rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(220, 227, 238, 0.9);
    color: #214a86;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.participant-home-filter__search {
    min-height: 3.45rem;
    padding-right: 0.6rem;
}

.participant-home-filter__submit {
    min-width: 6.25rem;
    box-shadow: 0 14px 28px rgba(11, 35, 72, 0.16);
}

.participant-home-filter__topics-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: -0.1rem;
}

.participant-home-filter__topics-label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(100, 116, 139, 0.9);
}

.participant-home-filter__topics {
    display: flex;
    gap: 0.65rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.1rem 0.05rem 0.2rem;
}

.participant-home-filter__topics::-webkit-scrollbar {
    display: none;
}

.participant-home-filter__chip {
    flex: 0 0 auto;
    min-height: 2.6rem;
    padding: 0.72rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(220, 227, 238, 0.88);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.participant-home-filter__chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    border-color: rgba(33, 74, 134, 0.18);
}

.participant-home-filter__chip.is-active {
    border-color: rgba(11, 35, 72, 0.18);
    box-shadow: 0 16px 30px rgba(11, 35, 72, 0.14);
}

.participant-home-banner {
    position: relative;
    overflow: hidden;
    max-width: 72rem;
    margin-inline: auto;
    background:
        radial-gradient(circle at top left, rgba(255, 122, 26, 0.08), transparent 24rem),
        linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.64));
}

.participant-home-banner__carousel {
    position: relative;
}

.participant-home-banner__viewport {
    position: relative;
    min-height: clamp(8.8rem, 21vw, 18.8rem);
    aspect-ratio: 1916 / 821;
}

.participant-home-banner__slide {
    position: absolute;
    inset: 0;
    display: block;
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.72);
    opacity: 0;
    pointer-events: none;
    transform: translateX(1.2rem) scale(0.985);
    transition: opacity 320ms ease, transform 320ms ease;
    overflow: hidden;
}

.participant-home-banner__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
}

.participant-home-banner__link {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    overflow: hidden;
}

.participant-home-banner__link:focus-visible {
    outline: 3px solid rgba(255, 122, 26, 0.65);
    outline-offset: 3px;
}

.participant-home-banner__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.participant-home-banner__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    margin-top: -1.425rem;
    border-radius: 9999px;
    border: 1px solid rgba(220, 227, 238, 0.88);
    background: rgba(255, 255, 255, 0.92);
    color: #0b2348;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.participant-home-banner__arrow:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 34px rgba(15, 23, 42, 0.16);
}

.participant-home-banner__arrow--prev {
    left: 1rem;
}

.participant-home-banner__arrow--next {
    right: 1rem;
}

.participant-home-banner__dots {
    position: absolute;
    left: 50%;
    bottom: -0.25rem;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    transform: translateX(-50%);
}

.participant-home-banner__dot {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(220, 227, 238, 0.88);
    transition: transform 160ms ease, background-color 160ms ease, width 160ms ease;
}

.participant-home-banner__dot.is-active {
    width: 1.8rem;
    background: #0b2348;
    border-color: #0b2348;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.event-card__title,
.event-card__description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.event-card__title {
    -webkit-line-clamp: 2;
    min-height: calc(1.15rem * 1.25 * 2);
}

.event-card__description {
    -webkit-line-clamp: 3;
    min-height: calc(0.95rem * 1.75 * 3);
}

.participant-event-detail {
    display: grid;
    gap: 1.45rem;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
}

.participant-event-hero {
    position: relative;
    min-height: clamp(25rem, 48vw, 35rem);
    overflow: hidden;
    border-radius: 2.35rem;
    background: #0b2348;
    box-shadow: 0 24px 70px rgba(11, 35, 72, 0.18);
    min-width: 0;
    max-width: 100%;
}

.participant-event-hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.participant-event-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(11, 35, 72, 0.82) 0%, rgba(11, 35, 72, 0.45) 46%, rgba(11, 35, 72, 0.18) 100%),
        linear-gradient(0deg, rgba(11, 35, 72, 0.78), transparent 54%);
}

.participant-event-hero__top,
.participant-event-hero__content {
    position: relative;
    z-index: 1;
}

.participant-event-hero__top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.15rem;
    min-width: 0;
}

.participant-event-hero__category,
.participant-event-hero__favorite {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    padding: 0.72rem 0.95rem;
    text-decoration: none;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.participant-event-hero__favorite {
    cursor: pointer;
}

.participant-event-hero__content {
    position: absolute;
    left: clamp(1.3rem, 5vw, 4.4rem);
    right: clamp(1.3rem, 46vw, 34rem);
    bottom: clamp(1.3rem, 5vw, 4rem);
    color: #fff;
    min-width: 0;
    max-width: 100%;
}

.participant-event-hero__eyebrow {
    margin-bottom: 0.9rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.participant-event-hero__content h1 {
    font-family: Sora, sans-serif;
    font-size: clamp(2.15rem, 5vw, 4.65rem);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.participant-event-hero__content p:last-child {
    margin-top: 1rem;
    max-width: 34rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(0.98rem, 1.5vw, 1.15rem);
    line-height: 1.65;
}

.participant-event-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 1.8rem;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
    padding: 0.85rem;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    min-width: 0;
    max-width: 100%;
}

.participant-event-fact {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    min-width: 0;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.72);
    padding: 0.95rem;
    color: #ff7a1a;
}

.participant-event-fact strong {
    display: block;
    color: #0b2348;
    font-size: 0.98rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.participant-event-fact span {
    display: block;
    margin-top: 0.2rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
}

.participant-ticket-picker,
.participant-event-info-card,
.participant-event-similar {
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    min-width: 0;
    max-width: 100%;
}

.participant-ticket-picker {
    display: grid;
    gap: 1rem;
    padding: clamp(1rem, 2.2vw, 1.45rem);
}

.participant-ticket-picker__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.participant-ticket-picker__headline {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.participant-ticket-picker__headline.hidden,
.participant-ticket-picker__footer.hidden,
.participant-ticket-picker__footer.is-detached.hidden {
    display: none;
}

.participant-ticket-picker__eyebrow,
.participant-event-info-card small {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.participant-ticket-picker__header h2,
.participant-event-info-card h2,
.participant-event-similar__header h2 {
    color: #0b2348;
    font-family: Sora, sans-serif;
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    font-weight: 650;
    line-height: 1.15;
}

.participant-ticket-picker__header span,
.participant-event-similar__header p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.55;
}

.participant-ticket-picker__status {
    flex: 0 0 auto;
    border-radius: 9999px;
    background: rgba(31, 157, 104, 0.1);
    color: #13764d;
    font-size: 0.9rem;
    padding: 0.72rem 1rem;
}

.participant-ticket-picker__status.is-closed {
    background: rgba(225, 82, 65, 0.1);
    color: #b83227;
}

.participant-ticket-picker__selection {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.08);
    color: #0b2348;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.4rem 0.85rem;
}

.participant-ticket-picker__selection-total {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    border-radius: 9999px;
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.34), rgba(74, 222, 128, 0.24));
    box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.5), 0 12px 28px rgba(22, 163, 74, 0.15);
    color: #047857;
    font-size: 0.82rem;
    font-weight: 850;
    padding: 0.4rem 0.9rem;
}

.participant-ticket-list {
    display: grid;
    gap: 0.9rem;
    min-width: 0;
}

.participant-ticket-choice {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    border: 1px solid rgba(220, 227, 238, 0.92);
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.86);
    padding: 1rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.055);
    min-width: 0;
    max-width: 100%;
}

.participant-ticket-choice__body {
    min-width: 0;
}

.participant-ticket-choice__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.participant-ticket-choice__pills span {
    border-radius: 9999px;
    background: rgba(255, 122, 26, 0.1);
    color: #e06412;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.38rem 0.65rem;
}

.participant-ticket-choice__pills .is-muted {
    background: rgba(11, 35, 72, 0.08);
    color: #0b2348;
}

.participant-ticket-choice h3 {
    margin-top: 0.7rem;
    color: #0b2348;
    font-family: Sora, sans-serif;
    font-size: 1.2rem;
    font-weight: 650;
}

.participant-ticket-choice p {
    display: -webkit-box;
    margin-top: 0.35rem;
    overflow: hidden;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.participant-ticket-choice small {
    display: block;
    margin-top: 0.3rem;
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.participant-ticket-choice__side {
    display: grid;
    align-content: center;
    justify-items: end;
    gap: 0.45rem;
    min-width: 9.5rem;
    max-width: 100%;
    text-align: right;
}

.participant-ticket-choice__side strong {
    color: #0b2348;
    font-family: Sora, sans-serif;
    font-size: clamp(1.45rem, 2.7vw, 2rem);
    font-weight: 700;
    white-space: nowrap;
    max-width: 100%;
}

.participant-ticket-choice__side span {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    max-width: 100%;
}

.participant-ticket-choice.is-selected {
    border-color: rgba(255, 122, 26, 0.2);
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.06), rgba(255, 255, 255, 0.94));
}

.participant-ticket-choice__stepper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: #f5f8fc;
    box-shadow: inset 0 0 0 1px rgba(11, 35, 72, 0.08);
    padding: 0.3rem;
    gap: 0.4rem;
}

.participant-ticket-choice__stepper button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 9999px;
    background: #0b2348;
    color: #fff;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 900;
}

.participant-ticket-choice__stepper button:first-child {
    background: #e9eef6;
    color: #516177;
}

.participant-ticket-choice__stepper span {
    min-width: 1.1rem;
    color: #0b2348;
    font-size: 0.9rem;
    font-weight: 900;
    text-align: center;
}

.participant-ticket-picker__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.2rem;
    border-radius: 1.4rem;
    background: transparent;
    padding: 0;
}

.participant-ticket-picker__submit-copy {
    display: grid;
    flex: 1 1 auto;
    gap: 0.18rem;
    min-width: 0;
    text-align: left;
}

.participant-ticket-picker__submit-copy strong {
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 850;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.participant-ticket-picker__submit-copy small {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.participant-ticket-picker__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 0;
    border-radius: 9999px;
    background: #0b2348;
    color: #fff;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 850;
    padding: 0.92rem 1.15rem;
    white-space: nowrap;
    box-shadow: 0 18px 34px rgba(11, 35, 72, 0.18);
}

.participant-ticket-picker__footer .participant-ticket-picker__submit {
    pointer-events: auto;
}

.participant-ticket-picker__footer.is-detached {
    position: fixed;
    left: 50%;
    bottom: calc(1.15rem + env(safe-area-inset-bottom));
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: min(28rem, calc(100vw - 2rem));
    max-width: 28rem;
    margin: 0;
    pointer-events: none;
    transform: translate3d(-50%, 0, 0);
}

.participant-ticket-picker__footer.is-detached .participant-ticket-picker__submit {
    width: 100%;
    justify-content: space-between;
    pointer-events: auto;
}

body.has-bottom-app-nav .participant-ticket-picker__footer.is-detached {
    bottom: calc(7.15rem + env(safe-area-inset-bottom));
}

.participant-ticket-picker__submit:disabled {
    background: #c7d2e5;
    cursor: not-allowed;
    box-shadow: none;
}

.participant-ticket-empty {
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.74);
    padding: 1.2rem;
}

.participant-ticket-empty h3 {
    color: #0b2348;
    font-weight: 800;
}

.participant-ticket-empty p,
.participant-ticket-empty span {
    color: #64748b;
    font-size: 0.92rem;
}

.participant-event-info-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
    gap: 1rem;
    min-width: 0;
    max-width: 100%;
}

.participant-event-info-card {
    padding: clamp(1.1rem, 2.3vw, 1.5rem);
}

.participant-event-info-card p {
    margin-top: 0.85rem;
    color: #64748b;
    font-size: 1rem;
    line-height: 1.8;
}

.participant-event-lineup {
    display: grid;
    gap: 0.6rem;
    margin-top: 1rem;
}

.participant-event-lineup span {
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.72);
    color: #0b2348;
    font-size: 0.94rem;
    font-weight: 700;
    padding: 0.8rem 0.95rem;
}

.participant-event-info-card--map {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    grid-column: 1 / -1;
}

.participant-event-info-card--map a {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    border-radius: 9999px;
    background: #0b2348;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    padding: 0.8rem 1.1rem;
    text-decoration: none;
}

.participant-event-similar {
    padding: clamp(1rem, 2vw, 1.35rem);
}

.participant-event-similar__rail {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    min-width: 0;
    max-width: 100%;
}

.participant-event-similar__item {
    flex: 0 0 18rem;
    max-width: 18rem;
}

@media (max-width: 900px) {
    .participant-event-facts,
    .participant-event-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .participant-event-info-card--map {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .participant-event-detail {
        gap: 0.9rem;
        overflow-x: hidden;
    }

    .participant-event-hero {
        min-height: 18.75rem;
        border-radius: 1.65rem;
    }

    .participant-event-hero__overlay {
        background:
            linear-gradient(0deg, rgba(11, 35, 72, 0.9), rgba(11, 35, 72, 0.24) 76%),
            linear-gradient(90deg, rgba(11, 35, 72, 0.62), transparent 78%);
    }

    .participant-event-hero__top {
        justify-content: space-between;
        gap: 0.65rem;
        padding: 0.8rem;
    }

    .participant-event-hero__category,
    .participant-event-hero__favorite {
        font-size: 0.74rem;
        padding: 0.62rem 0.78rem;
    }

    .participant-event-hero__favorite span {
        display: none;
    }

    .participant-event-hero__content {
        left: 0.95rem;
        right: 0.95rem;
        bottom: 0.95rem;
    }

    .participant-event-hero__eyebrow {
        margin-bottom: 0.55rem;
        font-size: 0.66rem;
        letter-spacing: 0.18em;
    }

    .participant-event-hero__content h1 {
        max-width: 11ch;
        font-size: clamp(1.55rem, 8.6vw, 2.2rem);
        line-height: 0.94;
        overflow-wrap: anywhere;
        text-wrap: balance;
    }

    .participant-event-hero__content p:last-child {
        display: -webkit-box;
        max-width: 100%;
        margin-top: 0.7rem;
        overflow: hidden;
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.87rem;
        line-height: 1.45;
        overflow-wrap: anywhere;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

    .participant-event-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
        padding: 0.6rem;
        border-radius: 1.3rem;
    }

    .participant-event-fact {
        gap: 0.6rem;
        padding: 0.72rem;
        border-radius: 1rem;
    }

    .participant-event-fact > div {
        min-width: 0;
    }

    .participant-event-fact strong {
        font-size: 0.82rem;
        line-height: 1.28;
    }

    .participant-event-fact span {
        font-size: 0.72rem;
    }

    .participant-ticket-picker__header,
    .participant-event-info-card--map,
    .participant-ticket-picker__footer {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .participant-ticket-choice {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 0.7rem;
        padding: 0.82rem;
        border-radius: 1.15rem;
    }

    .participant-ticket-choice__side {
        display: grid;
        align-content: start;
        justify-items: end;
        width: auto;
        min-width: 6.6rem;
        text-align: right;
        gap: 0.18rem;
    }

    .participant-ticket-choice__side strong,
    .participant-ticket-choice__side span {
        max-width: 100%;
        white-space: nowrap;
        overflow-wrap: anywhere;
    }

    .participant-ticket-choice__stepper {
        margin-top: 0.28rem;
        justify-self: end;
        padding: 0.22rem;
        gap: 0.28rem;
    }

    .participant-ticket-choice__stepper button {
        width: 1.72rem;
        height: 1.72rem;
        font-size: 0.98rem;
    }

    .participant-ticket-choice__stepper span {
        min-width: 0.95rem;
        font-size: 0.82rem;
    }

    .participant-ticket-picker {
        gap: 0.8rem;
        padding: 0.9rem;
        border-radius: 1.5rem;
    }

    .participant-ticket-picker.has-ticket-selection {
        padding-bottom: 8.75rem;
    }

    .participant-ticket-picker__header h2 {
        font-size: 1.45rem;
    }

    .participant-ticket-picker__header span {
        font-size: 0.8rem;
        line-height: 1.38;
    }

    .participant-ticket-picker__status {
        width: 100%;
        text-align: center;
        padding: 0.62rem 0.85rem;
    }

    .participant-ticket-picker__headline {
        width: 100%;
    }

    .participant-ticket-picker__selection-total {
        font-size: 0.8rem;
    }

    .participant-ticket-choice h3 {
        margin-top: 0.5rem;
        font-size: 1rem;
        line-height: 1.1;
    }

    .participant-ticket-choice p,
    .participant-ticket-choice small {
        font-size: 0.76rem;
        white-space: normal;
    }

    .participant-ticket-choice p {
        margin-top: 0.24rem;
        line-height: 1.4;
        -webkit-line-clamp: 2;
    }

    .participant-ticket-choice small {
        margin-top: 0.2rem;
    }

    .participant-ticket-choice__side strong {
        font-size: 1.04rem;
        line-height: 1;
    }

    .participant-ticket-choice__side span {
        font-size: 0.72rem;
    }

    .participant-ticket-picker__submit {
        width: 100%;
        justify-content: space-between;
        border-radius: 1.25rem;
        padding: 0.95rem 1.05rem;
    }

    body.has-bottom-app-nav .participant-ticket-picker.has-ticket-selection {
        padding-bottom: 11.5rem;
    }

    .participant-ticket-picker__submit-copy strong {
        font-size: 0.95rem;
    }

    .participant-ticket-picker__submit-copy small {
        font-size: 0.76rem;
    }

    .participant-event-info-grid {
        grid-template-columns: 1fr;
    }

    .participant-event-similar__item {
        flex-basis: 17rem;
        max-width: 17rem;
    }
}

@media (max-width: 420px) {
    .participant-event-hero__top {
        justify-content: flex-start;
    }

    .participant-event-hero__category,
    .participant-event-hero__favorite {
        padding-inline: 0.72rem;
    }

    .participant-event-hero {
        min-height: 17.5rem;
    }

    .participant-event-hero__content h1 {
        max-width: 10ch;
        font-size: clamp(1.42rem, 8vw, 1.95rem);
    }

    .participant-event-hero__content p:last-child {
        -webkit-line-clamp: 2;
        font-size: 0.82rem;
    }

    .participant-event-facts {
        grid-template-columns: 1fr 1fr;
    }

    .participant-ticket-choice {
        grid-template-columns: minmax(0, 1fr) 5.9rem;
        gap: 0.55rem;
        padding: 0.75rem;
    }

    .participant-ticket-choice__pills {
        gap: 0.28rem;
    }

    .participant-ticket-choice__pills span {
        padding: 0.26rem 0.48rem;
        font-size: 0.66rem;
    }

    .participant-ticket-choice h3 {
        font-size: 0.95rem;
    }

    .participant-ticket-choice p,
    .participant-ticket-choice small {
        font-size: 0.72rem;
    }

    .participant-ticket-choice__side {
        min-width: 5.9rem;
    }

    .participant-ticket-choice__side strong {
        font-size: 0.98rem;
    }

    .participant-ticket-choice__side span {
        font-size: 0.68rem;
    }

    .participant-ticket-choice__stepper button {
        width: 1.6rem;
        height: 1.6rem;
    }
}

@media (max-width: 768px) {
    body.has-floating-ticket-cta .participant-ticket-picker.has-ticket-selection {
        padding-bottom: 9rem;
    }

    body.has-bottom-app-nav.has-floating-ticket-cta .participant-ticket-picker.has-ticket-selection {
        padding-bottom: 12rem;
    }
}

@media (max-width: 767px) {
    .participant-home-banner {
        max-width: none;
    }

    .participant-home-banner__viewport {
        min-height: 9.25rem;
        aspect-ratio: 1916 / 821;
    }

    .participant-home-banner__slide {
        border-radius: 1.35rem;
    }

    .participant-home-filter__header {
        align-items: flex-start;
    }

    .participant-home-filter__title {
        max-width: 20rem;
        font-size: 0.92rem;
    }
}

@media (max-width: 560px) {
    .participant-home-banner {
        padding: 0.55rem;
        border-radius: 1.35rem;
    }

    .participant-home-banner__viewport {
        min-height: 8.5rem;
        aspect-ratio: 1916 / 821;
    }

    .participant-home-banner__arrow {
        width: 2.5rem;
        height: 2.5rem;
        margin-top: -1.25rem;
    }

    .participant-home-banner__dots {
        bottom: -0.15rem;
    }

    .participant-home-filter__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .participant-home-filter__reset {
        padding: 0.5rem 0.8rem;
    }

    .participant-home-filter__search {
        min-height: 3.25rem;
        gap: 0.65rem;
        padding-left: 0.95rem;
        padding-right: 0.45rem;
    }

    .participant-home-filter__submit {
        min-width: 3.2rem;
        padding-left: 0.95rem;
        padding-right: 0.95rem;
    }

    .participant-home-filter__submit-label {
        display: none;
    }

    .participant-home-filter__chip {
        min-height: 2.45rem;
        padding: 0.7rem 0.92rem;
        font-size: 0.86rem;
    }
}

@media (min-width: 768px) {
    .participant-home-filter__topics {
        flex-wrap: wrap;
        overflow: visible;
    }
}

.event-upload-card {
    border: 1px solid rgba(214, 225, 240, 0.82);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.event-upload-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
    border-color: rgba(33, 74, 134, 0.24);
}

.event-upload-input {
    color: #64748b;
}

.checkin-anchor-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.checkin-anchor-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    border: 0;
    border-radius: 9999px;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.82);
    color: #0b2348;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.checkin-anchor-pill:hover {
    transform: translateY(-1px);
}

.checkin-anchor-pill.is-active {
    background: #0b2348;
    color: #ffffff;
}

.checkin-pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.08);
}

.checkin-anchor-pill.is-active .checkin-pill-icon {
    background: rgba(255, 255, 255, 0.14);
}

.checkin-signal-grid {
    display: grid;
    gap: 1rem;
}

.checkin-signal-card {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
    min-height: 100%;
}

.checkin-signal-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.08);
    color: #0b2348;
    flex: 0 0 auto;
}

.checkin-metrics-grid {
    display: grid;
    gap: 1rem;
}

.checkin-main-grid,
.checkin-bottom-grid {
    display: grid;
    gap: 1.5rem;
}

.checkin-main-grid.is-single-panel,
.checkin-bottom-grid.is-single-panel {
    grid-template-columns: minmax(0, 1fr) !important;
}

.checkin-pulse-grid,
.checkin-secondary-grid,
.checkin-support-grid {
    display: grid;
    gap: 1rem;
}

.checkin-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.checkin-title-block {
    display: flex;
    align-items: flex-start;
    gap: 0.95rem;
}

.checkin-title-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 1.1rem;
    background: rgba(11, 35, 72, 0.07);
    color: #0b2348;
    flex: 0 0 auto;
}

.checkin-mini-card {
    border-radius: 1.5rem;
    background: rgba(255, 255, 255, 0.75);
    padding: 1rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.06);
}

.checkin-log-list {
    display: grid;
    gap: 0.85rem;
}

.checkin-log-details {
    border: 1px solid rgba(217, 227, 239, 0.92);
    transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.checkin-log-details[open] {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(11, 35, 72, 0.12);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.checkin-log-details > summary {
    list-style: none;
    cursor: pointer;
}

.checkin-log-details > summary::-webkit-details-marker {
    display: none;
}

.checkin-log-summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.checkin-log-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.checkin-log-chip {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.08);
    color: #0b2348;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.55rem 0.85rem;
}

.checkin-log-detail-grid {
    display: grid;
    gap: 0.75rem;
}

.checkin-log-detail-card {
    border-radius: 1.35rem;
    background: rgba(247, 250, 253, 0.94);
    padding: 1rem;
    box-shadow: inset 0 0 0 1px rgba(217, 227, 239, 0.7);
}

@media (min-width: 640px) {
    .checkin-signal-grid,
    .checkin-metrics-grid,
    .checkin-secondary-grid,
    .checkin-support-grid,
    .checkin-log-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .checkin-log-summary {
        flex-direction: column;
    }
}

@media (min-width: 1024px) {
    .checkin-metrics-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .checkin-main-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    }

    .checkin-bottom-grid {
        grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    }
}

@media (min-width: 1536px) {
    .checkin-signal-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .checkin-metrics-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .checkin-anchor-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
    }

    .checkin-anchor-pill {
        white-space: nowrap;
    }

    .checkin-title-row,
    .checkin-title-block {
        flex-direction: column;
    }
}

.event-upload-input::file-selector-button {
    margin-right: 0.9rem;
    border: 0;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.08);
    color: #0b2348;
    font-weight: 600;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease;
}

.event-upload-input::file-selector-button:hover {
    background: #0b2348;
    color: #fff;
}

.ticket-option,
.payment-chip,
.payment-method-card,
.checkout-step-pill {
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.ticket-option.is-selected {
    border-color: rgba(33, 74, 134, 0.16);
    background: linear-gradient(135deg, rgba(11, 35, 72, 0.08), rgba(255, 122, 26, 0.12));
    box-shadow: 0 18px 42px rgba(11, 35, 72, 0.12);
    transform: translateY(-2px);
}

.payment-chip.is-selected {
    background: linear-gradient(135deg, rgba(11, 35, 72, 1), rgba(33, 74, 134, 0.96));
    color: #fff;
    box-shadow: 0 16px 36px rgba(11, 35, 72, 0.18);
}

.payment-method-card.is-selected {
    border-color: rgba(33, 74, 134, 0.18);
    background: linear-gradient(135deg, rgba(11, 35, 72, 0.08), rgba(255, 122, 26, 0.12));
    box-shadow: 0 18px 42px rgba(11, 35, 72, 0.12);
    transform: translateY(-2px);
}

.payment-method-card.is-selected .payment-method-card__title {
    color: #0b2348;
}

.payment-method-card.is-selected .payment-method-card__badge {
    background: rgba(11, 35, 72, 0.12);
    color: #0b2348;
}

.payment-method-card.is-selected .payment-method-card__description {
    color: #516177;
}

.payment-method-card__marker {
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.payment-method-card.is-selected .payment-method-card__marker {
    border-color: rgba(11, 35, 72, 0.92);
    background: rgba(11, 35, 72, 0.92);
    box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.92);
}

.checkout-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.checkout-step-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    border: 1px solid rgba(220, 227, 238, 0.8);
    background: rgba(255, 255, 255, 0.72);
    border-radius: 9999px;
    padding: 0.95rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #64748b;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
}

.checkout-step-pill__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.08);
    color: #0b2348;
}

.checkout-step-pill.is-active {
    background: linear-gradient(135deg, rgba(11, 35, 72, 1), rgba(33, 74, 134, 0.96));
    border-color: rgba(11, 35, 72, 0.2);
    color: #fff;
    box-shadow: 0 18px 36px rgba(11, 35, 72, 0.18);
}

.checkout-step-pill.is-active .checkout-step-pill__index {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.checkout-step-panel {
    animation: checkout-fade-in 220ms ease;
}

@keyframes checkout-fade-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.participant-checkout {
    display: grid;
    gap: 1rem;
}

.participant-checkout__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 70px rgba(11, 35, 72, 0.08);
    padding: clamp(1.1rem, 2vw, 1.65rem);
}

.participant-checkout__header p,
.participant-checkout__section-head p,
.participant-checkout__event-kicker,
.participant-checkout-summary > p,
.participant-checkout__holders > div > p {
    margin: 0;
    color: #718096;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.participant-checkout__header h1 {
    margin: 0.2rem 0 0;
    color: #0b2348;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 900;
    letter-spacing: -0.055em;
}

.participant-checkout__header span,
.participant-checkout__section-head span,
.participant-checkout__holders > div > span {
    display: block;
    margin-top: 0.35rem;
    color: #66758b;
    font-size: 0.96rem;
    line-height: 1.55;
}

.participant-checkout__back {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    border-radius: 999px;
    background: #f7f9fc;
    color: #0b2348;
    font-size: 0.9rem;
    font-weight: 850;
    padding: 0.75rem 1rem;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(11, 35, 72, 0.07);
}

.participant-checkout__form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(19rem, 24rem);
    gap: 1rem;
    align-items: start;
}

.participant-checkout__main,
.participant-checkout__aside {
    display: grid;
    gap: 1rem;
}

.participant-checkout__aside {
    position: sticky;
    top: 1rem;
}

.participant-checkout__event-card,
.participant-checkout__section,
.participant-checkout-summary,
.participant-checkout__trust {
    border: 1px solid rgba(11, 35, 72, 0.08);
    border-radius: 1.75rem;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 20px 58px rgba(11, 35, 72, 0.075);
}

.participant-checkout__event-card {
    display: grid;
    grid-template-columns: 9.5rem minmax(0, 1fr);
    gap: 1rem;
    overflow: hidden;
    padding: 0.85rem;
}

.participant-checkout__event-image {
    width: 100%;
    height: 100%;
    min-height: 10.5rem;
    object-fit: cover;
    border-radius: 1.25rem;
}

.participant-checkout__event-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 0.35rem 0.3rem;
}

.participant-checkout__event-body h2 {
    margin: 0.25rem 0 0;
    color: #0b2348;
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.98;
}

.participant-checkout__event-body p {
    display: -webkit-box;
    margin: 0.55rem 0 0;
    overflow: hidden;
    color: #66758b;
    font-size: 0.95rem;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.participant-checkout__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.participant-checkout__facts span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    border-radius: 999px;
    background: #f7f9fc;
    color: #516177;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 0.52rem 0.72rem;
}

.participant-checkout__error {
    border: 1px solid rgba(220, 38, 38, 0.18);
    border-radius: 1.3rem;
    background: rgba(254, 226, 226, 0.72);
    color: #b91c1c;
    font-size: 0.92rem;
    font-weight: 750;
    padding: 0.9rem 1rem;
}

.participant-checkout__section {
    padding: clamp(1rem, 2vw, 1.35rem);
}

.participant-checkout__section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.participant-checkout__section-head h2 {
    margin: 0.18rem 0 0;
    color: #0b2348;
    font-size: clamp(1.35rem, 2vw, 1.9rem);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.participant-checkout__section-head > strong {
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(11, 35, 72, 0.07);
    color: #0b2348;
    font-size: 0.85rem;
    font-weight: 900;
    padding: 0.62rem 0.85rem;
}

.participant-checkout__ticket-list,
.participant-checkout__field-grid,
.participant-checkout__payment-grid {
    display: grid;
    gap: 0.72rem;
}

.participant-checkout-ticket {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.85rem;
    width: 100%;
    border: 1px solid rgba(11, 35, 72, 0.08);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.78);
    color: inherit;
    cursor: pointer;
    padding: 1rem;
    text-align: left;
}

.participant-checkout-ticket:hover {
    transform: translateY(-1px);
}

.participant-checkout-ticket.is-selected,
.ticket-option.participant-checkout-ticket.is-selected {
    border-color: rgba(255, 122, 26, 0.32);
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.09), rgba(255, 255, 255, 0.92));
    box-shadow: 0 18px 42px rgba(11, 35, 72, 0.1);
    transform: translateY(-1px);
}

.participant-checkout-ticket__marker {
    width: 1.05rem;
    height: 1.05rem;
    margin-top: 0.18rem;
    border: 2px solid rgba(11, 35, 72, 0.16);
    border-radius: 999px;
    background: #fff;
}

.participant-checkout-ticket.is-selected .participant-checkout-ticket__marker {
    border-color: #0b2348;
    background: #0b2348;
    box-shadow: inset 0 0 0 4px #fff;
}

.participant-checkout-ticket__content {
    min-width: 0;
}

.participant-checkout-ticket__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.4rem;
}

.participant-checkout-ticket__pills span {
    border-radius: 999px;
    background: rgba(255, 122, 26, 0.11);
    color: #c05621;
    font-size: 0.7rem;
    font-style: normal;
    font-weight: 900;
    padding: 0.25rem 0.5rem;
}

.participant-checkout-ticket__pills span.is-muted {
    background: rgba(11, 35, 72, 0.07);
    color: #0b2348;
}

.participant-checkout-ticket__content strong {
    display: block;
    color: #17233b;
    font-size: 1.06rem;
    font-weight: 900;
    line-height: 1.15;
}

.participant-checkout-ticket__content small,
.participant-checkout-ticket__content em {
    display: -webkit-box;
    margin-top: 0.25rem;
    overflow: hidden;
    color: #66758b;
    font-size: 0.86rem;
    font-style: normal;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.participant-checkout-ticket__content em {
    color: #516177;
    font-weight: 750;
}

.participant-checkout-ticket__price {
    display: grid;
    align-content: center;
    justify-items: end;
    min-width: 7.6rem;
}

.participant-checkout-ticket__price strong {
    color: #0b2348;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 950;
    letter-spacing: -0.04em;
    white-space: nowrap;
}

.participant-checkout-ticket__price small {
    color: #718096;
    font-size: 0.75rem;
    font-weight: 800;
    white-space: nowrap;
}

.participant-checkout__quantity-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.85rem;
    border-radius: 1.2rem;
    background: #f7f9fc;
    padding: 0.8rem 0.95rem;
}

.participant-checkout__quantity-card p {
    margin: 0;
    color: #718096;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.participant-checkout__quantity-card strong {
    display: block;
    margin-top: 0.1rem;
    color: #0b2348;
    font-size: 1rem;
    font-weight: 900;
}

.participant-checkout__selection-list {
    display: grid;
    gap: 0.75rem;
}

.participant-checkout-selection {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.9rem;
    border: 1px solid rgba(11, 35, 72, 0.08);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.82);
    padding: 1rem;
}

.participant-checkout-selection__body {
    min-width: 0;
}

.participant-checkout-selection__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.45rem;
}

.participant-checkout-selection__pills span {
    border-radius: 999px;
    background: rgba(255, 122, 26, 0.1);
    color: #c05621;
    font-size: 0.72rem;
    font-weight: 850;
    padding: 0.28rem 0.55rem;
}

.participant-checkout-selection__pills span.is-muted {
    background: rgba(11, 35, 72, 0.07);
    color: #0b2348;
}

.participant-checkout-selection__body h3 {
    margin: 0;
    color: #17233b;
    font-size: 1.08rem;
    font-weight: 900;
}

.participant-checkout-selection__body p,
.participant-checkout-selection__body small {
    display: block;
    margin-top: 0.25rem;
    color: #66758b;
    font-size: 0.84rem;
    line-height: 1.45;
}

.participant-checkout-selection__totals {
    display: grid;
    align-content: center;
    justify-items: end;
    gap: 0.2rem;
    min-width: 9.5rem;
    text-align: right;
}

.participant-checkout-selection__totals strong {
    color: #0b2348;
    font-size: 1.22rem;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.participant-checkout-selection__totals span {
    color: #718096;
    font-size: 0.78rem;
    font-weight: 800;
}

.participant-checkout-selection__totals b {
    color: #0b2348;
    font-size: 0.84rem;
    font-weight: 900;
}

.participant-checkout__selection-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 1rem;
    margin-top: 0.9rem;
    border-radius: 1.25rem;
    background: #f7f9fc;
    padding: 0.9rem 1rem;
}

.participant-checkout__selection-summary p {
    margin: 0;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 800;
}

.participant-checkout__selection-summary strong {
    display: block;
    margin-top: 0.12rem;
    color: #0b2348;
    font-size: 1rem;
    font-weight: 900;
}

.participant-checkout__selection-summary dl {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 0;
}

.participant-checkout__selection-summary dl div {
    border-radius: 999px;
    background: #fff;
    padding: 0.55rem 0.8rem;
}

.participant-checkout__selection-summary dt {
    color: #718096;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.participant-checkout__selection-summary dd {
    margin: 0.15rem 0 0;
    color: #17233b;
    font-size: 0.82rem;
    font-weight: 900;
}

.participant-checkout__review-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #fff;
    color: #0b2348;
    font-size: 0.82rem;
    font-weight: 850;
    padding: 0.75rem 0.95rem;
    text-decoration: none;
    box-shadow: inset 0 0 0 1px rgba(11, 35, 72, 0.08);
}

.participant-checkout__stepper {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 999px;
    background: #fff;
    padding: 0.35rem;
    box-shadow: inset 0 0 0 1px rgba(11, 35, 72, 0.08);
}

.participant-checkout__stepper button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border: 0;
    border-radius: 999px;
    background: #0b2348;
    color: #fff;
    cursor: pointer;
    font-size: 1.25rem;
    font-weight: 950;
}

.participant-checkout__stepper button:first-child {
    background: #edf1f7;
    color: #516177;
}

.participant-checkout__stepper span {
    min-width: 1.4rem;
    color: #0b2348;
    font-weight: 950;
    text-align: center;
}

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

.participant-checkout-payment {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(11, 35, 72, 0.08);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 0.85rem;
    text-align: left;
}

.payment-method-card.participant-checkout-payment.is-selected {
    border-color: rgba(11, 35, 72, 0.2);
    background: #f8fbff;
    transform: none;
}

.participant-checkout-payment__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.9rem;
    background: rgba(11, 35, 72, 0.07);
    color: #0b2348;
}

.participant-checkout-payment strong {
    display: block;
    color: #0b2348;
    font-weight: 900;
}

.participant-checkout-payment small {
    display: block;
    margin-top: 0.15rem;
    color: #66758b;
    font-size: 0.8rem;
}

.participant-checkout-payment i {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(11, 35, 72, 0.16);
    border-radius: 999px;
}

.participant-checkout-payment.is-selected i {
    border-color: #0b2348;
    background: #0b2348;
    box-shadow: inset 0 0 0 4px #fff;
}

.participant-checkout__coupon {
    margin-top: 0.9rem;
}

.participant-checkout__coupon label,
.participant-checkout__field-grid label,
.participant-checkout-holder {
    display: grid;
    gap: 0.4rem;
}

.participant-checkout__coupon label span,
.participant-checkout__field-grid label span,
.participant-checkout-holder > span {
    color: #66758b;
    font-size: 0.78rem;
    font-weight: 850;
}

.participant-checkout__coupon input,
.participant-checkout__field-grid input,
.participant-checkout__field-grid select,
.participant-checkout-holder input {
    width: 100%;
    border: 1px solid rgba(11, 35, 72, 0.08);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.86);
    color: #17233b;
    padding: 0.92rem 1rem;
    outline: none;
    box-shadow: 0 10px 28px rgba(11, 35, 72, 0.045);
}

.participant-checkout__coupon input:focus,
.participant-checkout__field-grid input:focus,
.participant-checkout__field-grid select:focus,
.participant-checkout-holder input:focus {
    border-color: rgba(11, 35, 72, 0.28);
    box-shadow: 0 0 0 4px rgba(11, 35, 72, 0.08);
}

.participant-checkout__coupon p {
    margin: 0.55rem 0 0;
    color: #1f8a56;
    font-size: 0.85rem;
    font-weight: 850;
}

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

.participant-checkout__span-2 {
    grid-column: 1 / -1;
}

.participant-checkout__holders {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(11, 35, 72, 0.08);
    padding-top: 1rem;
}

.participant-checkout__holders [data-ticket-holders-list] {
    display: grid;
    gap: 0.7rem;
}

.participant-checkout-holder {
    border-radius: 1.1rem;
    background: #f8fbff;
    padding: 0.85rem;
}

.participant-checkout-holder small {
    color: #718096;
    font-size: 0.76rem;
}

.participant-checkout__payment-panel {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #0b2348, #214a86);
    color: #fff;
    padding: 1rem;
}

.participant-checkout__payment-panel > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.13);
}

.participant-checkout__payment-panel p,
.participant-checkout__payment-panel strong,
.participant-checkout__payment-panel small {
    display: block;
    margin: 0;
}

.participant-checkout__payment-panel p {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.participant-checkout__payment-panel strong {
    margin-top: 0.1rem;
    font-size: 1.1rem;
    font-weight: 950;
}

.participant-checkout__payment-panel small {
    margin-top: 0.12rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.84rem;
}

.participant-checkout__card-panel {
    display: grid;
    gap: 1rem;
}

.participant-checkout__payment-panel.hidden,
.participant-checkout__card-panel.hidden {
    display: none;
}

.participant-checkout-summary,
.participant-checkout__trust {
    padding: 1.1rem;
}

.participant-checkout-summary h2 {
    display: -webkit-box;
    margin: 0.35rem 0 0;
    overflow: hidden;
    color: #0b2348;
    font-size: 1.55rem;
    font-weight: 950;
    letter-spacing: -0.045em;
    line-height: 1.05;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.participant-checkout-summary > span {
    display: -webkit-box;
    margin-top: 0.45rem;
    overflow: hidden;
    color: #66758b;
    font-size: 0.9rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.participant-checkout-summary dl {
    display: grid;
    gap: 0.65rem;
    margin: 1rem 0 0;
}

.participant-checkout-summary dl div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    border-radius: 0.9rem;
    background: #f8fbff;
    padding: 0.65rem 0.75rem;
}

.participant-checkout-summary dt {
    color: #718096;
    font-size: 0.8rem;
    font-weight: 760;
}

.participant-checkout-summary dd {
    margin: 0;
    color: #17233b;
    font-size: 0.85rem;
    font-weight: 900;
    text-align: right;
}

.participant-checkout-summary__total {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(11, 35, 72, 0.08);
    padding-top: 1rem;
}

.participant-checkout-summary__total span,
.participant-checkout__floating-submit span {
    color: #66758b;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.participant-checkout-summary__total strong {
    color: #0b2348;
    font-size: 1.75rem;
    font-weight: 950;
    letter-spacing: -0.05em;
}

.participant-checkout__trust {
    display: flex;
    gap: 0.8rem;
    background: linear-gradient(135deg, rgba(11, 35, 72, 0.94), rgba(33, 74, 134, 0.93));
    color: #fff;
}

.participant-checkout__trust > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.12);
}

.participant-checkout__trust strong {
    display: block;
    font-weight: 950;
}

.participant-checkout__trust p {
    margin: 0.25rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.86rem;
    line-height: 1.45;
}

.participant-checkout__floating-submit {
    grid-column: 1 / -1;
    position: sticky;
    bottom: 5.8rem;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 44rem;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.84);
    padding: 0.65rem;
    box-shadow: 0 22px 60px rgba(11, 35, 72, 0.18);
    backdrop-filter: blur(18px);
}

.participant-checkout__floating-submit strong {
    display: block;
    margin-top: 0.1rem;
    color: #0b2348;
    font-size: 1.25rem;
    font-weight: 950;
}

.participant-checkout__floating-submit button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    border: 0;
    border-radius: 1rem;
    background: #0b2348;
    color: #fff;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 900;
    padding: 0.95rem 1.15rem;
    white-space: nowrap;
}

.participant-checkout__floating-submit button:disabled {
    cursor: wait;
}

@media (max-width: 1080px) {
    .participant-checkout__form {
        grid-template-columns: 1fr;
    }

    .participant-checkout__aside {
        position: static;
    }
}

@media (max-width: 720px) {
    .participant-checkout {
        gap: 0.85rem;
    }

    .participant-checkout__header {
        align-items: start;
        border-radius: 1.6rem;
        flex-direction: column-reverse;
    }

    .participant-checkout__event-card {
        grid-template-columns: 1fr;
        border-radius: 1.55rem;
    }

    .participant-checkout__event-image {
        min-height: 13rem;
    }

    .participant-checkout-selection,
    .participant-checkout-ticket {
        grid-template-columns: 1fr;
    }

    .participant-checkout-selection__totals,
    .participant-checkout-ticket__price {
        justify-items: start;
        min-width: 0;
        text-align: left;
    }

    .participant-checkout__payment-grid,
    .participant-checkout__field-grid {
        grid-template-columns: 1fr;
    }

    .participant-checkout__section-head {
        align-items: start;
        flex-direction: column;
    }

    .participant-checkout__selection-summary {
        grid-template-columns: 1fr;
    }

    .participant-checkout__selection-summary dl {
        display: grid;
        gap: 0.5rem;
    }

    .participant-checkout__selection-summary dl div {
        width: 100%;
    }

    .participant-checkout__quantity-card {
        align-items: start;
        flex-direction: column;
    }

    .participant-checkout__stepper {
        width: 100%;
        justify-content: space-between;
    }

    .participant-checkout__floating-submit {
        bottom: 5.25rem;
        border-radius: 1.25rem;
        margin-inline: 0.25rem;
    }

    .participant-checkout__floating-submit button {
        padding-inline: 0.95rem;
    }
}

.order-success-hero {
    position: relative;
    overflow: hidden;
}

.order-success-hero::before {
    content: "";
    position: absolute;
    inset: -10% 44% 34% -8%;
    background: radial-gradient(circle, rgba(255, 122, 26, 0.24), transparent 70%);
    filter: blur(28px);
    pointer-events: none;
}

.order-success-hero::after {
    content: "";
    position: absolute;
    inset: 18% -8% -18% 56%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
    filter: blur(24px);
    pointer-events: none;
}

.order-success-hero--celebration {
    animation: order-success-pop 760ms ease;
}

@keyframes order-success-pop {
    0% {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }

    55% {
        opacity: 1;
        transform: translateY(-2px) scale(1.008);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.scanner-stage {
    position: relative;
    overflow: hidden;
}

.scanner-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(255, 122, 26, 0.18), transparent 14rem),
        radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.08), transparent 12rem);
    pointer-events: none;
}

.scanner-beam {
    animation: scanner-beam 2.2s ease-in-out infinite;
}

@keyframes scanner-beam {
    0%,
    100% {
        transform: translateY(-90px);
        opacity: 0.65;
    }

    50% {
        transform: translateY(90px);
        opacity: 1;
    }
}

.qr-placeholder span {
    min-height: 0.65rem;
}

.wallet-prime-shell {
    position: relative;
}

.wallet-filter-panel {
    border-color: rgba(223, 231, 241, 0.92);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(246, 248, 252, 0.74));
}

.wallet-reading-card {
    border: 1px solid rgba(214, 225, 240, 0.9);
    border-radius: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(246, 248, 252, 0.88));
    padding: 1rem 1.25rem;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}

.wallet-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border-radius: 9999px;
    padding: 0.42rem 0.75rem;
    background: rgba(11, 35, 72, 0.05);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.wallet-balance-layout {
    display: grid;
    gap: 1rem;
}

@media (min-width: 1280px) {
    .wallet-balance-layout {
        grid-template-columns: minmax(0, 1.35fr) minmax(20rem, 0.65fr);
        align-items: stretch;
    }
}

.wallet-balance-board {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.8rem;
    padding: 1.45rem;
    background: linear-gradient(135deg, rgba(8, 21, 44, 0.96) 0%, rgba(14, 40, 82, 0.94) 56%, rgba(23, 71, 133, 0.9) 100%);
    box-shadow: 0 26px 58px rgba(11, 35, 72, 0.22);
    color: #fff;
}

.wallet-balance-board::before {
    content: "";
    position: absolute;
    inset: -12% auto auto -10%;
    width: 18rem;
    height: 18rem;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(255, 122, 26, 0.22), transparent 68%);
    filter: blur(30px);
    pointer-events: none;
}

.wallet-balance-board::after {
    content: "";
    position: absolute;
    inset: auto -8% -18% auto;
    width: 20rem;
    height: 20rem;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
    filter: blur(36px);
    pointer-events: none;
}

.wallet-balance-board__head,
.wallet-balance-board__meta {
    position: relative;
    z-index: 1;
}

.wallet-balance-board__head {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .wallet-balance-board__head {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }
}

.wallet-balance-board__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border-radius: 9999px;
    padding: 0.5rem 0.8rem;
    background: rgba(255, 255, 255, 0.08);
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.84);
}

.wallet-balance-board__amount {
    margin-top: 0.8rem;
    font-size: clamp(2.6rem, 5vw, 4.4rem);
    line-height: 0.95;
}

.wallet-balance-board__description {
    margin-top: 0.85rem;
    max-width: 33rem;
    font-size: 0.88rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.72);
}

.wallet-balance-board__aside {
    display: grid;
    gap: 0.65rem;
    min-width: min(100%, 18rem);
}

.wallet-balance-aside__item {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.05rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.72rem 0.82rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.wallet-balance-aside__item span {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.56);
}

.wallet-balance-aside__item strong {
    display: block;
    margin-top: 0.32rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
}

.wallet-status-pill {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 0.42rem 0.72rem;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.wallet-status-pill--success {
    background: rgba(34, 197, 94, 0.12);
    color: #14804a;
}

.wallet-status-pill--danger {
    background: rgba(239, 68, 68, 0.12);
    color: #c2410c;
}

.wallet-status-pill--neutral {
    background: rgba(148, 163, 184, 0.16);
    color: #475569;
}

.wallet-balance-board .wallet-status-pill--success {
    background: rgba(34, 197, 94, 0.16);
    color: #dcfce7;
}

.wallet-balance-board .wallet-status-pill--danger {
    background: rgba(239, 68, 68, 0.18);
    color: #ffedd5;
}

.wallet-balance-board .wallet-status-pill--neutral {
    background: rgba(148, 163, 184, 0.18);
    color: rgba(255, 255, 255, 0.84);
}

.wallet-balance-board__meta {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(8.9rem, 1fr));
}

.wallet-balance-chip {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.05rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.72rem 0.82rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.wallet-balance-chip span,
.wallet-period-card span,
.wallet-info-card span,
.wallet-mini-card__head span:first-child,
.wallet-rule-row span {
    display: block;
    font-size: 0.64rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.wallet-balance-chip span {
    color: rgba(255, 255, 255, 0.58);
}

.wallet-balance-chip strong,
.wallet-period-card strong,
.wallet-info-card strong,
.wallet-rule-row strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.02rem;
    font-weight: 600;
}

.wallet-balance-chip strong {
    color: #fff;
}

.wallet-balance-chip small,
.wallet-period-card small,
.wallet-info-card small,
.wallet-mini-card p,
.wallet-rule-row small {
    display: block;
    margin-top: 0.24rem;
    font-size: 0.74rem;
    line-height: 1.4;
}

.wallet-balance-chip small {
    color: rgba(255, 255, 255, 0.68);
}

.wallet-mini-grid,
.wallet-period-grid,
.wallet-info-grid {
    display: grid;
    gap: 0.75rem;
}

.wallet-mini-grid {
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

@media (min-width: 1280px) {
    .wallet-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.wallet-mini-card,
.wallet-period-card,
.wallet-info-card,
.wallet-list-row,
.wallet-empty-state,
.wallet-summary-pill,
.wallet-ledger-row__amount {
    border: 1px solid rgba(218, 226, 238, 0.92);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 249, 252, 0.88));
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.wallet-mini-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.2rem;
    padding: 0.82rem 0.9rem;
}

.wallet-mini-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 0.24rem;
    background: rgba(11, 35, 72, 0.12);
}

.wallet-mini-card--warning::before {
    background: linear-gradient(90deg, rgba(255, 122, 26, 0.95), rgba(255, 183, 77, 0.88));
}

.wallet-mini-card--success::before {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.94), rgba(52, 211, 153, 0.88));
}

.wallet-mini-card--neutral::before {
    background: linear-gradient(90deg, rgba(100, 116, 139, 0.72), rgba(148, 163, 184, 0.62));
}

.wallet-mini-card--default::before {
    background: linear-gradient(90deg, rgba(11, 35, 72, 0.94), rgba(33, 74, 134, 0.86));
}

.wallet-mini-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.wallet-mini-card__head span:first-child {
    color: #64748b;
}

.wallet-mini-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.06);
    color: #0b2348;
}

.wallet-mini-card strong {
    display: block;
    margin-top: 0.65rem;
    font-size: 1.52rem;
    line-height: 1;
    color: #0b2348;
}

.wallet-mini-card p {
    color: #64748b;
}

.wallet-period-grid {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.wallet-period-card {
    border-radius: 1.2rem;
    padding: 0.82rem 0.92rem;
}

.wallet-period-card span {
    color: #64748b;
}

.wallet-period-card strong {
    color: #0b2348;
}

.wallet-period-card small {
    color: #64748b;
}

.wallet-period-card--positive strong {
    color: #14804a;
}

.wallet-period-card--negative strong {
    color: #dc2626;
}

.wallet-section-card {
    border-color: rgba(223, 231, 241, 0.92);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(247, 249, 252, 0.74));
}

.wallet-amount-spotlight {
    display: grid;
    gap: 0.3rem;
    min-width: min(100%, 13.5rem);
    border: 1px solid rgba(218, 226, 238, 0.92);
    border-radius: 1.2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(247, 249, 252, 0.88));
    padding: 0.82rem 0.95rem;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.wallet-amount-spotlight span {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #64748b;
}

.wallet-amount-spotlight strong {
    font-size: 1.9rem;
    line-height: 1;
    color: #0b2348;
}

.wallet-amount-spotlight small {
    font-size: 0.76rem;
    color: #64748b;
}

.wallet-info-grid {
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}

.wallet-info-card {
    border-radius: 1.1rem;
    padding: 0.78rem 0.85rem;
}

.wallet-info-card span {
    color: #64748b;
}

.wallet-info-card strong {
    color: #0b2348;
    overflow-wrap: anywhere;
}

.wallet-info-card small {
    color: #64748b;
}

.wallet-notice {
    border: 1px solid rgba(214, 225, 240, 0.92);
    border-radius: 1.1rem;
    background: rgba(11, 35, 72, 0.04);
    padding: 0.78rem 0.9rem;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #64748b;
}

.wallet-notice--warning {
    border-color: rgba(255, 122, 26, 0.22);
    background: rgba(255, 122, 26, 0.08);
    color: #9a3412;
}

.wallet-list-row,
.wallet-empty-state {
    border-radius: 1.1rem;
    padding: 0.82rem 0.92rem;
}

.wallet-empty-state {
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.6;
}

.wallet-summary-pill {
    border-radius: 9999px;
    padding: 0.72rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0b2348;
}

.wallet-rule-list {
    display: grid;
    gap: 0.65rem;
}

.wallet-rule-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid rgba(218, 226, 238, 0.92);
    border-radius: 1.1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 249, 252, 0.88));
    padding: 0.82rem 0.9rem;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.05);
}

.wallet-rule-row span {
    color: #64748b;
}

.wallet-rule-row small {
    color: #64748b;
}

.wallet-rule-row strong {
    margin-top: 0;
    color: #0b2348;
    text-align: right;
    max-width: 10rem;
    overflow-wrap: anywhere;
}

.wallet-ledger-list {
    display: grid;
    gap: 0.95rem;
}

.wallet-ledger-row {
    position: relative;
    overflow: hidden;
    border-radius: 1.8rem;
    padding: 1.25rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 249, 252, 0.9));
    box-shadow: 0 20px 38px rgba(15, 23, 42, 0.06);
}

.wallet-ledger-row::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.28rem;
}

.wallet-ledger-row--credit::before {
    background: #18b26b;
}

.wallet-ledger-row--debit::before {
    background: #ef4444;
}

.wallet-ledger-row--neutral::before {
    background: rgba(100, 116, 139, 0.5);
}

.wallet-ledger-row__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 9999px;
    flex: 0 0 auto;
}

.wallet-ledger-row__amount {
    min-width: min(100%, 15rem);
    border-radius: 1.45rem;
    padding: 1rem 1.15rem;
}

.wallet-tag {
    border-radius: 9999px;
    padding: 0.55rem 0.75rem;
    background: rgba(11, 35, 72, 0.06);
    color: #0b2348;
}

.wallet-tag--success {
    background: rgba(16, 185, 129, 0.12);
    color: #14804a;
}

.wallet-tag--warning {
    background: rgba(255, 122, 26, 0.12);
    color: #c2410c;
}

.wallet-tag--blue {
    background: rgba(33, 74, 134, 0.12);
    color: #0b2348;
}

@media (max-width: 767px) {
    .wallet-balance-board,
    .wallet-section-card {
        border-radius: 1.75rem;
    }

    .wallet-balance-board {
        padding: 1.35rem;
    }

    .wallet-balance-board__amount {
        font-size: 2.55rem;
    }

    .wallet-mini-card strong,
    .wallet-amount-spotlight strong {
        font-size: 1.68rem;
    }

    .wallet-ledger-row__amount {
        min-width: 100%;
    }

    .wallet-rule-row {
        flex-direction: column;
        gap: 0.45rem;
    }

    .wallet-rule-row strong {
        max-width: none;
        text-align: left;
    }
}

.wallet-prime-shell {
    position: relative;
}

.wallet-filter-toolbar {
    border: 1px solid rgba(217, 227, 239, 0.94);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(245, 248, 252, 0.8));
}

.wallet-reading-card {
    border: 1px solid rgba(214, 225, 240, 0.92);
    border-radius: 1.25rem;
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(242, 246, 251, 0.92));
    padding: 0.95rem 1.05rem;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.wallet-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    border-radius: 9999px;
    padding: 0.48rem 0.82rem;
    background: rgba(11, 35, 72, 0.06);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.wallet-section-kicker--inverse {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.84);
}

.wallet-status-pill {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 0.46rem 0.78rem;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: nowrap;
}

.wallet-status-pill--success {
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
}

.wallet-status-pill--danger {
    background: rgba(239, 68, 68, 0.12);
    color: #b91c1c;
}

.wallet-status-pill--neutral {
    background: rgba(148, 163, 184, 0.18);
    color: #475569;
}

.wallet-hero-grid,
.wallet-secondary-grid,
.wallet-period-strip {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 1280px) {
    .wallet-hero-grid {
        grid-template-columns: minmax(0, 1.45fr) minmax(21rem, 0.7fr);
        align-items: stretch;
    }

    .wallet-secondary-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        align-items: start;
    }
}

.wallet-finance-hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2rem;
    padding: 1.8rem;
    background: linear-gradient(135deg, rgba(6, 18, 39, 0.98) 0%, rgba(10, 32, 64, 0.96) 48%, rgba(19, 56, 109, 0.92) 100%);
    box-shadow: 0 34px 74px rgba(7, 18, 40, 0.26);
    color: #fff;
}

.wallet-finance-hero::before {
    content: "";
    position: absolute;
    inset: -12% auto auto -8%;
    width: 18rem;
    height: 18rem;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 70%);
    filter: blur(28px);
    pointer-events: none;
}

.wallet-finance-hero::after {
    content: "";
    position: absolute;
    inset: auto -12% -28% auto;
    width: 20rem;
    height: 20rem;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.12), transparent 68%);
    filter: blur(34px);
    pointer-events: none;
}

.wallet-finance-hero > * {
    position: relative;
    z-index: 1;
}

.wallet-finance-hero__top {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 900px) {
    .wallet-finance-hero__top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.wallet-finance-hero__label {
    margin-top: 1.2rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.56);
}

.wallet-finance-hero__amount {
    margin-top: 0.8rem;
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: 0.92;
    letter-spacing: -0.04em;
}

.wallet-finance-hero__copy {
    margin-top: 1rem;
    max-width: 38rem;
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
}

.wallet-finance-hero__grid {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.wallet-hero-stat {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.3rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.95rem 1rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.wallet-hero-stat span,
.wallet-finance-meta span,
.wallet-inline-note span,
.wallet-action-metric span,
.wallet-action-destination span,
.wallet-inline-balance span,
.wallet-definition-row span,
.wallet-period-item span,
.wallet-ops-block__title {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.wallet-hero-stat span {
    color: rgba(255, 255, 255, 0.54);
}

.wallet-hero-stat strong {
    display: block;
    margin-top: 0.45rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

.wallet-hero-stat small {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.66);
}

.wallet-finance-hero__footer {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.4rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}

.wallet-finance-meta span {
    color: rgba(255, 255, 255, 0.5);
}

.wallet-finance-meta strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
}

.wallet-finance-hero .wallet-status-pill--success {
    background: rgba(22, 163, 74, 0.18);
    color: #dcfce7;
}

.wallet-finance-hero .wallet-status-pill--danger {
    background: rgba(239, 68, 68, 0.18);
    color: #fee2e2;
}

.wallet-finance-hero .wallet-status-pill--neutral {
    background: rgba(148, 163, 184, 0.16);
    color: rgba(255, 255, 255, 0.86);
}

.wallet-hero-action,
.wallet-surface,
.wallet-period-item,
.wallet-summary-pill,
.wallet-inline-empty,
.wallet-ledger-row__amount {
    border: 1px solid rgba(217, 227, 239, 0.94);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 252, 0.92));
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.08);
}

.wallet-hero-action,
.wallet-surface {
    border-radius: 1.8rem;
    padding: 1.45rem;
}

.wallet-hero-action {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.wallet-hero-action__top {
    display: grid;
    gap: 1rem;
}

.wallet-hero-action__processing {
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 1.2rem;
    background: rgba(11, 35, 72, 0.04);
    padding: 0.95rem 1rem;
}

.wallet-hero-action__processing span,
.wallet-hero-action__processing strong,
.wallet-hero-action__processing small {
    display: block;
}

.wallet-hero-action__processing span {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #64748b;
}

.wallet-hero-action__processing strong {
    margin-top: 0.4rem;
    font-size: 2.1rem;
    line-height: 1;
    color: #0b2348;
}

.wallet-hero-action__processing small {
    margin-top: 0.35rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #64748b;
}

.wallet-hero-action__grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}

.wallet-action-metric,
.wallet-action-destination,
.wallet-inline-balance,
.wallet-inline-note {
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 1.2rem;
    background: rgba(11, 35, 72, 0.04);
    padding: 0.92rem 1rem;
}

.wallet-action-metric strong,
.wallet-action-destination strong,
.wallet-inline-balance strong,
.wallet-inline-note strong {
    display: block;
    margin-top: 0.42rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #0b2348;
}

.wallet-action-metric small,
.wallet-action-destination small,
.wallet-inline-balance small,
.wallet-inline-note small {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #64748b;
}

.wallet-action-metric span,
.wallet-action-destination span,
.wallet-inline-balance span,
.wallet-inline-note span {
    color: #64748b;
}

.wallet-primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.3rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #0b2348, #163f78);
    padding: 0 1.25rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 18px 36px rgba(11, 35, 72, 0.18);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.wallet-primary-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 42px rgba(11, 35, 72, 0.22);
}

.wallet-surface__header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 900px) {
    .wallet-surface__header {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }
}

.wallet-withdraw-surface__meta {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
}

.wallet-inline-alert,
.wallet-inline-empty {
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 1.2rem;
    background: rgba(11, 35, 72, 0.04);
    padding: 0.95rem 1rem;
    font-size: 0.84rem;
    line-height: 1.6;
    color: #64748b;
}

.wallet-inline-alert--warning {
    border-color: rgba(245, 158, 11, 0.26);
    background: rgba(245, 158, 11, 0.08);
    color: #9a3412;
}

.wallet-withdraw-surface__footer {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 900px) {
    .wallet-withdraw-surface__footer {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.wallet-ops-surface {
    display: grid;
    gap: 1.1rem;
}

.wallet-ops-block {
    display: grid;
    gap: 0.8rem;
}

.wallet-ops-block + .wallet-ops-block {
    padding-top: 1rem;
    border-top: 1px solid rgba(217, 227, 239, 0.94);
}

.wallet-ops-block__title {
    color: #64748b;
}

.wallet-definition-list,
.wallet-compact-list {
    display: grid;
    gap: 0.65rem;
}

.wallet-definition-row,
.wallet-compact-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 1.15rem;
    background: rgba(248, 251, 255, 0.95);
    padding: 0.9rem 0.95rem;
}

.wallet-definition-row__content,
.wallet-compact-row__content {
    min-width: 0;
}

.wallet-definition-row span,
.wallet-compact-row strong {
    color: #0b2348;
}

.wallet-definition-row span {
    color: #64748b;
}

.wallet-definition-row small,
.wallet-compact-row small {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #64748b;
}

.wallet-definition-row strong,
.wallet-compact-row__value {
    flex: 0 0 auto;
    max-width: 11rem;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0b2348;
    text-align: right;
    overflow-wrap: anywhere;
}

.wallet-compact-row strong {
    font-size: 0.92rem;
}

.wallet-compact-row__value {
    font-size: 0.98rem;
}

.wallet-period-strip {
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
}

.wallet-period-item {
    border-radius: 1.3rem;
    padding: 1rem 1.05rem;
}

.wallet-period-item span {
    color: #64748b;
}

.wallet-period-item strong {
    display: block;
    margin-top: 0.45rem;
    font-size: 1.08rem;
    font-weight: 700;
    color: #0b2348;
}

.wallet-period-item small {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.8rem;
    color: #64748b;
}

.wallet-period-item--positive strong {
    color: #15803d;
}

.wallet-period-item--negative strong {
    color: #b91c1c;
}

.wallet-statement-shell {
    border-color: rgba(217, 227, 239, 0.94);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 252, 0.94));
}

.wallet-summary-pill {
    border-radius: 9999px;
    padding: 0.76rem 0.95rem;
    font-size: 0.84rem;
    font-weight: 600;
    color: #0b2348;
}

.wallet-ledger-list {
    display: grid;
    gap: 0.95rem;
}

.wallet-ledger-row {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 1.55rem;
    padding: 1.18rem 1.2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.96));
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.06);
}

.wallet-ledger-row::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 0.26rem;
}

.wallet-ledger-row--credit::before {
    background: #16a34a;
}

.wallet-ledger-row--debit::before {
    background: #ef4444;
}

.wallet-ledger-row--neutral::before {
    background: rgba(100, 116, 139, 0.5);
}

.wallet-ledger-row__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    flex: 0 0 auto;
}

.wallet-ledger-row__amount {
    min-width: min(100%, 15.5rem);
    border-radius: 1.25rem;
    padding: 0.95rem 1rem;
}

.wallet-tag {
    border-radius: 9999px;
    padding: 0.48rem 0.68rem;
    background: rgba(11, 35, 72, 0.06);
    color: #0b2348;
}

.wallet-tag--success {
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
}

.wallet-tag--warning {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

.wallet-tag--blue {
    background: rgba(22, 63, 120, 0.12);
    color: #0b2348;
}

@media (max-width: 767px) {
    .wallet-finance-hero,
    .wallet-hero-action,
    .wallet-surface,
    .wallet-statement-shell {
        border-radius: 1.55rem;
        padding: 1.2rem;
    }

    .wallet-finance-hero__amount {
        font-size: 2.85rem;
    }

    .wallet-finance-hero__grid,
    .wallet-finance-hero__footer,
    .wallet-hero-action__grid,
    .wallet-withdraw-surface__meta,
    .wallet-period-strip {
        grid-template-columns: 1fr;
    }

    .wallet-definition-row,
    .wallet-compact-row {
        flex-direction: column;
    }

    .wallet-definition-row strong,
    .wallet-compact-row__value {
        max-width: none;
        text-align: left;
    }

    .wallet-ledger-row__amount {
        min-width: 100%;
    }
}

body.wallet-drawer-open,
body.ticket-sheet-open {
    overflow: hidden;
}

.ticket-wallet-hero {
    display: grid;
    gap: 1.25rem;
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 2rem;
    background: linear-gradient(135deg, rgba(11, 35, 72, 0.98), rgba(22, 63, 120, 0.94));
    padding: 1.4rem;
    box-shadow: 0 24px 48px rgba(11, 35, 72, 0.18);
    color: #fff;
}

@media (min-width: 1100px) {
    .ticket-wallet-hero {
        grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
        align-items: center;
    }
}

.ticket-wallet-hero__copy {
    min-width: 0;
}

.ticket-wallet-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    padding: 0.45rem 0.8rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.ticket-wallet-hero__title {
    margin-top: 1rem;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: clamp(2rem, 4vw, 2.9rem);
    line-height: 1.05;
}

.ticket-wallet-hero__text {
    margin-top: 0.9rem;
    max-width: 42rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.72);
}

.ticket-wallet-hero__stats {
    display: grid;
    gap: 0.85rem;
}

.ticket-wallet-stat {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 1rem 1.05rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.ticket-wallet-stat span {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.58);
}

.ticket-wallet-stat strong {
    display: block;
    margin-top: 0.45rem;
    font-size: 1.65rem;
    font-weight: 700;
    color: #fff;
}

.ticket-wallet-stat small {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
}

.ticket-wallet-stat--alert {
    border-color: rgba(255, 177, 93, 0.24);
    background: rgba(255, 177, 93, 0.12);
}

.ticket-wallet-card {
    overflow: hidden;
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.96));
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.ticket-wallet-card__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.15rem;
    background: linear-gradient(135deg, #0b2348, #214a86);
    color: #fff;
}

.ticket-wallet-card__hero-copy {
    min-width: 0;
}

.ticket-wallet-card__eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.66);
}

.ticket-wallet-card__title {
    margin-top: 0;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 1.34rem;
    line-height: 1.12;
}

.ticket-wallet-card__subtitle {
    margin-top: 0.35rem;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.72);
}

.ticket-wallet-card__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    padding: 0 0.9rem;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
}

.ticket-wallet-card__status--active {
    color: #ffffff;
}

.ticket-wallet-card__status--used {
    color: #dbe4f2;
}

.ticket-wallet-card__status--cancelled {
    color: #ffd5ce;
}

.ticket-wallet-card__body {
    display: grid;
    gap: 1rem;
    padding: 1.05rem 1.15rem 0.8rem;
}

@media (min-width: 1100px) {
    .ticket-wallet-card__body {
        grid-template-columns: minmax(0, 1fr) minmax(12.75rem, 0.74fr);
        align-items: center;
    }
}

.ticket-wallet-card__content,
.ticket-wallet-meta-list {
    display: grid;
    gap: 0.7rem;
}

.ticket-wallet-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
}

.ticket-wallet-meta-item__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.08);
    color: #0b2348;
    flex: none;
}

.ticket-wallet-meta-item span,
.ticket-wallet-identity span,
.ticket-detail-identity-card span,
.ticket-detail-code-card span,
.ticket-detail-grid__row dt {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.ticket-wallet-meta-item strong,
.ticket-wallet-identity strong,
.ticket-detail-identity-card strong,
.ticket-detail-grid__row dd {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    color: #132238;
}

.ticket-wallet-identity {
    display: grid;
    gap: 0.9rem;
}

@media (min-width: 680px) {
    .ticket-wallet-identity {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.ticket-wallet-identity > div {
    min-width: 0;
}

.ticket-wallet-inline-note {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #64748b;
}

.ticket-wallet-qr {
    border: 1px dashed rgba(217, 227, 239, 0.98);
    border-radius: 1.35rem;
    background: rgba(250, 252, 255, 0.96);
    padding: 0.85rem;
    text-align: center;
}

.ticket-wallet-qr__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #5f738f;
}

.ticket-wallet-qr__frame {
    margin-top: 0.65rem;
    border-radius: 1.25rem;
    background: #fff;
    padding: 0.7rem;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.06);
}

.ticket-wallet-qr__hint,
.ticket-detail-qr-card small {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.76rem;
    line-height: 1.55;
    color: #64748b;
}

.ticket-wallet-card__footer {
    padding: 0 1.15rem 1.05rem;
}

.ticket-wallet-card__actions,
.ticket-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.ticket-wallet-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 3.1rem;
    border: none;
    border-radius: 9999px;
    padding: 0 1.1rem;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.ticket-wallet-button--primary {
    background: linear-gradient(135deg, #0b2348, #163f78);
    color: #fff;
    box-shadow: 0 16px 32px rgba(11, 35, 72, 0.16);
}

.ticket-wallet-button--secondary {
    border: 1px solid rgba(217, 227, 239, 0.94);
    background: rgba(255, 255, 255, 0.94);
    color: #0b2348;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.ticket-wallet-button:hover,
.ticket-sheet__close:hover {
    transform: translateY(-1px);
}

.ticket-wallet-disclosure {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    border: none;
    background: transparent;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.ticket-wallet-disclosure__lead {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0b2348;
    flex: none;
}

.ticket-wallet-disclosure__hint {
    flex: 1;
    min-width: 0;
    font-size: 0.82rem;
    line-height: 1.45;
    text-align: right;
    color: #64748b;
}

.ticket-wallet-disclosure__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.95rem;
    height: 1.95rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.08);
    color: #214a86;
    flex: none;
}

.ticket-wallet-note {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    border: 1px solid rgba(255, 177, 93, 0.28);
    border-radius: 1.2rem;
    background: rgba(255, 122, 26, 0.06);
    padding: 0.9rem 1rem;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #8d5526;
}

.ticket-sheet {
    position: fixed;
    inset: 0;
    z-index: 85;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.ticket-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 18, 39, 0.52);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ticket-sheet__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 39rem);
    max-height: calc(100vh - 0.8rem);
    overflow-y: auto;
    margin: 0.75rem;
    border-radius: 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(244, 248, 252, 0.97));
    box-shadow: 0 -18px 46px rgba(7, 18, 40, 0.24);
    padding: 1rem;
}

@media (min-width: 900px) {
    .ticket-sheet {
        align-items: stretch;
        justify-content: flex-end;
    }

    .ticket-sheet__panel {
        width: min(100%, 42rem);
        height: 100%;
        max-height: none;
        margin: 0;
        border-radius: 0;
        box-shadow: -24px 0 56px rgba(7, 18, 40, 0.22);
        padding: 1.15rem;
    }
}

@media (max-width: 767px) {
    .ticket-wallet-disclosure {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .ticket-wallet-disclosure__hint {
        width: 100%;
        text-align: left;
        order: 3;
    }

    .ticket-wallet-disclosure__icon {
        margin-left: auto;
    }
}

.ticket-sheet__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.ticket-sheet__kicker {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #64748b;
}

.ticket-sheet__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.92);
    color: #0b2348;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.ticket-sheet__body {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.ticket-detail-hero {
    border: 1px solid rgba(11, 35, 72, 0.12);
    border-radius: 1.8rem;
    background: linear-gradient(135deg, #0b2348, #214a86);
    padding: 1.2rem;
    color: #fff;
}

.ticket-detail-hero__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.ticket-detail-hero__eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.68);
}

.ticket-detail-hero__title {
    margin-top: 0.4rem;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 1.7rem;
    line-height: 1.1;
}

.ticket-detail-hero__text {
    margin-top: 0.55rem;
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.74);
}

.ticket-detail-hero__layout {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 680px) {
    .ticket-detail-hero__layout {
        grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.88fr);
        align-items: start;
    }
}

.ticket-detail-hero__identity {
    display: grid;
    gap: 0.8rem;
}

.ticket-detail-identity-card,
.ticket-detail-code-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.95rem 1rem;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ticket-detail-identity-card span,
.ticket-detail-code-card span {
    color: rgba(255, 255, 255, 0.62);
}

.ticket-detail-identity-card strong {
    color: #fff;
}

.ticket-detail-code-card strong {
    display: block;
    margin-top: 0.38rem;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #fff;
}

.ticket-detail-qr-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 1rem;
    text-align: center;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.ticket-detail-qr-card .ticket-wallet-qr__label {
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.78);
}

.ticket-detail-qr-card__frame {
    margin-top: 0.85rem;
    border-radius: 1.4rem;
    background: #fff;
    padding: 0.85rem;
    box-shadow: 0 18px 32px rgba(7, 18, 40, 0.16);
}

.ticket-detail-grid {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.25rem;
}

.ticket-detail-grid__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 1.2rem;
    background: rgba(248, 251, 255, 0.94);
    padding: 0.95rem 1rem;
}

.ticket-detail-grid__row dt {
    flex: 0 0 42%;
}

.ticket-detail-grid__row dd {
    margin: 0;
    text-align: right;
}

.ticket-support-card {
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 1.8rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.96));
    padding: 1.2rem;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.ticket-support-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.ticket-support-card__title {
    margin-top: 0.45rem;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0b2348;
}

.ticket-support-card__copy {
    margin-top: 0.55rem;
    font-size: 0.88rem;
    line-height: 1.65;
    color: #4d627f;
}

.ticket-support-card__hint {
    margin-top: 0.9rem;
    font-size: 0.83rem;
    line-height: 1.65;
    color: #64748b;
}

.ticket-support-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(217, 227, 239, 0.94);
    background: rgba(255, 255, 255, 0.92);
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0b2348;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.ticket-support-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 1rem;
}

.ticket-support-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.06);
    color: #214a86;
    padding: 0.55rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.ticket-support-card__actions {
    display: grid;
    gap: 0.9rem;
    margin-top: 1rem;
}

.ticket-request-panel {
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 1.3rem;
    background: rgba(255, 255, 255, 0.94);
    overflow: hidden;
}

.ticket-request-panel__summary,
.ticket-request-panel--disabled {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    list-style: none;
    padding: 1rem;
}

.ticket-request-panel__summary {
    cursor: pointer;
}

.ticket-request-panel__summary::-webkit-details-marker {
    display: none;
}

.ticket-request-panel__copy {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    min-width: 0;
}

.ticket-request-panel__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.08);
    color: #214a86;
    flex: none;
}

.ticket-request-panel__copy strong,
.ticket-request-panel__copy small {
    display: block;
}

.ticket-request-panel__copy strong {
    font-size: 0.92rem;
    color: #0b2348;
}

.ticket-request-panel__copy small {
    margin-top: 0.3rem;
    font-size: 0.8rem;
    line-height: 1.6;
    color: #64748b;
}

.ticket-request-panel__chevron,
.ticket-request-panel__status {
    flex: none;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.ticket-request-panel__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.08);
    color: #214a86;
    transition: transform 180ms ease;
}

.ticket-request-panel[open] .ticket-request-panel__chevron {
    transform: rotate(90deg);
}

.ticket-request-panel__status {
    color: #94a3b8;
}

.ticket-request-panel__form {
    display: grid;
    gap: 0.9rem;
    border-top: 1px solid rgba(217, 227, 239, 0.9);
    padding: 1rem;
    background: rgba(248, 251, 255, 0.92);
}

.ticket-request-panel__field {
    display: grid;
    gap: 0.45rem;
}

.ticket-request-panel__field span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0b2348;
}

.ticket-request-panel__textarea {
    width: 100%;
    min-height: 7rem;
    resize: vertical;
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.96);
    padding: 0.9rem 1rem;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #0f172a;
    outline: none;
}

.ticket-request-panel__textarea:focus {
    border-color: rgba(33, 74, 134, 0.45);
    box-shadow: 0 0 0 4px rgba(33, 74, 134, 0.08);
}

.ticket-request-panel__footer {
    display: grid;
    gap: 0.7rem;
}

.ticket-request-panel__footer p {
    font-size: 0.78rem;
    line-height: 1.6;
    color: #64748b;
}

.ticket-request-panel--disabled {
    background: rgba(248, 250, 252, 0.96);
}

.ticket-policy-card {
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 1.8rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.96));
    padding: 1.2rem;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.ticket-policy-card__grid {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .ticket-policy-card__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .ticket-support-card__header,
    .ticket-request-panel__summary,
    .ticket-request-panel--disabled {
        flex-direction: column;
        align-items: stretch;
    }

    .ticket-support-card__link {
        justify-content: center;
    }

    .ticket-request-panel__chevron,
    .ticket-request-panel__status {
        align-self: flex-end;
    }
}

.ticket-policy-card__block {
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 1.3rem;
    background: rgba(255, 255, 255, 0.92);
    padding: 1rem;
}

.ticket-policy-card__block h4 {
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #0b2348;
}

.ticket-policy-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 0.85rem;
}

.ticket-policy-list li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 0.84rem;
    line-height: 1.65;
    color: #4d627f;
}

.ticket-policy-list li::before {
    content: "";
    position: absolute;
    top: 0.58rem;
    left: 0;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 9999px;
    background: #ff7a1a;
}

.wallet-local-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 1.5rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(244, 248, 252, 0.86));
    padding: 0.95rem 1rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07);
}

@media (min-width: 1100px) {
    .wallet-local-nav {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.wallet-local-nav__tabs,
.wallet-local-nav__actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.wallet-local-tab,
.wallet-quick-action,
.wallet-secondary-action,
.wallet-link-button,
.wallet-hero-metric-button,
.wallet-summary-row,
.wallet-drawer__close {
    transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.wallet-local-tab,
.wallet-quick-action,
.wallet-link-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.9rem;
    border-radius: 9999px;
    padding: 0 1rem;
    font-size: 0.88rem;
    font-weight: 700;
}

.wallet-local-tab {
    border: 1px solid rgba(217, 227, 239, 0.94);
    background: rgba(255, 255, 255, 0.86);
    color: #64748b;
}

.wallet-local-tab:hover {
    transform: translateY(-1px);
    color: #0b2348;
}

.wallet-local-tab.is-active {
    background: linear-gradient(135deg, #0b2348, #163f78);
    border-color: rgba(11, 35, 72, 0.2);
    color: #fff;
    box-shadow: 0 18px 36px rgba(11, 35, 72, 0.18);
}

.wallet-quick-action {
    background: linear-gradient(135deg, #0b2348, #163f78);
    color: #fff;
    box-shadow: 0 16px 34px rgba(11, 35, 72, 0.16);
}

.wallet-quick-action--secondary,
.wallet-secondary-action,
.wallet-link-button {
    border: 1px solid rgba(217, 227, 239, 0.94);
    background: rgba(255, 255, 255, 0.9);
    color: #0b2348;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.wallet-quick-action:hover,
.wallet-secondary-action:hover,
.wallet-link-button:hover,
.wallet-primary-action:hover,
.wallet-hero-metric-button:hover,
.wallet-summary-row.is-clickable:hover,
.wallet-drawer__close:hover {
    transform: translateY(-1px);
}

.wallet-tab-panels,
.wallet-overview-stack,
.wallet-panel-stack {
    display: grid;
    gap: 1.25rem;
}

.wallet-overview-grid,
.wallet-panel-grid,
.wallet-transfer-strip {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 1280px) {
    .wallet-overview-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    }

    .wallet-panel-grid {
        grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
        align-items: start;
    }

    .wallet-transfer-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.wallet-finance-hero__top {
    display: grid;
    gap: 1.2rem;
}

@media (min-width: 1100px) {
    .wallet-finance-hero__top {
        grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr);
        align-items: start;
    }
}

.wallet-finance-hero__main {
    min-width: 0;
}

.wallet-finance-hero__side {
    display: grid;
    gap: 0.75rem;
}

.wallet-finance-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.3rem;
}

.wallet-secondary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.3rem;
    border-radius: 9999px;
    padding: 0 1.15rem;
    font-size: 0.92rem;
    font-weight: 700;
}

.wallet-hero-metric-button {
    width: 100%;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.95rem 1rem;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.wallet-hero-metric-button span,
.wallet-summary-row span {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.wallet-hero-metric-button span {
    color: rgba(255, 255, 255, 0.54);
}

.wallet-hero-metric-button strong {
    display: block;
    margin-top: 0.38rem;
    font-size: 1.12rem;
    font-weight: 600;
    color: #fff;
}

.wallet-hero-metric-button small {
    display: block;
    margin-top: 0.26rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.66);
}

.wallet-summary-list {
    display: grid;
    gap: 0.7rem;
}

.wallet-summary-row {
    width: 100%;
    text-align: left;
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 1.15rem;
    background: rgba(248, 251, 255, 0.96);
    padding: 0.95rem 1rem;
}

.wallet-summary-row span {
    color: #64748b;
}

.wallet-summary-row strong {
    display: block;
    margin-top: 0.34rem;
    font-size: 1.08rem;
    font-weight: 700;
}

.wallet-summary-row small {
    display: block;
    margin-top: 0.24rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #64748b;
}

.wallet-summary-row--positive strong {
    color: #15803d;
}

.wallet-summary-row--negative strong {
    color: #b91c1c;
}

.wallet-summary-row--warning strong {
    color: #b45309;
}

.wallet-summary-row--default strong {
    color: #0b2348;
}

.wallet-summary-row--emphasis {
    background: linear-gradient(180deg, rgba(11, 35, 72, 0.06), rgba(22, 63, 120, 0.04));
}

.wallet-summary-row.is-clickable:hover {
    border-color: rgba(22, 63, 120, 0.24);
    box-shadow: 0 16px 30px rgba(11, 35, 72, 0.08);
}

.wallet-accordion {
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 1.4rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 252, 0.92));
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
}

.wallet-accordion__summary {
    position: relative;
    list-style: none;
    cursor: pointer;
    padding: 1rem 3rem 1rem 1.1rem;
}

.wallet-accordion__summary::-webkit-details-marker {
    display: none;
}

.wallet-accordion__summary::after {
    content: "";
    position: absolute;
    right: 1.2rem;
    top: 50%;
    width: 0.65rem;
    height: 0.65rem;
    border-right: 2px solid rgba(100, 116, 139, 0.9);
    border-bottom: 2px solid rgba(100, 116, 139, 0.9);
    transform: translateY(-60%) rotate(45deg);
    transition: transform 180ms ease;
}

.wallet-accordion[open] .wallet-accordion__summary::after {
    transform: translateY(-30%) rotate(225deg);
}

.wallet-accordion__summary span {
    display: block;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0b2348;
}

.wallet-accordion__summary small {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.82rem;
    line-height: 1.5;
    color: #64748b;
}

.wallet-accordion__body {
    padding: 0 1.1rem 1.1rem;
}

.wallet-drawer {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    justify-content: flex-end;
}

.wallet-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 18, 39, 0.48);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.wallet-drawer__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 32rem);
    height: 100%;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.96));
    box-shadow: -24px 0 54px rgba(7, 18, 40, 0.22);
    padding: 1.25rem;
}

.wallet-drawer__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.wallet-drawer__body {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.wallet-drawer__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.9rem;
    height: 2.9rem;
    border-radius: 9999px;
    border: 1px solid rgba(217, 227, 239, 0.94);
    background: rgba(255, 255, 255, 0.92);
    color: #0b2348;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.05);
}

.wallet-drawer-metric {
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 1.3rem;
    background: linear-gradient(180deg, rgba(11, 35, 72, 0.96), rgba(22, 63, 120, 0.92));
    padding: 1rem 1.05rem;
    color: #fff;
}

.wallet-drawer-metric span {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.wallet-drawer-metric strong {
    display: block;
    margin-top: 0.45rem;
    font-size: 2rem;
    line-height: 1;
}

.wallet-drawer-metric small {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.74);
}

.wallet-drawer__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.wallet-local-tab:focus-visible,
.wallet-quick-action:focus-visible,
.wallet-secondary-action:focus-visible,
.wallet-link-button:focus-visible,
.wallet-primary-action:focus-visible,
.wallet-hero-metric-button:focus-visible,
.wallet-summary-row.is-clickable:focus-visible,
.wallet-drawer__close:focus-visible,
.wallet-accordion__summary:focus-visible {
    outline: 3px solid rgba(22, 63, 120, 0.22);
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .ticket-wallet-button {
        width: 100%;
    }

    .ticket-wallet-card__actions,
    .ticket-detail-actions {
        flex-direction: column;
    }

    .ticket-detail-grid__row {
        flex-direction: column;
    }

    .ticket-detail-grid__row dd {
        text-align: left;
    }

    .wallet-local-nav {
        padding: 0.85rem;
    }

    .wallet-finance-hero__actions,
    .wallet-drawer__actions {
        flex-direction: column;
    }

    .wallet-primary-action,
    .wallet-secondary-action,
    .wallet-link-button,
    .wallet-quick-action {
        width: 100%;
    }

    .wallet-drawer__panel {
        width: 100%;
        padding: 1rem;
    }
}

.nav-track {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.nav-track::-webkit-scrollbar {
    display: none;
}

@media (min-width: 768px) {
    .nav-track {
        display: grid;
        overflow: visible;
    }
}

.support-schema-alert {
    border: 1px solid rgba(245, 158, 11, 0.22);
    border-radius: 1.4rem;
    background: rgba(245, 158, 11, 0.12);
    color: #92400e;
    padding: 1rem 1.1rem;
    font-size: 0.94rem;
    line-height: 1.6;
}

.support-summary-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.support-summary-grid--admin {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.support-summary-card {
    border: 1px solid rgba(217, 227, 239, 0.92);
    border-radius: 1.7rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 253, 0.94));
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
    padding: 1.15rem 1.2rem;
}

.support-summary-card span {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}

.support-summary-card strong {
    display: block;
    margin-top: 0.6rem;
    font-size: 2rem;
    line-height: 1;
    color: #0b2348;
}

.support-summary-card small {
    display: block;
    margin-top: 0.55rem;
    font-size: 0.82rem;
    line-height: 1.55;
    color: #64748b;
}

.support-orchestrator {
    border: 1px solid rgba(217, 227, 239, 0.92);
    border-radius: 2rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 252, 0.96));
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
    padding: 1.35rem;
}

.support-orchestrator__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.support-orchestrator__title {
    margin-top: 0.75rem;
    font-family: Sora, sans-serif;
    font-size: clamp(1.35rem, 1.6vw, 1.9rem);
    line-height: 1.15;
    color: #0b2348;
}

.support-orchestrator__copy {
    margin-top: 0.55rem;
    max-width: 60rem;
    font-size: 0.94rem;
    line-height: 1.7;
    color: #64748b;
}

.support-orchestrator__body {
    display: grid;
    gap: 1rem;
    margin-top: 1.15rem;
}

.support-orchestrator__track {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-stage-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 1.65rem;
    background: rgba(255, 255, 255, 0.92);
    padding: 1rem 1.05rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.support-stage-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, rgba(11, 35, 72, 0.18), rgba(33, 74, 134, 0.72));
}

.support-stage-card.is-current {
    border-color: rgba(11, 35, 72, 0.22);
    background: linear-gradient(180deg, rgba(11, 35, 72, 0.05), rgba(255, 255, 255, 0.94));
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.support-stage-card__eyebrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.support-stage-card__step,
.support-stage-card__current {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    padding: 0.34rem 0.7rem;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.support-stage-card__step {
    background: rgba(11, 35, 72, 0.08);
    color: #0b2348;
}

.support-stage-card__current {
    background: rgba(33, 74, 134, 0.1);
    color: #214a86;
}

.support-stage-card__role {
    margin-top: 0.8rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.support-stage-card__title {
    margin-top: 0.45rem;
    font-family: Sora, sans-serif;
    font-size: 1.05rem;
    line-height: 1.35;
    color: #0b2348;
}

.support-stage-card__copy {
    margin-top: 0.45rem;
    font-size: 0.88rem;
    line-height: 1.65;
    color: #64748b;
}

.support-orchestrator__stats {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.support-stage-stat {
    border: 1px solid rgba(217, 227, 239, 0.92);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.82);
    padding: 0.95rem 1rem;
}

.support-stage-stat span {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.support-stage-stat strong {
    display: block;
    margin-top: 0.45rem;
    font-size: 1.45rem;
    line-height: 1;
    color: #0b2348;
}

.support-stage-stat small {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.8rem;
    line-height: 1.55;
    color: #64748b;
}

.support-layout {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(320px, 360px) minmax(0, 1fr);
    align-items: start;
}

.support-layout--admin {
    grid-template-columns: minmax(300px, 350px) minmax(0, 1fr);
}

.support-sidebar,
.support-main {
    display: grid;
    gap: 1.25rem;
}

.support-panel,
.support-empty-stage {
    border: 1px solid rgba(217, 227, 239, 0.92);
    border-radius: 1.7rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 248, 252, 0.96));
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
    padding: 1.05rem;
}

.support-panel__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.support-panel__title {
    margin-top: 0.55rem;
    font-family: Sora, sans-serif;
    font-size: 1.16rem;
    line-height: 1.2;
    color: #0b2348;
}

.support-panel__copy {
    margin-top: 0.35rem;
    font-size: 0.86rem;
    line-height: 1.55;
    color: #64748b;
}

.support-form-stack,
.support-filter-grid,
.support-thread-list,
.support-message-list {
    display: grid;
    gap: 0.8rem;
}

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

.support-sidebar--admin {
    align-content: start;
}

.support-layout--participant-chat {
    grid-template-columns: minmax(300px, 340px) minmax(0, 1fr);
}

.support-sidebar--participant-chat,
.support-main--participant-chat {
    align-content: start;
}

.support-participant-flow {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.support-flow-card {
    border: 1px solid rgba(217, 227, 239, 0.92);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.94);
    padding: 0.85rem 0.9rem;
}

.support-flow-card span {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.support-flow-card strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.2rem;
    line-height: 1;
    color: #0b2348;
}

.support-flow-card small {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #64748b;
}

.support-flow-card--blue {
    background: linear-gradient(180deg, rgba(11, 35, 72, 0.05), rgba(255, 255, 255, 0.94));
}

.support-flow-card--amber {
    background: linear-gradient(180deg, rgba(245, 158, 11, 0.08), rgba(255, 255, 255, 0.94));
}

.support-flow-card--sky {
    background: linear-gradient(180deg, rgba(33, 74, 134, 0.06), rgba(255, 255, 255, 0.94));
}

.support-flow-card--green {
    background: linear-gradient(180deg, rgba(31, 157, 104, 0.08), rgba(255, 255, 255, 0.94));
}

.support-intent-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-intent-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    border: 1px solid rgba(217, 227, 239, 0.92);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.95rem;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.support-intent-card:hover {
    transform: translateY(-1px);
    border-color: rgba(11, 35, 72, 0.18);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
}

.support-intent-card input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.support-intent-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.08);
    color: #0b2348;
    flex-shrink: 0;
}

.support-intent-card__content {
    display: grid;
    gap: 0.24rem;
}

.support-intent-card__content strong {
    font-size: 0.92rem;
    line-height: 1.4;
    color: #0b2348;
}

.support-intent-card__content small {
    font-size: 0.8rem;
    line-height: 1.55;
    color: #64748b;
}

.support-intent-card:has(input:checked) {
    border-color: rgba(11, 35, 72, 0.22);
    background: linear-gradient(180deg, rgba(11, 35, 72, 0.05), rgba(255, 255, 255, 0.95));
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.1);
}

.support-intent-card:has(input:checked) .support-intent-card__icon {
    background: linear-gradient(135deg, rgba(11, 35, 72, 0.94), rgba(33, 74, 134, 0.92));
    color: #fff;
}

.support-intent-grid--topics {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.support-intent-card--topic {
    min-height: 100%;
    padding: 0.85rem;
}

.support-intent-card--topic .support-intent-card__icon {
    width: 2.1rem;
    height: 2.1rem;
}

.support-intent-card--topic .support-intent-card__content strong {
    font-size: 0.86rem;
}

.support-intent-card--topic .support-intent-card__content small {
    font-size: 0.75rem;
    line-height: 1.45;
}

.support-composer-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: 1.25fr 1fr;
}

.support-composer-actions {
    display: flex;
    justify-content: flex-end;
}

.support-field {
    display: grid;
    gap: 0.45rem;
}

.support-field span {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.support-input,
.support-select,
.support-textarea {
    width: 100%;
    border: 1px solid rgba(217, 227, 239, 0.96);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.92);
    color: #132238;
    padding: 0.92rem 1rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 12px 28px rgba(15, 23, 42, 0.04);
}

.support-textarea {
    resize: vertical;
    min-height: 8rem;
}

.support-input:focus,
.support-select:focus,
.support-textarea:focus {
    outline: 3px solid rgba(33, 74, 134, 0.16);
    outline-offset: 1px;
    border-color: rgba(33, 74, 134, 0.22);
}

.support-filter-actions,
.support-detail-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.support-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 0.82rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.support-button:hover {
    transform: translateY(-1px);
}

.support-button--primary {
    background: linear-gradient(135deg, #0b2348, #214a86);
    color: #fff;
    box-shadow: 0 18px 34px rgba(11, 35, 72, 0.2);
}

.support-button--secondary {
    background: rgba(11, 35, 72, 0.08);
    color: #0b2348;
    border: 1px solid rgba(11, 35, 72, 0.1);
}

.support-button--ghost {
    background: rgba(255, 255, 255, 0.88);
    color: #0b2348;
    border: 1px solid rgba(217, 227, 239, 0.96);
}

.support-lane-grid {
    display: grid;
    gap: 0.8rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-lane-grid--stack {
    grid-template-columns: minmax(0, 1fr);
}

.support-lane-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    border: 1px solid rgba(217, 227, 239, 0.92);
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.95rem 1rem;
    color: inherit;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.support-lane-card:hover {
    transform: translateY(-1px);
    border-color: rgba(11, 35, 72, 0.18);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.support-lane-card.is-active {
    border-color: rgba(11, 35, 72, 0.22);
    background: linear-gradient(180deg, rgba(11, 35, 72, 0.06), rgba(255, 255, 255, 0.96));
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
}

.support-lane-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.08);
    color: #0b2348;
}

.support-lane-card__content {
    display: grid;
    gap: 0.22rem;
}

.support-lane-card__content strong {
    font-size: 0.92rem;
    line-height: 1.35;
    color: #0b2348;
}

.support-lane-card__content small {
    font-size: 0.8rem;
    line-height: 1.55;
    color: #64748b;
}

.support-lane-card__value {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3rem;
    border-radius: 9999px;
    padding: 0.32rem 0.7rem;
    background: rgba(11, 35, 72, 0.08);
    color: #0b2348;
    font-size: 0.8rem;
    font-weight: 800;
}

.support-lane-card--compact {
    padding: 0.8rem 0.9rem;
}

.support-lane-card--compact .support-lane-card__content small {
    font-size: 0.76rem;
}

.support-thread-card {
    display: block;
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.88);
    padding: 0.85rem 0.9rem 0.85rem;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.support-thread-card:hover {
    transform: translateY(-1px);
    border-color: rgba(11, 35, 72, 0.16);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.support-thread-card.is-active {
    border-color: rgba(11, 35, 72, 0.2);
    background: linear-gradient(180deg, rgba(11, 35, 72, 0.06), rgba(255, 255, 255, 0.9));
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.support-thread-card__top,
.support-thread-card__footer {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.support-thread-card__code {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}

.support-thread-card__subject {
    margin-top: 0.3rem;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0b2348;
}

.support-thread-card__top-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
}

.support-thread-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.8rem;
    margin-top: 0.65rem;
    font-size: 0.79rem;
    color: #64748b;
}

.support-thread-card__excerpt {
    margin-top: 0.55rem;
    font-size: 0.84rem;
    line-height: 1.5;
    color: #475569;
}

.support-thread-card__route {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

.support-thread-card__ops {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0.75rem;
}

.support-thread-card__ops-item {
    border-radius: 0.95rem;
    background: rgba(248, 250, 252, 0.95);
    padding: 0.65rem 0.75rem;
}

.support-thread-card__ops-item span {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.support-thread-card__ops-item strong {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.8rem;
    line-height: 1.45;
    color: #0b2348;
}

.support-thread-card__route-arrow {
    font-size: 0.8rem;
    font-weight: 800;
    color: #94a3b8;
}

.support-route-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 0.3rem 0.62rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.support-route-pill--blue {
    background: rgba(11, 35, 72, 0.08);
    color: #0b2348;
}

.support-route-pill--sky {
    background: rgba(33, 74, 134, 0.1);
    color: #214a86;
}

.support-route-pill--amber {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

.support-route-pill--slate {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
}

.support-thread-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.support-thread-card__footer {
    margin-top: 0.85rem;
    align-items: center;
}

.support-thread-card__time {
    font-size: 0.76rem;
    color: #64748b;
}

.support-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 0.34rem 0.72rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.support-badge--blue {
    background: rgba(11, 35, 72, 0.1);
    color: #0b2348;
}

.support-badge--sky {
    background: rgba(33, 74, 134, 0.12);
    color: #214a86;
}

.support-badge--green {
    background: rgba(31, 157, 104, 0.12);
    color: #15803d;
}

.support-badge--amber {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

.support-badge--red {
    background: rgba(225, 82, 65, 0.12);
    color: #b91c1c;
}

.support-badge--slate {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
}

.support-badge--outline {
    background: transparent;
    border: 1px solid rgba(217, 227, 239, 0.96);
    color: #475569;
}

.support-badge--ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.support-detail-hero {
    border-radius: 2rem;
    background: linear-gradient(145deg, rgba(11, 35, 72, 0.98), rgba(22, 63, 120, 0.95));
    box-shadow: 0 28px 60px rgba(11, 35, 72, 0.22);
    padding: 1.35rem;
    color: #fff;
}

.support-detail-hero__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.support-detail-hero__title {
    margin-top: 0.75rem;
    font-family: Sora, sans-serif;
    font-size: clamp(1.55rem, 2vw, 2.15rem);
    line-height: 1.1;
}

.support-detail-hero__copy {
    margin-top: 0.6rem;
    max-width: 52rem;
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.76);
}

.support-detail-hero__badges,
.support-detail-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.support-detail-hero__meta {
    margin-top: 1rem;
}

.support-detail-hero__meta div {
    min-width: 11rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.85rem 0.95rem;
}

.support-detail-hero__meta span {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.support-detail-hero__meta strong {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.98rem;
    line-height: 1.5;
    color: #fff;
}

.support-detail-hero__actions {
    margin-top: 1rem;
}

.support-chat-head {
    display: grid;
    gap: 0.95rem;
}

.support-chat-head__main {
    display: grid;
    gap: 0.35rem;
}

.support-chat-head__title {
    font-family: Sora, sans-serif;
    font-size: clamp(1.25rem, 1.6vw, 1.7rem);
    line-height: 1.15;
    color: #0b2348;
}

.support-chat-head__copy {
    max-width: 50rem;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #64748b;
}

.support-chat-head__badges,
.support-chat-head__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.support-chat-head__meta {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-admin-workbench,
.support-admin-workbench__main,
.support-admin-workbench__side,
.support-admin-workbench__body {
    display: grid;
    gap: 1rem;
}

.support-admin-workbench__body {
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 360px);
    align-items: start;
}

.support-case-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.support-case-head__main {
    display: grid;
    gap: 0.35rem;
}

.support-case-head__title {
    font-family: Sora, sans-serif;
    font-size: clamp(1.35rem, 1.7vw, 1.9rem);
    line-height: 1.12;
    color: #0b2348;
}

.support-case-head__copy {
    max-width: 48rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #64748b;
}

.support-case-head__summary {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.45rem;
}

.support-case-head__meta {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0.95rem;
}

.support-contact-grid {
    display: grid;
    gap: 0.75rem;
}

.support-contact-card {
    border: 1px solid rgba(217, 227, 239, 0.92);
    border-radius: 1.15rem;
    background: rgba(248, 250, 252, 0.92);
    padding: 0.9rem 0.95rem;
}

.support-contact-card span {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.support-contact-card strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.94rem;
    line-height: 1.45;
    color: #0b2348;
}

.support-contact-card small {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #64748b;
}

.support-contact-card--stack {
    background: rgba(255, 255, 255, 0.94);
}

.support-case-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-case-grid--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-case-card {
    border: 1px solid rgba(217, 227, 239, 0.92);
    border-radius: 1.35rem;
    background: rgba(248, 250, 252, 0.92);
    padding: 1rem;
}

.support-case-grid--tight {
    gap: 0.75rem;
}

.support-case-card--compact {
    border-radius: 1.1rem;
    padding: 0.85rem 0.9rem;
}

.support-case-card--compact strong {
    font-size: 0.96rem;
}

.support-case-card--compact small {
    font-size: 0.78rem;
}

.support-case-card span {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.support-case-card strong {
    display: block;
    margin-top: 0.45rem;
    font-size: 1.04rem;
    line-height: 1.35;
    color: #0b2348;
}

.support-case-card small {
    display: block;
    margin-top: 0.45rem;
    font-size: 0.82rem;
    line-height: 1.6;
    color: #64748b;
}

.support-message-list {
    max-height: none;
}

.support-message-list--chat {
    gap: 0.7rem;
}

.support-message {
    border-radius: 1.45rem;
    padding: 1rem 1.05rem;
    border: 1px solid rgba(217, 227, 239, 0.9);
    background: rgba(255, 255, 255, 0.92);
}

.support-message--participant {
    background: linear-gradient(180deg, rgba(244, 248, 252, 0.98), rgba(255, 255, 255, 0.94));
}

.support-message--producer {
    background: linear-gradient(180deg, rgba(235, 244, 255, 0.96), rgba(255, 255, 255, 0.94));
}

.support-message--admin {
    background: linear-gradient(180deg, rgba(11, 35, 72, 0.06), rgba(255, 255, 255, 0.94));
}

.support-message--system,
.support-message--internal {
    background: linear-gradient(180deg, rgba(100, 116, 139, 0.08), rgba(255, 255, 255, 0.94));
}

.support-message__header,
.support-message__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.support-message__header strong {
    display: block;
    font-size: 0.98rem;
    color: #0b2348;
}

.support-message__header span,
.support-message__meta time {
    font-size: 0.78rem;
    color: #64748b;
}

.support-message__body {
    margin-top: 0.8rem;
    font-size: 0.95rem;
    line-height: 1.75;
    color: #203247;
}

.support-empty-card,
.support-empty-stage {
    font-size: 0.94rem;
    line-height: 1.7;
    color: #64748b;
}

.support-empty-stage h2 {
    margin-top: 0.85rem;
    font-family: Sora, sans-serif;
    font-size: 1.55rem;
    line-height: 1.2;
    color: #0b2348;
}

.support-empty-stage p {
    margin-top: 0.6rem;
    max-width: 36rem;
}

.support-inline-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.88rem;
    color: #475569;
}

.support-inline-checkbox input {
    width: 1rem;
    height: 1rem;
}

.support-admin-detail {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    align-items: start;
}

.support-admin-detail__main,
.support-admin-detail__side,
.support-context-list {
    display: grid;
    gap: 1rem;
}

.support-context-list div {
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.95);
    padding: 0.8rem 0.9rem;
}

.support-context-list--dense {
    gap: 0.75rem;
}

.support-context-list span {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.support-context-list strong {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.94rem;
    line-height: 1.5;
    color: #0b2348;
}

.support-button:focus-visible,
.support-thread-card:focus-visible,
.support-input:focus-visible,
.support-select:focus-visible,
.support-textarea:focus-visible {
    outline: 3px solid rgba(33, 74, 134, 0.18);
    outline-offset: 2px;
}

@media (max-width: 1199px) {
    .support-orchestrator__track {
        grid-template-columns: minmax(0, 1fr);
    }

    .support-layout,
    .support-layout--admin,
    .support-layout--participant-chat,
    .support-admin-detail,
    .support-admin-workbench__body {
        grid-template-columns: minmax(0, 1fr);
    }

    .support-case-head__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .support-participant-flow,
    .support-intent-grid--topics,
    .support-composer-grid,
    .support-chat-head__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .support-orchestrator,
    .support-detail-hero,
    .support-panel,
    .support-empty-stage {
        padding: 1rem;
    }

    .support-summary-grid,
    .support-summary-grid--admin,
    .support-filter-grid,
    .support-intent-grid,
    .support-intent-grid--topics,
    .support-composer-grid,
    .support-participant-flow,
    .support-case-grid,
    .support-case-grid--three,
    .support-case-head__meta,
    .support-chat-head__meta,
    .support-thread-card__ops,
    .support-lane-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .support-detail-hero__top,
    .support-case-head,
    .support-chat-head__actions,
    .support-thread-card__top,
    .support-thread-card__footer {
        flex-direction: column;
    }

    .support-lane-card {
        grid-template-columns: minmax(0, 1fr);
        align-items: flex-start;
    }

    .support-detail-hero__meta div {
        width: 100%;
        min-width: 0;
    }

    .support-thread-card__top-badges {
        justify-content: flex-start;
    }

    .support-filter-actions,
    .support-detail-hero__actions,
    .support-composer-actions {
        flex-direction: column;
    }

    .support-button {
        width: 100%;
    }
}

/* Support center v2 */
.support-shell {
    display: grid;
    gap: 1rem;
    align-items: start;
}

.support-shell--participant {
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
}

.support-shell--producer {
    grid-template-columns: minmax(300px, 340px) minmax(0, 1fr) minmax(270px, 320px);
}

.support-shell--admin {
    grid-template-columns: minmax(290px, 330px) minmax(0, 1fr) minmax(290px, 330px);
}

.support-rail,
.support-workspace,
.support-context {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.support-panel {
    border-radius: 1.45rem;
    padding: 1rem 1.05rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 253, 0.96));
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.07);
}

.support-panel--compact {
    padding: 0.92rem;
}

.support-panel--workspace,
.support-panel--conversation,
.support-panel--composer,
.support-panel--sidecard {
    border-color: rgba(223, 231, 242, 0.95);
}

.support-panel__header {
    margin-bottom: 0.85rem;
}

.support-panel__title {
    margin-top: 0.45rem;
    font-size: 1.02rem;
}

.support-panel__copy {
    margin-top: 0.28rem;
    max-width: 54rem;
    font-size: 0.82rem;
    line-height: 1.55;
}

.support-filter-stack {
    display: grid;
    gap: 0.75rem;
}

.support-filter-grid {
    gap: 0.7rem;
}

.support-filter-grid--single {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-queue-header {
    display: grid;
    gap: 0.85rem;
}

.support-queue-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.support-queue-pill {
    display: inline-grid;
    gap: 0.14rem;
    border-radius: 9999px;
    padding: 0.55rem 0.78rem;
    background: rgba(11, 35, 72, 0.05);
    color: #0b2348;
}

.support-queue-pill strong {
    font-size: 0.9rem;
    line-height: 1;
}

.support-queue-pill small {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.support-queue-tabs {
    display: grid;
    gap: 0.55rem;
}

.support-queue-tab {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.72rem;
    align-items: center;
    border: 1px solid rgba(222, 230, 240, 0.96);
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.8rem 0.88rem;
    color: inherit;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.support-queue-tab:hover {
    transform: translateY(-1px);
    border-color: rgba(11, 35, 72, 0.16);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.support-queue-tab.is-active {
    border-color: rgba(11, 35, 72, 0.2);
    background: linear-gradient(180deg, rgba(11, 35, 72, 0.06), rgba(255, 255, 255, 0.94));
}

.support-queue-tab__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.08);
    color: #0b2348;
}

.support-queue-tab__copy {
    display: grid;
    gap: 0.16rem;
}

.support-queue-tab__copy strong {
    font-size: 0.87rem;
    line-height: 1.35;
    color: #0b2348;
}

.support-queue-tab__copy small {
    font-size: 0.76rem;
    line-height: 1.45;
    color: #64748b;
}

.support-queue-tab__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.7rem;
    border-radius: 9999px;
    padding: 0.28rem 0.62rem;
    background: rgba(11, 35, 72, 0.08);
    font-size: 0.74rem;
    font-weight: 800;
    color: #0b2348;
}

.support-drawer {
    border: 1px solid rgba(222, 230, 240, 0.96);
    border-radius: 1.4rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 253, 0.96));
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.support-drawer__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.05rem;
    list-style: none;
    cursor: pointer;
}

.support-drawer__summary::-webkit-details-marker {
    display: none;
}

.support-drawer__title {
    margin-top: 0.42rem;
    font-family: Sora, sans-serif;
    font-size: 1rem;
    line-height: 1.2;
    color: #0b2348;
}

.support-drawer__copy {
    margin-top: 0.24rem;
    font-size: 0.82rem;
    line-height: 1.55;
    color: #64748b;
}

.support-drawer__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 0.55rem 0.85rem;
    background: rgba(11, 35, 72, 0.08);
    color: #0b2348;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.support-drawer[open] .support-drawer__toggle {
    background: rgba(11, 35, 72, 0.12);
}

.support-drawer__body {
    border-top: 1px solid rgba(222, 230, 240, 0.9);
    padding: 1rem 1.05rem 1.05rem;
}

.support-form-stack--dense {
    gap: 0.72rem;
}

.support-topic-grid {
    display: grid;
    gap: 0.6rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-topic-chip {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.7rem;
    align-items: start;
    border: 1px solid rgba(222, 230, 240, 0.96);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.8rem;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.support-topic-chip input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.support-topic-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(11, 35, 72, 0.16);
}

.support-topic-chip:has(input:checked) {
    border-color: rgba(11, 35, 72, 0.22);
    background: linear-gradient(180deg, rgba(11, 35, 72, 0.05), rgba(255, 255, 255, 0.95));
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.support-topic-chip__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.08);
    color: #0b2348;
}

.support-topic-chip:has(input:checked) .support-topic-chip__icon {
    background: linear-gradient(135deg, rgba(11, 35, 72, 0.94), rgba(33, 74, 134, 0.92));
    color: #fff;
}

.support-topic-chip__copy {
    display: grid;
    gap: 0.18rem;
}

.support-topic-chip__copy strong {
    font-size: 0.86rem;
    line-height: 1.35;
    color: #0b2348;
}

.support-topic-chip__copy small {
    font-size: 0.75rem;
    line-height: 1.45;
    color: #64748b;
}

.support-topic-panels {
    display: grid;
    gap: 0.65rem;
}

.support-topic-panel {
    display: none;
    gap: 0.7rem;
    border: 1px dashed rgba(33, 74, 134, 0.18);
    border-radius: 1.15rem;
    background: rgba(248, 250, 252, 0.92);
    padding: 0.9rem;
}

.support-topic-panel.is-active {
    display: grid;
}

.support-topic-panel__header strong {
    display: block;
    font-size: 0.86rem;
    color: #0b2348;
}

.support-topic-panel__header small {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.76rem;
    line-height: 1.45;
    color: #64748b;
}

.support-topic-panel__grid {
    display: grid;
    gap: 0.65rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-thread-card {
    display: grid;
    grid-template-columns: 3px minmax(0, 1fr);
    gap: 0.85rem;
    border: 1px solid rgba(222, 230, 240, 0.94);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.82rem 0.86rem;
    color: inherit;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.support-thread-card:hover {
    transform: translateY(-1px);
    border-color: rgba(11, 35, 72, 0.18);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.support-thread-card.is-active {
    border-color: rgba(11, 35, 72, 0.22);
    background: linear-gradient(180deg, rgba(11, 35, 72, 0.05), rgba(255, 255, 255, 0.96));
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
}

.support-thread-card__state {
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.14);
}

.support-thread-card__state--blue { background: #214a86; }
.support-thread-card__state--sky { background: #3b82f6; }
.support-thread-card__state--green { background: #16a34a; }
.support-thread-card__state--amber { background: #f59e0b; }
.support-thread-card__state--red { background: #dc2626; }
.support-thread-card__state--slate { background: #64748b; }

.support-thread-card__body,
.support-thread-card__headline {
    display: grid;
    gap: 0.55rem;
}

.support-thread-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.support-thread-card__code-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

.support-thread-card__code {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}

.support-thread-card__subject {
    font-size: 0.92rem;
    line-height: 1.4;
    color: #0b2348;
}

.support-thread-card__top-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem;
}

.support-thread-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
    font-size: 0.76rem;
    color: #64748b;
}

.support-thread-card__excerpt {
    font-size: 0.81rem;
    line-height: 1.5;
    color: #475569;
}

.support-thread-card__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
}

.support-thread-card__footer-main {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.8rem;
    font-size: 0.76rem;
    line-height: 1.45;
    color: #475569;
}

.support-thread-card__footer-main strong {
    color: #0b2348;
}

.support-thread-card__footer-side {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.support-thread-card__time {
    font-size: 0.74rem;
    color: #64748b;
}

.support-case-header {
    display: grid;
    gap: 0.85rem;
}

.support-case-header__main {
    display: grid;
    gap: 0.3rem;
}

.support-case-header__title {
    font-family: Sora, sans-serif;
    font-size: clamp(1.3rem, 1.6vw, 1.85rem);
    line-height: 1.12;
    color: #0b2348;
}

.support-case-header__copy {
    max-width: 56rem;
    font-size: 0.86rem;
    line-height: 1.6;
    color: #64748b;
}

.support-case-header__badges,
.support-case-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.support-case-meta-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-case-meta-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.support-case-meta {
    border: 1px solid rgba(223, 231, 242, 0.95);
    border-radius: 1.1rem;
    background: rgba(248, 250, 252, 0.92);
    padding: 0.82rem 0.88rem;
}

.support-case-meta span {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.support-case-meta strong {
    display: block;
    margin-top: 0.32rem;
    font-size: 0.92rem;
    line-height: 1.45;
    color: #0b2348;
}

.support-timeline {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-timeline__step {
    border: 1px solid rgba(223, 231, 242, 0.95);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.78rem 0.84rem;
}

.support-timeline__step span {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.support-timeline__step strong {
    display: block;
    margin-top: 0.34rem;
    font-size: 0.92rem;
    line-height: 1.4;
    color: #0b2348;
}

.support-timeline__step small {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.76rem;
    line-height: 1.45;
    color: #64748b;
}

.support-timeline__step--done {
    background: linear-gradient(180deg, rgba(11, 35, 72, 0.04), rgba(255, 255, 255, 0.92));
}

.support-timeline__step--current {
    border-color: rgba(11, 35, 72, 0.2);
    background: linear-gradient(180deg, rgba(11, 35, 72, 0.08), rgba(255, 255, 255, 0.96));
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.support-highlights {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.support-highlight {
    border-top: 1px solid rgba(223, 231, 242, 0.92);
    padding-top: 0.9rem;
}

.support-highlight span {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.support-highlight strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 1rem;
    line-height: 1.35;
    color: #0b2348;
}

.support-highlight small {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #64748b;
}

.support-message-list--chat {
    display: grid;
    gap: 0.75rem;
    max-height: clamp(320px, 48vh, 720px);
    overflow: auto;
    padding-right: 0.2rem;
}

.support-message {
    border-radius: 1.2rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(223, 231, 242, 0.95);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.support-message--participant {
    border-left: 4px solid rgba(59, 130, 246, 0.78);
}

.support-message--producer {
    border-left: 4px solid rgba(14, 116, 144, 0.72);
}

.support-message--admin {
    border-left: 4px solid rgba(11, 35, 72, 0.78);
}

.support-message--internal {
    border-left: 4px solid rgba(245, 158, 11, 0.86);
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.95), rgba(255, 255, 255, 0.95));
}

.support-message__identity {
    display: grid;
    gap: 0.14rem;
}

.support-message__channel {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 0.28rem 0.6rem;
    background: rgba(11, 35, 72, 0.06);
    color: #0b2348;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.support-message__channel--internal {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}

.support-message__body {
    margin-top: 0.72rem;
    font-size: 0.92rem;
    line-height: 1.75;
}

.support-side-list {
    display: grid;
    gap: 0.65rem;
}

.support-side-list__item {
    display: grid;
    gap: 0.18rem;
    border: 1px solid rgba(223, 231, 242, 0.95);
    border-radius: 1rem;
    background: rgba(248, 250, 252, 0.9);
    padding: 0.75rem 0.82rem;
}

.support-side-list__item strong {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.support-side-list__item span {
    font-size: 0.88rem;
    line-height: 1.5;
    color: #0b2348;
}

.support-stack-actions {
    display: grid;
    gap: 0.55rem;
}

.support-composer-grid--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.support-empty-card {
    border: 1px dashed rgba(203, 213, 225, 0.96);
    border-radius: 1.15rem;
    background: rgba(248, 250, 252, 0.9);
    padding: 0.95rem;
    font-size: 0.84rem;
    line-height: 1.6;
    color: #64748b;
}

@media (max-width: 1279px) {
    .support-shell--producer,
    .support-shell--admin {
        grid-template-columns: minmax(290px, 330px) minmax(0, 1fr);
    }

    .support-shell--producer .support-context,
    .support-shell--admin .support-context {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .support-shell,
    .support-shell--participant,
    .support-shell--producer,
    .support-shell--admin {
        grid-template-columns: minmax(0, 1fr);
    }

    .support-context,
    .support-shell--producer .support-context,
    .support-shell--admin .support-context,
    .support-case-meta-grid,
    .support-case-meta-grid--four,
    .support-timeline,
    .support-highlights,
    .support-topic-panel__grid,
    .support-composer-grid--split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .glass-header {
        padding: 1rem;
        border-radius: 1.6rem;
    }

    .glass-header__top,
    .glass-header__actions,
    .glass-header__body {
        flex-direction: column;
        align-items: stretch;
    }

    .glass-header__action {
        width: 100%;
        justify-content: center;
    }

    .glass-header__title {
        font-size: 1.8rem;
    }

    .glass-header__subtitle {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .glass-header--participant-home .glass-header__top {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        margin-bottom: 0.4rem;
    }

    .glass-header--participant-home .glass-header__actions {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 0.55rem;
        margin-left: auto;
    }

    .glass-header--participant-home .glass-header__action {
        width: 2.9rem;
        height: 2.9rem;
        padding: 0;
    }

    .glass-header--participant-home .glass-header__title {
        font-size: 1.65rem;
        line-height: 1.06;
    }

    .support-panel,
    .support-empty-stage {
        padding: 0.95rem;
    }

    .support-topic-grid,
    .support-filter-grid,
    .support-filter-grid--single,
    .support-context,
    .support-shell--producer .support-context,
    .support-shell--admin .support-context,
    .support-case-meta-grid,
    .support-case-meta-grid--four,
    .support-timeline,
    .support-highlights,
    .support-topic-panel__grid,
    .support-composer-grid--split {
        grid-template-columns: minmax(0, 1fr);
    }

    .support-drawer__summary,
    .support-thread-card__top,
    .support-thread-card__footer,
    .support-case-toolbar,
    .support-case-header__badges,
    .support-queue-pills,
    .support-filter-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .support-queue-tab,
    .support-topic-chip,
    .support-thread-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .support-thread-card__state {
        display: none;
    }

    .support-button,
    .support-drawer__toggle {
        width: 100%;
    }

    .support-queue-tab__count {
        justify-self: flex-start;
    }
}

.payments-config-shell {
    display: grid;
    gap: 1.35rem;
}

.payments-config-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
    gap: 1.35rem;
    align-items: start;
}

.payments-config-side {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.payments-config-panel {
    position: relative;
    overflow: hidden;
    padding: 1.28rem;
    border-radius: 1.65rem;
    border: 1px solid rgba(223, 231, 242, 0.92);
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.06), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.payments-config-panel--gateway::after,
.payments-config-panel--smtp::after {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, rgba(29, 63, 119, 0.92), rgba(94, 126, 183, 0.45), transparent 72%);
    opacity: 0.88;
}

.payments-config-panel--state::after,
.payments-config-panel--notes::after {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(29, 63, 119, 0.72), rgba(29, 63, 119, 0.12));
}

.payments-config-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.payments-config-head--compact {
    margin-bottom: 0.85rem;
}

.payments-config-copy {
    display: grid;
    gap: 0.44rem;
    min-width: 0;
}

.payments-config-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.payments-config-title {
    font-size: clamp(1.2rem, 1.65vw, 1.7rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #0b2348;
}

.payments-config-text {
    max-width: 46rem;
    font-size: 0.92rem;
    line-height: 1.65;
    color: #64748b;
}

.payments-config-callout {
    display: grid;
    gap: 0.34rem;
    min-width: 250px;
    max-width: 320px;
    padding: 0.9rem 1rem;
    border-radius: 1.2rem;
    border: 1px solid rgba(191, 203, 226, 0.78);
    background: linear-gradient(180deg, rgba(238, 244, 255, 0.96), rgba(255, 255, 255, 0.94));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.payments-config-callout strong {
    font-size: 0.83rem;
    color: #0b2348;
}

.payments-config-callout span {
    font-size: 0.8rem;
    line-height: 1.55;
    color: #64748b;
}

.payments-config-kpis {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.payments-config-kpi {
    display: grid;
    gap: 0.34rem;
    min-width: 0;
    padding: 0.92rem 0.96rem;
    border-radius: 1.22rem;
    border: 1px solid rgba(223, 231, 242, 0.96);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.payments-config-kpi span {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.payments-config-kpi strong {
    font-size: 1rem;
    line-height: 1.2;
    color: #0b2348;
}

.payments-config-kpi small {
    font-size: 0.78rem;
    line-height: 1.45;
    color: #64748b;
}

.payments-config-kpi.is-blue {
    background: linear-gradient(180deg, rgba(238, 244, 255, 0.98), rgba(255, 255, 255, 0.94));
    border-color: rgba(191, 203, 226, 0.9);
}

.payments-config-kpi.is-slate {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.94));
}

.payments-config-kpi.is-green {
    background: linear-gradient(180deg, rgba(236, 253, 245, 0.96), rgba(255, 255, 255, 0.94));
    border-color: rgba(134, 239, 172, 0.6);
}

.payments-config-kpi.is-amber {
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.96), rgba(255, 255, 255, 0.94));
    border-color: rgba(253, 186, 116, 0.62);
}

.payments-config-form {
    display: grid;
    gap: 0.95rem;
}

.payments-config-fieldset {
    display: grid;
    gap: 0.95rem;
    padding: 1rem;
    border-radius: 1.26rem;
    border: 1px solid rgba(223, 231, 242, 0.96);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.78), rgba(255, 255, 255, 0.95));
}

.payments-config-fieldset--primary {
    background: linear-gradient(180deg, rgba(240, 245, 255, 0.92), rgba(255, 255, 255, 0.95));
    border-color: rgba(191, 203, 226, 0.88);
}

.payments-config-fieldset-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.9rem;
}

.payments-config-fieldset-head strong {
    display: block;
    font-size: 0.94rem;
    color: #0b2348;
}

.payments-config-fieldset-head small {
    display: block;
    margin-top: 0.22rem;
    font-size: 0.8rem;
    line-height: 1.55;
    color: #64748b;
}

.payments-config-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(223, 231, 242, 0.94);
    background: rgba(255, 255, 255, 0.95);
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
}

.payments-config-chip.is-green {
    color: #15803d;
    background: rgba(236, 253, 245, 0.98);
    border-color: rgba(134, 239, 172, 0.72);
}

.payments-config-chip.is-amber {
    color: #b45309;
    background: rgba(255, 247, 237, 0.98);
    border-color: rgba(253, 186, 116, 0.68);
}

.payments-config-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.82rem;
}

.payments-config-field-grid--smtp-top {
    grid-template-columns: minmax(0, 1.2fr) minmax(120px, 0.45fr) minmax(160px, 0.55fr);
}

.payments-config-field-grid--smtp-bottom {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.payments-config-field {
    display: grid;
    gap: 0.4rem;
    min-width: 0;
}

.payments-config-field span {
    font-size: 0.77rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #64748b;
}

.payments-config-input {
    width: 100%;
    min-width: 0;
    min-height: 3.08rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(203, 213, 225, 0.95);
    background: rgba(255, 255, 255, 0.98);
    color: #0b2348;
    font-size: 0.93rem;
    line-height: 1.4;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 8px 18px rgba(15, 23, 42, 0.04);
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.payments-config-input:focus {
    outline: none;
    border-color: rgba(29, 63, 119, 0.46);
    box-shadow: 0 0 0 4px rgba(29, 63, 119, 0.08);
    background: #ffffff;
}

.payments-config-input::placeholder {
    color: #94a3b8;
}

.payments-config-note {
    display: grid;
    gap: 0.32rem;
    padding: 0.95rem 1rem;
    border-radius: 1.16rem;
    border: 1px dashed rgba(191, 203, 226, 0.84);
    background: linear-gradient(180deg, rgba(245, 248, 255, 0.94), rgba(255, 255, 255, 0.94));
}

.payments-config-note strong {
    font-size: 0.8rem;
    color: #0b2348;
}

.payments-config-note span {
    font-size: 0.82rem;
    line-height: 1.58;
    color: #64748b;
}

.payments-config-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.payments-config-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 3rem;
    padding: 0.82rem 1.18rem;
    border-radius: 999px;
    border: 0;
    background: linear-gradient(135deg, #1d3f77, #325894);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    box-shadow: 0 14px 28px rgba(29, 63, 119, 0.22);
    transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

.payments-config-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(29, 63, 119, 0.26);
    filter: saturate(1.03);
}

.payments-config-button:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(29, 63, 119, 0.12), 0 18px 32px rgba(29, 63, 119, 0.26);
}

.payments-config-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.74rem;
}

.payments-config-status-card {
    display: grid;
    gap: 0.34rem;
    min-width: 0;
    padding: 0.92rem 0.95rem;
    border-radius: 1.12rem;
    border: 1px solid rgba(223, 231, 242, 0.94);
    background: rgba(248, 250, 252, 0.9);
}

.payments-config-status-card span {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #64748b;
}

.payments-config-status-card strong {
    font-size: 0.9rem;
    line-height: 1.45;
    color: #0b2348;
    overflow-wrap: anywhere;
}

.payments-config-checklist {
    display: grid;
    gap: 0.62rem;
}

.payments-config-tip {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.72rem;
    align-items: flex-start;
    padding: 0.8rem 0.86rem;
    border-radius: 1rem;
    border: 1px solid rgba(223, 231, 242, 0.94);
    background: rgba(248, 250, 252, 0.84);
}

.payments-config-tip-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    color: #15803d;
    background: rgba(236, 253, 245, 0.98);
    border: 1px solid rgba(134, 239, 172, 0.72);
}

.payments-config-tip p {
    margin: 0;
    font-size: 0.84rem;
    line-height: 1.6;
    color: #334155;
}

.payments-audit-shell {
    display: grid;
    gap: 1.35rem;
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.06), transparent 26%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 249, 252, 0.96));
}

.payments-audit-head {
    gap: 1rem;
}

.payments-audit-kicker {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.payments-audit-title {
    letter-spacing: -0.03em;
}

.payments-audit-text {
    max-width: 50rem;
}

.payments-audit-timestamp {
    min-width: 235px;
    border: 1px solid rgba(223, 231, 242, 0.92);
    background: linear-gradient(180deg, rgba(244, 247, 252, 0.96), rgba(255, 255, 255, 0.94));
}

.payments-audit-timestamp strong {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.95rem;
}

.payments-audit-topgrid,
.payments-audit-bottomgrid {
    align-items: start;
}

.payments-audit-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 30%),
        linear-gradient(135deg, #183966 0%, #1d3f77 62%, #234987 100%);
    border: 1px solid rgba(29, 63, 119, 0.32);
}

.payments-audit-hero::after {
    content: "";
    position: absolute;
    inset: auto -15% -35% auto;
    width: 240px;
    height: 240px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 72%);
    pointer-events: none;
}

.payments-audit-hero-grid {
    position: relative;
    z-index: 1;
}

.payments-audit-hero-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.payments-audit-base {
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.payments-audit-panel {
    border: 1px solid rgba(223, 231, 242, 0.94);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.94));
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.05);
}

.payments-audit-stack {
    display: grid;
    gap: 0.68rem;
}

.payments-audit-line {
    border: 1px solid rgba(223, 231, 242, 0.84);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.76);
}

.payments-audit-line--success {
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.94), rgba(255, 255, 255, 0.96));
}

.payments-audit-line--blue {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.94), rgba(255, 255, 255, 0.96));
}

.payments-audit-line--orange {
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.95), rgba(255, 255, 255, 0.96));
}

.payments-audit-line--danger {
    background: linear-gradient(180deg, rgba(254, 242, 242, 0.95), rgba(255, 255, 255, 0.96));
}

.payments-audit-alerts {
    align-items: stretch;
}

.payments-audit-alert-card {
    border: 1px solid rgba(223, 231, 242, 0.88);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.payments-audit-list {
    display: grid;
    gap: 0.8rem;
}

.payments-audit-item {
    border: 1px solid rgba(223, 231, 242, 0.9);
    background:
        linear-gradient(180deg, rgba(245, 248, 255, 0.86), rgba(255, 255, 255, 0.96));
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.payments-audit-item-actions {
    align-items: stretch;
}

.payments-audit-balance {
    min-width: 136px;
    border: 1px solid rgba(223, 231, 242, 0.92);
}

.payments-audit-metrics {
    border: 1px solid rgba(223, 231, 242, 0.94);
    background: rgba(223, 231, 242, 0.8);
}

.payments-audit-pills span {
    border: 1px solid rgba(223, 231, 242, 0.88);
    background: rgba(255, 255, 255, 0.98);
}

.payments-audit-rank {
    border: 1px solid rgba(223, 231, 242, 0.88);
}

.payments-audit-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding-bottom: 0.2rem;
}

.payments-audit-selector__item {
    display: grid;
    gap: 0.18rem;
    min-width: 180px;
    padding: 0.82rem 0.95rem;
    border-radius: 1.08rem;
    border: 1px solid rgba(223, 231, 242, 0.92);
    background: rgba(248, 250, 252, 0.86);
    color: #0b2348;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
    transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.payments-audit-selector__item:hover {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(191, 203, 226, 0.96);
    transform: translateY(-1px);
}

.payments-audit-selector__item.is-active {
    background: linear-gradient(180deg, rgba(238, 244, 255, 0.98), rgba(255, 255, 255, 0.96));
    border-color: rgba(94, 126, 183, 0.5);
    box-shadow: 0 10px 22px rgba(29, 63, 119, 0.08);
}

.payments-audit-selector__title {
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.35;
    color: #0b2348;
}

.payments-audit-selector__meta {
    font-size: 0.74rem;
    line-height: 1.45;
    color: #64748b;
}

.payments-audit-focus {
    display: grid;
    gap: 0.95rem;
}

.payments-audit-focus__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.95rem;
}

.payments-audit-focus__identity {
    display: grid;
    gap: 0.38rem;
    min-width: 0;
}

.payments-audit-focus__meta {
    font-size: 0.84rem;
    line-height: 1.6;
    color: #64748b;
}

.payments-audit-focus__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.payments-audit-balance--highlight {
    min-width: 148px;
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.96), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(134, 239, 172, 0.55);
}

.payments-audit-focus-grid {
    display: grid;
    gap: 0.72rem;
}

.payments-audit-focus-grid--primary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.payments-audit-focus-grid--secondary {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.payments-audit-metric-card {
    display: grid;
    gap: 0.34rem;
    padding: 0.92rem 0.96rem;
    border-radius: 1.08rem;
    border: 1px solid rgba(223, 231, 242, 0.92);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.payments-audit-metric-card span {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #64748b;
}

.payments-audit-metric-card strong {
    font-size: 1rem;
    line-height: 1.28;
    color: #0b2348;
}

.payments-audit-metric-card.is-blue {
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.94), rgba(255, 255, 255, 0.98));
}

.payments-audit-metric-card.is-orange {
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.94), rgba(255, 255, 255, 0.98));
}

.payments-audit-metric-card.is-slate {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.98));
}

.payments-audit-metric-card.is-green {
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.94), rgba(255, 255, 255, 0.98));
}

.payments-audit-metric-card.is-amber-soft {
    background: linear-gradient(180deg, rgba(255, 251, 235, 0.95), rgba(255, 255, 255, 0.98));
}

.payments-audit-metric-card.is-blue-soft {
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.96), rgba(255, 255, 255, 0.98));
}

.payments-audit-metric-card.is-rose-soft {
    background: linear-gradient(180deg, rgba(254, 242, 242, 0.95), rgba(255, 255, 255, 0.98));
}

@media (max-width: 1279px) {
    .payments-audit-topgrid,
    .payments-audit-bottomgrid {
        grid-template-columns: minmax(0, 1fr);
    }

    .payments-audit-focus-grid--primary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .payments-audit-shell {
        gap: 1rem;
    }

    .payments-audit-head {
        gap: 0.85rem;
    }

    .payments-audit-hero,
    .payments-audit-panel {
        padding: 1rem;
        border-radius: 1.35rem;
    }

    .payments-audit-timestamp {
        min-width: 0;
    }

    .payments-audit-item-actions {
        width: 100%;
    }

    .payments-audit-balance {
        min-width: 0;
        width: 100%;
    }

    .payments-audit-selector {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    .payments-audit-selector__item {
        min-width: 0;
    }

    .payments-audit-focus__head,
    .payments-audit-focus__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .payments-audit-focus-grid--primary,
    .payments-audit-focus-grid--secondary {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 1279px) {
    .payments-config-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .payments-config-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1023px) {
    .payments-config-kpis,
    .payments-config-field-grid--smtp-bottom {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .payments-config-field-grid--smtp-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .payments-config-panel {
        padding: 1rem;
        border-radius: 1.3rem;
    }

    .payments-config-head,
    .payments-config-fieldset-head {
        flex-direction: column;
        align-items: stretch;
    }

    .payments-config-callout {
        min-width: 0;
        max-width: none;
    }

    .payments-config-kpis,
    .payments-config-side,
    .payments-config-field-grid,
    .payments-config-field-grid--smtp-top,
    .payments-config-field-grid--smtp-bottom,
    .payments-config-status-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .payments-config-actions,
    .payments-config-button {
        width: 100%;
    }
}

.orders-admin-metrics {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.orders-admin-metric {
    position: relative;
    overflow: hidden;
    min-height: 138px;
    border-radius: 1.9rem;
    padding: 1.2rem 1.35rem;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(206, 218, 242, 0.75);
    background: rgba(255, 255, 255, 0.88);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.orders-admin-metric::after {
    content: '';
    position: absolute;
    inset: auto -12% -48% auto;
    width: 8rem;
    height: 8rem;
    border-radius: 999px;
    opacity: 0.14;
    background: currentColor;
    filter: blur(2px);
}

.orders-admin-metric--primary {
    background: linear-gradient(145deg, #1f3767, #29477e);
    color: #ffffff;
    border-color: rgba(37, 72, 131, 0.9);
}

.orders-admin-metric--warning {
    color: #b45309;
    background: linear-gradient(180deg, rgba(255, 247, 237, 0.96), rgba(255, 255, 255, 0.98));
}

.orders-admin-metric--neutral {
    color: #1d4ed8;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.99));
}

.orders-admin-metric--success {
    color: #15803d;
    background: linear-gradient(180deg, rgba(240, 253, 244, 0.96), rgba(255, 255, 255, 0.99));
}

.orders-admin-metric__eyebrow {
    position: relative;
    z-index: 1;
    font-size: 0.72rem;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    opacity: 0.7;
}

.orders-admin-metric__value {
    position: relative;
    z-index: 1;
    font-size: 2.1rem;
    line-height: 1;
    font-weight: 700;
    color: inherit;
}

.orders-admin-metric__caption {
    position: relative;
    z-index: 1;
    font-size: 0.92rem;
    line-height: 1.45;
    color: currentColor;
    opacity: 0.84;
}

.orders-admin-filter {
    padding: 1.35rem;
    border-radius: 2rem;
}

.orders-admin-filter__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
}

.orders-admin-filter__eyebrow {
    font-size: 0.72rem;
    line-height: 1.1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(81, 104, 145, 0.92);
}

.orders-admin-filter__title {
    margin-top: 0.55rem;
    font-size: 1.65rem;
    line-height: 1.1;
    font-weight: 700;
    color: #193261;
}

.orders-admin-filter__text {
    margin-top: 0.45rem;
    max-width: 46rem;
    font-size: 0.96rem;
    line-height: 1.55;
    color: #627492;
}

.orders-admin-filter__summary {
    min-width: 220px;
    padding: 0.9rem 1rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, rgba(245, 248, 255, 0.96), rgba(255, 255, 255, 0.98));
    border: 1px solid rgba(206, 218, 242, 0.82);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.orders-admin-filter__scope {
    font-size: 0.76rem;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #27457e;
}

.orders-admin-filter__meta {
    font-size: 0.95rem;
    line-height: 1.45;
    font-weight: 600;
    color: #49607f;
}

.orders-admin-filter__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.45fr) repeat(4, minmax(0, 0.9fr)) auto;
}

.orders-admin-filter__label {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 0.86rem;
    line-height: 1.2;
    font-weight: 700;
    color: #66748e;
}

.orders-admin-filter__field {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 1.35rem;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.95rem 1rem;
    color: #1f2f4d;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
    outline: none;
    border: 1px solid rgba(208, 218, 237, 0.9);
}

.orders-admin-filter__field:focus {
    border-color: rgba(56, 103, 184, 0.9);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 16px 35px rgba(15, 23, 42, 0.08);
}

.orders-admin-filter__actions {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
}

.orders-admin-filter__clear,
.orders-admin-filter__submit {
    min-height: 56px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0 1.2rem;
    font-weight: 700;
    text-decoration: none;
}

.orders-admin-filter__clear {
    background: rgba(255, 255, 255, 0.92);
    color: #4d6283;
    border: 1px solid rgba(208, 218, 237, 0.9);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.05);
}

.orders-admin-filter__submit {
    min-width: 148px;
    background: linear-gradient(145deg, #1f3767, #29477e);
    color: #ffffff;
    border: 0;
    box-shadow: 0 18px 36px rgba(31, 55, 103, 0.24);
}

.orders-admin-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(223, 231, 242, 0.92);
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.orders-admin-card__layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 1rem;
    align-items: start;
}

.orders-admin-card__identity {
    display: grid;
    gap: 0.82rem;
    min-width: 0;
}

.orders-admin-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.orders-admin-card__token,
.orders-admin-card__status,
.orders-admin-card__producer,
.order-sheet__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2rem;
    border-radius: 9999px;
    padding: 0.38rem 0.8rem;
    border: 1px solid rgba(223, 231, 242, 0.92);
    background: rgba(248, 250, 252, 0.9);
    color: #1d3f77;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1;
}

.orders-admin-card__token {
    background: rgba(29, 63, 119, 0.08);
}

.orders-admin-card__status.is-success {
    background: rgba(220, 252, 231, 0.88);
    border-color: rgba(134, 239, 172, 0.9);
    color: #166534;
}

.orders-admin-card__status.is-warning {
    background: rgba(255, 247, 237, 0.94);
    border-color: rgba(253, 186, 116, 0.86);
    color: #c2410c;
}

.orders-admin-card__status.is-danger {
    background: rgba(254, 242, 242, 0.95);
    border-color: rgba(252, 165, 165, 0.9);
    color: #b91c1c;
}

.orders-admin-card__status.is-neutral {
    background: rgba(239, 246, 255, 0.92);
    border-color: rgba(191, 219, 254, 0.9);
    color: #1d4ed8;
}

.orders-admin-card__producer {
    background: rgba(29, 63, 119, 0.06);
    color: #0f172a;
}

.orders-admin-card__event {
    margin: 0;
    font-size: clamp(1.42rem, 2.4vw, 1.9rem);
    line-height: 1.08;
    color: #0b2348;
}

.orders-admin-card__person {
    display: grid;
    gap: 0.18rem;
}

.orders-admin-card__person strong {
    font-size: 1rem;
    color: #0b2348;
}

.orders-admin-card__person span {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.45;
    word-break: break-word;
}

.orders-admin-card__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    align-items: center;
}

.orders-admin-card__summary-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    min-height: 2.2rem;
    border-radius: 9999px;
    padding: 0.48rem 0.82rem;
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid rgba(223, 231, 242, 0.92);
    color: #334155;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.orders-admin-card__summary-text {
    flex: 1 1 100%;
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.5;
}

.orders-admin-card__stats {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.orders-admin-card__metric {
    display: grid;
    gap: 0.34rem;
    min-height: 100%;
    padding: 0.92rem 0.95rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(223, 231, 242, 0.92);
    background: rgba(255, 255, 255, 0.94);
}

.orders-admin-card__metric-label {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 700;
}

.orders-admin-card__metric-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0b2348;
    line-height: 1.1;
}

.orders-admin-card__metric-value--text {
    font-size: 0.94rem;
    line-height: 1.3;
}

.orders-admin-card__footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(223, 231, 242, 0.9);
}

.orders-admin-card__hint {
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.55;
}

.orders-admin-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.7rem;
}

.orders-admin-card__detail-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(29, 63, 119, 0.18);
    border-radius: 9999px;
    background: #fff;
    color: #1d3f77;
    padding: 0.86rem 1rem;
    font-size: 0.86rem;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.orders-admin-card__detail-trigger:hover {
    border-color: rgba(29, 63, 119, 0.38);
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

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

.order-sheet.hidden {
    display: none;
}

.order-sheet {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.4rem;
}

.order-sheet__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 17, 32, 0.52);
    backdrop-filter: blur(8px);
}

.order-sheet__panel {
    position: relative;
    width: min(1120px, calc(100vw - 2.4rem));
    max-height: calc(100vh - 2.8rem);
    overflow: hidden;
    border-radius: 2rem;
    border: 1px solid rgba(223, 231, 242, 0.92);
    background:
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(248, 250, 252, 0.97));
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.22);
}

.order-sheet__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.3rem 1.35rem 1rem;
    border-bottom: 1px solid rgba(223, 231, 242, 0.92);
}

.order-sheet__kicker {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #64748b;
}

.order-sheet__title {
    margin: 0.18rem 0 0;
    font-size: 1.55rem;
    line-height: 1.1;
    color: #0b2348;
}

.order-sheet__close {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border: 1px solid rgba(223, 231, 242, 0.92);
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.94);
    color: #1d3f77;
    padding: 0.72rem 0.95rem;
    font-size: 0.86rem;
    font-weight: 700;
}

.order-sheet__body {
    max-height: calc(100vh - 9rem);
    overflow: auto;
    padding: 1.2rem 1.35rem 1.35rem;
}

.order-sheet__content {
    display: grid;
    gap: 1rem;
}

.order-sheet__hero {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.15rem 1.2rem;
    border-radius: 1.55rem;
    border: 1px solid rgba(223, 231, 242, 0.92);
    background: rgba(255, 255, 255, 0.92);
}

.order-sheet__order-ref {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #64748b;
}

.order-sheet__event {
    margin: 0.35rem 0 0;
    font-size: clamp(1.42rem, 2vw, 1.85rem);
    line-height: 1.08;
    color: #0b2348;
}

.order-sheet__person {
    display: grid;
    gap: 0.18rem;
    margin-top: 0.58rem;
}

.order-sheet__person strong {
    font-size: 0.98rem;
    color: #0b2348;
}

.order-sheet__person span {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.45;
    word-break: break-word;
}

.order-sheet__hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    justify-content: flex-end;
}

.order-sheet__metrics {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.order-sheet__metric-card,
.order-sheet__info-card,
.order-sheet__list-row,
.order-sheet__ticket {
    border: 1px solid rgba(223, 231, 242, 0.92);
    border-radius: 1.3rem;
    background: rgba(255, 255, 255, 0.94);
}

.order-sheet__metric-card {
    display: grid;
    gap: 0.34rem;
    padding: 0.95rem 1rem;
}

.order-sheet__metric-card span,
.order-sheet__info-card span {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
    font-weight: 800;
}

.order-sheet__metric-card strong,
.order-sheet__info-card strong {
    color: #0b2348;
    line-height: 1.25;
}

.order-sheet__metric-card strong {
    font-size: 1.05rem;
}

.order-sheet__metric-card small,
.order-sheet__info-card small,
.order-sheet__list-row small,
.order-sheet__ticket-head small,
.order-sheet__ticket-grid span {
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.45;
}

.order-sheet__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.order-sheet__section {
    display: grid;
    gap: 0.75rem;
}

.order-sheet__section-title {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #64748b;
}

.order-sheet__info-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-sheet__info-card {
    display: grid;
    gap: 0.35rem;
    padding: 0.92rem 1rem;
}

.order-sheet__list {
    display: grid;
    gap: 0.7rem;
}

.order-sheet__list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.92rem 1rem;
}

.order-sheet__list-row strong {
    display: block;
    color: #0b2348;
    font-size: 0.96rem;
}

.order-sheet__list-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.6rem;
    color: #0b2348;
    font-size: 0.84rem;
    font-weight: 700;
}

.order-sheet__tickets {
    display: grid;
    gap: 0.75rem;
}

.order-sheet__ticket {
    display: grid;
    gap: 0.82rem;
    padding: 0.95rem 1rem;
}

.order-sheet__ticket-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
}

.order-sheet__ticket-head strong {
    color: #0b2348;
    font-size: 0.96rem;
}

.order-sheet__ticket-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    padding: 0.34rem 0.72rem;
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1;
    border: 1px solid rgba(223, 231, 242, 0.92);
    background: rgba(248, 250, 252, 0.9);
    color: #1d3f77;
}

.order-sheet__ticket-status.is-active {
    background: rgba(220, 252, 231, 0.88);
    border-color: rgba(134, 239, 172, 0.9);
    color: #166534;
}

.order-sheet__ticket-status.is-used {
    background: rgba(239, 246, 255, 0.92);
    border-color: rgba(191, 219, 254, 0.9);
    color: #1d4ed8;
}

.order-sheet__ticket-status.is-cancelled {
    background: rgba(254, 242, 242, 0.95);
    border-color: rgba(252, 165, 165, 0.88);
    color: #b91c1c;
}

.order-sheet__ticket-grid {
    display: grid;
    gap: 0.55rem 0.8rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-sheet__empty {
    padding: 1rem 1.05rem;
    border-radius: 1.3rem;
    border: 1px dashed rgba(203, 213, 225, 0.95);
    background: rgba(248, 250, 252, 0.92);
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.55;
}

.order-sheet__ops {
    display: grid;
    gap: 0.8rem;
    padding: 1rem 1.05rem;
    border-radius: 1.35rem;
    border: 1px solid rgba(223, 231, 242, 0.92);
    background: rgba(248, 250, 252, 0.92);
}

.order-sheet__ops-copy,
.order-sheet__ticket-note {
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.55;
}

.order-sheet__ops-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.order-sheet__op-form {
    display: inline-flex;
}

.order-sheet__op-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.85rem;
    padding: 0.82rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(223, 231, 242, 0.92);
    background: #fff;
    color: #0b2348;
    font-size: 0.85rem;
    font-weight: 700;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.order-sheet__op-button:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(15, 23, 42, 0.08);
}

.order-sheet__op-button:disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

.order-sheet__op-button--primary {
    background: linear-gradient(145deg, #1f3767, #29477e);
    border-color: transparent;
    color: #fff;
}

.order-sheet__op-button--success {
    background: rgba(220, 252, 231, 0.92);
    border-color: rgba(134, 239, 172, 0.92);
    color: #166534;
}

.order-sheet__op-button--warning {
    background: rgba(255, 247, 237, 0.94);
    border-color: rgba(253, 186, 116, 0.9);
    color: #c2410c;
}

.order-sheet__op-button--danger {
    background: rgba(254, 242, 242, 0.95);
    border-color: rgba(252, 165, 165, 0.92);
    color: #b91c1c;
}

.order-sheet__ticket-manage {
    border-top: 1px solid rgba(223, 231, 242, 0.92);
    padding-top: 0.85rem;
}

.order-sheet__ticket-manage summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    cursor: pointer;
    list-style: none;
}

.order-sheet__ticket-manage summary::-webkit-details-marker {
    display: none;
}

.order-sheet__ticket-manage summary span {
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0b2348;
}

.order-sheet__ticket-manage-body {
    display: grid;
    gap: 0.9rem;
    margin-top: 0.85rem;
}

.order-sheet__ticket-transfer {
    display: grid;
    gap: 0.8rem;
}

.order-sheet__field {
    display: grid;
    gap: 0.34rem;
}

.order-sheet__field-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.order-sheet__field-input {
    width: 100%;
    min-height: 2.95rem;
    border-radius: 1rem;
    border: 1px solid rgba(208, 218, 237, 0.9);
    background: rgba(255, 255, 255, 0.96);
    color: #1f2f4d;
    padding: 0.82rem 0.9rem;
    font-size: 0.88rem;
    outline: none;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.order-sheet__field-input:focus {
    border-color: rgba(56, 103, 184, 0.88);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 14px 24px rgba(15, 23, 42, 0.08);
}

.order-sheet__ticket-toolbar,
.order-sheet__ticket-inline-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
}

@media (max-width: 1279px) {
    .orders-admin-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .orders-admin-filter__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .orders-admin-filter__actions {
        grid-column: 1 / -1;
        justify-content: flex-end;
    }

    .orders-admin-card__layout {
        grid-template-columns: minmax(0, 1fr);
    }

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

    .order-sheet__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767px) {
    .orders-admin-metrics {
        grid-template-columns: minmax(0, 1fr);
    }

    .orders-admin-filter {
        padding: 1rem;
        border-radius: 1.5rem;
    }

    .orders-admin-filter__head {
        flex-direction: column;
    }

    .orders-admin-filter__summary {
        width: 100%;
        min-width: 0;
    }

    .orders-admin-filter__title {
        font-size: 1.35rem;
    }

    .orders-admin-filter__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .orders-admin-filter__actions {
        grid-column: auto;
        flex-direction: column;
        align-items: stretch;
    }

    .orders-admin-filter__clear,
    .orders-admin-filter__submit {
        width: 100%;
    }

    .orders-admin-card {
        padding: 1rem;
        border-radius: 1.6rem;
    }

    .orders-admin-card__stats,
    .order-sheet__metrics,
    .order-sheet__info-grid,
    .order-sheet__ticket-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .orders-admin-card__footer,
    .order-sheet__hero,
    .order-sheet__ticket-head,
    .order-sheet__list-row {
        grid-template-columns: minmax(0, 1fr);
        flex-direction: column;
        align-items: flex-start;
    }

    .orders-admin-card__actions {
        justify-content: flex-start;
    }

    .orders-admin-card__summary-pill,
    .orders-admin-card__detail-trigger {
        width: 100%;
        justify-content: center;
    }

    .order-sheet {
        padding: 0.6rem;
        align-items: flex-end;
    }

    .order-sheet__panel {
        width: 100%;
        max-height: calc(100vh - 0.8rem);
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .order-sheet__header,
    .order-sheet__body {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .order-sheet__hero-badges,
    .order-sheet__list-meta,
    .order-sheet__ticket-toolbar,
    .order-sheet__ticket-inline-action {
        justify-content: flex-start;
    }

    .order-sheet__ops-grid,
    .order-sheet__op-form,
    .order-sheet__op-button {
        width: 100%;
    }
}
