:root {
    --or-ink: #11243b;
    --or-surface: #f6f7fb;
    --or-card: #ffffff;
    --or-line: rgba(17, 36, 59, 0.12);
    --or-brand: #ff5c39;
    --or-brand-deep: #cf3b1e;
    --or-mint: #dcfff0;
    --or-warm: #fff3df;
    --or-free-bg: #e9fbef;
    --or-free-text: #157347;
    --or-radius: 24px;
    --or-shadow: 0 16px 40px rgba(17, 36, 59, 0.07);
}

body {
    background: #f6f8fb;
    margin: 0;
}

body.or-admin-body {
    background: 
        radial-gradient(circle at top left, rgba(255, 188, 99, 0.12), transparent 30%),
        linear-gradient(160deg, #10243a 0%, #173652 56%, #25506f 100%);
    background-attachment: fixed;
}

.or-auth-shell,
.or-public-shell,
.or-admin-shell {
    font-family: "Avenir Next", "Segoe UI", sans-serif;
    color: var(--or-ink);
}

.or-public-page {
    position: relative;
    isolation: isolate;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.or-public-page::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(255, 188, 99, 0.1), transparent 50%),
        radial-gradient(120% 120% at 100% 0%, rgba(255, 136, 72, 0.08), transparent 50%),
        linear-gradient(180deg, #ffffff, #f6f8fc 46%, #f4f6fb 100%);
}

.or-public-shell {
    position: relative;
    flex: 1;
}

.or-auth-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 48px 20px;
}

.or-auth-page .or-auth-shell {
    position: relative;
    width: min(1340px, 100%);
    min-height: auto;
    display: block;
    padding: 0;
    max-width: 1340px;
    padding-inline: 36px;
    margin: 0 auto;
}

.or-admin-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    margin-top: auto;
}

.or-admin-footer__links {
    display: flex;
    gap: 24px;
}

.or-admin-footer__links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
    text-decoration: none;
    transition: color 0.2s;
}

.or-admin-footer__links a:hover {
    color: var(--or-brand);
}

.or-admin-footer__copy {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.82rem;
}

.or-public-footer {
    margin-top: 0;
    padding: 24px 0 64px;
    background: transparent;
    text-align: center;
}

.or-public-footer__links {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 16px;
}

.or-public-footer__links a {
    color: rgba(17, 36, 59, 0.45);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.or-public-footer__links a:hover {
    color: var(--or-brand);
}

.or-public-footer__copy {
    color: rgba(17, 36, 59, 0.3);
    font-size: 0.82rem;
}

@media (max-width: 600px) {
    .or-admin-footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
        padding: 40px 20px;
    }
    .or-admin-footer__links {
        flex-direction: column;
        gap: 12px;
    }
}

.or-auth-page {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: grid;
    align-items: center;
    min-height: calc(100vh - var(--header-height, 78px));
    margin-top: var(--header-height, 78px);
    padding: 24px 0;
}

.or-auth-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 120% at 0% 0%, rgba(255, 91, 91, 0.12), transparent 56%),
        radial-gradient(120% 120% at 100% 0%, rgba(255, 136, 72, 0.12), transparent 60%),
        rgba(255, 255, 255, 0.95);
    z-index: -2;
}

.or-auth-page::after {
    content: "";
    position: absolute;
    inset: 12px 3% 12px;
    border-radius: 40px;
    border: 1px solid rgba(17, 36, 59, 0.06);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.08)),
        repeating-linear-gradient(135deg, rgba(17, 36, 59, 0.02), rgba(17, 36, 59, 0.02) 12px, transparent 12px, transparent 24px);
    z-index: -1;
}

