/* Sidewave account surface: original type and proportions, Deep Water palette. */
:root{
  --ink:#0A1B36;--deep:#061A3A;--cobalt:#1F4FE0;--paper:#F6F8FA;
  --muted:#5B6B82;--line:#D9E3EF;--spray:#7CC4FF;
  --font:"Helvetica Neue",Arial,"PingFang SC","Hiragino Sans GB","Microsoft YaHei",sans-serif;
  --arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h10M9 4l4 4-4 4'/%3E%3C/svg%3E");
  font-family:var(--font);font-synthesis:none;color:var(--ink);-webkit-font-smoothing:antialiased;
}
*{box-sizing:border-box}
body{margin:0;background:#fff;font-size:14px;line-height:1.6}
button,input{font:inherit}
button,a,input{touch-action:manipulation}
a{color:inherit;text-decoration:none}
a:hover{color:var(--cobalt)}
button{cursor:pointer}
button:disabled{opacity:.6;cursor:wait}
[hidden]{display:none!important}
:focus-visible{outline:3px solid var(--spray);outline-offset:3px}
::selection{background:#D6EEFF;color:var(--ink)}
.skip{position:fixed;left:20px;top:-80px;z-index:20;padding:12px 20px;border-radius:6px;background:var(--ink);color:#fff}
.skip:focus{top:12px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
header{width:min(1224px,calc(100% - 112px));margin:auto;min-height:94px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand img{display:block;width:144px;height:auto}
header nav{display:flex;align-items:center;gap:24px;font-size:12px;color:var(--muted)}
header nav a{display:inline-flex;align-items:center;min-height:40px}
#auth-language{padding:0 8px}
.home::before{content:"←";margin-right:8px;font-size:15px}
main{width:min(1120px,calc(100% - 112px));margin:22px auto 64px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:80px;align-items:start}
.auth-panel{width:100%;max-width:380px;justify-self:center;padding:20px 0}
.eyebrow{font-size:10px;line-height:1.5;font-weight:600;letter-spacing:1px;color:var(--muted);margin:0 0 12px}
.auth-panel h1{font-size:32px;font-weight:500;line-height:1.15;letter-spacing:-1px;margin:0 0 28px}
.lead{font-size:13px;line-height:1.65;color:var(--muted);margin:-14px 0 24px}
fieldset{border:0;padding:0;margin:0;min-width:0}
.auth-panel label{display:block;position:relative;font-size:12px;font-weight:500;margin-bottom:17px}
.label-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.label-row small{font-size:11px;font-weight:400;color:var(--muted)}
input:not([type=checkbox]){display:block;width:100%;height:46px;margin-top:7px;padding:0 13px;border:1px solid #CCD6DF;border-radius:6px;background:#fff;color:var(--ink);font-size:14px;transition:border-color .15s,box-shadow .15s}
input:not([type=checkbox]):hover{border-color:#ACBDCE}
input:not([type=checkbox]):focus{outline:none;border-color:var(--cobalt);box-shadow:0 0 0 3px #1F4FE010}
input::placeholder{color:#66768C;font-size:13px}
fieldset:disabled input{background:var(--paper)}
.password-field{display:block;position:relative}
.password-field input{padding-right:62px}
.password-field button{position:absolute;right:3px;top:3px;width:52px;height:40px;padding:0;border:0;border-radius:4px;background:none;color:var(--muted);font-size:11px}
.password-field button:hover{background:var(--paper);color:var(--ink)}
.auth-panel .consent{display:flex;align-items:flex-start;gap:10px;font-size:12px!important;line-height:1.65;font-weight:400!important;margin:0 0 20px!important}
.consent input{flex:0 0 auto;width:16px;height:16px;margin:2px 0 0;accent-color:var(--cobalt)}
.consent a,.forgot a{color:var(--cobalt);text-underline-offset:3px}
.consent a:hover,.forgot a:hover{text-decoration:underline}
.forgot{font-size:12px;text-align:right;margin:-7px 0 18px}
.forgot a{display:inline-block;padding:3px 0}
.primary{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;padding:0 7px 0 21px;border:1px solid var(--cobalt);border-radius:999px;background:var(--cobalt);color:#fff;font-size:13px;font-weight:500;transition:background .15s,border-color .15s}
.primary:hover{background:#173FB8;border-color:#173FB8;color:#fff}
.primary>span{display:block;flex:0 0 auto;position:relative;width:32px;height:32px;border-radius:50%;background:#FFFFFF1F;font-size:0}
.primary>span::before{content:"";position:absolute;inset:0;margin:auto;width:15px;height:15px;background:currentColor;-webkit-mask:var(--arrow) center/contain no-repeat;mask:var(--arrow) center/contain no-repeat}
.auth-tabs{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:9px;font-size:12px;color:var(--muted)}
.auth-tabs button{min-height:40px;padding:0 4px;border:0;background:none;color:var(--cobalt);font-size:12px;font-weight:500}
.auth-tabs button:hover{text-decoration:underline;text-underline-offset:3px}
.auth-tabs button.active{display:none}
.account-foot{font-size:11px;line-height:1.6;color:var(--muted);text-align:center;margin:12px 0 0}
.account-foot a{display:inline-block;min-height:40px;padding:10px 4px}
.error{background:#FFF4F0;border-left:2px solid #BE583E;border-radius:0;color:#823F2D;padding:12px 14px;font-size:12px;line-height:1.6;margin:0 0 17px}
.inline-switch{padding:0;border:0;background:none;color:var(--cobalt);font:inherit;text-decoration:underline;text-underline-offset:3px}
.info-note{padding:16px 18px;background:#EDF3FF;border-left:2px solid var(--cobalt);font-size:13px;line-height:1.65;margin:0 0 22px}
.quiet-link{display:block;text-align:center;font-size:12px;color:var(--muted);padding:16px}
.brand-panel{position:sticky;top:24px;display:flex;min-height:560px;overflow:hidden;isolation:isolate;border-radius:12px;padding:43px 40px;background:var(--deep);color:#fff}
.auth-ocean{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:69% center;opacity:.9}
.brand-panel::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#061A3ADE 0%,#061A3A42 48%,#061A3AC7 100%)}
.brand-panel h2{font-size:42px;line-height:1.12;font-weight:400;letter-spacing:-1.4px;margin:8px 0 0}
.email-field input{padding-right:40px}
.email-field.valid::after{content:"✓";position:absolute;right:14px;bottom:11px;color:var(--cobalt);font-size:16px;pointer-events:none}
@media(min-width:1500px){main{margin-top:38px}}
@media(max-width:1050px){header,main{width:calc(100% - 64px)}main{gap:44px}.brand-panel{padding:36px 28px}.brand-panel h2{font-size:38px}}
@media(max-width:760px){header{width:calc(100% - 48px);min-height:84px}.brand img{width:132px}header nav{gap:12px;font-size:11px}#auth-language{padding:0 4px}.home::before{margin-right:5px}main{display:block;width:calc(100% - 48px);margin:10px auto 40px}.auth-panel{max-width:400px;margin:auto;padding:16px 0}.auth-panel h1{font-size:28px;letter-spacing:-.7px;margin-bottom:26px}.brand-panel{display:none}input:not([type=checkbox]){font-size:16px}.consent{font-size:12px!important}}
@media(max-width:380px){header,main{width:calc(100% - 36px)}.brand img{width:120px}header nav{gap:8px}.home{font-size:10px}.home::before{display:none}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* 2026-10-22 · the form starts on the same edge as the logo. */
@media(min-width:761px){main{width:min(1224px,calc(100% - 112px))}.auth-panel{justify-self:start}}
@media(min-width:761px) and (max-width:1050px){main{width:calc(100% - 64px)}}

/* Identity login uses the same quiet borders and original brand palette. */
.provider-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:46px;border:1px solid #747775;border-radius:999px;background:#fff;color:#1f1f1f;font-size:14px;font-weight:500}
.provider-button:hover{background:#F8FAFD}.provider-button img{display:block;flex:0 0 20px;object-fit:contain}
.method-divider{display:flex;align-items:center;gap:14px;margin:22px 0;color:var(--muted);font-size:12px}.method-divider::before,.method-divider::after{content:"";height:1px;background:var(--line);flex:1}
.phone-input{display:flex;align-items:center;margin-top:7px;border:1px solid #CCD6DF;border-radius:6px}.phone-input>span{padding:0 12px;border-right:1px solid var(--line);font-size:14px}.phone-input input{border:0!important;margin:0!important;min-width:0}.phone-input:focus-within{border-color:var(--cobalt)}
button.quiet-link{width:100%;border:0;background:none;min-height:44px;padding:12px;color:var(--cobalt)}
.identity-label{font-size:13px;color:var(--muted);overflow-wrap:anywhere;margin:0 0 20px}
#login-methods+.auth-tabs{margin-top:0}#phone-resend{padding:6px}#phone-note{margin:3px 0 0}#sms-status{margin:-8px 0 16px;text-align:left}#account-form:not([hidden]){margin-top:12px}
