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

    /* ── Design tokens (homologação UX participante) ──────────────────────
       Escala única para raios, espaçamento, sombras, foco e cores semânticas.
       Aplicada de forma incremental no fluxo do participante; valores legados
       continuam funcionando até serem migrados. Não troca a identidade visual. */

    /* Cores de marca / semânticas */
    --brand-text: #132238;
    --brand-muted: #64748b;
    --brand-stroke: #dce3ee;
    --brand-pale: #eff2f7;
    --brand-success: #1f9d68;
    --brand-warning: #f59e0b;
    --brand-danger: #e15241;

    /* Raio (border-radius) — substitui rounded-[16..40px] espalhados */
    --radius-xs: 0.625rem;  /* 10px  chips/badges */
    --radius-sm: 0.875rem;  /* 14px  inputs/botões */
    --radius-md: 1.25rem;   /* 20px  cards internos */
    --radius-lg: 1.5rem;    /* 24px  cards padrão */
    --radius-xl: 1.75rem;   /* 28px  cards de destaque */
    --radius-2xl: 2.125rem; /* 34px  superfícies grandes */
    --radius-pill: 9999px;

    /* Espaçamento (ritmo vertical/horizontal) */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;

    /* Elevação / sombras */
    --shadow-soft: 0 16px 40px rgba(16, 24, 40, 0.08);
    --shadow-glass: 0 20px 60px rgba(11, 35, 72, 0.18);
    --shadow-card: 0 20px 58px rgba(11, 35, 72, 0.075);

    /* Elevação contida (premium, menos "flutuante") — refinamento evento/checkout */
    --elev-1: 0 1px 2px rgba(11, 35, 72, 0.04), 0 6px 16px rgba(11, 35, 72, 0.05);
    --elev-2: 0 2px 6px rgba(11, 35, 72, 0.05), 0 14px 32px rgba(11, 35, 72, 0.07);
    --hairline: 1px solid rgba(11, 35, 72, 0.08);

    /* Foco acessível (WCAG 2.4.7) */
    --focus-ring: 0 0 0 3px rgba(255, 255, 255, 0.9), 0 0 0 5px rgba(33, 74, 134, 0.55);
    --focus-ring-color: #214a86;

    /* Alvo de toque mínimo confortável */
    --touch-target: 2.75rem; /* 44px */
}

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;
}

/* Carteira de ingressos: topo em linha com Sair só ícone no canto. */
.glass-header--wallet .glass-header__top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.glass-header--wallet .glass-header__actions {
    margin-left: auto;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    width: auto;
}

.glass-header--wallet .glass-header__action {
    width: 2.6rem;
    justify-content: center;
}

.glass-header--wallet .glass-header__action--icon-only {
    width: 2.6rem;
    height: 2.6rem;
    color: #44587a;
}

/* Neutraliza o grid de 2/1 colunas do support-hub quando usamos o modificador
   --wallet (mantém os botões como pílulas alinhadas à direita do header).
   `!important` é necessário para vencer regras posteriores em media queries
   estreitas que forçam grid 1fr/2fr. */
.support-hub--participant-chat > .glass-header--wallet .glass-header__actions {
    display: flex !important;
    position: static !important;
    grid-template-columns: none !important;
    width: auto !important;
    margin-left: auto !important;
    justify-content: flex-end !important;
    flex-direction: row !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

.support-hub--participant-chat > .glass-header--wallet .glass-header__action {
    width: 2.6rem !important;
    height: 2.6rem !important;
}

/* Header em linha única: logo + título + ícones, todos centralizados. */
.support-hub--participant-chat > .glass-header--wallet .glass-header__top {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.glass-header--wallet .glass-header__body {
    display: block;
}

.glass-header--wallet .glass-header__eyebrow {
    margin-bottom: 0.4rem;
}

.glass-header--wallet .glass-header__title {
    font-size: clamp(1.85rem, 5vw, 2.3rem);
}

.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__heading {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
}

.participant-home-filter__heading-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    flex: none;
    border-radius: 0.85rem;
    background: rgba(11, 35, 72, 0.07);
    color: #214a86;
}

.participant-home-filter__title {
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1.2;
    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.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(100, 116, 139, 0.7);
}

.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(11rem, 24vw, 22rem);
    aspect-ratio: 16 / 7;
}

.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: cover;
    object-position: center;
}

/* Scrim inferior: dá legibilidade aos dots e profundidade ao banner. */
.participant-home-banner__slide.is-active::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 38%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(7, 18, 40, 0) 0%, rgba(7, 18, 40, 0.42) 100%);
}

.participant-home-banner__arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    margin-top: -1.1rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(11, 35, 72, 0.34);
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 6px 16px rgba(7, 18, 40, 0.22);
    opacity: 0.85;
    transition: background-color 160ms ease, opacity 160ms ease, transform 160ms ease;
}

.participant-home-banner__arrow:hover {
    background: rgba(11, 35, 72, 0.55);
    opacity: 1;
    transform: scale(1.06);
}

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

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

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

.participant-home-banner__dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.55);
    border: none;
    box-shadow: 0 1px 3px rgba(7, 18, 40, 0.3);
    transition: transform 160ms ease, background-color 160ms ease, width 160ms ease;
}

.participant-home-banner__dot.is-active {
    width: 1.4rem;
    background: #fff;
}

.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.is-sold-out {
    opacity: 0.62;
}

.participant-ticket-choice__pills .is-sold-out {
    background: rgba(11, 35, 72, 0.1);
    color: #516177;
}

.participant-ticket-choice__pills .is-low-stock {
    background: rgba(220, 38, 38, 0.1);
    color: #b91c1c;
}

.participant-ticket-choice__soldout-label {
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.08);
    color: #516177;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.5rem 0.9rem;
}

.participant-ticket-choice__stock {
    margin-top: 0.35rem;
    color: #b91c1c;
    font-size: 0.72rem;
    font-weight: 800;
}

.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: 16 / 7;
    }

    .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: 1.08rem;
    }
}

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

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

    .participant-home-banner__arrow {
        width: 2rem;
        height: 2rem;
        margin-top: -1rem;
    }

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

    .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;
    position: relative;
    overflow: hidden;
    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;
    transition: border-color 0.18s, background 0.18s, box-shadow 0.18s;
}
.participant-checkout-payment::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 3.5px;
    border-radius: 0 3px 3px 0;
    background: transparent;
    transition: background 0.18s;
}

.payment-method-card.participant-checkout-payment.is-selected {
    border-color: rgba(238, 125, 29, 0.25);
    background: linear-gradient(135deg, rgba(238, 125, 29, 0.05), rgba(255, 255, 255, 0.95));
    box-shadow: 0 8px 28px rgba(238, 125, 29, 0.1);
    transform: none;
}
.payment-method-card.participant-checkout-payment.is-selected::before {
    background: linear-gradient(to bottom, #ee7d1d, #f59038);
}

.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;
    transition: background 0.18s, color 0.18s;
}
.participant-checkout-payment.is-selected .participant-checkout-payment__icon {
    background: rgba(238, 125, 29, 0.12);
    color: #c9640f;
}

.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(238, 125, 29, 0.4);
    box-shadow: 0 0 0 3px rgba(238, 125, 29, 0.12);
    outline: none;
}

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

.participant-checkout__coupon-title {
    display: block;
    margin-bottom: 0.4rem;
    color: #66758b;
    font-size: 0.78rem;
    font-weight: 850;
}

.participant-checkout__coupon-row {
    display: flex;
    gap: 0.5rem;
    align-items: stretch;
}

.participant-checkout__coupon-row input {
    flex: 1 1 auto;
    min-width: 0;
}

.participant-checkout__coupon-row button[data-coupon-apply] {
    flex: 0 0 auto;
    border: 0;
    border-radius: 1rem;
    background: #0b2348;
    color: #fff;
    font-weight: 850;
    font-size: 0.9rem;
    padding: 0 1.25rem;
    cursor: pointer;
}

.participant-checkout__coupon-row button[data-coupon-apply]:disabled {
    opacity: 0.6;
    cursor: default;
}

.participant-checkout__coupon-feedback {
    margin: 0.55rem 0 0;
    font-size: 0.82rem;
    font-weight: 800;
}

.participant-checkout__coupon-feedback.is-error {
    color: #c0392b;
}

.participant-checkout__coupon-feedback.is-success {
    color: #1f8a56;
}

.participant-checkout__coupon-remove {
    margin-top: 0.5rem;
    border: 0;
    background: transparent;
    color: #66758b;
    font-size: 0.8rem;
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.participant-checkout__installments-hint {
    margin-top: 0.35rem;
    color: #8a97aa;
    font-size: 0.72rem;
    font-weight: 700;
}

.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: fixed;
    left: 0;
    right: 0;
    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: linear-gradient(135deg, #0b2348 0%, #214a86 100%);
    color: #fff;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 900;
    padding: 0.95rem 1.25rem;
    white-space: nowrap;
    box-shadow: 0 8px 22px rgba(11, 35, 72, 0.3);
    transition: background 0.18s, box-shadow 0.18s;
}
.participant-checkout__floating-submit button:hover {
    background: linear-gradient(135deg, #0d2a55 0%, #2557a0 100%);
    box-shadow: 0 10px 28px rgba(11, 35, 72, 0.38);
}
.participant-checkout__floating-submit button:disabled {
    cursor: wait;
    opacity: 0.75;
}

@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;
    }
}

/* Checkout: section eyebrow badge */
.participant-checkout__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    background: rgba(11, 35, 72, 0.065);
    color: #516177;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem 0.3rem 0.45rem;
    margin-bottom: 0.35rem;
}
.participant-checkout__eyebrow svg {
    flex-shrink: 0;
    opacity: 0.75;
}

/* Checkout: info pills row (trust signals near payment) */
.participant-checkout__info-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.85rem;
}
.participant-checkout__info-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    background: rgba(11, 35, 72, 0.055);
    color: #0b2348;
    font-size: 0.75rem;
    font-weight: 750;
    padding: 0.32rem 0.7rem;
}

/* Checkout: holder card with pending indicator bar */
.participant-checkout-holder {
    position: relative;
    overflow: hidden;
}
.participant-checkout-holder::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3.5px;
    border-radius: 0 3px 3px 0;
    background: rgba(238, 125, 29, 0.5);
}

/* Mobile checkout: hide aside summary (floating bar shows total) */
@media (max-width: 640px) {
    .participant-checkout__aside {
        display: none;
    }
}

.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%, 34rem);
    max-height: calc(100vh - 0.8rem);
    overflow-y: auto;
    margin: 0.75rem;
    border-radius: 1.75rem;
    /* Bandeja sólida (cor de mesa de bilheteria): os furos da perfuração casam com ela. */
    background: #e9eef5;
    box-shadow: 0 -18px 46px rgba(7, 18, 40, 0.24);
    padding: 0.85rem 1rem 1.1rem;
}

.ticket-sheet__handle {
    width: 2.75rem;
    height: 0.3rem;
    margin: 0 auto 0.65rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.16);
}

@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: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 0.2rem;
}

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

.ticket-sheet__title {
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.1;
    color: #0b2348;
}

.ticket-sheet__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border: none;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.07);
    color: #44587a;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

.ticket-sheet__close:hover {
    background: rgba(11, 35, 72, 0.13);
    color: #0b2348;
}

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

/* ── Ingresso real: papel com poster, perfurações e canhoto do QR ── */
.ticket-stub {
    position: relative;
    border-radius: 1.3rem;
    background: #fcfcfa;
    overflow: hidden;
    box-shadow:
        0 1px 1px rgba(15, 23, 42, 0.05),
        0 6px 12px rgba(15, 23, 42, 0.07),
        0 16px 34px rgba(15, 23, 42, 0.1);
}

/* Grão de papel sutil sobre todo o ingresso. */
.ticket-stub::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    opacity: 0.5;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");
}

.ticket-stub__poster {
    position: relative;
    height: 9rem;
    background: #0b2348;
}

.ticket-stub__poster img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ticket-stub__poster::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(11, 35, 72, 0.12) 0%, rgba(11, 35, 72, 0.2) 42%, rgba(7, 18, 40, 0.86) 100%);
}

.ticket-stub__poster--empty {
    background: linear-gradient(135deg, #0b2348, #214a86);
}

.ticket-stub__poster--empty::before {
    background: linear-gradient(180deg, rgba(11, 35, 72, 0) 40%, rgba(7, 18, 40, 0.55));
}

.ticket-stub__poster-copy {
    position: absolute;
    z-index: 2;
    left: 1.1rem;
    right: 1.1rem;
    bottom: 0.85rem;
    color: #fff;
}

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

.ticket-stub__title {
    margin-top: 0.2rem;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.12;
    color: #fff;
}

.ticket-stub__when {
    margin-top: 0.3rem;
    font-size: 0.78rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.86);
}

.ticket-stub .ticket-wallet-card__status {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 2;
    min-height: 1.55rem;
    border: none;
    padding: 0 0.65rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 16px rgba(7, 18, 40, 0.28);
}

.ticket-stub .ticket-wallet-card__status--active {
    background: #1f9d68;
    color: #fff;
}

.ticket-stub .ticket-wallet-card__status--used {
    background: #64748b;
    color: #fff;
}

.ticket-stub .ticket-wallet-card__status--cancelled {
    background: #d8453b;
    color: #fff;
}

/* Perfuração: linha picotada + furos laterais na cor da bandeja. */
.ticket-stub__perforation {
    position: relative;
    height: 1.3rem;
    background-image: repeating-linear-gradient(90deg, #c7d2e2 0 6px, transparent 6px 13px);
    background-size: calc(100% - 1.7rem) 2px;
    background-position: center;
    background-repeat: no-repeat;
}

.ticket-stub__perforation::before,
.ticket-stub__perforation::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    background: #e9eef5;
    transform: translateY(-50%);
}

.ticket-stub__perforation::before {
    left: -0.65rem;
}

.ticket-stub__perforation::after {
    right: -0.65rem;
}

/* Dados compactos do ingresso: rótulo + valor em linhas enxutas. */
.ticket-stub__rows {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0.2rem 1.1rem 0.1rem;
}

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

.ticket-stub__row dt {
    flex: none;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8493a8;
}

.ticket-stub__row dd {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 700;
    text-align: right;
    color: #1f2a44;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-stub__row--code dd {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    color: #0b2348;
}

/* Canhoto do QR: a parte destacável e escaneável. */
.ticket-stub__qr {
    display: grid;
    justify-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.1rem 1.2rem;
}

.ticket-stub__qr img {
    width: 11.5rem;
    height: 11.5rem;
    object-fit: contain;
    border-radius: 0.9rem;
    background: #fff;
    padding: 0.65rem;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.ticket-stub__qr-hint {
    font-size: 0.74rem;
    font-weight: 600;
    color: #64748b;
}

.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;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.ticket-detail-hero__identity .ticket-detail-code-card {
    grid-column: 1 / -1;
}

.ticket-detail-identity-card,
.ticket-detail-code-card {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.1rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.7rem 0.9rem;
    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__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    list-style: none;
    cursor: pointer;
}

.ticket-policy-card__summary::-webkit-details-marker {
    display: none;
}

.ticket-policy-card__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;
    flex: none;
    transition: transform 180ms ease;
}

.ticket-policy-card[open] .ticket-policy-card__chevron {
    transform: rotate(90deg);
}

.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%;
    }
}


/* ─── PUBLIC HEADER ────────────────────────────────────────────────────── */

.public-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(247, 248, 251, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(220, 227, 238, 0.6);
    box-shadow: 0 1px 12px rgba(11, 35, 72, 0.06);
}

.public-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 80rem;
    margin-inline: auto;
    padding: 0.85rem 1.25rem;
}

@media (min-width: 768px) {
    .public-header__inner {
        padding: 0.85rem 1.75rem;
    }
}

@media (min-width: 1024px) {
    .public-header__inner {
        padding: 0.85rem 2.5rem;
    }
}

.public-header__logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.public-header__nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
}

.public-header__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 9999px;
    padding: 0.55rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    border: 0;
    cursor: pointer;
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease, color 160ms ease;
}

.public-header__btn--ghost {
    border: 1px solid rgba(220, 227, 238, 0.9);
    background: rgba(255, 255, 255, 0.68);
    color: #0b2348;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.public-header__btn--ghost:hover,
.public-header__btn--ghost:focus-visible {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(11, 35, 72, 0.16);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(11, 35, 72, 0.08);
}

.public-header__btn--primary {
    background: #0b2348;
    color: #fff;
    box-shadow: 0 12px 28px rgba(11, 35, 72, 0.22);
}

.public-header__btn--primary:hover,
.public-header__btn--primary:focus-visible {
    background: #214a86;
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(11, 35, 72, 0.28);
}

.public-header__btn:focus-visible {
    outline: 2px solid rgba(255, 122, 26, 0.7);
    outline-offset: 2px;
}

/* ─── LANDING PAGE LAYOUT ──────────────────────────────────────────────── */

.landing-page {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Logado: região de entrada (hero imersivo + categorias) com ritmo de app. */
.landing-page:not(.landing-page--public) {
    gap: 1rem;
}

.landing-page--public {
    gap: 2.25rem;
}

@media (min-width: 1024px) {
    .landing-page--public {
        gap: 3rem;
    }
}

.landing-hero {
    max-width: 52rem;
}

/* ─── LANDING SECTIONS ─────────────────────────────────────────────────── */

.landing-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.landing-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
}

.landing-section__meta {
    min-width: 0;
}

.landing-section__title {
    font-family: Sora, sans-serif;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: #0b2348;
    margin-top: 0.2rem;
}

.landing-section__subtitle {
    margin-top: 0.3rem;
    font-size: 0.875rem;
    line-height: 1.6;
    color: #64748b;
}

.landing-section__see-all {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    border-radius: 9999px;
    border: 1px solid rgba(220, 227, 238, 0.9);
    background: rgba(255, 255, 255, 0.72);
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0b2348;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.landing-section__see-all:hover,
.landing-section__see-all:focus-visible {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(11, 35, 72, 0.18);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(11, 35, 72, 0.08);
}

.landing-section__see-all:focus-visible {
    outline: 2px solid rgba(255, 122, 26, 0.7);
    outline-offset: 2px;
}

.landing-section__grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
    .landing-section__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .landing-section__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.landing-section__scroll-row {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    overflow-y: visible;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.5rem;
    padding-top: 0.25rem;
}

.landing-section__scroll-row::-webkit-scrollbar {
    display: none;
}

.landing-section__scroll-item {
    flex: 0 0 auto;
    width: min(320px, 80vw);
}

/* ─── EVENT CARD REFINEMENTS ───────────────────────────────────────────── */

.event-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
    background: #fff;
}

.event-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 56px rgba(11, 35, 72, 0.13);
    border-color: rgba(255, 255, 255, 0.9);
}

.event-card__image-wrap {
    display: block;
    position: relative;
    height: 11.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.event-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.event-card:hover .event-card__img {
    transform: scale(1.06);
}

.event-card__image-overlay {
    background: linear-gradient(
        to top,
        rgba(11, 35, 72, 0.88) 0%,
        rgba(11, 35, 72, 0.45) 40%,
        transparent 100%
    );
}

.event-card__body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.event-card__description {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    min-height: 0;
}

.event-card__footer {
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(220, 227, 238, 0.6);
}

.event-card__buy {
    transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.event-card__buy:hover {
    box-shadow: 0 10px 24px rgba(11, 35, 72, 0.22);
}

.event-card__details {
    transition: background-color 160ms ease;
}

/* ─── PUBLIC FOOTER ────────────────────────────────────────────────────── */

.public-footer {
    margin-top: 4rem;
    background: linear-gradient(160deg, #071730 0%, #0b2348 56%, #112d5a 100%);
    color: rgba(255, 255, 255, 0.78);
}

.public-footer__inner {
    display: grid;
    gap: 2.5rem;
    max-width: 80rem;
    margin-inline: auto;
    padding: 3.5rem 1.5rem 2.5rem;
    grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 640px) {
    .public-footer__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .public-footer__inner {
        grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
        gap: 3rem;
        padding: 4rem 2.5rem 3rem;
    }
}

.public-footer__brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.public-footer__logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    width: fit-content;
    opacity: 0.92;
    transition: opacity 160ms ease;
}

.public-footer__logo:hover,
.public-footer__logo:focus-visible {
    opacity: 1;
}

.public-footer__logo .brand-mark__image {
    filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

.public-footer__tagline {
    font-size: 0.875rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.62);
    max-width: 28rem;
}

.public-footer__social {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.public-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.public-footer__social-link svg {
    width: 1.1rem;
    height: 1.1rem;
}

.public-footer__social-link:hover,
.public-footer__social-link:focus-visible {
    background: rgba(255, 122, 26, 0.18);
    border-color: rgba(255, 122, 26, 0.4);
    color: #ffb15d;
    transform: translateY(-2px);
}

.public-footer__social-link:focus-visible {
    outline: 2px solid rgba(255, 122, 26, 0.7);
    outline-offset: 2px;
}

.public-footer__nav-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.public-footer__nav-title {
    font-family: Sora, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.public-footer__nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.public-footer__nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 160ms ease, padding-left 160ms ease;
    display: inline-block;
}

.public-footer__nav-link:hover,
.public-footer__nav-link:focus-visible {
    color: #fff;
    padding-left: 0.3rem;
}

.public-footer__nav-link:focus-visible {
    outline: 2px solid rgba(255, 122, 26, 0.7);
    outline-offset: 2px;
    border-radius: 2px;
}

.public-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.public-footer__bottom-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
    max-width: 80rem;
    margin-inline: auto;
    padding: 1.25rem 1.5rem;
}

@media (min-width: 640px) {
    .public-footer__bottom-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        padding: 1.25rem 2.5rem;
    }
}

.public-footer__copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
}

.public-footer__bottom-tagline {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.32);
}

/* ─── RESPONSIVE: MOBILE ADJUSTMENTS ──────────────────────────────────── */

@media (max-width: 479px) {
    .landing-section__scroll-item {
        width: min(288px, 78vw);
    }

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

    .participant-home-filter__submit {
        min-width: auto;
        padding: 0.65rem 0.85rem;
    }

    .public-header__btn span:not(.sr-only) {
        display: none;
    }

    .public-header__btn {
        padding: 0.55rem 0.75rem;
    }
}

@media (max-width: 639px) {
    .public-footer__inner {
        grid-template-columns: minmax(0, 1fr);
        padding: 2.5rem 1.25rem 2rem;
    }
}


/* ─── PUBLIC LANDING HERO (title + banner side-by-side) ───────────────── */

.landing-public-hero {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
}

@media (min-width: 900px) {
    .landing-public-hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1200px) {
    .landing-public-hero {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
        gap: 3rem;
    }
}

/* ── Hero text column ── */

.landing-public-hero__text {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.landing-public-hero__kicker {
    color: rgba(11, 35, 72, 0.65);
}

.landing-public-hero__title {
    font-family: Sora, sans-serif;
    font-size: clamp(2.1rem, 4.5vw, 3.4rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #0b2348;
}

.landing-public-hero__sub {
    font-size: clamp(0.95rem, 1.4vw, 1.08rem);
    line-height: 1.7;
    color: #64748b;
    max-width: 38ch;
}

.landing-public-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.landing-public-hero__cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    background: #0b2348;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.85rem 1.6rem;
    text-decoration: none;
    box-shadow: 0 14px 32px rgba(11, 35, 72, 0.24);
    transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.landing-public-hero__cta-primary:hover,
.landing-public-hero__cta-primary:focus-visible {
    background: #214a86;
    transform: translateY(-2px);
    box-shadow: 0 20px 38px rgba(11, 35, 72, 0.3);
}

.landing-public-hero__cta-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    border: 1.5px solid rgba(11, 35, 72, 0.18);
    background: rgba(255, 255, 255, 0.72);
    color: #0b2348;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 0.85rem 1.6rem;
    text-decoration: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.landing-public-hero__cta-ghost:hover,
.landing-public-hero__cta-ghost:focus-visible {
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(11, 35, 72, 0.3);
    transform: translateY(-2px);
}

.landing-public-hero__cta-primary:focus-visible,
.landing-public-hero__cta-ghost:focus-visible {
    outline: 2px solid rgba(255, 122, 26, 0.7);
    outline-offset: 3px;
}

.landing-public-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 0.1rem;
}

.landing-public-hero__trust span {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(11, 35, 72, 0.52);
    letter-spacing: 0.01em;
}

/* ── Hero banner column ── */

.landing-public-hero__banner {
    min-width: 0;
}

.landing-public-hero__banner-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.76), rgba(239,242,247,0.64));
}

.landing-public-hero__banner-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 14rem;
    border-radius: 1.3rem;
    overflow: hidden;
}

.landing-public-hero__banner-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
}

/* Override slide position to use new viewport */
.landing-public-hero__banner-viewport .participant-home-banner__slide {
    border-radius: 1.3rem;
}

/* ── No-banner decorative fallback ── */

.landing-public-hero__no-banner {
    display: none;
}

@media (min-width: 900px) {
    .landing-public-hero__no-banner {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 18rem;
    }
}

.landing-public-hero__no-banner-orb {
    width: 100%;
    height: 100%;
    min-height: 18rem;
    border-radius: 2.5rem;
    background:
        radial-gradient(circle at 30% 40%, rgba(255,122,26,0.18), transparent 55%),
        radial-gradient(circle at 75% 65%, rgba(33,74,134,0.14), transparent 50%),
        linear-gradient(135deg, rgba(255,255,255,0.72), rgba(239,242,247,0.56));
    border: 1px solid rgba(255,255,255,0.72);
    box-shadow: 0 20px 60px rgba(11,35,72,0.1);
}


/* ─── PARTICIPANT HOME — VISUAL REFINEMENTS ───────────────────────────── */

/* Header do participante: saudação com destaque no nome */
.glass-header--participant-home {
    background: linear-gradient(145deg, rgba(255,255,255,0.72) 0%, rgba(239,242,247,0.64) 100%);
}

.glass-header--participant-home .glass-header__title {
    font-size: clamp(1.85rem, 3.2vw, 2.6rem);
    letter-spacing: -0.025em;
}

.glass-header--participant-home .glass-header__action {
    transition: background-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.glass-header--participant-home .glass-header__action:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(11, 35, 72, 0.1);
}

/* Banner do participante: mais alto, imagem cobrindo totalmente */
.participant-home-banner {
    max-width: 100%;
    background: linear-gradient(145deg, rgba(255,255,255,0.76), rgba(239,242,247,0.62));
}

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

/* Seções do participante logado: espaçamento e títulos mais compactos */
.landing-page:not(.landing-page--public) .landing-section__title {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
}

.landing-page:not(.landing-page--public) .landing-section {
    gap: 1rem;
}

/* Cards no grid do participante: altura de imagem ligeiramente menor */
.landing-page:not(.landing-page--public) .event-card__image-wrap {
    height: 10rem;
}

/* Grid do participante: até 4 colunas em telas muito largas */
@media (min-width: 1400px) {
    .landing-page:not(.landing-page--public) .landing-section__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}


/* ─── PARTICIPANT FOOTER + NAV SPACING ────────────────────────────────── */

/* Footer dentro da área do participante: espaço extra para a nav fixa */
.public-footer--participant {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom));
}

/* ─── PARTICIPANT HOME HEADER — COMPACT PREMIUM ───────────────────────── */

/* Torna o card-header do participante mais compacto e mais elegante */
.glass-header--participant-home {
    padding: 1rem 1.25rem;
    border-radius: 1.75rem;
}

@media (min-width: 768px) {
    .glass-header--participant-home {
        padding: 1.1rem 1.5rem;
    }
}

/* Remove separação entre top (logo/actions) e body (título) */
.glass-header--participant-home .glass-header__top {
    margin-bottom: 0.45rem;
}

/* Título mais próximo do logo, fonte mais expressiva */
.glass-header--participant-home .glass-header__title {
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-top: 0;
}

/* Eyebrow mais sutil no participante */
.glass-header--participant-home .glass-header__eyebrow {
    margin-bottom: 0.3rem;
    font-size: 0.68rem;
}

/* Botões de ação (sino, logout) mais refinados */
.glass-header--participant-home .glass-header__action {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.875rem;
    background: rgba(11, 35, 72, 0.06);
    border: 1px solid rgba(220, 227, 238, 0.7);
    justify-content: center;
    padding: 0;
    transition: background-color 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.glass-header--participant-home .glass-header__action:hover {
    background: rgba(11, 35, 72, 0.1);
    border-color: rgba(11, 35, 72, 0.14);
    transform: translateY(-1px);
}

/* Banner do participante: largura total, sem max-width restritivo */
.participant-home-banner {
    max-width: 100% !important;
}

/* Viewport do banner do participante: proporção mais generosa */
.participant-home-banner .participant-home-banner__viewport {
    min-height: clamp(12rem, 26vw, 24rem);
    aspect-ratio: 16 / 7;
}

/* Moldura fina: imagem mais edge-to-edge, menos cara de card solto. */
.participant-home-banner {
    padding: 0.4rem !important;
    border-radius: 1.6rem;
}

@media (min-width: 768px) {
    .participant-home-banner {
        padding: 0.45rem !important;
        border-radius: 1.85rem;
    }
}


/* ─── PARTICIPANT NAV — HIDE ON FOOTER VISIBLE ────────────────────────── */

[data-participant-nav] {
    transition: transform 320ms cubic-bezier(0.4, 0, 0.2, 1),
                opacity   280ms ease;
    will-change: transform;
}

[data-participant-nav].is-nav-hidden {
    transform: translateY(calc(100% + 1.5rem));
    opacity: 0;
    pointer-events: none;
}


/* ─── PARTICIPANT HOME HEADER — SINGLE-ROW COMPACT (final override) ────── */

/* Transforma o card em um flex row único: [logo] [greeting] ... [actions] */
.glass-header--participant-home {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.85rem 1.1rem !important;
    border-radius: 1.5rem !important;
}

/* __top vira "transparente" para o flex — seus filhos entram direto no row */
.glass-header--participant-home .glass-header__top {
    display: contents !important;
}

/* Logo: primeiro do row */
.glass-header--participant-home .glass-header__brand {
    order: 1;
    flex-shrink: 0;
}

/* Área do título/eyebrow: ocupa o espaço disponível no meio */
.glass-header--participant-home .glass-header__body {
    order: 2;
    flex: 1 1 auto !important;
    min-width: 0;
    display: block !important;
    margin: 0 !important;
}

/* Esconde o eyebrow ("Área do participante") — logo já contextualiza */
.glass-header--participant-home .glass-header__eyebrow {
    display: none !important;
}

/* Título compacto — saudação, não hero */
.glass-header--participant-home .glass-header__title {
    font-size: clamp(1.1rem, 2vw, 1.35rem) !important;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: #0b2348;
    margin: 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ações (sino + logout): último do row */
.glass-header--participant-home .glass-header__actions {
    order: 3;
    flex-shrink: 0;
    margin-left: 0 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

/* Botões de ação: quadrados compactos */
.glass-header--participant-home .glass-header__action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 2.4rem !important;
    height: 2.4rem !important;
    padding: 0 !important;
    border-radius: 0.875rem !important;
    background: rgba(11, 35, 72, 0.06) !important;
    border: 1px solid rgba(220, 227, 238, 0.7) !important;
    color: #0b2348 !important;
    text-decoration: none;
    transition: background-color 160ms ease, transform 160ms ease !important;
}

.glass-header--participant-home .glass-header__action:hover {
    background: rgba(11, 35, 72, 0.1) !important;
    transform: translateY(-1px) !important;
}

/* ─── Explore Page ──────────────────────────────────────────────────────── */

.explore-page {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Page header */
.explore-header {
    padding: 0.5rem 0 0.25rem;
}
.explore-header__title {
    font-family: Sora, sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    color: #0b2348;
    line-height: 1.15;
    margin: 0 0 0.4rem;
    letter-spacing: -0.02em;
}
.explore-header__title em {
    font-style: normal;
    color: #ee7d1d;
}
.explore-header__subtitle {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}
@media (max-width: 639px) {
    .explore-header__title    { font-size: 1.45rem; }
    .explore-header__subtitle { font-size: 0.875rem; }
}

/* Category chips */
.explore-chips {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
}
.explore-chips::-webkit-scrollbar { display: none; }

.explore-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.84rem;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.78);
    color: #4a5568;
    border: 1px solid rgba(11, 35, 72, 0.1);
    backdrop-filter: blur(10px);
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.explore-chip:hover {
    background: rgba(255, 255, 255, 0.97);
    color: #0b2348;
    border-color: rgba(11, 35, 72, 0.2);
}
.explore-chip--active {
    background: #0b2348;
    color: #fff;
    border-color: #0b2348;
}
.explore-chip--active:hover {
    background: #142d5a;
    color: #fff;
    border-color: #142d5a;
}

/* Filter bar */
/* ── Busca + filtros recolhidos ── */
.explore-search {
    display: grid;
    gap: 0.7rem;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 1.4rem;
    box-shadow: 0 4px 20px rgba(11, 35, 72, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.8rem;
}

.explore-search__main {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.explore-search__input {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex: 1;
    min-width: 0;
    background: #f8fafc;
    border: 1px solid rgba(11, 35, 72, 0.1);
    border-radius: 9999px;
    padding: 0.6rem 1rem;
    transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.explore-search__input:focus-within {
    border-color: #ee7d1d;
    box-shadow: 0 0 0 3px rgba(238, 125, 29, 0.14);
    background: #fff;
}

.explore-search__input-icon {
    color: #94a3b8;
    flex-shrink: 0;
    line-height: 0;
}

/* Dupla classe (0,2,0) vence o plugin Tailwind Forms [type=*] (0,1,0). */
.explore-search .explore-search__field {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 0.92rem;
    color: #132238;
    width: 100%;
    min-width: 0;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0;
    line-height: 1.4;
}
.explore-search .explore-search__field::placeholder { color: #94a3b8; }

.explore-search__submit {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #0b2348;
    color: #fff;
    border: none;
    border-radius: 9999px;
    padding: 0.7rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
    flex-shrink: 0;
    line-height: 1.4;
}
.explore-search__submit:hover { background: #142d5a; }

/* Toggle de filtros avançados (collapsible). */
.explore-search__filters {
    border-top: 1px solid rgba(11, 35, 72, 0.08);
    padding-top: 0.15rem;
}

.explore-search__filters-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    list-style: none;
    cursor: pointer;
    padding: 0.5rem 0.3rem;
    border-radius: 0.8rem;
}
.explore-search__filters-toggle::-webkit-details-marker { display: none; }

.explore-search__filters-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.86rem;
    font-weight: 700;
    color: #0b2348;
}

.explore-search__filters-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 9999px;
    background: #ee7d1d;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
}

.explore-search__filters-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.06);
    color: #214a86;
    transition: transform 180ms ease;
}
.explore-search__filters[open] .explore-search__filters-chevron {
    transform: rotate(90deg);
}

.explore-search__filters-body {
    display: grid;
    gap: 0.55rem;
    padding: 0.5rem 0.3rem 0.3rem;
}
@media (min-width: 720px) {
    .explore-search__filters-body {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.explore-search__filter {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    background: #f8fafc;
    border: 1px solid rgba(11, 35, 72, 0.1);
    border-radius: 9999px;
    padding: 0.6rem 1rem;
    transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}
.explore-search__filter:focus-within {
    border-color: #ee7d1d;
    box-shadow: 0 0 0 3px rgba(238, 125, 29, 0.14);
    background: #fff;
}

.explore-search__filter-icon {
    color: #94a3b8;
    flex-shrink: 0;
    line-height: 0;
}

.explore-search .explore-search__select {
    border: none;
    background: transparent;
    padding: 0;
    font-size: 0.9rem;
    color: #132238;
    width: 100%;
    min-width: 0;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    line-height: 1.4;
}
.explore-search .explore-search__select option { color: #132238; }

/* Results bar */
.explore-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.explore-results-bar__count {
    font-size: 0.88rem;
    font-weight: 600;
    color: #0b2348;
}
.explore-results-bar__clear {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.81rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    padding: 0.28rem 0.75rem;
    border-radius: 9999px;
    background: rgba(100, 116, 139, 0.08);
    border: 1px solid rgba(100, 116, 139, 0.15);
    transition: background 0.15s, color 0.15s;
}
.explore-results-bar__clear:hover {
    background: rgba(100, 116, 139, 0.14);
    color: #475569;
}

/* Events grid */
.explore-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: 1fr;
}
@media (min-width: 640px) {
    .explore-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
    .explore-grid { grid-template-columns: repeat(3, 1fr); }
}

/* Empty state */
.explore-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    padding: 4rem 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.76);
    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);
}
.explore-empty__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.07);
    color: #0b2348;
}
.explore-empty__title {
    color: #0b2348;
    font-family: Sora, sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}
.explore-empty__text {
    color: #64748b;
    font-size: 0.95rem;
    max-width: 26rem;
    line-height: 1.6;
    margin: 0;
}
.explore-empty__reset {
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
    padding: 0.58rem 1.5rem;
    border-radius: 9999px;
    background: #0b2348;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s;
}
.explore-empty__reset:hover { background: #142d5a; }

/* Mobile filter bar */
@media (max-width: 639px) {
    .explore-filter-bar {
        flex-direction: column;
        border-radius: 1.25rem;
        padding: 0.75rem;
        gap: 0.45rem;
    }
    .explore-filter-bar__field {
        min-width: 0;
        width: 100%;
        flex: none;
    }
    .explore-filter-bar__field--price { max-width: 100%; }
    .explore-filter-bar__btn { width: 100%; justify-content: center; }
}

/* ─── Login Modal ──────────────────────────────────────────────────────── */

.login-modal {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.22s ease;
}

.login-modal.is-open {
    pointer-events: auto;
    opacity: 1;
}

.login-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 23, 48, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.login-modal__card {
    position: relative;
    z-index: 1;
    width: min(28rem, 100%);
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 32px 80px rgba(11, 35, 72, 0.28);
    padding: clamp(1.5rem, 4vw, 2.25rem);
    transform: translateY(1.5rem) scale(0.97);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

.login-modal.is-open .login-modal__card {
    transform: translateY(0) scale(1);
}

.login-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.06);
    color: #64748b;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.login-modal__close:hover {
    background: rgba(11, 35, 72, 0.12);
    color: #0b2348;
}

