@font-face {
    font-family: "Geogrotesque";
    src: url("/assets/fonts/geogrotesque-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Geogrotesque";
    src: url("/assets/fonts/geogrotesque-medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Geogrotesque";
    src: url("/assets/fonts/geogrotesque-bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Roboto";
    src: url("/assets/fonts/roboto-regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --ink: #565b64;
    --line: #6b7078;
    --light: #e5e6e8;
    --blue: #0c4b96;
    --blue-dark: #001b57;
    --blue-mid: #003070;
    --white: #ffffff;
    --ok: #0f7a3e;
    --err: #9a1f2b;
}

* {
    box-sizing: border-box;
}

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

body {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-weight: 300;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05)),
        url("/assets/background.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-shell {
    width: min(980px, 100%);
    margin: 0 auto;
    min-height: 100vh;
    padding: clamp(14px, 3.2vw, 28px) clamp(12px, 3.2vw, 28px) clamp(18px, 4.2vw, 34px);
}

.form-sheet {
    min-height: calc(100vh - 50px);
    max-width: 860px;
    margin: 0 auto;
    padding: 0 clamp(8px, 1.8vw, 18px) clamp(18px, 2.6vw, 30px);
}

.baxter-logo {
    display: block;
    width: min(340px, 58vw);
    max-width: 100%;
    height: auto;
    margin: 6px 0 clamp(14px, 3vw, 28px);
}

.baxter-logo--small {
    width: min(240px, 48vw);
    margin: 2px 0 12px;
}

.card--admin-hero .baxter-logo {
    margin: 0px;
}

.form-sheet--register .baxter-logo {
    margin-bottom: clamp(26px, 5vw, 46px);
}

.form-grid {
    display: grid;
    gap: clamp(11px, 2vw, 18px);
}

.name-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(11px, 2vw, 18px);
}

.name-row > label {
    min-width: 0;
}

.form-grid--event label {
    display: grid;
    gap: 4px;
    font-family: "Geogrotesque", "Roboto", sans-serif;
    font-size: clamp(1.2rem, 4.3vw, 2.1rem);
    line-height: 1.14;
    font-weight: 500;
    color: var(--ink);
}

.form-grid--event label span {
    font-size: clamp(0.95rem, 2.75vw, 1.33rem);
    line-height: 1.35;
    font-weight: 400;
}

.form-grid--event input {
    font-family: "Geogrotesque", "Roboto", sans-serif;
    font-weight: 600;
}

input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 0;
    padding: clamp(10px, 2.8vw, 14px) clamp(10px, 2.9vw, 14px);
    font-size: clamp(1rem, 2.8vw, 1.28rem);
    line-height: 1.2;
    background: #f4f5f6;
    color: #31353b;
}

input::placeholder {
    color: #5f666d;
    opacity: 1;
}

select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 0;
    padding: clamp(10px, 2.8vw, 14px) clamp(44px, 7.8vw, 58px) clamp(10px, 2.8vw, 14px) clamp(10px, 2.9vw, 14px);
    font-size: clamp(1rem, 2.8vw, 1.28rem);
    line-height: 1.2;
    background-color: #f4f5f6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 10'%3E%3Cpath fill='%235f666d' d='M8 10L0 0h16z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right clamp(14px, 3.6vw, 20px) center;
    background-size: 14px 10px;
    color: #31353b;
    font-family: "Geogrotesque", "Roboto", sans-serif;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
}

select:focus {
    outline: 0;
    border-color: var(--blue);
}

.select-wrap {
    position: relative;
}

.select-wrap::after {
    content: none;
}

input:focus {
    outline: 0;
    border-color: var(--blue);
}

.checkbox-row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: clamp(9px, 2.2vw, 16px);
    align-items: start;
    margin-top: 2px;
    border-radius: 0;
}

.checkbox-row input[type="checkbox"] {
    width: clamp(20px, 5vw, 32px);
    height: clamp(20px, 5vw, 32px);
    margin: 0;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
    box-sizing: border-box;
    border-radius: 0;
    border: 1px solid var(--line);
    background: #f4f5f6;
    appearance: none;
    -webkit-appearance: none;
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
}