.or-auth-stage {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.or-auth-stage__glow {
    position: absolute;
    border-radius: 999px;
    filter: blur(16px);
    opacity: 0.9;
}

.or-auth-stage__glow--one {
    top: 6%;
    left: 2%;
    width: 18rem;
    height: 18rem;
    background: radial-gradient(circle, rgba(255, 136, 72, 0.5), rgba(255, 136, 72, 0));
}

.or-auth-stage__glow--two {
    right: 0;
    bottom: 8%;
    width: 24rem;
    height: 24rem;
    background: radial-gradient(circle, rgba(255, 91, 91, 0.26), rgba(255, 91, 91, 0));
}

.or-auth-card {
    position: relative;
    z-index: 1;
    width: min(1280px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(390px, 0.82fr);
    gap: 28px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid var(--or-line);
    border-radius: 32px;
    box-shadow: var(--or-shadow);
    backdrop-filter: blur(18px);
}

.or-auth-card--elevated {
    overflow: hidden;
}

.or-auth-card.is-login {
    width: min(1180px, 100%);
    max-width: none;
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
}

.or-auth-copy {
    position: relative;
    padding: clamp(28px, 4vw, 42px);
    border-radius: 28px;
    background:
        radial-gradient(circle at top left, rgba(255, 188, 99, 0.28), transparent 28%),
        linear-gradient(160deg, #10243a 0%, #173652 56%, #25506f 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 24px 50px rgba(16, 36, 58, 0.24);
    color: #fff;
    display: grid;
    gap: 20px;
    align-content: start;
}

.or-auth-copy::after {
    content: "";
    position: absolute;
    inset: auto -10% -20% auto;
    width: 18rem;
    height: 18rem;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.or-auth-copy h1 {
    font-size: clamp(2.1rem, 4vw, 4rem);
    line-height: 1.04;
    margin: 16px 0;
}

.or-auth-copy p {
    font-size: 1.08rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.82);
}

.or-auth-copy .eyebrow {
    justify-self: start;
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.94);
    opacity: 1;
}

.or-auth-story,
.or-auth-preview {
    display: grid;
    gap: 14px;
}

.or-auth-story {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.or-auth-preview {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    align-items: stretch;
}

.or-auth-story article,
.or-auth-preview__card,
.or-auth-inline-note {
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    padding: 18px 20px;
    backdrop-filter: blur(14px);
}

.or-auth-story span,
.or-auth-preview__card span {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.76rem;
    font-weight: 700;
}

.or-auth-story strong,
.or-auth-preview__card strong {
    display: block;
    font-size: 1.05rem;
    line-height: 1.35;
}

.or-auth-preview__card p,
.or-auth-story article p {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.or-auth-copy__meta {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.or-auth-copy__meta article {
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--or-line);
    background: rgba(255, 255, 255, 0.84);
}

.or-auth-copy__meta span {
    display: block;
    color: rgba(17, 36, 59, 0.66);
    margin-bottom: 8px;
}

.or-auth-benefits,
.or-checklist,
.or-base-field-list {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.or-auth-benefits li,
.or-checklist li,
.or-base-field-list li {
    background: var(--or-card);
    border: 1px solid var(--or-line);
    border-radius: 18px;
    padding: 14px 16px;
}

.or-auth-form,
.or-form-card,
.or-panel,
.or-register-form,
.or-register-summary,
.or-result-card {
    background: var(--or-card);
    border: 1px solid var(--or-line);
    border-radius: var(--or-radius);
    box-shadow: var(--or-shadow);
}

.or-auth-form,
.or-register-form,
.or-register-summary,
.or-result-card {
    padding: 28px;
}

.or-auth-form {
    display: grid;
    gap: 16px;
}

.or-auth-form {
    align-content: start;
    padding: clamp(26px, 4vw, 34px);
    background: rgba(255, 255, 255, 0.96);
    border-radius: 28px;
    border-color: rgba(17, 36, 59, 0.1);
    box-shadow: none;
}

.or-auth-form h2,
.or-panel h2,
.or-register-form h2,
.or-register-summary h2,
.or-result-card h1 {
    margin: 0;
}

.or-auth-form label,
.or-form-grid label,
.or-form-field,
.or-mini-form input,
.or-mini-form textarea,
.or-mini-form select,
.or-register-form label {
    display: grid;
    gap: 8px;
}

.or-form-grid > label,
.or-form-grid > .or-form-field,
.or-form-grid > .or-form-media-picker {
    position: relative;
    min-width: 0;
}

.or-form-media-picker {
    display: grid;
    gap: 10px;
}

.or-auth-form input,
.or-auth-form textarea,
.or-form-grid input,
.or-form-grid textarea,
.or-form-grid select,
.or-route-editor__sidebar .or-form-field input:not([type="hidden"]),
.or-route-editor__sidebar .or-form-field textarea,
.or-route-editor__sidebar .or-form-field select,
.or-mini-form input,
.or-mini-form textarea,
.or-mini-form select,
.or-register-form input,
.or-register-form textarea,
.or-register-form select,
.or-prefill-login input {
    width: 100%;
    border: 1px solid rgba(17, 36, 59, 0.15);
    border-radius: 14px;
    padding: 14px 16px;
    font: inherit;
    color: var(--or-ink);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: inset 0 1px 2px rgba(17, 36, 59, 0.04);
}

.or-form-grid select,
.or-auth-form select,
.or-mini-form select,
.or-register-form select {
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(17, 36, 59, 0.76) 50%),
        linear-gradient(135deg, rgba(17, 36, 59, 0.76) 50%, transparent 50%);
    background-position:
        calc(100% - 21px) calc(50% - 2px),
        calc(100% - 15px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 44px;
    min-height: 52px;
}

.or-admin-page .or-form-grid input[type="file"],
.or-admin-page .or-mini-form input[type="file"] {
    width: 100%;
    padding: 14px;
    border: 1px dashed rgba(17, 36, 59, 0.16);
    border-radius: 16px;
    background: rgba(248, 250, 255, 0.95);
    box-shadow: none;
    transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.or-admin-page .or-form-grid input[type="file"]:hover,
.or-admin-page .or-form-grid input[type="file"]:focus-visible,
.or-admin-page .or-mini-form input[type="file"]:hover,
.or-admin-page .or-mini-form input[type="file"]:focus-visible {
    border-color: rgba(17, 36, 59, 0.24);
    background: rgba(245, 248, 255, 0.98);
    outline: none;
}

.or-admin-page .or-form-grid input[type="file"]::file-selector-button,
.or-admin-page .or-mini-form input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 10px 14px;
    border: 0;
    border-radius: 12px;
    background: rgba(17, 36, 59, 0.08);
    color: var(--or-ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.or-auth-form input[type="checkbox"],
.or-form-grid input[type="checkbox"],
.or-mini-form input[type="checkbox"],
.or-register-form input[type="checkbox"] {
    width: auto;
    padding: 0;
}

.or-auth-form textarea,
.or-form-grid textarea,
.or-mini-form textarea,
.or-register-form textarea {
    resize: vertical;
}

.or-field-note {
    color: rgba(17, 36, 59, 0.64);
    line-height: 1.5;
}

.or-form-media-preview {
    margin: 0;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid var(--or-line);
    background: linear-gradient(135deg, rgba(255, 92, 57, 0.12), rgba(17, 36, 59, 0.06));
    width: min(280px, 100%);
    aspect-ratio: 1 / 1;
}

.or-form-media-preview.is-empty {
    display: none;
}

.or-form-media-preview img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.or-auth-footer {
    margin: 22px 0 0;
    color: rgba(17, 36, 59, 0.7);
    text-align: center;
}

.or-auth-footer a {
    color: var(--or-brand-deep);
    font-weight: 700;
}

.or-auth-submit {
    width: 100%;
    min-height: 62px;
    margin-top: 18px;
    padding: 16px 26px;
    font-size: 1.05rem;
    box-shadow: 0 24px 48px rgba(255, 91, 91, 0.3);
}

.or-auth-inline-note {
    border-color: rgba(17, 36, 59, 0.08);
    background: linear-gradient(180deg, rgba(255, 243, 223, 0.72), rgba(255, 255, 255, 0.95));
    color: var(--or-ink);
}

.or-auth-inline-note strong {
    display: block;
    margin-bottom: 6px;
}

.or-auth-inline-note p {
    margin: 0;
    color: rgba(17, 36, 59, 0.74);
}

.or-admin-page {
    --or-rhythm-tight: 8px;
    --or-rhythm-base: 10px;
    --or-rhythm-comfy: 12px;
    --or-rhythm-section: 14px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.or-admin-shell {
    flex: 1 0 auto;
    min-height: 100vh;
    display: grid;
    grid-template-columns: clamp(252px, 18vw, 292px) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    background: transparent;
}

.or-admin-sidebar {
    grid-row: 1 / span 2;
    position: sticky;
    top: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px 18px 20px;
    background: transparent;
    color: #fff;
}

.or-admin-sidebar__body {
    flex: 1;
    display: grid;
    gap: 18px;
    align-content: start;
    min-height: 0;
}

.or-admin-sidebar__intro {
    display: grid;
    gap: 14px;
    padding-bottom: 4px;
}

.or-admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.or-admin-brand:visited,
.or-admin-brand:hover,
.or-admin-brand:focus-visible {
    color: #fff;
}

.or-admin-brand span {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.or-admin-brand strong {
    font-size: 1.02rem;
    line-height: 1.15;
}

.or-admin-brand small {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.74);
    line-height: 1.3;
}

.or-admin-brand__mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(17, 36, 59, 0.08);
    background: var(--or-brand);
    color: #fff;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.or-admin-org {
    margin: 0;
    padding: 14px 14px 15px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 12px 24px rgba(10, 15, 25, 0.2);
    display: grid;
    gap: 6px;
}

.or-admin-org > strong {
    font-size: 1rem;
    line-height: 1.35;
}

.or-admin-org > span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.94rem;
    line-height: 1.45;
}

.or-admin-sidebar__scope {
    display: grid;
    gap: 10px;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.or-admin-scope {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.or-admin-scope__avatar,
.or-admin-scope__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.or-admin-scope__avatar {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 14px;
    border: 1px solid rgba(17, 36, 59, 0.08);
    background: var(--or-current-accent, var(--or-brand));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.or-admin-scope__icon {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 11px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
}

.or-admin-scope__icon svg {
    width: 16px;
    height: 16px;
    display: block;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.or-admin-scope__copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.or-admin-scope__copy strong {
    font-size: 0.92rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.or-admin-scope__copy small,
.or-admin-scope__label {
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.35;
}

.or-admin-scope__label {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.66rem;
    font-weight: 700;
}

.or-admin-org__eyebrow,
.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.76rem;
    font-weight: 700;
    opacity: 0.75;
}

.or-admin-page .eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    align-self: start;
    width: fit-content;
    max-width: 100%;
    margin: 0;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(255, 92, 57, 0.08);
    color: rgba(255, 92, 57, 0.82);
    line-height: 1.05;
    opacity: 1;
}

.or-admin-page .or-admin-org__eyebrow {
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    line-height: 1.2;
    opacity: 0.75;
}

.or-admin-nav {
    display: grid;
    gap: 6px;
}

.or-admin-nav-stack {
    display: grid;
    gap: 14px;
}

.or-admin-nav-group {
    display: grid;
    gap: 8px;
}

.or-admin-nav-group__summary {
    display: grid;
    gap: 8px;
}

.or-admin-nav-group__label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: rgba(255, 255, 255, 0.54);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    font-weight: 700;
}

.or-admin-nav-group__label::after {
    content: "";
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.or-admin-nav-group__title {
    display: block;
    font-size: 0.98rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.or-admin-nav-group__meta,
.or-admin-context__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.or-admin-nav-group__meta span,
.or-admin-context__meta span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.or-admin-nav-group__detail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.84rem;
    line-height: 1.35;
}

.or-admin-nav-group__detail span {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.66rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.54);
}

.or-admin-nav-group__detail strong {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
}

.or-admin-nav-group__detail em {
    font-style: normal;
    color: rgba(255, 255, 255, 0.68);
}

.or-admin-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    padding: 9px 10px;
    border-radius: 12px;
    border: 1px solid transparent;
    line-height: 1.3;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.or-admin-nav__link {
    position: relative;
}

.or-admin-nav__lead {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1 1 auto;
}

.or-admin-nav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: inherit;
    opacity: 0.88;
}

.or-admin-nav__icon svg {
    width: 18px;
    height: 18px;
    display: block;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.or-admin-nav a strong {
    display: block;
    font-size: 0.96rem;
    font-weight: 700;
    line-height: 1.25;
    color: inherit;
}

.or-admin-nav__marker {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.8;
    flex: 0 0 auto;
}

.or-admin-nav a.is-active,
.or-admin-nav a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.15);
}

.or-admin-nav a.is-active strong {
    color: #fff;
}

.or-admin-nav a.is-active .or-admin-nav__icon {
    color: #ff9f62;
}

.or-admin-nav a:hover strong,
.or-admin-nav a:hover .or-admin-nav__icon {
    color: #fff;
}

.or-admin-nav.is-subnav {
    gap: 2px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.or-admin-nav.is-subnav .or-admin-nav__link {
    padding: 8px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: rgba(255, 255, 255, 0.72);
}

.or-admin-nav.is-subnav .or-admin-nav__link strong {
    font-size: 0.92rem;
}

.or-admin-nav.is-subnav .or-admin-nav__icon {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
    opacity: 0.72;
}

.or-admin-nav.is-subnav .or-admin-nav__icon svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.7;
}

.or-admin-nav.is-subnav .or-admin-nav__link::before {
    display: none;
}

.or-admin-nav.is-subnav .or-admin-nav__link .or-admin-nav__marker {
    width: 6px;
    height: 6px;
    opacity: 0.6;
    background: var(--or-brand);
}

.or-admin-nav.is-subnav .or-admin-nav__link.is-active,
.or-admin-nav.is-subnav .or-admin-nav__link:hover {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    color: #fff;
}

.or-admin-nav a.is-active .or-admin-nav__icon,
.or-admin-nav a:hover .or-admin-nav__icon,
.or-admin-nav.is-subnav .or-admin-nav__link.is-active .or-admin-nav__icon,
.or-admin-nav.is-subnav .or-admin-nav__link:hover .or-admin-nav__icon {
    opacity: 1;
}

.or-admin-utility-link {
    display: block;
    padding: 11px 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    text-decoration: none;
    transition: background-color 180ms ease, border-color 180ms ease;
}

.or-admin-utility-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.12);
}

.or-admin-sidebar__footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.or-admin-sidebar__footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.or-admin-sidebar__footer-links > :only-child {
    grid-column: 1 / -1;
}

.or-admin-utility-link {
    text-align: center;
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.86);
}

.or-admin-main {
    padding: 32px;
    margin: 12px 12px 12px 0;
    min-height: calc(100vh - 32px);
    border-radius: 32px;
    background: #f8f9fc;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    will-change: transform;
}

.or-admin-footer {
    padding: 12px clamp(24px, 4vw, 42px) 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.82rem;
}

.or-admin-footer__links {
    display: flex;
    gap: 20px;
}

.or-admin-footer__links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}

.or-admin-footer__links a:hover {
    color: #fff;
}


.or-admin-main > * {
    width: 100%;
    margin: 0;
    max-width: none;
}

.or-admin-context {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.or-admin-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: rgba(17, 36, 59, 0.56);
    font-size: 0.9rem;
    line-height: 1.4;
}

.or-admin-breadcrumbs a {
    color: rgba(17, 36, 59, 0.76);
    text-decoration: none;
}

.or-admin-breadcrumbs a:hover {
    color: var(--or-brand-deep);
}

.or-admin-breadcrumbs__divider {
    color: rgba(17, 36, 59, 0.32);
}

.or-admin-breadcrumbs .is-current {
    color: var(--or-ink);
    font-weight: 700;
}

.or-admin-context__meta {
    justify-content: flex-end;
}

.or-admin-context__meta span {
    background: transparent;
    border-color: rgba(17, 36, 59, 0.08);
    color: rgba(17, 36, 59, 0.82);
}

.or-admin-overview-grid,
.or-event-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.or-event-summary-grid--entities {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.or-admin-mini-card {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid var(--or-line);
    background: linear-gradient(180deg, #fff, #f8fbff);
    box-shadow: 0 14px 30px rgba(17, 36, 59, 0.07);
}

.or-admin-page .or-admin-mini-card,
.or-admin-page .or-kpi-card,
.or-admin-page .or-section-card,
.or-admin-page .or-form-section-card,
.or-admin-page .or-task-item,
.or-admin-page .or-empty-state-card,
.or-admin-page .or-admin-summary-grid article,
.or-admin-page .or-billing-summary__hero,
.or-admin-page .or-billing-summary__note,
.or-admin-page .or-billing-summary__grid article,
.or-admin-page .or-race-summary-strip article,
.or-admin-page .or-race-summary-item,
.or-admin-page .or-entity-summary__item,
.or-admin-page .or-funnel-grid article,
.or-admin-page .or-disclosure-panel {
    background: #fff;
    border-color: rgba(17, 36, 59, 0.08);
    box-shadow: 0 4px 12px rgba(17, 36, 59, 0.03);
}

.or-admin-mini-card strong {
    display: block;
    margin: 8px 0 6px;
    font-size: 1.02rem;
    line-height: 1.28;
}

.or-admin-mini-card p {
    margin: 0;
    color: rgba(17, 36, 59, 0.7);
    font-size: 0.96rem;
    line-height: 1.55;
}

.or-admin-hero,
.or-page-header {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    padding-bottom: 2px;
}

.or-admin-hero h1,
.or-page-header h1,
.or-public-hero h1,
.or-event-hero h1 {
    margin: 8px 0 6px;
    font-size: clamp(1.72rem, 2.3vw, 2.5rem);
    line-height: 1.02;
}

.or-admin-hero p,
.or-page-header p {
    margin: 0;
    max-width: 74ch;
    font-size: 0.98rem;
    line-height: 1.6;
    color: rgba(17, 36, 59, 0.72);
}

.or-priority-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
}

.or-priority-grid > :first-child {
    grid-column: span 7;
}

.or-priority-grid > :last-child {
    grid-column: span 5;
}

.or-section-card,
.or-form-section-card {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--or-line);
    border-radius: 20px;
    background: linear-gradient(180deg, #fff, #fbfcff);
    box-shadow: 0 14px 30px rgba(17, 36, 59, 0.06);
}

.or-section-card__header,
.or-form-section-card__header {
    display: grid;
    gap: 6px;
}

.or-section-card__header h2,
.or-form-section-card__header h2 {
    margin: 0;
    font-size: 1.08rem;
    letter-spacing: -0.01em;
}

.or-section-card__header p,
.or-form-section-card__header p {
    margin: 0;
    color: rgba(17, 36, 59, 0.7);
    line-height: 1.55;
}

.or-fact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.or-fact-card {
    display: grid;
    gap: 4px;
    padding: 13px 14px;
    border-radius: 16px;
    border: 1px solid rgba(17, 36, 59, 0.08);
    background: rgba(245, 247, 252, 0.9);
}

.or-fact-card span {
    color: rgba(17, 36, 59, 0.6);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.or-fact-card strong {
    font-size: 1.02rem;
    line-height: 1.32;
}

.or-fact-card p {
    margin: 0;
    color: rgba(17, 36, 59, 0.7);
    line-height: 1.5;
}

.or-section-nav {
    position: sticky;
    top: 14px;
    z-index: 1550;
    isolation: isolate;
    width: fit-content;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(17, 36, 59, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.84);
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 26px rgba(17, 36, 59, 0.08);
}

.or-section-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(17, 36, 59, 0.04);
    color: rgba(17, 36, 59, 0.78);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.or-section-nav a:hover {
    background: rgba(255, 92, 57, 0.1);
    color: var(--or-brand-deep);
}

.or-anchor-section {
    scroll-margin-top: 104px;
}

.or-admin-hero__actions,
.or-page-header__actions,
.or-public-hero__actions,
.or-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cta,
.or-link-button,
.or-live-actions button {
    cursor: pointer;
}

.cta:not(.ghost):not(.is-disabled):not([disabled]) {
    box-shadow: 0 6px 14px rgba(255, 91, 91, 0.12);
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform, box-shadow;
}

.cta:not(.ghost):not(.is-disabled):not([disabled]):hover,
.cta:not(.ghost):not(.is-disabled):not([disabled]):focus-visible {
    box-shadow: 0 11px 24px rgba(255, 91, 91, 0.18);
}

.cta:not(.ghost):not(.is-disabled):not([disabled]):active {
    box-shadow: 0 7px 16px rgba(255, 91, 91, 0.14);
}

.cta[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.or-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
    gap: 10px;
}

.or-kpi-card {
    padding: 14px 15px;
    background: linear-gradient(180deg, #fff, #f8fbff);
    border: 1px solid var(--or-line);
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(17, 36, 59, 0.07);
}

.or-kpi-card span {
    display: block;
    color: rgba(17, 36, 59, 0.65);
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.or-kpi-card strong {
    font-size: 1.5rem;
    line-height: 1.1;
}

.or-panel-grid,
.or-inline-grid,
.or-event-card-grid,
.or-feature-grid,
.or-public-card-grid,
.or-register-shell {
    display: grid;
    gap: 14px;
}

.or-panel-grid,
.or-inline-grid,
.or-register-shell {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.or-panel,
.or-form-card {
    padding: 18px;
}

.or-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.or-panel__header p {
    margin: 8px 0 0;
    color: rgba(17, 36, 59, 0.68);
    line-height: 1.55;
}

.or-panel__header a:not(.cta) {
    color: var(--or-brand-deep);
}

.or-panel-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(17, 36, 59, 0.06);
    color: rgba(17, 36, 59, 0.82);
    font-weight: 700;
    white-space: nowrap;
}

.or-status-stack,
.or-stack-list,
.or-live-table {
    display: grid;
    gap: 12px;
}

.or-task-list,
.or-admin-summary-grid {
    display: grid;
    gap: 10px;
}

.or-billing-summary {
    display: grid;
    gap: 10px;
}

.or-status-pill,
.or-stack-item,
.or-live-row,
.or-sponsor-pill,
.or-race-card,
.or-public-card,
.or-race-public-card {
    border: 1px solid var(--or-line);
    border-radius: 18px;
    padding: 16px 18px;
    background: linear-gradient(180deg, #fff, #fbfcff);
}

.or-status-pill.is-ready {
    background: linear-gradient(180deg, #eefdf5, #f8fffb);
    border-color: rgba(14, 157, 95, 0.24);
}

.or-task-item,
.or-empty-state-card {
    border: 1px solid var(--or-line);
    border-radius: 16px;
    padding: 12px 14px;
    background: linear-gradient(180deg, #fff, #fbfcff);
}

.or-panel-empty-state {
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 10px;
    min-height: 168px;
    padding: 28px 24px;
    border: 1px dashed rgba(17, 36, 59, 0.16);
    border-radius: 18px;
    background:
        radial-gradient(circle at top, rgba(99, 146, 255, 0.08), transparent 48%),
        linear-gradient(180deg, rgba(248, 250, 255, 0.96), rgba(255, 255, 255, 0.98));
    text-align: center;
}

.or-panel-empty-state::before {
    content: '';
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 58%),
        linear-gradient(180deg, rgba(14, 157, 95, 0.16), rgba(14, 157, 95, 0.06));
    box-shadow: inset 0 0 0 1px rgba(14, 157, 95, 0.12);
}

.or-panel-empty-state strong {
    display: block;
    margin: 0;
    font-size: 1.04rem;
    line-height: 1.35;
}

.or-panel-empty-state p {
    max-width: 56ch;
    margin: 0;
    color: rgba(17, 36, 59, 0.72);
    line-height: 1.6;
}

.or-task-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(176px, max-content);
    gap: 16px;
    align-items: start;
    border-left: 3px solid rgba(255, 92, 57, 0.14);
}

.or-task-item > div {
    min-width: 0;
}

.or-task-item > .or-inline-link {
    display: flex;
    width: 100%;
    min-width: 176px;
    justify-content: flex-end;
    justify-self: end;
    align-self: start;
    text-align: right;
    white-space: nowrap;
}

.or-task-item strong,
.or-empty-state-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 1rem;
}

.or-task-item p,
.or-empty-state-card p {
    margin: 0;
    color: rgba(17, 36, 59, 0.72);
    line-height: 1.55;
}

.or-action-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
}

.or-action-links .or-race-row__danger {
    margin-top: 0;
}

.or-admin-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.or-admin-summary-grid article {
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--or-line);
    background: linear-gradient(180deg, #fff, #fbfcff);
}

.or-admin-summary-grid span {
    display: block;
    margin-bottom: 8px;
    color: rgba(17, 36, 59, 0.65);
}

.or-admin-summary-grid strong {
    display: block;
    font-size: 1rem;
    line-height: 1.45;
}

.or-billing-summary__hero,
.or-billing-summary__note {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--or-line);
    background: linear-gradient(180deg, #fff, #fbfcff);
}

.or-billing-summary__hero strong {
    display: block;
    margin: 8px 0 6px;
    font-size: 1.12rem;
    line-height: 1.3;
}

.or-billing-summary__hero p,
.or-billing-summary__note p {
    margin: 0;
    color: rgba(17, 36, 59, 0.72);
    line-height: 1.58;
}

.or-billing-summary__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.or-billing-summary__grid article {
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--or-line);
    background: linear-gradient(180deg, #fff, #fbfcff);
}

.or-billing-summary__grid article.is-ready {
    background: linear-gradient(180deg, #eefdf5, #f8fffb);
    border-color: rgba(14, 157, 95, 0.24);
}

.or-billing-summary__grid span {
    display: block;
    margin-bottom: 8px;
    color: rgba(17, 36, 59, 0.65);
}

.or-billing-summary__grid strong {
    display: block;
    font-size: 1rem;
    line-height: 1.4;
}

.or-billing-summary__note {
    display: grid;
    gap: 8px;
}

.or-event-card-grid,
.or-public-card-grid,
.or-feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.or-admin-main .or-panel,
.or-admin-main .or-form-card {
    padding: 16px;
    border-radius: 16px;
    border-color: rgba(17, 36, 59, 0.08);
    box-shadow: 0 8px 18px rgba(17, 36, 59, 0.04);
}

.or-admin-main .or-panel-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.or-admin-main .or-panel-grid > * {
    grid-column: span 6;
}

.or-admin-main .or-panel-grid > :first-child {
    grid-column: span 7;
}

.or-admin-main .or-panel-grid > :last-child {
    grid-column: span 5;
}

.or-admin-main .or-anchor-section.or-panel-grid {
    align-items: start;
}

.or-admin-main .or-inline-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.or-admin-main .or-inline-grid > :first-child {
    grid-column: span 5;
}

.or-admin-main .or-inline-grid > :last-child {
    grid-column: span 7;
}

.or-admin-main .or-status-pill,
.or-admin-main .or-stack-item,
.or-admin-main .or-live-row,
.or-admin-main .or-race-card,
.or-admin-main .or-event-card {
    padding: 12px 14px;
}

.or-admin-main .or-event-card,
.or-admin-main .or-race-card {
    gap: 10px;
}

.or-admin-main .or-event-card__cover {
    min-height: 156px;
}

.or-admin-main .or-mini-form,
.or-admin-main .or-builder-item {
    padding: 16px;
}

.or-admin-main .or-form-grid,
.or-admin-main .or-builder-panel,
.or-admin-main .or-builder-list {
    gap: 14px;
}

.or-admin-main .or-panel h2,
.or-admin-main .or-mini-form h3 {
    font-size: 1.08rem;
    letter-spacing: -0.01em;
}

.or-admin-main .or-panel__header a,
.or-admin-main .or-event-card__actions a,
.or-admin-main .or-inline-link,
.or-admin-main .or-link-button {
    font-size: 0.94rem;
}

.or-panel-header__cta {
    min-height: 56px;
    padding: 15px 28px;
    font-size: 1rem;
}

.or-admin-main .or-event-card h3 {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.25;
}

.or-admin-main .or-checklist {
    margin-top: 0;
    gap: 10px;
}

.or-admin-main .or-checklist li {
    padding: 10px 12px;
    font-size: 0.95rem;
    line-height: 1.55;
}

.or-admin-main .or-status-stack,
.or-admin-main .or-stack-list,
.or-admin-main .or-live-table,
.or-admin-main .or-recent-list {
    gap: 8px;
}

.or-admin-main .or-task-list,
.or-admin-main .or-admin-summary-grid,
.or-admin-main .or-billing-summary {
    gap: 8px;
}

.or-admin-main .or-event-card dl,
.or-admin-main .or-race-card dl,
.or-admin-main .or-live-row__meta,
.or-admin-main .or-recent-item {
    font-size: 0.95rem;
}

.or-admin-main .or-live-actions button,
.or-admin-main .or-live-actions input {
    font-size: 0.92rem;
}

.or-admin-page .or-admin-hero,
.or-admin-page .or-page-header {
    gap: var(--or-rhythm-section);
}

.or-admin-page .or-admin-hero h1,
.or-admin-page .or-page-header h1 {
    margin: 0;
}

.or-admin-page .or-admin-hero p,
.or-admin-page .or-page-header p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.or-admin-page .or-admin-hero > div:first-child,
.or-admin-page .or-page-header > div:first-child,
.or-admin-page .or-panel__header > div,
.or-admin-page .or-section-card__header,
.or-admin-page .or-form-section-card__header,
.or-admin-page .or-billing-summary__hero,
.or-admin-page .or-task-item > div,
.or-admin-page .or-panel-empty-state,
.or-admin-page .or-empty-state-card,
.or-admin-page .or-disclosure-panel__summary,
.or-admin-page .or-event-row__title-group,
.or-admin-page .or-race-row__title-group,
.or-admin-page .or-admin-mini-card {
    display: grid;
    align-content: start;
}

.or-admin-page .or-admin-hero > div:first-child,
.or-admin-page .or-page-header > div:first-child {
    gap: 10px;
}

.or-admin-page .or-admin-overview-grid,
.or-admin-page .or-event-summary-grid,
.or-admin-page .or-priority-grid,
.or-admin-page .or-panel-grid,
.or-admin-page .or-inline-grid {
    gap: 12px;
}

.or-admin-page .or-priority-grid,
.or-admin-page .or-panel-grid,
.or-admin-page .or-inline-grid {
    align-items: stretch;
}

.or-admin-page .or-admin-mini-card,
.or-admin-page .or-section-card,
.or-admin-page .or-form-section-card {
    gap: 12px;
    padding: 16px;
    border-radius: 18px;
    align-content: start;
}

.or-admin-page .or-admin-mini-card strong,
.or-admin-page .or-billing-summary__hero strong,
.or-admin-page .or-task-item strong,
.or-admin-page .or-panel-empty-state strong,
.or-admin-page .or-empty-state-card strong {
    margin: 0;
}

.or-admin-page .or-section-card__header,
.or-admin-page .or-form-section-card__header,
.or-admin-page .or-panel__header > div,
.or-admin-page .or-billing-summary__hero,
.or-admin-page .or-task-item > div,
.or-admin-page .or-panel-empty-state,
.or-admin-page .or-empty-state-card,
.or-admin-page .or-disclosure-panel__summary,
.or-admin-page .or-admin-mini-card {
    gap: 9px;
}

.or-admin-page .or-event-row__title-group,
.or-admin-page .or-race-row__title-group {
    gap: 9px;
}

.or-admin-page .or-fact-grid,
.or-admin-page .or-kpi-grid {
    gap: 8px;
}

.or-admin-page .or-fact-card {
    gap: 3px;
    padding: 11px 12px;
    border-radius: 14px;
}

.or-admin-page .or-fact-card span {
    font-size: 0.8rem;
}

.or-admin-page .or-fact-card strong {
    font-size: 0.98rem;
}

.or-dashboard-focus-card {
    grid-template-rows: auto 1fr;
}

.or-dashboard-focus-card .or-fact-grid {
    height: 100%;
    grid-auto-rows: 1fr;
    align-items: stretch;
}

.or-dashboard-focus-card .or-fact-card {
    height: 100%;
    align-content: center;
}

.or-admin-page .or-kpi-card {
    padding: 12px 13px;
    border-radius: 15px;
}

.or-admin-page .or-kpi-card span {
    margin-bottom: 6px;
}

.or-admin-page .or-kpi-card strong {
    font-size: 1.4rem;
}

.or-admin-page .or-panel__header {
    gap: 12px;
    margin-bottom: 12px;
}

.or-admin-page .or-panel__header h2,
.or-admin-page .or-panel__header h3,
.or-admin-page .or-panel__header > h2,
.or-admin-page .or-panel__header > h3 {
    margin: 0;
    font-size: 1.08rem;
    letter-spacing: -0.01em;
}

.or-admin-page .or-panel__header p {
    margin: 0;
}

.or-admin-page .or-panel-counter {
    padding: 7px 10px;
}

.or-admin-page .or-task-item,
.or-admin-page .or-empty-state-card,
.or-admin-page .or-admin-summary-grid article,
.or-admin-page .or-billing-summary__hero,
.or-admin-page .or-billing-summary__note,
.or-admin-page .or-billing-summary__grid article {
    padding: 12px;
    border-radius: 15px;
}

.or-admin-page .or-task-item {
    gap: 14px;
}

.or-admin-page .or-billing-summary__grid {
    gap: 8px;
}

.or-admin-page .or-event-row__body {
    gap: var(--or-rhythm-comfy);
}

.or-admin-page .or-event-row--compact .or-event-row__body,
.or-admin-page .or-race-row-list--compact .or-race-row__body {
    gap: var(--or-rhythm-comfy);
}

.or-admin-page .or-event-row__eyebrow-row,
.or-admin-page .or-meta-pills,
.or-admin-page .or-race-row-list--compact .or-race-row__meta {
    gap: var(--or-rhythm-base);
}

.or-admin-shell > .site-footer {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
    padding-top: 28px;
    padding-bottom: 24px;
}

.or-admin-shell > .site-footer .container {
    max-width: none;
    padding-left: clamp(14px, 1.8vw, 22px);
    padding-right: clamp(14px, 1.8vw, 22px);
}

.or-event-card,
.or-public-card,
.or-race-public-card {
    display: grid;
    gap: 14px;
}

.or-race-public-card {
    align-content: start;
    gap: 16px;
}

.or-event-list {
    display: grid;
    gap: 16px;
}

.or-event-list--compact {
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(17, 36, 59, 0.08);
    border-radius: 18px;
    background: #fff;
}

.or-race-row-list,
.or-race-summary-list {
    display: grid;
    gap: 14px;
}

.or-race-row {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) minmax(220px, 250px);
    gap: 18px;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--or-line);
    border-radius: 22px;
    background: linear-gradient(180deg, #fff, #fbfcff);
    box-shadow: 0 14px 30px rgba(17, 36, 59, 0.06);
}

.or-race-row__media,
.or-race-public-card__media {
    display: grid;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 92, 57, 0.16), rgba(17, 36, 59, 0.08));
}

.or-race-row__media {
    min-height: 100%;
    aspect-ratio: 1 / 1;
}

.or-race-public-card__media {
    min-height: auto;
    aspect-ratio: 1 / 1;
}

.or-race-row__media img,
.or-race-public-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.or-race-row__media .or-public-card__fallback,
.or-race-public-card__media .or-public-card__fallback {
    min-height: 100%;
}

.or-race-row__body,
.or-race-row__actions {
    display: grid;
    gap: 12px;
    align-content: start;
}

.or-race-public-card__top > div {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.or-race-public-card h3 {
    margin: 0;
}

.or-race-row__top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: start;
}

.or-race-row__top h3 {
    margin: 8px 0 0;
    font-size: 1.24rem;
    line-height: 1.15;
}

.or-race-row__heading {
    display: grid;
    gap: 4px;
}

.or-race-row__body p,
.or-race-row__description {
    margin: 0;
    color: rgba(17, 36, 59, 0.72);
    line-height: 1.58;
}

.or-race-row__description {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.or-race-row__meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
    margin: 0;
}

.or-race-row__meta div {
    display: grid;
    gap: 4px;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(17, 36, 59, 0.08);
    background: rgba(245, 247, 252, 0.85);
}

.or-race-row__meta dt {
    color: rgba(17, 36, 59, 0.58);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.or-race-row__meta dd {
    margin: 0;
    font-weight: 700;
}

.or-race-row__actions {
    justify-items: stretch;
    align-content: stretch;
}

.or-race-row__actions .cta {
    justify-content: center;
    min-height: 50px;
}

.or-race-row__action-group,
.or-race-row__danger {
    display: grid;
    gap: 10px;
}

.or-race-row__danger {
    margin-top: auto;
}

.cta.ghost.danger {
    border: 1px solid rgba(181, 72, 45, 0.2);
    background: #fff6f3;
    color: #ad4429;
}

.cta.ghost.danger:hover {
    box-shadow: none;
}

.or-static-note {
    color: rgba(17, 36, 59, 0.68);
    font-size: 0.94rem;
    line-height: 1.5;
}

.or-race-row-list--compact {
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--or-line);
    border-radius: 18px;
    background: #fff;
}

.or-race-row-list--compact .or-race-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid rgba(17, 36, 59, 0.08);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.or-race-row-list--compact .or-race-row:last-child {
    border-bottom: 0;
}

.or-race-row__main {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
}

.or-race-row-list--compact .or-race-row__media {
    width: 72px;
    min-width: 72px;
    min-height: 72px;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
}

.or-race-row__fallback {
    min-height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top left, rgba(255, 188, 99, 0.45), transparent 42%),
        linear-gradient(135deg, #17324f, #244d77);
    color: rgba(255, 255, 255, 0.96);
}

.or-race-row__fallback span {
    display: block;
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 700;
    transform: translateY(-1px);
}

.or-race-row-list--compact .or-race-row__body {
    gap: 6px;
    min-width: 0;
}

.or-race-row-list--compact .or-race-row__top {
    align-items: flex-start;
    gap: 12px;
    justify-content: flex-start;
}

.or-race-row__title-group {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.or-race-row__title-group h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
}

.or-race-row-list--compact .or-race-row__description {
    display: block;
    overflow: hidden;
    color: rgba(17, 36, 59, 0.66);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.or-race-row-list--compact .or-race-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.or-race-row-list--compact .or-race-row__meta div {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 999px;
    border: 0;
    background: rgba(245, 247, 252, 1);
}

.or-race-row-list--compact .or-race-row__meta dt {
    color: rgba(17, 36, 59, 0.52);
    font-size: 0.78rem;
    letter-spacing: 0;
    text-transform: none;
}

.or-race-row-list--compact .or-race-row__meta dd {
    font-size: 0.88rem;
}

.or-race-row-list--compact .or-race-row__meta-item--status,
.or-race-row-list--compact .or-race-row__meta-item--price {
    background: rgba(17, 36, 59, 0.06);
}

.or-race-row-list--compact .or-race-row__meta-item--status dd,
.or-race-row-list--compact .or-race-row__meta-item--price dd {
    font-weight: 700;
}

.or-race-row-list--compact .or-race-row__meta-item--status dd {
    color: rgba(17, 36, 59, 0.82);
}

.or-race-row-list--compact .or-race-row__meta-item--price.is-free {
    background: rgba(21, 115, 71, 0.12);
}

.or-race-row-list--compact .or-race-row__meta-item--price.is-free dd {
    color: var(--or-free-text);
}

.or-race-row-list--compact .or-race-row__actions {
    display: grid;
    justify-items: end;
    align-content: center;
    gap: 10px;
    min-width: 0;
}

.or-race-row-list--compact .or-race-row__actions .cta {
    min-height: 36px;
    padding: 8px 12px;
    font-size: 0.9rem;
}

.or-race-row-list--compact .or-race-row__danger {
    margin-top: 0;
}

.or-race-row-list--compact .or-race-row__actions .or-action-links {
    justify-content: flex-end;
}

.or-race-row__delete-button {
    border: 0;
    padding: 8px 2px;
    background: transparent;
    color: #b5482d;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.or-race-row__delete-button[disabled] {
    color: rgba(17, 36, 59, 0.35);
    cursor: not-allowed;
}

.or-race-row__helper {
    color: rgba(17, 36, 59, 0.55);
    font-size: 0.84rem;
    white-space: nowrap;
}

.or-event-row {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) minmax(220px, 260px);
    gap: 18px;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--or-line);
    border-radius: 22px;
    background: linear-gradient(180deg, #fff, #fbfcff);
    box-shadow: 0 14px 30px rgba(17, 36, 59, 0.06);
}

.or-event-row--compact {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: 12px 14px;
    border: 0;
    border-bottom: 1px solid rgba(17, 36, 59, 0.08);
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}

.or-event-list--compact .or-event-row:last-child {
    border-bottom: 0;
}

.or-event-row--compact .or-event-row__main {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    min-width: 0;
}

.or-event-row__cover {
    overflow: hidden;
    border-radius: 20px;
    min-height: 164px;
    background: linear-gradient(135deg, rgba(255, 92, 57, 0.16), rgba(17, 36, 59, 0.08));
}

.or-event-row__cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.or-event-row--compact .or-event-row__cover {
    width: 72px;
    min-width: 72px;
    min-height: 72px;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
}

.or-event-row__body,
.or-event-row__actions {
    display: grid;
    align-content: start;
}

.or-event-row__body {
    gap: 12px;
}

.or-event-row--compact .or-event-row__body {
    gap: 6px;
    min-width: 0;
}

.or-event-row__top {
    display: grid;
    gap: 8px;
}

.or-event-row__title-group {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.or-event-row__top h3 {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.18;
}

.or-event-row__body > p {
    margin: 0;
    color: rgba(17, 36, 59, 0.72);
    line-height: 1.58;
}

.or-event-row--compact .or-event-row__body > p {
    display: block;
    overflow: hidden;
    color: rgba(17, 36, 59, 0.66);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.or-event-row__eyebrow-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.or-event-row__meta {
    margin: 0;
    display: grid;
    gap: 10px;
}

.or-event-row__meta div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.or-event-row__meta dt {
    color: rgba(17, 36, 59, 0.58);
}

.or-event-row__meta dd {
    margin: 0;
    text-align: right;
}

.or-event-row__actions {
    gap: 10px;
    align-content: center;
}

.or-event-row--compact .or-event-row__actions {
    justify-items: stretch;
    gap: 10px;
    min-width: 148px;
}

.or-event-row__actions .cta {
    width: 100%;
    min-height: 50px;
    padding: 13px 18px;
    font-size: 0.98rem;
}

.or-event-row--compact .or-event-row__actions .cta {
    width: 100%;
    min-height: 36px;
    padding: 8px 12px;
    font-size: 0.9rem;
    justify-content: center;
}

.or-event-row__actions .or-action-links {
    justify-content: flex-start;
}

.or-event-row--compact .or-event-row__actions .or-action-links {
    justify-content: flex-end;
}

.or-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.or-meta-pills span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(245, 247, 252, 1);
    color: rgba(17, 36, 59, 0.72);
    font-size: 0.82rem;
    line-height: 1.2;
}

.or-meta-pills strong {
    color: rgba(17, 36, 59, 0.56);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.or-event-row__status-note {
    display: block;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(17, 36, 59, 0.05);
    color: rgba(17, 36, 59, 0.65);
    font-size: 0.92rem;
    line-height: 1.45;
}

.or-event-card__cover,
.or-public-card__cover,
.or-event-showcase__media,
.or-register-summary__media,
.or-race-public-card__media {
    overflow: hidden;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 92, 57, 0.16), rgba(17, 36, 59, 0.08));
}

.or-event-card__cover,
.or-public-card__cover,
.or-race-public-card__media {
    min-height: 180px;
}

.or-event-card__cover img,
.or-public-card__cover img,
.or-event-showcase__media img,
.or-register-summary__media img,
.or-race-public-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.or-public-card__fallback {
    min-height: 100%;
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at top left, rgba(255, 188, 99, 0.88), transparent 38%),
        linear-gradient(135deg, #10243a, #1f4871);
    color: #fff;
}

.or-public-card__fallback span {
    font-size: clamp(2rem, 5vw, 4.4rem);
    font-weight: 800;
}

.or-public-card__body,
.or-event-showcase__copy {
    display: grid;
    gap: 14px;
    align-content: start;
}

.or-event-card dl,
.or-race-public-card dl {
    margin: 0;
    display: grid;
    gap: 10px;
}

.or-event-card dl div,
.or-race-public-card dl div,
.or-result-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.or-event-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.or-public-card__races li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
}

.or-public-card__races strong {
    white-space: nowrap;
}

.or-public-card__footer,
.or-race-public-card__top,
.or-race-public-card__foot {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.or-price-pill,
.or-availability-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 700;
}

.or-price-pill {
    background: rgba(17, 36, 59, 0.08);
    color: var(--or-ink);
}

.or-price-pill.is-free {
    background: var(--or-free-bg);
    color: var(--or-free-text);
}

.or-availability-pill {
    background: rgba(17, 36, 59, 0.06);
    color: rgba(17, 36, 59, 0.78);
}

.or-availability-pill.is-open {
    background: #effbf3;
    color: #167a47;
}

.or-availability-pill.is-closed {
    background: #fff4f1;
    color: #b5482d;
}

.or-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.or-tag-list span {
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(17, 36, 59, 0.1);
}

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

.or-form-grid .is-wide {
    grid-column: 1 / -1;
}

.or-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.or-form-actions.is-floating {
    position: sticky;
    bottom: 14px;
    z-index: 1600;
    isolation: isolate;
    margin-top: 4px;
    padding: 18px 16px;
    border: 1px solid rgba(17, 36, 59, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 28px rgba(17, 36, 59, 0.08);
}

.or-event-form {
    display: grid;
    gap: 18px;
}

.or-race-editor-form {
    display: grid;
    gap: 18px;
}

.or-form-card .or-form-section-card {
    background: rgba(255, 255, 255, 0.72);
    border-color: rgba(17, 36, 59, 0.08);
    box-shadow: none;
}

.or-form-card .or-disclosure-panel {
    border-color: rgba(17, 36, 59, 0.08);
    box-shadow: none;
}

.or-form-required-note {
    margin: 0;
    color: rgba(17, 36, 59, 0.72);
    font-size: 0.94rem;
    line-height: 1.5;
}

.or-field-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.or-field-label-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.or-field-heading--help {
    justify-content: flex-start;
    align-items: center;
}

.or-char-counter {
    color: rgba(17, 36, 59, 0.58);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.or-help-tooltip {
    position: relative;
    display: inline-flex;
    z-index: 20;
}

.or-help-tooltip__trigger {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(17, 36, 59, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.98);
    color: rgba(17, 36, 59, 0.74);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1;
    cursor: help;
    padding: 0;
}

.or-help-tooltip__trigger:hover,
.or-help-tooltip__trigger:focus-visible {
    border-color: rgba(17, 36, 59, 0.28);
    color: var(--or-ink);
    outline: none;
}

.or-help-tooltip__bubble {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translate(-50%, 6px);
    width: min(240px, 50vw);
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(17, 36, 59, 0.96);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.82rem;
    line-height: 1.45;
    box-shadow: 0 18px 32px rgba(17, 36, 59, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
    z-index: 1200;
}

.or-help-tooltip__bubble::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: rgba(17, 36, 59, 0.96) transparent transparent transparent;
}

.or-help-tooltip:hover .or-help-tooltip__bubble,
.or-help-tooltip:focus-within .or-help-tooltip__bubble {
    opacity: 1;
    transform: translate(-50%, 0);
}

.or-form-grid > label:hover,
.or-form-grid > label:focus-within,
.or-form-grid > .or-form-field:hover,
.or-form-grid > .or-form-field:focus-within,
.or-form-grid > .or-form-media-picker:hover,
.or-form-grid > .or-form-media-picker:focus-within {
    z-index: 900;
}

.or-required-mark {
    display: inline-block;
    margin-left: 0.16em;
    color: var(--or-brand-deep);
    font-weight: 800;
}

.or-event-form .or-form-actions--event,
.or-race-editor-form .or-form-actions--event {
    margin-top: 10px;
    padding-top: 14px;
    padding-bottom: 12px;
    align-items: center;
}

.or-event-form .or-form-actions--event.is-floating,
.or-race-editor-form .or-form-actions--event.is-floating {
    z-index: 1600;
}

.or-event-form .or-form-actions--event.is-single,
.or-race-editor-form .or-form-actions--event.is-single {
    justify-content: flex-end;
}

.or-event-form .or-form-actions--event.is-split,
.or-race-editor-form .or-form-actions--event.is-split {
    justify-content: space-between;
}

.or-event-form .or-form-actions--event .cta,
.or-race-editor-form .or-form-actions--event .cta {
    min-height: 56px;
    padding: 15px 28px;
    font-size: 1rem;
}

.or-inline-field-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 168px;
    gap: 12px;
    align-items: end;
}

.or-inline-field-group > * {
    margin: 0;
    min-width: 0;
}

.or-inline-field-group__side select {
    min-width: 0;
}

.or-event-form-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
}

.or-race-form-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
}

.or-event-form-grid > label,
.or-event-form-grid > .or-form-field,
.or-event-form-grid > .or-form-media-picker {
    grid-column: span 6;
}

.or-race-form-grid > label,
.or-race-form-grid > section {
    grid-column: span 6;
}

.or-event-form-grid > .is-wide {
    grid-column: 1 / -1;
}

.or-race-form-grid > .is-wide {
    grid-column: 1 / -1;
}

.or-event-form-grid > .is-two-thirds {
    grid-column: span 8;
}

.or-race-form-grid > .is-two-thirds {
    grid-column: span 8;
}

.or-event-form-grid > .is-one-third {
    grid-column: span 4;
}

.or-race-form-grid > .is-one-third {
    grid-column: span 4;
}

.or-event-form-grid > .is-half {
    grid-column: span 6;
}

.or-race-form-grid > .is-half {
    grid-column: span 6;
}

.or-event-form-grid > .is-city {
    grid-column: span 4;
}

.or-event-form-grid > .is-country {
    grid-column: span 2;
}

.or-mini-form {
    display: grid;
    gap: 12px;
    padding: 22px;
    border: 1px solid var(--or-line);
    border-radius: 22px;
    background: #fff;
}

.or-file-field {
    display: grid;
    gap: 8px;
}

.or-file-input {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 12px 14px;
    border: 1px dashed rgba(17, 36, 59, 0.18);
    border-radius: 16px;
    background: rgba(245, 247, 252, 0.9);
    cursor: pointer;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.or-file-input input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.or-file-input:focus-within {
    border-color: rgba(255, 92, 57, 0.26);
    box-shadow: 0 0 0 4px rgba(255, 92, 57, 0.08);
}

.or-file-input__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 14px;
    background: rgba(17, 36, 59, 0.08);
    color: var(--or-ink);
    font-weight: 700;
    white-space: nowrap;
}

.or-file-input__name {
    min-width: 0;
    color: rgba(17, 36, 59, 0.68);
    line-height: 1.45;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.or-file-field small {
    color: rgba(17, 36, 59, 0.58);
    font-size: 0.82rem;
    line-height: 1.4;
}

.or-race-card header,
.or-live-row,
.or-stack-item,
.or-sponsor-pill,
.or-public-card__meta,
.or-builder-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.or-race-card__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.or-race-card dl {
    margin: 0;
    display: grid;
    gap: 8px;
}

.or-race-card dl div {
    display: flex;
    justify-content: space-between;
}

.or-registration-builder__summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.or-registration-builder {
    display: grid;
    gap: 18px;
}

.or-registration-builder__grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.6fr);
    gap: 16px;
    align-items: start;
}