.login-modal__header {
    margin-bottom: 1.5rem;
    padding-right: 2rem;
}

.login-modal__header h2 {
    font-family: Sora, sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #0b2348;
    line-height: 1.15;
    margin-bottom: 0.45rem;
}

.login-modal__header p {
    color: #64748b;
    font-size: 0.94rem;
    line-height: 1.55;
}

.login-modal__error {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    border-radius: 0.9rem;
    background: rgba(225, 82, 65, 0.08);
    border: 1px solid rgba(225, 82, 65, 0.18);
    color: #b83227;
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
}

.login-modal__error[hidden] {
    display: none;
}

.login-modal__form {
    display: grid;
    gap: 0.9rem;
}

.login-modal__field {
    display: grid;
    gap: 0.42rem;
}

.login-modal__field label {
    color: #0b2348;
    font-size: 0.86rem;
    font-weight: 700;
}

.login-modal__input {
    width: 100%;
    border: 1px solid rgba(220, 227, 238, 0.92);
    border-radius: 0.9rem;
    background: rgba(247, 248, 251, 0.9);
    color: #132238;
    font-size: 0.98rem;
    padding: 0.82rem 1rem;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    -webkit-appearance: none;
}

.login-modal__input:focus {
    border-color: #214a86;
    box-shadow: 0 0 0 3px rgba(33, 74, 134, 0.12);
    background: #fff;
}

.login-modal__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: 0.35rem;
    border: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, #0b2348, #214a86);
    color: #fff;
    cursor: pointer;
    font-size: 0.98rem;
    font-weight: 800;
    padding: 0.92rem 1.5rem;
    width: 100%;
    box-shadow: 0 14px 32px rgba(11, 35, 72, 0.22);
    transition: opacity 0.15s ease;
}

.login-modal__submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.login-modal__spinner {
    display: inline-block;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 9999px;
    animation: login-modal-spin 0.7s linear infinite;
}

.login-modal__spinner[hidden] {
    display: none;
}

@keyframes login-modal-spin {
    to { transform: rotate(360deg); }
}

.login-modal__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.25rem;
    font-size: 0.88rem;
    color: #64748b;
}

.login-modal__footer a {
    color: #214a86;
    font-weight: 700;
    text-decoration: none;
}

.login-modal__footer a:hover {
    text-decoration: underline;
}

body.login-modal-open {
    overflow: hidden;
}

/* Hide floating checkout bar while modal is open to prevent mobile overlap */
body.login-modal-open .participant-ticket-picker__footer {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════════════════
   PAYMENT MODAL — finalização do checkout (Pix / cartão / confirmação)
   ═══════════════════════════════════════════════════════════════════════════ */
.payment-modal {
    position: fixed;
    inset: 0;
    z-index: 420;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.22s ease;
}
.payment-modal.is-open {
    pointer-events: auto;
    opacity: 1;
}
.payment-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 23, 48, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.payment-modal__card {
    position: relative;
    z-index: 1;
    width: min(30rem, 100%);
    max-height: 92vh;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 32px 80px rgba(11, 35, 72, 0.28);
    padding: clamp(1.5rem, 4vw, 2.25rem);
    transform: translateY(1.5rem) scale(0.97);
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.payment-modal.is-open .payment-modal__card {
    transform: translateY(0) scale(1);
}
.payment-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.06);
    color: #64748b;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.payment-modal__close:hover {
    background: rgba(11, 35, 72, 0.12);
    color: #0b2348;
}
.payment-modal__state[hidden] {
    display: none;
}
.payment-modal__head {
    margin-bottom: 1.25rem;
    padding-right: 2rem;
}
.payment-modal__title {
    font-family: Sora, sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #0b2348;
    line-height: 1.15;
    margin: 0.5rem 0 0.4rem;
}
.payment-modal__sub {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.55;
}
.payment-modal__error {
    border-radius: 0.9rem;
    background: rgba(225, 82, 65, 0.08);
    border: 1px solid rgba(225, 82, 65, 0.18);
    color: #b83227;
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
}
.payment-modal__error[hidden] {
    display: none;
}
.payment-modal__pay,
.payment-modal__wallet,
.payment-modal__retry,
.payment-modal__simulate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1.25rem;
    border: 0;
    border-radius: 9999px;
    padding: 0.95rem 1.25rem;
    font-weight: 800;
    font-size: 0.98rem;
    cursor: pointer;
    text-decoration: none;
    transition: filter 0.15s ease, background 0.15s ease;
}
.payment-modal__pay,
.payment-modal__wallet {
    background: #0b2348;
    color: #fff;
}
.payment-modal__pay:hover,
.payment-modal__wallet:hover {
    filter: brightness(1.08);
}
.payment-modal__simulate {
    background: rgba(255, 122, 26, 0.12);
    color: #c2410c;
}
.payment-modal__simulate:hover {
    background: rgba(255, 122, 26, 0.2);
}
.payment-modal__retry {
    background: rgba(11, 35, 72, 0.07);
    color: #0b2348;
}
/* Spinner (processando) */
.payment-modal__state[data-pay-state-panel="processing"] {
    text-align: center;
    padding: 1.5rem 0;
}
.payment-modal__spinner {
    width: 2.75rem;
    height: 2.75rem;
    margin: 0 auto 1rem;
    border-radius: 9999px;
    border: 3px solid rgba(11, 35, 72, 0.12);
    border-top-color: #0b2348;
    animation: payment-modal-spin 0.8s linear infinite;
}
@keyframes payment-modal-spin {
    to { transform: rotate(360deg); }
}
/* QR Pix */
.payment-modal__qr {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}
.payment-modal__qr img {
    width: 12rem;
    height: 12rem;
    object-fit: contain;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid rgba(220, 227, 238, 0.9);
    padding: 0.75rem;
}
.payment-modal__qr img[hidden] {
    display: none;
}
.payment-modal__pix-code {
    margin-top: 1rem;
    border-radius: 1rem;
    background: rgba(247, 248, 251, 0.95);
    border: 1px solid rgba(220, 227, 238, 0.9);
    padding: 0.9rem 1rem;
}
.payment-modal__pix-code-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #94a3b8;
}
.payment-modal__pix-code-value {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    line-height: 1.5;
    color: #334155;
    word-break: break-all;
}
.payment-modal__copy {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    border: 0;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.07);
    color: #0b2348;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.55rem 1rem;
    cursor: pointer;
}
.payment-modal__live {
    margin-top: 1rem;
    text-align: center;
    color: #0b2348;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.5;
}
/* Confirmação */
.payment-modal__success {
    text-align: center;
    padding-top: 0.5rem;
}
.payment-modal__success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
    margin-bottom: 0.5rem;
}
.payment-modal__tickets {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.payment-modal__tickets-empty {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.55;
    text-align: center;
}
.payment-modal-ticket {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 1rem;
    border-radius: 1.25rem;
    background: rgba(247, 248, 251, 0.95);
    border: 1px solid rgba(220, 227, 238, 0.9);
    padding: 0.9rem 1rem;
}
.payment-modal-ticket__info {
    display: grid;
    gap: 0.3rem;
    min-width: 0;
}
.payment-modal-ticket__info strong {
    color: #0b2348;
    font-size: 0.96rem;
}
.payment-modal-ticket__type {
    display: inline-block;
    width: max-content;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.08);
    color: #0b2348;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.15rem 0.6rem;
}
.payment-modal-ticket__code {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 0.74rem;
    color: #475569;
    word-break: break-all;
}
.payment-modal-ticket__qr img {
    width: 4.5rem;
    height: 4.5rem;
    object-fit: contain;
    border-radius: 0.75rem;
    border: 1px dashed rgba(148, 163, 184, 0.5);
    background: #fff;
    padding: 0.25rem;
}
/* Erro */
.payment-modal__error-state {
    text-align: center;
    padding-top: 0.5rem;
}
.payment-modal__error-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background: rgba(225, 82, 65, 0.1);
    color: #b83227;
    margin-bottom: 0.5rem;
}
/* Garante que campos ocultos (ex.: parcelamento sem opções) realmente sumam
   dentro do modal — a regra de grid do field-grid tem mais peso que .hidden. */
.payment-modal [data-installments-field].hidden {
    display: none;
}
body.payment-modal-open {
    overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════════════════════
   AUTH PAGES — Login, Register, Admin
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Auth Layout ────────────────────────────────────────────────────────── */

.auth-layout {
    display: grid;
    grid-template-columns: 55% 45%;
    max-width: 80rem;
    margin: 0 auto;
    border-radius: 1.75rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 56px rgba(11, 35, 72, 0.12), 0 4px 16px rgba(11, 35, 72, 0.06);
    min-height: min(calc(100vh - 8rem), 44rem);
}

.auth-layout--register {
    height: auto;
    min-height: unset;
}

/* deprecated — no longer used */
.auth-layout__bg { display: none; }

@media (max-width: 860px) {
    .auth-layout {
        grid-template-columns: 1fr;
        max-width: 26rem;
        min-height: unset;
        border-radius: 1.25rem;
    }
}

/* ─── Photo Panel ────────────────────────────────────────────────────────── */

.auth-panel {
    position: relative;
    overflow: hidden;
    background: #0b2348;
}

.auth-panel::before,
.auth-panel::after {
    content: none;
}

.auth-panel__photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 44% center;
    display: block;
}

/* Images already contain branding — overlay and caption hidden */
.auth-panel__overlay {
    display: none;
}

.auth-panel__caption {
    display: none;
}

.auth-panel__tagline {
    display: none;
}


@media (max-width: 860px) {
    .auth-panel {
        display: none;
    }
}

/* ─── Auth Form Wrap ────────────────────────────────────────────────────── */

.auth-form-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 4.5vw, 3.25rem) clamp(1.5rem, 3vw, 2.25rem);
    background: #fff;
    overflow-y: visible;
}

.auth-form-wrap--register {
    justify-content: flex-start;
}

/* ─── Auth Form Header ──────────────────────────────────────────────────── */

.auth-form-header {
    margin-bottom: 1.75rem;
}

.auth-form-context {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ff7a1a;
    margin: 0 0 0.4rem;
    display: block;
}

.auth-form-title {
    font-family: Sora, sans-serif;
    font-size: clamp(1.55rem, 2.8vw, 1.9rem);
    font-weight: 700;
    color: #0b2348;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin: 0;
}

/* On mobile, show the logo at the top of the form (panel is hidden) */
.auth-form-logo {
    display: none;
    margin-bottom: 1.5rem;
}

@media (max-width: 860px) {
    .auth-form-logo {
        display: block;
    }
}

/* ─── Auth Form Elements ────────────────────────────────────────────────── */

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.auth-register-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 520px) {
    .auth-register-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Desktop: compact register to reduce total page height */
@media (min-width: 861px) {
    .auth-form-wrap--register {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .auth-form-wrap--register .auth-form-header {
        margin-bottom: 1rem;
    }
    .auth-layout--register .auth-register-grid {
        gap: 0.6rem 0.9rem;
    }
    .auth-form-wrap--register .auth-input,
    .auth-form-wrap--register input.auth-input {
        padding-top: 0.68rem;
        padding-bottom: 0.68rem;
        min-height: 46px;
    }
    .auth-form-wrap--register .auth-divider {
        margin: 0.85rem 0 0.65rem;
    }
    .auth-form-wrap--register .auth-bottom-links {
        margin-top: 0.75rem;
    }
    .auth-form-wrap--register .auth-field {
        gap: 0.32rem;
    }
}

@media (max-width: 860px) {
    .auth-form-wrap {
        padding: 1.75rem 1.5rem;
    }
    .auth-form-header {
        margin-bottom: 1.25rem;
    }
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.42rem;
}

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

.auth-label {
    color: #0b2348;
    font-size: 0.86rem;
    font-weight: 700;
}

.auth-label-required {
    color: #e15241;
}

.auth-label-optional {
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 600;
}

.auth-input-wrap {
    position: relative;
}

/* Two-class specificity (0,2,0) beats Tailwind Forms plugin [type=*] (0,1,0) */
.auth-form-wrap .auth-input,
.auth-admin-card .auth-input,
.login-modal .auth-input,
input.auth-input {
    width: 100%;
    border: 1px solid rgba(11, 35, 72, 0.12);
    border-radius: 9999px;
    background: #fff;
    color: #0d1f36;
    font-family: Manrope, sans-serif;
    font-size: 0.97rem;
    padding: 0.88rem 1.35rem;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    min-height: 52px;
}

.auth-form-wrap .auth-input::placeholder,
.auth-admin-card .auth-input::placeholder,
input.auth-input::placeholder {
    color: rgba(11, 35, 72, 0.28);
}

.auth-form-wrap .auth-input.auth-input--pw,
input.auth-input.auth-input--pw {
    padding-right: 3.4rem;
}

.auth-form-wrap .auth-input:focus,
.auth-admin-card .auth-input:focus,
input.auth-input:focus {
    border-color: #ff7a1a;
    box-shadow: 0 0 0 4px rgba(255, 122, 26, 0.12);
    background: #fff;
}

.auth-form-wrap .auth-input.is-error,
input.auth-input.is-error {
    border-color: rgba(225, 82, 65, 0.55);
    box-shadow: 0 0 0 4px rgba(225, 82, 65, 0.10);
}

.auth-pw-toggle {
    position: absolute;
    top: 50%;
    right: 0.85rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 9999px;
    transition: color 0.15s;
}

.auth-pw-toggle:hover {
    color: #0b2348;
}

.auth-field-error {
    color: #e15241;
    font-size: 0.83rem;
    font-weight: 600;
}

.auth-field-hint {
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 600;
}

.auth-forgot-row {
    display: flex;
    justify-content: flex-end;
    margin-top: -0.25rem;
}

.auth-link-small {
    color: #214a86;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
}

.auth-link-small:hover {
    text-decoration: underline;
}

/* ─── Auth Submit Button ────────────────────────────────────────────────── */

.auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    border: 0;
    border-radius: 9999px;
    color: #fff;
    cursor: pointer;
    font-family: Manrope, sans-serif;
    font-size: 1rem;
    font-weight: 800;
    padding: 0.95rem 1.5rem;
    margin-top: 0.15rem;
    transition: opacity 0.15s, transform 0.15s;
    letter-spacing: 0.01em;
}

.auth-submit:not(:disabled):hover {
    transform: translateY(-1px);
}

.auth-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.auth-submit--participant {
    background: linear-gradient(135deg, #0b2348, #214a86);
    box-shadow: 0 12px 28px rgba(11, 35, 72, 0.22);
}

.auth-submit--producer {
    background: linear-gradient(135deg, #d96412, #ff7a1a);
    box-shadow: 0 12px 28px rgba(255, 122, 26, 0.28);
}

.auth-submit__spinner {
    display: inline-block;
    width: 1.1rem;
    height: 1.1rem;
    border: 2px solid rgba(255, 255, 255, 0.28);
    border-top-color: #fff;
    border-radius: 9999px;
    animation: auth-spin 0.7s linear infinite;
    flex-shrink: 0;
}

.auth-submit__spinner[hidden] {
    display: none;
}

@keyframes auth-spin {
    to { transform: rotate(360deg); }
}

/* ─── Auth Alerts ───────────────────────────────────────────────────────── */

.auth-alert {
    border-radius: 1.25rem;
    padding: 0.88rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.auth-alert--success {
    background: rgba(31, 157, 104, 0.08);
    border: 1px solid rgba(31, 157, 104, 0.2);
    color: #13764d;
}

.auth-alert--error {
    background: rgba(225, 82, 65, 0.07);
    border: 1px solid rgba(225, 82, 65, 0.18);
    color: #b83227;
}

/* ─── Auth Social Buttons ───────────────────────────────────────────────── */

.auth-divider {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: #94a3b8;
    font-size: 0.82rem;
    font-weight: 600;
    margin: 1.35rem 0 1.1rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(220, 227, 238, 0.9);
}

.auth-social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 0.25rem;
}

.auth-social-row--top {
    margin-bottom: 0;
}

.auth-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.48rem;
    border: 1px solid rgba(11, 35, 72, 0.10);
    border-radius: 0.75rem;
    background: #f8fafc;
    color: #132238;
    font-family: Manrope, sans-serif;
    font-size: 0.84rem;
    font-weight: 600;
    padding: 0.65rem 1rem;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.auth-social-btn:hover {
    border-color: rgba(11, 35, 72, 0.16);
    background: #f1f5f9;
}

.auth-social-btn:focus-visible {
    outline: 2px solid #214a86;
    outline-offset: 2px;
}

.auth-social-btn svg {
    flex-shrink: 0;
}

@media (max-width: 480px) {
    .auth-social-row {
        grid-template-columns: 1fr;
    }
}

/* On mobile, social login appears ABOVE the register form for better UX */
@media (max-width: 860px) {
    .auth-form-wrap--register .auth-form-logo   { order: 1; }
    .auth-form-wrap--register .auth-form-header { order: 2; }
    .auth-form-wrap--register .auth-alert       { order: 3; }
    .auth-form-wrap--register .auth-divider     { order: 4; }
    .auth-form-wrap--register .auth-social-row  { order: 5; }
    .auth-form-wrap--register .auth-form--register { order: 6; }
    .auth-form-wrap--register .auth-bottom-links { order: 7; }

    .auth-form-wrap--register .auth-divider { margin: 0.85rem 0 0.75rem; }
}

/* ─── Auth Bottom Area ──────────────────────────────────────────────────── */

.auth-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 1.2rem;
    font-size: 0.88rem;
}

.auth-bottom-links--center {
    justify-content: center;
}

.auth-link {
    color: #214a86;
    font-weight: 700;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

.auth-link--muted {
    color: #64748b;
    font-weight: 600;
}

.auth-link--muted:hover {
    color: #0b2348;
}

.auth-bottom-sep {
    color: #94a3b8;
}

.auth-trust {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.35rem;
    margin-top: 0.85rem;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 600;
}

.auth-trust--center {
    justify-content: center;
}

/* ─── Auth Admin Layout ─────────────────────────────────────────────────── */

.auth-admin-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 10rem);
    padding: 1rem;
}

.auth-admin-card {
    width: 100%;
    max-width: 26rem;
    border-radius: 2rem;
    padding: clamp(1.75rem, 4vw, 2.5rem);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 72px rgba(11, 35, 72, 0.14);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.76);
}

.auth-admin-card__brand {
    display: block;
    margin-bottom: 1.5rem;
}

.auth-admin-card__headline {
    font-family: Sora, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0b2348;
    line-height: 1.2;
    margin-bottom: 0.4rem;
}

.auth-admin-card__desc {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.auth-admin-footer {
    display: flex;
    justify-content: center;
    margin-top: 1.25rem;
    font-size: 0.86rem;
}

/* ─── Login Modal (refined) ─────────────────────────────────────────────── */

.login-modal__label {
    display: block;
    color: #0b2348;
    font-size: 0.86rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.login-modal__input-wrap {
    position: relative;
}

.login-modal__input--pw {
    padding-right: 3.1rem;
}

.login-modal__pw-toggle {
    position: absolute;
    top: 50%;
    right: 0.85rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    border-radius: 9999px;
    transition: color 0.15s;
}

.login-modal__pw-toggle:hover {
    color: #0b2348;
}

.login-modal__forgot-row {
    display: flex;
    justify-content: flex-end;
    margin-top: -0.2rem;
}

.login-modal__link-small {
    color: #214a86;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
}

.login-modal__link-small:hover {
    text-decoration: underline;
}

.login-modal__event-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.06);
    color: #0b2348;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.38rem 0.75rem;
    margin-bottom: 0.75rem;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.login-modal__event-chip > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.login-modal__purchase-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-radius: 0.85rem;
    background: rgba(11, 35, 72, 0.04);
    border: 1px solid rgba(11, 35, 72, 0.07);
    padding: 0.65rem 0.9rem;
    margin-bottom: 1rem;
}

.login-modal__purchase-summary[hidden] {
    display: none;
}

.login-modal__summary-qty {
    color: #0b2348;
    font-size: 0.88rem;
    font-weight: 700;
}

.login-modal__summary-total {
    color: #1f9d68;
    font-size: 0.95rem;
    font-weight: 800;
    font-family: Sora, sans-serif;
}

.login-modal__trust {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.85rem;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 600;
}

.login-modal__submit {
    justify-content: space-between;
}

.login-modal__close {
    background: rgba(11, 35, 72, 0.07);
    border: 1px solid rgba(11, 35, 72, 0.1);
}

.login-modal__close:hover {
    background: rgba(11, 35, 72, 0.13);
    color: #0b2348;
}

/* Input border-radius: double-class specificity beats Tailwind Forms plugin */
.login-modal .login-modal__input {
    border-radius: 0.9rem;
    border: 1px solid rgba(220, 227, 238, 0.92);
    background: #f7f8fb;
}

.login-modal .login-modal__input:focus {
    border-color: #214a86;
    box-shadow: 0 0 0 3px rgba(33, 74, 134, 0.12);
    background: #fff;
}

/* Social divider */
.login-modal__divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #94a3b8;
    font-size: 0.79rem;
    font-weight: 600;
    margin: 1rem 0 0.8rem;
}

.login-modal__divider::before,
.login-modal__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(220, 227, 238, 0.9);
}

/* Social buttons */
.login-modal__social-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.login-modal__social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 1px solid rgba(11, 35, 72, 0.11);
    border-radius: 9999px;
    background: #f8fafc;
    color: #132238;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.62rem 0.9rem;
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
    white-space: nowrap;
}

.login-modal__social-btn:hover {
    border-color: rgba(11, 35, 72, 0.2);
    background: #f1f5f9;
}

.login-modal__social-btn svg {
    flex-shrink: 0;
}

@media (max-width: 360px) {
    .login-modal__social-row {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   HOMOLOGAÇÃO UX — Fluxo do participante (mobile-first)
   Bloco aditivo: maior prioridade na cascata, sem alterar regras anteriores.
   Cobre acessibilidade (foco/toque/aria), acabamento e empty-states.
   ══════════════════════════════════════════════════════════════════════════ */

/* A3 — Stepper de quantidade com alvo de toque confortável (≥44px) em telas de
   toque, mantendo o visual compacto no desktop (ponteiro fino). */
@media (pointer: coarse) {
    .participant-ticket-choice__stepper button {
        width: var(--touch-target);
        height: var(--touch-target);
    }

    .participant-ticket-choice__stepper span {
        min-width: 1.6rem;
        font-size: 1rem;
    }
}

/* A13 — Anel de foco visível e consistente nos CTAs do fluxo (WCAG 2.4.7).
   Usa :focus-visible para não poluir o clique com mouse. */
.event-card__buy:focus-visible,
.event-card__details:focus-visible,
.event-card a:focus-visible,
.participant-home-filter__chip:focus-visible,
.participant-home-filter__submit:focus-visible,
.landing-section__see-all:focus-visible,
.participant-ticket-choice__stepper button:focus-visible,
.participant-ticket-picker__submit:focus-visible,
.participant-checkout-payment:focus-visible,
.participant-checkout__coupon button:focus-visible,
.participant-checkout__floating-submit button:focus-visible,
.participant-event-hero__favorite:focus-visible,
.login-modal__submit:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* Campos do checkout/login com foco claro. */
.participant-checkout__field-grid input:focus-visible,
.participant-checkout__field-grid select:focus-visible,
.participant-checkout-holder input:focus-visible,
.participant-checkout__coupon input:focus-visible {
    outline: none;
    border-color: var(--focus-ring-color);
    box-shadow: 0 0 0 3px rgba(33, 74, 134, 0.18);
}

/* A2 — Box de erro do checkout: realce de atenção (o anúncio em si vem de
   role="alert"/aria-live no HTML). */
.participant-checkout__error:not(.hidden) {
    scroll-margin-top: 1rem;
}

/* A10 — Conforto de teclado virtual: garante que o último campo não fique
   colado na barra fixa ao receber foco no mobile. */
.participant-checkout__form {
    scroll-padding-bottom: 7rem;
}

@media (max-width: 1080px) {
    /* O checkout renderiza a bottom-nav do participante (activeTab=tickets), então
       a barra sticky precisa manter a folga de 5.8rem que já existia e somar a
       safe-area dos aparelhos com notch/gesto. Não reduzir esta folga. */
    .participant-checkout__floating-submit {
        bottom: calc(5.8rem + env(safe-area-inset-bottom));
    }
}

/* A6 — Empty-state elegante da home quando uma busca/filtro não retorna eventos. */
.landing-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
    border: 1px dashed var(--brand-stroke);
    border-radius: var(--radius-2xl);
    background: rgba(255, 255, 255, 0.7);
    padding: clamp(2rem, 6vw, 3.5rem) 1.5rem;
    text-align: center;
}

.landing-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: var(--radius-pill);
    background: var(--brand-pale);
    color: var(--brand-sky);
}

.landing-empty__title {
    margin: 0;
    color: var(--brand-blue);
    font-family: "Sora", sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
}

.landing-empty__text {
    margin: 0;
    max-width: 32rem;
    color: var(--brand-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.landing-empty__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--space-2);
    border-radius: var(--radius-pill);
    background: var(--brand-blue);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.7rem 1.25rem;
}

.landing-empty__cta:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* A17 — Reforço de scroll-snap touch-friendly nas faixas horizontais. */
@media (max-width: 768px) {
    .landing-section__scroll-row {
        scroll-snap-type: x mandatory;
        scroll-padding-left: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .landing-section__scroll-item {
        scroll-snap-align: start;
    }
}

/* Respeita usuários com preferência por menos movimento. */
@media (prefers-reduced-motion: reduce) {
    .participant-home-banner__slide,
    .order-success-hero,
    .landing-section,
    .event-card {
        animation: none !important;
        transition: none !important;
    }
}

/* A11 — Aviso de limite (estoque do lote / teto por pedido) no seletor de ingressos. */
.participant-ticket-limit-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.65rem 0 0;
    border-radius: var(--radius-sm);
    background: rgba(255, 122, 26, 0.1);
    color: #9a4a08;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.4;
    padding: 0.6rem 0.85rem;
}

.participant-ticket-limit-note::before {
    content: "";
    flex: 0 0 auto;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: var(--radius-pill);
    background: var(--brand-orange);
}

.participant-ticket-limit-note.hidden {
    display: none;
}

/* A14 — Dica discreta sob campos do checkout (documento, CVV). */
.participant-checkout__field-hint {
    display: block;
    margin-top: 0.3rem;
    color: var(--brand-muted);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.4;
}

/* A7 — Hero do evento proporcional no mobile: o piso de 25rem empurrava os
   ingressos para muito abaixo da dobra. Reduz a altura sem redesenhar. */
@media (max-width: 768px) {
    .participant-event-hero {
        min-height: clamp(15rem, 52vw, 22rem);
        border-radius: var(--radius-xl);
    }
}

@media (max-width: 400px) {
    .participant-event-hero {
        min-height: clamp(13rem, 56vw, 17rem);
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   REFINAMENTO VISUAL — Página do Evento & Checkout (acabamento premium)
   Bloco aditivo (vence na cascata). Identidade preservada: navy + laranja.
   Objetivo: elevação contida, raio consistente, hierarquia e estados nítidos.
   ══════════════════════════════════════════════════════════════════════════ */

/* Superfícies das duas telas: elevação contida (menos "flutuante") e raio uniforme. */
.participant-ticket-picker,
.participant-event-info-card,
.participant-event-similar,
.participant-checkout__event-card,
.participant-checkout__section,
.participant-checkout-summary,
.participant-checkout__trust {
    box-shadow: var(--elev-2);
}

.participant-checkout__header {
    border-radius: var(--radius-xl);
    box-shadow: var(--elev-2);
}

/* ── Cards de ingresso (evento): superfície sólida + hierarquia mais firme ── */
.participant-ticket-choice {
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--elev-1);
    transition: border-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.participant-ticket-choice:hover {
    box-shadow: var(--elev-2);
}

.participant-ticket-choice h3 {
    font-weight: 750;
}

/* Estado selecionado forte e inequívoco: anel laranja + leve realce. */
.participant-ticket-choice.is-selected {
    border-color: rgba(255, 122, 26, 0.5);
    background: linear-gradient(135deg, rgba(255, 122, 26, 0.08), #ffffff 62%);
    box-shadow: 0 0 0 1px rgba(255, 122, 26, 0.45), var(--elev-2);
}

/* ── Métodos de pagamento: hover + selecionado reforçados ── */
.participant-checkout-payment:hover {
    border-color: rgba(11, 35, 72, 0.16);
    box-shadow: var(--elev-1);
}

.payment-method-card.participant-checkout-payment.is-selected {
    box-shadow: 0 0 0 1px rgba(238, 125, 29, 0.4), var(--elev-1);
}

/* ── Cartões de ingresso selecionado no checkout: superfície sólida ── */
.participant-checkout-selection {
    background: #fff;
    box-shadow: var(--elev-1);
}

/* ── Resumo financeiro: total com destaque institucional ── */
.participant-checkout-summary__total {
    border-top: var(--hairline);
    margin-top: 0.35rem;
    padding-top: 0.85rem;
}

.participant-checkout-summary__total strong {
    font-size: 1.65rem;
    letter-spacing: -0.03em;
}

/* ── Faixa de informações essenciais do evento ── */
.participant-event-fact strong {
    font-weight: 800;
}

/* Botão "alterar seleção" e voltar: foco visível consistente. */
.participant-checkout__review-link:focus-visible,
.participant-checkout__back:focus-visible,
.participant-event-info-card--map a:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* Eventos relacionados: carrossel touch-friendly com snap no mobile. */
@media (max-width: 768px) {
    .participant-event-similar__rail {
        scroll-snap-type: x mandatory;
        scroll-padding-left: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .participant-event-similar__item {
        scroll-snap-align: start;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   REDESIGN PREMIUM DO CHECKOUT — focado, compacto, mobile-first
   Bloco aditivo (vence na cascata). Preserva todos os hooks de JS.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Header compacto, horizontal, com selo de segurança discreto ── */
.participant-checkout__header {
    align-items: center;
    box-shadow: var(--elev-1);
}
.participant-checkout__header-titles {
    flex: 1 1 auto;
    min-width: 0;
}
.participant-checkout__header h1 {
    font-size: clamp(1.45rem, 3vw, 2.05rem);
}
.participant-checkout__back span {
    display: inline;
}
.participant-checkout__header-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    line-height: 0;
}
.participant-checkout__header-brand img {
    display: block;
    opacity: 0.94;
}

/* ── Evento compacto: botão "Alterar" no canto ── */
.participant-checkout__event-card {
    position: relative;
}
.participant-checkout__event-change {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand-blue);
    font-size: 0.74rem;
    font-weight: 800;
    padding: 0.4rem 0.7rem;
    text-decoration: none;
    box-shadow: var(--elev-1);
}
.participant-checkout__event-change:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}

/* ── Aviso de reserva (informativo, não alarmista) ── */
.participant-checkout__reserve-note {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 122, 26, 0.22);
    background: rgba(255, 122, 26, 0.07);
    padding: 0.75rem 0.95rem;
}
.participant-checkout__reserve-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: var(--radius-pill);
    background: rgba(255, 122, 26, 0.15);
    color: #b3540a;
}
.participant-checkout__reserve-note p {
    margin: 0;
    color: #7a3d07;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.45;
}
.participant-checkout__reserve-note strong {
    font-weight: 850;
}

/* ── Resumo de ingressos: linha compacta (sem dl duplicado) ── */
.participant-checkout__selection-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: var(--hairline);
}
.participant-checkout__selection-summary p {
    margin: 0;
    color: var(--brand-muted);
    font-size: 0.86rem;
    font-weight: 700;
}
.participant-checkout__review-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ── Cupom recolhível (details nativo) ── */
.participant-checkout__coupon-disclosure {
    margin-top: 0.9rem;
    border: 1px solid rgba(11, 35, 72, 0.1);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.7);
    overflow: hidden;
}
.participant-checkout__coupon-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    cursor: pointer;
    list-style: none;
    padding: 0.85rem 1rem;
    color: var(--brand-blue);
    font-size: 0.9rem;
    font-weight: 800;
}
.participant-checkout__coupon-summary::-webkit-details-marker {
    display: none;
}
.participant-checkout__coupon-summary-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.participant-checkout__coupon-summary:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-md);
}
.participant-checkout__coupon-chevron {
    display: inline-flex;
    color: var(--brand-muted);
    transition: transform 0.2s ease;
}
.participant-checkout__coupon-disclosure[open] .participant-checkout__coupon-chevron {
    transform: rotate(90deg);
}
.participant-checkout__coupon-disclosure .participant-checkout__coupon {
    margin: 0;
    padding: 0 1rem 1rem;
}

/* ── Dados do comprador: resumo compacto + Editar (mobile) ── */
.participant-checkout__buyer-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-radius: var(--radius-md);
    border: var(--hairline);
    background: rgba(255, 255, 255, 0.75);
    padding: 0.85rem 1rem;
}
.participant-checkout__buyer-summary-info {
    min-width: 0;
}
.participant-checkout__buyer-summary-info strong {
    display: block;
    color: var(--brand-blue);
    font-weight: 850;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.participant-checkout__buyer-summary-info span {
    display: block;
    color: var(--brand-muted);
    font-size: 0.84rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.participant-checkout__buyer-summary-info small {
    display: block;
    margin-top: 0.15rem;
    color: var(--brand-muted);
    font-size: 0.76rem;
    font-weight: 700;
}
.participant-checkout__buyer-edit {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex: 0 0 auto;
    border: 0;
    border-radius: var(--radius-pill);
    background: rgba(11, 35, 72, 0.07);
    color: var(--brand-blue);
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.55rem 0.9rem;
}
.participant-checkout__buyer-edit:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}
.participant-checkout__buyer-locked {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex: 0 0 auto;
    border-radius: var(--radius-pill);
    background: rgba(11, 35, 72, 0.05);
    color: var(--text-muted, #64748b);
    cursor: default;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.5rem 0.85rem;
}

/* ── Resumo financeiro: cabeçalho + toggle (mobile) + linha de confiança ── */
.participant-checkout-summary__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}
.participant-checkout-summary__toggle {
    display: none; /* desktop: detalhes sempre visíveis */
    align-items: center;
    gap: 0.3rem;
    flex: 0 0 auto;
    border: 0;
    border-radius: var(--radius-pill);
    background: rgba(11, 35, 72, 0.07);
    color: var(--brand-blue);
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.45rem 0.75rem;
}
.participant-checkout-summary__toggle-chevron {
    display: inline-flex;
    transition: transform 0.2s ease;
}
.participant-checkout-summary__toggle[aria-expanded="true"] .participant-checkout-summary__toggle-chevron {
    transform: rotate(90deg);
}
.participant-checkout-summary__toggle:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
}
.participant-checkout-summary__trustline {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0.85rem 0 0;
    padding-top: 0.75rem;
    border-top: var(--hairline);
    color: var(--brand-muted);
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .participant-checkout-summary__toggle {
        display: inline-flex;
    }
    /* Barra inferior é a fonte primária do total no mobile. */
    .participant-checkout__reserve-note p {
        font-size: 0.82rem;
    }
}

/* ── Barra de submit: checkout focado (sem bottom-nav) encosta na base ── */
@media (max-width: 1080px) {
    .participant-checkout__floating-submit {
        bottom: calc(0.85rem + env(safe-area-inset-bottom));
    }
}

/* CTA dominante na barra fixa: ocupa a maior parte da largura. */
.participant-checkout__floating-submit button {
    flex: 1 1 auto;
    justify-content: center;
}
.participant-checkout__floating-submit > div {
    flex: 0 0 auto;
}

