.auth-page {
    --auth-ink: var(--sig-ink);
    --auth-muted: var(--sig-muted);
    --auth-teal: var(--sig-primary);
    --auth-line: var(--sig-line);
    margin: 0;
    color: var(--auth-ink);
    background: #fbfcfc;
    font: 15px/1.55 var(--sig-font);
    -webkit-font-smoothing: antialiased;
}
.auth-page *, .auth-page *::before, .auth-page *::after { box-sizing: border-box; }
.auth-page [hidden] { display: none !important; }
.auth-page a { color: var(--auth-teal); text-decoration: none; }
.auth-page a:hover { text-decoration: underline; }
.auth-page button, .auth-page input, .auth-page select { font: inherit; }
.auth-page button, .auth-page a, .auth-page input, .auth-page select { -webkit-tap-highlight-color: transparent; }
.auth-page :focus-visible { outline: 3px solid #0b9288; outline-offset: 4px; }
.auth-skip { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 20px; background: white; border-radius: 8px; transform: translateY(-150%); }
.auth-skip:focus { transform: translateY(0); }
.auth-shell { display: grid; grid-template-columns: minmax(340px, 43%) minmax(0, 1fr); min-height: 100vh; min-height: 100svh; }
.auth-brand { position: sticky; top: 0; display: flex; flex-direction: column; height: 100vh; height: 100svh; min-height: 660px; padding: 48px 11%; overflow: hidden; color: white; background: var(--sig-navy); }
.auth-institution { position: relative; z-index: 1; align-self: flex-start; }
.auth-institution img { display: block; width: min(100%, 324px); height: auto; }
.auth-brand-content { position: relative; z-index: 1; margin: auto 0; padding: 60px 0 120px; }
.auth-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #bad9da; font-size: 11px; font-weight: 600; letter-spacing: 2.4px; }
.auth-dot { width: 7px; height: 7px; background: #81d4bd; border-radius: 50%; }
.auth-brand h2 { margin: 25px 0 22px; font-size: clamp(40px, 4.2vw, 66px); line-height: 1.12; font-weight: 500; letter-spacing: -2.4px; }
.auth-brand-content > p { max-width: 310px; margin: 0; color: #bfd1d6; font-size: 16px; line-height: 1.85; }
.auth-brand-rule { width: 38px; height: 3px; margin: 34px 0 22px; background: #80c7b7; }
.auth-brand-caption { display: block; font-size: 13px; }
.auth-brand-caption-muted { margin-top: 3px; color: #9ebdc5; font-size: 12px; }
.auth-brand-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 20px; color: #aac7ce; font-size: 9px; letter-spacing: 1.5px; }
.auth-brand-footer span { color: #e4eeee; }
.auth-orbit { position: absolute; width: 540px; height: 540px; right: -225px; bottom: -270px; border: 1px solid #24636a; border-radius: 50%; }
.auth-orbit span { position: absolute; inset: 42px; border: 1px solid #24636a; border-radius: 50%; }
.auth-orbit span:nth-child(2) { inset: 84px; }
.auth-orbit span:nth-child(3) { inset: 126px; background: #0a414b; }
.auth-orbit i { position: absolute; top: 27px; left: 103px; color: #7ec9bb; font: 42px/1 "Segoe UI", sans-serif; font-weight: 200; }
.auth-main { display: flex; flex-direction: column; min-width: 0; padding: 35px clamp(28px, 5vw, 86px) 22px; }
.auth-topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.auth-page .auth-wordmark { color: #003b46; font-size: 24px; letter-spacing: -1px; font-weight: 700; text-decoration: none; }
.auth-wordmark > span:first-child { font-weight: 400; margin-left: 4px; }
.auth-wordmark-dot { color: #00927e; }
.auth-page .auth-home { color: var(--auth-muted); font-size: 12px; }
.auth-home span { margin-left: 7px; }
.auth-content { width: 100%; max-width: 420px; margin: auto; padding: 55px 0 65px; outline: none; }
.auth-heading { margin-bottom: 30px; }
.auth-kicker { color: var(--auth-teal); font-weight: 700; font-size: 10px; letter-spacing: 1.8px; }
.auth-heading h1 { margin: 12px 0 10px; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.2; font-weight: 650; letter-spacing: -1.2px; }
.auth-heading p { margin: 0; color: var(--auth-muted); font-size: 14px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 5px; border: 1px solid #e5ecec; border-radius: 10px; background: #f0f4f4; margin-bottom: 30px; }
.auth-tabs a { padding: 9px 12px; color: var(--auth-muted); text-align: center; font-size: 13px; font-weight: 600; border-radius: 6px; }
.auth-tabs a[aria-current="page"] { background: white; color: var(--auth-ink); box-shadow: 0 2px 5px #17343d0d; }
.auth-form { margin: 0; }
.auth-field { min-width: 0; margin-bottom: 22px; }
.auth-field label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 600; }
.auth-field label.required::after { content: " *"; color: var(--auth-teal); }
.auth-field input:not([type="hidden"]):not([type="checkbox"]), .auth-field select {
    display: block; width: 100%; height: 49px; padding: 12px 14px; color: var(--auth-ink);
    background: white; border: 1px solid #cddbdd; border-radius: 8px; outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.auth-field input::placeholder { color: #7a8b91; opacity: 1; font-size: 14px; }
.auth-field input:hover, .auth-field select:hover { border-color: #8ca9ad; }
.auth-field input:focus, .auth-field select:focus { border-color: var(--auth-teal); box-shadow: 0 0 0 3px #006c681a; }
.auth-field input[aria-invalid="true"] { border-color: #b54444; }
.auth-field small, .auth-field .help-text { display: block; margin-top: 7px; color: var(--auth-muted); font-size: 12px; }
.auth-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.auth-label-row a { font-size: 12px; font-weight: 600; }
.auth-password { position: relative; }
.auth-password.has-toggle input { padding-right: 88px !important; }
.auth-password-toggle { position: absolute; right: 5px; top: 5px; height: 39px; padding: 0 10px; color: var(--auth-teal); background: transparent; border: 0; border-radius: 5px; font-size: 12px !important; font-weight: 600 !important; cursor: pointer; }
.auth-password-toggle:hover { background: #eef6f4; }
.auth-field .auth-caps-warning { color: #895a13; }
.auth-page .auth-button { display: flex; justify-content: center; align-items: center; gap: 20px; min-height: 49px; width: 100%; padding: 12px 20px; border: 1px solid var(--auth-teal); border-radius: 8px; background: var(--auth-teal); color: white; font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; transition: background .15s ease; }
.auth-button span { font-size: 20px; line-height: 1; }
.auth-page .auth-button:hover { background: var(--sig-primary-hover); }
.auth-button:disabled { opacity: .7; cursor: wait; }
.auth-turnstile { margin: 0 0 22px; min-width: 0; }
.auth-turnstile [data-turnstile-widget] { max-width: 100%; }
.auth-turnstile .auth-required-hint { margin: 8px 0 0; }
.auth-switch { margin: 26px 0; text-align: center; font-size: 13px; color: var(--auth-muted); }
.auth-switch a { display: inline-block; margin-left: 3px; font-weight: 600; }
.auth-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: 1px solid #dfe9e8; border-radius: 8px; background: #f1f6f5; }
.auth-note p { margin: 0; color: #536e74; font-size: 12px; }
.auth-note-icon { display: grid; place-items: center; flex: 0 0 17px; width: 17px; height: 17px; margin-top: 1px; border: 1px solid #678c8d; border-radius: 50%; color: #4d7778; font: 12px Georgia, serif; }
.auth-footer { display: flex; justify-content: space-between; gap: 15px; color: var(--auth-muted); font-size: 10px; }
.auth-alert { padding: 14px 16px; margin-bottom: 22px; border: 1px solid; border-radius: 8px; font-size: 13px; }
.auth-alert-error { color: #922e35; border-color: #ecc6ca; background: #fff3f3; }
.auth-alert-info { color: #235c53; border-color: #c0ded5; background: #eff9f4; }
.auth-errors { margin: 8px 0; padding-left: 19px; color: #a4323b; font-size: 12px; }
.auth-alert .auth-errors { margin: 0; }
.auth-register .auth-shell { grid-template-columns: minmax(320px, 34%) minmax(0, 1fr); }
.auth-register .auth-brand { padding-left: 12%; padding-right: 12%; }
.auth-register .auth-brand h2 { font-size: clamp(38px, 3.7vw, 58px); }
.auth-register .auth-content { max-width: 680px; padding-top: 40px; }
.auth-register .auth-heading { margin-bottom: 24px; }
.auth-register .auth-tabs { max-width: 360px; }
.auth-required-hint { margin: 0 0 24px; color: var(--auth-muted); font-size: 12px; }
.auth-required-hint span { color: var(--auth-teal); }
.auth-section { min-width: 0; padding: 0; margin: 0 0 28px; border: 0; }
.auth-section legend { display: flex; align-items: center; gap: 12px; width: 100%; padding: 0 0 15px; margin-bottom: 20px; border-bottom: 1px solid var(--auth-line); font-size: 15px; font-weight: 600; }
.auth-section legend span { display: inline-grid; place-items: center; width: 25px; height: 25px; border-radius: 6px; background: #e9f3f1; color: var(--auth-teal); font-size: 11px; }
.auth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.auth-field-wide { grid-column: 1 / -1; }
.auth-section .auth-field { margin-bottom: 18px; }
.auth-section .auth-note { margin-bottom: 20px; }
.auth-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 6px; }
.auth-actions > a { font-size: 13px; font-weight: 600; }
.auth-actions .auth-button { width: auto; min-width: 190px; }
.auth-status-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 24px; border-radius: 14px; background: #e4f1ed; color: var(--auth-teal); font-size: 26px; }
@media (min-width: 1600px) { .auth-brand { padding-left: max(60px, calc((100vw - 1340px) / 2)); } }
@media (max-width: 1050px) {
    .auth-shell, .auth-register .auth-shell { grid-template-columns: 34% minmax(0, 1fr); }
    .auth-brand, .auth-register .auth-brand { padding: 35px 28px; }
    .auth-brand h2, .auth-register .auth-brand h2 { font-size: 42px; }
    .auth-brand-footer { font-size: 8px; letter-spacing: .5px; }
    .auth-brand-content > p { font-size: 14px; }
    .auth-main { padding-left: 32px; padding-right: 32px; }
}
@media (max-width: 760px) {
    .auth-shell, .auth-register .auth-shell { display: flex; flex-direction: column; }
    .auth-brand, .auth-register .auth-brand { position: relative; min-height: 0; height: auto; padding: 22px 24px; }
    .auth-institution img { width: 250px; }
    .auth-brand-content, .auth-brand-footer, .auth-orbit { display: none; }
    .auth-main { flex: 1; padding: 23px 24px 20px; }
    .auth-content, .auth-register .auth-content { padding: 38px 0 44px; }
    .auth-heading h1 { font-size: 31px; }
    .auth-heading p { font-size: 13px; }
    .auth-footer { padding-top: 16px; border-top: 1px solid var(--auth-line); }
}
@media (max-width: 440px) {
    .auth-grid { grid-template-columns: 1fr; }
    .auth-actions { flex-direction: column-reverse; gap: 20px; }
    .auth-actions .auth-button { width: 100%; }
    .auth-footer { flex-wrap: wrap; gap: 5px 16px; }
    .auth-label-row a { font-size: 11px; }
    .auth-field input:not([type="hidden"]), .auth-field select { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .auth-page *, .auth-page *::before, .auth-page *::after { transition: none !important; } }