.or-registration-builder__base,
.or-registration-builder__custom,
.or-registration-builder__list-column {
    display: grid;
    gap: 16px;
}

.or-registration-builder__base-intro {
    display: grid;
    gap: 8px;
    padding: 14px 16px;
    border: 1px solid rgba(17, 36, 59, 0.08);
    border-radius: 18px;
    background: rgba(248, 250, 255, 0.72);
}

.or-registration-builder__base-intro strong {
    font-size: 1rem;
}

.or-registration-builder__base-intro p {
    margin: 0;
    color: rgba(17, 36, 59, 0.68);
    line-height: 1.55;
}

.or-registration-builder__base-intro span {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(17, 36, 59, 0.06);
    color: rgba(17, 36, 59, 0.74);
    font-size: 0.82rem;
    font-weight: 700;
}

.or-base-field-list--detailed {
    margin-top: 0;
    gap: 10px;
}

.or-base-field-list--detailed li {
    display: grid;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 16px;
}

.or-base-field-list__main {
    display: grid;
    gap: 8px;
}

.or-base-field-list__main strong {
    line-height: 1.3;
}

.or-base-field-list__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.or-base-field-list__meta span {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(17, 36, 59, 0.06);
    color: rgba(17, 36, 59, 0.72);
    font-size: 0.8rem;
    font-weight: 700;
}

