.auth-page{--auth-ink:#262225;--auth-muted:#70666e;--auth-line:#e5dfe2;--auth-accent:#752d39;min-height:100vh;background:#faf8f5;color:var(--auth-ink);font-family:Inter,Arial,sans-serif;padding:0 5vw 24px}.auth-header{max-width:1200px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:30px 0}.auth-header a{color:var(--auth-ink);font-size:14px;text-decoration:none}.auth-header img{display:block;max-width:130px;height:auto}.auth-layout{max-width:1120px;margin:32px auto 50px;display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:start}.auth-story{padding:48px 0}.auth-eyebrow{font-size:10px;letter-spacing:.15em;font-weight:700;color:var(--auth-accent);margin:0 0 20px}.auth-story h2{font-size:clamp(36px,4.2vw,58px);font-weight:500;line-height:1.08;letter-spacing:-.055em;margin:20px 0 26px}.auth-story>p:not(.auth-eyebrow){max-width:400px;line-height:1.8;font-size:15px;color:var(--auth-muted)}.auth-art{height:190px;display:flex;align-items:center;gap:12px;margin:28px 0}.auth-art span{width:105px;height:125px;border-radius:60px 60px 18px 18px;background:#ece1dc;display:grid;place-items:center;font-size:65px;color:#7b3c48;transform:rotate(-9deg)}.auth-art span:nth-child(2){background:#dce5df;color:#425b4e;transform:rotate(8deg) translateY(-12px)}.auth-art span:nth-child(3){background:#efe3cb;color:#776236;transform:rotate(-5deg)}.auth-card{background:#fff;border:1px solid var(--auth-line);border-radius:22px;padding:36px;box-shadow:0 12px 45px #40263305}.auth-card h1{font-size:32px;line-height:1.13;letter-spacing:-.045em;font-weight:500;margin:0 0 16px}.auth-description{color:var(--auth-muted);font-size:14px;line-height:1.7;margin:0 0 26px}.auth-field{display:flex;flex-direction:column;gap:9px;margin:18px 0;font-size:12px;font-weight:600}.auth-field input,.auth-field select,.auth-preview select{width:100%;min-height:46px;padding:12px 14px;border:1px solid var(--auth-line);border-radius:9px;background:#fff;color:var(--auth-ink);font:400 14px Inter,Arial,sans-serif;box-sizing:border-box}.auth-field input:focus,.auth-field select:focus{outline:2px solid #a26474;outline-offset:2px}.auth-password{position:relative;display:flex;align-items:center}.auth-password input{padding-right:62px}.auth-password button{position:absolute;right:6px;top:6px;bottom:6px;border:0;background:transparent;padding:0 9px;font-size:11px;color:var(--auth-accent);cursor:pointer}.auth-options{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:22px 0;font-size:11px}.auth-options label{display:flex;align-items:center;gap:6px;color:var(--auth-muted)}.auth-options input{accent-color:var(--auth-accent);width:15px;height:15px}.auth-card a{color:var(--auth-accent);text-underline-offset:3px}.auth-submit{min-height:48px;padding:13px 18px;display:flex;align-items:center;justify-content:center;gap:12px;width:100%;background:var(--auth-accent);border:1px solid var(--auth-accent);border-radius:9px;color:white;font:500 13px Inter,Arial,sans-serif;cursor:pointer;margin-top:22px}.auth-submit:hover{filter:brightness(1.12)}.auth-submit:focus-visible,.auth-password button:focus-visible{outline:2px solid #a26474;outline-offset:3px}.auth-submit span{font-size:20px}.auth-secondary{font-size:12px;line-height:1.9;margin-top:22px;color:var(--auth-muted)}.auth-fine{color:var(--auth-muted);font-size:11px;line-height:1.8;margin:12px 0}.auth-message{font-size:12px;line-height:1.8;border-radius:9px;padding:12px 14px;background:#f4f0ec;border:1px solid var(--auth-line)}.auth-error{color:#8e303a;background:#fff4f3;border-color:#edcece}.auth-success{background:#edf5ef;color:#335b42;border-color:#d5e5d9}.auth-footer{max-width:1120px;margin:auto;color:var(--auth-muted);font-size:10px;letter-spacing:.03em}.auth-preview{border-top:1px solid var(--auth-line);margin-top:24px;padding-top:20px;font-size:12px}.auth-account{display:flex;flex-direction:column;gap:8px;font-size:13px;padding:18px;border:1px solid var(--auth-line);border-radius:10px}.auth-verified{font-size:11px;color:#42634e}.auth-section{border-top:1px solid var(--auth-line);margin-top:28px;padding-top:20px}.auth-section h2{font-size:19px;font-weight:500;letter-spacing:-.02em}.auth-sessions{list-style:none;margin:16px 0;padding:0}.auth-sessions li{display:flex;flex-direction:column;gap:6px;border:1px solid var(--auth-line);padding:14px;border-radius:9px;margin:10px 0;font-size:11px;color:var(--auth-muted)}.auth-sessions strong{color:var(--auth-ink);font-size:12px}.auth-outline{background:white;color:var(--auth-accent)}@media(max-width:850px){.auth-layout{gap:32px;grid-template-columns:1fr;max-width:520px;margin-top:12px}.auth-story{display:none}.auth-card{padding:28px}.auth-header{padding:24px 0}.auth-header a{font-size:12px}.auth-footer{text-align:center}.auth-page{padding:0 5vw 28px}}@media(prefers-reduced-motion:reduce){.auth-page *{scroll-behavior:auto!important}}:root[data-theme=dark] .auth-page{--auth-ink:#f0e9e8;--auth-muted:#b6a8ac;--auth-line:#4d3e46;--auth-accent:#edb3bf;background:#231c21}:root[data-theme=dark] .auth-card,:root[data-theme=dark] .auth-field input,:root[data-theme=dark] .auth-field select,:root[data-theme=dark] .auth-preview select{background:#2f252c}:root[data-theme=dark] .auth-submit{color:#281a21}:root[data-theme=dark] .auth-outline{background:transparent;color:var(--auth-accent)}

.auth-form[aria-busy=true] .auth-submit{opacity:.65;pointer-events:none;cursor:wait}.auth-form[aria-busy=true] .auth-submit:after{content:'…'}

/* Match the role-selection screen's colors, rounded controls, and circular brand. */
.auth-page{--auth-ink:#1a2d32;--auth-muted:#597b83;--auth-line:#d5e7eb;--auth-accent:#165b69;background-color:#f4fafb;background-image:var(--cu-tile-image);background-size:72px 72px}
.auth-header .auth-logo{width:64px;height:64px;max-width:none;object-fit:contain;padding:5px;box-sizing:border-box;border-radius:50%;background:#082b3a;border:1px solid #b9e7ec80;box-shadow:0 0 0 4px #b9e7ec12,0 6px 18px #062e3b30}
.auth-header-actions{display:flex;align-items:center;gap:20px}.auth-theme-toggle{width:40px;height:40px;border-radius:50%;border:1px solid var(--auth-line);background:var(--auth-surface,#fff);color:var(--auth-ink);font-size:20px;cursor:pointer}
.auth-story{position:relative;overflow:hidden;padding:48px;border-radius:40px;color:#fff;background:linear-gradient(115deg,#13525f,#236775,#1e7d90)}
.auth-story:before{content:'';position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(#ffffff12 1px,transparent 1px),linear-gradient(90deg,#ffffff12 1px,transparent 1px);background-size:40px 40px}
.auth-story>*{position:relative}.auth-story .auth-eyebrow,.auth-story>p:not(.auth-eyebrow){color:#dcf4f8}.auth-story h2{font-weight:600}.auth-card{border-radius:30px;box-shadow:0 12px 40px #0a5b7110}.auth-field input,.auth-field select,.auth-preview select{border-radius:14px}.auth-submit{border-radius:999px;font-weight:650}.auth-field input:focus,.auth-field select:focus,.auth-theme-toggle:focus-visible,.auth-submit:focus-visible,.auth-password button:focus-visible{outline:3px solid var(--auth-accent);outline-offset:3px}
:root[data-theme=dark] .auth-page{--auth-ink:#f6edf1;--auth-muted:#c9b5bf;--auth-line:#4c303b;--auth-accent:#bd2842;--auth-surface:#241c23;background-color:#191419}
:root[data-theme=dark] .auth-story{background:linear-gradient(115deg,#941c2b,#bc2d40,#e46e5b)}
:root[data-theme=dark] .auth-story .auth-eyebrow,:root[data-theme=dark] .auth-story>p:not(.auth-eyebrow){color:#ffe9ed}
:root[data-theme=dark] .auth-card,:root[data-theme=dark] .auth-field input,:root[data-theme=dark] .auth-field select,:root[data-theme=dark] .auth-preview select{background:#241c23}
:root[data-theme=dark] .auth-submit{color:#fff}:root[data-theme=dark] .auth-logo{border-color:#e8a4af80;box-shadow:0 0 0 4px #e8a4af12,0 6px 18px #170c1738}
:root[data-theme=dark] .auth-field input:focus,:root[data-theme=dark] .auth-field select:focus,:root[data-theme=dark] .auth-theme-toggle:focus-visible,:root[data-theme=dark] .auth-submit:focus-visible,:root[data-theme=dark] .auth-password button:focus-visible{outline-color:#f0aabd}

/* Decorative shapes float gently. */
.auth-art span{--art-angle:-9deg;--art-offset:0px;animation:auth-art-float 6s ease-in-out infinite alternate;transition:transform .35s ease;will-change:transform}
.auth-art span:nth-child(2){--art-angle:8deg;--art-offset:-12px;animation-duration:7s;animation-delay:-2s}
.auth-art span:nth-child(3){--art-angle:-5deg;--art-offset:0px;animation-duration:6.5s;animation-delay:-4s}
@keyframes auth-art-float{from{transform:rotate(var(--art-angle)) translateY(var(--art-offset))}to{transform:rotate(var(--art-angle)) translateY(calc(var(--art-offset) - 10px))}}
@media(prefers-reduced-motion:reduce){.auth-art span{animation:none!important;transition:none!important}}
