:root {
    --theme-primary: #ff6600;
    --theme-primary-hover: #e85c00;
    --theme-primary-soft: #fff3e8;
    --theme-secondary: #24324a;
    --theme-font: "Sora", sans-serif;
    --blue: var(--theme-primary);
    --blue-dark: var(--theme-primary-hover);
    --orange: var(--theme-primary);
    --ink: #333333;
    --text: #333333;
    --muted: #999999;
    --line: #e2e8f0;
    --page: #f5f5f5;
    --surface: #ffffff;
    --participant-green: #00a882;
    --participant-font: var(--theme-font);
}

/* Participant notification history and detail pages */
.participant-notifications-section {
    margin-bottom: 48px;
    width: 100%;
}

.notification-history-card,
.notification-detail-card {
    background: #fff;
    border: 1px solid var(--line);
}

.notification-history-head {
    align-items: center;
    background: #f8fafc;
    border-bottom: 1px solid #e6ebf1;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 16px 18px;
}

.notification-history-head h2 {
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0;
    text-transform: uppercase;
}

.notification-history-head > span {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.notification-history-empty {
    color: #64748b;
    font-size: 0.9rem;
    padding: 22px 18px;
}

.notification-history-list {
    display: flex;
    flex-direction: column;
}

.notification-history-row {
    border-bottom: 1px solid #eef2f7;
    display: grid;
    gap: 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 16px 18px;
    transition: background-color 160ms ease;
}

.notification-history-row:last-child {
    border-bottom: 0;
}

.notification-history-row.is-unread {
    background: #fff7ed;
}

.notification-history-row.is-read {
    background: #fff;
}

.notification-history-row:hover {
    background: #f8fafc;
}

.notification-history-title-wrap {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.notification-history-title-wrap strong {
    color: #0f172a;
    font-size: 0.92rem;
}

.notification-history-dot {
    background: var(--orange);
    border-radius: 999px;
    display: inline-block;
    flex: 0 0 8px;
    height: 8px;
    width: 8px;
}

.notification-history-content p {
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.45;
    margin: 6px 0 0;
}

.notification-history-meta {
    align-items: flex-end;
    display: inline-flex;
    flex-direction: column;
    gap: 8px;
}

.notification-history-meta small {
    color: #94a3b8;
    font-size: 0.72rem;
    white-space: nowrap;
}

.participant-notifications-section .app-pagination {
    margin-top: 18px;
}

.notification-detail-card {
    padding: 22px 20px;
}

.notification-detail-title-row {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.participant-notification-detail-hero .notification-detail-title-row h1 {
    margin: 0;
}

.notification-detail-title-badge {
    margin-top: 10px;
}

.notification-detail-message {
    color: #334155;
    line-height: 1.65;
    margin: 0;
}

.notification-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.notification-detail-meta {
    border-top: 1px solid #e6ebf1;
    margin-top: 16px;
    padding-top: 12px;
}

.notification-detail-meta p {
    color: #64748b;
    font-size: 0.82rem;
    margin: 0 0 8px;
}

.notification-detail-back-wrap {
    margin-top: 16px;
}

.detail-back-link,
.detail-open-link {
    color: var(--orange);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .notification-history-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .notification-history-row {
        gap: 10px;
        grid-template-columns: minmax(0, 1fr);
    }

    .notification-history-meta {
        align-items: flex-start;
    }

    .notification-detail-title-badge {
        margin-top: 4px;
    }
}


html,
body {
    background: var(--page);
}

body {
    color: var(--text);
    font-family: var(--participant-font);
    font-size: 15px;
    margin: 0;
}

.participant-login-body {
    background: var(--page);
    min-height: 100vh;
}

.participant-login-page {
    display: grid;
    grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.1fr);
    min-height: 100vh;
}

.participant-login-card {
    align-self: center;
    background: transparent;
    border: 0;
    justify-self: center;
    margin: 32px;
    max-width: 520px;
    padding: clamp(30px, 5vw, 54px);
    width: calc(100% - 64px);
}

.participant-login-card__brand img {
    display: block;
    height: auto;
    margin-bottom: 44px;
    max-width: 190px;
}

.participant-login-card__content p {
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.participant-login-card__content h1 {
    color: var(--ink);
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.07em;
    line-height: 0.95;
    margin: 0 0 18px;
    text-transform: uppercase;
}

.participant-login-card__content h1::after {
    background: var(--blue);
    content: "";
    display: block;
    height: 5px;
    margin-top: 22px;
    width: 110px;
}

.participant-login-card__content span {
    color: var(--muted);
    display: block;
    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.65;
    margin-bottom: 30px;
}

.participant-login-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 22px;
    padding: 14px 16px;
}

.participant-login-form {
    display: grid;
    gap: 12px;
}

.participant-login-form label {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    margin-top: 8px;
    text-transform: uppercase;
}

.participant-login-form input {
    background: var(--surface);
    border: 1px solid var(--line);
    color: var(--text);
    font: inherit;
    min-height: 54px;
    padding: 13px 15px;
}

.participant-login-form input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgb(255 102 0 / 12%);
    outline: none;
}

.participant-login-form button {
    background: var(--blue);
    border: 1px solid var(--blue);
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-top: 16px;
    min-height: 56px;
    padding: 15px 20px;
    text-transform: uppercase;
    transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.participant-login-form button:hover,
.participant-login-form button:focus-visible {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
    outline: none;
    transform: translateY(-1px);
}

.participant-login-visual {
    background:
        linear-gradient(90deg, rgba(245, 245, 245, 0.2), rgba(15, 23, 42, 0.08)),
        url("../../../leader/assets/img/bg-beijaflor.webp") center / cover;
    min-height: 100vh;
}

.panel-login-body {
    background: var(--page);
    min-height: 100vh;
}

.panel-login-page {
    display: grid;
    grid-template-columns: minmax(420px, 0.9fr) minmax(0, 1.1fr);
    min-height: 100vh;
}

.panel-login-card {
    align-self: center;
    background: transparent;
    border: 0;
    justify-self: center;
    margin: 32px;
    max-width: 574px;
    padding: clamp(30px, 5vw, 54px);
    width: calc(100% - 64px);
}

.leader-login-card.panel-login-card,
.organizer-login-card.panel-login-card,
.administrator-login-card.panel-login-card,
.participant-login-card.panel-login-card {
    max-width: 520px !important;
    width: calc(100% - 64px) !important;
}

.panel-login-card__brand img {
    display: block;
    height: auto;
    margin-bottom: 44px;
    max-width: 190px;
}

.panel-login-form input {
    width: 100%;
}

.panel-login-visual {
    background: transparent;
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.panel-login-visual::after {
    background: linear-gradient(90deg, rgba(245, 245, 245, 0.2), rgba(15, 23, 42, 0.08));
    content: "";
    inset: 0;
    position: absolute;
}

.panel-login-visual img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

body.has-sidebar {
    padding-left: 264px;
    transition: padding-left 180ms ease;
}

body.has-sidebar.is-sidebar-collapsed {
    padding-left: 88px;
}

a {
    text-decoration: none;
}

.container {
    width: min(100%, 1280px);
    padding-inline: 18px;
}

.topbar {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    height: auto;
    position: sticky;
    top: 0;
    z-index: 20;
}

.topbar-inner {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    min-height: 76px;
}

.topbar-mobile-brand {
    display: none;
}

.top-actions {
    align-items: center;
    display: flex;
    gap: 16px;
    margin-left: auto;
}

.app-sidebar {
    background: var(--surface);
    border-right: 1px solid var(--line);
    bottom: 0;
    display: flex;
    flex-direction: column;
    left: 0;
    padding: 22px 16px;
    position: fixed;
    top: 0;
    transition: width 180ms ease;
    width: 264px;
    z-index: 40;
}

.is-sidebar-collapsed .app-sidebar {
    width: 88px;
}

.app-sidebar__brand {
    align-items: center;
    display: flex;
    min-height: 48px;
    padding: 0 8px 28px;
}

.brand {
    align-items: center;
    display: flex;
}

.brand-logo {
    display: block;
    height: 38px;
    width: auto;
}

.brand-logo--closed {
    display: none;
}

.participant-brand {
    color: var(--ink);
    display: block;
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.1;
    overflow: hidden;
    text-decoration: none;
    white-space: nowrap;
}

.is-sidebar-collapsed .participant-brand {
    max-width: 42px;
}

.is-sidebar-collapsed .app-sidebar .brand-logo--open {
    display: none;
}

.is-sidebar-collapsed .app-sidebar .brand-logo--closed {
    display: block;
}

.app-sidebar__nav {
    display: grid;
    gap: 8px;
}

.app-sidebar__nav a {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    color: #334155;
    display: flex;
    font-size: 0.86rem;
    font-weight: 800;
    gap: 12px;
    letter-spacing: 0.06em;
    min-height: 46px;
    overflow: hidden;
    padding: 0 14px;
    text-align: left;
    text-transform: uppercase;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
    width: 100%;
}

.app-sidebar__nav a:hover,
.app-sidebar__nav a.is-active {
    background: #fff7ed;
    border-color: rgba(255, 102, 0, 0.22);
    color: var(--blue);
}

.app-sidebar__nav svg {
    fill: none;
    flex: 0 0 22px;
    height: 22px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
    width: 22px;
}

.is-sidebar-collapsed .app-sidebar__nav a {
    justify-content: center;
    padding-inline: 8px;
}

.is-sidebar-collapsed .app-sidebar__nav a span {
    display: none;
}

.sidebar-toggle {
    background: #ffffff;
    border: 1px solid var(--line);
    cursor: pointer;
    display: inline-grid;
    gap: 4px;
    height: 40px;
    padding: 10px;
    place-content: center;
    width: 40px;
}

.sidebar-toggle span {
    background: #334155;
    display: block;
    height: 2px;
    transition: background 160ms ease;
    width: 18px;
}

.sidebar-toggle:hover span {
    background: var(--blue);
}

.notification-btn {
    background: transparent;
    border: 0;
    color: #94a3b8;
    cursor: pointer;
    display: inline-grid;
    height: 40px;
    place-items: center;
    position: relative;
    width: 40px;
}

.notification-btn svg {
    display: block;
    height: 24px;
    width: 24px;
}

.notification-btn.has-unread {
    color: var(--blue);
}

.notification-badge {
    background: var(--blue);
    border-radius: 999px;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 700;
    height: 16px;
    line-height: 16px;
    min-width: 16px;
    padding: 0 4px;
    position: absolute;
    right: -1px;
    text-align: center;
    top: 1px;
}

.notification-btn:hover {
    color: var(--blue);
}

.user-btn {
    background: transparent;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    display: grid;
    height: 40px;
    overflow: hidden;
    padding: 0;
    place-items: center;
    width: 40px;
}

.user-btn svg {
    fill: #64748b;
    width: 21px;
}

.user-btn img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.user-btn:hover svg {
    fill: var(--blue);
}

.profile-menu {
    position: relative;
}

.profile-menu-list {
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    min-width: 160px;
    padding: 8px;
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    z-index: 60;
}

.profile-menu-list a {
    color: var(--ink);
    display: block;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 11px 12px;
    text-transform: uppercase;
}

.profile-menu-list a:hover,
.profile-menu-list a:focus-visible {
    background: var(--theme-primary-soft);
    color: var(--blue);
    outline: 0;
}

.notification-modal {
    inset: 0;
    position: fixed;
    z-index: 200;
}

.notification-modal-backdrop {
    background: rgba(15, 23, 42, 0.35);
    inset: 0;
    position: absolute;
}

.notification-modal-panel {
    background: #ffffff;
    border: 1px solid #d8dee6;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.15);
    position: absolute;
    right: 22px;
    top: 86px;
    width: min(92vw, 360px);
}

.notification-modal-head {
    align-items: center;
    border-bottom: 1px solid #e6ebf1;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 14px;
}

.notification-modal-head h3 {
    color: var(--ink);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin: 0;
    text-transform: uppercase;
}

.notification-modal-close {
    background: transparent;
    border: 0;
    color: #64748b;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}

.notification-list {
    list-style: none;
    margin: 0;
    max-height: 360px;
    overflow-y: auto;
    padding: 0;
}

.notification-list li {
    border-bottom: 1px solid #f1f5f9;
}

.notification-list li:last-child {
    border-bottom: 0;
}

.notification-item.is-unread {
    background: #fff7ed;
}

.notification-item.is-read {
    background: #ffffff;
}

.notification-item-link {
    display: block;
    padding: 12px 14px;
}

.notification-item-top {
    align-items: flex-start;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.notification-item-top strong,
.notification-list strong {
    color: #0f172a;
    display: block;
    font-size: 0.8rem;
}

.notification-item-top strong {
    flex: 1;
    min-width: 0;
}

.notification-list p {
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.45;
    margin: 6px 0 0;
}

.notification-empty p {
    color: #94a3b8;
    font-size: 0.82rem;
    margin: 12px 14px;
}

.notification-view-all {
    background: #f8fafc;
    text-align: center;
}

.notification-view-all a {
    color: var(--blue);
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 10px 12px;
    text-transform: uppercase;
}

.notification-history-type {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    line-height: 1.25;
    padding: 3px 6px;
    text-transform: uppercase;
}

.notification-item-type {
    flex-shrink: 0;
    font-size: 0.5rem;
    letter-spacing: 0.045em;
    padding: 2px 5px;
}

.notification-history-type.is-update {
    background: #e0f2fe;
    color: #0369a1;
}

.notification-history-type.is-notice {
    background: #fff7ed;
    color: #c2410c;
}

.notification-history-type.is-ads,
.notification-history-type.is-announcement {
    background: #fef3c7;
    color: #92400e;
}

.notification-history-type.is-registration {
    background: #dcfce7;
    color: #15803d;
}

.notification-history-type.is-payment {
    background: #ede9fe;
    color: #6d28d9;
}

.notification-history-type.is-system {
    background: #f1f5f9;
    color: #475569;
}

.page-content {
    padding-bottom: 34px;
    padding-top: 56px;
}

.participant-hero {
    margin: 34px 0 38px;
}

.participant-hero p {
    color: var(--blue);
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.participant-breadcrumbs {
    align-items: center;
    color: #64748b;
    display: flex;
    font-size: 0.72rem;
    font-weight: 800;
    gap: 9px;
    letter-spacing: 0.14em;
    line-height: 1.2;
    margin: 0 0 14px;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    text-transform: uppercase;
    white-space: nowrap;
}

.participant-breadcrumbs a,
.participant-breadcrumbs span {
    flex: 0 0 auto;
}

.participant-breadcrumbs a {
    color: #64748b;
    text-decoration: none;
}

.participant-breadcrumbs a:hover,
.participant-breadcrumbs a:focus-visible {
    color: var(--blue);
    outline: none;
}

.participant-breadcrumbs span {
    color: #333333;
}

.participant-breadcrumbs svg {
    flex: 0 0 auto;
    fill: none;
    height: 12px;
    stroke: #94a3b8;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 12px;
}

.participant-breadcrumbs::-webkit-scrollbar {
    display: none;
}

.participant-breadcrumbs--profile {
    margin: 0 0 18px;
}

.participant-hero h1 {
    color: var(--ink);
    font-size: clamp(2rem, 4vw, 3.45rem);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 1.02;
    margin: 0 0 16px;
}

.participant-hero h1::after {
    background: var(--blue);
    content: "";
    display: block;
    height: 3px;
    margin-top: 24px;
    width: 96px;
}

.participant-hero > span {
    color: var(--muted);
    display: block;
    font-size: 1.02rem;
    line-height: 1.7;
    max-width: 760px;
}

.form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    padding: 12px 14px;
}

.form-success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0;
    padding: 12px 14px;
}

.perfil-card {
    background: #ffffff;
    border: 1px solid var(--line);
    margin: 0 auto;
    max-width: 900px;
    padding: 48px;
}

.perfil-back {
    align-items: center;
    color: var(--blue);
    display: inline-flex;
    font-size: 0.9rem;
    font-weight: 800;
    gap: 6px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.perfil-back svg {
    fill: currentColor;
    width: 16px;
}

.perfil-avatar-wrap {
    display: grid;
    margin-top: 28px;
    place-items: center;
    position: relative;
}

.perfil-avatar {
    border: 3px solid var(--line);
    border-radius: 9999px;
    height: 132px;
    object-fit: cover;
    width: 132px;
}

.perfil-avatar-edit {
    background: var(--blue);
    border: 1px solid var(--blue);
    border-radius: 9999px;
    bottom: -8px;
    cursor: pointer;
    display: grid;
    height: 42px;
    place-items: center;
    position: absolute;
    right: calc(50% - 66px);
    width: 42px;
}

.perfil-avatar-edit svg {
    fill: #ffffff;
    width: 16px;
}

.perfil-avatar-edit.is-confirm {
    background: #16a34a;
    border-color: #16a34a;
}

.perfil-card > .form-success,
.perfil-card > .form-error {
    margin-top: 14px;
}

.perfil-head {
    margin-top: 42px;
    text-align: center;
}

.perfil-head::before {
    color: var(--blue);
    content: "Área do participante";
    display: block;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    line-height: 1.2;
    margin: 0 0 18px;
    text-align: center;
    text-transform: uppercase;
}

.perfil-head h1 {
    color: var(--ink);
    font-size: clamp(1.55rem, 3.2vw, 2.35rem);
    font-weight: 900;
    letter-spacing: -0.07em;
    line-height: 0.98;
    margin: 0 auto;
    max-width: 430px;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
}

.perfil-head span {
    background: var(--blue);
    display: block;
    height: 4px;
    margin: 22px auto 0;
    width: 94px;
}

.perfil-head p {
    color: #969696;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.65;
    margin: 24px auto 0;
    max-width: 620px;
}

.perfil-form {
    margin-top: 34px;
}

.perfil-form-grid {
    display: grid;
    gap: 16px 20px;
    grid-template-columns: 1fr 1fr;
}

.perfil-field {
    margin-bottom: 14px;
}

.perfil-field-full {
    margin-bottom: 16px;
}

.perfil-field label {
    color: #64748b;
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 7px;
    text-transform: uppercase;
}

.perfil-field input {
    background: #ffffff;
    border: 1px solid var(--line);
    color: var(--ink);
    font: inherit;
    outline: 0;
    padding: 12px 14px;
    width: 100%;
}

.perfil-field input:focus {
    border-color: var(--blue);
}

.perfil-field input[readonly] {
    background: #f8fafc;
    color: #334155;
    pointer-events: none;
}

.perfil-actions {
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 18px;
    padding-top: 24px;
}

.perfil-btn {
    align-items: center;
    border: 1px solid #111827;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 800;
    gap: 8px;
    justify-content: center;
    letter-spacing: 0.1em;
    min-width: 190px;
    padding: 14px 26px;
    text-transform: uppercase;
}

.perfil-btn-cancel {
    background: #2d2f33;
    border-color: #2d2f33;
    color: #ffffff;
}

.perfil-btn-save {
    background: var(--blue);
    border-color: var(--blue);
    color: #ffffff;
}

.perfil-btn-save svg {
    fill: #ffffff;
    width: 15px;
}

.participant-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.participant-ad-banner {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 18px;
    margin-bottom: 22px;
    overflow: hidden;
}

.participant-ad-banner > a,
.participant-ad-banner picture,
.participant-registration-banner > a,
.participant-registration-banner picture {
    display: block;
}

.participant-ad-banner img {
    aspect-ratio: 6 / 1.55;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.participant-stats-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 38px;
}

.participant-stat-card {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    min-height: 132px;
    padding: 22px;
    text-align: center;
}

.participant-stat-icon {
    align-items: center;
    background: var(--theme-primary-soft);
    border-radius: 16px;
    color: var(--blue);
    display: inline-flex;
    flex: 0 0 auto;
    height: 52px;
    justify-content: center;
    width: 52px;
}

.participant-stat-icon svg {
    fill: none;
    height: 27px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 27px;
}

.participant-stat-icon--badge svg {
    fill: currentColor;
    stroke: none;
}

.participant-stat-card p {
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    line-height: 1.25;
    margin: 0 0 9px;
    text-align: center;
    text-transform: uppercase;
}

.participant-stat-card strong {
    color: var(--blue);
    display: block;
    font-size: clamp(1.8rem, 3vw, 2.75rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.95;
    margin: 0;
    text-align: center;
}

.participant-stat-card span:not(.participant-stat-icon) {
    color: #64748b;
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.45;
    margin-top: 10px;
    text-align: center;
}

.participant-events-section {
    display: grid;
    gap: 20px;
}

.participant-with-sidebar {
    align-items: start;
    display: grid;
    gap: 64px;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
}

.participant-with-sidebar__main {
    min-width: 0;
}

.participant-context-sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
    min-width: 0;
}

.participant-sidebar-text-card {
    background: #ffffff;
    border: 1px solid var(--line);
    padding: 40px;
}

.participant-sidebar-text-card > h2 {
    color: var(--ink);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin: 0 0 24px;
    text-transform: uppercase;
}

.participant-sidebar-text-card ul {
    display: flex;
    flex-direction: column;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.participant-sidebar-text-card li {
    align-items: flex-start;
    display: flex;
    gap: 12px;
}

.participant-sidebar-text-card li > svg {
    fill: var(--blue);
    flex: 0 0 20px;
    height: 20px;
    width: 20px;
}

.participant-sidebar-text-card h3 {
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin: 0;
    text-transform: uppercase;
}

.participant-sidebar-text-card p {
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.45;
    margin: 5px 0 0;
}

.participant-sidebar-image-card {
    aspect-ratio: 1 / 1;
    border: 1px solid var(--line);
    display: block;
    overflow: hidden;
    position: relative;
}

.participant-sidebar-image-card picture,
.participant-sidebar-image-card img {
    display: block;
    height: 100%;
    width: 100%;
}

.participant-sidebar-image-card img {
    filter: none;
    object-fit: cover;
}

.participant-section-head {
    align-items: end;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.participant-section-head p {
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.participant-section-head h2 {
    color: var(--ink);
    font-size: clamp(1.35rem, 2.8vw, 2.1rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
}

.participant-section-head a {
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.participant-events-list {
    display: grid;
    gap: 14px;
}

.participant-event-card {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--line);
    color: inherit;
    display: grid;
    gap: 18px;
    grid-template-columns: 96px minmax(0, 1fr) 34px;
    padding: 18px;
    text-decoration: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.participant-event-card:hover,
.participant-event-card:focus-visible {
    border-color: rgba(255, 102, 0, 0.45);
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
    outline: none;
    transform: translateY(-1px);
}

.participant-event-card img {
    aspect-ratio: 1 / 1;
    background: #f8fafc;
    border-radius: 14px;
    display: block;
    height: 96px;
    object-fit: cover;
    width: 96px;
}

.participant-event-card__body {
    min-width: 0;
}

.participant-event-status {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 9px;
    padding: 5px 9px;
    text-transform: uppercase;
}

.participant-event-status.is-confirmed {
    background: #dcfce7;
    color: #15803d;
}

.participant-event-status.is-finished {
    background: #f1f5f9;
    color: #475569;
}

.participant-event-status.is-pending {
    background: #fef3c7;
    color: #92400e;
}

.participant-event-status.is-canceled {
    background: #fee2e2;
    color: #b91c1c;
}

.participant-event-card h3 {
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 8px;
}

.participant-event-card p {
    color: #64748b;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.45;
    margin: 0;
}

.participant-results-count {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.4;
}

.participant-registration-card {
    align-items: center;
    grid-template-columns: minmax(240px, 1.25fr) minmax(170px, 0.9fr) minmax(170px, 0.85fr) minmax(160px, 0.75fr) 34px;
}

.participant-with-sidebar .participant-registration-card {
    gap: 14px;
    grid-template-columns: minmax(260px, 1.5fr) minmax(170px, 0.8fr) 24px;
    padding: 16px;
}

.participant-with-sidebar .participant-registration-event {
    gap: 12px;
    grid-template-columns: 66px minmax(0, 1fr);
}

.participant-with-sidebar .participant-registration-event img {
    height: 66px;
    width: 66px;
}

@media (max-width: 1280px) {
    .participant-with-sidebar .participant-registration-card {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .participant-with-sidebar {
        gap: 32px;
        grid-template-columns: 1fr;
    }
}

.participant-registration-event {
    align-items: center;
    display: grid;
    gap: 16px;
    grid-template-columns: 78px minmax(0, 1fr);
    min-width: 0;
}

.participant-registration-event img {
    height: 78px;
    width: 78px;
}

.participant-registration-event h3 {
    margin-bottom: 0;
}

.participant-registration-event-date {
    color: #94a3b8;
    font-size: 0.76rem;
    font-weight: 700;
    margin: 6px 0 0;
}

.participant-registration-owner-name {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 6px !important;
}

.participant-registration-column {
    min-width: 0;
}

.participant-registration-column > strong {
    color: #94a3b8;
    display: block;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1.2;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.participant-registration-column p {
    color: #64748b;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.participant-registration-column p + p {
    margin-top: 4px;
}

.participant-registration-column .participant-kit-badge {
    margin: 0 0 8px;
}

.participant-registration-kit-column {
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-self: center;
    text-align: center;
}

.participant-registration-meta {
    color: #64748b;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 9px;
}

.participant-registration-meta span {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.participant-kit-badge {
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    display: inline-flex;
    gap: 5px;
    margin-top: 10px;
    min-height: 26px;
    padding: 4px 8px;
    white-space: nowrap;
}

.participant-kit-badge svg {
    fill: currentColor;
    height: 14px;
    width: 14px;
}

.participant-kit-badge em {
    color: currentColor;
    font-size: 0.61rem;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.participant-kit-badge.is-basic {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #475569;
}

.participant-kit-badge.is-shirt {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #ea580c;
}

.participant-kit-badge.is-complete {
    background: #eef2ff;
    border-color: #c7d2fe;
    color: #1d4ed8;
}

.participant-event-arrow {
    color: #cbd5e1;
    display: grid;
    place-items: center;
}

.participant-event-arrow svg {
    fill: none;
    height: 28px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 28px;
}

.participant-pagination {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 8px;
}

.participant-registration-list-footer {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.participant-registration-list-footer .participant-results-count {
    text-align: center;
}

.participant-registration-list-footer .participant-pagination {
    margin-top: 0;
}

.participant-pagination a,
.participant-pagination span {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--line);
    color: #475569;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 900;
    height: 40px;
    justify-content: center;
    min-width: 40px;
    padding: 0 12px;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.participant-pagination a:hover,
.participant-pagination a:focus-visible {
    border-color: rgba(255, 102, 0, 0.45);
    color: var(--orange);
    outline: none;
}

.participant-pagination .is-active {
    background: var(--orange);
    border-color: var(--orange);
    color: #ffffff;
}

.participant-pagination .is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.participant-pagination svg {
    fill: none;
    height: 18px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.4;
    width: 18px;
}

.participant-detail-section {
    background: #ffffff;
    border: 1px solid var(--line);
    display: grid;
    gap: 22px;
    padding: 28px;
}

.participant-detail-hero-row {
    align-items: flex-start;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin: 0 0 42px;
}

.participant-detail-hero-row .participant-hero {
    margin: 0;
}

.participant-detail-head {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.participant-detail-head h2 {
    align-items: center;
    color: var(--ink);
    display: flex;
    flex-wrap: wrap;
    font-size: clamp(1.35rem, 2.4vw, 2rem);
    font-weight: 900;
    gap: 12px;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin: 0 0 7px;
}

.participant-detail-head h2 .participant-event-status {
    align-self: center;
    margin-bottom: 0;
    transform: translateY(1px);
}

.participant-detail-head p {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 800;
    margin: 0;
}

.participant-detail-table-wrap {
    border: 1px solid var(--line);
    overflow: hidden;
}

.participant-detail-table {
    border-collapse: collapse;
    width: 100%;
}

.participant-detail-table th,
.participant-detail-table td {
    border-bottom: 1px solid var(--line);
    padding: 17px 20px;
    text-align: left;
    vertical-align: middle;
}

.participant-detail-table tr:last-child th,
.participant-detail-table tr:last-child td {
    border-bottom: 0;
}

.participant-detail-table th {
    background: #f8fafc;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    width: 220px;
}

.participant-detail-table td {
    color: #334155;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.55;
}

.participant-detail-table .participant-kit-badge {
    margin: 0 0 8px;
}

.participant-payment-row {
    align-items: center;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.participant-payment-row__actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-end;
}

.participant-payment-row__actions form {
    margin: 0;
}

.participant-link-button,
.participant-proof-button {
    align-items: center;
    background: #ffffff;
    border: 1px solid var(--line);
    color: var(--blue);
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 900;
    justify-content: center;
    letter-spacing: 0.08em;
    min-height: 42px;
    padding: 0 16px;
    text-decoration: none;
    text-transform: uppercase;
    transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.participant-link-button:hover,
.participant-link-button:focus-visible,
.participant-proof-button:hover,
.participant-proof-button:focus-visible {
    background: #fff7ed;
    border-color: rgba(255, 102, 0, 0.38);
    color: var(--orange);
    outline: none;
}

.participant-proof-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.participant-proof-button--secondary {
    color: var(--theme-secondary);
}

.participant-detail-empty-value {
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.5;
}

.participant-history-link {
    background: transparent;
    border: 0;
    color: var(--theme-primary);
    cursor: pointer;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.participant-detail-return-button,
.participant-detail-return-button:visited {
    align-items: center;
    background: var(--blue);
    border: 1px solid var(--blue);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 700;
    gap: 10px;
    justify-content: center;
    letter-spacing: 0.08em;
    margin-top: 14px;
    padding: 16px;
    text-decoration: none;
    text-transform: uppercase;
    min-width: 280px;
    width: auto;
}

.participant-detail-return-button:hover,
.participant-detail-return-button:focus-visible {
    background: var(--theme-primary-hover);
    border-color: var(--theme-primary-hover);
    color: #fff;
    outline: none;
}

.participant-history-link:hover,
.participant-history-link:focus-visible {
    color: var(--blue);
    outline: none;
}

.participant-history-modal[hidden] {
    display: none;
}

.participant-history-modal {
    inset: 0;
    position: fixed;
    z-index: 200;
}

.participant-history-modal__backdrop {
    background: rgba(15, 23, 42, 0.42);
    inset: 0;
    position: absolute;
}

.participant-history-modal__dialog {
    background: #ffffff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
    left: 50%;
    max-width: min(560px, calc(100vw - 36px));
    padding: 30px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
}

.participant-history-modal__dialog > p {
    color: var(--orange);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.participant-history-modal__dialog h2 {
    color: var(--ink);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin: 0 44px 22px 0;
}

.participant-history-modal__close {
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--line);
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    font-size: 1.6rem;
    height: 40px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
}

.participant-history-modal__close:hover,
.participant-history-modal__close:focus-visible {
    color: var(--orange);
    outline: none;
}

.participant-history-table th,
.participant-history-table td {
    padding-bottom: 12px;
    padding-top: 12px;
}

.is-payment-history-open {
    overflow: hidden;
}

.participant-back-link {
    color: var(--blue);
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    margin-top: 24px;
    text-decoration: none;
    text-transform: uppercase;
}

.participant-back-link:hover,
.participant-back-link:focus-visible {
    color: var(--orange);
    outline: none;
}

.participant-card,
.participant-empty {
    background: var(--surface);
    border: 1px solid var(--line);
    padding: 28px;
}

.participant-card span {
    color: var(--participant-green);
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    margin-bottom: 18px;
}

.participant-card h2,
.participant-empty strong {
    color: var(--ink);
    display: block;
    font-size: 1.25rem;
    line-height: 1.25;
    margin: 0 0 12px;
}

.participant-card p,
.participant-empty p {
    color: #64748b;
    line-height: 1.65;
    margin: 0;
}

.participant-button {
    background: var(--blue);
    color: #ffffff;
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 14px 18px;
    text-decoration: none;
    text-transform: uppercase;
}

.participant-contact-shell {
    background: #ffffff;
    border: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-width: 0;
}

.participant-contact-left,
.participant-contact-right {
    min-width: 0;
    padding: 64px;
}

.participant-contact-right {
    background: #f8fafc;
    border-left: 1px solid var(--line);
    display: flex;
    flex-direction: column;
}

.participant-contact-right h3 {
    color: var(--ink);
    font-size: clamp(0.9rem, 1.6vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

.participant-contact-form {
    display: flex;
    flex-direction: column;
    font-size: 16px;
    gap: 18px;
    margin-top: 0;
}

.participant-contact-field label {
    color: var(--text);
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.participant-contact-field input,
.participant-contact-field textarea {
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    color: #374151;
    font: inherit;
    outline: 0;
    padding: 16px;
    width: 100%;
}

.participant-contact-field input:focus,
.participant-contact-field textarea:focus {
    border-color: var(--blue);
}

.participant-contact-field textarea {
    min-height: 150px;
    resize: vertical;
}

.participant-contact-send {
    background: var(--blue);
    border: 1px solid var(--blue);
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-top: 8px;
    padding: 16px;
    text-transform: uppercase;
    width: 100%;
}

.participant-contact-send:hover,
.participant-contact-send:focus-visible {
    background: var(--theme-primary-hover);
    border-color: var(--theme-primary-hover);
    outline: none;
}

.participant-contact-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    list-style: none;
    margin: 36px 0 0;
    padding: 0;
}

.participant-contact-list li,
.participant-contact-item-link {
    align-items: center;
    color: inherit;
    display: flex;
    gap: 16px;
    min-width: 0;
    text-decoration: none;
}

.participant-contact-item-link:hover p,
.participant-contact-item-link:focus-visible p {
    color: var(--blue);
}

.participant-social-icon {
    display: inline-grid;
    flex: 0 0 auto;
    height: 56px;
    place-items: center;
    width: 56px;
}

.participant-social-icon svg {
    fill: var(--blue);
    width: 32px;
}

.participant-contact-list small {
    color: #94a3b8;
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.participant-contact-list p {
    color: var(--text);
    font-size: clamp(0.95rem, 1vw, 1.25rem);
    font-weight: 500;
    margin: 4px 0 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.participant-contact-list-email p {
    font-size: clamp(0.72rem, 0.86vw, 0.98rem);
    overflow-wrap: normal;
    white-space: nowrap;
    word-break: normal;
}

.footer {
    border-top: 1px solid var(--line);
    margin-top: 64px;
    padding: 36px 0;
}

.footer-inner {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.footer p,
.footer a {
    color: var(--muted);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.11em;
    margin: 0;
    text-transform: uppercase;
}

.footer a:hover {
    color: var(--blue);
}

.footer-links {
    display: flex;
    gap: 26px;
}

.footer-mobile-break {
    display: none;
}

@media (max-width: 760px) {
    .participant-login-page {
        grid-template-columns: 1fr;
    }

    .participant-login-card {
        margin: 18px;
        width: calc(100% - 36px);
    }

    .participant-login-visual {
        display: none;
    }

    .has-mobile-login-visual .panel-login-visual {
        display: block;
        min-height: 260px;
        margin-top: 24px;
    }

    body.has-sidebar,
    body.has-sidebar.is-sidebar-collapsed {
        padding-left: 88px;
    }

    .app-sidebar,
    .is-sidebar-collapsed .app-sidebar {
        overflow: hidden;
        width: 88px;
    }

    .topbar-mobile-brand {
        display: flex;
    }

    .topbar-mobile-brand .brand-logo {
        height: 34px;
    }

    .app-sidebar__nav a {
        justify-content: center;
        padding-inline: 8px;
    }

    .app-sidebar__nav a span,
    .participant-brand {
        display: none;
    }

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

    .participant-ad-banner {
        margin-bottom: 18px;
    }

    .participant-ad-banner img {
        aspect-ratio: 16 / 7;
    }

    .participant-stats-grid {
        grid-template-columns: 1fr;
        margin-bottom: 34px;
    }

    .participant-stat-card {
        min-height: 0;
        padding: 18px;
    }

    .participant-section-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .participant-results-count {
        font-size: 0.72rem;
    }

    .participant-events-list {
        gap: 16px;
    }

    .participant-event-card {
        gap: 14px;
        grid-template-columns: 76px minmax(0, 1fr);
        padding: 14px;
    }

    .participant-registration-card {
        align-items: flex-start;
        grid-template-columns: 1fr;
    }

    .participant-with-sidebar .participant-registration-card {
        grid-template-columns: 1fr;
    }

    .participant-event-card img {
        height: 76px;
        width: 76px;
    }

    .participant-registration-event {
        grid-template-columns: 76px minmax(0, 1fr);
        width: 100%;
    }

    .participant-registration-event img {
        height: 76px;
        width: 76px;
    }

    .participant-registration-column {
        padding-left: 90px;
    }

    .participant-registration-kit-column {
        justify-self: stretch;
        padding-left: 0;
        width: 100%;
    }

    .participant-registration-column > strong {
        font-size: 0.58rem;
        margin-bottom: 6px;
    }

    .participant-registration-column p {
        font-size: 0.74rem;
    }

    .participant-event-card__body {
        align-self: center;
    }

    .participant-event-card h3 {
        font-size: 0.98rem;
    }

    .participant-event-card p {
        font-size: 0.76rem;
    }

    .participant-registration-meta {
        gap: 5px 10px;
        margin-top: 10px;
    }

    .participant-registration-meta span {
        font-size: 0.64rem;
    }

    .participant-kit-badge em {
        font-size: 0.58rem;
    }

    .participant-event-arrow {
        display: none;
    }

    .participant-pagination {
        gap: 6px;
    }

    .participant-pagination a,
    .participant-pagination span {
        height: 36px;
        min-width: 36px;
        padding: 0 10px;
    }

    .participant-contact-shell {
        background: transparent;
        border: 0;
        gap: 28px;
        grid-template-columns: 1fr;
    }

    .participant-contact-left,
    .participant-contact-right {
        background: #ffffff;
        border: 1px solid var(--line);
        padding: 24px 16px;
    }

    .participant-contact-right {
        background: #f8fafc;
    }

    .participant-contact-list li,
    .participant-contact-item-link {
        align-items: flex-start;
        gap: 12px;
    }

    .participant-contact-list p {
        font-size: 1rem;
    }

    .participant-contact-list-email p {
        font-size: 0.84rem;
    }

    .participant-detail-section {
        padding: 18px;
    }

    .participant-with-sidebar {
        gap: 32px;
    }

    .participant-sidebar-text-card {
        padding: 24px;
    }

    .participant-detail-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .participant-detail-hero-row {
        flex-direction: column;
        gap: 18px;
        margin-bottom: 32px;
    }

    .participant-link-button {
        width: 100%;
    }

    .participant-detail-return-button {
        min-width: 0;
        width: 100%;
    }

    .participant-payment-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    .participant-detail-table th,
    .participant-detail-table td {
        font-size: 0.72rem;
        padding: 12px 14px;
    }

    .participant-detail-table th {
        font-size: 0.5rem;
        letter-spacing: 0.06em;
        width: 112px;
    }

    .participant-back-link {
        font-size: 0.7rem;
        margin-top: 18px;
    }

    .participant-history-modal__dialog {
        padding: 24px 18px;
    }

    .participant-history-modal__dialog h2 {
        font-size: 1.12rem;
    }

    .footer-inner {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .footer p {
        line-height: 1.55;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-mobile-break {
        display: inline;
    }
}

/* Sidebar refinements shared with the other panel levels. */
body.has-sidebar {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: padding-left 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

body.has-sidebar > main {
    flex: 1 0 auto;
}

body.has-sidebar > .footer,
body.has-sidebar > .topbar {
    flex: 0 0 auto;
}

/* Unified page heading pattern shared by participant pages. */
.page-content > .participant-hero {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 0 42px;
    padding: 0;
}

.page-content > .participant-hero p {
    color: var(--orange, var(--blue));
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    line-height: 1.2;
    margin: 0 0 14px;
    text-transform: uppercase;
}

.page-content > .participant-hero h1 {
    color: var(--ink);
    font-size: clamp(1.55rem, 3.2vw, 2.35rem);
    font-weight: 900;
    letter-spacing: -0.07em;
    line-height: 0.98;
    margin: 0;
    max-width: 980px;
    text-transform: uppercase;
}

.page-content > .participant-hero h1::after {
    background: var(--orange, var(--blue));
    content: "";
    display: block;
    height: 4px;
    margin-top: 22px;
    width: 94px;
}

.page-content > .participant-hero > span {
    color: #969696;
    display: block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.65;
    margin: 24px 0 0;
    max-width: 780px;
}

.participant-public-site-link {
    align-items: center;
    background: var(--theme-primary);
    border: 1px solid var(--theme-primary);
    border-radius: 8px;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.72rem;
    font-weight: 900;
    gap: 7px;
    letter-spacing: 0.08em;
    margin: 0;
    padding: 10px 13px;
    position: absolute;
    right: 0;
    text-decoration: none;
    text-transform: uppercase;
    top: 0;
}

.participant-public-site-link svg {
    fill: none;
    height: 15px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 15px;
}

.participant-public-site-link:hover,
.participant-public-site-link:focus-visible {
    background: var(--theme-primary-hover);
    border-color: var(--theme-primary-hover);
    color: #ffffff;
    outline: none;
    text-decoration: none;
}

@media (max-width: 760px) {
    .page-content > .participant-hero {
        margin-bottom: 32px;
    }

    .participant-public-site-link {
        align-self: flex-start;
        margin-top: 22px;
        position: static;
    }

    .page-content > .participant-hero h1 {
        font-size: clamp(1.55rem, 8vw, 2.15rem);
    }
}

@media (max-width: 900px) {
    body.has-sidebar,
    body.has-sidebar.is-sidebar-collapsed {
        padding-bottom: 92px;
        padding-left: 0;
    }

    body.has-sidebar .page-content {
        padding-top: 34px;
    }

    .perfil-card {
        box-sizing: border-box;
        max-width: 100%;
        padding: 24px 18px;
        width: 100%;
    }

    .perfil-form-grid {
        grid-template-columns: 1fr;
    }

    .perfil-actions {
        flex-direction: column;
    }

    .perfil-btn {
        width: 100%;
    }

    .app-sidebar,
    .is-sidebar-collapsed .app-sidebar {
        background: #ffffff;
        border-right: 0;
        border-top: 1px solid var(--line);
        bottom: 0;
        box-shadow: 0 -14px 34px rgba(15, 23, 42, 0.08);
        height: 76px;
        left: 0;
        overflow: hidden;
        padding: 0;
        position: fixed;
        right: 0;
        top: auto;
        width: 100%;
        z-index: 80;
    }

    .app-sidebar__brand {
        display: none;
    }

    .app-sidebar__nav {
        align-items: stretch;
        display: flex;
        gap: 0;
        height: 100%;
        margin: 0;
        overflow-x: auto;
        padding: 0 10px;
        scrollbar-width: none;
    }

    .app-sidebar__nav::-webkit-scrollbar {
        display: none;
    }

    .app-sidebar__nav a {
        align-items: center;
        background: transparent;
        border: 0;
        color: #64748b;
        display: flex;
        flex: 1 0 72px;
        flex-direction: column;
        font-size: 0.58rem;
        font-weight: 900;
        gap: 5px;
        height: 100%;
        justify-content: center;
        letter-spacing: 0.04em;
        min-height: 0;
        min-width: 72px;
        padding: 8px 6px;
        text-align: center;
        text-transform: uppercase;
        width: auto;
    }

    .app-sidebar__nav a svg {
        flex: 0 0 auto;
        height: 21px;
        width: 21px;
    }

    .app-sidebar__nav a span,
    .is-sidebar-collapsed .app-sidebar__nav a span {
        display: inline-block;
        max-width: 82px;
        opacity: 1;
        overflow: hidden;
        text-overflow: ellipsis;
        transform: none;
        white-space: nowrap;
    }

    .app-sidebar__nav a:hover,
    .app-sidebar__nav a.is-active {
        background: var(--theme-primary-soft);
        color: var(--blue);
    }

    .sidebar-toggle {
        display: none;
    }
}

/* Match leader content headings exactly. */
body.has-sidebar .page-content > .participant-hero {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0 0 42px;
    padding: 0;
    position: relative;
}

body.has-sidebar .page-content > .participant-hero p {
    color: var(--theme-primary);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    line-height: 1.2;
    margin: 0 0 14px;
    text-transform: uppercase;
}

body.has-sidebar .page-content > .participant-hero h1 {
    color: #333333;
    font-size: clamp(1.55rem, 3.2vw, 2.35rem);
    font-weight: 900;
    letter-spacing: -0.07em;
    line-height: 0.98;
    margin: 0;
    max-width: 980px;
    text-transform: uppercase;
}

body.has-sidebar .page-content > .participant-hero h1::after {
    background: var(--theme-primary);
    content: "";
    display: block;
    height: 4px;
    margin-top: 22px;
    width: 94px;
}

body.has-sidebar .page-content > .participant-hero > span {
    color: #969696;
    display: block;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.65;
    margin: 24px 0 0;
    max-width: 780px;
}

.participant-mobile-nav {
    display: none;
}

@media (max-width: 760px) {
    body.has-sidebar .page-content > .participant-hero {
        margin-bottom: 32px;
    }

    body.has-sidebar .page-content > .participant-hero h1 {
        font-size: clamp(1.55rem, 8vw, 2.15rem);
    }
}

/* Match the shared sidebar finish used by the other panels. */
.app-sidebar {
    box-shadow: 18px 0 40px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition: width 280ms cubic-bezier(0.22, 1, 0.36, 1), padding 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.app-sidebar__nav {
    gap: 4px;
    margin-inline: -16px;
}

.app-sidebar__nav a {
    border: 0;
    gap: 12px;
    min-height: 48px;
    overflow: hidden;
    padding: 0 22px;
    position: relative;
    transition: background-color 180ms ease, color 180ms ease, padding 280ms cubic-bezier(0.22, 1, 0.36, 1);
    width: 100%;
}

.app-sidebar__nav a:hover,
.app-sidebar__nav a.is-active {
    background: var(--theme-primary-soft);
    border-color: transparent;
    color: var(--blue);
}

.app-sidebar__nav svg {
    flex: 0 0 21px;
    height: 21px;
    width: 21px;
}

.app-sidebar__nav a span {
    display: inline-block;
    max-width: 190px;
    opacity: 1;
    overflow: hidden;
    transform: translateX(0);
    transition: max-width 260ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease, transform 220ms ease;
    white-space: nowrap;
}

.participant-sidebar-group {
    margin: 0;
}

.participant-sidebar-group > summary {
    align-items: center;
    background: transparent;
    border: 0;
    box-sizing: border-box;
    color: #334155;
    cursor: pointer;
    display: flex;
    font-size: 0.86rem;
    font-weight: 800;
    gap: 12px;
    letter-spacing: 0.06em;
    min-height: 48px;
    padding: 0 22px;
    text-align: left;
    text-transform: uppercase;
    transition: background-color 180ms ease, color 180ms ease;
    user-select: none;
    width: 100%;
}

.participant-sidebar-group > summary::-webkit-details-marker {
    display: none;
}

.participant-sidebar-group > summary::marker {
    content: "";
}

.participant-sidebar-group > summary:hover,
.participant-sidebar-group > summary.is-active {
    background: var(--theme-primary-soft);
    color: var(--blue);
}

.participant-sidebar-group > summary > svg:first-child {
    flex: 0 0 21px;
    height: 21px;
    width: 21px;
}

.participant-sidebar-group > summary > span {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.app-sidebar__nav .participant-sidebar-group__indicator {
    flex: 0 0 16px;
    height: 16px;
    transition: transform 180ms ease;
    width: 16px;
}

.participant-sidebar-group[open] .participant-sidebar-group__indicator {
    transform: rotate(90deg);
}

.participant-sidebar-subnav {
    display: grid;
    padding: 3px 0 7px;
}

.app-sidebar__nav .participant-sidebar-subnav a {
    font-size: 0.68rem;
    min-height: 38px;
    padding-left: 55px;
}

.is-sidebar-collapsed .app-sidebar__nav a {
    gap: 0;
    justify-content: center;
    padding-inline: 0;
}

.is-sidebar-collapsed .app-sidebar__nav a span {
    display: inline-block;
    max-width: 0;
    opacity: 0;
    transform: translateX(-8px);
}

.is-sidebar-collapsed .participant-sidebar-group > summary {
    justify-content: center;
    padding-inline: 0;
}

.is-sidebar-collapsed .participant-sidebar-group > summary > span,
.is-sidebar-collapsed .participant-sidebar-group__indicator,
.is-sidebar-collapsed .participant-sidebar-subnav {
    display: none;
}

.sidebar-toggle {
    border-radius: 12px;
    transition: border-color 180ms ease, background-color 180ms ease;
}

.sidebar-toggle span {
    transform-origin: center;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), opacity 160ms ease, background-color 180ms ease;
}

body:not(.is-sidebar-collapsed) .sidebar-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

body:not(.is-sidebar-collapsed) .sidebar-toggle span:nth-child(2) {
    opacity: 0;
}

body:not(.is-sidebar-collapsed) .sidebar-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 900px) {
    .app-sidebar__nav {
        gap: 0;
        margin: 0;
    }

    .app-sidebar__nav a {
        border: 0;
        flex: 1 0 72px;
        min-height: 0;
        padding: 8px 6px;
        width: auto;
    }

    .app-sidebar__nav a span,
    .is-sidebar-collapsed .app-sidebar__nav a span {
        display: inline-block;
        max-width: 82px;
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 900px) {
    .participant-body .app-sidebar__nav {
        display: none;
    }

    .participant-body .app-sidebar,
    .participant-body.is-sidebar-collapsed .app-sidebar {
        align-items: stretch;
        background: #ffffff;
        border-right: 0;
        border-top: 1px solid var(--line);
        bottom: 0;
        box-shadow: 0 -14px 34px rgba(15, 23, 42, 0.08);
        height: 76px;
        left: 0;
        overflow: hidden;
        padding: 0;
        position: fixed;
        right: 0;
        top: auto;
        width: 100%;
        z-index: 80;
    }

    .participant-mobile-nav {
        align-items: center;
        display: grid;
        gap: 0;
        grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr);
        height: 100%;
        padding: 0 18px;
        width: 100%;
    }

    .participant-mobile-nav > a,
    .participant-mobile-more > button {
        align-items: center;
        background: transparent;
        border: 0;
        color: #64748b;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        font: inherit;
        gap: 4px;
        height: 100%;
        justify-content: center;
        min-width: 0;
        padding: 8px 6px;
        position: relative;
        text-align: center;
        text-transform: uppercase;
        width: 100%;
        z-index: 1;
    }

    .participant-mobile-nav > a svg,
    .participant-mobile-more > button svg {
        fill: none;
        flex: 0 0 auto;
        height: 18px;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.9;
        width: 18px;
    }

    .participant-mobile-nav > a span,
    .participant-mobile-more > button span {
        display: inline-block;
        font-size: 0.5rem;
        font-weight: 900;
        letter-spacing: 0.04em;
        line-height: 1;
        max-width: none;
        overflow: visible;
        text-overflow: clip;
        white-space: nowrap;
    }

    .participant-mobile-nav > a:hover,
    .participant-mobile-nav > a.is-active,
    .participant-mobile-more > button:hover,
    .participant-mobile-more > button.is-active,
    .participant-mobile-more.is-open > button {
        background: var(--theme-primary-soft);
        color: var(--orange);
    }

    .participant-mobile-nav__primary,
    .participant-mobile-nav__primary:hover,
    .participant-mobile-nav__primary.is-active {
        background: transparent !important;
        color: #ffffff !important;
        isolation: isolate;
        overflow: visible;
        padding: 8px 0 !important;
        position: relative;
        z-index: 6;
    }

    .participant-mobile-nav__primary::before {
        aspect-ratio: 1 / 1;
        background: var(--orange);
        border-radius: 999px;
        box-shadow: 0 10px 24px rgba(255, 102, 0, 0.28);
        content: "";
        height: 90px;
        left: 50%;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 0;
    }

    .participant-mobile-nav__primary svg,
    .participant-mobile-nav__primary span {
        position: relative;
        z-index: 1;
    }

    .participant-mobile-more {
        height: 100%;
        position: relative;
        z-index: 1;
    }

    .participant-mobile-more__menu {
        background: #ffffff;
        border: 1px solid var(--line);
        box-shadow: 0 -18px 42px rgba(15, 23, 42, 0.14);
        display: grid;
        min-width: 210px;
        padding: 8px;
        position: fixed;
        right: 18px;
        bottom: 88px;
        z-index: 2;
    }

    .participant-mobile-more__menu[hidden] {
        display: none;
    }

    .participant-mobile-more__menu a {
        align-items: center;
        color: #334155;
        display: flex;
        font-size: 0.72rem;
        font-weight: 900;
        gap: 10px;
        letter-spacing: 0.06em;
        min-height: 42px;
        padding: 0 12px;
        text-transform: uppercase;
    }

    .participant-mobile-more__menu a svg {
        fill: none;
        flex: 0 0 19px;
        height: 18px;
        stroke: currentColor;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 1.9;
        width: 18px;
    }

    .participant-mobile-more__menu a:hover,
    .participant-mobile-more__menu a.is-active {
        background: var(--theme-primary-soft);
        color: var(--orange);
    }
}

/* Keep the mobile topbar aligned with the other panels. */
.topbar .user-btn {
    border-radius: 999px;
    flex: 0 0 40px;
    height: 40px;
    overflow: hidden;
    padding: 0;
    width: 40px;
}

.topbar .user-btn img {
    border-radius: inherit;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.participant-registration {
    display: grid;
    gap: 24px;
}

.participant-registration-layout {
    align-items: start;
    display: grid;
    gap: 26px;
    grid-template-columns: minmax(0, 1.42fr) minmax(300px, 1fr);
}

.participant-registration-banner {
    border-radius: 20px;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    margin: 0;
    overflow: hidden;
}

.participant-registration-banner img {
    aspect-ratio: 16 / 5;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

@media (min-width: 901px) {
    .managed-banner--hide-desktop,
    .managed-content--hide-desktop {
        display: none !important;
    }
}

.participant-registration-notice {
    align-items: center;
    background: #fff8ed;
    border: 1px solid #fed7aa;
    color: #7c3e00;
    display: grid;
    gap: 18px;
    grid-template-columns: auto 1fr;
    padding: 22px 24px;
}

.participant-registration-notice__icon {
    align-items: center;
    background: rgba(255, 102, 0, 0.1);
    border-radius: 999px;
    color: var(--blue);
    display: inline-flex;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.participant-registration-notice__icon svg {
    fill: none;
    height: 25px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    width: 25px;
}

.participant-registration-notice p {
    color: #7c3e00;
    font-size: 0.94rem;
    font-weight: 600;
    line-height: 1.65;
    margin: 0;
}

.participant-registration-notice p + p {
    margin-top: 10px;
}

.participant-registration-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: clamp(22px, 3vw, 34px);
}

.participant-registration-card h2 {
    align-items: center;
    color: var(--ink);
    display: flex;
    font-size: clamp(1.05rem, 1.45vw, 1.45rem);
    font-weight: 800;
    gap: 8px;
    margin: 0;
    text-transform: uppercase;
}

.participant-registration-card h2 svg {
    fill: var(--blue);
    width: 20px;
}

.participant-registration-owner {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 22px;
}

.participant-owner-option {
    background: transparent;
    border: 0;
    cursor: pointer;
    display: block;
    min-width: 0;
    padding: 0;
}

.participant-owner-option span {
    align-items: center;
    background: #ffffff;
    border: 1px solid #d8dee6;
    color: #64748b;
    display: flex;
    font-size: 0.72rem;
    font-weight: 800;
    justify-content: center;
    letter-spacing: 0.09em;
    min-height: 46px;
    padding: 12px 14px;
    text-align: center;
    text-transform: uppercase;
    transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.participant-owner-option[aria-selected="true"] span {
    background: var(--theme-primary-soft);
    border-color: var(--blue);
    box-shadow: inset 0 -3px 0 var(--blue);
    color: var(--blue);
}

.participant-owner-option:focus-visible span {
    outline: 3px solid rgba(255, 102, 0, 0.18);
    outline-offset: 2px;
}

.participant-third-party-lookup:not([hidden]) {
    background: #f8fafc;
    border: 1px solid #d8dee6;
    display: grid;
    gap: 12px;
    margin-top: 18px;
    padding: 18px;
}

.participant-third-party-lookup[hidden],
.participant-ins-form[hidden] {
    display: none !important;
}

.participant-third-party-message {
    color: #64748b;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.55;
    margin: 0;
}

.participant-third-party-message:empty {
    display: none;
}

.participant-third-party-message.is-loading {
    color: #64748b;
}

.participant-third-party-message.is-success {
    color: #15803d;
}

.participant-third-party-message.is-error {
    color: #b91c1c;
}

.participant-third-party-found {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #166534;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.55;
    margin: 0;
    padding: 12px 14px;
}

.participant-third-party-found strong {
    color: #14532d;
}

.participant-registration-existing:not([hidden]) {
    align-items: center;
    background: #fffaf0;
    border: 1px solid #f3dfb3;
    color: #7c4a03;
    display: flex;
    gap: 16px;
    margin-top: 20px;
    padding: 18px;
}

.participant-registration-existing__icon {
    align-items: center;
    background: #fff2cf;
    border-radius: 50%;
    display: flex;
    flex: 0 0 42px;
    height: 42px;
    justify-content: center;
}

.participant-registration-existing__icon svg {
    fill: none;
    height: 22px;
    stroke: #b56b00;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    width: 22px;
}

.participant-registration-existing strong {
    color: #8a5100;
    display: block;
    font-size: 0.88rem;
    line-height: 1.4;
}

.participant-registration-existing p {
    color: #8b6a35;
    font-size: 0.78rem;
    line-height: 1.55;
    margin: 5px 0 0;
}

.participant-registration-existing p.is-emphasis {
    color: #8a5100;
    font-weight: 700;
}

.participant-registration-existing a {
    color: var(--blue);
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-top: 10px;
    text-decoration: none;
    text-transform: uppercase;
}

.participant-registration-existing [hidden] {
    display: none !important;
}

.participant-registration-existing a:hover {
    color: #d95700;
}

.participant-ins-form {
    margin-top: 22px;
}

.participant-ins-form-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr;
}

.participant-ins-field label {
    color: #64748b;
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.participant-ins-field input,
.participant-ins-field select {
    background: #fff;
    border: 1px solid #d8dee6;
    color: #475569;
    font: inherit;
    outline: 0;
    padding: 12px 14px;
    width: 100%;
}

.participant-ins-field select:disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
}

.participant-ins-field input:focus,
.participant-ins-field select:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.1);
}

.participant-ins-extra {
    border-top: 1px solid #dfe5ed;
    margin-top: 28px;
    padding-top: 20px;
}

.participant-ins-extra h3 {
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.participant-extra-item {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #d8dee6;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 14px 16px;
}

.participant-extra-left {
    align-items: center;
    display: flex;
    gap: 12px;
}

.participant-extra-icon {
    display: inline-grid;
    flex-shrink: 0;
    height: 40px;
    place-items: center;
    width: 40px;
}

.participant-extra-icon svg {
    fill: #8fa0b3;
    width: 22px;
}

.participant-extra-icon img {
    height: 100%;
    object-fit: contain;
    width: 100%;
}

.participant-extra-left strong {
    color: var(--ink);
    display: block;
    font-size: clamp(0.88rem, 1vw, 1rem);
}

.participant-extra-left small {
    color: #64748b;
    display: block;
    font-size: 0.66rem;
    text-transform: uppercase;
}

.participant-toggle {
    display: inline-flex;
    height: 30px;
    position: relative;
    width: 54px;
}

.participant-toggle input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.participant-toggle span {
    background: #cbd5e1;
    border: 1px solid #b9c4d2;
    border-radius: 999px;
    height: 30px;
    position: relative;
    transition: all 0.2s ease;
    width: 54px;
}

.participant-toggle span::after {
    background: #fff;
    border-radius: 999px;
    content: "";
    height: 22px;
    left: 3px;
    position: absolute;
    top: 3px;
    transition: transform 0.2s ease;
    width: 22px;
}

.participant-toggle input:checked + span {
    background: var(--blue);
    border-color: var(--blue);
}

.participant-toggle input:checked + span::after {
    transform: translateX(24px);
}

.participant-toggle input:disabled + span {
    background: #e2e8f0;
    border-color: #d1d9e4;
    cursor: not-allowed;
    opacity: 0.75;
}

.participant-shirt-size-field {
    margin-bottom: 12px;
}

.participant-withdrawal-field {
    margin-bottom: 22px;
}

.participant-ins-total {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #d8dee6;
    display: flex;
    justify-content: space-between;
    margin: 8px 0 10px;
    padding: 12px 14px;
}

.participant-ins-total p {
    color: #64748b;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0;
    text-transform: uppercase;
}

.participant-ins-total strong {
    color: var(--ink);
    font-size: 1.1rem;
    font-weight: 800;
}

.participant-regulation-agreement {
    align-items: center;
    background: #fff;
    border: 1px solid #d8dee6;
    color: #64748b;
    cursor: pointer;
    display: flex;
    gap: 12px;
    line-height: 1.55;
    margin-top: 18px;
    padding: 14px 16px;
}

.participant-regulation-agreement input {
    height: 1px;
    opacity: 0;
    position: absolute;
    width: 1px;
}

.participant-regulation-check {
    align-items: center;
    background: #fff;
    border: 1px solid #cbd5e1;
    display: inline-flex;
    flex: 0 0 22px;
    height: 22px;
    justify-content: center;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
    width: 22px;
}

.participant-regulation-check svg {
    fill: none;
    opacity: 0;
    stroke: #fff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    transition: opacity 180ms ease;
    width: 14px;
}

.participant-regulation-agreement input:checked + .participant-regulation-check {
    background: var(--blue);
    border-color: var(--blue);
}

.participant-regulation-agreement input:checked + .participant-regulation-check svg {
    opacity: 1;
}

.participant-regulation-agreement input:focus-visible + .participant-regulation-check {
    box-shadow: 0 0 0 3px rgba(255, 102, 0, 0.16);
}

.participant-regulation-text {
    color: #64748b;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.participant-regulation-text a {
    color: var(--blue);
    font-weight: 900;
    text-decoration: none;
}

.participant-regulation-text a:hover {
    text-decoration: underline;
}

.participant-ins-submit {
    align-items: center;
    background: var(--blue);
    border: 1px solid var(--blue);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    gap: 10px;
    justify-content: center;
    letter-spacing: 0.08em;
    margin-top: 14px;
    padding: 16px;
    text-transform: uppercase;
    width: 100%;
}

.participant-ins-submit svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    width: 18px;
}

.participant-ins-submit:disabled,
.participant-ins-submit.is-disabled {
    background: #cbd5e1;
    border-color: #cbd5e1;
    cursor: not-allowed;
    opacity: 0.78;
}

.participant-registration-feedback {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.55;
    margin: 18px 0 0;
    padding: 12px 14px;
}

.participant-registration-feedback.is-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

.participant-registration-feedback.is-success {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #15803d;
}

.participant-payment-handoff {
    align-items: center;
    background: rgb(15 23 42 / 72%);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 1000;
}

.participant-payment-handoff[hidden] {
    display: none;
}

.participant-payment-handoff__card {
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: 0 24px 64px rgb(15 23 42 / 26%);
    max-width: 540px;
    padding: 32px;
    width: 100%;
}

.participant-payment-handoff__eyebrow {
    color: var(--orange);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.participant-payment-handoff__card h2 {
    color: var(--ink);
    font-size: 1.55rem;
    line-height: 1.2;
    margin: 0 0 14px;
}

.participant-payment-handoff__card > p:not(.participant-payment-handoff__eyebrow):not(.participant-payment-handoff__feedback) {
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

.participant-payment-handoff__actions {
    display: grid;
    gap: 10px;
    margin-top: 24px;
}

.participant-payment-handoff__actions a,
.participant-payment-handoff__actions button {
    align-items: center;
    border: 1px solid var(--orange);
    box-sizing: border-box;
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 0.76rem;
    font-weight: 900;
    justify-content: center;
    letter-spacing: 0.08em;
    min-height: 48px;
    padding: 12px 16px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
}

.participant-payment-handoff__pay {
    background: var(--orange);
    color: #fff;
}

.participant-payment-handoff__copy,
.participant-payment-handoff__details {
    background: #fff;
    color: var(--ink);
}

.participant-payment-handoff__help {
    font-size: 0.8rem;
    margin-top: 20px !important;
}

.participant-payment-handoff__feedback {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #15803d;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 16px 0 0;
    padding: 10px 12px;
}

.participant-payment-handoff__feedback.is-error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

@media (max-width: 560px) {
    .participant-payment-handoff {
        align-items: end;
        padding: 12px;
    }

    .participant-payment-handoff__card {
        padding: 24px 20px;
    }
}

.participant-detail-empty-value {
    color: #94a3b8;
    font-weight: 600;
}

.participant-payment-return {
    padding-bottom: 80px;
}

.participant-payment-return__card {
    background: #fff;
    border: 1px solid var(--line);
    max-width: 760px;
    padding: 40px;
}

.participant-payment-return__card h2 {
    color: var(--ink);
    font-size: 1.7rem;
    margin: 22px 0 12px;
}

.participant-payment-return__card p {
    color: #64748b;
    line-height: 1.7;
    margin: 0;
}

.participant-payment-return__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.participant-payment-return__actions a {
    background: var(--orange);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 14px 18px;
    text-decoration: none;
    text-transform: uppercase;
}

.participant-registration-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.participant-registration-summary {
    background: #fff;
    border: 1px solid var(--line);
    padding: 28px;
}

.participant-registration-summary h2 {
    color: var(--ink);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    margin: 0 0 24px;
    text-transform: uppercase;
}

.participant-registration-summary dl {
    display: grid;
    gap: 0;
    margin: 0;
}

.participant-registration-summary dl > div {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    padding: 13px 0;
}

.participant-registration-summary dt,
.participant-registration-summary dd {
    margin: 0;
}

.participant-registration-summary dt {
    color: #64748b;
    font-size: 0.88rem;
    font-weight: 600;
}

.participant-registration-summary dd {
    color: var(--ink);
    font-size: 0.95rem;
    font-weight: 800;
    white-space: nowrap;
}

.participant-registration-summary__fee {
    margin-top: 10px;
}

.participant-registration-summary__fee dt,
.participant-registration-summary__fee dd {
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.participant-registration-summary dl > .participant-registration-summary__total {
    border-bottom: 0;
    padding: 18px 0 4px;
}

.participant-registration-summary__total dt {
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.participant-registration-summary__total dd {
    color: var(--blue);
    font-size: 1.7rem;
    font-weight: 900;
}

.participant-payment-button {
    align-items: center;
    background: var(--blue);
    border: 1px solid var(--blue);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    justify-content: center;
    letter-spacing: 0.1em;
    margin-top: 24px;
    padding: 16px;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color 180ms ease, border-color 180ms ease, opacity 180ms ease;
    width: 100%;
}

.participant-payment-button:not(.is-disabled):hover {
    background: var(--blue-dark);
    border-color: var(--blue-dark);
}

.participant-payment-button.is-disabled {
    background: #cbd5e1;
    border-color: #cbd5e1;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.78;
    pointer-events: auto;
}

.participant-payment-button:disabled {
    cursor: not-allowed;
}

.participant-payment-help {
    color: #94a3b8;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.55;
    margin: 12px 0 0;
    text-align: center;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .managed-banner--hide-mobile,
    .managed-content--hide-mobile {
        display: none !important;
    }

    .topbar {
        min-height: 64px;
    }

    .topbar-inner {
        height: 64px;
        min-height: 64px;
    }

    .topbar-mobile-brand .brand-logo {
        height: 34px;
        max-height: 34px;
        max-width: 190px;
        object-fit: contain;
    }

    .top-actions {
        margin-left: auto;
    }

    .participant-registration-banner img {
        aspect-ratio: 16 / 9;
    }

    .participant-registration-layout {
        grid-template-columns: 1fr;
    }

    .participant-registration-notice {
        align-items: flex-start;
        gap: 14px;
        grid-template-columns: auto 1fr;
        padding: 18px;
    }

    .participant-registration-notice__icon {
        height: 42px;
        width: 42px;
    }

    .participant-ins-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .participant-extra-item {
        padding: 13px 14px;
    }

    .participant-registration-summary {
        padding: 22px;
    }
}

@media (max-width: 768px) {
    body.has-sidebar .page-content {
        padding-top: 34px;
    }

    .participant-contact-left,
    .participant-contact-right {
        padding: 34px 32px;
    }

    .participant-contact-right h3 {
        font-size: 1.25rem;
        line-height: 1.18;
    }

    .participant-contact-list {
        gap: 34px;
        margin-top: 42px;
    }

    .participant-contact-list li,
    .participant-contact-item-link {
        align-items: center;
        gap: 18px;
    }

    .participant-social-icon {
        height: 52px;
        width: 52px;
    }

    .participant-social-icon svg {
        width: 34px;
    }

    .participant-contact-list small {
        font-size: 0.72rem;
        letter-spacing: 0.08em;
    }

    .participant-contact-list p {
        font-size: 1rem;
        line-height: 1.2;
    }

    .participant-contact-list-email p {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .participant-body.page-contato .page-content {
        padding-top: 34px;
    }

    .participant-body .participant-contact-shell {
        background: transparent;
        border: 0;
        box-sizing: border-box;
        display: grid;
        gap: 28px;
        grid-template-columns: 1fr;
        margin: 0;
        min-width: 0;
        width: 100%;
    }

    .participant-body .participant-contact-right {
        background: #f8fafc;
        border: 1px solid var(--line);
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        padding: 34px 32px;
        width: 100%;
    }

    .participant-body .participant-contact-right h3 {
        color: #2f2f31;
        font-size: 1.25rem !important;
        font-weight: 800;
        letter-spacing: -0.02em;
        line-height: 1.18;
        margin: 0;
    }

    .participant-body .participant-contact-list {
        display: flex;
        flex-direction: column;
        gap: 34px;
        list-style: none;
        margin: 42px 0 0;
        padding: 0;
    }

    .participant-body .participant-contact-list li,
    .participant-body .participant-contact-item-link {
        align-items: center;
        color: inherit;
        display: flex;
        gap: 18px;
        min-width: 0;
        text-decoration: none;
    }

    .participant-body .participant-social-icon {
        display: inline-grid;
        flex: 0 0 52px;
        height: 52px;
        place-items: center;
        width: 52px;
    }

    .participant-body .participant-social-icon svg {
        fill: var(--blue);
        width: 34px;
    }

    .participant-body .participant-contact-list small {
        color: #94a3b8;
        display: block;
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .participant-body .participant-contact-list p {
        color: #2f2f31;
        font-size: 1rem;
        font-weight: 500;
        line-height: 1.2;
        margin: 4px 0 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .participant-body .participant-contact-list-email p {
        font-size: 0.9rem;
        overflow-wrap: normal;
        white-space: nowrap;
        word-break: normal;
    }
}

body[data-panel-scope="participant"] .app-sidebar__nav > a > svg,
body[data-panel-scope="participant"] .participant-sidebar-group > summary > svg:first-child,
body[data-panel-scope="participant"] .participant-mobile-nav > a > svg,
body[data-panel-scope="participant"] .participant-mobile-more__menu > a > svg {
    fill: currentColor !important;
    stroke: none !important;
}

/* Registration coupon and private-batch access */
.participant-promotion-card {
    align-items: end;
    background: #fff;
    border: 1px solid var(--line);
    display: grid;
    gap: 16px 20px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr) auto;
    margin: 0 0 22px;
    padding: 18px 20px;
}

.participant-promotion-card strong {
    color: var(--ink);
    display: block;
    font-size: 0.88rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.participant-promotion-card p {
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.45;
    margin: 5px 0 0;
}

.participant-promotion-card__form label {
    color: #64748b;
    display: block;
    font-size: 0.69rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.participant-promotion-card__form > div {
    display: flex;
    gap: 8px;
}

.participant-promotion-card__form input {
    border: 1px solid var(--line);
    color: var(--ink);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 750;
    min-height: 42px;
    min-width: 0;
    padding: 10px 12px;
    text-transform: uppercase;
    width: 100%;
}

.participant-promotion-card__apply,
.participant-promotion-card__clear button {
    background: var(--orange);
    border: 1px solid var(--orange);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    min-height: 42px;
    padding: 10px 14px;
    text-transform: uppercase;
    white-space: nowrap;
}

.participant-promotion-card__clear button {
    background: #fff;
    border-color: #cbd5e1;
    color: #475569;
}

.participant-promotion-card__feedback {
    grid-column: 1 / -1;
    margin: 0 !important;
}

.participant-promotion-card__feedback.is-success { color: #15803d; }
.participant-promotion-card__feedback.is-error { color: #b91c1c; }

.participant-registration-summary__discount dd { color: #15803d; }

@media (max-width: 850px) {
    .participant-promotion-card { grid-template-columns: 1fr; }
    .participant-promotion-card__clear { justify-self: start; }
}