.or-registration-builder__intro {
    gap: 14px;
}

.or-registration-builder__workspace {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
    gap: 16px;
    align-items: start;
}

.or-registration-builder__workspace--wide {
    grid-template-columns: minmax(0, 1.48fr) minmax(360px, 0.96fr);
}

.or-registration-builder__list-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.or-registration-builder__list-header h3 {
    margin: 0;
    font-size: 1rem;
}

.or-registration-builder__list-header p {
    margin: 6px 0 0;
    color: rgba(17, 36, 59, 0.68);
    line-height: 1.5;
}

.or-registration-builder__composer {
    gap: 14px;
    position: sticky;
    top: calc(var(--header-height, 78px) + 22px);
}

.or-registration-builder__composer .or-form-section-card__header {
    gap: 6px;
}

.or-registration-builder__composer .or-form-section-card__header p {
    margin: 0;
}

.or-builder-composer__grid,
.or-builder-panel,
.or-builder-list {
    display: grid;
    gap: 14px;
}

.or-builder-list {
    position: relative;
}

.or-builder-item {
    border: 1px solid rgba(17, 36, 59, 0.1);
    border-radius: 18px;
    padding: 0;
    display: grid;
    gap: 0;
    background: linear-gradient(180deg, #fff, #fbfcff);
    overflow: hidden;
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 200ms ease, border-color 200ms ease, opacity 160ms ease;
    will-change: transform;
}

.or-builder-item[open] {
    box-shadow: 0 10px 22px rgba(17, 36, 59, 0.07);
}

.or-builder-item.is-source-dragging {
    opacity: 0.14;
}

.or-builder-item.is-source-dragging > summary {
    background: rgba(17, 36, 59, 0.02);
}

.or-builder-drag-preview {
    position: fixed;
    z-index: 1700;
    pointer-events: none;
    margin: 0;
    border: 1px solid rgba(17, 36, 59, 0.1);
    box-shadow: 0 28px 56px rgba(17, 36, 59, 0.2);
    transform-origin: top left;
    background: linear-gradient(180deg, #fff, #fbfcff);
}

.or-builder-drag-preview > summary {
    background: rgba(17, 36, 59, 0.02);
}

.or-builder-conditional-ghost {
    position: fixed;
    z-index: 1650;
    pointer-events: none;
    margin: 0;
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transform-origin: center top;
    transition: opacity 180ms ease, transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.or-builder-item > summary {
    list-style: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 16px;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    touch-action: none;
}

.or-builder-item > summary::-webkit-details-marker {
    display: none;
}

.or-builder-item > summary.is-dragging,
.or-builder-item > summary:active {
    cursor: grabbing;
}

.or-builder-item__lead {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    min-width: 0;
}

.or-builder-item__order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 9px;
    border-radius: 12px;
    background: rgba(17, 36, 59, 0.06);
    color: rgba(17, 36, 59, 0.72);
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1;
}

.or-builder-item__summary {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.or-builder-item__summary strong {
    line-height: 1.2;
}

.or-builder-item__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.or-builder-item__meta span,
.or-builder-item__hint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(17, 36, 59, 0.06);
    color: rgba(17, 36, 59, 0.78);
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
}

.or-builder-item__hint {
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: rgba(17, 36, 59, 0.48);
    font-size: 0.75rem;
    font-weight: 700;
}

.or-builder-item__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    align-items: center;
}

.or-builder-item__body {
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row dense;
    padding: 14px 16px 16px;
    border-top: 1px solid rgba(17, 36, 59, 0.08);
}

.or-builder-item__body > label,
.or-builder-composer__grid > label {
    grid-column: auto;
}

.or-builder-item__body > [hidden],
.or-builder-composer__grid > [hidden] {
    display: none !important;
}

.or-builder-item__body > .is-wide,
.or-builder-composer__grid > .is-wide,
.or-builder-item__footer {
    grid-column: 1 / -1;
}

.or-builder-item__body > .or-builder-span-main,
.or-builder-composer__grid > .or-builder-span-main {
    grid-column: auto;
}

.or-builder-item__body > .or-builder-span-type,
.or-builder-composer__grid > .or-builder-span-type {
    grid-column: auto;
}

.or-builder-item__body > .or-builder-span-default,
.or-builder-composer__grid > .or-builder-span-default {
    grid-column: auto;
}

.or-builder-item__body > .or-builder-span-half,
.or-builder-composer__grid > .or-builder-span-half {
    grid-column: auto;
}

.or-builder-field-disabled > span {
    color: rgba(17, 36, 59, 0.58);
}

.or-builder-field-disabled select[disabled] {
    background: rgba(17, 36, 59, 0.04);
    border-style: dashed;
    border-color: rgba(17, 36, 59, 0.14);
    color: rgba(17, 36, 59, 0.6);
    cursor: not-allowed;
}

.or-builder-item__body > .or-builder-checkbox,
.or-builder-composer__grid > .or-builder-checkbox {
    grid-column: auto;
    align-content: start;
}

.or-builder-checkbox__row {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid rgba(17, 36, 59, 0.1);
    border-radius: 16px;
    background: rgba(248, 250, 255, 0.82);
}

.or-builder-checkbox__row input {
    accent-color: var(--or-brand-deep);
}

.or-builder-checkbox__row span {
    color: rgba(17, 36, 59, 0.62);
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.4;
}

.or-builder-item__footer {
    display: flex;
    justify-content: flex-end;
}

.or-builder-item__footer .cta {
    min-height: 42px;
    padding: 10px 16px;
    font-size: 0.92rem;
}

.or-builder-composer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row dense;
}

.or-builder-composer__grid > .cta {
    grid-column: 1 / -1;
    width: auto;
    justify-self: end;
    justify-content: center;
    min-height: 56px;
    padding: 15px 28px;
    font-size: 1rem;
}