/* ── Footer mínimo do checkout ── */
.checkout-footer {
    margin-top: 1.5rem;
    border-top: var(--hairline);
    background: rgba(255, 255, 255, 0.6);
}
.checkout-footer__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem 1.1rem;
    max-width: 60rem;
    margin: 0 auto;
    padding: 1rem 1.25rem calc(7rem + env(safe-area-inset-bottom));
    color: var(--brand-muted);
    font-size: 0.8rem;
    font-weight: 600;
}
.checkout-footer__links {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.checkout-footer__links a {
    color: var(--brand-muted);
    text-decoration: none;
}
.checkout-footer__links a:hover {
    color: var(--brand-blue);
}
.checkout-footer__secure {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #15795c;
    font-weight: 800;
}
@media (min-width: 769px) {
    .checkout-footer__inner {
        justify-content: space-between;
        padding-bottom: 1rem;
    }
}

/* Checkout mobile: primeira dobra mais útil e navegação contextual. */
@media (max-width: 720px) {
    .participant-checkout {
        gap: 0.75rem;
    }

    .participant-checkout__header {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.75rem 1rem;
        border-radius: 1.35rem;
        padding: 0.9rem 1rem 1.05rem;
    }

    .participant-checkout__back {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        background: transparent;
        padding: 0.4rem 0;
        box-shadow: none;
    }

    .participant-checkout__back span {
        margin: 0;
    }

    .participant-checkout__header-brand {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
    }

    .participant-checkout__header-titles {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .participant-checkout__header h1 {
        font-size: clamp(1.55rem, 7vw, 1.9rem);
        line-height: 1.02;
    }

    .participant-checkout__header-titles > span {
        max-width: 30rem;
        margin-top: 0.3rem;
        font-size: 0.88rem;
        line-height: 1.4;
    }

    .participant-checkout__event-card {
        gap: 0.7rem;
        border-radius: 1.35rem;
        padding: 0.65rem;
    }

    .participant-checkout__event-image {
        aspect-ratio: 16 / 7;
        height: auto;
        min-height: 0;
        border-radius: 1rem;
    }

    .participant-checkout__event-body {
        padding: 0.25rem 0.3rem 0.4rem;
    }

    .participant-checkout__event-body h2 {
        max-width: 92%;
        font-size: clamp(1.35rem, 6vw, 1.75rem);
        line-height: 1.02;
    }

    .participant-checkout__event-body p {
        margin-top: 0.4rem;
        font-size: 0.84rem;
        line-height: 1.4;
        -webkit-line-clamp: 1;
    }

    .participant-checkout__facts {
        gap: 0.35rem;
        margin-top: 0.65rem;
    }

    .participant-checkout__facts span {
        gap: 0.28rem;
        font-size: 0.72rem;
        padding: 0.42rem 0.55rem;
    }

    .participant-checkout__event-change {
        top: 0.95rem;
        right: 0.95rem;
        font-size: 0.72rem;
        padding: 0.45rem 0.65rem;
    }

    .participant-checkout__floating-submit {
        width: auto;
        max-width: none;
        margin-inline: 0.4rem;
        border-radius: 1.1rem;
        padding: 0.5rem;
    }

    .participant-checkout__floating-submit > div > span {
        font-size: 0.62rem;
        letter-spacing: 0.12em;
    }

    .participant-checkout__floating-submit strong {
        font-size: 1.08rem;
    }

    .participant-checkout__floating-submit button {
        min-height: 3rem;
        border-radius: 0.85rem;
        font-size: 0.82rem;
        padding: 0.75rem 0.9rem;
    }
}

@media (max-width: 420px) {
    .participant-checkout__event-change span {
        font-size: 0;
    }

    .participant-checkout__event-change span::after {
        content: "Alterar";
        font-size: 0.72rem;
    }

    .participant-checkout__facts span:last-child {
        width: 100%;
    }
}

/* Checkout mobile: revisão de ingressos sem cards aninhados ou dados repetidos. */
@media (max-width: 720px) {
    .participant-checkout__section--tickets {
        padding: 0.95rem;
    }

    .participant-checkout__section--tickets .participant-checkout__section-head {
        display: block;
        margin-bottom: 0.8rem;
    }

    .participant-checkout__section--tickets .participant-checkout__eyebrow {
        width: auto;
        margin-bottom: 0.55rem;
        background: transparent;
        padding: 0;
        color: #697991;
        font-size: 0.65rem;
        letter-spacing: 0.13em;
    }

    .participant-checkout__section--tickets .participant-checkout__section-head h2 {
        margin-top: 0;
        font-size: 1.3rem;
        line-height: 1.1;
    }

    .participant-checkout__section--tickets .participant-checkout__section-head > div > span:last-child {
        margin-top: 0.3rem;
        font-size: 0.82rem;
        line-height: 1.4;
    }

    .participant-checkout__section--tickets .participant-checkout__section-head > strong {
        display: none;
    }

    .participant-checkout-selection {
        gap: 0.7rem;
        border-radius: 1rem;
        padding: 0.85rem;
        box-shadow: none;
    }

    .participant-checkout-selection__pills {
        margin-bottom: 0.5rem;
    }

    .participant-checkout-selection__pills span {
        font-size: 0.67rem;
        padding: 0.24rem 0.48rem;
    }

    .participant-checkout-selection__body h3 {
        font-size: 1rem;
    }

    .participant-checkout-selection__body p,
    .participant-checkout-selection__body small {
        margin-top: 0.22rem;
        font-size: 0.78rem;
        line-height: 1.38;
    }

    .participant-checkout-selection__body small {
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .participant-checkout-selection__totals {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: end;
        justify-items: stretch;
        gap: 0.12rem 0.75rem;
        min-width: 0;
        border-top: 1px solid rgba(11, 35, 72, 0.08);
        padding-top: 0.7rem;
        text-align: left;
    }

    .participant-checkout-selection__totals span {
        grid-column: 1;
        grid-row: 1;
        font-size: 0.7rem;
        font-weight: 700;
    }

    .participant-checkout-selection__totals strong {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: center;
        font-size: 1.08rem;
        white-space: nowrap;
    }

    .participant-checkout-selection__totals b {
        grid-column: 1;
        grid-row: 2;
        color: #697991;
        font-size: 0.68rem;
        font-weight: 750;
    }

    .participant-checkout__selection-summary {
        flex-wrap: nowrap;
        gap: 0.65rem;
        margin-top: 0.65rem;
        border-radius: 0;
        background: transparent;
        padding: 0.7rem 0 0;
    }

    .participant-checkout__selection-summary p {
        min-width: 0;
        font-size: 0.76rem;
        line-height: 1.3;
    }

    .participant-checkout__review-link {
        flex: 0 0 auto;
        gap: 0.25rem;
        background: transparent;
        font-size: 0.75rem;
        padding: 0.45rem 0;
        box-shadow: none;
    }
}

/* Resumo com linguagem visual de ingresso, sem sugerir emissão antecipada. */
.participant-checkout-selection {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    overflow: visible;
    border: 1px solid rgba(11, 35, 72, 0.12);
    border-top: 3px solid #ff7a1a;
    border-radius: 1.2rem;
    background:
        linear-gradient(135deg, rgba(255, 122, 26, 0.055), transparent 42%),
        #fff;
    padding: 0;
    box-shadow: 0 12px 30px rgba(11, 35, 72, 0.07);
}

.participant-checkout-selection::before,
.participant-checkout-selection::after {
    content: "";
    position: absolute;
    z-index: 2;
    bottom: 3.65rem;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: #fff;
}

.participant-checkout-selection::before {
    left: -0.65rem;
    box-shadow: inset -1px 0 rgba(11, 35, 72, 0.12);
}

.participant-checkout-selection::after {
    right: -0.65rem;
    box-shadow: inset 1px 0 rgba(11, 35, 72, 0.12);
}

.participant-checkout-selection__body {
    padding: 1rem 1.05rem 0.9rem;
}

.participant-checkout-selection__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.95rem;
}

.participant-checkout-selection__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #c15316;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.participant-checkout-selection__brand svg {
    flex: 0 0 auto;
}

.participant-checkout-selection__pills {
    justify-content: flex-end;
    margin: 0;
}

.participant-checkout-selection__event-name {
    display: block;
    margin-bottom: 0.25rem;
    color: #697991;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.35;
    text-transform: uppercase;
}

.participant-checkout-selection__body h3 {
    color: #0b2348;
    font-size: 1.2rem;
}

.participant-checkout-selection__totals {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    justify-items: stretch;
    gap: 0.1rem 1rem;
    min-width: 0;
    border-top: 1px dashed rgba(11, 35, 72, 0.2);
    padding: 0.8rem 1.05rem;
    text-align: left;
}

.participant-checkout-selection__totals span {
    grid-column: 1;
    grid-row: 2;
    font-size: 0.72rem;
}

.participant-checkout-selection__totals b {
    grid-column: 1;
    grid-row: 1;
    color: #697991;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.participant-checkout-selection__totals strong {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 1.2rem;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .participant-checkout-selection {
        border-radius: 1.05rem;
        box-shadow: 0 8px 22px rgba(11, 35, 72, 0.06);
    }

    .participant-checkout-selection__body {
        padding: 0.9rem 0.9rem 0.8rem;
    }

    .participant-checkout-selection__top {
        margin-bottom: 0.75rem;
    }

    .participant-checkout-selection__event-name {
        font-size: 0.66rem;
    }

    .participant-checkout-selection__body h3 {
        font-size: 1.08rem;
    }

    .participant-checkout-selection__totals {
        padding: 0.75rem 0.9rem;
    }

    .participant-checkout-selection__totals strong {
        font-size: 1.08rem;
    }
}

/* Informações do evento: leitura rápida com cor e ícones funcionais. */
.participant-checkout__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(7.5rem, max-content));
    gap: 0.5rem;
}

.participant-checkout__fact {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    border: 1px solid transparent;
    border-radius: 0.9rem;
    padding: 0.52rem 0.65rem;
}

.participant-checkout__fact--date {
    border-color: rgba(255, 122, 26, 0.2);
    background: #fff4eb;
    color: #a9460e;
}

.participant-checkout__fact--time {
    border-color: rgba(33, 74, 134, 0.16);
    background: #eef4ff;
    color: #214a86;
}

.participant-checkout__fact--place {
    grid-column: 1 / -1;
    border-color: rgba(21, 121, 92, 0.16);
    background: #eefaf6;
    color: #15795c;
}

.participant-checkout__fact i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 0.65rem;
    background: rgba(255, 255, 255, 0.75);
}

.participant-checkout__fact i svg {
    width: 1rem;
    height: 1rem;
    stroke-width: 2.2;
}

.participant-checkout__fact > span {
    display: grid;
    gap: 0.05rem;
    min-width: 0;
    margin: 0;
    color: inherit;
}

.participant-checkout__fact small {
    color: currentColor;
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    line-height: 1.1;
    opacity: 0.72;
    text-transform: uppercase;
}

.participant-checkout__fact strong {
    overflow: hidden;
    color: currentColor;
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 720px) {
    .participant-checkout__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
        margin-top: 0.7rem;
    }

    .participant-checkout__fact {
        gap: 0.45rem;
        padding: 0.48rem 0.55rem;
    }

    .participant-checkout__fact i {
        width: 1.75rem;
        height: 1.75rem;
    }

    .participant-checkout__fact strong {
        font-size: 0.75rem;
    }
}

/* Ajuste de direção: metadados em uma única faixa, cor só nos ícones. */
.participant-checkout__facts {
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(11, 35, 72, 0.08);
    border-radius: 1rem;
    background: #f7f9fc;
}

.participant-checkout__fact,
.participant-checkout__fact--date,
.participant-checkout__fact--time,
.participant-checkout__fact--place {
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #0b2348;
}

.participant-checkout__fact--date {
    border-right: 1px solid rgba(11, 35, 72, 0.08);
}

.participant-checkout__fact--place {
    border-top: 1px solid rgba(11, 35, 72, 0.08);
}

.participant-checkout__fact i {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 0.65rem;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(11, 35, 72, 0.06);
}

.participant-checkout__fact--date i {
    background: #fff0e5;
    color: #c15316;
}

.participant-checkout__fact--time i {
    background: #eaf1ff;
    color: #214a86;
}

.participant-checkout__fact--place i {
    background: #e8f7f1;
    color: #15795c;
}

.participant-checkout__fact i > span {
    width: 1rem;
    height: 1rem;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    padding: 0;
    box-shadow: none;
}

.participant-checkout__fact small {
    color: #718096;
    opacity: 1;
}

.participant-checkout__fact strong {
    color: #0b2348;
}

@media (max-width: 720px) {
    .participant-checkout__facts {
        gap: 0;
    }

    .participant-checkout__fact {
        padding: 0.55rem 0.65rem;
    }
}

/* Direção final: metadados editoriais, sem aparência de painel clínico. */
.participant-checkout__facts {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem 1.15rem;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.participant-checkout__fact,
.participant-checkout__fact--schedule,
.participant-checkout__fact--place {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    width: auto;
    border: 0;
    background: transparent;
    color: #516177;
    padding: 0;
}

.participant-checkout__fact--place {
    flex-basis: 100%;
}

.participant-checkout__fact i,
.participant-checkout__fact--schedule i,
.participant-checkout__fact--place i {
    width: 1rem;
    height: 1rem;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.participant-checkout__fact--schedule i {
    color: #e16814;
}

.participant-checkout__fact--place i {
    color: #214a86;
}

.participant-checkout__fact i > span {
    width: 1rem;
    height: 1rem;
}

.participant-checkout__fact > span {
    display: inline;
    margin: 0;
    border-radius: 0;
    background: transparent;
    color: #a1acbb;
    font-size: 0.72rem;
    padding: 0;
}

.participant-checkout__fact strong {
    overflow: visible;
    color: #516177;
    font-size: 0.8rem;
    font-weight: 750;
    line-height: 1.35;
    text-overflow: clip;
    white-space: normal;
}

@media (max-width: 720px) {
    .participant-checkout__facts {
        gap: 0.5rem;
        margin-top: 0.65rem;
    }

    .participant-checkout__fact {
        padding: 0;
    }

    .participant-checkout__fact--schedule,
    .participant-checkout__fact--place {
        flex-basis: 100%;
    }

    .participant-checkout__fact strong {
        font-size: 0.78rem;
    }
}

/* Pagamento: escolha binária compacta, com menos ruído e hierarquia clara. */
.participant-checkout__section--payment-methods .participant-checkout__section-head {
    margin-bottom: 0.8rem;
}

.participant-checkout__section--payment-methods .participant-checkout__eyebrow {
    width: auto;
    margin-bottom: 0.45rem;
    background: transparent;
    color: #697991;
    padding: 0;
    font-size: 0.65rem;
}

.participant-checkout__section--payment-methods .participant-checkout__section-head h2 {
    margin-top: 0;
    font-size: 1.35rem;
    line-height: 1.1;
}

.participant-checkout__section--payment-methods .participant-checkout__section-head > div > span:last-child {
    margin-top: 0.28rem;
    font-size: 0.82rem;
    line-height: 1.4;
}

.participant-checkout__section--payment-methods .participant-checkout__payment-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.participant-checkout__section--payment-methods .participant-checkout-payment {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 0.55rem;
    min-height: 7.3rem;
    overflow: visible;
    border-color: rgba(11, 35, 72, 0.1);
    border-radius: 1rem;
    background: #fff;
    padding: 0.75rem;
    box-shadow: none;
}

.participant-checkout__section--payment-methods .participant-checkout-payment::before {
    display: none;
}

.participant-checkout__section--payment-methods .participant-checkout-payment__icon {
    grid-column: 1;
    grid-row: 1;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 0.72rem;
}

.participant-checkout__section--payment-methods .participant-checkout-payment > span:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
}

.participant-checkout__section--payment-methods .participant-checkout-payment > i {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    width: 1.05rem;
    height: 1.05rem;
}

.participant-checkout__section--payment-methods .participant-checkout-payment strong {
    font-size: 0.92rem;
}

.participant-checkout__section--payment-methods .participant-checkout-payment small {
    margin-top: 0.18rem;
    font-size: 0.72rem;
    line-height: 1.35;
}

.participant-checkout__section--payment-methods .payment-method-card.participant-checkout-payment.is-selected {
    border-color: rgba(238, 125, 29, 0.58);
    background: #fff9f4;
    box-shadow: 0 0 0 1px rgba(238, 125, 29, 0.18);
}

.participant-checkout__section--payment-methods .participant-checkout__info-pills {
    margin-top: 0.65rem;
}

.participant-checkout__section--payment-methods .participant-checkout__info-pill {
    gap: 0.35rem;
    background: transparent;
    color: #697991;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0;
}

.participant-checkout__section--payment-methods .participant-checkout__info-pill > span {
    color: #15795c;
}

.participant-checkout__section--payment-methods .participant-checkout__coupon-disclosure {
    margin-top: 0.7rem;
    border: 0;
    border-top: 1px solid rgba(11, 35, 72, 0.08);
    border-radius: 0;
    background: transparent;
}

.participant-checkout__section--payment-methods .participant-checkout__coupon-summary {
    color: #516177;
    font-size: 0.78rem;
    padding: 0.75rem 0 0.05rem;
}

@media (max-width: 720px) {
    .participant-checkout__section--payment-methods {
        padding: 0.95rem;
    }

    .participant-checkout__section--payment-methods .participant-checkout__section-head {
        display: block;
    }
}

/* Pagamento — ajuste fino de alinhamento, densidade e confiança. */
.participant-checkout__section--payment-methods .participant-checkout__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1;
}

.participant-checkout__section--payment-methods .participant-checkout__eyebrow > span {
    display: inline-flex;
    margin: 0;
    color: inherit;
}

.participant-checkout__section--payment-methods .participant-checkout-payment {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.5rem;
    min-height: 4.65rem;
    padding: 0.62rem;
}

.participant-checkout__section--payment-methods .participant-checkout-payment__icon {
    grid-column: 1;
    grid-row: 1;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.58rem;
}

.participant-checkout__section--payment-methods .participant-checkout-payment__icon > span {
    width: 0.9rem;
    height: 0.9rem;
}

.participant-checkout__section--payment-methods .participant-checkout-payment > span:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.participant-checkout__section--payment-methods .participant-checkout-payment > i {
    grid-column: 3;
    grid-row: 1;
    width: 0.9rem;
    height: 0.9rem;
    border-width: 1.5px;
}

.participant-checkout__section--payment-methods .participant-checkout-payment.is-selected > i {
    box-shadow: inset 0 0 0 3px #fff;
}

.participant-checkout__section--payment-methods .participant-checkout-payment strong {
    font-size: 0.86rem;
    line-height: 1.15;
}

.participant-checkout__section--payment-methods .participant-checkout-payment small {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.65rem;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.participant-checkout__payment-assurance {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.65rem;
    border: 1px solid #dcebe5;
    border-radius: 0.85rem;
    background: #f5f9f7;
    padding: 0.58rem 0.65rem;
}

.participant-checkout__payment-assurance-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.7rem;
    height: 1.7rem;
    margin: 0;
    border-radius: 50%;
    background: #fff;
    color: #0b7558;
}

.participant-checkout__payment-assurance-icon > span {
    display: inline-flex;
    width: 0.85rem;
    height: 0.85rem;
    margin: 0;
    color: inherit;
}

.participant-checkout__payment-assurance-copy {
    display: grid;
    gap: 0.08rem;
    margin: 0;
}

.participant-checkout__payment-assurance-copy strong {
    color: #174f40;
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1.15;
}

.participant-checkout__payment-assurance-copy small {
    color: #668078;
    font-size: 0.62rem;
    font-weight: 650;
    line-height: 1.25;
}

/* Titularidade: um registro claro por ingresso, com nome e CPF reais. */
.participant-checkout__section--buyer-data .participant-checkout__eyebrow {
    width: auto;
    margin-bottom: 0.45rem;
    background: transparent;
    color: #697991;
    padding: 0;
    font-size: 0.65rem;
}

.participant-checkout__section--buyer-data .participant-checkout__eyebrow > span {
    display: inline-flex;
    margin: 0;
}

.participant-checkout__section--buyer-data .participant-checkout__section-head h2 {
    margin-top: 0;
    font-size: 1.35rem;
    line-height: 1.1;
}

.participant-checkout__section--buyer-data .participant-checkout__section-head > div > span:last-child {
    margin-top: 0.28rem;
    font-size: 0.82rem;
    line-height: 1.4;
}

.participant-checkout__holders-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.participant-checkout__holders-head > div {
    min-width: 0;
}

.participant-checkout__holders-head > strong {
    flex: 0 0 auto;
    border-radius: 999px;
    background: #eef2f7;
    color: #516177;
    font-size: 0.68rem;
    font-weight: 850;
    padding: 0.42rem 0.62rem;
}

.participant-checkout-holder {
    position: relative;
    overflow: visible;
    border: 1px solid rgba(11, 35, 72, 0.09);
    border-radius: 1rem;
    background: #fff;
    padding: 0.8rem;
    box-shadow: 0 8px 22px rgba(11, 35, 72, 0.045);
}

.participant-checkout-holder::before {
    display: none;
}

.participant-checkout-holder__head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.7rem;
}

.participant-checkout-holder__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.7rem;
    background: #fff0e5;
    color: #c15316;
    font-size: 0.72rem;
    font-weight: 900;
}

.participant-checkout-holder__head > div {
    display: grid;
    gap: 0.08rem;
    min-width: 0;
}

.participant-checkout-holder__head > div > strong {
    color: #0b2348;
    font-size: 0.82rem;
    font-weight: 850;
}

.participant-checkout-holder__head > div > small {
    overflow: hidden;
    color: #718096;
    font-size: 0.66rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.participant-checkout-holder__status {
    border-radius: 999px;
    background: #fff3e9;
    color: #a94d14;
    font-size: 0.62rem;
    font-weight: 850;
    padding: 0.35rem 0.5rem;
}

.participant-checkout-holder__status.is-complete {
    background: #edf7f3;
    color: #0f6c51;
}

.participant-checkout-holder__fields {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(8.5rem, 0.8fr);
    gap: 0.55rem;
}

.participant-checkout-holder__fields label {
    display: grid;
    gap: 0.28rem;
}

.participant-checkout-holder__fields label > span {
    color: #697991;
    font-size: 0.66rem;
    font-weight: 800;
}

.participant-checkout-holder__fields input {
    min-width: 0;
    border: 1px solid rgba(11, 35, 72, 0.1);
    border-radius: 0.8rem;
    background: #f9fafc;
    color: #0b2348;
    font-size: 0.82rem;
    padding: 0.68rem 0.72rem;
    outline: none;
}

.participant-checkout-holder__fields input:focus {
    border-color: rgba(33, 74, 134, 0.45);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(33, 74, 134, 0.09);
}

@media (max-width: 720px) {
    .participant-checkout__section--buyer-data {
        padding: 0.95rem;
    }

    .participant-checkout__section--buyer-data .participant-checkout__section-head {
        display: block;
    }

    .participant-checkout__holders-head > div > span {
        font-size: 0.76rem;
        line-height: 1.35;
    }

    .participant-checkout-holder__fields {
        grid-template-columns: 1fr;
    }
}

/* Titularidade — dados completos viram resumo; formulário aparece sob demanda. */
.participant-checkout__buyer-summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.65rem;
    border: 0;
    background: #f7f9fc;
    padding: 0.72rem 0.78rem;
}

.participant-checkout__buyer-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 2.15rem;
    height: 2.15rem;
    margin: 0;
    border-radius: 50%;
    background: #eaf0f8;
    color: #214a86;
}

.participant-checkout__buyer-avatar > span {
    display: inline-flex;
    width: 1rem;
    height: 1rem;
    margin: 0;
}

.participant-checkout__buyer-summary-info > small:first-child {
    margin: 0 0 0.12rem;
    color: #718096;
    font-size: 0.58rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.participant-checkout__buyer-summary-info strong {
    font-size: 0.84rem;
}

.participant-checkout__buyer-summary-info span,
.participant-checkout__buyer-document {
    display: inline;
    margin: 0;
    font-size: 0.68rem;
}

.participant-checkout__buyer-document::before {
    content: " · ";
    color: #a1acbb;
}

.participant-checkout__buyer-edit {
    align-self: center;
    background: transparent;
    font-size: 0.7rem;
    padding: 0.42rem 0;
}

.participant-checkout-holder {
    background: #f8fafc;
    box-shadow: none;
}

.participant-checkout-holder__head {
    margin-bottom: 0.6rem;
}

.participant-checkout-holder__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    border-top: 1px dashed rgba(11, 35, 72, 0.12);
    padding-top: 0.65rem;
}

.participant-checkout-holder__summary[hidden],
.participant-checkout-holder__fields[hidden] {
    display: none;
}

.participant-checkout-holder__summary > div {
    display: grid;
    gap: 0.08rem;
    min-width: 0;
}

.participant-checkout-holder__summary > div > strong {
    overflow: hidden;
    color: #0b2348;
    font-size: 0.8rem;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.participant-checkout-holder__summary > div > span {
    color: #718096;
    font-size: 0.68rem;
    font-weight: 700;
}

.participant-checkout-holder__summary button {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: #214a86;
    cursor: pointer;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 0.35rem 0;
}

.participant-checkout-holder__summary button[hidden] {
    display: none;
}

.participant-checkout__add-ticket-holder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    justify-self: start;
    border-radius: 999px;
    background: #eef3fa;
    color: #214a86;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.55rem 0.72rem;
    text-decoration: none;
}

.participant-checkout__add-ticket-holder:hover {
    background: #e5edf8;
}

@media (max-width: 420px) {
    .participant-checkout__buyer-summary {
        grid-template-columns: auto minmax(0, 1fr);
    }

    .participant-checkout__buyer-edit {
        grid-column: 2;
        justify-self: start;
        padding-top: 0.15rem;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   CARTEIRA DE INGRESSOS — variante "ingresso"
   Card com cara de ticket: poster do evento, linha picotada e canhoto com os
   dados. QR e detalhes completos seguem no painel de detalhes.
   ══════════════════════════════════════════════════════════════════════════ */

.ticket-wallet-card--ticket {
    position: relative;
    display: grid;
    grid-template-rows: auto auto 1fr;
    width: 100%;
    border: 1px solid rgba(213, 221, 233, 0.9);
    border-radius: 1.35rem;
    /* Papel: off-white levemente quente, não branco puro. */
    background-color: #fcfcfa;
    padding: 0;
    overflow: hidden;
    text-align: left;
    color: inherit;
    cursor: pointer;
    /* Profundidade em camadas: contato próximo + sombra ambiente difusa. */
    box-shadow:
        0 1px 1px rgba(15, 23, 42, 0.04),
        0 2px 4px rgba(15, 23, 42, 0.04),
        0 8px 14px rgba(15, 23, 42, 0.05),
        0 18px 38px rgba(15, 23, 42, 0.07);
    transition: border-color 200ms ease, box-shadow 200ms ease, transform 200ms ease;
}

/* Grão de papel: ruído SVG bem sutil sobre todo o ingresso. */
.ticket-wallet-card--ticket::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.5;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
}

.ticket-wallet-card--ticket:hover,
.ticket-wallet-card--ticket:focus-visible {
    border-color: rgba(11, 35, 72, 0.18);
    box-shadow:
        0 2px 3px rgba(15, 23, 42, 0.05),
        0 6px 10px rgba(15, 23, 42, 0.06),
        0 14px 24px rgba(15, 23, 42, 0.08),
        0 28px 56px rgba(15, 23, 42, 0.1);
    transform: translateY(-3px);
    outline: none;
}

/* Poster: imagem do evento como topo do ingresso. */
.ticket-wallet-card__poster {
    position: relative;
    height: 8.5rem;
    background: #0b2348;
}

.ticket-wallet-card__poster img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ticket-wallet-card__poster::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 35, 72, 0) 45%, rgba(11, 35, 72, 0.28));
}

.ticket-wallet-card__poster--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0b2348, #214a86);
    color: rgba(255, 255, 255, 0.55);
}

.ticket-wallet-card__poster--empty::after {
    display: none;
}

/* Status sobreposto à imagem, no canto. */
.ticket-wallet-card--ticket .ticket-wallet-card__status {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    z-index: 1;
    min-height: 1.55rem;
    border: none;
    padding: 0 0.65rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 6px 16px rgba(11, 35, 72, 0.2);
}

.ticket-wallet-card--ticket .ticket-wallet-card__status--active {
    background: #1f9d68;
    color: #fff;
}

.ticket-wallet-card--ticket .ticket-wallet-card__status--used {
    background: #64748b;
    color: #fff;
}

.ticket-wallet-card--ticket .ticket-wallet-card__status--cancelled {
    background: #d8453b;
    color: #fff;
}

/* Linha picotada com furos laterais — a "perfuração" do ingresso. */
.ticket-wallet-card__perforation {
    position: relative;
    height: 1.4rem;
    background-image: repeating-linear-gradient(90deg, #c7d2e2 0 6px, transparent 6px 13px);
    background-size: calc(100% - 1.6rem) 2px;
    background-position: center;
    background-repeat: no-repeat;
}

.ticket-wallet-card__perforation::before,
.ticket-wallet-card__perforation::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: #f7f8fb;
    border: 1px solid rgba(217, 227, 239, 0.94);
    transform: translateY(-50%);
}

.ticket-wallet-card__perforation::before {
    left: -0.7rem;
}

.ticket-wallet-card__perforation::after {
    right: -0.7rem;
}

/* Canhoto: dados do ingresso, com leve relevo de papel sob a perfuração. */
.ticket-wallet-card__stub {
    position: relative;
    display: grid;
    gap: 0.7rem;
    padding: 0.55rem 1.1rem 1rem;
    background-image: linear-gradient(180deg, rgba(11, 35, 72, 0.035), rgba(11, 35, 72, 0) 1.4rem);
}

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

.ticket-wallet-card__title {
    margin: 0;
    color: #0b2348;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.ticket-wallet-card__subtitle {
    margin-top: 0.2rem;
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 600;
}

.ticket-wallet-card__meta {
    display: grid;
    gap: 0.35rem;
    margin: 0;
}

.ticket-wallet-card__meta > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.35;
    min-width: 0;
}

.ticket-wallet-card__meta > div > :first-child {
    color: #94a3b8;
    flex: none;
}

.ticket-wallet-card__meta dd {
    margin: 0;
    color: #1f2a44;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ticket-wallet-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    justify-self: end;
    color: #214a86;
    font-size: 0.8rem;
    font-weight: 700;
}

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

    .ticket-wallet-card__meta > div:first-child {
        grid-column: 1 / -1;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   AJUDA DO INGRESSO — bloco informativo enxuto com ações de atendimento
   ══════════════════════════════════════════════════════════════════════════ */

.ticket-help {
    display: grid;
    gap: 0.85rem;
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 1.3rem;
    background: #fff;
    padding: 1.1rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.ticket-help__eyebrow {
    display: block;
    font-family: 'Sora', 'Manrope', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    color: #0b2348;
}

.ticket-help__copy {
    margin-top: 0.35rem;
    font-size: 0.84rem;
    line-height: 1.55;
    color: #5a6b85;
}

.ticket-help__copy strong {
    color: #34465f;
    font-weight: 700;
}

.ticket-help__actions {
    display: grid;
    gap: 0.6rem;
}

.ticket-help-action {
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 1rem;
    background: rgba(250, 251, 253, 0.9);
    overflow: hidden;
}

.ticket-help-action__summary {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    list-style: none;
    padding: 0.8rem 0.9rem;
    cursor: pointer;
}

.ticket-help-action__summary::-webkit-details-marker {
    display: none;
}

.ticket-help-action--disabled {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0.9rem;
    opacity: 0.62;
}

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

.ticket-help-action__copy {
    display: grid;
    min-width: 0;
    flex: 1;
}

.ticket-help-action__copy strong {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0b2348;
}

.ticket-help-action__copy small {
    margin-top: 0.1rem;
    font-size: 0.76rem;
    line-height: 1.35;
    color: #64748b;
}

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

.ticket-help-action[open] .ticket-help-action__chevron {
    transform: rotate(90deg);
}

.ticket-help-action__form {
    display: grid;
    gap: 0.7rem;
    border-top: 1px solid rgba(217, 227, 239, 0.9);
    padding: 0.85rem 0.9rem;
    background: #fff;
}

.ticket-help-action__textarea {
    width: 100%;
    min-height: 5rem;
    resize: vertical;
    border: 1px solid rgba(217, 227, 239, 0.94);
    border-radius: 0.85rem;
    background: rgba(250, 251, 253, 0.96);
    padding: 0.7rem 0.85rem;
    font-size: 0.86rem;
    line-height: 1.55;
    color: #0f172a;
    outline: none;
}

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

.ticket-help-action__form .ticket-wallet-button {
    min-height: 2.7rem;
    justify-self: start;
    padding: 0 1.3rem;
}

.ticket-help__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 9999px;
    border: 1px solid rgba(217, 227, 239, 0.94);
    background: rgba(255, 255, 255, 0.96);
    padding: 0.75rem 1rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: #0b2348;
    text-decoration: none;
    transition: border-color 160ms ease, background-color 160ms ease;
}

.ticket-help__link:hover {
    border-color: rgba(11, 35, 72, 0.2);
    background: #fff;
}

/* ── Filtros da carteira: tudo em uma linha (rola na horizontal se faltar espaço) ── */
.ticket-wallet-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.3rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.15rem;
}

.ticket-wallet-filters::-webkit-scrollbar {
    display: none;
}

.ticket-wallet-filter {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex: 0 0 auto;
    border-radius: 9999px;
    padding: 0.5rem 0.68rem;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.9);
    color: #5a6b85;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.ticket-wallet-filter:hover {
    color: #0b2348;
}

.ticket-wallet-filter--active {
    background: #0b2348;
    color: #fff;
    box-shadow: 0 8px 20px rgba(11, 35, 72, 0.18);
}

/* ══════════════════════════════════════════════════════════════════════════
   HOME HERO IMERSIVO (logado) — banner edge-to-edge + busca sobreposta
   ══════════════════════════════════════════════════════════════════════════ */

.home-hero {
    position: relative;
    border-radius: 1.6rem;
    overflow: hidden;
    background: #0b2348;
    box-shadow:
        0 2px 6px rgba(7, 18, 40, 0.08),
        0 16px 38px rgba(7, 18, 40, 0.16);
    /* Padrão de banner: para de crescer em telas grandes (centralizado). */
    width: 100%;
    max-width: 75rem;
    margin-inline: auto;
}

/* Categorias acompanham a mesma largura máxima do banner. */
.home-hero__cats {
    width: 100%;
    max-width: 75rem;
    margin-inline: auto;
}

.home-hero__carousel {
    position: relative;
}

/* Banner cheio: imagem ocupa tudo, sem moldura, altura imersiva. */
.home-hero .participant-home-banner__viewport {
    position: relative;
    aspect-ratio: auto;
    min-height: 0;
    height: clamp(15.5rem, 64vw, 19rem);
}

.home-hero .participant-home-banner__slide {
    border-radius: 0;
    background: #0b2348;
}

/* Escurecimento na base para a busca ficar legível sobre a foto. */
.home-hero .participant-home-banner__slide.is-active::after {
    height: 62%;
    background: linear-gradient(180deg, rgba(7, 18, 40, 0) 0%, rgba(7, 18, 40, 0.4) 45%, rgba(7, 18, 40, 0.82) 100%);
}

/* Setas sobem para não brigar com a busca; dots vão acima da barra. */
.home-hero .participant-home-banner__arrow {
    margin-top: -2.4rem;
}

/* Pontinhos removidos no hero: navegação fica só pelas setas/swipe. */
.home-hero .participant-home-banner__dots {
    display: none;
}

/* Barra de busca flutuando sobre a base do banner. */
.home-hero__search {
    position: absolute;
    z-index: 4;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    border-radius: 1.05rem;
    background: rgba(255, 255, 255, 0.97);
    padding: 0.5rem 0.55rem 0.5rem 0.9rem;
    box-shadow: 0 14px 32px rgba(7, 18, 40, 0.32);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.home-hero__search-icon {
    display: inline-flex;
    align-items: center;
    flex: none;
    color: #64748b;
}

.home-hero__search-input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0;
    font-size: 0.95rem;
    color: #0f172a;
    outline: none;
}

.home-hero__search-input::placeholder {
    color: #8090a6;
}

/* Foco da busca: mata o ring quadrado do Tailwind e usa anel arredondado na pílula. */
.home-hero__search-input:focus,
.home-hero__search-input:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

.home-hero__search:focus-within {
    box-shadow:
        0 14px 32px rgba(7, 18, 40, 0.32),
        0 0 0 2px rgba(33, 74, 134, 0.6);
}

.home-hero__search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 2.7rem;
    height: 2.7rem;
    border: 0;
    border-radius: 0.8rem;
    background: linear-gradient(135deg, #0b2348, #214a86);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(11, 35, 72, 0.32);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.home-hero__search-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(11, 35, 72, 0.4);
}

/* Categorias soltas logo abaixo do hero, em uma linha rolável. */
.home-hero__cats {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.15rem;
}

.home-hero__cats::-webkit-scrollbar {
    display: none;
}

.home-hero__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex: 0 0 auto;
    border-radius: 9999px;
    padding: 0.55rem 0.9rem;
    font-size: 0.83rem;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.92);
    color: #5a6b85;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
    transition: color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.home-hero__chip:hover {
    color: #0b2348;
}

.home-hero__chip.is-active {
    background: #0b2348;
    color: #fff;
    box-shadow: 0 8px 20px rgba(11, 35, 72, 0.2);
}

@media (min-width: 768px) {
    .home-hero {
        border-radius: 1.85rem;
    }

    /* Desktop: proporção fixa 16:6, tamanho previsível para os banners. */
    .home-hero .participant-home-banner__viewport {
        height: auto;
        aspect-ratio: 16 / 6;
    }

    .home-hero__search {
        left: 1.1rem;
        right: 1.1rem;
        bottom: 1.1rem;
        max-width: 34rem;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   CENTRAL DE AJUDA DO PARTICIPANTE — chat (namespace tk-chat)
   App de mensagens: lista de conversas + thread em tela cheia + nova conversa.
   ══════════════════════════════════════════════════════════════════════════ */

.tk-chat {
    position: relative;
}

/* ── Avatar por iniciais (cor derivada do nome via --tk-h) ── */
.tk-chat__avatar {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 9999px;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: hsl(var(--tk-h, 210) 62% 32%);
    background: hsl(var(--tk-h, 210) 70% 93%);
    box-shadow: inset 0 0 0 1px hsl(var(--tk-h, 210) 60% 86%);
}

.tk-chat__avatar--tickiton {
    color: #fff;
    background: linear-gradient(135deg, #0b2348, #214a86);
    box-shadow: none;
}

/* ════════════════════ TELA 1 — caixa de conversas ════════════════════ */
.tk-chat__inbox {
    margin: 0.4rem 0.9rem calc(7rem + env(safe-area-inset-bottom));
    background: #fff;
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 1.35rem;
    padding: 0.7rem 0.65rem 0.4rem;
    box-shadow: 0 18px 40px rgba(15, 40, 80, 0.06);
}

.tk-chat__search {
    position: relative;
    display: block;
    margin: 0.15rem 0.25rem 0.35rem;
}

.tk-chat__search-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.tk-chat__search-input {
    width: 100%;
    border: 1px solid rgba(217, 227, 239, 0.95);
    background: #f6f8fb;
    border-radius: 9999px;
    padding: 0.72rem 1rem 0.72rem 2.5rem;
    font-size: 0.95rem;
    color: #0b2348;
    outline: none;
    transition: border-color 140ms ease, background-color 140ms ease;
}

.tk-chat__search-input:focus {
    border-color: #214a86;
    background: #fff;
}

.tk-chat__list {
    display: flex;
    flex-direction: column;
}

/* ── Linha de conversa ── */
.tk-chat__row {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0.6rem;
    border-radius: 1rem;
    color: inherit;
    text-decoration: none;
    transition: background-color 120ms ease;
}

.tk-chat__row + .tk-chat__row {
    border-top: 1px solid rgba(226, 234, 244, 0.85);
}

.tk-chat__row:hover {
    background: rgba(11, 35, 72, 0.035);
}

.tk-chat__row.is-active {
    background: rgba(33, 74, 134, 0.08);
}

.tk-chat__row-body {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 0.12rem;
}

.tk-chat__row-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.6rem;
}

.tk-chat__row-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0b2348;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
    flex: 1;
}

.tk-chat__row.has-action .tk-chat__row-title {
    font-weight: 800;
}

.tk-chat__row-time {
    flex: none;
    font-size: 0.74rem;
    font-weight: 600;
    color: #94a3b8;
}

.tk-chat__row.has-action .tk-chat__row-time {
    color: #ee7d1d;
    font-weight: 700;
}

.tk-chat__row-contact {
    font-size: 0.76rem;
    font-weight: 600;
    color: #7c8aa3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-chat__row-preview {
    font-size: 0.85rem;
    line-height: 1.3;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.tk-chat__row.has-action .tk-chat__row-preview {
    color: #46566f;
}

.tk-chat__row-resolved {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #16a163;
    font-weight: 700;
}

.tk-chat__row-dot {
    flex: none;
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 9999px;
    background: #ee7d1d;
    box-shadow: 0 0 0 3px rgba(238, 125, 29, 0.16);
}

/* ── Empty state ── */
.tk-chat__empty {
    display: grid;
    justify-items: center;
    gap: 0.5rem;
    text-align: center;
    padding: 2.4rem 1.4rem 2.8rem;
}

.tk-chat__empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 9999px;
    color: #214a86;
    background: rgba(33, 74, 134, 0.1);
    margin-bottom: 0.2rem;
}

.tk-chat__empty strong {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0b2348;
}

.tk-chat__empty p {
    max-width: 22rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #64748b;
}

.tk-chat__empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.5rem;
    padding: 0.7rem 1.3rem;
    border: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, #0b2348, #214a86);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(11, 35, 72, 0.28);
}

