/* A full page, single-surface account experience. */
body.auth-locked {background:#f4f7fc;min-height:100svh;overflow:auto!important}
body.auth-locked .app-shell,body.auth-locked .mobile-nav,body.auth-locked #modal-backdrop,body.auth-locked #toast {display:none!important}
.auth-screen {min-height:100svh;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:48px 24px 24px;background:radial-gradient(ellipse at 15% 0%,#e9f1ff 0,transparent 65%),#f4f7fc}
.auth-layout {display:grid;grid-template-columns:1fr 1fr;width:100%;max-width:980px;background:#fff;border:1px solid #e5eaf3;border-radius:28px;overflow:hidden;box-shadow:0 20px 70px #17396c0b;min-height:580px}
.auth-brand {position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:52px;background:linear-gradient(155deg,#eef5ff,#e5f0ff 65%,#ddebff);padding:40px;overflow:hidden}
.auth-brand:after {content:'';width:310px;height:310px;border:1px solid #c5dcff;border-radius:50%;position:absolute;bottom:-190px;right:-90px;pointer-events:none}
.auth-brand-logo {display:block;max-width:218px}
.auth-brand-logo img {width:100%;height:auto;display:block}
.auth-eyebrow {color:#5278ba;font-size:10px;font-weight:800;letter-spacing:1.7px;line-height:1.7}
.auth-brand-story h2 {font-size:49px;line-height:1.1;letter-spacing:-2px;color:#032562;margin:18px 0}
.auth-brand-story h2 span,.auth-panel h1 span {color:#1e78ff}
.auth-brand-story p {color:#677f9f;font-size:14px;line-height:1.8;max-width:270px;margin:0}
.auth-brand-footer {color:#607b9d;font-size:11px;display:flex;align-items:center;gap:8px}
.auth-brand-dot {background:#1e78ff;width:6px;height:6px;border-radius:50%}
.auth-panel {display:flex;flex-direction:column;justify-content:center;min-width:0;padding:48px 42px}
.auth-panel h1 {font-size:30px;color:#032562;letter-spacing:-1px;line-height:1.2;margin:0 0 16px;outline:none}
.auth-panel .auth-eyebrow {margin-bottom:18px}
.auth-description {color:#718198;font-size:14px;line-height:1.8;margin:0 0 28px;overflow-wrap:anywhere}
.auth-description strong {color:#3b5678;font-weight:600}
.auth-fields {display:grid;gap:14px;margin:0}
.auth-fields label {display:block;font-size:12px;font-weight:700;color:#415671;margin:0 0 8px}
.auth-fields>label {margin:0 0 -6px}
.auth-fields input {width:100%;min-width:0;min-height:50px;border:1px solid #dae3ef;border-radius:10px;background:#fbfcff;color:#233b5a;outline:none;padding:13px 14px;font-size:16px;font-weight:500;transition:border-color .15s,box-shadow .15s}
.auth-fields input:focus {border-color:#689bf0;box-shadow:0 0 0 3px #1e78ff15}
.auth-fields .password-field input {padding-right:52px}
.auth-fields .password-toggle {height:40px;width:40px;right:5px}
.auth-fields .password-toggle svg {width:20px;height:20px}
.auth-primary {display:flex;align-items:center;justify-content:center;gap:14px;min-height:50px;width:100%;padding:13px 18px;border:0;border-radius:10px;color:#fff;background:#1e78ff;font-size:14px;font-weight:700;box-shadow:0 4px 10px #1e78ff18}
.auth-primary:hover:not(:disabled) {background:#1263d8}
.auth-primary:focus-visible,.auth-link:focus-visible,.auth-back:focus-visible {outline:3px solid #b4d0ff;outline-offset:3px}
.auth-primary:disabled {opacity:.65;cursor:wait}
.auth-fields .auth-primary {margin-top:6px}
.auth-link {border:0;background:transparent;color:#2169cf;text-align:right;font-size:12px;font-weight:700;padding:5px 0;min-height:28px}
.auth-back {background:transparent;border:0;color:#6a809e;font-size:12px;padding:4px 0;margin:-12px 0 28px;align-self:flex-start;min-height:30px}
.auth-primary + .auth-back {display:inline-flex;align-items:center;justify-content:center;align-self:center;min-height:44px;padding:8px 12px;margin:16px 0 0;color:#2169cf;font-weight:600;text-align:center}
.auth-primary + .auth-back:hover {text-decoration:underline;text-underline-offset:3px}
.auth-note {font-size:11px;line-height:1.8;color:#8c9db3;margin:20px 0 0}
.auth-secondary {text-align:center;margin-top:16px;align-self:center}
.auth-page-footer {text-align:center;color:#8f9fb6;font-size:10px;margin-top:26px;letter-spacing:.3px}
.auth-message {font-size:12px;line-height:1.7;padding:12px 14px;border-radius:9px;margin:0;overflow-wrap:anywhere}
.auth-message.error {color:#a04841;background:#fff4f1;border:1px solid #f3dcd5}
.auth-status-icon {width:46px;height:46px;display:grid;place-items:center;background:#edf4ff;color:#1e78ff;border-radius:12px;font-size:25px;margin-bottom:20px}
.auth-status-icon.success {background:#eaf7ef;color:#23865a}
.auth-panel .password-rules {font-size:11px;padding:13px 14px}
.auth-panel .password-rules ul {display:grid;grid-template-columns:1fr;gap:5px}
.auth-panel .password-rules li:before {content:'○';color:#94a9c4;margin-right:5px}
.auth-panel .password-rules li.valid:before {content:'✓';color:#24785e}
.auth-google-option[hidden] {display:none}
.auth-divider {display:flex;align-items:center;gap:12px;margin:20px 0;color:#8190a6;font-size:12px}
.auth-divider:before,.auth-divider:after {content:'';height:1px;background:#e4eaf2;flex:1}
.auth-google {display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:50px;padding:12px 16px;border:1px solid #cbd5e3;border-radius:10px;background:#fff;color:#243b56;font:600 14px/1.5 system-ui,sans-serif;cursor:pointer}
.auth-google svg {width:20px;height:20px;flex:none}
.auth-google:hover:not(:disabled) {background:#f7faff;border-color:#92afd6}
.auth-google:focus-visible {outline:3px solid #b4d0ff;outline-offset:3px}
.auth-google:disabled {opacity:.65;cursor:wait}
.auth-google-option .auth-note {margin:10px 0 0;text-align:center}
@media(max-width:700px){
  .auth-screen {padding:24px 16px;justify-content:flex-start}
  .auth-layout {grid-template-columns:1fr;max-width:460px;min-height:0;border-radius:22px}
  .auth-brand {padding:26px 28px;gap:26px}
  .auth-brand-logo {max-width:185px}
  .auth-brand-story h2 {font-size:36px;margin:12px 0;letter-spacing:-1.3px}
  .auth-brand-story h2 br {display:none}
  .auth-brand-story p {font-size:12px;max-width:100%}
  .auth-brand-footer {display:none}
  .auth-panel {padding:32px 28px}
  .auth-panel h1 {font-size:27px}
  .auth-description {font-size:13px;margin-bottom:24px}
  .auth-screen:not([data-view="welcome"]) .auth-brand {padding:24px 28px;gap:0}
  .auth-screen:not([data-view="welcome"]) .auth-brand-story {display:none}
}
@media(max-width:360px){.auth-screen{padding:12px}.auth-brand{padding:24px}.auth-panel{padding:28px 22px}.auth-panel h1{font-size:25px}.auth-brand-story h2{font-size:32px}}