body.or-builder-is-dragging {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    cursor: grabbing;
}

body.or-builder-is-dragging .or-registration-builder,
body.or-builder-is-dragging .or-registration-builder * {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
}

.or-builder-conditional {
    overflow: hidden;
    transition: opacity 140ms ease, transform 160ms ease;
    transform-origin: top;
    opacity: 1;
    transform: translateY(0);
}

.or-builder-conditional.is-collapsed {
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
}

.or-registration-builder .or-form-actions--builder {
    margin-top: 10px;
    padding-top: 14px;
    padding-bottom: 12px;
    align-items: center;
    justify-content: space-between;
}

.or-registration-builder .or-form-actions--builder .cta {
    min-height: 56px;
    padding: 15px 28px;
    font-size: 1rem;
}

.or-link-button {
    appearance: none;
    border: 0;
    background: none;
    color: var(--or-brand-deep);
    padding: 0;
    font: inherit;
}

.or-sponsor-admin-item {
    align-items: center;
}

.or-sponsor-admin-item > div {
    display: grid;
    gap: 4px;
}

.or-sponsor-admin-item__logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: 16px;
    border: 1px solid var(--or-line);
    background: #fff;
    padding: 8px;
}

.or-partner-groups,
.or-partner-public-groups {
    display: grid;
    gap: 18px;
}

.or-partner-group,
.or-partner-public-group {
    display: grid;
    gap: 12px;
}

.or-partner-group__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.or-entity-hub {
    display: grid;
    gap: 18px;
}

.or-entity-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.or-entity-summary__item {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--or-line);
    background: linear-gradient(180deg, #fff, #fbfcff);
}

.or-entity-summary__item span {
    display: block;
    margin-bottom: 8px;
    color: rgba(17, 36, 59, 0.62);
    font-size: 0.86rem;
}

.or-entity-summary__item strong {
    font-size: 1.22rem;
    line-height: 1.15;
}

.or-entity-form {
    gap: 16px;
}

.or-dialog {
    width: min(680px, calc(100vw - 32px));
    max-width: 100%;
    max-height: calc(100vh - 32px);
    position: fixed;
    inset: 0;
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: #fff;
    color: var(--or-ink);
    box-shadow: 0 30px 80px rgba(17, 36, 59, 0.22);
    overflow: hidden;
    opacity: 0;
    transform: translateY(26px) scale(0.965);
    filter: blur(2px);
    transform-origin: center;
    transition: opacity 260ms cubic-bezier(0.22, 1, 0.36, 1), transform 320ms cubic-bezier(0.22, 1, 0.36, 1), filter 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.or-dialog[open] {
    opacity: 0;
    transform: translateY(26px) scale(0.965);
    filter: blur(2px);
}

.or-dialog[open].is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.or-dialog::backdrop {
    background: rgba(17, 36, 59, 0);
    backdrop-filter: blur(0);
    transition: background 320ms cubic-bezier(0.22, 1, 0.36, 1), backdrop-filter 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.or-dialog[open].is-visible::backdrop {
    background: rgba(17, 36, 59, 0.22);
    backdrop-filter: blur(8px);
}

.or-dialog__surface {
    display: grid;
    gap: 22px;
    padding: 26px 28px 24px;
    overflow: auto;
}

.or-dialog__header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
}

.or-dialog__header > div {
    display: grid;
    gap: 8px;
}

.or-dialog__close {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(17, 36, 59, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    color: rgba(17, 36, 59, 0.76);
    font: inherit;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.or-dialog__close:hover,
.or-dialog__close:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(17, 36, 59, 0.18);
    background: #f7f9fc;
    color: var(--or-ink);
    outline: none;
}

.or-dialog__header h2 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.2;
}

.or-dialog__header p {
    margin: 0;
    color: rgba(17, 36, 59, 0.68);
    line-height: 1.5;
}

.or-dialog .or-mini-form {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.or-entity-form--dialog {
    gap: 20px;
}

.or-entity-form--dialog .or-entity-form__grid {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 18px;
}

.or-entity-form--dialog .or-entity-form__field.is-type,
.or-entity-form--dialog .or-entity-form__field.is-name {
    grid-column: auto;
}

.or-entity-form--dialog .or-entity-form__field.is-url,
.or-entity-form--dialog .or-entity-form__field.is-logo {
    grid-column: 1 / -1;
}

.or-entity-form--dialog .or-file-field small {
    color: rgba(17, 36, 59, 0.62);
    font-size: 0.84rem;
}

.or-dialog__actions {
    justify-content: flex-end;
    margin-top: 2px;
    padding-top: 18px;
    border-top: 1px solid rgba(17, 36, 59, 0.08);
}

.or-dialog__actions .cta {
    min-height: 56px;
    padding: 15px 28px;
    font-size: 1rem;
}

.or-dialog--route-viewer {
    width: min(960px, calc(100vw - 32px));
}

.or-route-viewer__meta {
    padding: 12px 14px;
    border: 1px solid rgba(17, 36, 59, 0.08);
    border-radius: 16px;
    background: rgba(245, 247, 252, 0.88);
    color: rgba(17, 36, 59, 0.76);
    line-height: 1.5;
}

.or-route-viewer__meta[hidden] {
    display: none;
}

.or-route-viewer__map-shell {
    position: relative;
}

.or-route-viewer__status {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 425;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--or-ink);
    box-shadow: 0 20px 34px rgba(17, 36, 59, 0.16);
    border: 1px solid rgba(17, 36, 59, 0.08);
    backdrop-filter: blur(12px);
}

.or-route-viewer__status[hidden] {
    display: none;
}

.or-route-viewer__status[data-tone="error"] {
    background: rgba(255, 244, 241, 0.96);
    color: #b5482d;
}

.or-route-viewer__map {
    min-height: min(68vh, 560px);
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(17, 36, 59, 0.12);
    background: linear-gradient(180deg, #dfe8f4, #eef4fb);
}

.or-route-viewer__map .leaflet-control-attribution {
    font-size: 0.7rem;
}

.or-entity-form__intro {
    display: grid;
    gap: 6px;
}

.or-entity-form__intro strong {
    font-size: 1.06rem;
    line-height: 1.35;
}

.or-entity-form__intro p {
    margin: 0;
    color: rgba(17, 36, 59, 0.7);
    line-height: 1.55;
}

.or-entity-form__grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

.or-entity-form__field {
    display: grid;
    gap: 8px;
}

.or-entity-form__field > span {
    color: rgba(17, 36, 59, 0.72);
    font-size: 0.92rem;
    font-weight: 600;
}

.or-entity-form__field.is-type {
    grid-column: span 3;
}

.or-entity-form__field.is-name {
    grid-column: span 4;
}

.or-entity-form__field.is-url {
    grid-column: span 3;
}

.or-entity-form__field.is-logo {
    grid-column: span 2;
}

.or-entity-form__actions {
    display: flex;
    justify-content: flex-end;
}

.or-entity-form__actions .cta {
    min-height: 56px;
    padding: 15px 28px;
    font-size: 1rem;
}

.or-entity-groups {
    display: grid;
    gap: 18px;
}

.or-entity-group {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--or-line);
    border-radius: 20px;
    background: linear-gradient(180deg, #fff, #fbfcff);
}

.or-entity-group__header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
}

.or-entity-group__header div {
    display: grid;
    gap: 6px;
}

.or-entity-group__header strong {
    font-size: 1.04rem;
    line-height: 1.3;
}

.or-entity-group__header p {
    margin: 0;
    color: rgba(17, 36, 59, 0.68);
    line-height: 1.5;
}

.or-entity-group__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(17, 36, 59, 0.06);
    color: rgba(17, 36, 59, 0.76);
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
}

.or-entity-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.or-entity-card {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(17, 36, 59, 0.08);
    background: rgba(255, 255, 255, 0.92);
}

.or-entity-card__logo-wrap {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 92, 57, 0.08), rgba(17, 36, 59, 0.04));
    border: 1px solid rgba(17, 36, 59, 0.08);
}

.or-entity-card__fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    color: var(--or-brand-deep);
    font-size: 1.2rem;
    font-weight: 800;
}

.or-entity-card .or-sponsor-admin-item__logo {
    width: 100%;
    height: 100%;
    padding: 10px;
    border-radius: 20px;
}

.or-entity-card__body {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.or-entity-card__body strong {
    font-size: 1rem;
    line-height: 1.35;
}

.or-entity-card__meta,
.or-entity-card__body a {
    color: rgba(17, 36, 59, 0.64);
    font-size: 0.9rem;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.or-entity-card__actions {
    display: flex;
    align-self: start;
    justify-self: end;
    gap: 10px;
    align-items: center;
}

.or-entity-card__actions form {
    margin: 0;
}

.or-partner-group__header strong {
    font-size: 1rem;
}

.or-partner-group__header span {
    min-width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(255, 92, 57, 0.12);
    color: var(--or-brand-deep);
    font-size: 0.82rem;
    font-weight: 700;
}

.or-route-editor {
    display: grid;
    gap: 18px;
    position: relative;
    padding: 22px;
    border: 1px solid var(--or-line);
    border-radius: 24px;
    background: linear-gradient(180deg, #fdfefe, #f7faff);
}

.or-route-editor__header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
}

.or-route-editor__header h2 {
    margin: 8px 0 6px;
    font-size: 1.24rem;
}

.or-route-editor__header p {
    margin: 0;
    color: rgba(17, 36, 59, 0.72);
    line-height: 1.58;
    max-width: 68ch;
}

.or-route-editor__guidance {
    display: grid;
    gap: 4px;
}

.or-route-editor__guidance strong {
    font-size: 0.98rem;
    line-height: 1.32;
}

.or-route-editor__guidance p {
    margin: 0;
    color: rgba(17, 36, 59, 0.72);
    font-size: 0.86rem;
    line-height: 1.45;
}

.or-route-editor__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 300px);
    gap: 18px;
    align-items: start;
}

.or-route-editor__map-shell {
    position: relative;
}

.or-route-editor__map-actions {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 428;
    display: grid;
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
    border: 1px solid rgba(17, 36, 59, 0.08);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 34px rgba(17, 36, 59, 0.16);
}

.or-route-editor__map-button {
    appearance: none;
    min-width: 112px;
    min-height: 40px;
    padding: 10px 12px;
    border: 1px solid rgba(17, 36, 59, 0.1);
    border-radius: 12px;
    background: #fff;
    color: var(--or-ink);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.or-route-editor__map-button:hover:not(:disabled) {
    border-color: rgba(255, 92, 57, 0.22);
    box-shadow: 0 12px 24px rgba(255, 92, 57, 0.12);
}

.or-route-editor__map-button:disabled {
    opacity: 0.46;
    cursor: not-allowed;
    box-shadow: none;
}

.or-route-editor__map-button.is-danger:not(:disabled) {
    color: #b94534;
}

.or-route-editor__drawer {
    position: absolute;
    left: 50%;
    bottom: 14px;
    width: auto;
    max-width: calc(100% - 28px);
    transform: translateX(-50%);
    z-index: 430;
    display: grid;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    box-shadow: 0 24px 44px rgba(17, 36, 59, 0.2);
}

.or-route-editor__drawer-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
}

.or-route-editor__drawer-head .eyebrow {
    margin: 0;
    font-size: 0.64rem;
    letter-spacing: 0.18em;
}

.or-route-editor__progress {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 92, 57, 0.12);
    color: var(--or-brand);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.or-route-editor__toolbox {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.or-route-tool {
    appearance: none;
    display: grid;
    justify-items: center;
    gap: 5px;
    min-width: 76px;
    padding: 8px 10px 10px;
    text-align: center;
    border-radius: 16px;
    border: 1px solid rgba(17, 36, 59, 0.12);
    background: rgba(255, 255, 255, 0.96);
    color: var(--or-ink);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    touch-action: none;
}

.or-route-tool strong {
    font-size: 0.76rem;
    line-height: 1.2;
}

.or-route-tool__icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 18px rgba(17, 36, 59, 0.14);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
}

.or-route-tool.is-start .or-route-tool__icon {
    background: #169b62;
}

.or-route-tool.is-waypoint .or-route-tool__icon {
    background: #11243b;
}

.or-route-tool.is-finish .or-route-tool__icon {
    background: var(--or-brand);
}

.or-route-tool:not(:disabled):hover,
.or-route-tool.is-dragging {
    border-color: rgba(255, 92, 57, 0.28);
    box-shadow: 0 20px 34px rgba(255, 92, 57, 0.12);
    transform: translateY(-1px);
}

.or-route-tool:disabled,
.or-route-tool.is-disabled {
    opacity: 0.42;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
}

.or-route-editor__map-note {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 420;
    max-width: min(250px, calc(100% - 28px));
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(17, 36, 59, 0.88);
    color: #fff;
    font-size: 0.8rem;
    line-height: 1.35;
    box-shadow: 0 16px 24px rgba(17, 36, 59, 0.2);
}

.or-route-editor__routing-state {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 425;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--or-ink);
    box-shadow: 0 20px 34px rgba(17, 36, 59, 0.16);
    border: 1px solid rgba(17, 36, 59, 0.08);
    backdrop-filter: blur(12px);
}

.or-route-editor__routing-state[hidden] {
    display: none;
}

.or-route-editor__routing-spinner {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(17, 36, 59, 0.12);
    border-top-color: var(--or-brand);
    animation: or-route-spin 0.7s linear infinite;
}

.or-route-editor__routing-state strong {
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.2;
}

.or-route-editor.is-drop-active .or-route-editor__map,
.or-route-editor__map-shell.is-drop-active .or-route-editor__map {
    border-color: rgba(255, 92, 57, 0.28);
    box-shadow: inset 0 0 0 2px rgba(255, 92, 57, 0.12);
}

.or-route-editor.is-tool-dragging .or-route-editor__map-note {
    background: rgba(255, 92, 57, 0.96);
}

.or-route-editor.is-routing .or-route-editor__map-note {
    opacity: 0;
    pointer-events: none;
}

.or-route-editor__map {
    min-height: 560px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(17, 36, 59, 0.12);
    background: linear-gradient(180deg, #dfe8f4, #eef4fb);
}

.or-route-editor__map .leaflet-control-attribution {
    font-size: 0.7rem;
}

@keyframes or-route-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.or-route-editor__sidebar {
    display: grid;
    gap: 12px;
    align-content: start;
    min-width: 0;
}

.or-route-editor__metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.or-route-editor__metrics article {
    min-width: 0;
    padding: 15px 16px;
    border-radius: 18px;
    border: 1px solid var(--or-line);
    background: rgba(255, 255, 255, 0.96);
    display: grid;
    gap: 6px;
}

.or-route-editor__metrics span {
    display: block;
    color: rgba(17, 36, 59, 0.6);
    margin-bottom: 0;
    font-size: 0.84rem;
}

.or-route-editor__metrics strong {
    display: block;
    min-width: 0;
    font-size: 0.98rem;
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.or-route-editor__tips {
    display: grid;
    gap: 10px;
}

.or-route-editor__tips span {
    padding: 13px 15px;
    border-radius: 16px;
    border: 1px solid rgba(17, 36, 59, 0.08);
    background: rgba(255, 255, 255, 0.88);
    color: rgba(17, 36, 59, 0.72);
    line-height: 1.45;
}

.or-route-editor__point-list {
    display: grid;
    gap: 10px;
}

.or-route-editor__point-list-header {
    display: grid;
    gap: 4px;
}

.or-route-editor__point-list-header span {
    color: rgba(17, 36, 59, 0.6);
    font-size: 0.84rem;
    line-height: 1.4;
}

.or-route-editor__points {
    display: grid;
    gap: 10px;
}

.or-route-point-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--or-line);
    background: rgba(255, 255, 255, 0.96);
}

