:root {
    color-scheme: light;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    --auth-accent: #127e70;
    --auth-accent-hover: #0c6258;
    --auth-ink: #172b2d;
    --auth-muted: #677b7e;
    --auth-line: #d4dfde;
    --auth-input: #fff;
    --auth-surface: #fff;
    --auth-button-ink: #fff;
    --auth-story-base: #071719;
    --auth-story-start: #215d54;
    --auth-story-end: #103b40;
    --auth-story-accent: #8bdccc;
    --auth-decoration: #8ee0ce;
    --auth-flow-color: #74c9bd;
    --auth-access-glow: rgba(208,236,230,.26);
}
body[data-auth-palette] {
    --auth-accent: var(--auth-brand-accent);
    --auth-accent-hover: color-mix(in srgb, var(--auth-accent) 85%, #000);
    --auth-story-base: color-mix(in srgb, var(--auth-brand-primary) 45%, #080b10);
    --auth-story-start: color-mix(in srgb, var(--auth-brand-secondary) 24%, var(--auth-story-base));
    --auth-story-end: color-mix(in srgb, var(--auth-brand-primary) 65%, #10151b);
    --auth-story-accent: color-mix(in srgb, var(--auth-brand-secondary) 55%, #fff);
    --auth-decoration: var(--auth-story-accent);
    --auth-flow-color: var(--auth-story-accent);
    --auth-access-glow: color-mix(in srgb, var(--auth-brand-secondary) 8%, transparent);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--auth-surface); color: var(--auth-ink); }
button, input, select { font: inherit; }
a { color: var(--auth-accent); text-underline-offset: 4px; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
.auth-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.auth-shell { display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); min-height: 100svh; }
.auth-story { position: sticky; top: 0; isolation: isolate; display: flex; flex-direction: column; min-height: 100svh; height: 100svh; padding: clamp(32px, 4.5vw, 80px); overflow: hidden; background: radial-gradient(ellipse at 90% 8%, var(--auth-story-start), transparent 58%), radial-gradient(ellipse at 0 100%, var(--auth-story-end), transparent 65%), var(--auth-story-base); color: #fff; }
.auth-brand img { position: relative; z-index: 1; max-width: 76%; max-height: 60%; width: auto; height: auto; object-fit: contain; }
.auth-brand-fallback { position: relative; z-index: 1; max-width: 76%; font-size: clamp(14px, 1.5vw, 20px); font-weight: 600; line-height: 1.25; letter-spacing: -.035em; text-align: center; overflow-wrap: anywhere; }
.auth-brand-background { position: absolute; z-index: -2; inset: 0; opacity: .12; }
.auth-brand-background img { width: 100%; height: 100%; object-fit: cover; }
.auth-flow { position: absolute; z-index: -1; inset: 0; width: 110%; height: 110%; opacity: .6; pointer-events: none; transform: translate3d(var(--auth-x, 0px), var(--auth-y, 0px), 0); transition: transform .7s ease-out; }
.auth-flow-paths { stroke: var(--auth-flow-color); transform-origin: center; animation: auth-flow-drift 16s ease-in-out infinite alternate; }
.auth-story-content { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; flex: 1; }
.auth-emblem { --auth-emblem-size: clamp(156px, 22vh, 200px); position: relative; display: grid; flex: none; place-items: center; width: var(--auth-emblem-size); height: var(--auth-emblem-size); margin: 0 auto clamp(28px, 4vh, 44px); border: 1px solid color-mix(in srgb, var(--auth-decoration) 30%, transparent); border-radius: 50%; background: linear-gradient(135deg, rgba(255,255,255,.46), rgba(255,255,255,.28)); -webkit-backdrop-filter: blur(18px) saturate(.75); backdrop-filter: blur(18px) saturate(.75); box-shadow: 0 0 70px color-mix(in srgb, var(--auth-decoration) 10%, transparent), inset 0 1px 0 rgba(255,255,255,.2); }
.auth-emblem-orbit { position: absolute; inset: -13px; border: 1px dashed color-mix(in srgb, var(--auth-decoration) 32%, transparent); border-radius: 50%; pointer-events: none; animation: auth-orbit 50s linear infinite; }
.auth-emblem-orbit--inner { inset: 12px; border-style: solid; border-color: color-mix(in srgb, var(--auth-decoration) 20%, transparent); }
.auth-story h2 { margin: 0; font-size: clamp(34px, 3.2vw, 58px); font-weight: 600; line-height: 1.12; letter-spacing: -.05em; overflow-wrap: anywhere; }
.auth-story h2 em { display: block; margin-top: 6px; color: var(--auth-story-accent); font-family: "Source Serif 4", Georgia, serif; font-size: 1.15em; font-weight: 400; letter-spacing: -.035em; }
.auth-story-copy > p { max-width: 500px; margin: 25px 0 0; color: rgba(255,255,255,.75); font-size: clamp(14px, 1.15vw, 18px); line-height: 1.75; }
.auth-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: clamp(32px, 5vh, 64px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.auth-features > div { min-width: 0; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.65; }
.auth-features svg { display: block; width: 35px; height: 35px; margin-bottom: 12px; padding: 7px; box-sizing: content-box; border: 1px solid color-mix(in srgb, var(--auth-decoration) 18%, transparent); border-radius: 11px; background: color-mix(in srgb, var(--auth-decoration) 6%, transparent); color: var(--auth-story-accent); }
.auth-brand-extra { align-self: flex-start; margin-top: 24px; color: var(--auth-story-accent); font-size: 13px; }
.auth-brand-extra-image { align-self: flex-start; width: min(100%, 240px); max-height: 80px; margin-top: 18px; object-fit: contain; }
.auth-access { display: flex; flex-direction: column; min-width: 0; min-height: 100svh; padding: 28px clamp(28px, 5vw, 90px) 36px; background: radial-gradient(ellipse at 100% 0, var(--auth-access-glow), transparent 36%), var(--auth-surface); }
.auth-toolbar { display: flex; justify-content: flex-end; margin-bottom: 28px; }
.auth-language { display: inline-flex; align-items: center; gap: 9px; max-width: 100%; padding: 9px 12px; border: 1px solid var(--auth-line); border-radius: 28px; background: var(--auth-surface); color: var(--auth-ink); box-shadow: 0 2px 4px rgba(21,50,48,.04); }
.auth-language img { object-fit: cover; border-radius: 3px; }
.auth-language select { min-width: 0; width: auto; max-width: 125px; padding: 2px 0; border: 0; outline: none; appearance: none; background: transparent; color: inherit; font-size: 13px; cursor: pointer; }
.auth-language svg { width: 15px; height: 15px; color: var(--auth-muted); pointer-events: none; }
.auth-content { width: min(100%, 480px); margin: auto; padding-block: 20px; animation: auth-content-in .55s ease-out both; }
.auth-overline { display: inline-block; margin-bottom: 14px; color: var(--auth-accent); font-size: 11px; font-weight: 600; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; }
.auth-heading-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.auth-heading-top .auth-overline { min-width: 0; margin-bottom: 0; overflow-wrap: anywhere; }
.auth-language--compact { position: relative; flex: none; min-width: 78px; min-height: 44px; gap: 6px; padding: 8px 10px; border-color: transparent; border-radius: 10px; background: transparent; cursor: pointer; }
.auth-language--compact select { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; opacity: 0; }
.auth-language--compact .auth-language-code { font-size: 12px; font-weight: 500; letter-spacing: .03em; }
.auth-language--compact:hover { border-color: var(--auth-line); background: color-mix(in srgb, var(--auth-accent) 5%, var(--auth-surface)); }
.auth-language--compact:focus-within { outline: 2px solid var(--auth-accent); outline-offset: 3px; }
.auth-heading h1 { margin: 0; font-size: clamp(29px, 2.3vw, 39px); font-weight: 600; line-height: 1.2; letter-spacing: -.045em; overflow-wrap: anywhere; }
.auth-heading > p { margin: 14px 0 0; color: var(--auth-muted); font-size: 15px; line-height: 1.65; }
.auth-form { margin-top: 34px; }
.auth-field + .auth-field, .auth-field + .auth-password-group { margin-top: 23px; }
.auth-field label, .auth-forgot-link { font-size: 13px; line-height: 1.6; }
.auth-field label { font-weight: 500; }
.auth-field-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 12px; }
.auth-forgot-link { font-size: 12px; text-decoration: none; }
.auth-forgot-link:hover { text-decoration: underline; }
/* The forgot link comes after the submit button in the DOM: the fields and the heading become items of this flex row so it can sit beside the password label. */
.auth-password-group { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 12px; }
.auth-password-group > .auth-field, .auth-password-group .auth-field-heading { display: contents; }
.auth-password-group .auth-input, .auth-password-group .auth-field-error, .auth-password-group .auth-submit { order: 1; flex-basis: 100%; }
.auth-input { display: flex; align-items: center; gap: 11px; min-height: 54px; margin-top: 9px; padding: 0 15px; border: 1px solid var(--auth-line); border-radius: 12px; background: var(--auth-input); box-shadow: 0 2px 3px rgba(15,43,41,.035); transition: border-color .2s, box-shadow .2s; }
.auth-input:focus-within { border-color: var(--auth-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--auth-accent) 12%, transparent); }
.auth-input > svg { flex: none; width: 19px; height: 19px; color: var(--auth-muted); }
.auth-input input { min-width: 0; width: 100%; height: 54px; padding: 0; border: 0; outline: none; background: transparent; color: var(--auth-ink); font-size: 16px; }
.auth-input input::placeholder { color: var(--auth-muted); color: color-mix(in srgb, var(--auth-muted) 90%, var(--auth-ink)); opacity: 1; }
.auth-phone-prefix { position: relative; display: flex; flex: none; color: var(--auth-muted); }
.auth-phone-prefix select { width: 82px; height: 40px; padding: 0 34px 0 0; border: 0; border-inline-end: 1px solid var(--auth-line); outline: none; appearance: none; background: transparent; color: var(--auth-ink); font-size: 14px; cursor: pointer; }
.auth-phone-prefix > svg { position: absolute; top: 50%; inset-inline-end: 13px; width: 13px; height: 13px; transform: translateY(-50%); pointer-events: none; }
.auth-password-toggle { display: grid; flex: none; place-items: center; width: 44px; min-height: 44px; margin-right: -9px; border: 0; border-radius: 8px; background: transparent; color: var(--auth-muted); cursor: pointer; }
.auth-password-toggle > svg { width: 20px; height: 20px; }
.auth-password-toggle > svg:last-child, .auth-password-toggle[aria-pressed="true"] > svg:first-child { display: none; }
.auth-password-toggle[aria-pressed="true"] > svg:last-child { display: block; }
.auth-submit { display: flex; align-items: center; justify-content: center; gap: 13px; width: 100%; min-height: 56px; margin-top: 29px; padding: 14px 20px; border: 1px solid transparent; border-radius: 12px; background: var(--auth-accent); color: var(--auth-button-ink); box-shadow: 0 8px 20px color-mix(in srgb, var(--auth-accent) 15%, transparent), inset 0 1px 1px rgba(255,255,255,.3); font-size: 15px; font-weight: 600; text-align: center; text-decoration: none; cursor: pointer; transition: background-color .2s, transform .2s; }
.auth-submit:hover { background: var(--auth-accent-hover); transform: translateY(-1px); }
.auth-submit:active { transform: translateY(0); }
.auth-submit:disabled { opacity: .6; cursor: wait; transform: none; }
.auth-submit > span[aria-hidden] { font-size: 23px; font-weight: 400; line-height: 1; }
.auth-submit-indicator { position: relative; display: inline-grid; place-items: center; width: 23px; height: 23px; flex-shrink: 0; }
.auth-submit[aria-busy="true"] .auth-submit-indicator { font-size: 0; }
.auth-submit[aria-busy="true"] .auth-submit-indicator::after { content: ""; position: absolute; inset: 2px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: auth-orbit .7s linear infinite; }
.auth-switch { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 5px 7px; margin-top: 30px; padding-top: 25px; border-top: 1px solid var(--auth-line); color: var(--auth-muted); font-size: 13px; line-height: 1.7; text-align: center; }
.auth-switch a { font-weight: 500; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }
.auth-footer { margin-top: 45px; color: var(--auth-muted); font-size: 11px; line-height: 1.6; text-align: center; }
.auth-consents { display: grid; gap: 17px; margin-top: 25px; }
.auth-consents label { display: flex; align-items: flex-start; gap: 11px; font-size: 12px; line-height: 1.6; }
.auth-consents input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--auth-accent); }
.auth-consents a { color: var(--auth-ink); }
.auth-status, .auth-error { padding: 14px 16px; border: 1px solid var(--auth-line); border-radius: 10px; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.auth-status { background: color-mix(in srgb, var(--auth-accent) 7%, var(--auth-surface)); }
.auth-error, .auth-field-error { color: #b42318; }
.auth-error { border-color: #f4b4ad; background: #fff3f1; }
.auth-field-error { margin: 7px 0 0; font-size: 12px; line-height: 1.5; }
.auth-input:has([aria-invalid="true"]) { border-color: #b42318; }
.auth-review-status { color: var(--auth-muted); font-size: 12px; line-height: 1.6; }
.auth-text-button { padding: 8px 0; border: 0; background: transparent; color: var(--auth-accent); cursor: pointer; text-decoration: underline; }
.auth-legal { width: min(calc(100% - 32px), 1080px); max-width: none; height: min(90svh, 900px); max-height: 90svh; padding: 0; border: 1px solid var(--auth-line); border-radius: 16px; background: var(--auth-surface); color: var(--auth-ink); }
.auth-legal[open] { display: flex; flex-direction: column; }
.auth-legal::backdrop { background: rgba(4,21,22,.66); backdrop-filter: blur(4px); }
.auth-legal-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 15px 20px; border-bottom: 1px solid var(--auth-line); }
.auth-legal-heading h2 { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.5; }
.auth-legal-heading button { flex: none; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--auth-ink); font-size: 28px; cursor: pointer; }
.auth-legal iframe { flex: 1; min-height: 0; width: 100%; border: 0; }
:where(a, button, select):focus-visible { outline: 2px solid var(--auth-accent); outline-offset: 4px; }
.auth-story a:focus-visible { outline-color: var(--auth-story-accent); }
@keyframes auth-flow-drift { from { transform: translateY(-15px) rotate(-2deg); opacity: .65; } to { transform: translateY(20px) rotate(2deg); opacity: 1; } }
@keyframes auth-orbit { to { transform: rotate(360deg); } }
@keyframes auth-content-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (min-width: 901px) and (max-height: 760px) {
    .auth-story { padding-block: 25px; }
    .auth-emblem { --auth-emblem-size: clamp(112px, 22vh, 156px); margin-bottom: 24px; }
    .auth-story h2 { font-size: clamp(30px, 3vw, 44px); }
    .auth-features { margin-top: 28px; padding-top: 20px; }
    .auth-features svg { width: 24px; height: 24px; }
}
@media (max-width: 1100px) and (min-width: 901px) {
    .auth-story, .auth-access { padding-inline: 30px; }
    .auth-features { gap: 14px; }
}
@media (max-width: 900px) {
    .auth-shell { grid-template-columns: minmax(0, 1fr); }
    .auth-story { position: relative; min-height: 152px; height: auto; padding: 20px 26px; }
    .auth-story-copy, .auth-brand-extra, .auth-brand-extra-image { display: none; }
    .auth-emblem { --auth-emblem-size: 112px; margin: 0 auto; }
    .auth-story .auth-flow { width: 100%; height: 450px; inset: -180px 0 auto; }
    .auth-access { min-height: calc(100svh - 152px); padding: 22px 26px 30px; }
    .auth-toolbar { margin-bottom: 18px; }
    .auth-content { padding-block: 10px 20px; }
    .auth-heading h1 { font-size: clamp(28px, 6vw, 36px); }
    .auth-heading > p { font-size: 14px; }
    .auth-footer { margin-top: 35px; }
}
@media (max-height: 800px), (max-width: 900px) {
    .auth-access { padding-block: 20px; }
    .auth-access .auth-toolbar { margin-bottom: 12px; }
    .auth-access .auth-content { padding-block: 8px; }
    .auth-access .auth-heading-top { margin-bottom: 8px; }
    .auth-access .auth-heading h1 { font-size: clamp(28px, 2vw, 29px); }
    .auth-access .auth-heading > p { margin-top: 8px; font-size: 14px; line-height: 1.55; }
    .auth-access .auth-form { margin-top: 22px; }
    .auth-access .auth-field + .auth-field, .auth-access .auth-field + .auth-password-group { margin-top: 14px; }
    .auth-access .auth-input { min-height: 48px; margin-top: 6px; }
    .auth-access .auth-input input { height: 46px; }
    .auth-access .auth-submit { min-height: 50px; margin-top: 20px; padding-block: 12px; }
    .auth-access .auth-switch { margin-top: 18px; padding-top: 12px; }
    .auth-access .auth-footer { margin-top: 12px; }
}
@media (max-height: 640px) {
    .auth-access { padding-block: 12px; }
    .auth-access .auth-toolbar { margin-bottom: 8px; }
    .auth-access .auth-content { padding-block: 4px; }
    .auth-access .auth-form { margin-top: 18px; }
    .auth-access .auth-field + .auth-field, .auth-access .auth-field + .auth-password-group { margin-top: 10px; }
    .auth-access .auth-switch { margin-top: 14px; padding-top: 10px; }
}
@media (max-width: 380px) {
    .auth-access { padding-inline: 20px; }
    .auth-language { padding: 8px 10px; }
    .auth-input { padding-inline: 12px; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}

[data-registration-flow] [hidden] { display: none !important; }
.registration-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.registration-fields + .registration-fields { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--auth-line); }
.registration-fields legend { margin-bottom: 15px; padding: 0; color: var(--auth-accent); font-size: 11px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.registration-hint { margin: 10px 0 0; color: var(--auth-muted); font-size: 12px; line-height: 1.65; }
.registration-fields > .registration-hint { margin: -3px 0 16px; }
.registration-field-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; margin-top: 20px; }
.registration-field-pair > .auth-field + .auth-field { margin-top: 0; }
.registration-field-pair + .auth-field { margin-top: 20px; }
.registration-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 12px; line-height: 1.65; }
.registration-consent > span { min-width: 0; }
.registration-consent label { display: inline; font-size: inherit; cursor: pointer; }
.registration-document-link { display: inline; margin: 0; padding: 0; border: 0; background: transparent; color: var(--auth-ink); font: inherit; font-weight: 500; text-align: start; text-decoration: underline; text-decoration-color: var(--auth-accent); text-underline-offset: 3px; cursor: pointer; }
.registration-document-link:disabled { color: var(--auth-muted); opacity: .65; cursor: not-allowed; }
.registration-consent:has(input:disabled) { color: var(--auth-muted); }
.registration-document-body { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px 24px; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.registration-document-body p { margin: 16px 0; }
.registration-document-body a { color: inherit; }
.registration-document-body ol, .registration-document-body ul { padding-left: 24px; }
.registration-filled { padding: 1px 4px; border-radius: 3px; background: color-mix(in srgb, var(--auth-accent) 14%, transparent); color: var(--auth-ink); font-weight: 600; }
.registration-legal-footer { display: flex; flex-wrap: wrap; flex: none; justify-content: flex-end; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--auth-line); }
.registration-legal-footer p { flex: 1 1 240px; margin: 0; color: var(--auth-muted); font-size: 12px; line-height: 1.5; }
.registration-legal-footer > div { display: flex; gap: 10px; }
.registration-secondary, .registration-accept { min-height: 44px; padding: 10px 16px; border: 1px solid var(--auth-line); border-radius: 10px; background: transparent; color: var(--auth-ink); font: inherit; font-size: 13px; cursor: pointer; }
.registration-accept { border-color: var(--auth-accent); background: var(--auth-accent); color: var(--auth-button-ink); font-weight: 600; }
.registration-otp-symbol { display: grid; place-items: center; width: 58px; height: 58px; margin-top: 28px; border: 1px solid var(--auth-line); border-radius: 16px; color: var(--auth-accent); background: color-mix(in srgb, var(--auth-accent) 8%, var(--auth-surface)); }
.registration-otp-symbol svg { width: 26px; height: 26px; }
[data-registration-verify] input[name="otp"] { font-size: 25px; font-weight: 500; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.registration-otp-actions { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 18px; margin-top: 15px; }
.registration-otp-actions button:disabled { opacity: .6; cursor: default; }
.registration-otp-status:empty { display: none; }
.auth-registration-form .auth-error:not([hidden]) { margin-bottom: 20px; }
@media (max-width: 440px) {
    .registration-document-body { padding-right: 16px; padding-left: 16px; font-size: 13px; }
    .registration-legal-footer { padding: 12px; }
    .registration-field-pair { grid-template-columns: 1fr; gap: 16px; }
}
.auth-registration-form .registration-field-pair > .auth-field + .auth-field { margin-top: 0; }
.auth-registration-form .registration-fields + .registration-fields { padding-top: 0; }
