@import url('design-system.css');
/* Shared authentication presentation. Keep controls and validation hooks intact. */
body.auth-refresh{--white:#fff;--off-white:#fff;--ink:#2c1920;--ink-light:#75666b;--border:#e6dade;min-height:100dvh;height:auto;background:#fff!important;padding:0!important;font-family:Inter,Arial,sans-serif;color:var(--ink)}
.auth-refresh [hidden]{display:none!important}
.auth-refresh .auth-split,.auth-refresh .auth-split--reverse{display:grid!important;grid-template-columns:minmax(340px,.9fr) minmax(0,1.1fr);min-height:100dvh;width:100%;gap:0!important;max-width:none;margin:0}
.auth-refresh .auth-brand{display:flex!important;flex-direction:column;position:sticky;top:0;height:100dvh;min-height:650px;width:auto;flex:auto;padding:42px clamp(30px,4vw,68px);background:var(--uq-brand)!important;background-image:none!important;border-radius:0;overflow:hidden;isolation:isolate;color:white}
.auth-refresh .auth-brand::before{content:'';position:absolute;inset:0;z-index:-1;opacity:.12;background-image:linear-gradient(#ffffff22 1px,transparent 1px),linear-gradient(90deg,#ffffff22 1px,transparent 1px);background-size:54px 54px;pointer-events:none}
.auth-refresh .auth-brand::after{content:'';position:absolute;z-index:-1;width:430px;height:430px;border:1px solid #ffffff12;border-radius:50%;left:-210px;bottom:-220px;background:none;pointer-events:none}
.auth-refresh .portal-brand{display:flex;gap:11px;align-items:center;color:white;text-decoration:none;position:relative;z-index:1}
.portal-brand img{width:44px;height:44px;background:#fff;border-radius:10px;padding:4px;object-fit:contain}
.portal-brand>span{font-size:24px;font-weight:700;letter-spacing:-.7px;line-height:1.2}
.portal-brand small{display:block;color:#e4c2c7;font-size:12px;letter-spacing:1.7px;font-weight:500;margin-top:5px}
.portal-story{margin:auto 0;padding:65px 0;max-width:420px}
.portal-eyebrow{font-size:12px;letter-spacing:1.8px;color:#ddb4bc;font-weight:600;display:block;margin-bottom:22px}
.auth-refresh .portal-story h1{font-family:Inter,Arial,sans-serif!important;font-size:clamp(30px,3vw,43px)!important;line-height:1.2!important;font-weight:650!important;letter-spacing:-1.2px!important;color:#fff!important;margin:0 0 23px}
.auth-refresh .portal-story>p{color:#e7cbd0;font-size:13px;line-height:1.9;max-width:360px}
.portal-benefits{list-style:none;margin:28px 0 35px;padding:0;display:grid;gap:14px}
.portal-benefits li{display:flex;align-items:center;gap:10px;font-size:12px;color:#f9edef}
.portal-benefits svg{color:var(--uq-muted);flex-shrink:0}
.portal-campus{display:flex;align-items:center;gap:12px;border-top:1px solid #ffffff26;padding-top:25px;font-size:12px;color:white}
.portal-campus>svg{color:#ddb4bc;flex-shrink:0}
.portal-campus small{display:block;color:#cda4ad;font-size:12px;margin-top:4px}
.portal-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px;letter-spacing:1px;color:#cba3ab}
.portal-bottom a{color:white;letter-spacing:0;font-size:12px;text-decoration:none}
.auth-refresh .auth-form-panel{width:100%;padding:52px clamp(28px,5vw,88px)!important;display:flex!important;align-items:center;justify-content:center;background:#fff!important;height:auto!important;max-height:none!important;overflow:visible!important;border-radius:0}
.auth-refresh .auth-split--reverse .auth-form-panel{align-items:flex-start}
.auth-refresh .auth-card{width:100%!important;max-width:440px!important;padding:0!important;margin:0 auto!important;background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important}
.auth-refresh .auth-card--wide{max-width:580px!important}
.auth-refresh .auth-card__brand{display:none!important}
.portal-form-eyebrow{display:block;color:var(--uq-muted);font-size:12px;letter-spacing:1.6px;font-weight:600;margin-bottom:12px}
.auth-refresh .auth-card__heading{position:static!important;clip-path:none!important;clip:auto!important;width:auto!important;height:auto!important;overflow:visible!important;white-space:normal!important;font-size:29px!important;line-height:1.25!important;letter-spacing:-.9px!important;font-weight:700!important;color:#32131c!important;margin:0 0 10px!important}
.auth-refresh .auth-card__subheading,.auth-refresh .uq-auth-subtitle{display:block!important;font-size:13px!important;color:#817078!important;line-height:1.8!important;margin:0 0 28px!important}
.auth-refresh .uq-auth-role-switch{display:flex!important;gap:4px;padding:4px;margin:24px 0 28px!important;border:1px solid #ecdee2;border-radius:9px;background:var(--uq-canvas)}
.auth-refresh .uq-auth-role-switch a{display:flex;align-items:center;justify-content:center;flex:1;min-height:39px!important;font-size:12px!important;font-weight:600;text-decoration:none;color:var(--uq-muted);border-radius:6px!important}
.auth-refresh .uq-auth-role-switch [aria-current=page]{background:var(--uq-brand)!important;color:#fff!important;box-shadow:0 2px 5px #66081010}
.auth-refresh .form-group{margin-bottom:20px}
.auth-refresh .form-label{display:block;font-size:12px!important;font-weight:600!important;color:#43232d!important;margin-bottom:8px!important;line-height:1.4}
.auth-refresh .form-input,.auth-refresh select.form-input{background:#fff!important;border:1px solid #dfcfd5!important;border-radius:8px!important;min-height:47px!important;font-size:13px!important;padding:12px 14px!important;box-shadow:0 1px 2px #32111d03;transition:border-color .2s,box-shadow .2s}
.auth-refresh .form-input::placeholder{color:var(--uq-muted)!important;opacity:1}
.auth-refresh .form-input:focus{border-color:#8e4357!important;box-shadow:0 0 0 3px #6608100c!important;outline:none!important}
.auth-refresh .input-icon-wrap .form-input{padding-right:46px!important}
.auth-refresh .toggle-password{right:8px;color:var(--uq-muted)}
.auth-refresh .btn{min-height:46px!important;border-radius:8px!important;font-size:13px!important;font-weight:600!important;transition:background .2s,transform .2s,box-shadow .2s}
.auth-refresh .btn--primary{background:var(--uq-brand)!important;color:white!important;border:1px solid #660810!important;box-shadow:0 3px 7px #6608100d;margin-top:6px}
.auth-refresh .btn--primary:hover{background:#4a080e!important;box-shadow:0 5px 12px #66081018;transform:translateY(-1px)}
.auth-refresh .btn--google{background:#fff!important;border:1px solid #e2d5da!important;color:#4b303a!important}
.auth-refresh .btn--google:hover{background:#fcf8fa!important}
.auth-refresh .btn--outline,.auth-refresh .btn--ghost{border:1px solid #e2d5da!important;background:#fff!important;color:var(--uq-brand)!important}
.auth-refresh .auth-divider{margin:24px 0}
.auth-refresh .auth-divider span{font-size:12px;letter-spacing:1px;background:white;color:var(--uq-muted)}
.auth-refresh .auth-card__help{font-size:12px!important;line-height:1.9!important;color:var(--uq-muted)!important;margin-top:25px}
.auth-refresh .auth-card__help a,.auth-refresh .forgot-link{color:var(--uq-brand)!important;font-weight:600}
.auth-refresh .forgot-link{font-size:12px}
.auth-refresh .auth-secondary-links{border-top:1px solid #eee3e7;padding-top:20px;font-size:12px;flex-wrap:wrap;line-height:1.8}
.auth-refresh .uq-auth-mobile-links{display:none!important}
.auth-refresh .alert{border-radius:8px;font-size:12px;line-height:1.7;padding:13px 15px;margin-bottom:20px}
.auth-refresh .form-hint,.auth-refresh .pw-requirements{font-size:12px!important;line-height:1.7!important;color:var(--uq-muted)!important}
.auth-refresh .form-row{gap:16px}
.auth-refresh a:focus-visible,.auth-refresh button:focus-visible{outline:3px solid #a56c7c;outline-offset:3px}
.auth-refresh .auth-card--activation>p:last-child{border-top:1px solid #eee3e7;margin-top:25px;padding-top:18px;font-size:12px;color:var(--uq-brand);line-height:1.8}
.auth-refresh #schoolEmail{background:#faf5f7;border:1px solid #eddee3;border-radius:8px;padding:12px 14px;font-size:12px;line-height:1.8;color:#8d6371;margin-bottom:20px}
.auth-refresh #otpFields,.auth-refresh #passwordFields{margin-block:20px;padding-top:20px;border-top:1px solid #eee3e7}
.auth-refresh #passwordFields .form-input{margin-bottom:18px}
.auth-refresh #passwordFields p{font-size:12px;color:var(--uq-muted);line-height:1.8}
.auth-refresh #otp{font-size:23px!important;letter-spacing:10px;text-align:center;font-variant-numeric:tabular-nums}
.auth-refresh #resendCode{margin-top:12px}
.auth-refresh #activationStatus{font-size:12px;line-height:1.8;margin-block:16px}
.auth-refresh #restartActivation{margin-top:12px;width:100%}
@media(min-width:1000px){.auth-refresh .auth-card{animation:auth-card-enter .4s ease both}}
@keyframes auth-card-enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:900px){
 .auth-refresh .auth-split,.auth-refresh .auth-split--reverse{grid-template-columns:minmax(0,1fr)!important}
 .auth-refresh .auth-brand{position:relative!important;min-height:0!important;height:auto!important;padding:20px 25px!important;display:flex!important;border-radius:0!important;flex-direction:row;align-items:center;justify-content:space-between}
 .auth-refresh .portal-story,.auth-refresh .portal-bottom>span{display:none!important}
 .portal-brand img{width:35px;height:35px;border-radius:8px}
 .portal-brand>span{font-size:21px}.portal-brand small{font-size:12px;letter-spacing:1px}
 .portal-bottom{display:block;font-size:12px}.portal-bottom a{font-size:12px}
 .auth-refresh .auth-form-panel{padding:38px 24px 50px!important}
 .auth-refresh .auth-card{max-width:480px!important}
 .auth-refresh .auth-card--wide{max-width:600px!important}
 .auth-refresh .auth-card__heading{font-size:27px!important}
 .auth-refresh .uq-auth-desktop-help{display:inline!important}.auth-refresh .uq-auth-mobile-help{display:none!important}
}
@media(max-width:420px){.auth-refresh .auth-form-panel{padding:30px 20px 45px!important}.portal-brand small{font-size:12px}.auth-refresh .auth-brand{padding-inline:20px!important}.auth-refresh .auth-card__heading{font-size:25px!important}.auth-refresh .form-row{gap:12px}}
@media(prefers-reduced-motion:reduce){.auth-refresh .auth-card{animation:none}.auth-refresh .btn{transition:none}.auth-refresh .btn:hover{transform:none}}
.activation-progress{display:flex;gap:8px;list-style:none;padding:0;margin:24px 0 28px}
.activation-progress li{display:flex;align-items:center;gap:7px;flex:1;font-size:12px;color:var(--uq-muted);position:relative}
.activation-progress li>span{display:grid;place-items:center;width:25px;height:25px;background:#faf6f8;border:1px solid #eadce2;border-radius:50%;font-size:12px;flex-shrink:0}
.activation-progress [aria-current=step]{color:var(--uq-brand);font-weight:600}
.activation-progress [aria-current=step]>span{background:var(--uq-brand);color:white;border-color:var(--uq-brand);box-shadow:0 0 0 3px #66081008}
.activation-progress .is-complete{color:var(--uq-brand)}
.activation-progress .is-complete>span{background:#f3e5ea;border-color:#e6cbd4;color:var(--uq-brand)}
@media(max-width:360px){.activation-progress{gap:5px}.activation-progress li{font-size:12px;gap:5px}}

/* Clear, separate account navigation instead of crowded bullet-separated links. */
.auth-refresh .auth-secondary-links {
    display:grid; grid-template-columns:1fr 1fr; gap:10px;
    width:100%; margin-top:26px; padding-top:21px;
    border-top:1px solid #ecdee3; text-align:left;
}
.auth-secondary-links__label {
    grid-column:1 / -1; margin:0 0 3px; padding:0;
    font-size:12px; font-weight:500; line-height:1.6; color:var(--uq-muted);
}
.auth-refresh .auth-secondary-links>a {
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    min-height:48px; padding:12px 14px; border:1px solid #e9dce1;
    border-radius:8px; background:#fff; color:var(--uq-brand);
    font-size:12px; font-weight:600; line-height:1.6;
    text-decoration:none; transition:background .18s,border-color .18s;
}
.auth-refresh .auth-secondary-links>a::after {
    content:''; flex-shrink:0; width:7px; height:7px;
    border-top:1.5px solid currentColor; border-right:1.5px solid currentColor;
    transform:rotate(45deg); opacity:.6;
}
.auth-refresh .auth-secondary-links>a:hover { background:#faf5f7; border-color:#cba5b2; }
@media(max-width:480px) {
    .auth-refresh .auth-secondary-links { grid-template-columns:1fr; gap:9px; }
    .auth-refresh .auth-secondary-links>a { font-size:12px; }
}

/* Recovery follows the same form system as sign-in and activation. */
.auth-refresh.fp-body{display:block!important}
.auth-refresh .fp-heading,.auth-refresh .fp-success__heading{font-size:29px!important;line-height:1.3!important;font-weight:700!important;letter-spacing:-.9px!important;color:#32131c!important;margin:0 0 10px}
.auth-refresh .fp-subheading,.auth-refresh .fp-success__text{color:#817078;font-size:13px;line-height:1.85;margin:0 0 26px}
.auth-refresh .fp-steps{margin:24px 0 32px;gap:8px;padding:0;justify-content:space-between}
.auth-refresh .fp-step{gap:7px}
.auth-refresh .fp-step__dot{height:28px;width:28px;border:1px solid #eadce2;background:#faf6f8;color:var(--uq-muted);font-size:12px;box-shadow:none}
.auth-refresh .fp-step__label{font-size:12px;color:var(--uq-muted);font-weight:500}
.auth-refresh .fp-step--active .fp-step__dot{background:var(--uq-brand);color:#fff;border-color:var(--uq-brand);box-shadow:0 0 0 3px #66081008}
.auth-refresh .fp-step--active .fp-step__label{color:var(--uq-brand);font-weight:600}
.auth-refresh .fp-step--done .fp-step__dot{background:#f3e5ea;color:var(--uq-brand);border-color:#e6cbd4}
.auth-refresh .fp-step--done .fp-step__label{color:var(--uq-brand)}
.auth-refresh .fp-step-line{background:#eee1e6;min-width:12px}
.auth-refresh .fp-step-line--done{background:#bc8d9f}
.auth-refresh .fp-back{display:inline-flex;align-items:center;justify-content:center;width:100%;gap:7px;margin-top:24px;color:#886272;font-size:12px;font-weight:500;text-decoration:none;min-height:44px;border-top:1px solid #eee3e7;padding-top:16px}
.auth-refresh .fp-back:hover{color:var(--uq-brand)}
.auth-refresh .fp-back svg{width:14px;height:14px}
.auth-refresh .otp-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:9px;margin:24px 0 16px}
.auth-refresh .otp-input{width:100%!important;height:55px!important;border:1px solid #dfcfd5;border-radius:8px;background:#fff;color:var(--uq-brand);font-size:23px;font-weight:600;box-shadow:none;min-width:0}
.auth-refresh .otp-input:focus{border-color:#8e4357;outline:none;box-shadow:0 0 0 3px #6608100c}
.auth-refresh .otp-input.is-filled{border-color:#b78195;background:#fdf8fa}
.auth-refresh .otp-input.is-error{border-color:#b33748;background:#fff7f8}
.auth-refresh .fp-resend{font-size:12px;color:var(--uq-muted);margin-bottom:22px;line-height:1.9}
.auth-refresh .fp-resend__btn{font-size:12px;color:var(--uq-brand);font-weight:600;min-height:36px}
.auth-refresh .fp-resend__timer{color:var(--uq-brand);font-variant-numeric:tabular-nums}
.auth-refresh .fp-email-status{font-size:12px;line-height:1.7}
.auth-refresh .fp-success__icon{background:#f5e9ee;color:var(--uq-brand);border:1px solid #e8d2dc;width:68px;height:68px;margin:0 auto 24px}
.auth-refresh .fp-success__icon svg{stroke:var(--uq-brand);width:30px;height:30px}
@media(max-width:480px){.auth-refresh .fp-heading,.auth-refresh .fp-success__heading{font-size:26px!important}.auth-refresh .otp-row{gap:7px}.auth-refresh .otp-input{height:49px!important;font-size:21px}.auth-refresh .fp-step__label{font-size:12px}}

/* Prevent legacy mobile gutters and intrinsic grid widths from clipping forms. */
.auth-refresh .auth-split{padding:0!important;min-width:0;max-width:100%}
.auth-refresh .auth-form-panel,.auth-refresh .auth-card{min-width:0!important;box-sizing:border-box}
.auth-refresh .portal-brand,.auth-refresh .portal-brand>span{min-width:0}
.auth-refresh .auth-card__help,.auth-refresh .auth-secondary-links>a{overflow-wrap:anywhere;white-space:normal}
@media(max-width:900px){
 .auth-refresh .auth-brand{gap:16px}
 .auth-refresh .portal-brand small{font-size:10px;letter-spacing:.8px;max-width:210px;line-height:1.5}
 .auth-refresh .portal-bottom{flex-shrink:0}
 .auth-refresh .portal-bottom a{font-size:12px}
 .auth-refresh .auth-form-panel{min-height:0!important}
}
@media(max-width:480px){
 .auth-refresh .auth-brand{padding:18px 20px!important;flex-wrap:wrap;gap:12px}
 .auth-refresh .portal-brand small{font-size:9px;letter-spacing:.5px}
 .auth-refresh .portal-bottom{margin-left:auto}
 .auth-refresh .auth-form-panel{padding:32px 20px 42px!important}
}

/* Modern auth surfaces, shared by login, registration and recovery. */
body.auth-refresh{--auth-card-shadow:0 12px 40px #49061b06;background:#fcfafb!important}
body.auth-refresh .auth-split,body.auth-refresh .auth-split--reverse{grid-template-columns:minmax(320px,.85fr) minmax(0,1.15fr);align-items:start}
body.auth-refresh .auth-brand{
 top:20px;height:calc(100dvh - 40px);min-height:600px;margin:20px 0 20px 20px;
 padding:36px clamp(28px,3.8vw,60px);border-radius:22px;
 background:linear-gradient(155deg,#660810 0%,#530810 100%)!important;
 box-shadow:inset 0 1px 0 #ffffff10,0 10px 30px #44061a08;
}
body.auth-refresh .auth-brand::before{opacity:.08;background-size:64px 64px}
body.auth-refresh .auth-brand::after{width:440px;height:440px;border:1px solid #ffffff0d;left:auto;right:-270px;bottom:-80px;-webkit-mask-image:none;mask-image:none}
body.auth-refresh .portal-brand{gap:10px;align-items:center}
body.auth-refresh .portal-brand img{width:42px;height:42px;padding:4px;border-radius:11px;border:1px solid #ffffff80;box-shadow:0 3px 9px #28020a10}
body.auth-refresh .portal-brand>span{font-size:25px;font-weight:700;letter-spacing:-.8px}
body.auth-refresh .portal-brand small{font-size:10px;letter-spacing:.7px;color:#e9cfd4;line-height:1.5;margin-top:4px}
body.auth-refresh .portal-story{padding:50px 0;max-width:410px}
body.auth-refresh .portal-eyebrow{display:inline-block;font-size:11px;font-weight:500;letter-spacing:1.1px;line-height:1.6;margin-bottom:19px;color:#ebcdd5}
body.auth-refresh .portal-story h1{font-size:clamp(30px,3vw,43px)!important;line-height:1.16!important;letter-spacing:-1.3px!important;font-weight:650!important;margin-bottom:22px}
body.auth-refresh .portal-story>p{font-size:14px;line-height:1.85;color:#e5c6d0;max-width:350px}
body.auth-refresh .portal-benefits{gap:14px;margin:28px 0 32px}
body.auth-refresh .portal-benefits li{font-size:12px;line-height:1.7;gap:11px;color:#f5e6eb}
body.auth-refresh .portal-benefits svg{box-sizing:content-box;width:12px;height:12px;padding:5px;border:1px solid #ffffff1a;border-radius:50%;background:#ffffff08;color:#fff;flex-shrink:0}
body.auth-refresh .portal-campus{padding-top:23px;font-size:12px;border-color:#ffffff1f;gap:12px}
body.auth-refresh .portal-campus small{font-size:11px;line-height:1.7;color:#dbb5c3;margin-top:3px}
body.auth-refresh .portal-bottom{font-size:10px;letter-spacing:.8px;color:#dbb5c3;line-height:1.6;gap:15px}
body.auth-refresh .portal-bottom a{font-size:12px;color:#fff;white-space:nowrap}
body.auth-refresh .auth-form-panel{
 min-height:100dvh;padding:44px clamp(26px,4vw,64px)!important;
 background:transparent!important;align-items:center!important;
}
body.auth-refresh .auth-card{
 max-width:500px!important;padding:34px 36px!important;background:#fff!important;
 border:1px solid #eee3e8!important;border-radius:18px!important;box-shadow:var(--auth-card-shadow)!important;
}
body.auth-refresh .auth-card--wide{max-width:650px!important}
body.auth-refresh .auth-split--reverse .auth-form-panel{align-items:flex-start!important}
body.auth-refresh .portal-form-eyebrow{display:flex;align-items:center;gap:8px;font-size:11px;line-height:1.6;color:#825767;letter-spacing:.8px;margin-bottom:13px;font-weight:600}
body.auth-refresh .portal-form-eyebrow::before{content:'';display:block;width:16px;height:2px;background:var(--uq-brand);border-radius:2px;flex-shrink:0}
body.auth-refresh .auth-card__heading,body.auth-refresh .fp-heading{font-size:30px!important;letter-spacing:-1px!important;font-weight:700!important;line-height:1.25!important;color:#351923!important;margin-bottom:11px!important}
body.auth-refresh .auth-card__subheading,body.auth-refresh .uq-auth-subtitle,body.auth-refresh .fp-subheading{font-size:14px!important;line-height:1.8!important;color:var(--uq-muted)!important;margin:0 0 26px!important}
body.auth-refresh .uq-auth-role-switch{margin:0 0 27px!important;padding:4px;border:1px solid #ecdce4;border-radius:10px;background:#faf5f8;gap:4px}
body.auth-refresh .uq-auth-role-switch a{min-height:42px!important;border-radius:7px!important;font-size:13px!important;font-weight:550;color:#775765}
body.auth-refresh .uq-auth-role-switch [aria-current=page]{background:#fff!important;color:var(--uq-brand)!important;box-shadow:0 1px 5px #4a06141a;outline:1px solid #e9d7e0;font-weight:650}
body.auth-refresh .form-group{margin-bottom:21px}
body.auth-refresh .form-label{font-size:12px!important;line-height:1.6;color:#55313f!important;font-weight:600!important;margin-bottom:8px!important}
body.auth-refresh .form-input,body.auth-refresh select.form-input{
 min-height:49px!important;padding:12px 14px!important;border:1px solid #d8c7d0!important;
 border-radius:9px!important;background:#fff!important;font-size:14px!important;line-height:1.5;color:#482433;
 box-shadow:0 1px 3px #46051a02;transition:border-color .18s,box-shadow .18s;
}
body.auth-refresh .form-input::placeholder{font-size:13px;color:#90727f!important}
body.auth-refresh .form-input:hover{border-color:#c49cac!important}
body.auth-refresh .form-input:focus{border-color:#a46c82!important;box-shadow:0 0 0 3px #66081009!important}
body.auth-refresh .input-icon-wrap .form-input{padding-right:48px!important}
body.auth-refresh .btn{min-height:47px!important;font-size:14px!important;font-weight:600!important;line-height:1.5;border-radius:9px!important}
body.auth-refresh .btn--primary{background:var(--uq-brand)!important;border:1px solid var(--uq-brand)!important;box-shadow:0 4px 10px #6608100c!important}
body.auth-refresh .btn--primary:hover{background:#4c0710!important;box-shadow:0 5px 15px #66081016!important;transform:translateY(-1px)}
body.auth-refresh .btn--google{background:#fff!important;border-color:#dfd0d8!important;gap:10px}
body.auth-refresh .btn--google:hover{background:#fdf9fb!important;border-color:#bd8b9f!important}
body.auth-refresh .auth-divider{margin:24px 0}
body.auth-refresh .auth-divider span{font-size:11px;line-height:1.5;color:#80636f;letter-spacing:.6px}
body.auth-refresh .forgot-link{font-size:12px;line-height:1.6;text-decoration:none}
body.auth-refresh .forgot-link:hover{text-decoration:underline}
body.auth-refresh .auth-card__help{font-size:12px!important;line-height:1.9!important;color:var(--uq-muted)!important;margin-top:24px;text-align:center}
body.auth-refresh .auth-secondary-links{margin-top:24px;padding-top:20px;gap:10px;border-color:#eee3e8}
body.auth-refresh .auth-secondary-links__label{font-size:12px;color:var(--uq-muted);font-weight:500}
body.auth-refresh .auth-secondary-links>a{border:1px solid #e7d7df;border-radius:9px;background:#fdfafb;font-size:12px;line-height:1.7;padding:12px 14px;min-height:48px}
body.auth-refresh .auth-secondary-links>a:hover{background:#faf1f6;border-color:#c393a8}
body.auth-refresh .alert{border-radius:9px;font-size:13px;line-height:1.8;padding:14px 16px}
body.auth-refresh .fp-steps{margin:22px 0 30px;padding-bottom:21px;border-bottom:1px solid #f0e5eb}
body.auth-refresh .fp-step__dot{width:29px;height:29px;font-size:11px}
body.auth-refresh .fp-step__label{font-size:11px}
body.auth-refresh .fp-step--active .fp-step__dot{box-shadow:0 0 0 3px #66081007}
body.auth-refresh .activation-progress{margin:23px 0 28px;gap:8px;padding-bottom:20px;border-bottom:1px solid #f0e5eb}
body.auth-refresh .activation-progress li{font-size:11px;line-height:1.5;gap:7px}
body.auth-refresh .activation-progress li>span{width:28px;height:28px;font-size:11px}
body.auth-refresh .otp-input{border-radius:10px;font-size:24px!important;font-weight:600;height:56px!important;background:#fff}
body.auth-refresh #schoolEmail{font-size:12px;line-height:1.8;border-color:#ecdae4;background:#fcf7fa;padding:14px 15px;border-radius:9px}
body.auth-refresh #activationStatus{font-size:13px;line-height:1.8}
body.auth-refresh .fp-resend{font-size:12px;line-height:1.8}
body.auth-refresh .form-row{gap:16px}
body.auth-refresh .form-hint,body.auth-refresh .pw-requirements{font-size:12px!important;line-height:1.8!important}
@media(min-width:901px) and (max-height:760px){
 body.auth-refresh .auth-brand{padding:28px 34px;min-height:600px}
 body.auth-refresh .portal-story{padding:32px 0}
 body.auth-refresh .portal-story h1{font-size:32px!important}
 body.auth-refresh .portal-benefits{margin-block:21px 25px;gap:11px}
}
@media(max-width:1100px) and (min-width:901px){
 body.auth-refresh .auth-split,body.auth-refresh .auth-split--reverse{grid-template-columns:minmax(300px,.8fr) minmax(0,1.2fr)}
 body.auth-refresh .auth-brand{padding-inline:28px}
 body.auth-refresh .auth-form-panel{padding-inline:28px!important}
 body.auth-refresh .auth-card{padding:30px 26px!important}
 body.auth-refresh .portal-bottom{flex-wrap:wrap;font-size:9px}
}
@media(max-width:900px){
 body.auth-refresh{background:#fff!important}
 body.auth-refresh .auth-split,body.auth-refresh .auth-split--reverse{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr;align-items:stretch}
 body.auth-refresh .auth-brand{
 position:relative;top:auto;margin:0;height:auto!important;min-height:0!important;border-radius:0;
 background:#fff!important;box-shadow:none!important;color:var(--uq-brand);border-bottom:1px solid #eee3e8;
 padding:18px 24px!important;display:flex;align-items:center;flex-direction:row;justify-content:space-between;gap:14px;
 }
 body.auth-refresh .auth-brand::before,body.auth-refresh .auth-brand::after{display:none}
 body.auth-refresh .portal-brand{color:var(--uq-brand);gap:9px}
 body.auth-refresh .portal-brand img{width:38px;height:38px;padding:2px;border:0;border-radius:0;box-shadow:none}
 body.auth-refresh .portal-brand>span{font-size:23px;line-height:1.15}
 body.auth-refresh .portal-brand small{font-size:9px;letter-spacing:.3px;color:var(--uq-muted);margin-top:4px}
 body.auth-refresh .portal-bottom{margin-left:auto;flex-shrink:0}
 body.auth-refresh .portal-bottom a{color:#785263;font-size:12px;font-weight:500}
 body.auth-refresh .auth-form-panel{padding:40px 24px 50px!important;min-height:0!important;align-items:flex-start!important}
 body.auth-refresh .auth-card{max-width:480px!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important}
 body.auth-refresh .auth-card--wide{max-width:620px!important}
 body.auth-refresh .auth-card__heading,body.auth-refresh .fp-heading{font-size:29px!important;letter-spacing:-.9px!important}
 body.auth-refresh .portal-form-eyebrow{font-size:11px;letter-spacing:.7px;margin-bottom:14px}
 body.auth-refresh .form-input,body.auth-refresh select.form-input{font-size:16px!important;min-height:49px!important}
 body.auth-refresh .auth-card__subheading,body.auth-refresh .uq-auth-subtitle,body.auth-refresh .fp-subheading{font-size:14px!important;line-height:1.8!important}
}
@media(max-width:480px){
 body.auth-refresh .auth-brand{padding:16px 20px!important;flex-wrap:nowrap;gap:10px}
 body.auth-refresh .portal-brand small{font-size:8px;letter-spacing:.2px}
 body.auth-refresh .portal-brand>span{font-size:22px}
 body.auth-refresh .portal-bottom a{font-size:11px}
 body.auth-refresh .auth-form-panel{padding:32px 20px 44px!important}
 body.auth-refresh .auth-card__heading,body.auth-refresh .fp-heading{font-size:27px!important}
 body.auth-refresh .form-row{grid-template-columns:minmax(0,1fr);gap:0}
 body.auth-refresh .auth-secondary-links{gap:10px}
 body.auth-refresh .fp-step__label{font-size:10px}
 body.auth-refresh .otp-row{gap:8px}
 body.auth-refresh .otp-input{height:52px!important;font-size:23px!important}
}
@media(max-width:360px){
 body.auth-refresh .auth-brand{padding-inline:16px!important;gap:8px}
 body.auth-refresh .portal-brand img{width:32px;height:32px}
 body.auth-refresh .portal-brand>span{font-size:20px}
 body.auth-refresh .portal-brand small{font-size:7px}
 body.auth-refresh .portal-bottom a{font-size:11px}
 body.auth-refresh .auth-form-panel{padding:28px 18px 40px!important}
 body.auth-refresh .auth-card__heading,body.auth-refresh .fp-heading{font-size:25px!important}
 body.auth-refresh .activation-progress li{font-size:10px;gap:5px}
}
@media(prefers-reduced-motion:reduce){body.auth-refresh .btn{transition:none}body.auth-refresh .btn:hover{transform:none}}
/* Keep every recovery/account route discoverable on small screens. */
body.auth-refresh .auth-card__heading,body.auth-refresh .fp-heading{text-transform:none!important}
body.auth-refresh .auth-secondary-links{display:grid!important}
body.auth-refresh .form-label-row .forgot-link{display:inline-flex!important;align-items:center;justify-content:flex-end;min-height:36px;padding:4px 0;white-space:nowrap}
@media(max-width:900px){body.auth-refresh .form-label-row .forgot-link{min-height:44px}}

/* A CSS-only queue walkthrough replaces the static benefits list. */
body.auth-refresh .auth-brand:has(.auth-demo){padding:30px clamp(24px,3.2vw,48px);min-height:720px}
body.auth-refresh .portal-story:has(.auth-demo){width:100%;max-width:420px;padding:24px 0;margin:auto 0}
body.auth-refresh .portal-story:has(.auth-demo) .portal-eyebrow{font-size:10px;letter-spacing:1.2px;margin-bottom:10px}
body.auth-refresh .portal-story:has(.auth-demo) h1{font-size:clamp(24px,2.2vw,32px)!important;line-height:1.2!important;letter-spacing:-.8px!important;margin:0 0 12px!important}
body.auth-refresh .portal-story:has(.auth-demo)>p{font-size:12px;line-height:1.8;margin:0 0 25px;max-width:360px}
.auth-demo{--demo-cycle:18s;width:100%;max-width:360px;margin:0 auto}
.auth-demo__toolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}
.auth-demo__toolbar>span{font-size:8px;letter-spacing:1px;color:#e6bfcb;font-weight:500}
.auth-demo__pause{position:relative;display:grid;place-items:center;width:30px;height:30px;border:1px solid #ffffff25;border-radius:50%;color:#f2dce4;cursor:pointer;flex-shrink:0}
.auth-demo__pause input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0}
.auth-demo__pause>span{display:grid;place-items:center}
.auth-demo__pause:has(input:checked){background:#ffffff1a;color:#fff}
.auth-demo__pause:has(input:focus-visible){outline:3px solid #fff;outline-offset:3px}
.auth-demo__stage{position:relative;height:305px;perspective:900px}
.auth-demo__window{position:absolute;inset:0 0 20px;background:#fff;border:1px solid #ffffff5c;border-radius:13px;box-shadow:0 18px 40px #2b030c24;overflow:hidden;color:#442431}
.auth-demo__chrome{height:38px;background:#faf5f8;border-bottom:1px solid #eadde3;display:flex;align-items:center;justify-content:space-between;padding:0 14px;font-size:10px;color:#8a6072;font-weight:650}
.auth-demo__dots{display:flex;gap:4px;align-items:center;width:36px}
.auth-demo__dots i{display:block;width:5px;height:5px;border:1px solid #dbbecb;border-radius:50%}
.auth-demo__dots i:first-child{background:#d8aaba;border-color:#d8aaba}
.auth-demo__scene{position:absolute;inset:38px 0 0;padding:22px 22px 18px;background:#fff;opacity:0;pointer-events:none}
.auth-demo__scene h3{font-size:18px;line-height:1.4;letter-spacing:-.5px;color:#482333;margin:5px 0 5px;font-weight:650}
.auth-demo__scene p{font-size:10px;line-height:1.7;color:#8d7280;margin:0 0 17px}
.auth-demo__eyebrow{font-size:7px;letter-spacing:1px;font-weight:600;color:#9a7186;display:block}
.auth-demo__office{display:flex;align-items:center;gap:10px;padding:12px;border:1px solid #eddee6;border-radius:8px;margin-top:9px;background:#fff}
.auth-demo__office-icon{display:grid;place-items:center;width:29px;height:29px;border-radius:7px;background:#faf0f5;color:#85415e;flex-shrink:0}
.auth-demo__office-icon svg{width:17px;height:17px}
.auth-demo__office strong{display:block;font-size:11px;line-height:1.5;font-weight:650;color:#59283c}
.auth-demo__office small{display:block;font-size:9px;line-height:1.5;color:#977788;margin-top:2px}
.auth-demo__office-arrow{margin-left:auto;color:#9b6880;font-size:16px}
.auth-demo__office--selected{animation:demo-office-choice var(--demo-cycle) ease infinite}
.auth-demo__cursor{position:absolute;z-index:2;left:70%;top:125px;filter:drop-shadow(1px 2px 2px #66081015);animation:demo-cursor var(--demo-cycle) ease infinite}
.auth-demo__scene--offices{animation:demo-scene-one var(--demo-cycle) ease infinite}
.auth-demo__scene--ticket{animation:demo-scene-two var(--demo-cycle) ease infinite}
.auth-demo__scene--called{animation:demo-scene-three var(--demo-cycle) ease infinite;text-align:center;padding-top:18px}
.auth-demo__ticket-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:8px;letter-spacing:.7px;color:#956a7f;font-weight:500}
.auth-demo__badge{color:#660810;background:#f7eaf0;font-size:8px;padding:4px 8px;border-radius:20px;letter-spacing:0}
.auth-demo__number{display:block;text-align:center;font-size:49px;line-height:1.2;margin-top:12px;font-weight:750;letter-spacing:-2px;color:#660810;font-variant-numeric:tabular-nums}
.auth-demo__office-name{display:block;text-align:center;color:#8e6b7d;font-size:9px;margin-top:4px}
.auth-demo__metrics{display:grid;grid-template-columns:1fr 1fr;background:#fcf7fa;border:1px solid #eee0e7;border-radius:8px;margin-top:17px;padding:12px 0}
.auth-demo__metrics>div{text-align:center;display:flex;flex-direction:column;gap:5px}
.auth-demo__metrics>div+div{border-left:1px solid #ead8e2}
.auth-demo__metrics>div>span{font-size:9px;color:#957082}
.auth-demo__metrics strong{position:relative;height:24px;font-size:21px;line-height:1.1;color:#660810;font-weight:650;font-variant-numeric:tabular-nums}
.auth-demo__metrics strong small{font-size:10px;font-weight:500}
.auth-demo__ahead-start,.auth-demo__ahead-end{position:absolute;inset:0}
.auth-demo__ahead-start{animation:demo-ahead-start var(--demo-cycle) ease infinite}
.auth-demo__ahead-end{animation:demo-ahead-end var(--demo-cycle) ease infinite}
.auth-demo__scene .auth-demo__ticket-note{display:flex;align-items:center;justify-content:center;gap:5px;font-size:8px;line-height:1.5;margin:12px 0 0;color:#977284}
.auth-demo__ticket-note>span{width:4px;height:4px;border-radius:50%;background:#94506d}
.auth-demo__called-icon{display:grid;place-items:center;width:37px;height:37px;margin:0 auto 12px;background:#f7e9f0;border:1px solid #efdce6;border-radius:12px;color:#660810;animation:demo-bell var(--demo-cycle) ease infinite}
.auth-demo__called-icon svg{width:20px;height:20px}
.auth-demo__scene--called h3{font-size:22px;margin:7px 0 5px;color:#660810}
.auth-demo__scene--called p{font-size:9px;margin-bottom:15px}
.auth-demo__counter{border:1px solid #eedce6;border-radius:8px;background:#fcf7fa;padding:12px}
.auth-demo__counter>span{display:block;font-size:7px;letter-spacing:1px;color:#a0778d;margin-bottom:3px}
.auth-demo__counter strong{display:block;font-size:20px;color:#660810;letter-spacing:-.5px;font-weight:650}
.auth-demo__toast{position:absolute;left:12px;right:12px;bottom:0;display:flex;align-items:center;gap:10px;padding:13px;background:#fff;border:1px solid #ecd8e3;border-radius:9px;box-shadow:0 7px 20px #2f030c1a;color:#633049;opacity:0;animation:demo-toast var(--demo-cycle) ease infinite}
.auth-demo__toast>span{display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:#f6e9f0;color:#660810;flex-shrink:0}
.auth-demo__toast strong{display:block;font-size:9px;line-height:1.5;font-weight:650}
.auth-demo__toast small{display:block;font-size:8px;line-height:1.6;color:#937283;margin-top:2px}
.auth-demo__steps{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 5px 0}
.auth-demo__step{display:flex;gap:6px;align-items:center;color:#c598aa;font-size:8px;line-height:1.5}
.auth-demo__step b{font-weight:500;font-size:10px}
.auth-demo__steps i{height:1px;background:#ffffff1c;flex:1}
.auth-demo__step--one{animation:demo-step-one var(--demo-cycle) ease infinite}
.auth-demo__step--two{animation:demo-step-two var(--demo-cycle) ease infinite}
.auth-demo__step--three{animation:demo-step-three var(--demo-cycle) ease infinite}
.auth-demo__caption{margin:13px 0 0;text-align:center;color:#d7afbf;font-size:8px;line-height:1.6}
.auth-demo:has(.auth-demo__pause input:checked) *{animation-play-state:paused!important}
@keyframes demo-scene-one{0%,25%,100%{opacity:1;transform:translateY(0)}30%,95%{opacity:0;transform:translateY(-6px)}}
@keyframes demo-scene-two{0%,25%,64%,100%{opacity:0;transform:translateY(9px)}32%,58%{opacity:1;transform:translateY(0)}}
@keyframes demo-scene-three{0%,60%,98%,100%{opacity:0;transform:translateY(9px)}67%,92%{opacity:1;transform:translateY(0)}}
@keyframes demo-office-choice{0%,7%,28%,100%{border-color:#eddee6;background:#fff}13%,24%{border-color:#b47593;background:#fcf1f7}}
@keyframes demo-cursor{0%,3%{opacity:0;transform:translate(20px,25px)}8%,14%{opacity:1;transform:translate(0,0)}17%{opacity:1;transform:translate(-3px,-2px) scale(.88)}21%{opacity:1;transform:translate(0,0)}27%,100%{opacity:0;transform:translate(12px,15px)}}
@keyframes demo-ahead-start{0%,41%,100%{opacity:1;transform:translateY(0)}46%,95%{opacity:0;transform:translateY(-6px)}}
@keyframes demo-ahead-end{0%,41%,100%{opacity:0;transform:translateY(6px)}46%,95%{opacity:1;transform:translateY(0)}}
@keyframes demo-toast{0%,69%,96%,100%{opacity:0;transform:translateY(10px)}75%,91%{opacity:1;transform:translateY(0)}}
@keyframes demo-bell{0%,65%,70%,100%{transform:rotate(0)}66%,68%{transform:rotate(-9deg)}67%,69%{transform:rotate(9deg)}}
@keyframes demo-step-one{0%,27%,100%{color:#fff}32%,96%{color:#c598aa}}
@keyframes demo-step-two{0%,27%,64%,100%{color:#c598aa}32%,58%{color:#fff}}
@keyframes demo-step-three{0%,60%,98%,100%{color:#c598aa}67%,92%{color:#fff}}
@media(min-width:901px) and (max-height:800px){
 body.auth-refresh .auth-brand:has(.auth-demo){min-height:710px;padding-block:25px}
 body.auth-refresh .portal-story:has(.auth-demo){padding:20px 0}
 body.auth-refresh .portal-story:has(.auth-demo) h1{font-size:26px!important}
 body.auth-refresh .portal-story:has(.auth-demo)>p{font-size:11px;margin-bottom:16px}
}
@media(max-width:900px){body.auth-refresh .auth-brand:has(.auth-demo){min-height:0!important}.auth-demo{display:none}}
@media(prefers-reduced-motion:reduce){
 .auth-demo__scene--offices,.auth-demo__scene--called,.auth-demo__cursor,.auth-demo__toast{display:none}
 .auth-demo__scene--ticket{opacity:1;transform:none}.auth-demo__ahead-start{opacity:1}.auth-demo__ahead-end{opacity:0}
 .auth-demo__step--one,.auth-demo__step--three{color:#c598aa}.auth-demo__step--two{color:#fff}.auth-demo__pause{display:none}
 .auth-demo *{animation:none!important;transition:none!important}
}

/* The auth walkthrough lives inside the same phone language as the landing hero. */
body.auth-refresh .auth-brand:has(.auth-demo){min-height:790px}
body.auth-refresh .portal-story:has(.auth-demo){padding:18px 0}
body.auth-refresh .portal-story:has(.auth-demo) h1{font-size:26px!important;line-height:1.2!important;margin-bottom:18px!important}
body.auth-refresh .portal-story:has(.auth-demo)>p{display:none}
.auth-demo{max-width:315px}
.auth-demo__stage{height:412px}
.auth-demo__window{
 inset:auto;top:0;left:50%;transform:translateX(-50%);width:240px;height:390px;
 padding:6px;border:1px solid #747477;border-radius:35px;box-sizing:border-box;overflow:visible;
 background:linear-gradient(115deg,#a9a9ac 0%,#29292b 5%,#121214 50%,#666669 92%,#aaaab0 100%);
 box-shadow:0 20px 35px #20010932,inset 0 0 0 2px #ffffff16;
}
.auth-phone__screen{position:relative;width:100%;height:100%;overflow:hidden;border:2px solid #141416;border-radius:28px;background:#fff;box-sizing:border-box}
.auth-phone__screen:after{content:'';position:absolute;inset:0;z-index:5;pointer-events:none;border-radius:inherit;background:linear-gradient(115deg,#ffffff08,transparent 40%,transparent 70%,#ffffff04)}
.auth-phone__status{display:flex;align-items:center;justify-content:space-between;padding:5px 14px 0;height:29px;box-sizing:border-box;font-size:8px;font-weight:600;color:#2e2027;position:relative;background:#fff}
.auth-phone__camera{position:absolute;left:50%;top:6px;transform:translateX(-50%);width:54px;height:15px;border-radius:20px;background:#111114;box-shadow:inset 0 -1px 1px #ffffff16}
.auth-phone__camera:after{content:'';position:absolute;width:4px;height:4px;border:1px solid #212631;right:8px;top:5px;border-radius:50%;background:#122433}
.auth-phone__button{position:absolute;width:3px;border-radius:3px;background:linear-gradient(90deg,#333335,#a1a1a5,#3d3d40)}
.auth-phone__button--volume{top:90px;left:-3px;height:38px}
.auth-phone__button--power{top:112px;right:-3px;height:45px}
.auth-demo__chrome{position:relative;height:35px;background:#660810;color:#fff;padding:0 13px;justify-content:space-between;font-size:11px;letter-spacing:-.2px}
.auth-demo__dots{width:14px;gap:2px}
.auth-demo__dots i{width:3px;height:3px;border-color:#e5bacb}
.auth-demo__dots i:first-child{background:#e5bacb;border-color:#e5bacb}
.auth-demo__scene{inset:64px 0 42px;padding:19px 15px 14px}
.auth-demo__scene h3{font-size:16px;line-height:1.35;letter-spacing:-.4px}
.auth-demo__eyebrow{font-size:6px;letter-spacing:.5px}
.auth-demo__scene p{font-size:9px;line-height:1.7;margin-bottom:14px}
.auth-demo__office{padding:10px 8px;gap:8px}
.auth-demo__office-icon{width:25px;height:25px}
.auth-demo__office strong{font-size:10px}
.auth-demo__office small{font-size:8px}
.auth-demo__office-arrow{font-size:14px}
.auth-demo__cursor{left:75%;top:123px;width:14px;height:14px;background:#66081020;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 4px #66081015;filter:none}
.auth-demo__cursor svg{display:none}
.auth-demo__ticket-head{font-size:6px;letter-spacing:.4px}
.auth-demo__number{font-size:43px;margin-top:17px}
.auth-demo__office-name{font-size:8px;line-height:1.7;margin-top:5px}
.auth-demo__metrics{margin-top:18px;padding:13px 0}
.auth-demo__metrics>div>span{font-size:8px}
.auth-demo__metrics strong{font-size:19px}
.auth-demo__scene .auth-demo__ticket-note{font-size:6px;margin-top:14px;gap:4px}
.auth-demo__scene--called{padding-top:24px}
.auth-demo__scene--called h3{font-size:20px}
.auth-demo__scene--called p{font-size:8px;line-height:1.8;margin:8px 0 15px}
.auth-demo__called-icon{margin-bottom:17px}
.auth-demo__counter{padding:15px 10px}
.auth-demo__counter strong{font-size:20px}
.auth-phone__nav{position:absolute;bottom:13px;left:0;right:0;display:flex;align-items:flex-start;justify-content:space-around;height:31px;padding-top:6px;border-top:1px solid #f0e4ea;background:#fff;box-sizing:border-box;z-index:2}
.auth-phone__nav>span{display:flex;flex-direction:column;align-items:center;gap:3px;color:#b18a9d;font-size:5px;line-height:1}
.auth-phone__nav svg{width:12px;height:12px}
.auth-phone__nav .is-active{color:#660810}
.auth-phone__home{position:absolute;bottom:5px;left:50%;transform:translateX(-50%);height:3px;width:65px;background:#291d23;border-radius:4px;z-index:3}
.auth-demo__toast{left:5px;right:5px;bottom:4px;z-index:6;padding:11px 12px}
.auth-demo__toolbar>span{font-size:7px}
.auth-demo__steps{padding-top:14px}
.auth-demo__caption{font-size:7px;margin-top:11px}
@media(min-width:901px) and (max-height:800px){
 body.auth-refresh .auth-brand:has(.auth-demo){min-height:780px}
 body.auth-refresh .portal-story:has(.auth-demo){padding:15px 0}
 body.auth-refresh .portal-story:has(.auth-demo) h1{font-size:24px!important;margin-bottom:15px!important}
}
@media(max-width:900px){body.auth-refresh .auth-brand:has(.auth-demo){min-height:0!important}}

/* Taller handset proportions; use the panel's available height, not extra gutters. */
@media(min-width:901px){
 body.auth-refresh .auth-brand:has(.auth-demo){padding-top:24px;padding-bottom:24px;min-height:780px}
 body.auth-refresh .portal-story:has(.auth-demo){padding:8px 0;max-width:440px}
 body.auth-refresh .portal-story:has(.auth-demo) .portal-eyebrow{font-size:9px;line-height:1.5;margin-bottom:6px}
 body.auth-refresh .portal-story:has(.auth-demo) h1{font-size:24px!important;line-height:1.2!important;margin-bottom:12px!important}
 .auth-demo{--auth-phone-height:clamp(460px,calc(100dvh - 340px),640px);max-width:360px}
 .auth-demo__toolbar{margin-bottom:8px}
 .auth-demo__stage{height:calc(var(--auth-phone-height) + 20px)}
 .auth-demo__window{height:var(--auth-phone-height);width:calc(var(--auth-phone-height) / 2.08);border-radius:38px;padding:7px}
 .auth-phone__screen{border-radius:30px}
 .auth-phone__status{height:32px;padding:5px 17px 0;font-size:9px}
 .auth-phone__camera{width:62px;height:17px;top:7px}
 .auth-phone__camera:after{top:6px;right:10px}
 .auth-demo__chrome{height:39px;padding:0 16px;font-size:12px}
 .auth-demo__scene{inset:71px 0 46px;padding:24px 17px 18px;display:flex;flex-direction:column;justify-content:center}
 .auth-demo__scene h3{font-size:19px;line-height:1.35;margin-top:7px}
 .auth-demo__scene p{font-size:10px;line-height:1.8;margin-bottom:18px}
 .auth-demo__eyebrow{font-size:7px;line-height:1.6}
 .auth-demo__office{padding:14px 10px;gap:9px;margin-top:12px;flex-shrink:0}
 .auth-demo__office-icon{width:29px;height:29px}
 .auth-demo__office strong{font-size:12px}
 .auth-demo__office small{font-size:9px}
 .auth-demo__cursor{top:50%;left:77%}
 .auth-demo__ticket-head{font-size:7px;line-height:1.6}
 .auth-demo__badge{font-size:9px;padding:5px 9px}
 .auth-demo__number{font-size:58px;margin-top:24px}
 .auth-demo__office-name{font-size:9px;line-height:1.8;margin-top:8px}
 .auth-demo__metrics{margin-top:27px;padding:18px 0}
 .auth-demo__metrics>div>span{font-size:9px}
 .auth-demo__metrics strong{font-size:23px;height:27px}
 .auth-demo__scene .auth-demo__ticket-note{font-size:7px;line-height:1.8;margin-top:19px;flex-wrap:wrap}
 .auth-demo__scene--called{align-items:center;padding-top:24px}
 .auth-demo__scene--called h3{font-size:23px}
 .auth-demo__scene--called p{font-size:10px}
 .auth-demo__called-icon{width:43px;height:43px;margin-bottom:22px;flex-shrink:0}
 .auth-demo__counter{width:100%;padding:20px 12px}
 .auth-demo__counter strong{font-size:24px}
 .auth-demo__counter>span{font-size:8px}
 .auth-phone__nav{height:36px;bottom:14px;padding-top:7px}
 .auth-phone__nav>span{font-size:6px;gap:4px}
 .auth-phone__nav svg{width:14px;height:14px}
 .auth-phone__home{width:78px;bottom:5px}
 .auth-demo__steps{padding-top:10px}
 .auth-demo__caption{margin-top:7px}
}
@media(min-width:901px) and (max-height:800px){
 body.auth-refresh .auth-brand:has(.auth-demo){min-height:790px;padding-block:22px}
 body.auth-refresh .portal-story:has(.auth-demo) h1{font-size:22px!important;margin-bottom:10px!important}
 .auth-demo__scene{padding-inline:13px}
 .auth-demo__scene h3{font-size:17px}
 .auth-demo__number{font-size:50px;margin-top:17px}
 .auth-demo__office{padding:11px 8px;gap:7px}
 .auth-demo__office strong{font-size:10px}
 .auth-demo__office small{font-size:8px}
 .auth-demo__metrics{margin-top:20px;padding:13px 0}
}
@media(prefers-reduced-motion:reduce){.auth-demo__scene--offices,.auth-demo__scene--called{display:none}}

/* Desktop auth is a viewport shell; only the form column scrolls. */
@media(min-width:901px){
 html:has(body.auth-refresh){height:100%;overflow:hidden}
 body.auth-refresh{display:block!important;height:100dvh!important;min-height:0!important;overflow:hidden!important}
 body.auth-refresh .auth-split,body.auth-refresh .auth-split--reverse{
  height:100dvh!important;min-height:0!important;max-height:100dvh;overflow:hidden;align-items:stretch;
 }
 body.auth-refresh .auth-brand:has(.auth-demo){
  position:relative;top:0;height:calc(100dvh - 32px)!important;min-height:0!important;
  margin:16px 0 16px 16px;padding:24px clamp(22px,3vw,46px);
  display:grid!important;grid-template-rows:auto minmax(0,1fr) auto;gap:16px;overflow:hidden;align-items:stretch;
 }
 body.auth-refresh .portal-story:has(.auth-demo){
  display:flex;flex-direction:column;justify-content:flex-start;min-height:0;
  margin:0!important;padding:0!important;width:100%;height:100%;max-width:440px;justify-self:center;align-self:stretch;
 }
 body.auth-refresh .portal-story:has(.auth-demo) .portal-eyebrow{flex-shrink:0;margin:0 0 6px;font-size:9px}
 body.auth-refresh .portal-story:has(.auth-demo) h1{flex-shrink:0;font-size:clamp(18px,2.5vh,24px)!important;margin:0 0 12px!important}
 .auth-demo{display:flex;flex-direction:column;flex:1;min-height:0;width:100%;max-width:360px}
 .auth-demo__toolbar{flex-shrink:0;margin-bottom:8px}
 .auth-demo__stage{flex:1;min-height:0;height:auto!important}
 .auth-demo__window{
  width:270px!important;height:562px!important;
  transform:translateX(-50%) scale(var(--auth-device-scale,.65));transform-origin:top center;
 }
 .auth-demo__steps,.auth-demo__caption{flex-shrink:0}
 .auth-demo__steps{padding-top:5px}
 .auth-demo__caption{margin-top:6px;line-height:1.5}
 .auth-demo__toast{left:5px;right:5px;bottom:0}
 body.auth-refresh .auth-form-panel{
  height:100dvh!important;min-height:0!important;max-height:100dvh!important;
  overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior-y:contain;
  display:flex!important;flex-direction:column;align-items:center!important;justify-content:flex-start;
  padding:28px clamp(26px,4vw,64px)!important;scrollbar-width:thin;
  scrollbar-color:#c3a5b3 transparent;scroll-padding-block:24px;
 }
 body.auth-refresh .auth-form-panel .auth-card{flex:0 0 auto;margin-block:auto!important}
 body.auth-refresh .auth-form-panel::-webkit-scrollbar{display:block;width:7px}
 body.auth-refresh .auth-form-panel::-webkit-scrollbar-thumb{background:#c3a5b3;border:2px solid #fcfafb;border-radius:10px}
}
@media(min-width:901px) and (max-height:700px){
 body.auth-refresh .auth-brand:has(.auth-demo){padding-block:18px;gap:12px}
 body.auth-refresh .portal-brand img{width:35px;height:35px}
 body.auth-refresh .portal-brand>span{font-size:22px}
 body.auth-refresh .portal-brand small{font-size:8px}
 body.auth-refresh .portal-bottom>span{font-size:8px}
 body.auth-refresh .portal-story:has(.auth-demo) .portal-eyebrow{font-size:8px;margin-bottom:4px}
 .auth-demo__toolbar{margin-bottom:5px}
 .auth-demo__pause{width:26px;height:26px}
 .auth-demo__steps{padding-top:4px}
 .auth-demo__caption{font-size:6px;margin-top:4px}
}

/* Preview the real student mobile components inside the decorative handset. */
.auth-phone__website{position:absolute;inset:32px 0 14px;overflow:hidden;background:var(--uq-canvas)}
.auth-phone__website-frame{display:block;width:390px;height:800px;border:0;transform:scale(var(--auth-site-scale,.64));transform-origin:top left;pointer-events:none;background:var(--uq-canvas)}
.auth-phone__home{background:#291d23}
.auth-phone__website:before{content:'';position:absolute;left:50%;top:45%;width:42px;height:42px;transform:translate(-50%,-50%);background:url('../img/logo.webp') center/contain no-repeat;opacity:.55}
.auth-phone__website-frame{position:relative;opacity:0;transition:opacity .2s ease}
.auth-phone__website-frame.is-ready{opacity:1}