.or-route-point-item__meta {
    display: grid;
    gap: 4px;
}

.or-route-point-item strong {
    display: block;
    margin-bottom: 4px;
}

.or-route-point-item__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.or-route-point-item span {
    color: rgba(17, 36, 59, 0.64);
    font-size: 0.86rem;
    line-height: 1.45;
}

.or-route-pin-wrapper {
    background: transparent;
    border: 0;
}

.or-route-drag-preview {
    position: fixed;
    z-index: 1200;
    pointer-events: none;
    transform: translate(-50%, calc(-100% + 12px));
}

.or-route-drag-preview__pin {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 18px 28px rgba(17, 36, 59, 0.2);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 800;
}

.or-route-pin {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid #fff;
    box-shadow: 0 10px 20px rgba(17, 36, 59, 0.22);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
}

.or-route-pin.is-start {
    background: #169b62;
}

.or-route-drag-preview__pin.is-start {
    background: #169b62;
}

.or-route-pin.is-finish {
    background: var(--or-brand);
}

.or-route-drag-preview__pin.is-finish {
    background: var(--or-brand);
}

.or-route-pin.is-waypoint {
    background: #11243b;
}

.or-route-drag-preview__pin.is-waypoint {
    background: #11243b;
}

.or-race-summary-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.or-panel > .or-race-summary-strip:last-child {
    margin-bottom: 0;
}

.or-race-summary-strip article {
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid var(--or-line);
    background: linear-gradient(180deg, #fff, #fbfcff);
}

.or-race-summary-strip span {
    display: block;
    margin-bottom: 8px;
    color: rgba(17, 36, 59, 0.62);
}

.or-race-summary-strip strong {
    font-size: 1.15rem;
    line-height: 1.1;
    font-weight: 700;
    color: var(--or-ink);
}

.or-public-results-card {
    display: grid;
    gap: 18px;
    padding: 22px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--or-line);
    border-radius: 24px;
    box-shadow: var(--or-shadow);
}

.or-live-results-list {
    display: grid;
    gap: 10px;
}

.or-live-compact-note {
    padding: 14px 16px;
    border: 1px dashed rgba(17, 36, 59, 0.14);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    color: rgba(17, 36, 59, 0.74);
    line-height: 1.55;
}

.or-live-compact-note strong {
    display: block;
    margin-bottom: 6px;
    color: #11243b;
}

.or-live-filter-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.or-live-filter-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 12px;
}

.or-live-results > .or-live-filter-group + .or-live-filter-toolbar {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(17, 36, 59, 0.08);
}

.or-live-filter-chip,
.or-live-clear {
    border: 1px solid var(--or-line);
    border-radius: 999px;
    background: #fff;
    color: #11243b;
    padding: 10px 14px;
    font: inherit;
    cursor: pointer;
}

.or-live-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.or-live-filter-chip small {
    color: rgba(17, 36, 59, 0.58);
    font-size: 0.8rem;
}

.or-live-filter-chip.is-active {
    border-color: rgba(255, 92, 57, 0.28);
    background: rgba(255, 92, 57, 0.08);
    color: var(--or-brand-deep);
}

.or-live-search {
    flex: 1 1 260px;
}

.or-live-search input {
    width: 100%;
    border: 1px solid var(--or-line);
    border-radius: 999px;
    padding: 11px 14px;
    background: #fff;
    font: inherit;
}

.or-live-search input:focus-visible,
.or-live-filter-chip:focus-visible,
.or-live-clear:focus-visible {
    outline: 2px solid rgba(255, 92, 57, 0.28);
    outline-offset: 2px;
}

.or-live-results-summary {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.or-live-results-summary strong {
    font-size: 1rem;
}

.or-live-results-summary p,
.or-live-results-summary span {
    color: rgba(17, 36, 59, 0.68);
    font-size: 0.92rem;
}

.or-live-results-summary p {
    margin: 4px 0 0;
    line-height: 1.45;
}

.or-live-results-pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 14px 0 0;
}

.or-live-results-pagination[hidden] {
    display: none;
}

.or-live-results-pagination__state {
    color: rgba(17, 36, 59, 0.68);
    font-size: 0.92rem;
}

.or-live-results-pagination__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid rgba(17, 36, 59, 0.12);
    background: #fff;
    color: var(--or-ink);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.or-live-results-pagination__button.is-disabled,
.or-live-results-pagination__button:disabled {
    opacity: 0.45;
    cursor: default;
}

.or-live-result-row {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid var(--or-line);
    border-radius: 18px;
    background: linear-gradient(180deg, #fff, #fbfcff);
}

.or-live-result-row[hidden] {
    display: none;
}

.or-live-result-row__rank {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    background: rgba(17, 36, 59, 0.06);
    color: #11243b;
    font-size: 1.15rem;
    font-weight: 800;
}

.or-live-result-row__main strong,
.or-live-result-row__meta strong {
    display: block;
    margin-bottom: 4px;
}

.or-live-result-row__main span,
.or-live-result-row__meta span {
    color: rgba(17, 36, 59, 0.68);
    font-size: 0.92rem;
    line-height: 1.45;
}

.or-live-result-row__meta {
    display: grid;
    justify-items: end;
    gap: 4px;
    text-align: right;
}

.or-live-result-row__main {
    min-width: 0;
}

.or-live-result-row__main strong {
    word-break: break-word;
}

.or-race-summary-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid var(--or-line);
    background: linear-gradient(180deg, #fff, #fbfcff);
}

.or-race-summary-item strong {
    display: block;
    margin-bottom: 4px;
}

.or-race-summary-item span {
    color: rgba(17, 36, 59, 0.68);
    font-size: 0.92rem;
}

.or-bar-list {
    display: grid;
    gap: 14px;
}

.or-bar-row {
    display: grid;
    gap: 8px;
}

.or-bar-track {
    height: 12px;
    border-radius: 999px;
    background: rgba(17, 36, 59, 0.08);
    overflow: hidden;
}

.or-bar-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--or-brand), #ffbc63);
}

.or-split-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.or-split-stats ul,
.or-public-card__races {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.or-split-stats li {
    display: flex;
    justify-content: space-between;
}

.or-live-row {
    align-items: center;
}

.or-live-row__meta {
    display: grid;
    justify-items: end;
    gap: 10px;
}

.or-live-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: end;
}

.or-live-actions button {
    border: 1px solid var(--or-line);
    background: #fff;
    border-radius: 999px;
    padding: 8px 12px;
    font: inherit;
}

.or-live-actions input {
    width: 88px;
    border: 1px solid var(--or-line);
    border-radius: 999px;
    padding: 8px 10px;
}

.or-inline-link {
    color: var(--or-brand-deep);
    font-weight: 600;
    text-decoration: none;
}

.or-funnel-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.or-funnel-grid article {
    border: 1px solid var(--or-line);
    border-radius: 18px;
    padding: 16px;
    background: linear-gradient(180deg, #fff, #f7fbff);
}

.or-funnel-grid span {
    display: block;
    color: rgba(17, 36, 59, 0.65);
    margin-bottom: 8px;
}

.or-funnel-grid strong {
    font-size: 1.5rem;
}

.or-public-hero,
.or-event-hero {
    padding: calc(var(--header-height, 78px) + 18px) 0 28px;
}

.or-public-shell {
    padding-bottom: 56px;
}

.or-public-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 24px;
    align-items: stretch;
}

.or-public-hero__copy {
    display: grid;
    gap: 18px;
    align-content: center;
    max-width: 760px;
}

.or-public-hero__highlight {
    padding: 26px;
    border-radius: 28px;
    border: 1px solid var(--or-line);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--or-shadow);
    display: grid;
    gap: 18px;
}

.or-public-hero__highlight h2 {
    margin: 0;
    font-size: clamp(1.5rem, 2.6vw, 2.4rem);
    line-height: 1.05;
}

.or-stat-strip,
.or-process-grid,
.or-info-grid {
    display: grid;
    gap: 14px;
}

.or-stat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.or-stat-strip article,
.or-process-card,
.or-info-grid article,
.or-register-summary__stats article {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--or-line);
    background: linear-gradient(180deg, #fff, #fbfcff);
}

.or-stat-strip span,
.or-process-card strong,
.or-info-grid span,
.or-register-summary__stats span {
    display: block;
    color: rgba(17, 36, 59, 0.66);
    margin-bottom: 8px;
}

.or-stat-strip strong,
.or-info-grid strong,
.or-register-summary__stats strong {
    font-size: 1.42rem;
    overflow-wrap: anywhere;
}

.or-process-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.or-process-card h3 {
    margin: 0 0 10px;
}

.or-process-card p {
    margin: 0;
    color: rgba(17, 36, 59, 0.72);
}

.or-event-showcase {
    display: grid;
    grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
    gap: clamp(16px, 2vw, 24px);
    align-items: start;
}

.or-event-showcase__media {
    aspect-ratio: 1 / 1;
    min-height: auto;
    width: 100%;
    max-width: 320px;
    justify-self: start;
    align-self: start;
    border-radius: 26px;
}

.or-event-showcase__main {
    display: grid;
    gap: 16px;
    min-width: 0;
    align-content: start;
}

.or-event-showcase__eyebrows,
.or-register-summary__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.or-event-showcase__copy p,
.or-public-card__body p,
.or-form-intro {
    color: rgba(17, 36, 59, 0.75);
}

.or-event-showcase__copy {
    min-width: 0;
    gap: 16px;
}

.or-event-showcase__headline {
    display: grid;
    gap: 10px;
}

.or-event-hero {
    padding: 32px 0 40px;
}

.or-event-public {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: clamp(32px, 5vw, 60px);
    align-items: start;
    padding-top: 20px;
}

.or-event-public__media {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 360px;
    justify-self: end;
    align-self: start;
}

.or-event-public__cover {
    display: block;
    margin: 0;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(17, 36, 59, 0.08);
    background: linear-gradient(180deg, #fff4e5, #fffaf4);
    box-shadow: 0 22px 40px rgba(17, 36, 59, 0.08);
}

.or-event-public__cover img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.or-event-public__media .cta {
    width: 100%;
}

.or-event-public__content,
.or-event-public__intro {
    display: grid;
    gap: 16px;
}

.or-event-public__content {
    min-width: 0;
    align-content: start;
}

.or-event-public__eyebrows {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.or-event-public__intro h1 {
    margin: 0 0 8px;
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-weight: 800;
    color: var(--or-ink);
}

.or-event-public__summary {
    margin: 0;
    max-width: 52rem;
    color: rgba(17, 36, 59, 0.72);
    font-size: 1.15rem;
    line-height: 1.6;
}

.or-event-public__meta {
    margin: 20px 0 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.or-event-public__meta article {
    display: grid;
    gap: 4px;
    padding: 16px 24px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(17, 36, 59, 0.08);
    box-shadow: 0 4px 12px rgba(17, 36, 59, 0.04);
    min-width: 0;
}

.or-event-public__meta article:hover {
    background: #fff;
}

.or-event-public__meta dt {
    color: rgba(17, 36, 59, 0.45);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.or-event-public__meta dd {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--or-ink);
}

.or-meta-link {
    display: block;
    margin-top: 2px;
    font-size: 0.85rem;
    color: var(--or-brand);
    text-decoration: none;
    font-weight: 600;
    word-break: break-all;
}

.or-meta-subvalue {
    line-height: 1.25;
}

.or-event-public__meta dd small {
    display: block;
    margin-top: 4px;
    font-size: 0.85rem;
    color: rgba(17, 36, 59, 0.5);
    font-weight: 500;
}

.or-event-public__meta small {
    color: rgba(17, 36, 59, 0.6);
    font-size: 0.8rem;
    line-height: 1.4;
}

.or-event-public__contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 14px 24px;
    align-items: start;
}

.or-event-public__contact-item {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.or-event-public__contact-item span {
    display: block;
    color: rgba(17, 36, 59, 0.58);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.or-event-public__contact-item string {
    display: block;
    font-size: 1rem;
    line-height: 1.35;
    color: var(--or-ink);
}

.or-event-public__contact-item a {
    overflow-wrap: anywhere;
}

.or-event-public__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 32px;
}

.or-event-public__actions .cta {
    padding: 18px 48px;
    font-size: 1.15rem;
    font-weight: 800;
    border-radius: 20px;
}

.or-public-shell .cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    background: var(--or-brand);
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 92, 57, 0.22);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    border: 1px solid transparent; /* Ensure equal height with ghost buttons */
    box-sizing: border-box;
}

.or-public-shell .cta:hover {
    background: var(--or-brand-deep);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 92, 57, 0.35);
}

.or-public-shell .cta.ghost {
    background: rgba(17, 36, 59, 0.04);
    color: var(--or-ink);
    box-shadow: none;
    border: 1px solid rgba(17, 36, 59, 0.08);
}

.or-public-shell .cta.ghost:hover {
    background: rgba(17, 36, 59, 0.07);
    border-color: rgba(17, 36, 59, 0.15);
    box-shadow: none;
}

.or-public-shell .cta:disabled,
.or-public-shell .cta.is-disabled {
    background: rgba(17, 36, 59, 0.08) !important;
    color: rgba(17, 36, 59, 0.3) !important;
    border-color: rgba(17, 36, 59, 0.05) !important;
    box-shadow: none !important;
    pointer-events: none !important;
    transform: none !important;
    cursor: default;
}

.or-race-public-row__foot .cta {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: 16px;
    min-width: 140px;
}

.or-public-section {
    padding: 40px 0;
}

.or-event-hero > .container,
.or-public-section.container {
    max-width: 1160px;
    padding-left: clamp(24px, 3vw, 42px);
    padding-right: clamp(24px, 3vw, 42px);
}

.or-section-heading {
    margin-bottom: 20px;
}

.or-race-public-list {
    display: grid;
    gap: 14px;
}

.or-race-public-row {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 20px;
    padding: 24px;
    border: 1px solid rgba(17, 36, 59, 0.08);
    border-radius: 24px;
    background: #fff;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
    box-shadow: var(--or-shadow);
}

.or-race-public-row:hover {
    background: #fff;
    transform: translateY(-2px);
}

.or-race-public-row__media {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255, 92, 57, 0.16), rgba(17, 36, 59, 0.08));
}

.or-race-public-row__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.or-race-public-row__body,
.or-race-public-row__title {
    display: grid;
    gap: 12px;
    min-width: 0;
}

.or-race-public-row__header,
.or-race-public-row__foot {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: start;
    flex-wrap: wrap;
}

.or-race-public-row__title {
    gap: 8px;
}

.or-race-public-row__title h3 {
    margin: 0;
    font-size: 1.4rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--or-ink);
    font-weight: 700;
}

.or-race-public-row__title p {
    margin: 0;
    color: rgba(17, 36, 59, 0.65);
    line-height: 1.6;
    font-size: 0.95rem;
}

.or-race-public-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.or-race-public-row__meta span {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 12px;
    background: rgba(17, 36, 59, 0.04);
    color: rgba(17, 36, 59, 0.75);
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.2;
    border: 1px solid rgba(17, 36, 59, 0.05);
}

.or-race-public-row__foot .cta {
    align-self: center;
}

.or-race-public-row__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.or-feature-grid article,
.or-prefill-card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid var(--or-line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: var(--or-shadow);
}

.or-public-card__meta span {
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--or-warm);
}

.or-entity-showcase {
    display: grid;
    gap: 0;
    padding: 24px;
    border: 1px solid rgba(17, 36, 59, 0.08);
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    box-shadow: var(--or-shadow);
}