/* ════════════════════ TELA 2 — thread (chat em tela cheia) ════════════════════ */
.tk-chat__thread {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: #fff;
    flex-direction: column;
}

.tk-chat__thread:not([hidden]) {
    display: flex;
}

.tk-chat__thread-bar {
    flex: none;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: calc(0.6rem + env(safe-area-inset-top)) 0.85rem 0.6rem;
    border-bottom: 1px solid rgba(226, 234, 244, 0.9);
    background: #fff;
}

.tk-chat__back,
.tk-chat__thread-link {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: #0b2348;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 120ms ease;
}

.tk-chat__back:hover,
.tk-chat__thread-link:hover {
    background: rgba(11, 35, 72, 0.06);
}

.tk-chat__thread-bar .tk-chat__avatar {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 0.8rem;
}

.tk-chat__thread-id {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 0.05rem;
}

.tk-chat__thread-id strong {
    font-size: 1rem;
    font-weight: 800;
    color: #0b2348;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-chat__thread-id small {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #7c8aa3;
}

.tk-chat__status-dot {
    flex: none;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: #94a3b8;
}

.tk-chat__status-dot.is-waiting_participant { background: #ee7d1d; }
.tk-chat__status-dot.is-waiting_producer { background: #214a86; }
.tk-chat__status-dot.is-waiting_ticketon { background: #d9920b; }
.tk-chat__status-dot.is-resolved,
.tk-chat__status-dot.is-closed { background: #16a163; }

/* Faixa de contexto (assunto / pedido + resolver) */
.tk-chat__context {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.5rem 0.95rem;
    background: #f6f8fb;
    border-bottom: 1px solid rgba(226, 234, 244, 0.9);
    font-size: 0.8rem;
}

.tk-chat__context-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #64748b;
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-chat__context-resolve,
.tk-chat__context-resolved {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.tk-chat__context-form { flex: none; }

.tk-chat__context-resolve {
    border: 1px solid rgba(22, 161, 99, 0.4);
    border-radius: 9999px;
    padding: 0.28rem 0.7rem;
    background: rgba(22, 161, 99, 0.08);
    color: #138a55;
    cursor: pointer;
}

.tk-chat__context-resolved { color: #16a163; }

/* Histórico de mensagens */
.tk-chat__messages {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 1rem 0.9rem;
    background:
        radial-gradient(120% 60% at 50% 0%, rgba(33, 74, 134, 0.04), transparent 60%),
        linear-gradient(#fbfcfe, #f4f7fb);
}

.tk-chat__day {
    align-self: center;
    margin: 0.4rem 0;
}

.tk-chat__day span {
    font-size: 0.72rem;
    font-weight: 700;
    color: #8294ad;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(226, 234, 244, 0.9);
    border-radius: 9999px;
    padding: 0.18rem 0.7rem;
}

.tk-msg {
    display: flex;
    flex-direction: column;
    max-width: 84%;
}

.tk-msg--mine { align-self: flex-end; align-items: flex-end; }
.tk-msg--them { align-self: flex-start; align-items: flex-start; }

.tk-msg__who {
    font-size: 0.72rem;
    font-weight: 700;
    color: #7c8aa3;
    margin: 0 0.6rem 0.15rem;
}

.tk-msg__bubble {
    padding: 0.6rem 0.85rem;
    border-radius: 1.15rem;
    font-size: 0.93rem;
    line-height: 1.4;
    word-break: break-word;
}

.tk-msg--them .tk-msg__bubble {
    background: #fff;
    color: #14233c;
    border: 1px solid rgba(226, 234, 244, 0.95);
    border-bottom-left-radius: 0.4rem;
}

.tk-msg--admin.tk-msg--them .tk-msg__bubble {
    background: #fff7ec;
    border-color: rgba(238, 125, 29, 0.35);
}

.tk-msg--mine .tk-msg__bubble {
    background: linear-gradient(135deg, #214a86, #0b2348);
    color: #fff;
    border-bottom-right-radius: 0.4rem;
}

.tk-msg__time {
    font-size: 0.68rem;
    color: #9aa7bd;
    margin: 0.18rem 0.5rem 0;
}

.tk-msg--system {
    align-self: center;
    max-width: 90%;
    text-align: center;
    margin: 0.3rem 0;
}

.tk-msg--system span {
    display: inline-block;
    font-size: 0.78rem;
    line-height: 1.4;
    color: #5d6b82;
    background: rgba(33, 74, 134, 0.06);
    border-radius: 0.9rem;
    padding: 0.4rem 0.8rem;
}

.tk-chat__messages-empty {
    margin: auto;
    display: grid;
    justify-items: center;
    gap: 0.45rem;
    text-align: center;
    padding: 1.5rem;
    color: #64748b;
}

.tk-chat__messages-empty .tk-chat__avatar {
    width: 3.2rem;
    height: 3.2rem;
    font-size: 1rem;
}

.tk-chat__messages-empty strong {
    font-size: 1rem;
    color: #0b2348;
}

.tk-chat__messages-empty p {
    max-width: 20rem;
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Composer */
.tk-chat__composer {
    flex: none;
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    padding: 0.55rem 0.7rem calc(0.6rem + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(226, 234, 244, 0.9);
    background: #fff;
}

.tk-chat__composer-input {
    flex: 1;
    resize: none;
    border: 1px solid rgba(217, 227, 239, 0.95);
    background: #f6f8fb;
    border-radius: 1.3rem;
    padding: 0.65rem 0.95rem;
    font-size: 0.95rem;
    line-height: 1.35;
    color: #0b2348;
    max-height: 8rem;
    outline: none;
    transition: border-color 140ms ease, background-color 140ms ease;
}

.tk-chat__composer-input:focus {
    border-color: #214a86;
    background: #fff;
}

.tk-chat__send {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    border: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, #0b2348, #214a86);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(11, 35, 72, 0.3);
    transition: transform 120ms ease, opacity 120ms ease;
}

.tk-chat__send:hover { transform: translateY(-1px); }
.tk-chat__send:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }
.tk-chat__send svg { transform: translateX(-1px); }

/* ════════════════════ Nova conversa (bottom sheet) ════════════════════ */
.tk-chat__new {
    position: fixed;
    inset: 0;
    z-index: 90;
}

.tk-chat__new[hidden] { display: none; }

.tk-chat__new-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(8, 20, 40, 0.5);
    backdrop-filter: blur(2px);
    cursor: pointer;
    animation: tkFade 160ms ease;
}

.tk-chat__new-sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    background: #fff;
    border-radius: 1.4rem 1.4rem 0 0;
    box-shadow: 0 -18px 50px rgba(8, 20, 40, 0.28);
    overflow: hidden;
    animation: tkSlideUp 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes tkFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tkSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

.tk-chat__new-head {
    flex: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 0.95rem;
    border-bottom: 1px solid rgba(226, 234, 244, 0.9);
}

.tk-chat__new-head strong {
    flex: 1;
    text-align: center;
    font-size: 1rem;
    font-weight: 800;
    color: #0b2348;
}

.tk-chat__new-back,
.tk-chat__new-x {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 9999px;
    background: transparent;
    color: #0b2348;
    cursor: pointer;
}

.tk-chat__new-back:hover,
.tk-chat__new-x:hover { background: rgba(11, 35, 72, 0.06); }

/* equilibra o título centralizado quando só há um botão à esquerda */
.tk-chat__new-back[hidden] + strong + .tk-chat__new-x { margin-left: 0; }

.tk-chat__new-step {
    overflow-y: auto;
    padding: 0.9rem 1rem calc(1.1rem + env(safe-area-inset-bottom));
}

.tk-chat__new-step[hidden] { display: none; }

.tk-chat__new-hint {
    font-size: 0.86rem;
    font-weight: 700;
    color: #46566f;
    margin: 0.1rem 0.2rem 0.6rem;
}

.tk-chat__new-hint-soft {
    font-weight: 500;
    color: #94a3b8;
}

.tk-chat__event-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.tk-chat__event {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    text-align: left;
    border: 1px solid rgba(226, 234, 244, 0.95);
    border-radius: 1.1rem;
    padding: 0.7rem 0.8rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 120ms ease, background-color 120ms ease, transform 120ms ease;
}

.tk-chat__event:hover {
    border-color: #214a86;
    background: rgba(33, 74, 134, 0.04);
}

.tk-chat__event:active { transform: scale(0.99); }

.tk-chat__event-body {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 0.12rem;
}

.tk-chat__event-body strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0b2348;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-chat__event-body small {
    font-size: 0.78rem;
    color: #7c8aa3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-chat__event-go {
    flex: none;
    color: #b6c2d4;
}

.tk-chat__new-empty {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 1.5rem 0.5rem;
}

/* Passo 2 — compor */
.tk-chat__compose-context {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0.75rem;
    border: 1px solid rgba(226, 234, 244, 0.95);
    border-radius: 1.1rem;
    background: #f6f8fb;
    margin-bottom: 0.9rem;
}

.tk-chat__compose-context-body { min-width: 0; }

.tk-chat__compose-context-body strong {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0b2348;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-chat__compose-context-body small {
    font-size: 0.78rem;
    color: #7c8aa3;
}

.tk-chat__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.9rem;
}

.tk-chat__chip {
    border: 1px solid rgba(217, 227, 239, 0.95);
    border-radius: 9999px;
    padding: 0.42rem 0.85rem;
    background: #fff;
    color: #46566f;
    font-size: 0.83rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 120ms ease;
}

.tk-chat__chip:hover { border-color: #214a86; }

.tk-chat__chip.is-active {
    background: #0b2348;
    border-color: #0b2348;
    color: #fff;
}

.tk-chat__compose-text {
    width: 100%;
    resize: vertical;
    min-height: 6.5rem;
    border: 1px solid rgba(217, 227, 239, 0.95);
    border-radius: 1rem;
    padding: 0.8rem 0.9rem;
    font-size: 0.95rem;
    line-height: 1.45;
    color: #0b2348;
    outline: none;
}

.tk-chat__compose-text:focus { border-color: #214a86; }

.tk-chat__compose-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    margin-top: 0.9rem;
    padding: 0.85rem;
    border: 0;
    border-radius: 1rem;
    background: linear-gradient(135deg, #0b2348, #214a86);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(11, 35, 72, 0.28);
}

.tk-chat__compose-send:disabled { opacity: 0.5; cursor: not-allowed; }

.tk-chat__compose-note {
    margin-top: 0.7rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #8294ad;
    text-align: center;
}

/* ════════════════════ FAB ════════════════════ */
.tk-chat__fab {
    position: fixed;
    right: 1.1rem;
    bottom: calc(5.5rem + env(safe-area-inset-bottom));
    z-index: 60;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.3rem;
    border: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, #0b2348, #214a86);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 32px rgba(11, 35, 72, 0.4);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.tk-chat__fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(11, 35, 72, 0.48);
}

/* Esconde o FAB quando uma conversa (ou o "novo") está em tela cheia. */
body.support-chat-overlay-open .tk-chat__fab,
body.tk-new-open .tk-chat__fab { display: none; }

/* Trava o scroll do fundo enquanto o "novo" está aberto. */
body.tk-new-open { overflow: hidden; }

/* ════════════════════ Desktop ════════════════════ */
@media (min-width: 901px) {
    .tk-chat__inbox {
        max-width: 40rem;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 2rem;
    }

    .tk-chat__thread {
        max-width: 44rem;
        margin: 0 auto;
        inset: 0 auto 0 auto;
        border-left: 1px solid rgba(226, 234, 244, 0.9);
        border-right: 1px solid rgba(226, 234, 244, 0.9);
    }

    .tk-chat__new-sheet {
        left: 50%;
        right: auto;
        bottom: 50%;
        transform: translate(-50%, 50%);
        width: min(34rem, 92vw);
        max-height: 82vh;
        border-radius: 1.4rem;
        animation: tkFade 180ms ease;
    }

    .tk-chat__fab { bottom: 1.5rem; right: 1.5rem; }
}

/* ══════════════════════════════════════════════════════════════════════════
   CENTRAL DE AJUDA — correções (header, busca, menu inferior)
   ══════════════════════════════════════════════════════════════════════════ */

/* 1) Header: logo + botões na MESMA linha, centralizados verticalmente.
   O `__top` vira `grid` numa media query estreita, ignorando o flex-direction;
   forçamos flex pra alinhar os ícones com a logo. */
.support-hub--participant-chat > .glass-header--wallet .glass-header__top {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
}

.support-hub--participant-chat > .glass-header--wallet .glass-header__brand,
.support-hub--participant-chat > .glass-header--wallet .glass-header__actions {
    align-self: center !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 2) Busca: vence o reset de formulário do Tailwind (especificidade .tk-chat …).
   Pill bem arredondada + espaço à esquerda pro ícone não colar no texto. */
.tk-chat .tk-chat__search-input {
    border-radius: 9999px;
    padding: 0.78rem 1.1rem 0.78rem 2.85rem;
    height: auto;
}

.tk-chat .tk-chat__search-icon {
    left: 1.05rem;
}

.tk-chat .tk-chat__composer-input {
    border-radius: 1.3rem;
    padding: 0.65rem 0.95rem;
}

.tk-chat .tk-chat__compose-text {
    border-radius: 1rem;
    padding: 0.8rem 0.9rem;
}

/* 3) Menu inferior: ele se esconde quando o `.public-footer` aparece no
   viewport (IntersectionObserver). A tela de chat é curta, então damos altura
   mínima pra empurrar o footer pra baixo da dobra e manter o menu visível. */
.tk-chat {
    min-height: calc(100vh - 11rem);
    min-height: calc(100dvh - 11rem);
}

/* ══════════════════════════════════════════════════════════════════════════
   PERFIL DO PARTICIPANTE — lista de ajustes estilo app (tk-profile)
   ══════════════════════════════════════════════════════════════════════════ */

.tk-profile {
    max-width: 40rem;
    margin: 0 auto;
    padding: 0.4rem 0.9rem calc(7rem + env(safe-area-inset-bottom));
    display: grid;
    gap: 1.25rem;
    min-height: calc(100vh - 9rem);
    min-height: calc(100dvh - 9rem);
}

/* ── Identidade ── */
.tk-profile__id {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.15rem;
    background: #fff;
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 1.6rem;
    box-shadow: 0 18px 40px rgba(15, 40, 80, 0.06);
}

.tk-profile__avatar {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 1.4rem;
    background: linear-gradient(145deg, #0b2348, #2f5da3);
    color: #fff;
    font-size: 1.9rem;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(11, 35, 72, 0.3);
}

.tk-profile__id-body { min-width: 0; }

.tk-profile__name {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0b2348;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-profile__email {
    margin-top: 0.15rem;
    font-size: 0.88rem;
    color: #7c8aa3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-profile__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 0.6rem;
}

.tk-profile__chip {
    font-size: 0.72rem;
    font-weight: 700;
    color: #34507f;
    background: rgba(33, 74, 134, 0.09);
    border-radius: 9999px;
    padding: 0.26rem 0.7rem;
}

.tk-profile__chip.is-success {
    color: #138a55;
    background: rgba(22, 161, 99, 0.12);
}

/* ── Grupos / cards ── */
.tk-profile__group { display: grid; gap: 0.45rem; }

.tk-profile__group-title {
    padding-left: 0.95rem;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #94a3b8;
}

.tk-profile__card {
    background: #fff;
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 1.35rem;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(15, 40, 80, 0.05);
}

.tk-profile__hint {
    padding: 0 0.95rem;
    font-size: 0.78rem;
    line-height: 1.45;
    color: #94a3b8;
}

/* ── Linha ── */
.tk-profile__row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
}

.tk-profile__card > .tk-profile__row + .tk-profile__row {
    border-top: 1px solid rgba(226, 234, 244, 0.85);
}

.tk-profile__row-main { flex: 1; min-width: 0; display: grid; gap: 0.12rem; }

.tk-profile__row-label {
    font-size: 0.74rem;
    font-weight: 600;
    color: #94a3b8;
}

.tk-profile__row-value {
    font-size: 0.96rem;
    font-weight: 600;
    color: #0b2348;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-profile__row-sub {
    font-size: 0.78rem;
    color: #7c8aa3;
}

.tk-profile__row-lock { flex: none; color: #b6c2d4; }

.tk-profile__row-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 0.8rem;
    background: rgba(33, 74, 134, 0.1);
    color: #214a86;
}

.tk-profile__row-icon.is-blue { background: rgba(33, 74, 134, 0.1); color: #214a86; }
.tk-profile__row-icon.is-danger { background: rgba(220, 44, 62, 0.1); color: #dc2c3e; }

.tk-profile__row-chevron { flex: none; color: #c2cde0; transition: transform 160ms ease; }

/* Linha clicável */
.tk-profile__link {
    text-decoration: none;
    color: inherit;
    transition: background-color 120ms ease;
}

.tk-profile__link:hover { background: rgba(11, 35, 72, 0.03); }

/* ── Campos editáveis ── */
.tk-profile__field {
    display: grid;
    gap: 0.35rem;
    padding: 0.85rem 1rem;
}

.tk-profile__card > .tk-profile__field + .tk-profile__field,
.tk-profile__pw .tk-profile__field + .tk-profile__field {
    border-top: 1px solid rgba(226, 234, 244, 0.85);
}

.tk-profile__field > span {
    font-size: 0.74rem;
    font-weight: 600;
    color: #94a3b8;
}

.tk-profile .tk-profile__field input {
    width: 100%;
    border: 1px solid rgba(217, 227, 239, 0.95);
    background: #f6f8fb;
    border-radius: 0.85rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
    color: #0b2348;
    outline: none;
    transition: border-color 140ms ease, background-color 140ms ease;
}

.tk-profile .tk-profile__field input:focus {
    border-color: #214a86;
    background: #fff;
}

.tk-profile__pw-wrap { position: relative; display: block; }

.tk-profile .tk-profile__pw-wrap input { padding-right: 3rem; }

.tk-profile__pw-toggle {
    position: absolute;
    inset-block: 0;
    right: 0.6rem;
    display: inline-flex;
    align-items: center;
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
}

.tk-profile__pw-toggle:hover { color: #214a86; }

/* ── Ações (salvar) ── */
.tk-profile__actions {
    display: flex;
    justify-content: flex-end;
    padding: 0.85rem 1rem;
    border-top: 1px solid rgba(226, 234, 244, 0.85);
}

.tk-profile__save {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.6rem 1.3rem;
    border: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, #0b2348, #214a86);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(11, 35, 72, 0.25);
}

.tk-profile__save.is-orange {
    background: linear-gradient(135deg, #ee7d1d, #f0942f);
    box-shadow: 0 10px 22px rgba(238, 125, 29, 0.28);
}

/* ── Segurança (colapsável) ── */
.tk-profile__summary {
    cursor: pointer;
    list-style: none;
}

.tk-profile__summary::-webkit-details-marker { display: none; }

.tk-profile__collapse[open] .tk-profile__row-chevron { transform: rotate(90deg); }

.tk-profile__pw {
    display: grid;
    gap: 0.2rem;
    padding-bottom: 0.2rem;
    border-top: 1px solid rgba(226, 234, 244, 0.85);
}

.tk-profile__pw-hint {
    padding: 0.1rem 1rem 0;
    font-size: 0.76rem;
    color: #94a3b8;
}

/* ── Sair ── */
.tk-profile__logout {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.95rem 1rem;
    background: #fff;
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 1.35rem;
    color: #dc2c3e;
    font-size: 0.96rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(15, 40, 80, 0.05);
    transition: background-color 120ms ease;
}

.tk-profile__logout:hover { background: rgba(220, 44, 62, 0.04); }

/* ── Cadastro: seletor CPF / CNPJ (pessoa física x jurídica) ── */
.auth-doc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.4rem;
}

.auth-doc-head .auth-label { margin-bottom: 0; }

.auth-doctype {
    display: inline-flex;
    gap: 0.15rem;
    padding: 0.2rem;
    background: #eef2f7;
    border-radius: 9999px;
}

.auth-doctype__opt {
    border: 0;
    background: transparent;
    border-radius: 9999px;
    padding: 0.3rem 0.85rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: background-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
}

.auth-doctype__opt.is-active {
    background: #fff;
    color: #0b2348;
    box-shadow: 0 2px 6px rgba(15, 40, 80, 0.14);
}

/* ══════════════════════════════════════════════════════════════════════════
   DASHBOARD DO PRODUTOR — painel analítico compacto (tk-dash)
   ══════════════════════════════════════════════════════════════════════════ */

/* Header wallet alinhado em linha (geral, não só no participante). */
.glass-header--wallet .glass-header__top {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
}

.tk-dash {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));
}

/* ── Toolbar de filtros ── */
.tk-dash__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.6rem;
    background: #fff;
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 1.1rem;
    padding: 0.85rem;
    box-shadow: 0 12px 28px rgba(15, 40, 80, 0.05);
}

.tk-dash__tool { display: grid; gap: 0.3rem; flex: 1 1 7rem; min-width: 0; }
.tk-dash__tool--event { flex: 2 1 13rem; }

.tk-dash__tool-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.tk-dash .tk-dash__select,
.tk-dash .tk-dash__input {
    width: 100%;
    border: 1px solid rgba(217, 227, 239, 0.95);
    background: #f6f8fb;
    border-radius: 0.7rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.9rem;
    color: #0b2348;
    outline: none;
    transition: border-color 140ms ease, background-color 140ms ease;
}

.tk-dash .tk-dash__select:focus,
.tk-dash .tk-dash__input:focus { border-color: #214a86; background: #fff; }

.tk-dash__apply {
    flex: 0 0 auto;
    align-self: flex-end;
    border: 0;
    border-radius: 0.7rem;
    padding: 0.62rem 1.15rem;
    background: linear-gradient(135deg, #0b2348, #214a86);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.tk-dash__presets { display: flex; flex-wrap: wrap; gap: 0.3rem; flex: 1 1 100%; }

.tk-dash__preset {
    border: 1px solid rgba(217, 227, 239, 0.95);
    border-radius: 9999px;
    padding: 0.32rem 0.78rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    background: #fff;
    text-decoration: none;
}

.tk-dash__preset.is-active { background: #0b2348; border-color: #0b2348; color: #fff; }

/* ── KPIs ── */
.tk-dash__kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; }

.tk-kpi {
    position: relative;
    display: grid;
    gap: 0.22rem;
    padding: 0.85rem 0.9rem 0.85rem 1.05rem;
    background: #fff;
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 1rem;
    box-shadow: 0 10px 24px rgba(15, 40, 80, 0.04);
    text-decoration: none;
    overflow: hidden;
}

.tk-kpi::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: #214a86; }
.tk-kpi--orange::before { background: #ee7d1d; }
.tk-kpi--sky::before { background: #4f8dff; }
.tk-kpi--green::before { background: #16a163; }

.tk-kpi__top { display: flex; align-items: center; justify-content: space-between; gap: 0.4rem; }

.tk-kpi__label {
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7c8aa3;
    line-height: 1.2;
}

.tk-kpi__icon {
    flex: none;
    display: inline-flex;
    width: 1.7rem;
    height: 1.7rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    color: #214a86;
    background: rgba(33, 74, 134, 0.1);
}

.tk-kpi--orange .tk-kpi__icon { color: #ee7d1d; background: rgba(238, 125, 29, 0.12); }
.tk-kpi--sky .tk-kpi__icon { color: #4f8dff; background: rgba(79, 141, 255, 0.12); }
.tk-kpi--green .tk-kpi__icon { color: #16a163; background: rgba(22, 161, 99, 0.12); }

.tk-kpi__value { font-size: 1.4rem; font-weight: 800; color: #0b2348; line-height: 1.1; }
.tk-kpi__caption { font-size: 0.72rem; color: #94a3b8; }

/* ── Atalhos ── */
.tk-dash__quick { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }

.tk-quick {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    background: #fff;
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 1rem;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(15, 40, 80, 0.04);
    transition: background-color 120ms ease;
}

.tk-quick:hover { background: rgba(11, 35, 72, 0.02); }

.tk-quick__icon {
    flex: none;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tk-quick__icon.is-blue { color: #214a86; background: rgba(33, 74, 134, 0.1); }
.tk-quick__icon.is-orange { color: #ee7d1d; background: rgba(238, 125, 29, 0.12); }
.tk-quick__icon.is-green { color: #16a163; background: rgba(22, 161, 99, 0.12); }
.tk-quick__icon.is-sky { color: #4f8dff; background: rgba(79, 141, 255, 0.12); }

.tk-quick__body { flex: 1; min-width: 0; display: grid; gap: 0.1rem; }
.tk-quick__body strong { font-size: 0.92rem; color: #0b2348; font-weight: 700; }
.tk-quick__body small { font-size: 0.76rem; color: #7c8aa3; }
.tk-quick__go { flex: none; color: #c2cde0; }

/* ── Grid principal ── */
.tk-dash__grid { display: grid; gap: 1rem; }
.tk-dash__col { display: grid; gap: 1rem; align-content: start; }
.tk-dash__pair { display: grid; gap: 1rem; }

/* ── Card de seção ── */
.tk-card {
    background: #fff;
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 1.1rem;
    padding: 1rem;
    box-shadow: 0 12px 28px rgba(15, 40, 80, 0.045);
}

.tk-card__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.85rem; }
.tk-card__title { font-size: 1rem; font-weight: 800; color: #0b2348; line-height: 1.2; }
.tk-card__sub { font-size: 0.77rem; color: #94a3b8; margin-top: 0.12rem; line-height: 1.35; }
.tk-card__action { flex: none; font-size: 0.78rem; font-weight: 700; color: #214a86; text-decoration: none; white-space: nowrap; }

.tk-chip {
    flex: none;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #214a86;
    background: rgba(33, 74, 134, 0.08);
    border-radius: 9999px;
    padding: 0.25rem 0.6rem;
    white-space: nowrap;
}

/* ── Barras ── */
.tk-bars { display: flex; align-items: flex-end; gap: 0.4rem; height: 150px; }
.tk-bars__col { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; height: 100%; }
.tk-bars__track { flex: 1; width: 100%; display: flex; align-items: flex-end; }
.tk-bars__fill { width: 100%; border-radius: 0.4rem 0.4rem 0 0; min-height: 3px; }
.tk-bars__fill.is-orange { background: linear-gradient(to top, #ee7d1d, #f7a24a); }
.tk-bars__fill.is-blue { background: linear-gradient(to top, #214a86, #4f8dff); }
.tk-bars__label { font-size: 0.64rem; font-weight: 600; color: #94a3b8; }

/* ── Métricas (radar) ── */
.tk-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.tk-metric { background: #f6f8fb; border-radius: 0.8rem; padding: 0.6rem 0.7rem; display: grid; gap: 0.12rem; }
.tk-metric__label { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #94a3b8; }
.tk-metric__value { font-size: 1.15rem; font-weight: 800; color: #0b2348; line-height: 1.15; }
.tk-metric__value--sm { font-size: 0.95rem; }
.tk-metric__value.is-good { color: #16a163; }
.tk-metric__value.is-warn { color: #ee7d1d; }
.tk-metric__value.is-bad { color: #dc2c3e; }
.tk-metric__hint { font-size: 0.7rem; color: #94a3b8; }

/* ── Listas ── */
.tk-list { display: flex; flex-direction: column; }
.tk-list__row { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; padding: 0.65rem 0; text-decoration: none; color: inherit; }
.tk-list__row + .tk-list__row { border-top: 1px solid rgba(226, 234, 244, 0.8); }
.tk-list__row--stack { flex-direction: column; align-items: stretch; gap: 0.45rem; }
.tk-list__line { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6rem; }
.tk-list__main { min-width: 0; display: grid; gap: 0.1rem; }
.tk-list__title { font-size: 0.9rem; font-weight: 700; color: #0b2348; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-list__sub { font-size: 0.75rem; color: #7c8aa3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-list__meta { font-size: 0.7rem; font-weight: 600; color: #94a3b8; }
.tk-list__value { flex: none; font-size: 0.92rem; font-weight: 800; color: #0b2348; }
.tk-list__right { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 0.25rem; }

/* ── Badge / progresso ── */
.tk-badge { display: inline-flex; align-items: center; font-size: 0.68rem; font-weight: 700; border-radius: 9999px; padding: 0.2rem 0.55rem; white-space: nowrap; }
.tk-badge.is-green { color: #138a55; background: rgba(22, 161, 99, 0.12); }
.tk-badge.is-warn { color: #c9700f; background: rgba(238, 125, 29, 0.14); }
.tk-badge.is-bad { color: #c8313f; background: rgba(220, 44, 62, 0.12); }
.tk-badge.is-blue { color: #214a86; background: rgba(33, 74, 134, 0.1); }

.tk-progress { height: 0.45rem; border-radius: 9999px; background: rgba(226, 234, 244, 0.9); overflow: hidden; }
.tk-progress__fill { display: block; height: 100%; border-radius: 9999px; background: #214a86; }
.tk-progress__fill.is-warn { background: #ee7d1d; }
.tk-progress__fill.is-bad { background: #dc2c3e; }

/* ── Donut ── */
.tk-donut { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.tk-donut__ring { flex: none; width: 8.5rem; height: 8.5rem; border-radius: 9999px; display: flex; align-items: center; justify-content: center; }
.tk-donut__hole { width: 5.5rem; height: 5.5rem; border-radius: 9999px; background: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: inset 0 0 0 1px rgba(226, 234, 244, 0.9); }
.tk-donut__hole strong { font-size: 1.35rem; font-weight: 800; color: #0b2348; }
.tk-donut__hole span { font-size: 0.64rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #94a3b8; }
.tk-legend { flex: 1 1 11rem; display: grid; gap: 0.4rem; }
.tk-legend__row { display: flex; align-items: center; gap: 0.5rem; }
.tk-legend__dot { flex: none; width: 0.7rem; height: 0.7rem; border-radius: 9999px; }
.tk-legend__label { flex: 1; min-width: 0; font-size: 0.82rem; font-weight: 600; color: #0b2348; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-legend__meta { flex: none; font-size: 0.75rem; font-weight: 700; color: #64748b; }

/* ── Sinais ── */
.tk-signals { display: grid; gap: 0; }
.tk-signal { display: flex; align-items: center; gap: 0.7rem; padding: 0.6rem 0; text-decoration: none; }
.tk-signal + .tk-signal { border-top: 1px solid rgba(226, 234, 244, 0.8); }
.tk-signal__icon { flex: none; width: 2.1rem; height: 2.1rem; border-radius: 0.6rem; display: inline-flex; align-items: center; justify-content: center; }
.tk-signal__icon.is-warn { color: #ee7d1d; background: rgba(238, 125, 29, 0.12); }
.tk-signal__icon.is-green { color: #16a163; background: rgba(22, 161, 99, 0.12); }
.tk-signal__icon.is-slate { color: #64748b; background: rgba(100, 116, 139, 0.1); }
.tk-signal__icon.is-blue { color: #214a86; background: rgba(33, 74, 134, 0.1); }
.tk-signal__body { flex: 1; min-width: 0; display: grid; gap: 0.05rem; }
.tk-signal__body strong { font-size: 0.86rem; font-weight: 700; color: #0b2348; }
.tk-signal__body small { font-size: 0.73rem; color: #7c8aa3; line-height: 1.3; }
.tk-signal__count { flex: none; font-size: 1.05rem; font-weight: 800; color: #0b2348; }

.tk-empty { font-size: 0.82rem; color: #94a3b8; line-height: 1.45; padding: 0.5rem 0; }

/* ── Responsivo ── */
@media (min-width: 640px) {
    .tk-dash__kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tk-dash__quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tk-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tk-dash__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
    .tk-dash__quick { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
    .tk-dash__kpis { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .tk-dash__grid { grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); align-items: start; }
}

/* ── Hero "ao vivo" do dashboard (command center escuro) ── */
.tk-live {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    padding: 1.1rem 1.15rem 1.25rem;
    color: #fff;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(238, 125, 29, 0.22), transparent 55%),
        radial-gradient(120% 140% at 0% 100%, rgba(79, 141, 255, 0.2), transparent 55%),
        linear-gradient(160deg, #0a1f3f, #0b2348 55%, #08182f);
    box-shadow: 0 22px 50px rgba(8, 20, 40, 0.45);
}

.tk-live__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(60% 80% at 80% -10%, rgba(255, 138, 61, 0.22), transparent 60%);
}

.tk-live > *:not(.tk-live__glow) { position: relative; z-index: 1; }

.tk-live__top { display: flex; align-items: center; justify-content: space-between; gap: 0.7rem; margin-bottom: 1rem; }

.tk-live__pulse {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #bfe3cf;
}

.tk-live__pulse-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 9999px;
    background: #34e29b;
    animation: tkPulse 1.8s infinite;
}

@keyframes tkPulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 226, 155, 0.55); }
    70% { box-shadow: 0 0 0 0.5rem rgba(52, 226, 155, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 226, 155, 0); }
}

.tk-live__search { position: relative; flex: 1 1 12rem; max-width: 22rem; }
.tk-live__search-icon { position: absolute; left: 0.8rem; top: 50%; transform: translateY(-50%); color: rgba(255, 255, 255, 0.5); }

.tk-live .tk-live__search input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 9999px;
    padding: 0.5rem 0.9rem 0.5rem 2.3rem;
    font-size: 0.86rem;
    color: #fff;
    outline: none;
}

.tk-live .tk-live__search input::placeholder { color: rgba(255, 255, 255, 0.5); }
.tk-live .tk-live__search input:focus { border-color: rgba(255, 138, 61, 0.6); background: rgba(255, 255, 255, 0.1); }

.tk-live__body { display: grid; gap: 1.1rem; }

.tk-live__label { font-size: 0.73rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.62); }

.tk-live__value {
    display: block;
    margin-top: 0.3rem;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.tk-live__stats { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 0.9rem; }
.tk-live__stat { display: grid; gap: 0.1rem; }
.tk-live__stat strong { font-size: 1.1rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.tk-live__stat span { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.55); }

.tk-live__spark { margin-top: 1rem; height: 34px; }
.tk-live__spark-svg { width: 100%; height: 100%; display: block; }

.tk-live__feed-wrap { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 1.1rem; padding: 0.85rem; }
.tk-live__feed-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.5rem; }
.tk-live__feed-head strong { font-size: 0.85rem; font-weight: 800; color: #fff; }
.tk-live__last { font-size: 0.7rem; font-weight: 600; color: rgba(255, 255, 255, 0.55); white-space: nowrap; }
.tk-live__feed { display: flex; flex-direction: column; max-height: 13rem; overflow-y: auto; }
.tk-live__feed-empty { font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); line-height: 1.45; padding: 0.8rem 0.2rem; }

.tk-live__sale { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.2rem; border-radius: 0.6rem; }
.tk-live__sale + .tk-live__sale { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.tk-live__sale-dot { flex: none; width: 0.5rem; height: 0.5rem; border-radius: 9999px; background: #8aa0bf; }
.tk-live__sale-dot.is-green { background: #34e29b; }
.tk-live__sale-dot.is-warn { background: #ffb454; }
.tk-live__sale-dot.is-bad { background: #ff6b6b; }
.tk-live__sale-main { flex: 1; min-width: 0; display: grid; gap: 0.05rem; }
.tk-live__sale-main strong { font-size: 0.84rem; font-weight: 700; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-live__sale-main small { font-size: 0.72rem; color: rgba(255, 255, 255, 0.55); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-live__sale-amount { flex: none; font-size: 0.85rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.tk-live__sale.is-new { animation: tkNewSale 1.8s ease; }
@keyframes tkNewSale { 0% { background: rgba(52, 226, 155, 0.22); } 100% { background: transparent; } }

@media (min-width: 980px) {
    .tk-live__body { grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.85fr); align-items: start; }
    .tk-live__value { font-size: 3rem; }
}

/* ── Toolbar de filtros v2 (segmented + custom colapsável) ── */
.tk-dash__toolbar { display: grid; gap: 0.75rem; align-items: stretch; }
.tk-dash__filters { display: grid; gap: 0.75rem; }
.tk-dash__period { display: grid; gap: 0.3rem; align-content: start; }

.tk-dash__segment {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.22rem;
    background: #eef2f7;
    border-radius: 9999px;
    padding: 0.22rem;
    width: fit-content;
    max-width: 100%;
}

.tk-dash__seg {
    border: 0;
    background: transparent;
    border-radius: 9999px;
    padding: 0.42rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
}

.tk-dash__seg.is-active { background: #fff; color: #0b2348; box-shadow: 0 2px 6px rgba(15, 40, 80, 0.12); }
.tk-dash__seg--custom { color: #214a86; }
.tk-dash__seg--custom.is-active { background: #0b2348; color: #fff; }

.tk-dash__custom {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 0.6rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(226, 234, 244, 0.85);
}

.tk-dash__custom[hidden] { display: none; }
.tk-dash__custom .tk-dash__tool { flex: 1 1 8rem; }
.tk-dash__custom .tk-dash__apply { align-self: flex-end; }

@media (min-width: 640px) {
    .tk-dash__filters { grid-template-columns: minmax(0, 1.5fr) auto; align-items: end; }
    .tk-dash__period { justify-items: start; }
}

/* Feed de vendas ao vivo sem barra de scroll visível (mantém o scroll). */
.tk-live__feed { scrollbar-width: none; -ms-overflow-style: none; }
.tk-live__feed::-webkit-scrollbar { width: 0; height: 0; display: none; }

/* Período: segmento + chip "Personalizar" separado (não quebra dentro do pill). */
.tk-dash__period-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }

.tk-dash__custom-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(217, 227, 239, 0.95);
    background: #fff;
    border-radius: 9999px;
    padding: 0.42rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #214a86;
    cursor: pointer;
    transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease;
}

.tk-dash__custom-link.is-active { background: #0b2348; border-color: #0b2348; color: #fff; }

/* ══════════════════════════════════════════════════════════════════════════
   EVENTOS DO PRODUTOR — refino visual (tk-events)
   Reaproveita tk-card/tk-badge/tk-progress/tk-metric/tk-chip do dashboard.
   ══════════════════════════════════════════════════════════════════════════ */

.tk-events { display: flex; flex-direction: column; gap: 1rem; padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }

/* ── Chips de alerta / filtro rápido ── */
.tk-events__alerts { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tk-events__alert {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 0.85rem;
    border-radius: 9999px;
    background: #fff;
    border: 1px solid rgba(217, 227, 239, 0.95);
    text-decoration: none;
    transition: border-color 120ms ease, background-color 120ms ease;
}

.tk-events__alert-icon { flex: none; display: inline-flex; color: #64748b; }
.tk-events__alert-body { display: flex; align-items: baseline; gap: 0.35rem; }
.tk-events__alert-body strong { font-size: 0.95rem; font-weight: 800; color: #0b2348; }
.tk-events__alert-body small { font-size: 0.76rem; font-weight: 600; color: #64748b; }
.tk-events__alert-x { flex: none; color: inherit; opacity: 0.8; }

.tk-events__alert.is-warn .tk-events__alert-icon { color: #ee7d1d; }
.tk-events__alert.is-blue .tk-events__alert-icon { color: #214a86; }
.tk-events__alert.is-slate .tk-events__alert-icon { color: #64748b; }
.tk-events__alert.is-green .tk-events__alert-icon { color: #16a163; }

.tk-events__alert.is-active {
    background: #0b2348;
    border-color: #0b2348;
}

.tk-events__alert.is-active .tk-events__alert-icon,
.tk-events__alert.is-active .tk-events__alert-body strong,
.tk-events__alert.is-active .tk-events__alert-body small,
.tk-events__alert.is-active .tk-events__alert-x { color: #fff; }

/* ── Empty state ── */
.tk-events__empty { display: grid; justify-items: center; gap: 0.5rem; text-align: center; padding: 2.4rem 1.4rem; }
.tk-events__empty-icon { display: inline-flex; align-items: center; justify-content: center; width: 3.4rem; height: 3.4rem; border-radius: 9999px; color: #214a86; background: rgba(33, 74, 134, 0.1); margin-bottom: 0.2rem; }
.tk-events__empty strong { font-size: 1.05rem; font-weight: 800; color: #0b2348; }
.tk-events__empty p { max-width: 26rem; font-size: 0.9rem; line-height: 1.5; color: #64748b; }
.tk-events__empty .tk-dash__apply { margin-top: 0.4rem; width: fit-content; }

/* ── Grid de cards ── */
.tk-events__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }

@media (min-width: 1180px) {
    .tk-events__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}

/* ── Card de evento ── */
.tk-event {
    background: #fff;
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 1.15rem;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(15, 40, 80, 0.05);
}

.tk-event__hero { position: relative; height: 12rem; }
.tk-event__hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.tk-event__hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.35rem;
    padding: 0.9rem;
    background: linear-gradient(to top, rgba(8, 20, 40, 0.85), rgba(8, 20, 40, 0.15) 60%, transparent);
}

.tk-event__hero-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; }
.tk-event__hero-cat { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.75); }
.tk-event__hero-badges { display: flex; flex-wrap: wrap; gap: 0.3rem; justify-content: flex-end; }
.tk-event__hero-title { font-size: 1.2rem; font-weight: 800; color: #fff; line-height: 1.25; }

.tk-event__body { display: flex; flex-direction: column; gap: 0.9rem; padding: 1rem; }
.tk-event__signals { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.tk-event__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (min-width: 480px) {
    .tk-event__metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.tk-event__lots { display: flex; flex-direction: column; gap: 0.3rem; padding-top: 0.2rem; border-top: 1px solid rgba(226, 234, 244, 0.85); }
.tk-event__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }

.tk-event__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 0.2rem; border-top: 1px solid rgba(226, 234, 244, 0.85); }

/* ── Badge extra tone (branco sobre imagem) ── */
.tk-badge.is-white { color: #0b2348; background: rgba(255, 255, 255, 0.9); }

/* ── Botões de ação do card de evento ── */
.tk-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 0;
    border-radius: 9999px;
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.tk-btn--ghost { background: #f6f8fb; color: #214a86; border: 1px solid rgba(217, 227, 239, 0.95); }
.tk-btn--ghost:hover { background: #eef2f7; }
.tk-btn--primary { background: linear-gradient(135deg, #0b2348, #214a86); color: #fff; }
.tk-btn--warn { background: linear-gradient(135deg, #ee7d1d, #f0942f); color: #fff; }
.tk-btn--muted { background: #f6f8fb; color: #64748b; border: 1px solid rgba(217, 227, 239, 0.95); }
.tk-btn--locked { background: rgba(220, 44, 62, 0.08); color: #c8313f; }

/* Chip de meta do evento (local) — não é rótulo curto, então sem uppercase. */
.tk-event__meta .tk-chip {
    text-transform: none;
    letter-spacing: normal;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #46566f;
    background: #f6f8fb;
    padding: 0.32rem 0.75rem;
}

/* ── Filtro de eventos v2: busca protagonista + chips autônomos ── */
.tk-events__filterbar { display: flex; flex-direction: column; gap: 0.7rem; }

.tk-events__search {
    position: relative;
    display: block;
}

.tk-events__search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
}

.tk-events__search input {
    width: 100%;
    border: 1px solid rgba(217, 227, 239, 0.95);
    background: #fff;
    border-radius: 9999px;
    padding: 0.85rem 1.1rem 0.85rem 2.75rem;
    font-size: 1rem;
    color: #0b2348;
    outline: none;
    box-shadow: 0 12px 28px rgba(15, 40, 80, 0.05);
    transition: border-color 140ms ease, box-shadow 140ms ease;
}

.tk-events__search input:focus {
    border-color: #214a86;
    box-shadow: 0 12px 28px rgba(33, 74, 134, 0.14);
}

.tk-events__search input::-webkit-search-cancel-button { display: none; }

.tk-events__chipbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tk-events__chipselect {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1.7rem 0.5rem 0.85rem;
    border-radius: 9999px;
    background: #fff;
    border: 1px solid rgba(217, 227, 239, 0.95);
    color: #46566f;
    cursor: pointer;
    transition: border-color 120ms ease, background-color 120ms ease, color 120ms ease;
}

.tk-events__chipselect:hover { border-color: #b9c8de; }

.tk-events__chipselect.is-active {
    background: #0b2348;
    border-color: #0b2348;
    color: #fff;
}

.tk-events__chipselect select {
    appearance: none;
    -webkit-appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    outline: none;
    cursor: pointer;
    max-width: 11rem;
}

.tk-events__chipselect select option { color: #0b2348; }

.tk-events__chipselect-caret {
    position: absolute;
    right: 0.85rem;
    top: 50%;
    width: 0.4rem;
    height: 0.4rem;
    border-right: 1.6px solid currentColor;
    border-bottom: 1.6px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    opacity: 0.6;
    pointer-events: none;
}

.tk-events__chip-clear {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 0.9rem;
    border-radius: 9999px;
    background: rgba(220, 44, 62, 0.08);
    color: #c8313f;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

@media (min-width: 640px) {
    .tk-events__filterbar { flex-direction: row; align-items: center; }
    .tk-events__search { flex: 1 1 16rem; }
    .tk-events__chipbar { flex: none; }
}

/* ══════════════════════════════════════════════════════════════════════════
   VENDAS DO PRODUTOR — refino visual (tk-sales)
   Reaproveita tk-dash/tk-events/tk-card/tk-kpi/tk-badge/tk-progress/tk-metric.
   ══════════════════════════════════════════════════════════════════════════ */

.tk-badge.is-slate { color: #64748b; background: rgba(100, 116, 139, 0.1); }

/* ── Navegação por abas ── */
.tk-sales__tabs {
    display: flex;
    gap: 0.4rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.1rem;
}

.tk-sales__tabs::-webkit-scrollbar { width: 0; height: 0; display: none; }

.tk-sales__tab {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border-radius: 9999px;
    background: #fff;
    border: 1px solid rgba(217, 227, 239, 0.95);
    color: #46566f;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.tk-sales__tab.is-active { background: #0b2348; border-color: #0b2348; color: #fff; }

/* ── Registro (pedido / cliente / lote / log) ── */
.tk-records { display: flex; flex-direction: column; gap: 0.75rem; }

.tk-record {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 1rem;
    background: #f9fafc;
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 1.1rem;
}

.tk-record__badges { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.tk-record__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.9rem; }
.tk-record__main { min-width: 0; display: grid; gap: 0.15rem; }
.tk-record__title { font-size: 0.96rem; font-weight: 700; color: #0b2348; }
.tk-record__sub { font-size: 0.8rem; color: #64748b; }
.tk-record__meta { font-size: 0.78rem; color: #7c8aa3; }

.tk-record__side { flex: none; display: grid; justify-items: end; gap: 0.15rem; text-align: right; }
.tk-record__amount { font-size: 1rem; font-weight: 800; color: #0b2348; }
.tk-record__date { font-size: 0.76rem; color: #94a3b8; }
.tk-record__note { font-size: 0.76rem; font-weight: 600; color: #7c8aa3; }

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

@media (min-width: 560px) {
    .tk-record__stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.tk-record__items { font-size: 0.82rem; color: #64748b; line-height: 1.45; }

.tk-record__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tk-record--log { background: #fff; }
.tk-record--log .tk-record__side { align-items: end; }

/* ── Registro v2: hierarquia mais limpa (avatar + linha de fatos em vez de caixinhas) ── */
.tk-chat__avatar--sm { width: 2.3rem; height: 2.3rem; font-size: 0.76rem; }

.tk-record__top { display: flex; align-items: center; gap: 0.65rem; }
.tk-record__id { flex: 1; min-width: 0; display: grid; gap: 0.05rem; }
.tk-record__top .tk-record__title { font-size: 0.94rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-record__top .tk-record__sub { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-record__top .tk-record__amount { flex: none; }

.tk-record__tag { font-size: 0.72rem; font-weight: 600; color: #94a3b8; }

.tk-record__contact {
    font-size: 0.8rem;
    color: #64748b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-record__facts {
    font-size: 0.78rem;
    color: #7c8aa3;
    line-height: 1.5;
}

.tk-btn--sm { padding: 0.42rem 0.75rem; font-size: 0.76rem; }

/* ══════════════════════════════════════════════════════════════════════════
   MODAL DE DETALHE DO PEDIDO (tk-modal) — carregado via fetch, sem navegação
   ══════════════════════════════════════════════════════════════════════════ */

.tk-list__value--sm { font-size: 0.8rem; font-weight: 700; }

body.tk-modal-open { overflow: hidden; }

.tk-modal { position: fixed; inset: 0; z-index: 95; }
.tk-modal[hidden] { display: none; }

.tk-modal__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(8, 20, 40, 0.5);
    backdrop-filter: blur(2px);
    cursor: pointer;
}

.tk-modal__sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 4vh;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 1.4rem 1.4rem 0 0;
    box-shadow: 0 -18px 50px rgba(8, 20, 40, 0.28);
    overflow: hidden;
}

.tk-modal__head {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid rgba(226, 234, 244, 0.9);
}

.tk-modal__head strong { font-size: 1rem; font-weight: 800; color: #0b2348; }

.tk-modal__x {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 9999px;
    background: #f6f8fb;
    color: #0b2348;
    cursor: pointer;
}

.tk-modal__body {
    flex: 1;
    overflow-y: auto;
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tk-modal__loading {
    padding: 2.5rem 1rem;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

.tk-modal__flash {
    border-radius: 0.9rem;
    padding: 0.7rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.tk-modal__flash.is-ok { background: rgba(22, 161, 99, 0.1); color: #138a55; }
.tk-modal__flash.is-error { background: rgba(220, 44, 62, 0.1); color: #c8313f; }

/* Cabeçalho do pedido dentro do modal */
.tk-modal__order-top { display: grid; gap: 0.4rem; }

.tk-modal__order-title { font-size: 1.3rem; font-weight: 800; color: #0b2348; }

.tk-modal__order-sub { font-size: 0.85rem; color: #64748b; }

.tk-modal__order-amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.6rem; margin-top: 0.2rem; }
.tk-modal__order-amount strong { font-size: 1.5rem; font-weight: 800; color: #0b2348; }
.tk-modal__order-amount span { font-size: 0.78rem; color: #94a3b8; }

.tk-modal__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.tk-modal__section {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(226, 234, 244, 0.85);
}

.tk-modal__request {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.85rem;
    background: #f9fafc;
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 1rem;
}

.tk-modal__request-form { display: flex; flex-direction: column; gap: 0.5rem; }
.tk-modal__request-form textarea { min-height: 4.5rem; resize: vertical; }

.tk-modal__support-link { align-self: flex-start; }

@media (min-width: 720px) {
    .tk-modal__sheet {
        left: 50%;
        right: auto;
        bottom: 3vh;
        top: 3vh;
        transform: translateX(-50%);
        width: min(38rem, 92vw);
        border-radius: 1.4rem;
    }
}

/* ── Timeline de logs/auditoria ── */
.tk-timeline { display: flex; flex-direction: column; }

.tk-timeline__day { align-self: center; margin: 0.5rem 0; }
.tk-timeline__day span {
    font-size: 0.72rem;
    font-weight: 700;
    color: #8294ad;
    background: #f6f8fb;
    border: 1px solid rgba(226, 234, 244, 0.9);
    border-radius: 9999px;
    padding: 0.2rem 0.75rem;
}

.tk-timeline__item { display: flex; gap: 0.75rem; }

.tk-timeline__marker {
    position: relative;
    flex: none;
    display: flex;
    justify-content: center;
    width: 2rem;
}

.tk-timeline__dot {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: #fff;
    border: 1.5px solid currentColor;
}

.tk-timeline__dot.is-blue { color: #214a86; background: #eef2f9; }
.tk-timeline__dot.is-green { color: #16a163; background: #eaf7f0; }
.tk-timeline__dot.is-warn { color: #ee7d1d; background: #fef2e6; }
.tk-timeline__dot.is-bad { color: #dc2c3e; background: #fdeef0; }

.tk-timeline__marker::after {
    content: '';
    position: absolute;
    top: 2rem;
    bottom: -1.1rem;
    left: 50%;
    width: 2px;
    transform: translateX(-50%);
    background: rgba(217, 227, 239, 0.95);
}

.tk-timeline__item:last-child .tk-timeline__marker::after { display: none; }

.tk-timeline__content {
    flex: 1;
    min-width: 0;
    padding-bottom: 1.1rem;
    display: grid;
    gap: 0.25rem;
}

.tk-timeline__head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.6rem; }
.tk-timeline__head strong { font-size: 0.92rem; font-weight: 800; color: #0b2348; }
.tk-timeline__time { flex: none; font-size: 0.74rem; font-weight: 700; color: #94a3b8; font-variant-numeric: tabular-nums; }

.tk-timeline__meta { font-size: 0.8rem; color: #64748b; }
.tk-timeline__message { font-size: 0.8rem; color: #7c8aa3; }

.tk-timeline__foot { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.15rem; }
.tk-timeline__actor { font-size: 0.72rem; font-weight: 600; color: #94a3b8; }

/* ── Lista de relatórios (PDF) ── */
.tk-badge { gap: 0.25rem; }

.tk-list__row--report { gap: 0.75rem; }

.tk-list__report-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 0.6rem;
    background: rgba(33, 74, 134, 0.1);
    color: #214a86;
}

.tk-list__row--report .tk-list__main { flex: 1; min-width: 0; display: grid; gap: 0.1rem; }
.tk-list__row--report .tk-list__sub { font-size: 0.76rem; color: #7c8aa3; }

/* ══════════════════════════════════════════════════════════════════════════
   CARTEIRA DO PRODUTOR — refino visual (tk-wallet)
   Reaproveita tk-dash/tk-events/tk-sales/tk-timeline/tk-kpi/tk-card/tk-record.
   ══════════════════════════════════════════════════════════════════════════ */

/* ── Valor à direita na timeline (extrato) ── */
.tk-timeline__amount {
    flex: none;
    font-size: 0.9rem;
    font-weight: 800;
    color: #64748b;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.tk-timeline__amount.is-good { color: #16a163; }
.tk-timeline__amount.is-bad { color: #dc2c3e; }

/* ── Hero de saldo (command center claro, estilo banco) ── */
.tk-wallet-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    padding: 1.1rem 1.15rem 1.25rem;
    color: #fff;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(79, 141, 255, 0.22), transparent 55%),
        radial-gradient(120% 140% at 0% 100%, rgba(238, 125, 29, 0.18), transparent 55%),
        linear-gradient(160deg, #0a1f3f, #0b2348 55%, #08182f);
    box-shadow: 0 22px 50px rgba(8, 20, 40, 0.4);
}

.tk-wallet-hero__glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(60% 80% at 15% -10%, rgba(79, 141, 255, 0.22), transparent 60%);
}

.tk-wallet-hero > *:not(.tk-wallet-hero__glow) { position: relative; z-index: 1; }

.tk-wallet-hero__top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.7rem; }

.tk-wallet-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.7);
}

.tk-wallet-hero__label { display: block; font-size: 0.78rem; font-weight: 600; color: rgba(255, 255, 255, 0.65); }

.tk-wallet-hero__amount {
    display: block;
    margin-top: 0.25rem;
    font-size: 2.35rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    line-height: 1;
    color: #fff;
    font-variant-numeric: tabular-nums;
}

.tk-wallet-hero__copy { margin-top: 0.5rem; font-size: 0.82rem; color: rgba(255, 255, 255, 0.62); max-width: 34rem; }

.tk-wallet-hero__stats { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }

.tk-wallet-hero__stat {
    flex: 1 1 8rem;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    border-radius: 0.9rem;
    padding: 0.6rem 0.75rem;
    cursor: pointer;
}

.tk-wallet-hero__stat span { display: block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: rgba(255, 255, 255, 0.55); }
.tk-wallet-hero__stat strong { display: block; margin-top: 0.15rem; font-size: 1rem; font-weight: 800; color: #fff; }

.tk-wallet-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem 1.3rem;
    border: 0;
    border-radius: 9999px;
    background: linear-gradient(135deg, #ee7d1d, #f0942f);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(238, 125, 29, 0.32);
}

/* ── Solicitação de saque: campo de valor em destaque (estilo app de banco) ── */
.tk-wallet-amount-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.1rem 0.5rem 1.3rem;
    background: linear-gradient(180deg, #f6f8fb, #fff);
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 1.1rem;
}

.tk-wallet-amount-label {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    margin-bottom: 0.4rem;
}

.tk-wallet-amount-field {
    display: inline-flex;
    align-items: baseline;
    gap: 0.4rem;
}

.tk-wallet-amount-prefix {
    font-size: 1.6rem;
    font-weight: 800;
    color: #94a3b8;
}

.tk-wallet-amount-input-big {
    border: 0 !important;
    background: transparent;
    outline: none !important;
    -webkit-appearance: none;
    appearance: none;
    width: 12rem;
    max-width: 60vw;
    padding: 0.15rem 0.5rem;
    border-radius: 0.7rem !important;
    font-size: 2.4rem;
    font-weight: 800;
    color: #0b2348;
    text-align: left;
    font-variant-numeric: tabular-nums;
    transition: background-color 140ms ease, box-shadow 140ms ease;
}

/* !important necessário: o Tailwind CDN injeta seu próprio reset de foco
   (anel azul quadrado, cor padrão) depois deste arquivo, então vence o
   empate de especificidade por ordem de carregamento. */
.tk-wallet-amount-input-big:focus {
    outline: none !important;
    background: rgba(11, 35, 72, 0.04) !important;
    box-shadow: 0 0 0 3px rgba(11, 35, 72, 0.1) !important;
}

.tk-wallet-amount-quick { display: flex; gap: 0.5rem; margin-top: 0.9rem; }

.tk-wallet-amount-chip {
    border: 1px solid rgba(217, 227, 239, 0.95);
    background: #fff;
    border-radius: 9999px;
    padding: 0.4rem 0.95rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #214a86;
    cursor: pointer;
}

.tk-wallet-amount-chip.is-active { background: #0b2348; border-color: #0b2348; color: #fff; }

.tk-wallet-destination-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.8rem;
}

.tk-wallet-destination-item {
    flex: 1 1 8rem;
    background: #f6f8fb;
    border-radius: 0.8rem;
    padding: 0.55rem 0.7rem;
}

.tk-wallet-destination-item span {
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.tk-wallet-destination-item strong {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0b2348;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-wallet-notes-toggle { margin-top: 0.9rem; }

.tk-wallet-notes-toggle summary {
    font-size: 0.82rem;
    font-weight: 700;
    color: #214a86;
    cursor: pointer;
    list-style: none;
}

.tk-wallet-notes-toggle summary::-webkit-details-marker { display: none; }

.tk-wallet-notes-toggle textarea { margin-top: 0.6rem; }

.tk-wallet-confirm-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1.1rem;
    padding: 0.9rem;
    border: 0;
    border-radius: 1rem;
    background: linear-gradient(135deg, #0b2348, #214a86);
    color: #fff;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(11, 35, 72, 0.28);
}

.tk-wallet-confirm-btn:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    box-shadow: none;
}

/* ════════════════════════════════════════════════════════════
   CENTRAL DE ATENDIMENTO DO PRODUTOR — refino visual (tk-support)
   ════════════════════════════════════════════════════════════ */

.tk-support {
    --tks-ink: #0b2348;
    --tks-muted: #64748b;
    --tks-line: rgba(15, 40, 80, 0.1);
    --tks-blue: #1d4ed8;
    --tks-blue-bg: rgba(29, 78, 216, 0.1);
    --tks-blue-soft: #3b5f95;
    --tks-blue-soft-bg: rgba(59, 95, 149, 0.09);
    --tks-amber: #b45309;
    --tks-amber-bg: rgba(217, 119, 6, 0.14);
    --tks-orange: #c2410c;
    --tks-orange-bg: rgba(234, 88, 12, 0.13);
    --tks-indigo: #4f46e5;
    --tks-indigo-bg: rgba(79, 70, 229, 0.12);
    --tks-green: #15803d;
    --tks-green-bg: rgba(21, 128, 61, 0.12);
    --tks-red: #dc2626;
    --tks-red-bg: rgba(220, 38, 38, 0.12);
    --tks-slate: #475569;
    --tks-slate-bg: rgba(100, 116, 139, 0.12);
    display: grid;
    gap: 0.9rem;
    color: var(--tks-ink);
}

.tk-support__alert {
    padding: 0.85rem 1rem;
    border-radius: 0.9rem;
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: #a52323;
    font-size: 0.86rem;
    font-weight: 600;
}

.tk-support-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--tks-muted);
}

/* ── Triagem superior: toggle + filas coloridas ── */
.tk-support-triage {
    display: grid;
    gap: 0.75rem;
}

.tk-support-triage__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.tk-support-triage__title h3 {
    font-size: 1.02rem;
    font-weight: 800;
    color: var(--tks-ink);
    margin-top: 0.1rem;
}

.tk-support-focus {
    display: inline-flex;
    background: rgba(11, 35, 72, 0.05);
    border-radius: 0.8rem;
    padding: 0.22rem;
    gap: 0.2rem;
}

.tk-support-focus__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    background: transparent;
    padding: 0.4rem 0.75rem;
    border-radius: 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--tks-muted);
    cursor: pointer;
    transition: background-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}

.tk-support-focus__btn.is-active {
    background: #fff;
    color: var(--tks-ink);
    box-shadow: 0 6px 16px rgba(15, 40, 80, 0.12);
}

.tk-support-queues {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.tk-support-queue {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid var(--tks-line);
    text-decoration: none;
    color: var(--tks-ink);
    box-shadow: 0 8px 20px rgba(15, 40, 80, 0.05);
    transition: transform 140ms ease, box-shadow 140ms ease;
}

.tk-support-queue:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 40, 80, 0.1);
}

.tk-support-queue__icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.8rem;
    background: var(--tks-slate-bg);
    color: var(--tks-slate);
}

.tk-support-queue__copy {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
    flex: 1;
}

.tk-support-queue__copy strong {
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1.2;
}

.tk-support-queue__copy small {
    font-size: 0.7rem;
    color: var(--tks-muted);
    line-height: 1.3;
}

.tk-support-queue__count {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.8rem;
    height: 1.8rem;
    padding: 0 0.4rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 800;
    background: var(--tks-slate-bg);
    color: var(--tks-slate);
}

.tk-support-queue.is-blue .tk-support-queue__icon,
.tk-support-queue.is-blue .tk-support-queue__count { background: var(--tks-blue-bg); color: var(--tks-blue); }
.tk-support-queue.is-blue-soft .tk-support-queue__icon,
.tk-support-queue.is-blue-soft .tk-support-queue__count { background: var(--tks-blue-soft-bg); color: var(--tks-blue-soft); }
.tk-support-queue.is-amber .tk-support-queue__icon,
.tk-support-queue.is-amber .tk-support-queue__count { background: var(--tks-amber-bg); color: var(--tks-amber); }
.tk-support-queue.is-orange .tk-support-queue__icon,
.tk-support-queue.is-orange .tk-support-queue__count { background: var(--tks-orange-bg); color: var(--tks-orange); }
.tk-support-queue.is-indigo .tk-support-queue__icon,
.tk-support-queue.is-indigo .tk-support-queue__count { background: var(--tks-indigo-bg); color: var(--tks-indigo); }
.tk-support-queue.is-green .tk-support-queue__icon,
.tk-support-queue.is-green .tk-support-queue__count { background: var(--tks-green-bg); color: var(--tks-green); }
.tk-support-queue.is-red .tk-support-queue__icon,
.tk-support-queue.is-red .tk-support-queue__count { background: var(--tks-red-bg); color: var(--tks-red); }

.tk-support-queue.is-active {
    background: linear-gradient(135deg, #0b2348, #163564);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 14px 28px rgba(11, 35, 72, 0.28);
}

.tk-support-queue.is-active .tk-support-queue__icon {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.tk-support-queue.is-active .tk-support-queue__copy small {
    color: rgba(255, 255, 255, 0.68);
}

.tk-support-queue.is-active .tk-support-queue__count {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

/* ── Shell de 3 colunas ── */
.tk-support-shell {
    display: grid;
    gap: 0.8rem;
    align-items: start;
}

.tk-support-inbox,
.tk-support-workspace,
.tk-support-context {
    display: grid;
    gap: 0.8rem;
    min-width: 0;
}

.tk-support-panel {
    position: relative;
    background: #fff;
    border: 1px solid var(--tks-line);
    border-radius: 1.1rem;
    padding: 0.95rem;
    box-shadow: 0 12px 28px rgba(15, 40, 80, 0.045);
}

.tk-support-panel--empty {
    display: grid;
    justify-items: start;
    align-content: center;
    gap: 0.35rem;
    min-height: 16rem;
    text-align: left;
}

.tk-support-panel--empty h3 { font-size: 1.05rem; font-weight: 800; }
.tk-support-panel--empty p { font-size: 0.85rem; color: var(--tks-muted); max-width: 26rem; }

.tk-support-panel__head {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.75rem;
}

.tk-support-panel__head h3 {
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--tks-ink);
}

.tk-support-panel__head-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.tk-support-subpanel { display: grid; gap: 0.7rem; }

.tk-support-section-head { display: flex; flex-direction: column; gap: 0.15rem; margin-bottom: 0.2rem; }
.tk-support-section-head h4 { font-size: 0.92rem; font-weight: 800; }
.tk-support-section-head--inline { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }

.tk-support-empty {
    display: grid;
    gap: 0.2rem;
    padding: 1.2rem 0.5rem;
    text-align: center;
    color: var(--tks-muted);
    font-size: 0.82rem;
}

.tk-support-empty strong { color: var(--tks-ink); font-size: 0.88rem; }

/* ── Busca e filtros ── */
.tk-support-filter-form { display: grid; gap: 0.65rem; }

.tk-support-field { display: grid; gap: 0.3rem; font-size: 0.76rem; font-weight: 700; color: var(--tks-muted); }

.tk-support-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.tk-support-input-icon {
    position: absolute;
    left: 0.7rem;
    color: #94a3b8;
    display: inline-flex;
}

/* !important necessário: o reset de formulários do Tailwind CDN usa seletores
   de atributo ([type="search"] etc.) com a MESMA especificidade destas classes
   e carrega depois de app.css, vencendo o empate por ordem. */
.tk-support-input,
.tk-support-select,
.tk-support-textarea {
    width: 100%;
    border: 1px solid var(--tks-line) !important;
    border-radius: 0.7rem !important;
    background: #fbfdff !important;
    padding: 0.55rem 0.7rem !important;
    font-size: 0.85rem !important;
    font-weight: 600;
    color: var(--tks-ink);
    outline: none;
    transition: border-color 140ms ease, box-shadow 140ms ease;
}

.tk-support-input--search { padding-left: 2rem !important; }

.tk-support-textarea { font-weight: 500; resize: vertical; min-height: 5rem; line-height: 1.45; }

.tk-support-input:focus,
.tk-support-select:focus,
.tk-support-textarea:focus {
    border-color: rgba(11, 35, 72, 0.35) !important;
    box-shadow: 0 0 0 3px rgba(11, 35, 72, 0.08) !important;
    outline: none !important;
}

.tk-support-active-filters { display: grid; gap: 0.3rem; }
.tk-support-active-filters small { font-size: 0.68rem; color: var(--tks-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.tk-support-active-filters__list { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.tk-support-active-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.28rem 0.55rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.06);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--tks-ink);
}

.tk-support-active-chip strong { font-weight: 800; }

.tk-support-filter-details summary { list-style: none; cursor: pointer; }
.tk-support-filter-details summary::-webkit-details-marker { display: none; }

.tk-support-filter-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.65rem;
    border-radius: 0.7rem;
    background: rgba(11, 35, 72, 0.04);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--tks-ink);
    transition: background-color 140ms ease;
}

.tk-support-filter-summary:hover { background: rgba(11, 35, 72, 0.07); }

.tk-support-filter-summary__label { display: inline-flex; align-items: center; gap: 0.35rem; min-width: 0; }
.tk-support-filter-summary__side { display: inline-flex; align-items: center; gap: 0.6rem; flex: none; }

.tk-support-filter-clear {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--tks-muted);
    text-decoration: none;
}

.tk-support-filter-clear:hover { color: var(--tks-red); }

.tk-support-filter-details .tk-support-context-chevron { width: 0.45rem; height: 0.45rem; }
.tk-support-filter-details[open] .tk-support-context-chevron { transform: rotate(-135deg); }

.tk-support-filter-grid {
    display: grid;
    gap: 0.6rem;
    padding-top: 0.6rem;
}

/* ── Botões ── */
.tk-support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 0;
    border-radius: 0.7rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

.tk-support-btn--sm { padding: 0.4rem 0.7rem; font-size: 0.75rem; }

.tk-support-btn--primary { background: var(--tks-ink); color: #fff; box-shadow: 0 8px 18px rgba(11, 35, 72, 0.22); }
.tk-support-btn--primary:hover { transform: translateY(-1px); }
.tk-support-btn--primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.tk-support-btn--success { background: var(--tks-green); color: #fff; }
.tk-support-btn--ghost { background: rgba(11, 35, 72, 0.05); color: var(--tks-ink); }
.tk-support-btn--ghost:hover { background: rgba(11, 35, 72, 0.09); }

/* ── Badges (tom compartilhado por vários componentes) ── */
.tk-support-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.22rem 0.55rem;
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 800;
    white-space: nowrap;
    line-height: 1.3;
}

.tk-support-badge.is-outline { background: rgba(15, 40, 80, 0.05); color: var(--tks-muted); }
.tk-support-badge.is-blue { background: var(--tks-blue-bg); color: var(--tks-blue); }
.tk-support-badge.is-blue-soft { background: var(--tks-blue-soft-bg); color: var(--tks-blue-soft); }
.tk-support-badge.is-amber { background: var(--tks-amber-bg); color: var(--tks-amber); }
.tk-support-badge.is-orange { background: var(--tks-orange-bg); color: var(--tks-orange); }
.tk-support-badge.is-indigo { background: var(--tks-indigo-bg); color: var(--tks-indigo); }
.tk-support-badge.is-green { background: var(--tks-green-bg); color: var(--tks-green); }
.tk-support-badge.is-red { background: var(--tks-red-bg); color: var(--tks-red); }
.tk-support-badge.is-slate { background: var(--tks-slate-bg); color: var(--tks-slate); }

/* ── Cartão de caso (lista da fila) ── */
.tk-support-case-list { display: grid; gap: 0.6rem; }

.tk-support-case {
    display: grid;
    gap: 0.55rem;
    padding: 0.85rem 0.9rem;
    border-radius: 1rem;
    background: #fff;
    border: 1px solid var(--tks-line);
    border-left: 4px solid var(--tks-slate);
    text-decoration: none;
    color: var(--tks-ink);
    box-shadow: 0 8px 18px rgba(15, 40, 80, 0.04);
    transition: transform 140ms ease, box-shadow 140ms ease, border-color 140ms ease;
}

.tk-support-case:hover { transform: translateY(-1px); box-shadow: 0 14px 26px rgba(15, 40, 80, 0.1); }

.tk-support-case.is-active { border-left-color: var(--tks-ink); box-shadow: 0 0 0 2px rgba(11, 35, 72, 0.14), 0 14px 26px rgba(15, 40, 80, 0.1); }

.tk-support-case.is-blue { border-left-color: var(--tks-blue); }
.tk-support-case.is-blue-soft { border-left-color: var(--tks-blue-soft); }
.tk-support-case.is-amber { border-left-color: var(--tks-amber); }
.tk-support-case.is-orange { border-left-color: var(--tks-orange); }
.tk-support-case.is-indigo { border-left-color: var(--tks-indigo); }
.tk-support-case.is-green { border-left-color: var(--tks-green); }
.tk-support-case.is-red { border-left-color: var(--tks-red); }

.tk-support-case__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.tk-support-case__ref {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}

.tk-support-case__time {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--tks-muted);
}

.tk-support-case__identity {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.tk-support-case__avatar {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: hsl(var(--tk-h, 210) 62% 32%);
    background: hsl(var(--tk-h, 210) 70% 93%);
    box-shadow: inset 0 0 0 1px hsl(var(--tk-h, 210) 60% 86%);
}

.tk-support-case__who {
    display: grid;
    gap: 0.05rem;
    min-width: 0;
    flex: 1;
}

.tk-support-case__who strong {
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-support-case__who span {
    display: inline-flex;
    align-items: center;
    gap: 0.22rem;
    font-size: 0.72rem;
    color: var(--tks-muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-support-case__status {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.32rem 0.6rem;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    background: var(--tks-slate);
    white-space: nowrap;
}

.tk-support-case__status.is-blue { background: var(--tks-blue); }
.tk-support-case__status.is-blue-soft { background: var(--tks-blue-soft); }
.tk-support-case__status.is-amber { background: var(--tks-amber); }
.tk-support-case__status.is-orange { background: var(--tks-orange); }
.tk-support-case__status.is-indigo { background: var(--tks-indigo); }
.tk-support-case__status.is-green { background: var(--tks-green); }
.tk-support-case__status.is-red { background: var(--tks-red); }

.tk-support-case__title {
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--tks-ink);
    line-height: 1.32;
}

.tk-support-case__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.tk-support-case__next {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--tks-muted);
    border-top: 1px dashed var(--tks-line);
    padding-top: 0.5rem;
    margin-top: 0.05rem;
}

.tk-support-case__next strong { color: var(--tks-ink); font-weight: 800; }

/* ── Cabeçalho do caso (workspace) ── */
.tk-support-case-header {
    display: grid;
    gap: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--tks-line);
    margin-bottom: 0.9rem;
}

.tk-support-case-header__main { display: grid; gap: 0.55rem; }

.tk-support-case-header__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
}

.tk-support-case-header__title-row h3 { font-size: 1.15rem; font-weight: 800; }

.tk-support-badge-row { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.tk-support-case-header__entities { display: flex; flex-wrap: wrap; gap: 1rem; }

.tk-support-case-header__entity {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: var(--tks-muted);
}

.tk-support-case-header__entity strong { color: var(--tks-ink); font-weight: 700; margin-right: 0.15rem; }

.tk-support-case-side-card { display: grid; gap: 0.7rem; }

.tk-support-header-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.tk-support-header-facts article {
    padding: 0.55rem 0.65rem;
    border-radius: 0.75rem;
    background: var(--tks-slate-bg);
}

.tk-support-header-facts article span { display: flex; align-items: center; gap: 0.25rem; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: var(--tks-muted); }
.tk-support-header-facts article strong { display: block; font-size: 0.86rem; font-weight: 800; color: var(--tks-ink); margin-top: 0.1rem; }
.tk-support-header-facts article small { display: block; font-size: 0.7rem; color: var(--tks-muted); }

.tk-support-header-facts article.is-blue { background: var(--tks-blue-bg); }
.tk-support-header-facts article.is-blue-soft { background: var(--tks-blue-soft-bg); }
.tk-support-header-facts article.is-amber { background: var(--tks-amber-bg); }
.tk-support-header-facts article.is-orange { background: var(--tks-orange-bg); }
.tk-support-header-facts article.is-indigo { background: var(--tks-indigo-bg); }
.tk-support-header-facts article.is-green { background: var(--tks-green-bg); }
.tk-support-header-facts article.is-red { background: var(--tks-red-bg); }

.tk-support-action-row { display: flex; flex-wrap: wrap; gap: 0.4rem; }

/* ── Abas do workspace ── */
.tk-support-tabs {
    display: flex;
    gap: 0.3rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    margin-bottom: 0.9rem;
    border-bottom: 1px solid var(--tks-line);
}

.tk-support-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 0;
    background: transparent;
    padding: 0.5rem 0.2rem;
    margin-bottom: -1px;
    border-bottom: 2px solid transparent;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--tks-muted);
    cursor: pointer;
    white-space: nowrap;
}

.tk-support-tab.is-active { color: var(--tks-ink); border-bottom-color: var(--tks-ink); }

.tk-support-tab-panel { display: none; }
.tk-support-tab-panel.is-active { display: block; }

/* ── Timeline do caso ── */
.tk-support-timeline { display: grid; gap: 0; position: relative; }

.tk-support-timeline__step {
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: 0.7rem;
    padding-bottom: 1.1rem;
    position: relative;
}

.tk-support-timeline__step:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 0.95rem;
    top: 2rem;
    bottom: -0.1rem;
    width: 2px;
    background: var(--tks-line);
}

.tk-support-timeline__marker {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tks-slate-bg);
    color: var(--tks-slate);
    z-index: 1;
}

.tk-support-timeline__step.is-blue .tk-support-timeline__marker { background: var(--tks-blue-bg); color: var(--tks-blue); }
.tk-support-timeline__step.is-blue-soft .tk-support-timeline__marker { background: var(--tks-blue-soft-bg); color: var(--tks-blue-soft); }
.tk-support-timeline__step.is-amber .tk-support-timeline__marker { background: var(--tks-amber-bg); color: var(--tks-amber); }
.tk-support-timeline__step.is-orange .tk-support-timeline__marker { background: var(--tks-orange-bg); color: var(--tks-orange); }
.tk-support-timeline__step.is-indigo .tk-support-timeline__marker { background: var(--tks-indigo-bg); color: var(--tks-indigo); }
.tk-support-timeline__step.is-green .tk-support-timeline__marker { background: var(--tks-green-bg); color: var(--tks-green); }
.tk-support-timeline__step.is-red .tk-support-timeline__marker { background: var(--tks-red-bg); color: var(--tks-red); }

.tk-support-timeline__step.is-pending { opacity: 0.5; }

.tk-support-timeline__head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.tk-support-timeline__head small { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: var(--tks-muted); display: block; }
.tk-support-timeline__head strong { font-size: 0.88rem; font-weight: 800; color: var(--tks-ink); }
.tk-support-timeline__meta { font-size: 0.72rem; color: var(--tks-muted); }
.tk-support-timeline__body p { font-size: 0.8rem; color: var(--tks-muted); margin-top: 0.2rem; line-height: 1.4; }

/* ── Log de atividades ── */
.tk-support-activity-list { display: grid; gap: 0.55rem; }

.tk-support-activity {
    padding: 0.7rem 0.8rem;
    border-radius: 0.85rem;
    background: var(--tks-slate-bg);
    border-left: 3px solid var(--tks-slate);
}

.tk-support-activity.is-blue { background: var(--tks-blue-bg); border-left-color: var(--tks-blue); }
.tk-support-activity.is-blue-soft { background: var(--tks-blue-soft-bg); border-left-color: var(--tks-blue-soft); }
.tk-support-activity.is-amber { background: var(--tks-amber-bg); border-left-color: var(--tks-amber); }
.tk-support-activity.is-orange { background: var(--tks-orange-bg); border-left-color: var(--tks-orange); }
.tk-support-activity.is-indigo { background: var(--tks-indigo-bg); border-left-color: var(--tks-indigo); }
.tk-support-activity.is-green { background: var(--tks-green-bg); border-left-color: var(--tks-green); }
.tk-support-activity.is-red { background: var(--tks-red-bg); border-left-color: var(--tks-red); }

.tk-support-activity__head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.3rem; }
.tk-support-activity__time { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.72rem; color: var(--tks-muted); }
.tk-support-activity__time time { display: flex; gap: 0.3rem; }
.tk-support-activity strong { font-size: 0.84rem; font-weight: 800; display: inline-flex; align-items: center; gap: 0.3rem; }
.tk-support-activity small { font-size: 0.74rem; color: var(--tks-muted); display: block; margin-top: 0.1rem; }
.tk-support-activity p { font-size: 0.8rem; color: var(--tks-muted); margin-top: 0.3rem; line-height: 1.4; }

/* ── Drawer de conversa ampliada ── */
.tk-support-conversation-drawer[hidden] { display: none; }

.tk-support-conversation-drawer {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: end center;
}

.tk-support-conversation-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 35, 72, 0.45);
    border: 0;
    cursor: pointer;
}

.tk-support-conversation-sheet {
    position: relative;
    width: min(46rem, 96vw);
    max-height: 88vh;
    background: #fff;
    border-radius: 1.3rem 1.3rem 0 0;
    box-shadow: 0 -20px 50px rgba(11, 35, 72, 0.3);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    overflow: hidden;
}

.tk-support-conversation-sheet__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--tks-line);
}

.tk-support-conversation-sheet__head h3 { font-size: 1rem; font-weight: 800; }
.tk-support-conversation-sheet__body { min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: 0 1.1rem 1.1rem; }

body.tk-support-body--locked { overflow: hidden; }

/* ── Sidebar de contexto ── */
.tk-support-context-stack { display: grid; gap: 0.75rem; }

.tk-support-context-feed { display: grid; gap: 0.5rem; }

.tk-support-context-activity {
    display: flex;
    gap: 0.5rem;
    padding: 0.6rem 0.7rem;
    border-radius: 0.8rem;
    background: var(--tks-slate-bg);
}

.tk-support-context-activity.is-blue { background: var(--tks-blue-bg); }
.tk-support-context-activity.is-blue-soft { background: var(--tks-blue-soft-bg); }
.tk-support-context-activity.is-amber { background: var(--tks-amber-bg); }
.tk-support-context-activity.is-orange { background: var(--tks-orange-bg); }
.tk-support-context-activity.is-indigo { background: var(--tks-indigo-bg); }
.tk-support-context-activity.is-green { background: var(--tks-green-bg); }
.tk-support-context-activity.is-red { background: var(--tks-red-bg); }

.tk-support-context-activity__icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 1.7rem; height: 1.7rem; border-radius: 9999px; background: rgba(255, 255, 255, 0.65); }
.tk-support-context-activity__copy { min-width: 0; flex: 1; }
.tk-support-context-activity__head { display: flex; align-items: baseline; justify-content: space-between; gap: 0.4rem; }
.tk-support-context-activity__head strong { font-size: 0.82rem; font-weight: 800; }
.tk-support-context-activity__head small { font-size: 0.68rem; color: var(--tks-muted); white-space: nowrap; }
.tk-support-context-activity__meta,
.tk-support-context-activity__body { font-size: 0.74rem; color: var(--tks-muted); margin-top: 0.15rem; line-height: 1.4; }

.tk-support-context-accordion { display: grid; gap: 0.5rem; }

.tk-support-context-group {
    border: 1px solid var(--tks-line);
    border-radius: 0.9rem;
    background: #fff;
    overflow: hidden;
}

.tk-support-context-group summary { list-style: none; cursor: pointer; }
.tk-support-context-group summary::-webkit-details-marker { display: none; }

.tk-support-context-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.7rem 0.85rem;
}

.tk-support-context-summary__copy { display: grid; gap: 0.15rem; min-width: 0; }
.tk-support-context-summary__value { font-size: 0.9rem; font-weight: 800; color: var(--tks-ink); }
.tk-support-context-caption { font-size: 0.74rem; color: var(--tks-muted); }

.tk-support-context-chevron {
    flex: none;
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid var(--tks-muted);
    border-bottom: 2px solid var(--tks-muted);
    transform: rotate(45deg);
    transition: transform 160ms ease;
}

.tk-support-context-group[open] .tk-support-context-chevron { transform: rotate(-135deg); }

.tk-support-context-body { padding: 0 0.85rem 0.85rem; }

.tk-support-fact-list { display: grid; gap: 0.5rem; }
.tk-support-fact-item { display: flex; align-items: baseline; justify-content: space-between; gap: 0.6rem; font-size: 0.8rem; border-top: 1px solid var(--tks-line); padding-top: 0.5rem; }
.tk-support-fact-item:first-child { border-top: 0; padding-top: 0; }
.tk-support-fact-item dt { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--tks-muted); font-weight: 600; }
.tk-support-fact-item dd { font-weight: 700; color: var(--tks-ink); text-align: right; }

.tk-support-details-stack { display: grid; gap: 0.6rem; }

.tk-support-details {
    border: 1px solid var(--tks-line);
    border-radius: 0.9rem;
    background: #fff;
    overflow: hidden;
}

.tk-support-details summary { list-style: none; cursor: pointer; }
.tk-support-details summary::-webkit-details-marker { display: none; }

.tk-support-details__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    padding: 0.8rem 0.9rem;
}

.tk-support-details__summary h3 { font-size: 0.92rem; font-weight: 800; margin-top: 0.1rem; }
.tk-support-details__body { padding: 0 0.9rem 0.9rem; display: grid; gap: 0.75rem; }

.tk-support-bullet-list { display: grid; gap: 0.35rem; padding-left: 1.1rem; font-size: 0.8rem; color: var(--tks-muted); }
.tk-support-bullet-list li { list-style: disc; }

.tk-support-form-actions { display: flex; justify-content: flex-end; gap: 0.5rem; }
.tk-support-form-actions--between { justify-content: space-between; align-items: center; flex-wrap: wrap; }
.tk-support-composer__footnote { display: flex; align-items: center; gap: 0.6rem; }
.tk-support-composer__footnote small { font-size: 0.74rem; color: var(--tks-muted); }

.tk-support-macro-list { display: grid; gap: 0.4rem; }
.tk-support-macro-list--row { display: flex; flex-wrap: wrap; gap: 0.4rem; }

.tk-support-macro {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--tks-line);
    background: #fff;
    padding: 0.4rem 0.65rem;
    border-radius: 0.6rem;
    font-size: 0.76rem;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
    color: var(--tks-ink);
}

.tk-support-macro--block { width: 100%; }
.tk-support-macro:hover { background: rgba(11, 35, 72, 0.05); }

.tk-support-macro.is-blue { color: var(--tks-blue); }
.tk-support-macro.is-blue-soft { color: var(--tks-blue-soft); }
.tk-support-macro.is-amber { color: var(--tks-amber); }
.tk-support-macro.is-orange { color: var(--tks-orange); }
.tk-support-macro.is-indigo { color: var(--tks-indigo); }
.tk-support-macro.is-green { color: var(--tks-green); }
.tk-support-macro.is-red { color: var(--tks-red); }

/* ── Conversa / composer ── */
.tk-support-conversation { display: grid; gap: 0.7rem; }
.tk-support-conversation__actions { display: flex; align-items: center; gap: 0.5rem; }
.tk-support-conversation__note { font-size: 0.76rem; color: var(--tks-muted); background: var(--tks-slate-bg); padding: 0.5rem 0.7rem; border-radius: 0.6rem; }

.tk-support-message-list {
    display: grid;
    gap: 0.7rem;
    max-height: 26rem;
    overflow-y: auto;
    padding-right: 0.2rem;
}

.tk-support-message { display: block; }

.tk-support-message__shell { display: flex; gap: 0.6rem; }

.tk-support-message__marker {
    flex: none;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--tks-slate-bg);
    color: var(--tks-slate);
}

.tk-support-message.is-participant .tk-support-message__marker { background: var(--tks-blue-soft-bg); color: var(--tks-blue-soft); }
.tk-support-message.is-producer .tk-support-message__marker { background: rgba(11, 35, 72, 0.1); color: var(--tks-ink); }
.tk-support-message.is-ticketon .tk-support-message__marker,
.tk-support-message.is-internal .tk-support-message__marker { background: var(--tks-orange-bg); color: var(--tks-orange); }

.tk-support-message__content {
    flex: 1;
    min-width: 0;
    padding: 0.7rem 0.85rem;
    border-radius: 0.9rem;
    background: var(--tks-slate-bg);
    border-left: 3px solid var(--tks-slate);
}

.tk-support-message.is-participant .tk-support-message__content { background: var(--tks-blue-soft-bg); border-left-color: var(--tks-blue-soft); }
.tk-support-message.is-producer .tk-support-message__content { background: rgba(11, 35, 72, 0.045); border-left-color: var(--tks-ink); }
.tk-support-message.is-ticketon .tk-support-message__content,
.tk-support-message.is-internal .tk-support-message__content { background: var(--tks-orange-bg); border-left-color: var(--tks-orange); }

.tk-support-message__meta { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; }
.tk-support-message__meta-main { display: grid; gap: 0.05rem; min-width: 0; }
.tk-support-message__meta-main small { font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.02em; color: var(--tks-muted); }
.tk-support-message__meta-main strong { font-size: 0.86rem; font-weight: 800; }
.tk-support-message__context { font-size: 0.72rem; color: var(--tks-muted); }
.tk-support-message__meta-side { display: grid; gap: 0.3rem; justify-items: end; }
.tk-support-message__meta-side small { font-size: 0.7rem; color: var(--tks-muted); }
.tk-support-message__chips { display: flex; gap: 0.3rem; }

.tk-support-message-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.18rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.65rem;
    font-weight: 700;
}

.tk-support-message-chip.is-outline { background: rgba(15, 40, 80, 0.06); color: var(--tks-muted); }
.tk-support-message-chip.is-blue { background: var(--tks-blue-bg); color: var(--tks-blue); }
.tk-support-message-chip.is-blue-soft { background: var(--tks-blue-soft-bg); color: var(--tks-blue-soft); }
.tk-support-message-chip.is-amber { background: var(--tks-amber-bg); color: var(--tks-amber); }
.tk-support-message-chip.is-orange { background: var(--tks-orange-bg); color: var(--tks-orange); }
.tk-support-message-chip.is-indigo { background: var(--tks-indigo-bg); color: var(--tks-indigo); }
.tk-support-message-chip.is-green { background: var(--tks-green-bg); color: var(--tks-green); }
.tk-support-message-chip.is-red { background: var(--tks-red-bg); color: var(--tks-red); }
.tk-support-message-chip.is-slate { background: var(--tks-slate-bg); color: var(--tks-slate); }

.tk-support-message__body { font-size: 0.85rem; line-height: 1.5; color: var(--tks-ink); margin-top: 0.4rem; }

/* ── Composer ── */
.tk-support-composer { display: grid; gap: 0.65rem; margin-top: 0.5rem; }

.tk-support-composer__toolbar { display: grid; gap: 0.5rem; }
.tk-support-composer__toolbar--inline { gap: 0.4rem; }

.tk-support-composer__compact-meta { display: grid; gap: 0.2rem; }
.tk-support-composer__compact-line { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.tk-support-composer__compact-line strong { font-size: 0.9rem; font-weight: 800; }

.tk-support-composer__control-row { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; flex-wrap: wrap; }

.tk-support-composer-mode-pills { display: flex; flex-wrap: wrap; gap: 0.35rem; }

.tk-support-composer-mode-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid var(--tks-line);
    background: #fff;
    padding: 0.4rem 0.7rem;
    border-radius: 9999px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--tks-muted);
    cursor: pointer;
}

.tk-support-composer-mode-pill.is-active.is-blue { background: var(--tks-blue); color: #fff; border-color: transparent; }
.tk-support-composer-mode-pill.is-active.is-blue-soft { background: var(--tks-blue-soft); color: #fff; border-color: transparent; }
.tk-support-composer-mode-pill.is-active.is-amber { background: var(--tks-amber); color: #fff; border-color: transparent; }
.tk-support-composer-mode-pill.is-active.is-orange { background: var(--tks-orange); color: #fff; border-color: transparent; }
.tk-support-composer-mode-pill.is-active.is-indigo { background: var(--tks-indigo); color: #fff; border-color: transparent; }
.tk-support-composer-mode-pill.is-active.is-green { background: var(--tks-green); color: #fff; border-color: transparent; }
.tk-support-composer-mode-pill.is-active.is-red { background: var(--tks-red); color: #fff; border-color: transparent; }
.tk-support-composer-mode-pill.is-active.is-slate { background: var(--tks-slate); color: #fff; border-color: transparent; }

.tk-support-quick-actions summary { list-style: none; }
.tk-support-quick-actions summary::-webkit-details-marker { display: none; }
.tk-support-quick-actions__panel { margin-top: 0.5rem; }

.tk-support-composer__inline { display: grid; gap: 0.5rem; }
.tk-support-composer__inline-actions { display: flex; justify-content: flex-end; gap: 0.4rem; }

.tk-support-textarea--chat { min-height: 3rem; }

/* ══ Responsivo ══ */
@media (min-width: 640px) {
    .tk-support-queues { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tk-support-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1100px) {
    .tk-support-queues { grid-template-columns: repeat(6, minmax(0, 1fr)); }

    .tk-support-shell {
        grid-template-columns: 320px minmax(0, 1.5fr) 300px;
    }

    .tk-support[data-support-focus="inbox"] .tk-support-shell {
        grid-template-columns: 380px minmax(0, 1fr);
    }

    .tk-support[data-support-focus="inbox"] .tk-support-context { display: none; }
    .tk-support[data-support-focus="case"] .tk-support-context { display: grid; }

    .tk-support-panel--sticky {
        position: sticky;
        top: 0.8rem;
        max-height: calc(100vh - 1.6rem);
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
    }

    .tk-support-case-list,
    .tk-support-context-stack {
        min-height: 0;
        overflow-y: auto;
        padding-right: 0.15rem;
    }
}

/* Só divide o cabeçalho do caso em 2 colunas quando a coluna central do
   shell tiver largura confortável — em 1100-1399px a coluna central fica
   estreita demais e as duas metades se sobrepõem. */
@media (min-width: 1400px) {
    .tk-support-case-header { grid-template-columns: minmax(0, 1fr) 22rem; }
}

/* ════════════════════════════════════════════════════════════
   CENTRAL DE CHECK-IN — refino visual (tk-checkin / tk-scan)
   Reaproveita tk-dash/tk-events/tk-sales/tk-kpi/tk-card/tk-list/
   tk-metrics/tk-bars/tk-progress/tk-badge/tk-chat__avatar.
   ════════════════════════════════════════════════════════════ */

.tk-checkin__panel { display: grid; gap: 1rem; }
.tk-checkin__panel.hidden { display: none; }
.tk-checkin__kpis.hidden { display: none; }

.tk-checkin__locked-chip { cursor: default; }

/* ── Hero escuro do scanner (mesma família do hero da carteira) ── */
.tk-scan-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.3rem;
    padding: 1.3rem 1.2rem 1.2rem;
    background: linear-gradient(135deg, #0b2348 0%, #123059 55%, #0b1f3f 100%);
    color: #fff;
    box-shadow: 0 18px 40px rgba(11, 35, 72, 0.32);
}

.tk-scan-hero__glow {
    position: absolute;
    top: -6rem;
    right: -5rem;
    width: 18rem;
    height: 18rem;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(238, 125, 29, 0.34), transparent 65%);
    pointer-events: none;
}

.tk-scan-hero > *:not(.tk-scan-hero__glow) { position: relative; z-index: 1; }

.tk-scan-hero__top { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.7rem; }

.tk-scan-hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.72);
}

.tk-scan-hero__window {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.6rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
}

.tk-scan-hero__title { font-size: 1.35rem; font-weight: 800; line-height: 1.2; }
.tk-scan-hero__copy { margin-top: 0.35rem; font-size: 0.82rem; color: rgba(255, 255, 255, 0.62); max-width: 36rem; }
.tk-scan-hero__copy strong { color: rgba(255, 255, 255, 0.9); }

/* ── Bloco da câmera ── */
.tk-scan-form { display: grid; gap: 0.8rem; margin-top: 1rem; }

.tk-scan-camera {
    border: 1px dashed rgba(255, 255, 255, 0.28);
    border-radius: 1rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
}

.tk-scan-camera__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }

.tk-scan-camera__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 0;
    border-radius: 9999px;
    padding: 0.5rem 0.9rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    transition: background-color 140ms ease;
}

.tk-scan-camera__btn:hover { background: rgba(255, 255, 255, 0.2); }
.tk-scan-camera__btn--primary { background: #ee7d1d; }
.tk-scan-camera__btn--primary:hover { background: #f78d33; }

.tk-scan-camera__status { flex: 1 1 12rem; font-size: 0.76rem; color: rgba(255, 255, 255, 0.6); min-width: 0; }

.tk-scan-camera__stage { margin-top: 0.8rem; border-radius: 0.9rem; overflow: hidden; background: #06152e; }
.tk-scan-camera__stage.hidden { display: none; }
.tk-scan-camera__stage video { display: block; width: 100%; height: 260px; object-fit: cover; }

/* ── Campos do formulário no hero ── */
.tk-scan-form__fields { display: grid; gap: 0.6rem; }

.tk-scan-form__field { display: grid; gap: 0.3rem; min-width: 0; }
.tk-scan-form__label { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255, 255, 255, 0.55); }

/* !important: reset de formulários do Tailwind CDN (seletores de atributo
   [type="text"] etc.) empata em especificidade e carrega depois. */
.tk-scan-form__input,
.tk-scan-form__select {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 0.8rem !important;
    background: rgba(255, 255, 255, 0.08) !important;
    padding: 0.7rem 0.85rem !important;
    font-size: 0.9rem !important;
    font-weight: 600;
    color: #fff !important;
    outline: none !important;
}

.tk-scan-form__input { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.03em; }
.tk-scan-form__input::placeholder { color: rgba(255, 255, 255, 0.35); font-family: inherit; }

.tk-scan-form__input:focus,
.tk-scan-form__select:focus {
    border-color: rgba(238, 125, 29, 0.7) !important;
    box-shadow: 0 0 0 3px rgba(238, 125, 29, 0.22) !important;
    background: rgba(255, 255, 255, 0.12) !important;
}

.tk-scan-form__select option { color: #0b2348; background: #fff; }

.tk-scan-form__locked {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 0.8rem;
    padding: 0.7rem 0.85rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
}

.tk-scan-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    border: 0;
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #ee7d1d, #f79a45);
    box-shadow: 0 12px 26px rgba(238, 125, 29, 0.35);
    cursor: pointer;
    transition: transform 130ms ease, box-shadow 130ms ease;
}

.tk-scan-form__submit:hover { transform: translateY(-1px); box-shadow: 0 16px 30px rgba(238, 125, 29, 0.42); }

/* ── Resultado da última leitura ── */
.tk-scan-result {
    border-radius: 1.1rem;
    padding: 1rem;
    border: 1px solid transparent;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 40, 80, 0.05);
}

.tk-scan-result.is-valid { border-color: rgba(22, 161, 99, 0.3); background: rgba(22, 161, 99, 0.05); }
.tk-scan-result.is-duplicate { border-color: rgba(238, 125, 29, 0.3); background: rgba(238, 125, 29, 0.05); }
.tk-scan-result.is-invalid { border-color: rgba(220, 44, 62, 0.3); background: rgba(220, 44, 62, 0.05); }

.tk-scan-result__head { display: flex; gap: 0.7rem; align-items: flex-start; }

.tk-scan-result__icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 0.85rem;
}

.tk-scan-result.is-valid .tk-scan-result__icon { background: rgba(22, 161, 99, 0.14); color: #138a55; }
.tk-scan-result.is-duplicate .tk-scan-result__icon { background: rgba(238, 125, 29, 0.14); color: #c9700f; }
.tk-scan-result.is-invalid .tk-scan-result__icon { background: rgba(220, 44, 62, 0.13); color: #c8313f; }

.tk-scan-result__kicker { display: block; font-size: 0.66rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: #7c8aa3; }
.tk-scan-result__title { display: block; font-size: 1.1rem; font-weight: 800; color: #0b2348; margin-top: 0.1rem; }
.tk-scan-result__message { font-size: 0.82rem; color: #64748b; margin-top: 0.15rem; }
.tk-scan-result__facts { margin-top: 0.85rem; }

/* ── Alertas ── */
.tk-checkin__alerts { display: grid; gap: 0.5rem; }

.tk-checkin__alert {
    display: grid;
    gap: 0.15rem;
    padding: 0.65rem 0.8rem;
    border-radius: 0.85rem;
    background: rgba(33, 74, 134, 0.06);
    border-left: 3px solid #214a86;
}

.tk-checkin__alert strong { font-size: 0.84rem; font-weight: 800; color: #0b2348; }
.tk-checkin__alert span { font-size: 0.78rem; color: #64748b; line-height: 1.4; }

.tk-checkin__alert.is-orange { background: rgba(238, 125, 29, 0.08); border-left-color: #ee7d1d; }
.tk-checkin__alert.is-sky { background: rgba(79, 141, 255, 0.08); border-left-color: #4f8dff; }

.tk-checkin__empty { padding: 0.85rem 0.5rem; font-size: 0.8rem; color: #94a3b8; }

.tk-checkin__lastvalid {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.85rem;
    padding: 0.7rem 0.8rem;
    border-radius: 0.85rem;
    background: rgba(22, 161, 99, 0.06);
}

.tk-checkin__lastvalid strong { display: block; font-size: 0.85rem; font-weight: 800; color: #0b2348; }
.tk-checkin__lastvalid span { font-size: 0.75rem; color: #64748b; }

/* ── Qualidade / origem (barras de progresso) ── */
.tk-checkin__quality { display: grid; gap: 0.7rem; }
.tk-checkin__quality-row { display: grid; gap: 0.35rem; }
.tk-checkin__quality-line { display: flex; align-items: baseline; justify-content: space-between; gap: 0.6rem; font-size: 0.82rem; }
.tk-checkin__quality-line span { color: #64748b; font-weight: 600; }
.tk-checkin__quality-line strong { font-weight: 800; color: #0b2348; font-variant-numeric: tabular-nums; }
.tk-checkin__quality-note { font-size: 0.72rem; color: #94a3b8; }

.tk-progress__fill.is-green { background: #16a163; }
.tk-progress__fill.is-bad { background: #dc2c3e; }

.tk-bars__value { font-size: 0.68rem; font-weight: 800; color: #0b2348; font-variant-numeric: tabular-nums; }

/* ── Logs de leitura (details expansível) ── */
.tk-scanlog__list { display: grid; gap: 0.5rem; }

.tk-scanlog {
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 0.9rem;
    background: #fff;
    overflow: hidden;
}

.tk-scanlog summary { list-style: none; cursor: pointer; }
.tk-scanlog summary::-webkit-details-marker { display: none; }

.tk-scanlog__summary {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.8rem;
}

.tk-scanlog__dot { flex: none; width: 0.6rem; height: 0.6rem; border-radius: 9999px; background: #94a3b8; }
.tk-scanlog.is-valid .tk-scanlog__dot { background: #16a163; }
.tk-scanlog.is-duplicate .tk-scanlog__dot { background: #ee7d1d; }
.tk-scanlog.is-invalid .tk-scanlog__dot { background: #dc2c3e; }

.tk-scanlog__who { display: grid; gap: 0.05rem; min-width: 0; flex: 1; }
.tk-scanlog__who strong { font-size: 0.85rem; font-weight: 800; color: #0b2348; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-scanlog__who span { font-size: 0.73rem; color: #94a3b8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.tk-scanlog__side { flex: none; display: grid; gap: 0.2rem; justify-items: end; }
.tk-scanlog__side small { font-size: 0.7rem; color: #94a3b8; font-variant-numeric: tabular-nums; }

.tk-scanlog__body { padding: 0 0.8rem 0.8rem; border-top: 1px dashed rgba(217, 227, 239, 0.9); padding-top: 0.7rem; }
.tk-scanlog__reason { margin-top: 0.6rem; font-size: 0.78rem; color: #64748b; line-height: 1.45; }

/* ── Formulário de validador ── */
.tk-checkin__form { display: grid; gap: 0.7rem; }

.tk-checkin__field { display: grid; gap: 0.3rem; }
.tk-checkin__field > span { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; color: #7c8aa3; }

/* !important: mesmo motivo do tk-scan-form__input (reset do Tailwind CDN). */
.tk-checkin__input {
    width: 100%;
    border: 1px solid rgba(217, 227, 239, 0.9) !important;
    border-radius: 0.8rem !important;
    background: #fbfdff !important;
    padding: 0.65rem 0.8rem !important;
    font-size: 0.88rem !important;
    font-weight: 600;
    color: #0b2348 !important;
    outline: none !important;
}

.tk-checkin__input:focus {
    border-color: rgba(11, 35, 72, 0.35) !important;
    box-shadow: 0 0 0 3px rgba(11, 35, 72, 0.08) !important;
}

.tk-checkin__note {
    font-size: 0.76rem;
    color: #64748b;
    background: rgba(33, 74, 134, 0.05);
    border-radius: 0.7rem;
    padding: 0.6rem 0.75rem;
    line-height: 1.45;
}

.tk-checkin__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 0;
    border-radius: 0.8rem;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    font-weight: 800;
    color: #fff;
    background: #0b2348;
    box-shadow: 0 10px 22px rgba(11, 35, 72, 0.25);
    cursor: pointer;
    transition: transform 130ms ease;
}

.tk-checkin__submit:hover { transform: translateY(-1px); }

/* ── Equipe de validadores ── */
.tk-checkin__team { display: grid; gap: 0.5rem; }

.tk-checkin__member {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.8rem;
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 0.9rem;
    background: #fff;
}

.tk-checkin__member-info { min-width: 0; flex: 1; display: grid; gap: 0.15rem; }
.tk-checkin__member-line { display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
.tk-checkin__member-line strong { font-size: 0.85rem; font-weight: 800; color: #0b2348; overflow: hidden; text-overflow: ellipsis; }
.tk-checkin__member-meta { font-size: 0.73rem; color: #94a3b8; }

.tk-checkin__member-btn {
    flex: none;
    border: 0;
    border-radius: 9999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 800;
    cursor: pointer;
    background: rgba(11, 35, 72, 0.08);
    color: #0b2348;
    transition: background-color 130ms ease;
}

.tk-checkin__member-btn:hover { background: rgba(11, 35, 72, 0.14); }
.tk-checkin__member-btn.is-danger { background: rgba(220, 44, 62, 0.1); color: #c8313f; }
.tk-checkin__member-btn.is-danger:hover { background: rgba(220, 44, 62, 0.16); }

/* ── Responsivo ── */
.tk-checkin__pair { display: grid; gap: 1rem; }
.tk-checkin__grid { display: grid; gap: 1rem; }

@media (min-width: 900px) {
    .tk-scan-form__fields { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
    .tk-checkin__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tk-checkin__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .tk-scan-result__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ════════════════════════════════════════════════════════════
   PERFIL DO PRODUTOR — extensões do tk-profile (tk-profile--producer)
   ════════════════════════════════════════════════════════════ */

/* Um único form que atravessa vários grupos visuais (backend recebe tudo junto). */
.tk-profile__form { display: grid; gap: 1.25rem; }

/* Textarea com o mesmo tratamento dos inputs (especificidade 0,2,0 vence o
   reset de formulários do Tailwind CDN, mesmo truque dos inputs). */
.tk-profile .tk-profile__field textarea {
    width: 100%;
    border: 1px solid rgba(217, 227, 239, 0.95);
    background: #f6f8fb;
    border-radius: 0.85rem;
    padding: 0.65rem 0.85rem;
    font-size: 0.95rem;
    color: #0b2348;
    outline: none;
    resize: vertical;
    min-height: 6rem;
    line-height: 1.5;
    transition: border-color 140ms ease, background-color 140ms ease;
}

.tk-profile .tk-profile__field textarea:focus {
    border-color: #214a86;
    background: #fff;
}

/* Agência + conta lado a lado */
.tk-profile__field-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid rgba(226, 234, 244, 0.85);
}

.tk-profile__field-pair .tk-profile__field + .tk-profile__field {
    border-top: 0;
    border-left: 1px solid rgba(226, 234, 244, 0.85);
}

.tk-profile__card > .tk-profile__field-pair + .tk-profile__field,
.tk-profile__card > .tk-profile__field + .tk-profile__field-pair {
    border-top: 1px solid rgba(226, 234, 244, 0.85);
}

/* ── Header + identidade fundidos num cartão só ── */
.tk-profile__hero {
    display: grid;
    gap: 0.9rem;
    padding: 1rem 1.15rem 1.15rem;
    background: #fff;
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 1.6rem;
    box-shadow: 0 18px 40px rgba(15, 40, 80, 0.06);
}

.tk-profile__hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
}

.tk-profile__hero-actions { display: flex; align-items: center; gap: 0.45rem; }

.tk-profile__hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 0.9rem;
    background: #fff;
    color: #0b2348;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(15, 40, 80, 0.07);
    transition: transform 130ms ease, box-shadow 130ms ease;
}

.tk-profile__hero-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 18px rgba(15, 40, 80, 0.12); }

.tk-profile__hero-id {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.tk-profile__hero-chips { margin-top: 0; }

/* ── Perfil do produtor em tela larga: 2 colunas, sem espaço morto ── */

/* Wrapper dos grupos abaixo do hero (flash e hero ficam fora, então a grade
   de 2 colunas não desloca quando o flash banner aparece). */
.tk-profile__body { display: grid; gap: 1.25rem; }

@media (min-width: 1100px) {
    .tk-profile--producer { max-width: 70rem; }

    .tk-profile__body {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
        /* Linhas pelo conteúdo; a sobra de altura do form fica toda na última
           linha, senão os cards da direita ganham buracos irregulares. */
        grid-template-rows: auto auto auto 1fr;
        column-gap: 1.4rem;
        align-items: start;
    }

    /* Linhas explícitas: com colocação automática esparsa o form cairia uma
       linha abaixo de #conta em vez de ficar ao lado. */
    .tk-profile__body > .tk-profile__form {
        grid-column: 1;
        grid-row: 1 / span 4;
    }

    .tk-profile__body > #conta { grid-column: 2; grid-row: 1; }
    .tk-profile__body > #seguranca { grid-column: 2; grid-row: 2; }
    .tk-profile__body > #ajuda { grid-column: 2; grid-row: 3; }
    .tk-profile__body > #sair { grid-column: 2; grid-row: 4; }

    /* Hero: identidade à esquerda, chips à direita */
    .tk-profile--producer .tk-profile__hero {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        padding: 1.1rem 1.4rem 1.3rem;
    }

    .tk-profile--producer .tk-profile__hero-top { grid-column: 1 / -1; }

    .tk-profile--producer .tk-profile__hero-chips {
        justify-content: flex-end;
        align-self: center;
        max-width: 18rem;
    }
}

/* ════════════════════════════════════════════════════════════
   EDITOR DE EVENTO DO PRODUTOR — form em etapas + prévia ao vivo
   (tk-eform / tk-eform-preview / tk-epcard)
   ════════════════════════════════════════════════════════════ */

/* minmax(0,1fr) nas colunas: sem isso a track implícita é max-content e o
   frame da prévia (768/1140px) alargaria a página inteira no mobile. */
.tk-eform__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-items: start; }
.tk-eform__form { display: grid; gap: 1rem; }

/* ── Seções numeradas ── */
.tk-eform__section-head {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
}

.tk-eform__section-head > div { flex: 1; min-width: 0; }

.tk-eform__step {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 0.65rem;
    background: rgba(11, 35, 72, 0.08);
    color: #0b2348;
    font-size: 0.82rem;
    font-weight: 800;
}

/* ── Campos ── */
.tk-eform__fields { display: grid; gap: 0.75rem; }

.tk-eform__pair { display: grid; gap: 0.75rem; }

.tk-eform__field { display: grid; gap: 0.3rem; min-width: 0; }

.tk-eform__field > span {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #7c8aa3;
}

.tk-eform__field > span em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 600; color: #b0bccd; }

/* !important: reset de formulários do Tailwind CDN (seletores de atributo)
   empata em especificidade e carrega depois de app.css. */
.tk-eform__input {
    width: 100%;
    border: 1px solid rgba(217, 227, 239, 0.95) !important;
    border-radius: 0.8rem !important;
    background: #fbfdff !important;
    padding: 0.65rem 0.85rem !important;
    font-size: 0.9rem !important;
    font-weight: 600;
    color: #0b2348 !important;
    outline: none !important;
    transition: border-color 140ms ease, box-shadow 140ms ease;
}

textarea.tk-eform__input { font-weight: 500; resize: vertical; line-height: 1.5; }

.tk-eform__input:focus {
    border-color: rgba(11, 35, 72, 0.35) !important;
    box-shadow: 0 0 0 3px rgba(11, 35, 72, 0.08) !important;
}

.tk-eform__help { font-size: 0.74rem; color: #94a3b8; line-height: 1.45; }
.tk-eform__help--center { text-align: center; display: block; }

/* ── Uploads ── */
.tk-eform__uploads { display: grid; gap: 0.75rem; }

.tk-eform__upload {
    position: relative;
    display: flex;
    gap: 0.8rem;
    align-items: center;
    border: 1px dashed rgba(148, 163, 184, 0.55);
    border-radius: 1rem;
    padding: 0.7rem;
    cursor: pointer;
    transition: border-color 140ms ease, background-color 140ms ease;
}

.tk-eform__upload:hover { border-color: #214a86; background: rgba(33, 74, 134, 0.03); }

.tk-eform__upload img {
    flex: none;
    width: 8.5rem;
    height: 5rem;
    object-fit: cover;
    border-radius: 0.7rem;
    background: #eef2f7;
}

.tk-eform__upload-copy { display: grid; gap: 0.2rem; min-width: 0; }
.tk-eform__upload-copy strong { font-size: 0.88rem; font-weight: 800; color: #0b2348; }
.tk-eform__upload-copy small { font-size: 0.72rem; color: #94a3b8; line-height: 1.4; }

.tk-eform__upload-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.15rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: #214a86;
}

.tk-eform__upload input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

/* ── Envio ── */
.tk-eform__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    border: 0;
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #0b2348, #214a86);
    box-shadow: 0 12px 26px rgba(11, 35, 72, 0.28);
    cursor: pointer;
    transition: transform 130ms ease, box-shadow 130ms ease;
}

.tk-eform__submit:hover { transform: translateY(-1px); box-shadow: 0 16px 30px rgba(11, 35, 72, 0.34); }

/* ── Prévia do participante ── */
.tk-eform__side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-content: start; }

.tk-eform-preview__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}

.tk-eform-preview__devices {
    display: inline-flex;
    background: rgba(11, 35, 72, 0.05);
    border-radius: 0.7rem;
    padding: 0.2rem;
    gap: 0.15rem;
}

.tk-eform-preview__device {
    border: 0;
    background: transparent;
    border-radius: 0.55rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: background-color 130ms ease, color 130ms ease, box-shadow 130ms ease;
}

.tk-eform-preview__device.is-active {
    background: #fff;
    color: #0b2348;
    box-shadow: 0 4px 10px rgba(15, 40, 80, 0.12);
}

.tk-eform-preview__viewport {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    border-radius: 1rem;
    transition: height 180ms ease;
}

.tk-eform-preview__frame {
    transform-origin: top left;
    border-radius: 1rem;
    background: linear-gradient(180deg, #f2f6fb, #e9eef6);
    border: 1px solid rgba(217, 227, 239, 0.9);
    padding: 0 0.9rem 0.9rem;
}

.tk-eform-preview__chrome {
    display: flex;
    align-items: center;
    gap: 0.32rem;
    padding: 0.6rem 0.1rem;
}

.tk-eform-preview__chrome span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 9999px;
    background: rgba(148, 163, 184, 0.5);
}

.tk-eform-preview__chrome em {
    flex: 1;
    text-align: center;
    font-style: normal;
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 9999px;
    padding: 0.22rem 0.6rem;
}

/* ── Réplica da página do evento (o que abre no link compartilhado) ── */
.tk-eppage { display: grid; gap: 0.8rem; }

.tk-eppage__hero {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #dbe4ef;
}

[data-device="tablet"] .tk-eppage__hero { aspect-ratio: 16 / 9; }
[data-device="desktop"] .tk-eppage__hero { aspect-ratio: 21 / 9; }

.tk-eppage__hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.tk-eppage__hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(7, 22, 46, 0.42), rgba(7, 22, 46, 0.08) 26%, transparent 40%);
}

.tk-eppage__hero-top {
    position: absolute;
    inset-inline: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8rem;
}

.tk-eppage__pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.32rem 0.7rem;
}

.tk-eppage__heading { padding: 0 0.15rem; }

.tk-eppage__heading small {
    display: block;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #8a97ad;
}

.tk-eppage__heading strong {
    display: block;
    margin-top: 0.2rem;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0b2348;
}

[data-device="desktop"] .tk-eppage__heading strong { font-size: 1.7rem; }

.tk-eppage__heading p {
    margin-top: 0.25rem;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #64748b;
    max-width: 34rem;
}

/* Fatos: data / horário / local / avaliações */
.tk-eppage__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

[data-device="tablet"] .tk-eppage__facts,
[data-device="desktop"] .tk-eppage__facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.tk-eppage__fact {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    background: #fff;
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 0.85rem;
    padding: 0.6rem 0.7rem;
    color: #ee7d1d;
}

.tk-eppage__fact > div { min-width: 0; }
.tk-eppage__fact strong { display: block; font-size: 0.78rem; font-weight: 800; color: #0b2348; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-eppage__fact span { font-size: 0.64rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #94a3b8; }

/* Seletor de lotes */
.tk-eppage__tickets {
    background: #fff;
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 1rem;
    padding: 0.85rem;
    display: grid;
    gap: 0.55rem;
}

.tk-eppage__tickets-head small { display: block; font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; color: #ee7d1d; }
.tk-eppage__tickets-head strong { display: block; margin-top: 0.15rem; font-size: 1rem; font-weight: 800; color: #0b2348; }

.tk-eppage__lot {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0.7rem;
    border: 1px solid rgba(217, 227, 239, 0.95);
    border-radius: 0.85rem;
    padding: 0.7rem 0.8rem;
}

.tk-eppage__lot-body { min-width: 0; flex: 1; }

.tk-eppage__lot-pill {
    display: inline-flex;
    border-radius: 9999px;
    background: rgba(33, 74, 134, 0.09);
    color: #34507f;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.55rem;
}

.tk-eppage__lot-body strong { display: block; margin-top: 0.3rem; font-size: 0.88rem; font-weight: 800; color: #0b2348; }
.tk-eppage__lot-body p { margin-top: 0.15rem; font-size: 0.74rem; line-height: 1.4; color: #64748b; }

.tk-eppage__lot-side { flex: none; display: grid; justify-items: end; align-content: center; gap: 0.2rem; text-align: right; }
.tk-eppage__lot-side > strong { font-size: 0.95rem; font-weight: 800; color: #0b2348; white-space: nowrap; }
.tk-eppage__lot-side > span { font-size: 0.66rem; color: #94a3b8; white-space: nowrap; }

.tk-eppage__stepper {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.15rem;
    border: 1px solid rgba(217, 227, 239, 0.95);
    border-radius: 9999px;
    padding: 0.22rem 0.6rem;
}

.tk-eppage__stepper em { font-style: normal; font-weight: 800; color: #214a86; font-size: 0.85rem; line-height: 1; }
.tk-eppage__stepper b { font-size: 0.78rem; font-weight: 800; color: #0b2348; }

.tk-eppage__more { font-size: 0.72rem; color: #94a3b8; text-align: center; }

.tk-eppage__lot--ghost { border-style: dashed; }
.tk-eppage__lot--ghost .tk-eppage__lot-body,
.tk-eppage__lot--ghost .tk-eppage__lot-side { display: grid; gap: 0.35rem; align-content: center; }

.tk-eppage__skeleton {
    display: block;
    height: 0.6rem;
    border-radius: 9999px;
    background: #e4eaf2;
}

/* Sobre o evento */
.tk-eppage__about {
    background: #fff;
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 1rem;
    padding: 0.85rem;
}

.tk-eppage__about strong { display: block; font-size: 0.92rem; font-weight: 800; color: #0b2348; }
.tk-eppage__about p { margin-top: 0.35rem; font-size: 0.78rem; line-height: 1.55; color: #64748b; }

/* No desktop a página tem respiro lateral, como o site real */
[data-device="desktop"] .tk-eppage { padding-inline: 3rem; }
[data-device="tablet"] .tk-eppage { padding-inline: 1.2rem; }

/* ── Link de venda ── */
.tk-eform-preview__link {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.8rem;
    background: rgba(11, 35, 72, 0.05);
    color: #64748b;
}

.tk-eform-preview__url {
    flex: 1;
    min-width: 0;
    font-size: 0.76rem;
    font-weight: 600;
    color: #214a86;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.tk-eform-preview__copy {
    flex: none;
    border: 0;
    border-radius: 9999px;
    background: #0b2348;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.35rem 0.75rem;
    cursor: pointer;
}

/* ── Lotes ── */
.tk-eform__lots { margin-top: 0; }

.tk-eform__locked-note {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    padding: 0.85rem 0.95rem;
    border-radius: 0.9rem;
    background: rgba(11, 35, 72, 0.045);
    color: #64748b;
}

.tk-eform__locked-note strong { display: block; font-size: 0.85rem; color: #0b2348; }
.tk-eform__locked-note span { font-size: 0.78rem; line-height: 1.45; }

/* ── Responsivo ── */
@media (min-width: 640px) {
    .tk-eform__pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tk-eform__pair .tk-eform__field--narrow { max-width: 100%; }
    .tk-eform__uploads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tk-eform__upload { flex-direction: column; align-items: stretch; }
    .tk-eform__upload img { width: 100%; height: 7rem; }
}

@media (min-width: 1100px) {
    .tk-eform__layout { grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); }

    .tk-eform__side {
        position: sticky;
        top: 0.8rem;
    }
}

/* ── Página do evento: hero mais alto no celular, mesma proporção 4:5 da
      prévia do editor de eventos (pedido de 01/07/2026). Bloco aditivo no fim
      do arquivo pra vencer os min-heights menores definidos acima. ── */
@media (max-width: 768px) {
    .participant-event-hero {
        aspect-ratio: 4 / 5;
        min-height: 0;
        max-height: 38rem;
    }
}

/* ════════════════════════════════════════════════════════════
   EDITOR DE EVENTO v2 — wizard passo a passo + lotes recolhidos
   + prévia como sheet no mobile (tk-wiz / tk-lot)
   ════════════════════════════════════════════════════════════ */

/* ── Cabeçalho do wizard ── */
.tk-wiz {
    display: grid;
    gap: 0.55rem;
    background: #fff;
    border: 1px solid rgba(217, 227, 239, 0.9);
    border-radius: 1.1rem;
    padding: 0.85rem 1rem;
    box-shadow: 0 10px 24px rgba(15, 40, 80, 0.05);
    margin-bottom: 1rem;
    scroll-margin-top: 0.8rem;
}

.tk-wiz__meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.6rem;
}

.tk-wiz__meta strong { font-size: 1rem; font-weight: 800; color: #0b2348; }
.tk-wiz__meta span { font-size: 0.72rem; font-weight: 700; color: #94a3b8; white-space: nowrap; }

.tk-wiz__bar {
    height: 0.4rem;
    border-radius: 9999px;
    background: rgba(226, 234, 244, 0.9);
    overflow: hidden;
}

.tk-wiz__bar span {
    display: block;
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #ee7d1d, #f79a45);
    transition: width 220ms ease;
}

.tk-wiz__dots { display: flex; gap: 0.35rem; }

.tk-wiz__dot {
    flex: 1;
    height: 0.5rem;
    border: 0;
    border-radius: 9999px;
    background: rgba(148, 163, 184, 0.28);
    cursor: pointer;
    transition: background-color 140ms ease;
    padding: 0;
}

.tk-wiz__dot.is-done { background: rgba(238, 125, 29, 0.45); }
.tk-wiz__dot.is-active { background: #ee7d1d; }

/* Etapas: escondidas via classe hidden (Tailwind), rede de segurança aqui */
.tk-eform__section.hidden { display: none; }

/* ── Rodapé Voltar / Continuar ── */
.tk-wiz__footer {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.2rem;
}

.tk-wiz__back {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid rgba(217, 227, 239, 0.95);
    border-radius: 0.9rem;
    background: #fff;
    color: #0b2348;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.8rem 1.1rem;
    cursor: pointer;
}

.tk-wiz__back:disabled { opacity: 0.4; cursor: not-allowed; }

.tk-wiz__next {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border: 0;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #0b2348, #214a86);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 0.85rem 1rem;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(11, 35, 72, 0.28);
    transition: transform 130ms ease;
}

.tk-wiz__next:hover { transform: translateY(-1px); }
.tk-wiz__next.is-submit { background: linear-gradient(135deg, #ee7d1d, #f79a45); box-shadow: 0 12px 26px rgba(238, 125, 29, 0.35); }

/* ── Botão flutuante "Ver prévia" (só mobile) ── */
.tk-eform__preview-fab {
    position: fixed;
    right: 1rem;
    bottom: calc(6.5rem + env(safe-area-inset-bottom));
    z-index: 45;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 0;
    border-radius: 9999px;
    background: #0b2348;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.7rem 1.05rem;
    cursor: pointer;
    box-shadow: 0 14px 30px rgba(11, 35, 72, 0.38);
}

/* ── Prévia como sheet no mobile ── */
body.tk-eform-body--locked { overflow: hidden; }

@media (max-width: 1099px) {
    .tk-eform__side { display: none; }

    .tk-eform__side.is-open {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 60;
        overflow-y: auto;
        padding: 2.2rem 0.8rem calc(2rem + env(safe-area-inset-bottom));
    }

    .tk-eform__side-backdrop {
        position: fixed;
        inset: 0;
        border: 0;
        background: rgba(11, 35, 72, 0.5);
        backdrop-filter: blur(2px);
        cursor: pointer;
    }

    .tk-eform__side.is-open > .tk-card,
    .tk-eform__side.is-open > section {
        position: relative;
        z-index: 1;
        margin-bottom: 0.8rem;
    }
}

.tk-eform-preview__close {
    display: none;
    flex: none;
    align-items: center;
    justify-content: center;
    width: 2.1rem;
    height: 2.1rem;
    border: 0;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.07);
    color: #0b2348;
    cursor: pointer;
}

@media (max-width: 1099px) {
    .tk-eform-preview__close { display: inline-flex; }
}

@media (min-width: 1100px) {
    .tk-eform__preview-fab { display: none; }
    .tk-eform__side-backdrop { display: none; }
    .tk-wiz__footer { justify-content: flex-end; }
    .tk-wiz__next { flex: 0 0 auto; min-width: 14rem; }
}

/* ── Lotes recolhidos (tk-lot) ── */
.tk-lot__list { display: grid; gap: 0.6rem; margin-top: 1rem; }

.tk-lot {
    border: 1px solid rgba(217, 227, 239, 0.95);
    border-radius: 1rem;
    background: #fff;
    overflow: hidden;
}

.tk-lot summary { list-style: none; cursor: pointer; }
.tk-lot summary::-webkit-details-marker { display: none; }

.tk-lot__summary {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.85rem 0.95rem;
    transition: background-color 130ms ease;
}

.tk-lot__summary:hover { background: rgba(11, 35, 72, 0.02); }

.tk-lot__id { flex: 1; min-width: 0; display: grid; gap: 0.12rem; }

.tk-lot__pill {
    justify-self: start;
    display: inline-flex;
    border-radius: 9999px;
    background: rgba(238, 125, 29, 0.1);
    color: #c9700f;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.18rem 0.5rem;
}

.tk-lot__id strong { font-size: 0.92rem; font-weight: 800; color: #0b2348; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-lot__id small { font-size: 0.72rem; color: #94a3b8; }

.tk-lot__side { flex: none; display: grid; gap: 0.25rem; justify-items: end; }
.tk-lot__side > strong { font-size: 0.95rem; font-weight: 800; color: #0b2348; white-space: nowrap; }

.tk-lot__chevron {
    flex: none;
    width: 0.5rem;
    height: 0.5rem;
    border-right: 2px solid #94a3b8;
    border-bottom: 2px solid #94a3b8;
    transform: rotate(45deg);
    transition: transform 160ms ease;
}

.tk-lot[open] > summary .tk-lot__chevron { transform: rotate(-135deg); }

.tk-lot__body {
    border-top: 1px solid rgba(226, 234, 244, 0.85);
    padding: 0.9rem 0.95rem 1rem;
}

.tk-lot__form { display: grid; gap: 0.7rem; }

.tk-lot__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
}

.tk-lot__meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.tk-lot__highlight {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0b2348;
    cursor: pointer;
}

.tk-lot__highlight input { width: 1.05rem; height: 1.05rem; accent-color: #ee7d1d; }

.tk-lot__fee { font-size: 0.74rem; color: #94a3b8; }

.tk-lot__actions { display: flex; justify-content: flex-end; }

.tk-lot__save {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: 0;
    border-radius: 0.8rem;
    background: #0b2348;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 0.7rem 1.2rem;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(11, 35, 72, 0.22);
    width: 100%;
}

.tk-lot__save--add { background: linear-gradient(135deg, #ee7d1d, #f79a45); box-shadow: 0 10px 22px rgba(238, 125, 29, 0.3); }

.tk-lot__delete-form { display: flex; justify-content: center; margin-top: 0.6rem; }

.tk-lot__delete {
    border: 0;
    background: transparent;
    color: #c8313f;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
}

.tk-lot--add {
    border-style: dashed;
    border-color: rgba(238, 125, 29, 0.45);
    background: rgba(238, 125, 29, 0.03);
}

.tk-lot__add-icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 0.75rem;
    background: rgba(238, 125, 29, 0.12);
    color: #ee7d1d;
}

@media (min-width: 900px) {
    .tk-lot__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .tk-lot__save { width: auto; }
}

/* Datas do lote: linha inteira em telas estreitas (datetime-local não cabe em meia coluna) */
@media (max-width: 560px) {
    .tk-lot__grid .tk-eform__field:has(input[type="datetime-local"]) { grid-column: 1 / -1; }
}

/* ── Estoque de lote legível: fatos rotulados em vez de "240/301" ── */

/* Card de Eventos: Vendidos · Restantes · Total */
.tk-lotstats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    margin: 0.15rem 0 0.2rem;
}

.tk-lotstats__item {
    display: grid;
    gap: 0.05rem;
    background: rgba(33, 74, 134, 0.05);
    border-radius: 0.6rem;
    padding: 0.4rem 0.55rem;
}

.tk-lotstats__item small {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
}

.tk-lotstats__item strong {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0b2348;
    font-variant-numeric: tabular-nums;
}

.tk-lotstats__item.is-warn { background: rgba(238, 125, 29, 0.1); }
.tk-lotstats__item.is-warn strong { color: #c9700f; }
.tk-lotstats__item.is-bad { background: rgba(220, 44, 62, 0.09); }
.tk-lotstats__item.is-bad strong { color: #c8313f; }

/* Form do lote: bloco de estoque com adição direta */
.tk-lot__stock {
    grid-column: 1 / -1;
    border: 1px solid rgba(217, 227, 239, 0.95);
    border-radius: 0.9rem;
    padding: 0.7rem 0.8rem;
    background: rgba(33, 74, 134, 0.025);
    display: grid;
    gap: 0.55rem;
}

.tk-lot__stock-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
}

.tk-lot__stock-fact {
    display: grid;
    gap: 0.05rem;
    background: #fff;
    border: 1px solid rgba(217, 227, 239, 0.85);
    border-radius: 0.7rem;
    padding: 0.45rem 0.6rem;
}

.tk-lot__stock-fact small { font-size: 0.62rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #94a3b8; }
.tk-lot__stock-fact strong { font-size: 1rem; font-weight: 800; color: #0b2348; font-variant-numeric: tabular-nums; }
.tk-lot__stock-fact.is-live strong { color: #138a55; }

.tk-lot__stock-add {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tk-lot__stock-add small { font-size: 0.74rem; font-weight: 700; color: #64748b; }

.tk-lot__stock-add button {
    border: 1px solid rgba(33, 74, 134, 0.25);
    border-radius: 9999px;
    background: #fff;
    color: #214a86;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.35rem 0.8rem;
    cursor: pointer;
    transition: background-color 130ms ease, transform 130ms ease;
}

.tk-lot__stock-add button:hover { background: rgba(33, 74, 134, 0.07); transform: translateY(-1px); }

.tk-lot__stock-note {
    font-size: 0.76rem;
    font-weight: 600;
    color: #138a55;
    background: rgba(22, 161, 99, 0.08);
    border-radius: 0.6rem;
    padding: 0.45rem 0.6rem;
    line-height: 1.4;
}

/* ── Card de evento: métricas com cor por natureza + respiro no mobile ── */
.tk-metric--icon .tk-metric__label { display: inline-flex; align-items: center; gap: 0.28rem; }
.tk-metric__hint { font-size: 0.66rem; color: #94a3b8; }

.tk-metric.is-money { background: rgba(22, 161, 99, 0.08); }
.tk-metric.is-money .tk-metric__value { color: #138a55; }
.tk-metric.is-money .tk-metric__label { color: #138a55; }

.tk-metric.is-blue { background: rgba(33, 74, 134, 0.07); }
.tk-metric.is-blue .tk-metric__value { color: #214a86; }
.tk-metric.is-blue .tk-metric__label { color: #34507f; }

.tk-metric.is-checkin { background: rgba(238, 125, 29, 0.08); }
.tk-metric.is-checkin .tk-metric__value { color: #c9700f; }
.tk-metric.is-checkin .tk-metric__label { color: #c9700f; }

/* 4 colunas só quando cabe de verdade (antes virava R$ espremido em 480px) */
@media (min-width: 480px) and (max-width: 719px) {
    .tk-event__metrics { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* ── Ação rápida do lote (Encerrar venda / Reativar) ── */
.tk-lot-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.tk-lot-actions__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    border: 1px solid rgba(33, 74, 134, 0.25);
    border-radius: 9999px;
    background: #fff;
    color: #214a86;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.3rem 0.7rem;
    cursor: pointer;
    transition: background-color 130ms ease;
}

.tk-lot-actions__btn:hover { background: rgba(33, 74, 134, 0.06); }

.tk-lot-actions__btn.is-close {
    border-color: rgba(220, 44, 62, 0.3);
    color: #c8313f;
}

.tk-lot-actions__btn.is-close:hover { background: rgba(220, 44, 62, 0.06); }

/* ── Encerrar evento: ação destrutiva em vermelho ── */
.tk-btn--danger {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(220, 44, 62, 0.08);
    color: #c8313f;
    border: 1px solid rgba(220, 44, 62, 0.35);
}

.tk-btn--danger:hover { background: rgba(220, 44, 62, 0.14); }

/* ── Card da vitrine: evento encerrado continua visível, com selo ── */
.event-card--closed .event-card__img { filter: grayscale(0.55) brightness(0.92); }

.event-card__closed-flag {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.85);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.64rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.32rem 0.7rem;
}

.event-card__closed-note {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.3;
    color: #94a3b8;
    text-align: right;
}

.event-card__buy--closed {
    background: rgba(148, 163, 184, 0.18);
    color: #64748b;
    cursor: not-allowed;
}

/* ── Card do evento: clique no card inteiro (link esticado) ── */
.event-card { position: relative; }

.event-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}

/* Ações internas continuam clicáveis por cima do link esticado */
.event-card__details,
.event-card__buy {
    position: relative;
    z-index: 2;
}

/* ── Local e acesso: mapa embutido clicável ── */
.participant-event-info-card--map {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
}

.participant-event-map-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.participant-event-map-head small { display: block; }

/* Especificidade 0,2,1 pra vencer o `.participant-event-info-card--map a`
   legado (pill navy com radius 9999px) que pintava o mapa como uma elipse. */
.participant-event-info-card--map a.participant-event-map {
    position: relative;
    display: block;
    flex: none;
    width: 100%;
    border-radius: 1.1rem;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #e6ecf4;
    color: inherit;
    padding: 0;
    box-shadow: inset 0 0 0 1px rgba(15, 40, 80, 0.08);
}

.participant-event-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    pointer-events: none; /* o clique é do link, não do embed */
}

.participant-event-map__shield {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.participant-event-map__cta {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.92);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.45rem 0.85rem;
    box-shadow: 0 10px 22px rgba(11, 35, 72, 0.35);
    transition: transform 130ms ease;
}

.participant-event-map:hover .participant-event-map__cta { transform: translateY(-1px); }

@media (max-width: 640px) {
    .participant-event-map { aspect-ratio: 4 / 3; }
}

/* Fallback estilizado do mapa: fica POR BAIXO do iframe — se o embed do
   Google carregar, cobre; se for bloqueado, o cartão-mapa aparece no lugar. */
.participant-event-map__decor {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    background:
        linear-gradient(rgba(33, 74, 134, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(33, 74, 134, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 30% 20%, rgba(79, 141, 255, 0.1), transparent 40%),
        radial-gradient(circle at 75% 80%, rgba(22, 161, 99, 0.08), transparent 45%),
        #eef3f9;
    background-size: 28px 28px, 28px 28px, auto, auto, auto;
    color: #0b2348;
}

.participant-event-map__decor strong {
    font-size: 0.85rem;
    font-weight: 800;
    max-width: 80%;
    text-align: center;
}

.participant-event-map__pin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 9999px;
    background: #ee7d1d;
    color: #fff;
    box-shadow: 0 10px 22px rgba(238, 125, 29, 0.4);
}

.participant-event-map iframe { z-index: 1; }
.participant-event-map__shield { z-index: 2; }
.participant-event-map__cta { z-index: 3; }

/* ── Página do evento: "Sobre o evento" e Lineup — editorial elegante ── */

/* Sobre o evento: tipografia maior, respiro, destaques em linha discreta */
.participant-event-about__text {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #46536b;
    max-width: 60ch;
}

.participant-event-about__perks {
    margin-top: 1.1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(217, 227, 239, 0.8);
    font-size: 0.86rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    color: #8a97ad;
}

/* Lineup: nomes grandes em Sora, linhas finas, headliner só pela escala */
.participant-event-billing__list {
    margin-top: 0.35rem;
    display: grid;
}

.participant-event-billing__row {
    list-style: none;
    padding: 0.95rem 0;
    font-family: 'Sora', sans-serif;
    font-size: 1.18rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: #14294e;
    line-height: 1.25;
}

.participant-event-billing__row + .participant-event-billing__row {
    border-top: 1px solid rgba(217, 227, 239, 0.75);
}

.participant-event-billing__row.is-headliner {
    font-size: 1.65rem;
    font-weight: 700;
    color: #0b2348;
}

@media (min-width: 900px) {
    .participant-event-billing__row { font-size: 1.3rem; }
    .participant-event-billing__row.is-headliner { font-size: 1.95rem; }
}

/* ── Hero limpo: a arte do evento sem texto por cima (padrão bilheteria) ──
   Nome/produtora/descrição moram no bloco abaixo da imagem; sobre a arte
   ficam só os pills foscos (categoria + salvar), com um véu leve no topo. */
.participant-event-hero__overlay {
    background: linear-gradient(to bottom, rgba(7, 22, 46, 0.42), rgba(7, 22, 46, 0.08) 26%, transparent 40%);
}

@media (max-width: 768px) {
    .participant-event-hero {
        aspect-ratio: 1 / 1; /* um pouco mais baixa agora que o texto saiu */
    }
}

.participant-event-heading {
    display: grid;
    gap: 0.35rem;
    padding: 0 0.35rem;
    margin-top: -0.35rem;
}

.participant-event-heading__producer {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #8a97ad;
}

.participant-event-heading h1 {
    font-family: 'Sora', sans-serif;
    font-size: clamp(1.6rem, 5.4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: #0b2348;
}

.participant-event-heading__sub {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #64748b;
    max-width: 56ch;
}

/* ── Eventos com várias datas: seletor de dias + sessão no lote ── */
.participant-ticket-days {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    padding: 0.15rem 0.15rem 0.55rem;
    scrollbar-width: none;
}

/* Centraliza as folhinhas quando sobra espaço; com muitas datas o
   margin:auto colapsa e o scroll horizontal continua correto. */
.participant-ticket-day:first-child { margin-left: auto; }
.participant-ticket-day:last-child { margin-right: auto; }

.participant-ticket-days::-webkit-scrollbar { display: none; }

/* Folhinha de calendário leve: tira do mês suave, dia grande, semana */
.participant-ticket-day {
    flex: none;
    display: grid;
    justify-items: stretch;
    min-width: 4.2rem;
    border: 1px solid rgba(217, 227, 239, 0.85);
    border-radius: 0.85rem;
    background: #fff;
    padding: 0;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 140ms ease;
}

.participant-ticket-day:hover { border-color: rgba(148, 163, 184, 0.6); }

.participant-ticket-day__strip {
    display: block;
    background: rgba(33, 74, 134, 0.06);
    color: #7c8aa3;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    text-align: center;
    padding: 0.3rem 0.5rem;
    transition: background-color 140ms ease, color 140ms ease;
}

.participant-ticket-day__num {
    display: block;
    text-align: center;
    font-family: 'Sora', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    color: #14294e;
    padding: 0.42rem 0.5rem 0.12rem;
    font-variant-numeric: tabular-nums;
}

.participant-ticket-day__week {
    display: block;
    text-align: center;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #a6b2c4;
    padding: 0 0.5rem 0.45rem;
}

.participant-ticket-day.is-active { border-color: #ee7d1d; }
.participant-ticket-day.is-active .participant-ticket-day__strip { background: #ee7d1d; color: #fff; }
.participant-ticket-day.is-active .participant-ticket-day__num { color: #c9700f; }

.participant-ticket-choice__session {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #ee7d1d;
    margin-bottom: 0.25rem;
}

.participant-ticket-choice.is-session-hidden { display: none; }

/* ── Fatos do evento v2: grade editorial com fios finos (sem fundo cinza) ──
   Rótulo em cima, valor embaixo, alinhamento único à esquerda. O markup é
   icon + div(strong,span); o column-reverse põe o rótulo acima do valor. */
.participant-event-fact {
    justify-content: flex-start;
    align-items: flex-start;
    background: transparent;
    border-radius: 0;
    gap: 0.6rem;
}

.participant-event-fact > div {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.18rem;
    min-width: 0;
}

.participant-event-fact span {
    font-size: 0.66rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9aa7bc;
}

.participant-event-fact strong {
    font-size: 0.98rem;
    font-weight: 700;
    color: #14294e;
    line-height: 1.3;
}

/* Fios finos entre as células (desktop: 4 colunas lado a lado) */
.participant-event-facts { gap: 0; }
.participant-event-fact + .participant-event-fact { border-left: 1px solid rgba(217, 227, 239, 0.8); }

@media (max-width: 900px) {
    /* 2×2: fio vertical só na 2ª coluna, fio horizontal a partir da 2ª linha */
    .participant-event-fact + .participant-event-fact { border-left: 0; }
    .participant-event-fact:nth-child(even) { border-left: 1px solid rgba(217, 227, 239, 0.8); }
    .participant-event-fact:nth-child(n+3) { border-top: 1px solid rgba(217, 227, 239, 0.8); }
}

/* ── Folhinhas de data: mais ar + comportamento de slide com muitas datas ── */
.participant-ticket-days {
    gap: 1.1rem;
    scroll-snap-type: x proximity;
    padding-bottom: 0.65rem;
}

.participant-ticket-day { scroll-snap-align: center; }

/* ════════════════════════════════════════════════════════════
   CARD DE EVENTO v2 — formato bilhete, igual à carteira de ingressos
   (pôster + picote com recortes + canhoto). Substitui o layout antigo.
   ════════════════════════════════════════════════════════════ */
.event-card.event-card--stub {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    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);
    transition: transform 180ms ease, box-shadow 180ms ease;
}

.event-card--stub:hover { transform: translateY(-2px); box-shadow: 0 22px 46px rgba(15, 23, 42, 0.12); }

/* Pôster protagonista: a arte do evento domina o bilhete (proporção fixa,
   cresce junto com a largura do card) */
.event-card--stub .event-card__poster {
    position: relative;
    aspect-ratio: 5 / 4;
    background: #0b2348;
}

.event-card--stub .event-card__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card--stub .event-card__category {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    display: inline-flex;
    border-radius: 9999px;
    background: rgba(11, 35, 72, 0.55);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    padding: 0.32rem 0.7rem;
}

.event-card--stub .event-card__closed-flag { top: 0.8rem; right: 0.8rem; left: auto; }

/* Picote com recortes laterais (mesma linguagem da carteira) */
.event-card__perforation {
    position: relative;
    height: 1.4rem;
    flex: none;
    background-image: repeating-linear-gradient(90deg, #c7d2e2 0 6px, transparent 6px 13px);
    background-size: calc(100% - 1.6rem) 2px;
    background-position: center;
    background-repeat: no-repeat;
}

.event-card__perforation::before,
.event-card__perforation::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 9999px;
    background: #eef2f8;
    border: 1px solid rgba(217, 227, 239, 0.94);
    transform: translateY(-50%);
}

.event-card__perforation::before { left: -0.75rem; }
.event-card__perforation::after { right: -0.75rem; }

/* Canhoto */
.event-card--stub .event-card__stub {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    padding: 0.35rem 1.1rem 1.05rem;
    flex: 1;
}

.event-card--stub .event-card__title {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0b2348;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.event-card--stub .event-card__meta {
    display: grid;
    gap: 0.35rem;
}

.event-card--stub .event-card__meta > div {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #ee7d1d;
    min-width: 0;
}

.event-card--stub .event-card__meta dd {
    font-size: 0.8rem;
    font-weight: 600;
    color: #46536b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Rodapé: preço + comprar */
.event-card--stub .event-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    border-top: 1px solid rgba(217, 227, 239, 0.75);
    padding-top: 0.75rem;
}

.event-card--stub .event-card__price { display: grid; gap: 0.05rem; min-width: 0; }
.event-card--stub .event-card__price small {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
}
.event-card--stub .event-card__price strong {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0b2348;
    white-space: nowrap;
}

.event-card--stub .event-card__price--closed {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.event-card--stub .event-card__buy {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 9999px;
    background: #0b2348;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.55rem 1.1rem;
    text-decoration: none;
    position: relative;
    z-index: 2;
    transition: background-color 140ms ease;
}

.event-card--stub .event-card__buy:hover { background: #214a86; }

.event-card--stub .event-card__buy--closed {
    background: rgba(148, 163, 184, 0.18);
    color: #64748b;
    cursor: not-allowed;
}

.event-card--stub.event-card--closed .event-card__img { filter: grayscale(0.55) brightness(0.92); }

/* ── Bilhetes da vitrine: profundidade, cor e movimento (papel 3D) ── */

/* O transform é composto por variáveis: cada efeito (hover, tilt do cursor,
   leque do rail, cascata, rasgo) mexe só na sua variável e todos convivem. */
.event-card.event-card--stub {
    transform:
        perspective(68rem)
        translateY(var(--card-y, 0px))
        rotateX(var(--rx, 0deg))
        rotateY(var(--ry, 0deg))
        scale(var(--card-s, 1));
    transition:
        transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1),
        box-shadow 260ms ease,
        opacity 420ms ease;
    will-change: transform;
    box-shadow:
        0 1px 2px rgba(11, 35, 72, 0.06),
        0 10px 24px rgba(11, 35, 72, 0.08),
        0 24px 48px rgba(11, 35, 72, 0.07);
}

.event-card--stub:hover {
    --card-y: -4px;
    box-shadow:
        0 2px 4px rgba(11, 35, 72, 0.06),
        0 16px 32px rgba(11, 35, 72, 0.12),
        0 32px 64px rgba(11, 35, 72, 0.1),
        0 0 0 2px rgba(238, 125, 29, 0.22);
}

.event-card--stub:active { --card-y: -1px; --card-s: 0.99; }

/* Enquanto o cursor está em cima, o papel responde na hora */
.event-card--stub.is-tilting { transition: transform 90ms linear, box-shadow 260ms ease; }

/* Brilho de papel acompanhando o cursor */
.event-card--stub::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 300ms ease;
    background: radial-gradient(
        22rem circle at var(--gx, 50%) var(--gy, 25%),
        rgba(255, 255, 255, 0.5),
        rgba(255, 255, 255, 0) 62%
    );
    mix-blend-mode: soft-light;
}

.event-card--stub.is-tilting::after { opacity: 1; }

/* Pôster com vida: zoom sutil + véu de profundidade na base.
   O raio fica no próprio pôster, em camada própria: durante o tilt/zoom o
   clip arredondado do card cai pra retangular e o topo da imagem sai reto. */
.event-card--stub .event-card__poster {
    overflow: hidden;
    border-radius: 2rem 2rem 0 0;
    transform: translateZ(0);
}

.event-card--stub .event-card__img {
    transition: transform 450ms cubic-bezier(0.2, 0.6, 0.2, 1);
}

.event-card--stub:hover .event-card__img { transform: scale(1.05); }

.event-card--stub .event-card__poster::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 34%;
    background: linear-gradient(to top, rgba(11, 35, 72, 0.28), transparent);
    pointer-events: none;
}

/* Aderência de cor: Comprar no laranja da marca, seta que avança */
.event-card--stub .event-card__buy {
    background: linear-gradient(135deg, #ee7d1d, #f79a45);
    box-shadow: 0 8px 18px rgba(238, 125, 29, 0.32);
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.event-card--stub .event-card__buy:hover {
    background: linear-gradient(135deg, #e2740f, #f08c2c);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(238, 125, 29, 0.4);
}

.event-card--stub .event-card__buy svg { transition: transform 160ms ease; }
.event-card--stub .event-card__buy:hover svg { transform: translateX(3px); }

.event-card--stub .event-card__buy--closed {
    background: rgba(148, 163, 184, 0.18);
    box-shadow: none;
}

/* Movimento: entrada em cascata ao rolar (JS marca as classes e depois limpa) */
.event-card--stub.is-prereveal {
    opacity: 0;
    --card-y: 18px;
    --rx: 4deg;
}

.event-card--stub.is-revealed {
    opacity: 1;
    --card-y: 0px;
    --rx: 0deg;
    transition:
        opacity 520ms cubic-bezier(0.2, 0.6, 0.2, 1),
        transform 520ms cubic-bezier(0.2, 0.6, 0.2, 1),
        box-shadow 180ms ease;
    transition-delay: var(--reveal-delay, 0ms), var(--reveal-delay, 0ms), 0ms;
}

/* Rasgo no picote ao abrir o ingresso: o bilhete levanta e o canhoto
   dobra pra trás na linha pontilhada, que acende em laranja. */
.event-card--stub .event-card__stub {
    transform-origin: 50% 0;
    transition: transform 360ms cubic-bezier(0.3, 0.75, 0.2, 1);
}

.event-card--stub.is-opening {
    --card-y: -12px;
    --rx: 6deg;
    --card-s: 1.03;
    z-index: 5;
    transition: transform 360ms cubic-bezier(0.24, 0.8, 0.25, 1), box-shadow 360ms ease;
    box-shadow:
        0 3px 6px rgba(11, 35, 72, 0.07),
        0 22px 44px rgba(11, 35, 72, 0.16),
        0 44px 80px rgba(11, 35, 72, 0.14),
        0 0 0 2px rgba(238, 125, 29, 0.35);
}

.event-card--stub.is-opening .event-card__stub {
    transform: perspective(50rem) rotateX(-16deg);
}

.event-card--stub.is-opening .event-card__perforation {
    background-image: repeating-linear-gradient(90deg, #ee7d1d 0 6px, transparent 6px 13px);
}

@media (prefers-reduced-motion: reduce) {
    .event-card.event-card--stub { transform: none; }
    .event-card--stub.is-prereveal { opacity: 1; }
    .event-card--stub::after { display: none; }
    .event-card--stub.is-opening .event-card__stub { transform: none; }
    .event-card--stub,
    .event-card--stub .event-card__img,
    .event-card--stub .event-card__stub,
    .event-card--stub .event-card__buy { transition: none; }
}


/* ════════════════════════════════════════════════════════════
   MARCA VIVA — splash pós-login: a logo se monta peça por peça
   (PNGs reais da marca; letras sobem, canhotos chegam voando)
   ════════════════════════════════════════════════════════════ */
.brand-splash {
    position: fixed;
    inset: 0;
    z-index: 160;
    display: grid;
    place-items: center;
    background:
        radial-gradient(60rem 40rem at 80% -10%, rgba(238, 125, 29, 0.08), transparent 60%),
        radial-gradient(50rem 36rem at 12% 110%, rgba(11, 35, 72, 0.08), transparent 55%),
        #f6f9fc;
    /* Sem JS o splash se recolhe sozinho */
    animation: brand-splash-off 520ms ease 3.4s forwards;
}

.brand-splash.is-leaving { animation: brand-splash-off 460ms cubic-bezier(0.4, 0, 0.2, 1) forwards; }

@keyframes brand-splash-off {
    to {
        opacity: 0;
        transform: translateY(-2.5rem);
        visibility: hidden;
    }
}

.brand-splash__stage {
    display: grid;
    justify-items: center;
    gap: 1.6rem;
    padding: 1rem;
}

.brand-splash__assembly { width: min(21rem, 74vw); }

.brand-splash__slogan {
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #8291a9;
    opacity: 0;
    animation: brand-splash-breathe 1150ms cubic-bezier(0.22, 0.61, 0.36, 1) 1500ms forwards;
}

.brand-splash__slogan strong { color: #f08c2c; font-weight: 600; }

/* O texto "assenta": entra quase parado, só clareando e juntando as letras */
@keyframes brand-splash-breathe {
    from {
        opacity: 0;
        transform: translateY(0.3rem);
        letter-spacing: 0.14em;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 0.05em;
    }
}

/* Montagem da logo por peças (componente brand-assembly) */
.brand-assembly {
    position: relative;
    aspect-ratio: 470 / 159;
    width: 100%;
}

.brand-assembly__piece {
    position: absolute;
    display: block;
    height: auto;
}

.brand-assembly--play .brand-assembly__piece {
    opacity: 0;
    animation: brand-piece-connect 620ms cubic-bezier(0.2, 0.85, 0.25, 1.14) var(--pc-delay, 0ms) forwards;
}

@keyframes brand-piece-connect {
    from {
        opacity: 0;
        transform: translate(var(--pc-dx, 0%), var(--pc-dy, 120%)) rotate(var(--pc-rot, 0deg));
    }
    55% { opacity: 1; }
    to {
        opacity: 1;
        transform: translate(0, 0) rotate(0deg);
    }
}

/* Assentada final: a marca inteira dá uma leve pulsada quando conecta */
.brand-assembly--play {
    animation: brand-assembly-snap 300ms cubic-bezier(0.3, 0.7, 0.3, 1.3) 1560ms both;
}

@keyframes brand-assembly-snap {
    0% { transform: scale(1); }
    45% { transform: scale(1.025); }
    100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .brand-splash { animation-delay: 0.9s; }
    .brand-splash__slogan { animation: none; opacity: 1; transform: none; }
    .brand-assembly--play { animation: none; }
    .brand-assembly--play .brand-assembly__piece {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* ════════════════════════════════════════════════════════════
   PAINEL ADMIN — extensões ao sistema tk-dash (tons que faltavam
   pra leitura executiva: vermelho de urgência, cinza neutro)
   ════════════════════════════════════════════════════════════ */
.tk-kpi--red::before { background: #c8313f; }
.tk-kpi--red .tk-kpi__icon { color: #c8313f; background: rgba(200, 49, 63, 0.12); }

.tk-signal__icon.is-bad { color: #c8313f; background: rgba(200, 49, 63, 0.12); }

.tk-quick__icon.is-slate { color: #64748b; background: rgba(100, 116, 139, 0.12); }
.tk-quick__icon.is-red { color: #c8313f; background: rgba(200, 49, 63, 0.12); }

/* KPI executivo do admin: 4 indicadores, não 6 — largura maior em cada tile */
@media (min-width: 1280px) {
    .tk-dash__kpis--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Cartão escuro de leitura executiva (reaproveita o glass-dark já usado) */
.tk-dark-signals { display: grid; gap: 0.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }

.tk-dark-signal {
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.7rem 0.85rem;
}

.tk-dark-signal__label {
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
}

.tk-dark-signal__value { margin-top: 0.3rem; font-size: 1.35rem; font-weight: 800; color: #fff; line-height: 1; }
.tk-dark-signal__caption { margin-top: 0.25rem; font-size: 0.76rem; color: rgba(255, 255, 255, 0.68); }

.tk-dark-pills { margin-top: 0.85rem; display: flex; flex-wrap: wrap; gap: 0.4rem; }

.tk-dark-pill {
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.86);
}

/* Linha de evento recente com miniatura (usada nos cards de leitura rápida) */
.tk-list__row--media { align-items: center; gap: 0.75rem; }
.tk-list__thumb { flex: none; width: 3rem; height: 3rem; border-radius: 0.85rem; object-fit: cover; background: #eef2f8; }

/* ══════════════════════════════════════════════════════════════════════════
   ADMIN BACKOFFICE — shell operacional (sidebar + topbar + tabelas densas)
   Direção: SaaS financeiro (Stripe/Linear). Flat, denso, alto contraste,
   pouco blur/glass. Reaproveita tk-card/tk-kpi/tk-badge onde faz sentido.
   ══════════════════════════════════════════════════════════════════════════ */

/* Fundo do backoffice: plano e neutro, sem orbs/gradiente de landing. */
body.tk-admin-active {
    background: #eef1f6;
}
body.tk-admin-active::before { display: none; }
body.tk-admin-active .page-orb { display: none; }
body.tk-admin-active .app-frame { min-height: 100vh; }
body.tk-admin-active .app-main { max-width: none; margin: 0; padding: 0; }

.tk-admin { display: flex; min-height: 100vh; width: 100%; }

/* ── Sidebar fixa (desktop) ── */
.tk-sidebar {
    display: none;
    position: fixed;
    inset: 0 auto 0 0;
    width: 236px;
    z-index: 40;
    flex-direction: column;
    background: #fff;
    border-right: 1px solid #e3e9f1;
    padding: 0.9rem 0.7rem 1rem;
}
.tk-sidebar__brand { display: flex; align-items: center; gap: 0.55rem; padding: 0.35rem 0.55rem 0.9rem; }
.tk-sidebar__brand-tag {
    font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em;
    color: #94a3b8; background: #f1f4f9; border-radius: 9999px; padding: 0.2rem 0.5rem;
}
.tk-sidebar__nav { display: flex; flex-direction: column; gap: 2px; overflow-y: auto; }
.tk-sidebar__section {
    font-size: 0.6rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em;
    color: #a6b1c4; padding: 0.75rem 0.65rem 0.35rem;
}
.tk-sidebar__item {
    display: flex; align-items: center; gap: 0.65rem;
    padding: 0.5rem 0.65rem; border-radius: 0.6rem;
    color: #55647d; font-size: 0.85rem; font-weight: 600; text-decoration: none;
    transition: background-color 120ms ease, color 120ms ease;
}
.tk-sidebar__item:hover { background: #f2f5fa; color: #0b2348; }
.tk-sidebar__item.is-active { background: #0b2348; color: #fff; }
.tk-sidebar__item.is-active .tk-sidebar__icon { color: #fff; }
.tk-sidebar__icon { flex: none; color: #94a3b8; }
.tk-sidebar__item:hover .tk-sidebar__icon { color: inherit; }
.tk-sidebar__count {
    margin-left: auto; font-size: 0.68rem; font-weight: 800;
    background: rgba(220, 44, 62, 0.12); color: #c8313f;
    border-radius: 9999px; padding: 0.05rem 0.4rem; min-width: 1.15rem; text-align: center;
}
.tk-sidebar__item.is-active .tk-sidebar__count { background: rgba(255,255,255,0.2); color: #fff; }
/* Rodapé como um cartão arredondado só — evita a sensação de texto/botão
   soltos direto sobre o fundo branco, coerente com o resto do app (bem
   arredondado: cards de 20-32px de raio, pills nos botões). */
.tk-sidebar__foot {
    margin-top: auto;
    padding: 0.55rem;
    border-radius: 1rem;
    background: #f6f8fb;
    display: grid;
    gap: 0.25rem;
}
.tk-sidebar__user { display: flex; align-items: center; gap: 0.55rem; padding: 0.4rem 0.55rem; }
.tk-sidebar__avatar {
    flex: none; width: 2rem; height: 2rem; border-radius: 9999px;
    background: #0b2348; color: #fff; display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.78rem; font-weight: 800;
}
.tk-sidebar__user-info { min-width: 0; display: grid; gap: 0.05rem; }
.tk-sidebar__user-name { font-size: 0.8rem; font-weight: 700; color: #0b2348; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-sidebar__user-role { font-size: 0.68rem; color: #94a3b8; }
.tk-sidebar__logout {
    display: flex; align-items: center; gap: 0.5rem; width: 100%;
    padding: 0.5rem 0.65rem; border: 1px solid #e3e9f1; border-radius: 0.7rem;
    background: #fff; color: #55647d; font-size: 0.82rem; font-weight: 600; cursor: pointer;
}
.tk-sidebar__logout:hover { background: #fbeef0; border-color: #f3d0d5; color: #c8313f; }

/* ── Main + topbar ── */
.tk-admin__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.tk-topbar {
    position: sticky; top: 0; z-index: 30;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    min-height: 58px; padding: 0.85rem 1.25rem;
    background: #fff; border-bottom: 1px solid #eef1f6;
    box-shadow: 0 10px 24px -20px rgba(15, 40, 80, 0.4);
}
.tk-topbar__lead { display: flex; align-items: center; gap: 0.85rem; min-width: 0; }
.tk-topbar__brand { flex: none; display: inline-flex; padding-right: 0.85rem; border-right: 1px solid #eef1f6; }
.tk-topbar__titles { min-width: 0; }
.tk-topbar__title { font-size: 1.18rem; font-weight: 800; color: #0b2348; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-topbar__sub { margin-top: 0.1rem; font-size: 0.78rem; color: #8a97ad; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tk-topbar__actions { display: flex; align-items: center; gap: 0.5rem; flex: none; }
.tk-topbar__toggle,
.tk-topbar__logout {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.2rem; height: 2.2rem; border-radius: 0.6rem;
    border: 1px solid #e3e9f1; background: #fff; color: #0b2348; cursor: pointer;
}
.tk-topbar__logout:hover { background: #fbeef0; border-color: #f3d0d5; color: #c8313f; }
.tk-topbar__logout-form { display: contents; }
.tk-admin__content { padding: 1.5rem 1.1rem 1.1rem; width: 100%; max-width: 1640px; }

/* ── Page wrapper ── */
.tk-page { display: flex; flex-direction: column; gap: 1rem; padding-bottom: 2rem; }
.tk-page-intro { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.tk-page-intro__title { font-size: 1.2rem; font-weight: 800; color: #0b2348; }
.tk-page-intro__sub { font-size: 0.82rem; color: #8a97ad; margin-top: 0.15rem; max-width: 46rem; line-height: 1.45; }

/* ── Stat grid (KPIs compactos) — reusa tk-kpi mas em grade densa ── */
.tk-statgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem; }
@media (min-width: 700px) { .tk-statgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .tk-statgrid--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ── Filterbar ── */
.tk-filterbar {
    display: flex; flex-wrap: wrap; align-items: flex-end; gap: 0.6rem;
    background: #fff; border: 1px solid #e3e9f1; border-radius: 0.75rem; padding: 0.75rem;
}
.tk-filterbar__field { display: grid; gap: 0.28rem; flex: 1 1 11rem; min-width: 0; }
.tk-filterbar__field--wide { flex: 2 1 16rem; }
.tk-filterbar__field--sm { flex: 1 1 8rem; }
.tk-filterbar__label { font-size: 0.64rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #8a97ad; }
.tk-filterbar__input,
.tk-filterbar__select {
    width: 100%; border: 1px solid #dce4ee; background: #f7f9fc;
    border-radius: 0.55rem; padding: 0.5rem 0.65rem; font-size: 0.85rem; color: #0b2348;
    outline: none; transition: border-color 120ms ease, background-color 120ms ease;
}
.tk-filterbar__input:focus,
.tk-filterbar__select:focus { border-color: #214a86; background: #fff; }
.tk-filterbar__actions { display: flex; gap: 0.4rem; flex: 0 0 auto; }

/* ── Botões operacionais ── */
.tk-btn {
    display: inline-flex; align-items: center; gap: 0.4rem;
    border: 1px solid transparent; border-radius: 0.55rem; padding: 0.5rem 0.85rem;
    font-size: 0.82rem; font-weight: 700; cursor: pointer; text-decoration: none; white-space: nowrap;
    transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease;
}
.tk-btn--primary { background: #0b2348; color: #fff; }
.tk-btn--primary:hover { background: #123059; }
.tk-btn--ghost { background: #fff; border-color: #dce4ee; color: #3a4a63; }
.tk-btn--ghost:hover { background: #f6f8fb; }
.tk-btn--subtle { background: #eef2f8; color: #214a86; }
.tk-btn--subtle:hover { background: #e3eaf4; }
.tk-btn--danger { background: rgba(220, 44, 62, 0.1); color: #c8313f; }
.tk-btn--danger:hover { background: rgba(220, 44, 62, 0.16); }
.tk-btn--success { background: rgba(22, 161, 99, 0.12); color: #138a55; }
.tk-btn--success:hover { background: rgba(22, 161, 99, 0.2); }
.tk-btn--sm { padding: 0.35rem 0.6rem; font-size: 0.75rem; border-radius: 0.5rem; }
.tk-btn--block { width: 100%; justify-content: center; }

/* ── Painel com cabeçalho e (opcional) tabela ── */
.tk-panel { background: #fff; border: 1px solid #e3e9f1; border-radius: 0.75rem; }
.tk-panel__head {
    display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
    padding: 0.8rem 1rem; border-bottom: 1px solid #eef2f7;
}
.tk-panel__head-titles { min-width: 0; }
.tk-panel__title { font-size: 0.92rem; font-weight: 800; color: #0b2348; }
.tk-panel__sub { font-size: 0.74rem; color: #8a97ad; margin-top: 0.1rem; }
.tk-panel__body { padding: 1rem; }
.tk-panel__body--flush { padding: 0; }

/* ── Tabela densa ── */
.tk-table-wrap { overflow-x: auto; }
.tk-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; }
.tk-table thead th {
    text-align: left; font-size: 0.66rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.04em; color: #8a97ad; padding: 0.6rem 0.9rem;
    border-bottom: 1px solid #e9eef5; background: #fafbfd; white-space: nowrap;
}
.tk-table tbody td { padding: 0.62rem 0.9rem; border-bottom: 1px solid #f0f3f8; color: #0b2348; vertical-align: middle; }
.tk-table tbody tr { transition: background-color 100ms ease; }
.tk-table tbody tr:hover { background: #f8fafd; }
.tk-table tbody tr:last-child td { border-bottom: 0; }
.tk-table__num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.tk-table__right { text-align: right; }
.tk-table__nowrap { white-space: nowrap; }
.tk-table--rowlink tbody tr { cursor: pointer; }
.tk-cellmain { display: flex; flex-direction: column; gap: 0.05rem; min-width: 0; }
.tk-cellmain__title { font-weight: 700; color: #0b2348; }
.tk-cellmain__sub { font-size: 0.73rem; color: #8a97ad; }
.tk-cell-media { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.tk-cell-thumb { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 0.5rem; object-fit: cover; background: #eef2f8; }
.tk-cell-actions { display: flex; align-items: center; gap: 0.35rem; justify-content: flex-end; }
.tk-mono { font-variant-numeric: tabular-nums; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.78rem; color: #55647d; }

/* ── Badges extras ── */
.tk-badge.is-slate { color: #55647d; background: rgba(100, 116, 139, 0.12); }
.tk-badge.is-neutral { color: #64748b; background: #eef2f7; }
.tk-badge.is-purple { color: #6d4bd0; background: rgba(109, 75, 208, 0.12); }
.tk-badge--dot::before { content: ''; width: 0.4rem; height: 0.4rem; border-radius: 9999px; background: currentColor; margin-right: 0.35rem; display: inline-block; }

/* ── Tabs ── */
.tk-tabs { display: inline-flex; gap: 0.25rem; background: #eaeef4; border-radius: 0.6rem; padding: 0.22rem; }
.tk-tab { padding: 0.4rem 0.85rem; border-radius: 0.45rem; font-size: 0.8rem; font-weight: 700; color: #55647d; text-decoration: none; white-space: nowrap; }
.tk-tab:hover { color: #0b2348; }
.tk-tab.is-active { background: #fff; color: #0b2348; box-shadow: 0 1px 2px rgba(15, 40, 80, 0.12); }

/* ── Empty state ── */
.tk-empty-state { text-align: center; padding: 2.4rem 1rem; }
.tk-empty-state__icon {
    width: 2.75rem; height: 2.75rem; border-radius: 0.75rem; background: #f1f4f9; color: #94a3b8;
    display: inline-flex; align-items: center; justify-content: center; margin-bottom: 0.6rem;
}
.tk-empty-state__title { font-size: 1rem; font-weight: 700; color: #0b2348; }
.tk-empty-state__text { font-size: 0.83rem; color: #8a97ad; margin-top: 0.25rem; max-width: 32rem; margin-left: auto; margin-right: auto; line-height: 1.5; }

/* ── Alert ── */
.tk-alert { display: flex; gap: 0.6rem; align-items: flex-start; padding: 0.8rem 1rem; border-radius: 0.7rem; font-size: 0.84rem; line-height: 1.5; }
.tk-alert__icon { flex: none; margin-top: 0.1rem; }
.tk-alert--warn { background: rgba(238, 125, 29, 0.08); border: 1px solid rgba(238, 125, 29, 0.28); color: #92590f; }
.tk-alert--info { background: rgba(33, 74, 134, 0.06); border: 1px solid rgba(33, 74, 134, 0.18); color: #214a86; }
.tk-alert--danger { background: rgba(220, 44, 62, 0.07); border: 1px solid rgba(220, 44, 62, 0.22); color: #b02a38; }
.tk-alert strong { font-weight: 700; }

/* ── Paginação ── */
.tk-pagination { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem 1rem; flex-wrap: wrap; border-top: 1px solid #eef2f7; }
.tk-pagination__info { font-size: 0.78rem; color: #8a97ad; }
.tk-pagination__pages { display: flex; gap: 0.3rem; flex-wrap: wrap; }
.tk-page-btn {
    min-width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center;
    padding: 0 0.5rem; border-radius: 0.45rem; font-size: 0.8rem; font-weight: 700;
    color: #214a86; background: #fff; border: 1px solid #dce4ee; text-decoration: none;
}
.tk-page-btn:hover { background: #f6f8fb; }
.tk-page-btn.is-active { background: #0b2348; color: #fff; border-color: #0b2348; }

/* ── Seções auxiliares (grids de detalhe) ── */
.tk-grid-2 { display: grid; gap: 1rem; }
@media (min-width: 1024px) { .tk-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.tk-grid-main { display: grid; gap: 1rem; }
@media (min-width: 1180px) { .tk-grid-main { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: start; } }

/* Campo de formulário padrão do backoffice (form em painéis). */
.tk-field { display: grid; gap: 0.3rem; }
.tk-field__label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #8a97ad; }
.tk-field__input,
.tk-field__select,
.tk-field__textarea {
    width: 100%; border: 1px solid #dce4ee; background: #f7f9fc; border-radius: 0.55rem;
    padding: 0.55rem 0.7rem; font-size: 0.86rem; color: #0b2348; outline: none;
}
.tk-field__input:focus,
.tk-field__select:focus,
.tk-field__textarea:focus { border-color: #214a86; background: #fff; }

/* ── Mini timeline (auditoria de pedido) ── */
.tk-timeline { display: flex; flex-direction: column; gap: 0; }
.tk-timeline__item { display: flex; gap: 0.65rem; padding: 0.5rem 0; }
.tk-timeline__dot { flex: none; width: 0.6rem; height: 0.6rem; border-radius: 9999px; margin-top: 0.35rem; background: #94a3b8; position: relative; }
.tk-timeline__dot.is-green { background: #16a163; }
.tk-timeline__dot.is-warn { background: #ee7d1d; }
.tk-timeline__dot.is-bad { background: #dc2c3e; }
.tk-timeline__dot.is-blue { background: #214a86; }
.tk-timeline__body { min-width: 0; }
.tk-timeline__label { font-size: 0.82rem; font-weight: 600; color: #0b2348; line-height: 1.35; }
.tk-timeline__time { font-size: 0.72rem; color: #94a3b8; }

/* ── Responsivo: desktop mostra sidebar, mobile usa bottom-nav existente ── */
@media (min-width: 1024px) {
    .tk-sidebar { display: flex; }
    .tk-admin__main { margin-left: 236px; }
    .tk-topbar__toggle { display: none; }
    /* A sidebar já mostra logo + Sair — some do topbar pra não duplicar. */
    .tk-topbar__brand { display: none; }
    .tk-topbar__logout-form { display: none; }
    .tk-admin__content { padding: 1.85rem 1.6rem 1.6rem; }
    .tk-admin-mobilenav { display: none !important; }
}
@media (max-width: 1023px) {
    /* Mesmo respiro do menu inferior do produtor/participante (.tk-dash),
       reservado direto no wrapper de conteúdo — não na moldura externa —
       pra nenhum card ficar colado/cortado atrás do menu flutuante. */
    .tk-page { padding-bottom: calc(6.5rem + env(safe-area-inset-bottom)); }
}

/* ════════════════════════════════════════════════════════════
   "Pedidos no período" — composição do total (não chips soltos)
   ════════════════════════════════════════════════════════════ */
.tk-orders-summary {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid #eef1f6;
}

.tk-orders-summary__total,
.tk-orders-summary__aside {
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.tk-orders-summary__total strong {
    font-family: 'Sora', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #0b2348;
    line-height: 1.05;
}

.tk-orders-summary__total span {
    margin-top: 0.2rem;
    font-size: 0.76rem;
    font-weight: 600;
    color: #7c8aa3;
}

.tk-orders-summary__aside {
    align-items: flex-end;
    text-align: right;
}

.tk-orders-summary__aside strong {
    font-family: 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: #214a86;
    line-height: 1.1;
}

.tk-orders-summary__aside span {
    margin-top: 0.15rem;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #94a3b8;
}

.tk-orders-summary__total:hover strong,
.tk-orders-summary__aside:hover strong { color: #ee7d1d; }

/* Barra segmentada: proporção real de cada status dentro do total. */
.tk-segbar {
    display: flex;
    width: 100%;
    height: 0.55rem;
    border-radius: 9999px;
    overflow: hidden;
    background: #eef1f6;
    margin-top: 0.95rem;
    gap: 1.5px;
}

.tk-segbar__seg {
    height: 100%;
    min-width: 3px;
    transition: opacity 120ms ease;
}

.tk-segbar:hover .tk-segbar__seg { opacity: 0.82; }

/* Legenda: mesma ordem da barra, com contagem e percentual lado a lado. */
.tk-orders-legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.4rem;
    margin-top: 0.85rem;
}

.tk-orders-legend__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.6rem;
    border-radius: 0.65rem;
    text-decoration: none;
    transition: background-color 120ms ease;
}

.tk-orders-legend__item:hover { background: #f6f8fb; }

.tk-orders-legend__dot {
    flex: none;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 9999px;
}

.tk-orders-legend__label {
    flex: 1;
    min-width: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #46536b;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tk-orders-legend__value {
    flex: none;
    font-size: 0.86rem;
    font-weight: 800;
    color: #0b2348;
}

.tk-orders-legend__pct {
    flex: none;
    min-width: 2.6rem;
    text-align: right;
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
}

@media (min-width: 640px) {
    .tk-orders-legend { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ════════════════════════════════════════════════════════════
   Sidebar retrátil (desktop) — modo só-ícones, estado lembrado
   via localStorage (ver script inline em layouts/app.php)
   ════════════════════════════════════════════════════════════ */
.tk-sidebar { transition: width 180ms ease; }

/* Logo cheia (expandida) x marca compacta (retraída) — nunca as duas juntas. */
.tk-sidebar__brand-full { display: flex; align-items: center; gap: 0.55rem; }
.tk-sidebar__brand-compact { display: none; width: 1.75rem; height: 1.75rem; }

.tk-sidebar__collapse {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    padding: 0.5rem 0.65rem;
    border: none;
    border-radius: 0.7rem;
    background: transparent;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background-color 120ms ease, color 120ms ease;
}

.tk-sidebar__collapse:hover { background: rgba(11, 35, 72, 0.06); color: #0b2348; }

.tk-sidebar__collapse-icon {
    flex: none;
    display: inline-flex;
    transition: transform 180ms ease;
}

@media (min-width: 1024px) {
    /* Retraída: só ícones, largura menor, rótulos somem (tooltip nativo
       via title cobre a label perdida). */
    html.tk-sidebar-collapsed .tk-sidebar { width: 72px; }
    html.tk-sidebar-collapsed .tk-admin__main { margin-left: 72px; }

    html.tk-sidebar-collapsed .tk-sidebar__brand { justify-content: center; padding-left: 0; padding-right: 0; }
    html.tk-sidebar-collapsed .tk-sidebar__brand-full { display: none; }
    html.tk-sidebar-collapsed .tk-sidebar__brand-compact { display: block; margin: 0 auto; }

    html.tk-sidebar-collapsed .tk-sidebar__brand-tag,
    html.tk-sidebar-collapsed .tk-sidebar__section,
    html.tk-sidebar-collapsed .tk-sidebar__label,
    html.tk-sidebar-collapsed .tk-sidebar__count,
    html.tk-sidebar-collapsed .tk-sidebar__user-info { display: none; }

    html.tk-sidebar-collapsed .tk-sidebar__item,
    html.tk-sidebar-collapsed .tk-sidebar__collapse,
    html.tk-sidebar-collapsed .tk-sidebar__logout { justify-content: center; padding-left: 0.4rem; padding-right: 0.4rem; }

    html.tk-sidebar-collapsed .tk-sidebar__user { justify-content: center; padding-left: 0; padding-right: 0; }

    html.tk-sidebar-collapsed .tk-sidebar__collapse-icon { transform: rotate(180deg); }
}

/* Painel operacional do admin — banners da home como <details> discreto:
   some com o marcador nativo e usa um chevron próprio que gira ao abrir. */
.tk-panel--details > .tk-panel__summary {
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.tk-panel--details > .tk-panel__summary::-webkit-details-marker,
.tk-panel--details > .tk-panel__summary::marker {
    display: none;
    content: '';
}

.tk-panel--details > .tk-panel__summary svg {
    flex: none;
    transition: transform 160ms ease;
    color: #94a3b8;
}

.tk-panel--details[open] > .tk-panel__summary svg {
    transform: rotate(90deg);
}

/* Chamadas comerciais da home pública (gerenciadas em /admin/vitrine). */
.promo-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(11, 35, 72, 0.08);
    box-shadow: 0 16px 40px rgba(16, 24, 40, 0.06);
    height: 100%;
}

.promo-card__media {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eef2f7;
}

.promo-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem 1.35rem 1.5rem;
}

.promo-card__title {
    font-family: 'Sora', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #0b2348;
    line-height: 1.3;
}

.promo-card__desc {
    flex: 1;
    font-size: 0.84rem;
    line-height: 1.5;
    color: #64748b;
}

.promo-card__cta {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.25rem;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    background: #0b2348;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 160ms ease, transform 160ms ease;
}

.promo-card__cta:hover,
.promo-card__cta:focus-visible {
    background: #163460;
    transform: translateY(-1px);
}

/* Saúde dos eventos (admin) — barra de progresso sem dado de estoque. */
.tk-progress__fill.is-slate { background: #cbd5e1; }

/* Oculto pelos filtros rápidos client-side (data-tk-eh-filter em app.js). */
.tk-eh-hidden { display: none !important; }

/* Linha da tabela: leve realce só quando crítico/atenção — o resto fica neutro
   de propósito (evita "excesso de cor"). Borda no td (não na tr, que não
   renderiza border-left de forma confiável entre navegadores). */
.tk-eh-row.is-bad { background: rgba(220, 44, 62, 0.035); }
.tk-eh-row.is-bad td:first-child { border-left: 3px solid #dc2c3e; }
.tk-eh-row.is-warn { background: rgba(238, 125, 29, 0.035); }
.tk-eh-row.is-warn td:first-child { border-left: 3px solid #ee7d1d; }

/* Cards do mobile (a tabela vira lista de cards abaixo de 768px). */
.tk-eh-cards {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 0 1rem 1rem;
}

.tk-eh-card {
    border-radius: 1rem;
    border: 1px solid rgba(11, 35, 72, 0.08);
    border-left: 3px solid transparent;
    background: #ffffff;
    padding: 0.85rem 0.9rem;
}

.tk-eh-card.is-bad { border-left-color: #dc2c3e; background: rgba(220, 44, 62, 0.035); }
.tk-eh-card.is-warn { border-left-color: #ee7d1d; background: rgba(238, 125, 29, 0.035); }

.tk-eh-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.6rem;
}

.tk-eh-card__meta {
    margin-top: 0.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 0.85rem;
}

.tk-eh-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    max-width: 100%;
    font-size: 0.72rem;
    color: #64748b;
}

.tk-eh-card__meta-item svg { flex: none; color: #94a3b8; }

.tk-eh-card__message {
    margin-top: 0.45rem;
    font-size: 0.76rem;
    line-height: 1.4;
    color: #475569;
}

.tk-eh-card__stats {
    margin-top: 0.65rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    border-top: 1px solid #f0f3f8;
    padding-top: 0.6rem;
}

.tk-eh-card__stat-label {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #94a3b8;
}

.tk-eh-card__stat-value {
    display: block;
    margin-top: 0.1rem;
    font-family: 'Sora', sans-serif;
    font-size: 0.92rem;
    color: #0b2348;
}

.tk-eh-card__progress { margin-top: 0.65rem; }
.tk-eh-card__actions { margin-top: 0.75rem; }

/* ══════════════════════════════════════════════════════════════════
   Fila de repasses (admin · /admin/pagamentos?section=repasses)
   Tabela financeira + painel de decisão expansível por saque.
   ══════════════════════════════════════════════════════════════════ */

.tk-panel--danger-edge { border-left: 3px solid #dc2c3e; }

.tk-payout-search { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin: 0.35rem 0 0.85rem; }
.tk-payout-search__input { flex: 1 1 16rem; max-width: 26rem; }

.tk-payout-table .tk-payout-row.is-actionable td { background: rgba(238, 125, 29, 0.045); }
.tk-payout-age.is-late { color: #c8313f; font-weight: 700; }

/* Linha de detalhe: fundo próprio pra separar do fluxo da tabela */
.tk-payout-detail > td { background: #f4f7fc; padding: 0.9rem 0.9rem 1.1rem; border-bottom: 2px solid #dce4ee; }
.tk-payout-detail__grid { display: grid; gap: 0.75rem; align-items: start; }
@media (min-width: 900px) { .tk-payout-detail__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); } }
@media (min-width: 1280px) { .tk-payout-detail__grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.2fr) minmax(0, 0.95fr); } }

.tk-payout-card { background: #fff; border: 1px solid #e2e8f2; border-radius: 0.8rem; padding: 0.85rem 0.9rem; min-width: 0; }
.tk-payout-card--decision { border-color: #c9d6ea; box-shadow: 0 1px 4px rgba(15, 40, 80, 0.06); }
.tk-payout-card__label { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: #8a97ad; margin-bottom: 0.55rem; }

/* Fatos da solicitação (dl compacta) */
.tk-payout-facts { display: grid; gap: 0.45rem; margin: 0; }
.tk-payout-facts > div { display: flex; justify-content: space-between; gap: 0.75rem; align-items: baseline; }
.tk-payout-facts dt { font-size: 0.72rem; color: #8a97ad; font-weight: 600; flex: none; }
.tk-payout-facts dd { margin: 0; font-size: 0.8rem; color: #33415c; text-align: right; overflow-wrap: anywhere; }
.tk-payout-facts__strong { font-weight: 700; color: #0b2348 !important; }

.tk-payout-note { margin-top: 0.6rem; padding: 0.5rem 0.65rem; border-radius: 0.55rem; background: #f2f6fd; font-size: 0.76rem; line-height: 1.45; color: #55647d; }
.tk-payout-note.is-admin { background: #fdf5ec; }

/* Números do produtor: 2x2 no card, monoespaçado pra leitura financeira */
.tk-payout-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #e2e8f2; border: 1px solid #e2e8f2; border-radius: 0.6rem; overflow: hidden; }
.tk-payout-stat { background: #fff; padding: 0.55rem 0.65rem; }
.tk-payout-stat__label { display: block; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #8a97ad; }
.tk-payout-stat__value { display: block; margin-top: 0.2rem; font-size: 0.92rem; color: #0b2348; }
.tk-payout-stat.is-good .tk-payout-stat__value { color: #0f8a54; }
.tk-payout-stat.is-bad { background: #fdf2f3; }
.tk-payout-stat.is-bad .tk-payout-stat__value { color: #c8313f; }

.tk-payout-microfacts { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; margin-top: 0.6rem; font-size: 0.72rem; color: #8a97ad; }
.tk-payout-microfacts strong { color: #33415c; font-weight: 700; }

.tk-payout-history { display: grid; gap: 0.35rem; }
.tk-payout-history__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 0.5rem; align-items: center; padding: 0.35rem 0.5rem; border-radius: 0.5rem; background: #f7f9fc; }

/* Etapas do fluxo guiado: Pendente → Aprovado → Processando → Pago */
.tk-payout-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem; margin-bottom: 0.7rem; }
.tk-payout-flow__step { font-size: 0.68rem; font-weight: 700; padding: 0.22rem 0.55rem; border-radius: 9999px; background: #eef2f8; color: #94a3b8; }
.tk-payout-flow__step.is-done { background: #e7f4ee; color: #0f8a54; }
.tk-payout-flow__step.is-current { background: #0b2348; color: #fff; }
.tk-payout-flow__step + .tk-payout-flow__step { position: relative; margin-left: 0.7rem; }
.tk-payout-flow__step + .tk-payout-flow__step::before { content: '→'; position: absolute; left: -0.72rem; color: #c3cddc; font-weight: 400; }

.tk-payout-actions { display: grid; gap: 0.55rem; }
.tk-payout-actions__buttons { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.tk-payout-actions__buttons .tk-btn--primary { flex: 1 1 auto; justify-content: center; }

.tk-payout-reference-hint { padding: 0.45rem 0.6rem; border-radius: 0.5rem; background: #fdf2f3; color: #c8313f; font-size: 0.74rem; font-weight: 600; }
.tk-field__input.is-invalid { border-color: #dc2c3e; background: #fdf7f7; }

.tk-payout-closed { padding: 0.55rem 0.7rem; border-radius: 0.6rem; font-size: 0.78rem; font-weight: 600; line-height: 1.45; }
.tk-payout-closed.is-good { background: #e7f4ee; color: #0f8a54; }
.tk-payout-closed.is-bad { background: #fdf2f3; color: #c8313f; }

.tk-payout-advanced { margin-top: 0.7rem; border-top: 1px dashed #dce4ee; padding-top: 0.55rem; }
.tk-payout-advanced > summary { cursor: pointer; font-size: 0.72rem; font-weight: 700; color: #8a97ad; user-select: none; }
.tk-payout-advanced > summary:hover { color: #55647d; }
.tk-payout-advanced[open] > summary { color: #0b2348; margin-bottom: 0.55rem; }

.tk-payout-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; margin-top: 0.7rem; padding-top: 0.6rem; border-top: 1px solid #e8edf4; font-size: 0.76rem; color: #8a97ad; }
.tk-payout-footer strong { color: #0b2348; font-size: 0.84rem; }

.tk-payout-debts { display: flex; flex-direction: column; }
.tk-payout-debts__row { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; padding: 0.5rem 0; }
.tk-payout-debts__row + .tk-payout-debts__row { border-top: 1px solid #f0f3f8; }

/* Cabeçalho de painel com muitas tabs: em telas estreitas o head quebra em
   duas linhas (títulos em cima, tabs embaixo com scroll horizontal) em vez
   de espremer o título a uma palavra por linha. Vale para toda .tk-panel
   (repasses, reembolsos...) sem afetar o desktop. */
.tk-panel__head { flex-wrap: wrap; }
.tk-panel__head-titles { flex: 1 1 14rem; }
.tk-panel__head .tk-tabs { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.tk-panel__head .tk-tabs::-webkit-scrollbar { display: none; }
