.auth-page{background:#F5F6F3;color:#17291E;min-height:100svh;margin:0;font:14px/1.5 Arial,Helvetica,system-ui,sans-serif}
.auth-page *{box-sizing:border-box}
.auth-header{height:104px;display:flex;align-items:center;justify-content:center;background:#fff;border-bottom:1px solid #E3E8DF;padding:20px}
.auth-header img{display:block;width:230px;height:auto}
.auth-main{display:flex;justify-content:center;padding:56px 20px 72px}
.auth-card{width:100%;max-width:460px;background:#fff;border:1px solid #E3E8DF;border-radius:24px;padding:36px;box-shadow:0 14px 44px #174A2B05}
.auth-eyebrow{font-size:10px;letter-spacing:1.8px;color:#8B733C;margin:0 0 18px;font-weight:600}
.auth-card h1{font-size:40px;line-height:1.1;letter-spacing:-1.7px;font-weight:500;margin:0 0 18px;color:#17291E}
.auth-intro{font-size:14px;line-height:1.7;color:#6D746E;margin:0 0 24px}
.auth-message{font-size:13px;line-height:1.6;padding:12px 14px;border-radius:12px;background:#F5F6F3;color:#53614D;margin:0 0 20px;overflow-wrap:anywhere}
.auth-message:empty{display:none}.auth-message.is-error{color:#953D30;background:#FFF2EF}
.auth-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:50px;padding:13px 16px;border:1px solid #E3E8DF;border-radius:13px;background:#fff;font:inherit;font-size:14px;line-height:1.4;color:#174A2B;text-decoration:none;cursor:pointer}
.auth-button:disabled{opacity:.5;cursor:default}
.auth-button:not(:disabled):hover{border-color:#8D9F8D}
.auth-button:focus-visible,.auth-page input:focus-visible,.auth-text-button:focus-visible{outline:2px solid #B3934B;outline-offset:3px}
.auth-primary{color:#fff;background:#174A2B;border-color:#174A2B;margin-top:16px;justify-content:space-between}
.auth-primary:not(:disabled):hover{background:#10351F;border-color:#10351F}
.auth-divider{display:flex;align-items:center;gap:16px;color:#8A918A;font-size:12px;margin:24px 0}
.auth-divider:before,.auth-divider:after{content:'';height:1px;background:#EBEEEA;flex:1}
.auth-card label{display:block;font-size:12px;margin:0 0 8px;font-weight:500}
.auth-card input{display:block;width:100%;min-width:0;max-width:100%;height:50px;border:1px solid #E3E8DF;border-radius:12px;background:#F5F6F3;padding:12px 14px;font:inherit;font-size:16px;color:#17291E}
.auth-card input::placeholder{color:#929A92}.auth-card input:disabled{opacity:.55}
.auth-password-field{position:relative}
.auth-card .auth-password-field input{padding-right:58px}
.auth-password-toggle{position:absolute;top:50%;right:5px;transform:translateY(-50%);display:grid;place-items:center;width:40px;height:40px;border:0;border-radius:10px;background:transparent;color:#53614D;cursor:pointer;transition:background .2s ease,color .2s ease}
.auth-password-toggle:hover:not(:disabled),.auth-password-toggle[aria-pressed="true"]{background:#E9EFE7;color:#174A2B}
.auth-password-toggle:disabled{opacity:.45;cursor:default}
.auth-password-toggle:focus-visible{outline:2px solid #B3934B;outline-offset:2px}
.auth-password-toggle svg{width:20px;height:20px;display:block}
@media(prefers-reduced-motion:reduce){.auth-password-toggle{transition:none}}
.auth-back{display:block;text-align:center;font-size:12px;color:#53614D;text-decoration:none;margin-top:24px;min-height:44px;padding:12px 0}
.auth-back:hover{color:#174A2B}
.auth-code-copy{font-size:13px;line-height:1.7;color:#6D746E;overflow-wrap:anywhere}
.auth-code-copy strong{color:#17291E;font-weight:500}
.auth-code-slots{position:relative;width:100%;cursor:text}
.auth-card .auth-code-slots input{position:absolute;inset:0;z-index:2;width:100%;height:100%;opacity:0;cursor:text}
.auth-code-slots-visual{display:grid;grid-template-columns:repeat(var(--slot-count,6),minmax(0,1fr));gap:8px;pointer-events:none}
.auth-code-slot{display:grid;place-items:center;min-width:0;height:56px;border:1px solid #DCE4D7;border-radius:12px;background:#F5F6F3;color:#17291E;font-size:24px;font-weight:600;font-variant-numeric:tabular-nums;line-height:1;transition:border-color .18s ease,background .18s ease,box-shadow .18s ease,transform .18s ease}
.auth-code-slot.is-filled{background:#fff;border-color:#B8C7B3;animation:auth-code-enter .26s cubic-bezier(.2,1.5,.5,1)}
.auth-code-slots:focus-within .auth-code-slot.is-active{border-color:#174A2B;background:#F0F5EE;box-shadow:0 0 0 3px #174A2B1A}
.auth-code-slots:focus-within .auth-code-slot.is-active:empty:after{content:'';width:2px;height:22px;border-radius:1px;background:#174A2B;animation:auth-code-caret 1s step-end infinite}
.auth-code-slots:has(input:disabled){opacity:.55;cursor:default}
@keyframes auth-code-enter{from{opacity:.35;transform:translateY(7px) scale(.88)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes auth-code-caret{50%{opacity:0}}
@media(prefers-reduced-motion:reduce){.auth-code-slot{transition:none}.auth-code-slot.is-filled,.auth-code-slots:focus-within .auth-code-slot.is-active:empty:after{animation:none}}
.auth-code-actions{display:flex;justify-content:space-between;gap:12px;margin-top:12px}
.auth-text-button{padding:10px 0;min-height:44px;background:none;border:0;font:inherit;font-size:12px;color:#174A2B;cursor:pointer}
.auth-text-button:disabled{opacity:.5;cursor:default}
.auth-account-details{border-top:1px solid #E3E8DF;border-bottom:1px solid #E3E8DF;padding:20px 0;margin:24px 0}
.auth-account-details dt{font-size:12px;font-weight:500;color:#17291E;margin-bottom:8px}.auth-account-details dd{min-height:50px;padding:12px 14px;border:1px solid #E3E8DF;border-radius:12px;background:#EFF1EC;color:#53614D;font-size:16px;overflow-wrap:anywhere;margin:0}
.auth-secondary{margin-top:12px}.auth-noscript{text-align:center;font-size:14px}
[hidden]{display:none!important}
@media(max-width:520px){.auth-header{height:88px}.auth-header img{width:200px}.auth-main{padding:28px 16px 48px}.auth-card{padding:28px 24px;border-radius:20px}.auth-card h1{font-size:36px}.auth-eyebrow{font-size:9px;letter-spacing:1.4px}}
@media(max-width:359px){.auth-card{padding:24px 18px}.auth-card h1{font-size:32px}}

.auth-card select{display:block;width:100%;min-width:0;height:50px;border:1px solid #E3E8DF;border-radius:12px;background:#fff;padding:12px 14px;font:inherit;font-size:var(--rt-control-font,14px);color:#174A2B}.auth-card select:focus-visible{outline:2px solid #B3934B;outline-offset:3px}.profile-field{margin-top:20px}.profile-help{font-size:12px;line-height:1.6;color:#6D746E;margin:8px 0 0}.auth-card select:disabled{opacity:.55}

.auth-modes{display:flex;gap:4px;background:#F5F6F3;border:1px solid #E3E8DF;border-radius:13px;padding:4px;margin:0 0 24px}
.auth-modes button{flex:1;min-height:44px;border:0;border-radius:9px;background:transparent;font:inherit;color:#53614D;cursor:pointer}
.auth-modes button[aria-pressed="true"]{background:#174A2B;color:#fff}
.auth-modes button:focus-visible{outline:2px solid #B3934B;outline-offset:2px}.auth-modes button:disabled{opacity:.55;cursor:default}

/* Keep Account centered below its navbar; let short screens scroll naturally. */
.auth-page[data-auth-page="account"]{--account-header-height:104px;display:flex;flex-direction:column}
.auth-page[data-auth-page="account"] .auth-header{height:var(--account-header-height);flex-shrink:0;position:sticky;top:0;z-index:30}
.auth-page[data-auth-page="account"] .auth-main{width:100%;flex:1;min-height:calc(100svh - var(--account-header-height));align-items:center;padding:24px 20px;margin:0 auto}
.auth-page[data-auth-page="account"] .auth-card{max-width:960px;padding:32px 36px}
.auth-page[data-auth-page="account"] .auth-account-details{margin:20px 0;padding:16px 0}
.profile-location{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}
.profile-location .profile-field{min-width:0}
.account-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;margin-top:12px}
.account-actions .auth-secondary{margin-top:0}
.auth-page[data-auth-page="account"] .auth-back{margin-top:16px}
@media(max-width:520px){
 .auth-page[data-auth-page="account"]{--account-header-height:88px}
 .auth-page[data-auth-page="account"] .auth-main{padding:24px 16px}
 .auth-page[data-auth-page="account"] .auth-card{padding:28px 24px}
 .profile-location,.account-actions{grid-template-columns:minmax(0,1fr);gap:0}
 .account-actions{gap:12px}
 .auth-page[data-auth-page="account"] .auth-back{margin-top:16px}
}
@media(max-width:359px){.auth-page[data-auth-page="account"] .auth-card{padding:24px 18px}}

.auth-card input[readonly]{background:#EFF1EC;color:#53614D;cursor:default}

/* Expanded account: photo and editable profile details share one save action. */
.account-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:36px;align-items:start}
.account-sidebar{background:#F5F6F3;border:1px solid #E3E8DF;border-radius:20px;padding:24px 20px;text-align:center}
.avatar-frame{position:relative;display:grid;place-items:center;width:136px;height:136px;margin:0 auto 20px;overflow:hidden;border-radius:50%;background:#E8EDE4;border:1px solid #DCE4D7;color:#174A2B;font-size:38px;letter-spacing:-1px}
.avatar-frame img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.account-sidebar h2{font-size:16px;font-weight:500;margin:0 0 16px}
.account-sidebar .auth-secondary{margin-top:0}.account-sidebar .auth-text-button{display:block;width:100%;padding:8px 0}
.account-sidebar .profile-help{font-size:11px;margin-top:12px}.account-sidebar [role="status"]:empty{display:none}
.account-fields{min-width:0}.auth-page[data-auth-page="account"] .auth-account-details{border:0;margin:0 0 20px;padding:0}
.field-optional{font-size:11px;font-weight:400;color:#7D877D;margin-left:5px}
.auth-card textarea{display:block;resize:vertical;width:100%;min-height:100px;max-height:240px;border:1px solid #E3E8DF;border-radius:12px;background:#F5F6F3;padding:12px 14px;font:inherit;font-size:16px;line-height:1.5;color:#17291E}
.auth-card textarea::placeholder{color:#929A92}.auth-card textarea:disabled{opacity:.55}.auth-card textarea:focus-visible{outline:2px solid #B3934B;outline-offset:3px}
.auth-page[data-auth-page="account"] .account-actions{margin-left:256px}
@media(max-width:720px){
 .account-layout{grid-template-columns:minmax(0,1fr);gap:24px}
 .account-sidebar{max-width:100%;padding:20px}.avatar-frame{width:104px;height:104px;margin-bottom:12px;font-size:30px}
 .account-sidebar .auth-button{max-width:220px;margin-left:auto;margin-right:auto}.account-sidebar h2{margin-bottom:12px}
 .auth-page[data-auth-page="account"] .account-actions{margin-left:0}
}
.account-sidebar{margin:0}
@media(max-width:720px){
 .account-sidebar{display:grid;grid-template-columns:80px minmax(0,1fr);gap:8px 16px;text-align:left;padding:20px}
 .account-sidebar .avatar-frame{grid-column:1;grid-row:1 / 4;width:80px;height:80px;margin:0;font-size:26px}
 .account-sidebar h2{grid-column:2;margin:0;align-self:center}
 .account-sidebar .auth-button{grid-column:2;min-height:44px;width:100%;max-width:none;margin:0;padding:10px}
 .account-sidebar .auth-text-button{grid-column:2;min-height:36px;text-align:left;padding:6px 0}
 .account-sidebar .profile-help{grid-column:1 / -1;margin-top:4px}
}

@media(min-width:721px){.account-identity{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}.auth-page[data-auth-page="account"] .account-identity .auth-account-details{margin:0}}

/* Account identity is plain text once assigned; type describes the user, not access. */
.account-profile-summary{min-width:0;margin:0;padding:0;border:0;background:transparent;color:#17291E;font-size:14px}
.account-user-type{margin-top:20px;min-width:0;text-align:left}
.account-user-type label{font-size:12px;color:#17291E}
.account-user-type select{background:#fff}
.auth-page[data-auth-page="account"] #saved-username{margin:0}
.auth-page[data-auth-page="account"] .auth-card input,
.auth-page[data-auth-page="account"] .auth-card textarea,
.auth-page[data-auth-page="account"] .auth-account-details dd{font-size:var(--rt-control-font,14px)}
@media(max-width:720px){.account-sidebar .account-user-type{grid-column:1 / -1;width:100%;margin-top:12px}}

/* A viewport-sized login section centered beneath the top navbar. */
.auth-page[data-auth-page="login"]{--login-header-height:104px;display:flex;flex-direction:column;min-height:100svh}
.auth-page[data-auth-page="login"] .auth-header{height:var(--login-header-height);flex-shrink:0}
.auth-page[data-auth-page="login"] .auth-main{width:100%;flex:1;min-height:calc(100svh - var(--login-header-height));align-items:center;padding:20px;margin:0;max-width:none}
.auth-page[data-auth-page="login"] .auth-card{padding:28px 32px}
.auth-page[data-auth-page="login"] .auth-card h1{font-size:36px;margin-bottom:12px}
.auth-page[data-auth-page="login"] .auth-intro{line-height:1.5;margin-bottom:16px}
.auth-page[data-auth-page="login"] .auth-modes{margin-bottom:16px}
.auth-page[data-auth-page="login"] .auth-divider{margin:16px 0}
.auth-page[data-auth-page="login"] .profile-field{margin-top:14px}
.auth-page[data-auth-page="login"] .auth-back{margin-top:8px}
@media(max-width:520px){
 .auth-page[data-auth-page="login"]{--login-header-height:88px}
 .auth-page[data-auth-page="login"] .auth-main{padding:16px}
 .auth-page[data-auth-page="login"] .auth-card{padding:24px}
}
@media(max-height:800px){
 .auth-page[data-auth-page="login"]{--login-header-height:80px}
 .auth-page[data-auth-page="login"] .auth-header{padding:12px}
 .auth-page[data-auth-page="login"] .auth-header img{width:200px}
 .auth-page[data-auth-page="login"] .auth-main{padding:12px 16px}
 .auth-page[data-auth-page="login"] .auth-card{padding:20px 24px}
 .auth-page[data-auth-page="login"] .auth-card h1{font-size:32px;margin-bottom:10px}
 .auth-page[data-auth-page="login"] #auth-intro{display:none}
 .auth-page[data-auth-page="login"] .auth-modes{margin-bottom:12px}
 .auth-page[data-auth-page="login"] .auth-divider{margin:12px 0}
 .auth-page[data-auth-page="login"] .profile-field{margin-top:10px}
 .auth-page[data-auth-page="login"] .auth-card label{margin-bottom:6px}
 .auth-page[data-auth-page="login"] .auth-primary{margin-top:12px}
 .auth-page[data-auth-page="login"] .auth-back{margin-top:4px}
}
@media(max-height:620px){
 .auth-page[data-auth-page="login"]{--login-header-height:64px}
 .auth-page[data-auth-page="login"] .auth-header img{width:180px}
 .auth-page[data-auth-page="login"] .auth-main{padding:8px 12px}
 .auth-page[data-auth-page="login"] .auth-card{padding:14px 18px}
 .auth-page[data-auth-page="login"] .auth-card h1{font-size:28px;margin-bottom:8px}
 .auth-page[data-auth-page="login"] .auth-modes{padding:2px;margin-bottom:8px}
 .auth-page[data-auth-page="login"] .auth-modes button,.auth-page[data-auth-page="login"] .auth-button,.auth-page[data-auth-page="login"] .auth-card input{min-height:44px;height:44px}
 .auth-page[data-auth-page="login"] .auth-button{padding:9px 12px}
 .auth-page[data-auth-page="login"] .auth-divider{margin:6px 0}
 .auth-page[data-auth-page="login"] .profile-field{margin-top:6px}
 .auth-page[data-auth-page="login"] .auth-card label{margin-bottom:4px}
 .auth-page[data-auth-page="login"] .auth-primary{margin-top:8px}
 .auth-page[data-auth-page="login"] .auth-back{margin-top:0}
}

/* Account access uses the same quiet surfaces, green actions and gold details as the platform. */
.auth-page[data-auth-page="login"]{background:radial-gradient(circle at 50% 42%,#fff 0,#F6F7F4 64%,#F1F3EF 100%)}
.auth-page[data-auth-page="login"] .auth-card{position:relative;overflow:hidden;max-width:480px;border-color:#DFE5DC;border-radius:22px;box-shadow:0 22px 72px #173E240B,0 2px 8px #173E2404}
.auth-page[data-auth-page="login"] .auth-card::before{content:'';position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#B3934B,#D9C688 48%,#174A2B)}
.auth-page[data-auth-page="login"] .auth-card h1{letter-spacing:-1.8px}
.auth-page[data-auth-page="login"] .auth-modes{position:relative;isolation:isolate;border-color:#E1E7DE;background:#F4F6F2;border-radius:12px;padding:4px}
.auth-page[data-auth-page="login"] .auth-modes::before{content:'';position:absolute;z-index:-1;left:4px;top:4px;width:calc(50% - 4px);height:calc(100% - 8px);border-radius:8px;background:#174A2B;box-shadow:0 3px 8px #174A2B18;transform:translateX(0);transition:transform .38s cubic-bezier(.22,1,.36,1)}
.auth-page[data-auth-page="login"][data-auth-mode="signup"] .auth-modes::before{transform:translateX(100%)}
.auth-page[data-auth-page="login"] .auth-modes button{background:transparent;color:#647166;transition:color .25s ease}
.auth-page[data-auth-page="login"] .auth-modes button[aria-pressed="true"]{background:transparent;box-shadow:none;color:#fff}
.auth-page[data-auth-page="login"] .auth-card input:not(#signin-code){border-color:#DFE5DC;background:#F6F7F4;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease}
.auth-page[data-auth-page="login"] .auth-card input:not(#signin-code):focus{outline:none;border-color:#5D8063;background:#fff;box-shadow:0 0 0 3px #174A2B12}
.auth-page[data-auth-page="login"] .auth-button{border-color:#DFE5DC;font-weight:500;transition:border-color .2s ease,background .2s ease,box-shadow .2s ease,transform .2s ease}
.auth-page[data-auth-page="login"] .auth-button:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 8px 20px #174A2B12}
.auth-page[data-auth-page="login"] .auth-button:not(:disabled):active{transform:translateY(0);box-shadow:none}
.auth-page[data-auth-page="login"] .auth-primary{border-color:#174A2B}
.auth-page[data-auth-page="login"] .auth-primary:not(:disabled):hover{border-color:#174A2B;background:#215D37}
.auth-page[data-auth-page="login"] .auth-primary > span[aria-hidden="true"]{display:grid;place-items:center;width:27px;height:27px;flex:0 0 27px;border-radius:50%;background:#FFFFFF22;font-size:15px;line-height:1;transition:transform .25s ease,background .25s ease}
.auth-page[data-auth-page="login"] .auth-primary:hover > span[aria-hidden="true"]{transform:translate(2px,-2px);background:#FFFFFF36}
.auth-page[data-auth-page="login"] .auth-message{border:1px solid #E3E8DF;background:#F7F8F5;color:#53614D}
.auth-page[data-auth-page="login"] .auth-message.is-error{border-color:#EFC9C1;background:#FFF6F4;color:#953D30}
.auth-page[data-auth-page="login"][data-auth-stage="verification"] .auth-message:not(.is-error){padding:0;border:0;background:transparent;color:#53614D;margin:0 0 12px}
.auth-page[data-auth-page="login"] .auth-step{display:flex;align-items:center;gap:9px;margin:0 0 16px;color:#A47E34;font-size:10px;font-weight:700;letter-spacing:.16em}
.auth-step-mark{width:7px;height:7px;border-radius:50%;background:#B3934B;box-shadow:0 0 0 4px #B3934B18}
.auth-page[data-auth-page="login"] .auth-code-copy{font-size:15px;line-height:1.65;margin:0 0 26px;color:#657367}
.auth-page[data-auth-page="login"] .auth-code-copy strong{display:block;margin-top:3px;font-size:16px;font-weight:600;color:#174A2B;overflow-wrap:anywhere}
.auth-page[data-auth-page="login"] #verify-signin label{font-size:12px;color:#47594A;margin-bottom:11px}
.auth-page[data-auth-page="login"] .auth-code-slots-visual{gap:9px}
.auth-page[data-auth-page="login"] .auth-code-slot{height:60px;border-color:#D9E2D5;border-radius:11px;background:#F6F8F5;font-size:25px}
.auth-page[data-auth-page="login"] .auth-code-slot.is-filled{border-color:#90AD91;background:#fff;box-shadow:0 3px 10px #174A2B0A}
.auth-page[data-auth-page="login"] .auth-code-slots.is-complete .auth-code-slot.is-filled{border-color:#6B9871}
.auth-page[data-auth-page="login"] .auth-code-slots.is-invalid .auth-code-slot{border-color:#D88376;background:#FFF8F6}
.auth-page[data-auth-page="login"] #verify-signin .auth-primary{min-height:56px;margin-top:22px;padding-left:20px;padding-right:15px}
.auth-page[data-auth-page="login"] #verify-signin .auth-primary:disabled{opacity:1;background:#ADC3AF;border-color:#ADC3AF;color:#F8FAF7}
.auth-page[data-auth-page="login"] .auth-code-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin-top:12px}
.auth-page[data-auth-page="login"] .auth-code-actions .auth-text-button{min-width:0;min-height:44px;padding:10px 8px;border:1px solid #E1E7DE;border-radius:11px;background:#fff;font-size:12px;font-weight:500;transition:background .2s,border-color .2s,transform .2s}
.auth-page[data-auth-page="login"] #resend-code{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-color:#B7CDB7;background:#F2F7F1;color:#174A2B}
.auth-page[data-auth-page="login"] #resend-code::before{content:'↻';font-size:17px;line-height:1}
.auth-page[data-auth-page="login"] #resend-code:not(:disabled):hover{background:#E5F0E4;border-color:#78A17C;transform:translateY(-1px)}
.auth-page[data-auth-page="login"] #resend-code:disabled{color:#859188;border-color:#E1E7DE;background:#F7F8F6;opacity:1}
.auth-page[data-auth-page="login"] #change-email{border-color:transparent;background:transparent;color:#53614D;padding-inline:12px;text-decoration:underline;text-decoration-color:#B9C9BA;text-underline-offset:5px}
.auth-page[data-auth-page="login"] #change-email:not(:disabled):hover{border-color:transparent;background:transparent;color:#174A2B;transform:translateY(-1px);text-decoration-color:#174A2B}
.auth-page[data-auth-page="login"] .auth-back{display:grid;place-items:center;width:44px;height:44px;min-height:44px;max-width:100%;padding:0;margin-left:auto;margin-right:auto;border:1px solid #DFE5DC;border-radius:50%;background:#fff;color:#174A2B;text-decoration:none;transition:background .24s ease,border-color .24s ease,color .24s ease,box-shadow .24s ease,transform .24s ease}
.auth-page[data-auth-page="login"] .auth-back svg{display:block;width:20px;height:20px;transition:transform .24s cubic-bezier(.22,1,.36,1)}
.auth-page[data-auth-page="login"] .auth-back:hover{background:#174A2B;border-color:#174A2B;color:#fff;box-shadow:0 8px 18px #174A2B26;transform:translateY(-2px)}
.auth-page[data-auth-page="login"] .auth-back:hover svg{transform:translateX(-2px)}
.auth-page[data-auth-page="login"] .auth-back:active{transform:scale(.96);box-shadow:0 2px 8px #174A2B20}
.auth-page[data-auth-page="login"] .auth-back:focus-visible{outline:2px solid #174A2B;outline-offset:3px}
@media(prefers-reduced-motion:no-preference){
 .auth-page[data-auth-page="login"] .auth-card{animation:auth-panel-enter .5s cubic-bezier(.22,1,.36,1) both}
 .auth-page[data-auth-page="login"] .auth-card h1,.auth-page[data-auth-page="login"] #verify-signin:not([hidden]),.auth-page[data-auth-page="login"] #email-signin:not([hidden]),.auth-page[data-auth-page="login"] #password-setup:not([hidden]){animation:auth-content-enter .34s cubic-bezier(.22,1,.36,1) both}
 .auth-page[data-auth-page="login"] #verify-signin:not([hidden]) .auth-code-slot:not(.is-filled){animation:auth-content-enter .4s cubic-bezier(.22,1,.36,1) both}
 .auth-page[data-auth-page="login"] #verify-signin:not([hidden]) .auth-code-slot:not(.is-filled):nth-child(2){animation-delay:.035s}
 .auth-page[data-auth-page="login"] #verify-signin:not([hidden]) .auth-code-slot:not(.is-filled):nth-child(3){animation-delay:.07s}
 .auth-page[data-auth-page="login"] #verify-signin:not([hidden]) .auth-code-slot:not(.is-filled):nth-child(4){animation-delay:.105s}
 .auth-page[data-auth-page="login"] #verify-signin:not([hidden]) .auth-code-slot:not(.is-filled):nth-child(5){animation-delay:.14s}
 .auth-page[data-auth-page="login"] #verify-signin:not([hidden]) .auth-code-slot:not(.is-filled):nth-child(6){animation-delay:.175s}
}
@keyframes auth-panel-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@keyframes auth-content-enter{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:520px){.auth-page[data-auth-page="login"] .auth-code-slot{height:54px}.auth-page[data-auth-page="login"] .auth-code-slots-visual{gap:6px}.auth-page[data-auth-page="login"] .auth-code-copy{margin-bottom:22px}}
@media(max-width:359px){.auth-page[data-auth-page="login"] .auth-code-slot{height:46px;font-size:21px}.auth-page[data-auth-page="login"] .auth-code-actions{gap:7px}.auth-page[data-auth-page="login"] .auth-code-actions .auth-text-button{font-size:11px}}
@media(prefers-reduced-motion:reduce){.auth-page[data-auth-page="login"] .auth-modes::before,.auth-page[data-auth-page="login"] .auth-button,.auth-page[data-auth-page="login"] .auth-primary > span[aria-hidden="true"],.auth-page[data-auth-page="login"] .auth-code-actions .auth-text-button,.auth-page[data-auth-page="login"] .auth-back,.auth-page[data-auth-page="login"] .auth-back svg{transition:none}.auth-page[data-auth-page="login"] .auth-back:hover,.auth-page[data-auth-page="login"] .auth-back:active,.auth-page[data-auth-page="login"] .auth-back:hover svg{transform:none}}

/* Keep the desktop account section together beneath its navbar. */
@media(min-width:721px) and (max-height:1000px){
 .auth-page[data-auth-page="account"] .auth-main{padding-top:16px;padding-bottom:16px}
 .auth-page[data-auth-page="account"] .auth-card{padding:24px 32px}
 .auth-page[data-auth-page="account"] .auth-card h1{font-size:36px;margin-bottom:12px}
 .auth-page[data-auth-page="account"] .profile-field{margin-top:12px}
 .auth-page[data-auth-page="account"] textarea{min-height:80px;height:80px}
 .auth-page[data-auth-page="account"] .profile-help{font-size:11px;line-height:1.5;margin-top:6px}
 .auth-page[data-auth-page="account"] .auth-button{min-height:44px;padding-top:10px;padding-bottom:10px}
 .auth-page[data-auth-page="account"] .account-actions{margin-top:10px}
 .auth-page[data-auth-page="account"] .auth-back{margin-top:8px}
}