.or-entity-band {
    display: grid;
    gap: 12px;
}

.or-entity-band + .or-entity-band {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(17, 36, 59, 0.08);
}

.or-entity-band__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.or-entity-band__header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--or-ink);
}

.or-entity-band__header span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(17, 36, 59, 0.06);
    color: rgba(17, 36, 59, 0.72);
    font-size: 0.82rem;
    font-weight: 800;
}

.or-entity-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.or-entity-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 11px 14px;
    border-radius: 18px;
    border: 1px solid rgba(17, 36, 59, 0.08);
    background: rgba(255, 255, 255, 0.9);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

a.or-entity-chip:hover {
    border-color: rgba(255, 92, 57, 0.22);
    background: rgba(255, 255, 255, 0.98);
    transform: translateY(-1px);
}

.or-entity-chip img,
.or-entity-chip__mark {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: 14px;
}

.or-entity-chip img {
    object-fit: contain;
    padding: 6px;
    background: #fff;
}

.or-entity-chip__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(17, 36, 59, 0.06);
    color: var(--or-ink);
    font-size: 1rem;
    font-weight: 800;
}

.or-entity-chip__name {
    min-width: 0;
    font-size: 0.94rem;
    font-weight: 700;
    line-height: 1.35;
}

.or-register-shell {
    align-items: start;
    padding: 48px 0 24px;
}

.or-register-summary {
    position: sticky;
    top: 32px;
    display: grid;
    gap: 16px;
}

.or-register-summary__lead {
    display: grid;
    gap: 14px;
}

.or-register-summary__media {
    width: min(100%, 320px);
    margin: 0 auto;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1;
    min-height: 0;
    padding: 0;
    background: transparent;
}

.or-register-summary__media > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: inherit;
}

.or-register-summary__stats {
    display: grid;
    gap: 12px;
}

.or-register-main {
    display: grid;
    gap: 18px;
    align-content: start;
}

.or-register-shell {
    grid-template-columns: minmax(320px, 380px) minmax(0, 1fr);
    gap: 20px;
}

.or-register-summary dl,
.or-result-card dl {
    margin: 0;
    display: grid;
    gap: 10px;
}

.or-register-race-note {
    margin: 0;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--or-line);
    background: linear-gradient(180deg, #fff9f5, #ffffff);
    color: rgba(17, 36, 59, 0.72);
}

.or-register-form {
    display: grid;
    gap: 18px;
}

.or-register-form .or-form-actions .cta {
    min-height: 56px;
    padding: 15px 28px;
    font-size: 1rem;
}

.or-prefill-card--register {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-color: rgba(255, 91, 91, 0.18);
    background:
        radial-gradient(circle at 12% 12%, rgba(255, 255, 255, 0.24), transparent 24%),
        radial-gradient(circle at 92% 6%, rgba(255, 255, 255, 0.18), transparent 22%),
        linear-gradient(135deg, #ff5b5b 0%, #ff9858 100%);
    box-shadow: 0 22px 42px rgba(255, 91, 91, 0.18);
    color: rgba(255, 255, 255, 0.96);
}

.or-prefill-launch {
    width: 100%;
    appearance: none;
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.or-prefill-launch:hover,
.or-prefill-launch:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 28px 50px rgba(255, 91, 91, 0.22);
    filter: saturate(1.04);
    outline: none;
}

.or-prefill-launch:disabled {
    cursor: default;
}

.or-prefill-launch__copy,
.or-prefill-card__copy {
    display: grid;
    gap: 10px;
}

.or-prefill-card--register .eyebrow {
    background: rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.18);
}

.or-prefill-card__copy h2,
.or-prefill-card__copy p {
    margin: 0;
}

.or-prefill-launch__title,
.or-prefill-card--register .or-prefill-card__copy h2 {
    display: block;
    color: #fff;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 800;
    line-height: 1.08;
}

.or-prefill-launch__description,
.or-prefill-card--register .or-prefill-card__copy p,
.or-prefill-card--register .or-prefill-status {
    display: block;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
}

.or-prefill-launch__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.or-prefill-launch__status-shell {
    flex: 1 1 240px;
    min-width: 0;
    display: grid;
}

.or-prefill-launch__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--or-ink);
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(17, 36, 59, 0.12);
}

.or-prefill-launch.is-connected .or-prefill-launch__cta {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    box-shadow: none;
}

.or-prefill-auth__providers {
    display: grid;
    gap: 12px;
}

.or-prefill-auth__provider {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 74px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(17, 36, 59, 0.1);
    background: #fff;
    color: var(--or-ink);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(17, 36, 59, 0.06);
    transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.or-prefill-auth__provider-main {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.or-prefill-auth__provider-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    border-radius: 14px;
    background: #f5f7fb;
    color: var(--or-ink);
}

.or-prefill-auth__provider-icon svg {
    width: 20px;
    height: 20px;
    display: block;
}

.or-prefill-auth__provider-icon img {
    width: 20px;
    height: 20px;
    display: block;
    object-fit: contain;
}

.or-prefill-auth__provider-label {
    display: block;
    font-size: 1rem;
    line-height: 1.2;
}

.or-prefill-auth__provider-tail {
    flex: 0 0 auto;
    color: rgba(17, 36, 59, 0.42);
    font-size: 1.1rem;
    line-height: 1;
}

.or-prefill-auth__provider-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(17, 36, 59, 0.06);
    color: rgba(17, 36, 59, 0.58);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.or-prefill-auth__provider:hover,
.or-prefill-auth__provider:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(17, 36, 59, 0.18);
    box-shadow: 0 14px 28px rgba(17, 36, 59, 0.1);
}

.or-prefill-auth__provider:disabled {
    cursor: not-allowed;
    opacity: 1;
    transform: none;
    box-shadow: 0 8px 18px rgba(17, 36, 59, 0.04);
}