.checkbox-row input[type="checkbox"]:checked {
    background-color: #f4f5f6;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath fill='%230c4b96' d='M5.7 11.4L0.6 6.2l1.4-1.4 3.7 3.7 8.3-8.2 1.4 1.4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 72% 72%;
}

.checkbox-row input[type="checkbox"]:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.checkbox-row span {
    padding-left: 8px;
}

.form-grid--event .checkbox-row span {
    font-weight: 600;
    color: #ffffff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    text-decoration: none;
    border: 1px solid var(--white);
    border-radius: 8px 0 8px 0;
    padding: clamp(10px, 2.8vw, 15px) clamp(12px, 2.8vw, 16px);
    font-family: "Geogrotesque", "Roboto", sans-serif;
    font-size: clamp(1.08rem, 4vw, 2.2rem);
    line-height: 1;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.01em;
    cursor: pointer;
}

.btn--event {
    margin-top: 4px;
    background: linear-gradient(90deg, #001b5c 0%, #003b82 52%, #00184f 100%);
    color: var(--white);
}

.btn--event-simple {
    background: linear-gradient(90deg, #001b5c 0%, #003b82 52%, #00184f 100%);
    color: var(--white);
    border-color: transparent;
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.86);
    color: #103f83;
    border-color: #103f83;
    text-transform: none;
    font-size: clamp(0.95rem, 2.7vw, 1.25rem);
}

.btn-icon {
    width: clamp(34px, 8vw, 54px);
    height: clamp(34px, 8vw, 54px);
    border-radius: 50%;
    border: 1px solid #b5d1ee;
    background: #f4f9ff;
    color: #1c5ca6;
    font-size: clamp(1.15rem, 4.3vw, 1.7rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon-image {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.alert {
    padding: 11px 12px;
    margin-bottom: 12px;
    font-family: "Geogrotesque", "Roboto", sans-serif;
}

.alert--error {
    border: 1px solid #de909a;
    background: #ffe5e8;
    color: var(--err);
    font-size: clamp(15px, 3.2vw, 22px);
    font-weight: 500;
}

.alert--error ul {
    margin: 6px 0 0;
    padding-left: 20px;
}

.page-shell--admin {
    width: min(1040px, 100%);
}

.input-flash-success {
    animation: input-flash-success 1300ms ease;
}

.input-flash-error {
    animation: input-flash-error 1100ms ease;
}

@keyframes input-flash-success {
    0% {
        background: #c9f0d8;
        border-color: #28a15f;
        box-shadow: 0 0 0 3px rgba(40, 161, 95, 0.28);
        transform: scale(1.01);
    }

    60% {
        background: #e2f7ea;
        border-color: #57b680;
        box-shadow: 0 0 0 2px rgba(40, 161, 95, 0.2);
    }

    100% {
        background: #f4f5f6;
        border-color: var(--line);
        box-shadow: 0 0 0 0 rgba(40, 161, 95, 0);
        transform: scale(1);
    }
}

@keyframes input-flash-error {
    0% {
        background: #f3d0d5;
        border-color: #c93845;
        box-shadow: 0 0 0 3px rgba(201, 56, 69, 0.24);
    }

    55% {
        background: #f8e3e6;
        border-color: #d66a75;
        box-shadow: 0 0 0 2px rgba(201, 56, 69, 0.18);
    }

    100% {
        background: #dbe3ef;
        border-color: #9eb2d1;
        box-shadow: 0 0 0 0 rgba(201, 56, 69, 0);
    }
}

.wrap--admin {
    width: min(760px, 100% - 1rem);
    min-height: calc(100vh - 1.1rem);
    grid-template-rows: auto 1fr;
}

.card--admin-hero {
    display: grid;
    gap: 0.65rem;
    position: relative;
}

.admin-hero-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-right: 132px;
}

.admin-hero-copy {
    min-width: 0;
}

.admin-subtitle {
    margin: 0.2rem 0 0;
    font-family: "Geogrotesque", "Roboto", sans-serif;
    font-size: clamp(1.05rem, 3.8vw, 1.45rem);
    line-height: 1.2;
    color: #21436f;
    font-weight: 500;
}

.card--admin-main {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.card--admin-main-login {
    justify-content: center;
    align-items: center;
}

.admin-login-card {
    width: min(520px, 100%);
    border: 1px solid #9eb2d1;
    background: rgba(255, 255, 255, 0.86);
    border-radius: 10px;
    padding: 12px;
}

.admin-login-card .screen-title {
    margin: 0 0 12px;
    color: #21436f;
}

.admin-login-card .form-grid--event label {
    color: #21436f;
    font-family: "Geogrotesque", "Roboto", sans-serif;
    font-size: clamp(0.95rem, 2.8vw, 1.2rem);
}

.admin-login-card input {
    border-color: #9eb2d1;
    background: #dbe3ef;
    color: #113d72;
    font-family: "Geogrotesque", "Roboto", sans-serif;
    font-weight: 600;
}

.admin-login-card .admin-login-password-native {
    color: #113d72;
    caret-color: #113d72;
    font-family: "Helvetica Neue", Arial, sans-serif;
    font-size: clamp(1.25rem, 5.2vw, 1.7rem);
    letter-spacing: 0.12em;
    line-height: 1;
    padding-top: 8px;
    padding-bottom: 8px;
    text-align: center;
}

.admin-login-card input:focus {
    border-color: #0c4b96;
    box-shadow: 0 0 0 2px rgba(12, 75, 150, 0.14);
}

.form-sheet--admin,
.form-sheet--admin-login {
    max-width: 920px;
}

.form-sheet--admin-login {
    max-width: 720px;
}

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

.admin-header-row .screen-title {
    margin-bottom: 0;
}

.card--admin-main .screen-title {
    margin-bottom: 4px;
}

.admin-logout-form {
    margin: 0;
    position: absolute;
    right: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
}

.admin-logout-form .btn {
    min-height: 46px;
    font-size: clamp(0.95rem, 3vw, 1.25rem);
    background: #e3e7ed;
    border-color: #b4becb;
    color: #394655;
}

.admin-logout-form .btn:hover,
.admin-logout-form .btn:focus-visible {
    background: #d6dce5;
    border-color: #9faabb;
    color: #2e3a48;
}

.admin-stats-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.admin-stat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #9eb2d1;
    background: rgba(255, 255, 255, 0.86);
    padding: 12px;
    border-radius: 10px;
}

.admin-stat-card__label {
    margin: 0;
    color: #21436f;
    font-family: "Geogrotesque", "Roboto", sans-serif;
    font-size: clamp(0.95rem, 2.8vw, 1.2rem);
}

.admin-stat-card__value {
    margin: 0;
    text-align: right;
    color: #0c4b96;
    font-family: "Geogrotesque", "Roboto", sans-serif;
    font-size: clamp(1.7rem, 5.5vw, 2.8rem);
    line-height: 1;
    font-weight: 700;
}

.admin-settings-card {
    border: 1px solid #9eb2d1;
    background: rgba(255, 255, 255, 0.86);
    border-radius: 10px;
    padding: 12px;
}

.admin-settings-card .admin-settings-form {
    margin-top: 10px;
}

.admin-settings-card .form-grid--event label {
    color: #21436f;
    font-family: "Geogrotesque", "Roboto", sans-serif;
    font-size: clamp(0.95rem, 2.8vw, 1.2rem);
}

.admin-settings-form input {
    border-color: #9eb2d1;
    background: #dbe3ef;
    color: #113d72;
    font-family: "Geogrotesque", "Roboto", sans-serif;
    font-weight: 600;
}

.admin-settings-form input:focus {
    border-color: #0c4b96;
    box-shadow: 0 0 0 2px rgba(12, 75, 150, 0.14);
}

.admin-export-card {
    border: 1px solid #9eb2d1;
    background: rgba(255, 255, 255, 0.86);
    border-radius: 10px;
    padding: 12px;
}

.admin-export-card .admin-actions {
    margin-top: 0;
}

.admin-actions .btn {
    max-width: none;
}

.sheet-foot {
    margin: 16px 0 0;
    color: #ffffff;
    font-size: clamp(0.76rem, 2vw, 0.95rem);
}

.mail-icon {
    width: clamp(84px, 17vw, 118px);
    height: clamp(84px, 17vw, 118px);
    border-radius: 999px;
    border: 2px solid var(--blue);
    color: #111;
    display: grid;
    place-items: center;
    font-size: clamp(2rem, 7vw, 3.3rem);
    margin: clamp(46px, 10vw, 108px) auto clamp(16px, 4vw, 32px);
}

.mail-icon-image {
    width: 76%;
    height: 76%;
    display: block;
    margin: auto;
    object-fit: contain;
    object-position: center;
    transform: translate(-7%, 7%);
}

.screen-title {
    margin: 0 0 22px;
    font-family: "Geogrotesque", "Roboto", sans-serif;
    font-size: clamp(1.18rem, 4.4vw, 2rem);
    line-height: 1.15;
    color: var(--ink);
    font-weight: 500;
}

.screen-copy {
    margin: 0 0 clamp(8px, 2.2vw, 16px);
    font-family: "Geogrotesque", "Roboto", sans-serif;
    font-size: clamp(1.18rem, 4.4vw, 2rem);
    line-height: 1.23;
    color: var(--ink);
    font-weight: 500;
}

.screen-copy strong {
    font-weight: 600;
}

.form-sheet--message-error .screen-title,
.form-sheet--message-error .screen-copy {
    font-size: clamp(1.18rem, 4.4vw, 2rem);
}

.meta-list {
    margin: 6px 0 16px;
    padding-left: 18px;
    font-size: clamp(17px, 3.6vw, 27px);
}

.button-row {
    display: grid;
    gap: 10px;
}

.button-row--centered {
    max-width: 420px;
    margin: 8px auto 0;
}

.ticket-lead,
.ticket-sublead,
.ticket-end {
    margin: 0 0 22px;
    text-align: center;
    color: var(--blue);
    font-family: "Geogrotesque", "Roboto", sans-serif;
    font-weight: 500;
    line-height: 1.18;
}

.ticket-lead {
    margin-top: clamp(42px, 8vw, 76px);
    font-size: clamp(1.18rem, 4.4vw, 2rem);
}

.ticket-sublead {
    font-size: clamp(1.18rem, 4.4vw, 2rem);
}

.ticket-end {
    margin-top: 20px;
    font-size: clamp(1.18rem, 4.4vw, 2rem);
}

.qrcode {
    display: table;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
    padding: 10px;
    background: #fff;
}

.qrcode img {
    width: auto;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.stats {
    margin: 16px auto 0;
    width: min(520px, 100%);
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: rgba(0, 20, 68, 0.35);
    color: #fff;
    padding: clamp(10px, 2.4vw, 14px);
    font-size: clamp(0.95rem, 2.8vw, 1.2rem);
}

.stats p {
    margin: 4px 0;
}

.wrap,
.wrap--scanner {
    width: min(620px, 100% - 1rem);
    margin: 0 auto;
    padding: clamp(0.55rem, 2.1vw, 1rem) 0 clamp(1.25rem, 2.7vw, 2rem);
    display: grid;
    gap: 0.9rem;
}

.wrap--scanner {
    min-height: calc(100vh - 1.1rem);
    grid-template-rows: auto 1fr;
}

.card {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #9eb2d1;
    border-radius: 14px;
    padding: 0.95rem;
}

.card--hero {
    border-top: 5px solid var(--blue);
    position: relative;
}

.eyebrow {
        font-family: "Geogrotesque", "Roboto", sans-serif;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    color: var(--blue);
    font-weight: 500;
}

.pwa-install {
    margin-top: 0.55rem;
    max-width: 100%;
    display: grid;
    gap: 0.5rem;
}

.pwa-install__text {
    margin: 0;
    font-family: "Geogrotesque", "Roboto", sans-serif;
    font-size: clamp(1.08rem, 4.1vw, 1.5rem);
    line-height: 1.25;
    font-weight: 500;
    color: #21436f;
}

.scanner-pin-gate {
    margin-top: 0.55rem;
    display: grid;
    gap: 0.55rem;
    justify-items: center;
}

.scanner-pin-gate__display {
    width: min(360px, 100%);
    min-height: 52px;
    border: 1px solid #9eb2d1;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    background: #dbe3ef;
    padding: 0.35rem 0.5rem;
}

.scanner-pin-gate__dot {
    width: clamp(12px, 3.4vw, 18px);
    height: clamp(12px, 3.4vw, 18px);
    border-radius: 50%;
    background: #113d72;
}

.scanner-pin-pad {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    width: min(360px, 100%);
}

.scanner-pin-pad__key {
    width: 100%;
    min-height: 62px;
    font-size: clamp(1.15rem, 4.8vw, 1.7rem);
    margin: 0;
    background: #dbe3ef;
    border-color: #9eb2d1;
    color: #113d72;
}

.scanner-pin-pad__key--alt {
    background: #dbe3ef;
    color: #113d72;
}

.scanner-pin-pad__key--ok {
    background: #dbe3ef;
    border-color: #9eb2d1;
    color: #113d72;
}

.scanner-pin-gate.is-error-flash .scanner-pin-gate__display,
.scanner-pin-gate.is-error-flash .scanner-pin-pad__key {
    background: #f3d0d5;
    border-color: #c93845;
    color: #8f1f2a;
}

.scan-state-indicator {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    bottom: 1.1rem;
    aspect-ratio: 1 / 1;
}

.scan-state-dot {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    border: 3px solid #b7c3d7;
    background: #eef2f8;
    transition: background-color 150ms ease, border-color 150ms ease;
}

.scan-state-dot.is-ok {
    border-color: #0f7a3e;
    background: #0f7a3e;
}

.scan-state-dot.is-error {
    border-color: #c93845;
    background: #c93845;
}

.card--scanner-main {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 0.95rem;
}

.card--scanner-main.is-pin-mode {
    justify-content: center;
}

.card--scanner-main.is-pin-mode .scan-result {
    display: none;
}

.card--scanner-main.is-pwa-help-mode {
    justify-content: center;
    align-items: center;
}

.card--scanner-main.is-pwa-help-mode .scan-result {
    display: none;
}

.card--scanner-main.is-pwa-help-mode .pwa-install {
    margin-top: 0;
    width: min(460px, 100%);
    justify-items: center;
}

.card--scanner-main.is-pwa-help-mode .pwa-install__text {
    text-align: center;
}

.scanner-start-btn-bottom {
    margin-top: auto;
    min-height: 96px;
    padding-top: 1.05rem;
    padding-bottom: 1.05rem;
    font-size: clamp(1.35rem, 5.6vw, 2.6rem);
}

.scanner-reader {
    min-height: 280px;
    border: 0;
    border-radius: 12px;
    padding: 0.4rem;
    background: #fff;
}

.scanner-reader--modal {
    width: 100%;
    max-width: 560px;
    aspect-ratio: 1 / 1;
    min-height: 0;
    max-height: min(72vh, 560px);
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.scanner-reader--modal video,
.scanner-reader--modal canvas {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.scanner-reader--modal #scanner-reader__scan_region {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
}

.scanner-reader--modal #scanner-reader__scan_region video,
.scanner-reader--modal #scanner-reader__scan_region canvas {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.scanner-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.scanner-modal.is-open {
    display: flex;
}

.scanner-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 20, 48, 0.78);
}

.scanner-modal__panel {
    position: relative;
    width: min(760px, 100%);
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #9eb2d1;
    padding: 0.8rem;
    overflow: hidden;
}

.scanner-modal__footer {
    display: flex;
    justify-content: stretch;
    margin-top: 0.75rem;
    width: 100%;
}

.scanner-modal__close {
    width: 100%;
    max-width: none;
    min-height: 56px;
    font-size: clamp(1rem, 4vw, 1.35rem);
}

body.modal-open {
    overflow: hidden;
}

.scan-result {
    margin-top: 0;
    min-height: 3rem;
    flex: 1;
    display: grid;
    place-content: center;
    justify-items: center;
    width: 100%;
    border-radius: 10px;
    padding: 0.2rem 0.1rem;
    border: 0;
    background: transparent;
    font-size: clamp(1.1rem, 4.2vw, 1.55rem);
    line-height: 1.35;
    opacity: 0;
    transition: opacity 180ms ease;
}

.scan-result.is-ok,
.scan-result.is-error {
    opacity: 1;
}

.scan-result.is-ok {
    border: 0;
    background: transparent;
    color: inherit;
}

.scan-result.is-error {
    border: 0;
    background: transparent;
    color: inherit;
    font-size: clamp(1.28rem, 5vw, 1.95rem);
    font-weight: 600;
}

.result-gauge {
    display: grid;
    justify-items: center;
    gap: 0.45rem;
    text-align: center;
    animation: result-pop-in 180ms ease;
}

@keyframes result-pop-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.result-gauge__chart {
    --gauge-progress: 0deg;
    --gauge-color: #0c4b96;
    --gauge-track: #d2d9e5;
    --gauge-gap-angle: 84deg;
    width: min(76vw, 250px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: conic-gradient(
        from 222deg,
        var(--gauge-color) 0deg var(--gauge-progress),
        var(--gauge-track) var(--gauge-progress) calc(360deg - var(--gauge-gap-angle)),
        transparent calc(360deg - var(--gauge-gap-angle)) 360deg
    );
    position: relative;
    display: grid;
    place-items: center;
}

.result-gauge--error .result-gauge__chart {
    background: conic-gradient(
        from 222deg,
        var(--gauge-color) 0deg var(--gauge-progress),
        var(--gauge-track) var(--gauge-progress) calc(360deg - var(--gauge-gap-angle)),
        transparent calc(360deg - var(--gauge-gap-angle)) 360deg
    );
}

.result-gauge--unlimited .result-gauge__chart {
    background: conic-gradient(
        from 222deg,
        var(--gauge-track) 0deg calc(360deg - var(--gauge-gap-angle)),
        transparent calc(360deg - var(--gauge-gap-angle)) 360deg
    );
}

.result-gauge--maxed .result-gauge__chart {
    --gauge-color: #c93845;
    --gauge-track: #efc8cd;
}

.result-gauge--maxed .result-gauge__value {
    color: #b22a36;
}

.result-gauge__chart::after {
    content: "";
    position: absolute;
    inset: 16%;
    border-radius: 50%;
    background: #ffffff;
    z-index: 2;
}

.result-gauge__center {
    position: relative;
    z-index: 3;
    display: grid;
    gap: 0.1rem;
}

.result-gauge__value {
    font-family: "Geogrotesque", "Roboto", sans-serif;
    font-size: clamp(3rem, 16vw, 5.8rem);
    line-height: 1;
    font-weight: 800;
}

.result-gauge__label,
.result-gauge__detail,
.result-gauge__name {
    margin: 0;
    font-family: "Geogrotesque", "Roboto", sans-serif;
}

.result-gauge__label {
    display: none;
}

.result-gauge__detail {
    font-size: clamp(0.82rem, 3vw, 1.02rem);
    opacity: 0.9;
}

.result-gauge__name {
    font-size: clamp(1.45rem, 5.8vw, 2.2rem);
    font-weight: 700;
}

@media (min-width: 700px) {
    .page-shell {
        padding-left: 24px;
        padding-right: 24px;
    }

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

    .form-grid--event .name-row,
    .form-grid--event label,
    .form-grid--event .checkbox-row,
    .form-grid--event .btn {
        grid-column: 1 / -1;
    }

    .form-grid--event .name-row {
        display: flex;
        flex-wrap: nowrap;
    }

    .form-grid--event .name-row > label {
        flex: 1 1 0;
    }

}

@media (min-width: 1024px) {
    .form-sheet {
        padding-left: 4px;
        padding-right: 4px;
    }

    .form-grid--event {
        column-gap: 24px;
    }

    .btn {
        max-width: none;
        margin-left: 0;
        margin-right: 0;
    }

    .form-grid--event .checkbox-row {
        background: rgba(0, 27, 87, 0.36);
        border: 0;
        padding: 10px 12px;
    }

    .ticket-lead,
    .ticket-sublead,
    .ticket-end {
        max-width: 780px;
        margin-left: auto;
        margin-right: auto;
    }
}
