/* Email-first account access. Shared identity and transport stay in the runtime. */
body[data-page=login]{background:#f8f8f8!important;color:#202020!important;min-height:100dvh}
body[data-page=login]::before{display:none!important}
body[data-page=login] #main:has(.auth-view){box-sizing:border-box;width:min(362px,calc(100% - 40px));max-width:362px;margin:clamp(62px,13.5vh,120px) auto 80px;padding:0;min-height:0;background:transparent!important}
body[data-page=login] #mini-root:has(.auth-view){height:auto!important;min-height:0;overflow:visible!important;background:transparent!important}
body[data-page=login] #mini-root .auth-view{box-sizing:border-box;width:100%;margin:0;padding:22px 20px 20px;border:1px solid #dedddb!important;border-radius:22px;background:rgba(255,255,255,.86)!important;color:#202020!important;box-shadow:none!important;backdrop-filter:blur(18px)}
body[data-page=login] .auth-view [hidden]{display:none!important}
body[data-page=login] .auth-view .auth-brand{display:block;margin:0 0 8px}
body[data-page=login] .auth-view .auth-logo{display:block;width:64px;height:64px;object-fit:cover;border-radius:50%;margin:0 0 18px}
body[data-page=login] .auth-view h1{margin:0!important;color:#202020!important;font-size:22px!important;font-weight:650;line-height:1.4!important;letter-spacing:-.6px}
body[data-page=login] .auth-view .auth-subtitle{margin:0 0 24px!important;color:#747474!important;font-size:14px!important;line-height:1.6!important}
body[data-page=login] .auth-view .auth-tabs{display:flex;align-items:center;justify-content:space-between;gap:16px;border:0;margin:0 0 10px}
body[data-page=login] .auth-view .auth-tab{display:block;width:auto!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;color:#777!important;font-size:13px!important;font-weight:500;line-height:1.5!important;box-shadow:none!important}
body[data-page=login] .auth-view .auth-tab[aria-selected=true]{color:#202020!important;font-weight:650;font-size:14px!important;order:-1}
body[data-page=login] .auth-view .auth-tab:after{display:none!important}
body[data-page=login] .auth-view .auth-panel{margin:0!important;padding:0!important}
body[data-page=login] .auth-view .auth-label{display:block!important;margin:16px 0 8px!important;color:#333!important;font-size:14px!important;font-weight:550!important;line-height:1.4!important}
body[data-page=login] .auth-email-entry>.auth-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body[data-page=login] .auth-view .auth-panel>.auth-label:first-child{margin-top:0!important}
body[data-page=login] .auth-view .auth-input{display:block;width:100%;height:42px;margin:0!important;padding:9px 13px!important;box-sizing:border-box;border:1px solid #d8d8d8!important;border-radius:9px!important;background:rgba(255,255,255,.9)!important;color:#222!important;font:400 16px/1.4 -apple-system,BlinkMacSystemFont,'PingFang SC',sans-serif!important;letter-spacing:normal;box-shadow:none!important;outline:none}
body[data-page=login] .auth-view .auth-input::placeholder{color:#a0a0a0!important;font-size:15px!important;letter-spacing:normal;opacity:1}
body[data-page=login] .auth-view .auth-input:focus{border-color:#242424!important;box-shadow:0 0 0 1px #242424!important}
body[data-page=login] .auth-view .auth-code-row,body[data-page=login] .auth-view .auth-password-row{display:flex;position:relative;align-items:center;gap:9px}
body[data-page=login] .auth-view .auth-code-row .auth-input,body[data-page=login] .auth-view .auth-password-row .auth-input{flex:1;min-width:0}
body[data-page=login] .auth-view .auth-send,body[data-page=login] .auth-view .auth-paste{width:auto!important;min-height:36px;margin:0!important;padding:8px 10px!important;border:0!important;border-radius:9px!important;background:#f3f2f1!important;color:#666!important;font-size:12px!important;font-weight:500;line-height:1.4!important;white-space:nowrap;box-shadow:none!important}
body[data-page=login] .auth-view .auth-primary{display:flex;align-items:center;justify-content:center;width:100%!important;min-height:40px;margin:16px 0 0!important;padding:10px 16px!important;border:0!important;border-radius:10px!important;background:#303030!important;color:#fff!important;font-size:15px!important;font-weight:650;line-height:1.4!important;box-shadow:none!important}
body[data-page=login] .auth-view .auth-primary:hover{background:#171717!important}
body[data-page=login] .auth-view button:disabled{opacity:.48;cursor:not-allowed}
body[data-page=login] .auth-view .auth-text-action{display:block;width:auto!important;margin:14px 0 0!important;padding:2px 0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#666!important;font-size:12px!important;line-height:1.5!important;text-align:left;box-shadow:none!important}
body[data-page=login] .auth-view .auth-step-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
body[data-page=login] .auth-view .auth-step-heading h2{margin:0!important;color:#222!important;font-size:16px!important;font-weight:650;line-height:1.5!important}
body[data-page=login] .auth-view .auth-step-heading .auth-text-action{margin:0!important;white-space:nowrap}
body[data-page=login] .auth-view .auth-hint,body[data-page=login] .auth-view .auth-field-hint{margin:0 0 16px!important;color:#737373!important;font-size:12px!important;line-height:1.7!important}
body[data-page=login] .auth-view .auth-field-hint{margin:7px 0 0!important}
body[data-page=login] .auth-view .auth-consent{display:flex!important;align-items:flex-start;gap:7px;margin:15px 0 0!important;color:#777!important;font-size:11px!important;font-weight:400!important;line-height:1.7!important}
body[data-page=login] .auth-view .auth-consent[hidden]{display:none!important}
body[data-page=login] .auth-view .auth-consent input{flex:none;width:14px!important;height:14px;margin:2px 0 0!important;padding:0!important;accent-color:#303030}
body[data-page=login] .auth-view .auth-consent a{color:#555!important;text-decoration:underline;text-underline-offset:2px}
body[data-page=login] .auth-view .auth-message{margin:14px 0 0!important;padding:9px 10px;border-radius:9px;background:#eef4f0;color:#426451!important;font-size:12px!important;line-height:1.6!important;overflow-wrap:anywhere}
body[data-page=login] .auth-view .auth-message[data-error=true]{background:#fcf0ed;color:#a74431!important}
body[data-page=login] .auth-view .auth-browse{display:block;width:calc(100% + 40px)!important;margin:20px -20px -20px!important;padding:16px 20px!important;border:0!important;border-top:1px solid #e8e5e3!important;border-radius:0 0 22px 22px!important;background:transparent!important;color:#737373!important;font-size:13px!important;line-height:1.5!important;text-align:center;box-shadow:none!important}
body[data-page=login] .auth-view button:focus-visible,body[data-page=login] .auth-view a:focus-visible{outline:2px solid #333;outline-offset:4px}
body[data-page=login] .auth-view .auth-password-row .auth-input{padding-right:48px!important}
body[data-page=login] .auth-view .auth-reveal{position:absolute;right:1px;top:1px;display:flex;align-items:center;justify-content:center;width:42px!important;height:40px;margin:0!important;padding:0!important;border:0!important;border-radius:8px;background:transparent!important;color:#777!important}
body[data-page=login] .auth-view .auth-reveal:hover{color:#222!important;background:#f5f5f5!important}
body[data-page=login] .auth-view .auth-reveal svg{display:block;width:20px;height:20px;pointer-events:none}
body[data-page=login] .auth-view .auth-back{display:flex;align-items:center;justify-content:center;width:30px!important;height:30px;margin:0 0 24px;padding:7px;border:0;border-radius:50%;background:#f3f3f3;cursor:pointer}
body[data-page=login] .auth-view .auth-back img{width:16px;height:16px}
body[data-page=login] .auth-view .auth-otp-description{margin:8px 0 20px!important;font-size:14px!important;line-height:1.6!important;color:#757575!important;overflow-wrap:anywhere}
body[data-page=login] .auth-view .auth-sent-address{color:#292929;font-weight:500}
body[data-page=login] .auth-view .auth-otp-fields{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
body[data-page=login] .auth-view .auth-otp-digit{box-sizing:border-box;display:block;min-width:0;width:100%;height:46px;border:1px solid #dedede;border-radius:9px;background:#fff;text-align:center;font-size:23px;color:#222;outline:none;caret-color:#333}
body[data-page=login] .auth-view .auth-otp-digit:focus{border:1px solid #222;box-shadow:0 0 0 1px #222}
body[data-page=login] .auth-view .auth-otp-actions{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:20px 0 4px}
body[data-page=login] .auth-view .auth-otp-actions .auth-send{padding:6px 0!important;background:transparent!important;font-size:11px!important}
@media(max-width:767px){
 body[data-page=login] .web-header{display:flex!important;height:62px!important;padding:0 20px!important;background:transparent!important}
 body[data-page=login] .web-header .desktop-nav,body[data-page=login] .web-header .header-clock,body[data-page=login] .web-header .icon-button,body[data-page=login] .web-header .create-link{display:none!important}
 body[data-page=login] #main:has(.auth-view){width:min(362px,calc(100% - 32px));max-width:362px;margin:clamp(32px,9vh,80px) auto 50px;min-height:0;padding:0}
 body[data-page=login] #mini-root:has(.auth-view){width:100%;min-height:0;background:transparent!important}
 body[data-page=login] #mini-root .auth-view{padding:22px 20px 20px}
 body[data-page=login] .auth-view .auth-otp-fields{gap:7px}
}

body[data-page=login] .auth-view #auth-password::placeholder{color:transparent!important}
body[data-page=login] .auth-view .auth-password-hint{
 display:none;position:absolute;inset-inline:14px 46px;top:50%;transform:translateY(-50%);
 pointer-events:none;color:#757575;font-size:13px;line-height:1.25;overflow-wrap:anywhere;
}
body[data-page=login] .auth-view #auth-password:placeholder-shown+.auth-password-hint{display:block}