.or-prefill-auth__provider.is-apple {
    background: linear-gradient(180deg, #151515, #060606);
    border-color: rgba(0, 0, 0, 0.96);
    color: #fff;
}

.or-prefill-auth__provider.is-apple .or-prefill-auth__provider-icon {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.or-prefill-auth__provider.is-apple .or-prefill-auth__provider-icon path {
    fill: currentColor;
}

.or-prefill-auth__provider.is-apple .or-prefill-auth__provider-tail {
    color: rgba(255, 255, 255, 0.56);
}

.or-prefill-auth__provider.is-google {
    background: #fff;
    border-color: rgba(17, 36, 59, 0.1);
    color: rgba(17, 36, 59, 0.92);
}

.or-prefill-auth__provider.is-google .or-prefill-auth__provider-icon {
    background: #fff;
    border: 1px solid rgba(17, 36, 59, 0.08);
}

.or-prefill-auth__provider.is-strava {
    background: linear-gradient(180deg, #fff6ef, #ffffff);
    border-color: rgba(252, 82, 0, 0.2);
    color: rgba(17, 36, 59, 0.92);
}

.or-prefill-auth__provider.is-strava .or-prefill-auth__provider-icon {
    background: #fc5200;
}

[data-firebase-prefill].is-loading .or-prefill-auth__provider,
[data-firebase-prefill].is-loading .or-prefill-login .cta,
[data-firebase-prefill].is-loading .or-prefill-launch {
    opacity: 0.72;
}

.or-form-section,
.or-consent-card {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid var(--or-line);
    background: linear-gradient(180deg, #fff, #fbfdff);
}

.or-form-section__header {
    display: grid;
    gap: 6px;
}

.or-form-section__header h3,
.or-consent-card h3 {
    margin: 0;
}

.or-form-section__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.or-form-section__grid .is-wide {
    grid-column: 1 / -1;
}

.or-register-form label.has-error input,
.or-register-form label.has-error textarea,
.or-register-form label.has-error select {
    border-color: #cf3b1e;
}

.or-register-form small,
.or-prefill-status {
    color: rgba(17, 36, 59, 0.7);
}

.or-checkbox-stack {
    display: grid;
    gap: 14px;
}

.or-checkbox-row {
    display: flex;
    align-items: start;
    gap: 12px;
}

.or-checkbox-row input {
    margin-top: 0.25rem;
    flex: 0 0 auto;
}

.or-prefill-login {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: end;
}

.or-prefill-login .cta {
    width: 100%;
}

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

.or-prefill-status {
    margin: 0;
}

.or-prefill-status--launch {
    color: rgba(255, 255, 255, 0.88);
}

.or-prefill-status--launch[data-tone="success"] {
    color: rgba(255, 255, 255, 0.96);
}

.or-prefill-status--launch[data-tone="error"] {
    color: #fff2e9;
}

.or-prefill-status--launch[data-tone="muted"] {
    color: rgba(255, 255, 255, 0.78);
}

.or-prefill-status[data-tone="success"] {
    color: #25744d;
}

.or-prefill-status[data-tone="error"] {
    color: #c64c2b;
}

.or-prefill-status[data-tone="muted"] {
    color: rgba(17, 36, 59, 0.62);
}

.or-result-shell {
    padding: calc(var(--header-height, 78px) + 24px) 0 72px;
}

.or-result-card {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}

.or-result-card.is-success {
    background: linear-gradient(180deg, #f2fff8, #ffffff);
}

.or-result-card.is-cancelled {
    background: linear-gradient(180deg, #fff8f1, #ffffff);
}

.or-dialog--prefill {
    width: min(820px, calc(100vw - 32px));
    background:
        radial-gradient(circle at top right, rgba(255, 145, 83, 0.08), transparent 28%),
        linear-gradient(180deg, #ffffff, #fffaf6);
}

.or-dialog--prefill .or-dialog__surface {
    gap: 20px;
    padding: 30px 30px 26px;
}

.or-dialog--prefill .or-dialog__header {
    align-items: start;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(17, 36, 59, 0.08);
}

.or-dialog--prefill .or-dialog__header > div {
    gap: 10px;
}

.or-dialog--prefill .eyebrow {
    width: fit-content;
}

.or-dialog--prefill .or-dialog__header h2 {
    font-size: clamp(1.5rem, 2.8vw, 2rem);
}

.or-dialog--prefill .or-dialog__header p {
    max-width: 44ch;
}

.or-prefill-modal {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: 18px;
}

.or-prefill-modal__panel {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(17, 36, 59, 0.08);
    background: linear-gradient(180deg, #ffffff, #fcfdff);
    box-shadow: 0 16px 34px rgba(17, 36, 59, 0.05);
}

.or-prefill-modal__panel--providers {
    background: linear-gradient(180deg, #f8fbff, #ffffff);
}

.or-prefill-modal__section-head {
    display: grid;
    gap: 6px;
}

.or-prefill-modal__section-head h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
}

.or-prefill-modal__section-head p {
    margin: 0;
    color: rgba(17, 36, 59, 0.62);
    line-height: 1.5;
}

.or-prefill-email-card {
    display: grid;
    gap: 16px;
    background:
        radial-gradient(circle at top left, rgba(255, 145, 83, 0.1), transparent 26%),
        linear-gradient(180deg, #fff8f2, #ffffff);
}

.or-prefill-email-card .or-prefill-login {
    grid-template-columns: 1fr;
    gap: 12px;
}

.or-prefill-email-card .or-prefill-login .cta {
    min-height: 56px;
    padding: 15px 28px;
    font-size: 1rem;
}

.or-prefill-email-card .or-prefill-status {
    min-height: 1.2rem;
}

.or-flash {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid var(--or-line);
}

.or-flash.is-error {
    background: #fff4f1;
    border-color: rgba(207, 59, 30, 0.2);
}

.or-flash.is-success {
    background: #effbf3;
    border-color: rgba(35, 160, 87, 0.2);
}

.or-toast-stack {
    position: fixed;
    top: calc(var(--header-height, 78px) + 20px);
    right: clamp(16px, 3vw, 28px);
    z-index: 1200;
    display: grid;
    gap: 12px;
    width: min(calc(100vw - 32px), 380px);
    pointer-events: none;
}

.or-toast {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px 14px 12px;
    border-radius: 20px;
    border: 1px solid rgba(17, 36, 59, 0.08);
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(38, 173, 140, 0.14), transparent 56%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(246, 249, 253, 0.985));
    box-shadow:
        0 14px 32px rgba(17, 36, 59, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
    pointer-events: auto;
    animation: or-toast-enter 170ms ease-out;
    overflow: hidden;
}

.or-toast.is-success {
    border-color: rgba(20, 124, 100, 0.14);
}

.or-toast.is-error {
    border-color: rgba(207, 59, 30, 0.14);
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(255, 92, 57, 0.16), transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(255, 247, 244, 0.97));
}

.or-toast__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: linear-gradient(180deg, #22b08f, #17886d);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.36),
        0 10px 18px rgba(23, 136, 109, 0.24);
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.98);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.or-toast.is-error .or-toast__icon {
    background: linear-gradient(180deg, #ff7b5c, #d84d2d);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        0 10px 18px rgba(216, 77, 45, 0.22);
}

.or-toast__content {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.or-toast__head {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 10px;
}

.or-toast__title {
    display: block;
    font-size: 0.96rem;
    line-height: 1.25;
    color: var(--or-ink);
}

.or-toast.is-error .or-toast__title {
    color: #8a2e1d;
}

.or-toast__message {
    margin: 0;
    color: rgba(17, 36, 59, 0.68);
    line-height: 1.5;
    font-size: 0.93rem;
}

.or-toast.is-error .or-toast__message {
    color: rgba(113, 42, 29, 0.82);
}

.or-toast__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(17, 36, 59, 0.06);
    color: rgba(17, 36, 59, 0.46);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 140ms ease, color 140ms ease, transform 140ms ease;
}

.or-toast__close:hover,
.or-toast__close:focus-visible {
    background: rgba(17, 36, 59, 0.1);
    color: rgba(17, 36, 59, 0.78);
    transform: translateY(-1px);
}

.or-toast__meter {
    display: block;
    height: 4px;
    margin-top: 2px;
    border-radius: 999px;
    background: rgba(17, 36, 59, 0.08);
    overflow: hidden;
}

.or-toast__meter-bar {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22b08f, #7be0c6);
    animation: or-toast-meter var(--or-toast-duration, 4200ms) linear forwards;
    transform-origin: left center;
}

.or-toast.is-error .or-toast__meter-bar {
    background: linear-gradient(90deg, #ff7b5c, #ffc2b3);
}

.or-toast.is-leaving {
    animation: or-toast-exit 140ms ease-in forwards;
}

.cta.is-loading {
    opacity: 0.8;
    cursor: wait;
}

@keyframes or-toast-enter {
    from {
        opacity: 0;
        transform: translate3d(0, -4px, 0);
    }

    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes or-toast-exit {
    from {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    to {
        opacity: 0;
        transform: translate3d(0, -2px, 0);
    }
}

@keyframes or-toast-meter {
    from {
        transform: scaleX(1);
    }

    to {
        transform: scaleX(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .or-toast,
    .or-toast.is-leaving,
    .or-toast__meter-bar {
        animation: none;
    }
}

.or-empty {
    color: rgba(17, 36, 59, 0.65);
}

.or-disclosure-panel {
    border: 1px solid var(--or-line);
    border-radius: 22px;
    background: linear-gradient(180deg, #fff, #fbfcff);
    box-shadow: 0 14px 30px rgba(17, 36, 59, 0.06);
    overflow: hidden;
}

.or-disclosure-panel > summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    cursor: pointer;
}

.or-disclosure-panel > summary::-webkit-details-marker {
    display: none;
}

.or-disclosure-panel > summary::after {
    content: "+";
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(17, 36, 59, 0.06);
    color: rgba(17, 36, 59, 0.78);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
    flex: 0 0 auto;
}

.or-disclosure-panel[open] > summary {
    border-bottom: 1px solid rgba(17, 36, 59, 0.08);
}

.or-disclosure-panel[open] > summary::after {
    content: "−";
}

.or-disclosure-panel__summary {
    display: grid;
    gap: 6px;
}

.or-disclosure-panel__summary strong {
    font-size: 1rem;
    line-height: 1.32;
}

.or-disclosure-panel__summary span {
    color: rgba(17, 36, 59, 0.68);
    line-height: 1.5;
}

.or-disclosure-panel__content {
    display: grid;
    gap: 18px;
    padding: 20px;
}

.or-recent-list {
    display: grid;
    gap: 12px;
}

.or-recent-item {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid var(--or-line);
    background: linear-gradient(180deg, #fff, #fbfcff);
}

.cta.is-static {
    pointer-events: none;
}

@media (max-width: 1080px) {
    .or-entity-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .or-admin-shell,
    .or-auth-card,
    .or-priority-grid,
    .or-panel-grid,
    .or-inline-grid,
    .or-register-shell,
    .or-form-grid,
    .or-fact-grid,
    .or-split-stats,
    .or-public-hero__grid,
    .or-process-grid,
    .or-event-showcase,
    .or-event-public,
    .or-admin-overview-grid,
    .or-event-summary-grid,
    .or-auth-copy__meta,
    .or-form-section__grid {
        grid-template-columns: 1fr;
    }

    .or-admin-sidebar {
        position: static;
        min-height: auto;
    }

    .or-admin-sidebar__body,
    .or-admin-sidebar__footer {
        gap: 14px;
    }

    .or-admin-sidebar__footer {
        margin-top: 0;
    }

    .or-admin-main {
        padding: 20px 16px 28px;
    }

    .or-admin-context {
        flex-direction: column;
        align-items: flex-start;
    }

    .or-admin-context__meta {
        justify-content: flex-start;
    }

    .or-admin-main .or-panel-grid,
    .or-admin-main .or-inline-grid {
        grid-template-columns: 1fr;
    }

    .or-registration-builder__grid,
    .or-registration-builder__workspace,
    .or-registration-builder__summary {
        grid-template-columns: 1fr;
    }

    .or-registration-builder__composer {
        position: static;
    }

    .or-admin-sidebar__footer-links {
        grid-template-columns: 1fr;
    }

    .or-admin-nav.is-subnav {
        margin-left: 0;
    }

    .or-admin-summary-grid {
        grid-template-columns: 1fr;
    }

    .or-billing-summary__grid {
        grid-template-columns: 1fr;
    }

    .or-event-row {
        grid-template-columns: 1fr;
    }

    .or-event-row--compact {
        grid-template-columns: 1fr;
    }

    .or-event-row--compact .or-event-row__actions {
        justify-items: start;
    }

    .or-race-row,
    .or-route-editor__layout {
        grid-template-columns: 1fr;
    }

    .or-race-row__media {
        max-width: min(320px, 100%);
        min-height: 220px;
    }

    .or-race-row-list--compact .or-race-row {
        grid-template-columns: 1fr;
    }

    .or-race-row-list--compact .or-race-row__actions {
        justify-items: start;
    }

    .or-event-row__actions {
        align-content: start;
    }

    .or-admin-main .or-panel-grid > *,
    .or-admin-main .or-inline-grid > *,
    .or-admin-main .or-panel-grid > :first-child,
    .or-admin-main .or-panel-grid > :last-child,
    .or-admin-main .or-inline-grid > :first-child,
    .or-admin-main .or-inline-grid > :last-child {
        grid-column: auto;
    }

    .or-event-form-grid > .is-two-thirds,
    .or-event-form-grid > .is-one-third,
    .or-event-form-grid > .is-half,
    .or-event-form-grid > .is-city,
    .or-event-form-grid > .is-country,
    .or-builder-span-main,
    .or-builder-span-type,
    .or-builder-span-default,
    .or-builder-span-half,
    .or-builder-checkbox,
    .or-race-form-grid > .is-two-thirds,
    .or-race-form-grid > .is-one-third,
    .or-race-form-grid > .is-half {
        grid-column: auto;
    }

    .or-builder-item__body,
    .or-builder-composer__grid {
        grid-template-columns: 1fr;
    }

    .or-event-form .or-form-actions--event.is-split,
    .or-race-editor-form .or-form-actions--event.is-split {
        justify-content: flex-end;
    }

    .or-admin-shell > .site-footer {
        grid-column: auto;
        grid-row: auto;
    }

    .or-admin-shell > .site-footer .site-footer__legal {
        align-items: flex-start;
    }

    .or-admin-shell > .site-footer .site-footer__legal-copy {
        margin-left: 0;
        text-align: left;
    }

    .or-register-summary {
        position: static;
    }

    .or-auth-page .or-auth-shell {
        max-width: 1180px;
        padding-inline: 28px;
    }

    .or-event-showcase__media {
        max-width: min(420px, 100%);
        justify-self: center;
    }

    .or-event-public__media {
        max-width: min(420px, 100%);
        justify-self: center;
    }

    .or-stat-strip,
    .or-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .or-route-editor__metrics,
    .or-race-summary-strip,
    .or-race-row__meta {
        grid-template-columns: 1fr 1fr;
    }

    .or-entity-summary,
    .or-entity-card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .or-entity-form__field.is-type,
    .or-entity-form__field.is-name,
    .or-entity-form__field.is-url,
    .or-entity-form__field.is-logo {
        grid-column: span 6;
    }

    .or-route-editor__drawer {
        position: static;
        margin-top: 14px;
        width: 100%;
        transform: none;
    }

    .or-auth-copy {
        padding: 28px;
    }

    .or-auth-story,
    .or-auth-preview {
        grid-template-columns: 1fr;
    }

    .or-event-public__meta {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .or-prefill-auth__providers,
    .or-prefill-login {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1360px) and (min-width: 1081px) {
    .or-event-showcase {
        grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    }

    .or-registration-builder__workspace {
        grid-template-columns: 1fr;
    }

    .or-registration-builder__composer {
        position: static;
    }

}

@media (max-width: 720px) {
    .or-public-shell {
        padding-bottom: 12px;
    }

    .or-event-hero {
        padding: 30px 0 20px;
        text-align: center;
    }

    .or-event-public {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .or-event-public__intro {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .or-event-public__summary {
        margin: 0 auto;
    }

    .or-public-section {
        padding: 10px 0 30px;
    }

    .or-auth-card,
    .or-form-card,
    .or-section-card,
    .or-form-section-card,
    .or-panel,
    .or-register-form,
    .or-register-summary,
    .or-result-card {
        padding: 20px;
    }

    .or-page-header,
    .or-admin-hero,
    .or-disclosure-panel > summary,
    .or-builder-item > summary,
    .or-live-row,
    .or-event-row__meta div,
    .or-race-row__top,
    .or-race-card header,
    .or-stack-item,
    .or-builder-row,
    .or-public-card__footer,
    .or-race-public-row__header,
    .or-race-public-row__foot,
    .or-race-public-card__top,
    .or-race-public-card__foot,
    .or-recent-item,
    .or-route-editor__header,
    .or-route-point-item,
    .or-race-summary-item {
        flex-direction: column;
        align-items: stretch;
    }

    .or-task-item {
        grid-template-columns: 1fr;
    }

    .or-task-item > .or-inline-link {
        width: auto;
        min-width: 0;
        justify-content: flex-start;
        justify-self: start;
        text-align: left;
    }

    .or-stat-strip,
    .or-info-grid,
    .or-event-public__meta,
    .or-route-editor__metrics,
    .or-route-editor__toolbox,
    .or-entity-summary,
    .or-entity-card-grid,
    .or-race-summary-strip,
    .or-race-row__meta {
        grid-template-columns: 1fr;
    }

    .or-event-public__contact {
        grid-template-columns: 1fr;
    }

    .or-live-filter-toolbar,
    .or-live-results-summary,
    .or-live-results-pagination {
        flex-direction: column;
        align-items: stretch;
    }

    .or-live-results-pagination__button {
        width: 100%;
    }

    .or-live-result-row {
        grid-template-columns: 1fr;
    }

    .or-live-result-row__meta {
        justify-items: start;
        text-align: left;
    }

    .or-race-public-row {
        grid-template-columns: 1fr;
    }

    .or-event-public__media {
        order: -1;
        max-width: 320px;
        margin: 0 auto 32px;
        justify-self: center;
        gap: 16px;
    }

    .or-event-public__cover {
        border-radius: 24px;
        box-shadow: 0 10px 30px rgba(17, 36, 59, 0.15);
    }

    .or-event-public__media .cta {
        padding: 16px 32px;
        font-size: 1.05rem;
        border-radius: 16px;
    }

    .or-race-public-row {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    .or-race-public-row__media {
        max-width: 140px;
        margin: 0 auto;
    }

    .or-race-row-list--compact .or-race-row__main {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .or-event-row--compact .or-event-row__main {
        grid-template-columns: 60px minmax(0, 1fr);
    }

    .or-race-row-list--compact .or-race-row__media {
        width: 60px;
        min-width: 60px;
        min-height: 60px;
    }

    .or-event-row--compact .or-event-row__cover {
        width: 60px;
        min-width: 60px;
        min-height: 60px;
    }

    .or-race-row-list--compact .or-race-row__top {
        flex-direction: column;
        align-items: stretch;
    }

    .or-race-row-list--compact .or-race-row__description {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .or-event-row--compact .or-event-row__body > p {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .or-panel__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .or-admin-utility-link {
        width: 100%;
    }

    .or-panel-counter {
        white-space: normal;
    }

    .or-entity-card {
        grid-template-columns: 1fr;
    }

    .or-race-row__helper {
        white-space: normal;
    }

    .or-entity-group__header {
        display: grid;
        align-items: stretch;
    }

    .or-dialog {
        width: calc(100vw - 24px);
        max-height: calc(100vh - 24px);
    }

    .or-dialog__surface {
        padding: 20px 18px 18px;
    }

    .or-dialog__header {
        flex-direction: column;
        align-items: stretch;
    }

    .or-dialog__close {
        align-self: end;
    }

    .or-entity-form--dialog .or-entity-form__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .or-entity-form__field.is-type,
    .or-entity-form__field.is-name,
    .or-entity-form__field.is-url,
    .or-entity-form__field.is-logo {
        grid-column: 1 / -1;
    }

    .or-entity-form__actions {
        justify-content: stretch;
    }

    .or-entity-form__actions .cta {
        width: 100%;
    }

    .or-dialog__actions {
        justify-content: stretch;
    }

    .or-dialog__actions .cta {
        width: 100%;
    }

    .or-route-viewer__map {
        min-height: 50vh;
    }

    .or-entity-card__actions {
        justify-self: start;
    }

    .or-route-editor__map-note {
        left: 14px;
        bottom: 14px;
        max-width: none;
    }

    .or-route-editor__routing-state {
        left: 14px;
        right: 14px;
        transform: none;
        justify-content: center;
    }

    .or-route-editor__drawer,
    .or-route-editor__drawer-head {
        position: static;
    }

    .or-route-editor__drawer-head,
    .or-route-editor__map-actions {
        display: grid;
    }

    .or-route-editor__map-actions {
        gap: 6px;
        padding: 6px;
    }

    .or-route-editor__map-button {
        min-width: 0;
    }

    .or-inline-field-group {
        grid-template-columns: 1fr;
    }

    .or-route-point-item__actions {
        justify-content: flex-start;
    }

    .or-auth-page {
        padding: 20px 0 28px;
    }

    .or-admin-main {
        padding: 16px 12px 24px;
        gap: 16px;
    }

    .or-auth-page::after {
        inset: 8px 12px 10px;
        border-radius: 28px;
    }

    .or-auth-page .or-auth-shell {
        padding-inline: 20px;
    }

    .or-event-form .or-form-actions--event,
    .or-event-form .or-form-actions--event.is-split,
    .or-race-editor-form .or-form-actions--event,
    .or-race-editor-form .or-form-actions--event.is-split,
    .or-registration-builder .or-form-actions--builder,
    .or-registration-builder .or-form-actions--builder.is-split {
        flex-direction: column-reverse;
        align-items: stretch;
        justify-content: flex-start;
    }

    .or-event-form .or-form-actions--event .cta,
    .or-race-editor-form .or-form-actions--event .cta,
    .or-registration-builder .or-form-actions--builder .cta {
        width: 100%;
    }

    .or-form-actions.is-floating {
        position: static;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
    }

    .or-race-row__actions .cta {
        width: 100%;
    }

    .or-event-row--compact .or-event-row__actions .cta {
        width: 100%;
    }

    .or-prefill-card--register,
    .or-register-main {
        gap: 16px;
    }

    .or-prefill-launch__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .or-prefill-launch__cta {
        width: 100%;
    }

    .or-dialog--prefill .or-dialog__surface {
        padding: 22px 20px 20px;
    }

    .or-prefill-modal {
        grid-template-columns: 1fr;
    }

    .or-prefill-modal__panel {
        padding: 18px;
    }

    .or-prefill-auth__providers,
    .or-prefill-login {
        grid-template-columns: 1fr;
    }

    .or-action-links {
        align-items: flex-start;
    }

    .or-disclosure-panel__content {
        padding: 18px;
    }

    .or-section-nav {
        position: static;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
    }

    .or-section-nav a {
        width: 100%;
        justify-content: flex-start;
        background: rgba(17, 36, 59, 0.04);
    }

}

@media (max-width: 1080px) {
    /* Mobile Header & Sidebar Toggle */
    .or-admin-shell {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1fr) auto;
    }

    .or-admin-sidebar {
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 150;
        width: 290px;
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        background: linear-gradient(160deg, #10243a 0%, #173652 100%) !important;
        box-shadow: 20px 0 50px rgba(0, 0, 0, 0.5);
        visibility: hidden;
        padding-top: env(safe-area-inset-top, 20px);
    }

    body.is-sidebar-open .or-admin-sidebar {
        transform: translateX(0);
        visibility: visible;
    }

    .or-admin-sidebar-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(10, 15, 25, 0.6);
        backdrop-filter: blur(8px);
        z-index: 140;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }

    body.is-sidebar-open .or-admin-sidebar-backdrop {
        opacity: 1;
        visibility: visible;
    }

    .or-admin-mobile-header {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        background: #10243a !important;
        color: #fff;
        z-index: 110;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 60px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    }

    .or-admin-page {
        padding-top: 60px;
    }

    .or-admin-mobile-header__logo {
        display: flex;
        align-items: center;
        gap: 12px;
        color: #fff;
        text-decoration: none;
        font-weight: 700;
        font-size: 1.1rem;
    }

    .or-admin-mobile-toggle {
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #fff;
        height: 38px;
        border-radius: 10px;
        display: flex;
        align-items: center;
        gap: 8px;
        cursor: pointer;
        padding: 0 12px;
        transition: background 0.2s;
    }

    .or-admin-mobile-toggle__label {
        font-weight: 600;
        font-size: 0.9rem;
    }

    .or-admin-mobile-toggle:active {
        background: rgba(255, 255, 255, 0.2);
    }

    .or-admin-mobile-toggle svg {
        width: 18px;
        height: 18px;
    }

    .or-admin-main {
        margin: 0 10px 10px;
        border-radius: 24px;
        min-height: calc(100vh - 120px);
        padding: 24px 20px;
    }

    body.is-sidebar-open {
        overflow: hidden;
    }

    .or-admin-footer {
        flex-direction: column;
        gap: 14px;
        padding: 20px 20px 40px;
        text-align: center;
    }

    .or-admin-footer__links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.or-admin-mobile-header {
    display: none;
}
