/* Shared graphite glass for login, owner setup and account security. Local assets only. */
:root{color-scheme:dark;--auth-bg:#101316;--auth-panel:rgba(37,42,46,.76);--auth-field:rgba(14,18,21,.72);--auth-line:rgba(229,239,237,.16);--auth-text:#f2f4f3;--auth-muted:#adb6b5;--auth-amber:#efbc7f;--auth-green:#96d8ba;--auth-danger:#ffb8ac;--auth-radius:24px;font-family:Inter,"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;color:var(--auth-text);background:var(--auth-bg);line-height:1.5;font-synthesis:none}
*{box-sizing:border-box}html{min-height:100%}body{margin:0;min-height:100svh;padding:40px 24px max(32px,env(safe-area-inset-bottom));background:radial-gradient(ellipse at 15% 10%,#343c3d75,transparent 48%),radial-gradient(ellipse at 90% 80%,#253a3548,transparent 50%),#101316;isolation:isolate}body:before{content:"";position:fixed;inset:0;z-index:-2;background:linear-gradient(135deg,transparent 35%,#ffffff03 35.1%,transparent 35.3%,transparent 61%,#ffffff03 61.1%,transparent 61.3%);pointer-events:none}button,input,a{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait}button,input{font:inherit}input,button,a{outline-offset:4px}button:focus-visible,a:focus-visible{outline:2px solid var(--auth-amber)}[hidden]{display:none!important}
.auth-scenery{position:fixed;inset:0;overflow:hidden;z-index:-1;pointer-events:none}.auth-scenery>i{position:absolute;display:block;width:500px;height:670px;left:calc(50% - 650px);top:calc(50% - 300px);border:1px solid #b4c6be15;border-radius:48px;background:linear-gradient(130deg,#4e595855,#191e22b3);transform:rotate(-28deg);box-shadow:32px 35px 90px #0008;filter:blur(2px)}.auth-scenery>i:nth-child(2){left:calc(50% + 220px);top:calc(50% - 440px);height:780px;width:440px;transform:rotate(29deg);background:linear-gradient(130deg,#333b3a99,#12171999);filter:blur(4px)}.auth-scenery>i:nth-child(3){left:calc(50% - 560px);top:calc(50% + 230px);width:1100px;height:150px;transform:rotate(-22deg);border-radius:45px;background:linear-gradient(180deg,#414b4555,#1e252466);filter:blur(7px)}.auth-orbit{position:absolute;left:calc(50% - 490px);top:calc(50% - 400px);width:980px;height:800px;filter:blur(70px);background:radial-gradient(ellipse at 20% 30%,#b7c2aa10,transparent 55%),radial-gradient(ellipse at 80% 90%,#6cbf9a0d,transparent 50%)}
.card{position:relative;width:100%;max-width:510px;margin:18px auto;padding:38px 42px 27px;border:1px solid var(--auth-line);border-radius:30px;background:linear-gradient(140deg,#67716b13,transparent 46%),var(--auth-panel);box-shadow:inset 0 1px 0 #ffffff0d,0 32px 100px #0006,0 2px 12px #0004;backdrop-filter:blur(28px);-webkit-backdrop-filter:blur(28px)}.card:not(.auth-card){margin-top:40px}.glass-handle{width:36px;height:4px;border-radius:10px;background:#d9e2dc33;margin:-20px auto 23px}header{text-align:center}header strong{display:block;font-size:21px;font-weight:650;letter-spacing:-.5px;line-height:1.3}header>span{display:block;margin-top:6px;font-size:9px;letter-spacing:2px;font-weight:600;color:var(--auth-muted)}.brand-symbol{display:grid;grid-template-columns:repeat(2,9px);gap:3px;transform:rotate(-8deg);justify-content:center;margin:0 auto 13px;width:24px}.brand-symbol i{display:block;width:9px;height:9px;border:1px solid #d0e2d6aa;border-radius:2.5px;background:#d7e9de17}.brand-symbol i:nth-child(2){background:#c7daca5c}.brand-symbol i:last-child{background:#c7daca85}
.lock{width:52px;height:52px;border:1px solid #d1e1d21c;border-radius:18px;background:linear-gradient(140deg,#e3efdb0d,#11171475);color:#d0ddd2;display:grid;place-items:center;margin:29px auto 22px;box-shadow:inset 0 1px #ffffff0b,0 8px 24px #0002}.lock span{width:22px;height:18px;border:1.5px solid currentColor;border-radius:5px;position:relative;margin-top:6px}.lock span:before{content:"";position:absolute;left:3px;top:-13px;width:12px;height:13px;border:1.5px solid currentColor;border-bottom:0;border-radius:9px 9px 0 0}.lock span:after{content:"";position:absolute;left:9px;top:5px;width:2px;height:6px;border-radius:4px;background:currentColor}h1{font-size:29px;font-weight:600;line-height:1.22;letter-spacing:-.9px;margin:0 0 12px;text-align:center}h2{font-size:22px;font-weight:600;letter-spacing:-.5px}.intro{color:var(--auth-muted);font-size:14px;line-height:1.7;max-width:360px;text-align:center;margin:0 auto 27px}.steps{display:flex;gap:6px;max-width:76px;margin:auto}.steps i{height:3px;background:#ffffff18;flex:1;border-radius:8px}.steps i:first-child,.steps i.active{background:#c5d6c5}.step{font-size:10px;letter-spacing:1.4px;color:#c5cec9;font-weight:600;text-align:center;margin:13px 0 24px}.step span{color:var(--auth-muted);margin-left:8px}
label{display:block;font-weight:550;font-size:13px;color:#e0e6e2;margin:19px 0 9px}input{width:100%;min-height:54px;border:1px solid #d1e0d51f;border-radius:16px;padding:14px 16px;background:var(--auth-field);color:var(--auth-text);box-shadow:inset 0 1px 4px #0002;transition:border-color .18s,box-shadow .18s}input::placeholder{color:#89938f;opacity:1}input:hover{border-color:#d1e0d53d}input:focus{outline:0;border-color:#dcba83a8;box-shadow:0 0 0 3px #e7be7c12,inset 0 1px 3px #0002}input:-webkit-autofill{-webkit-text-fill-color:var(--auth-text);box-shadow:0 0 0 100px #1c2425 inset;caret-color:var(--auth-text)}.password{position:relative}.password input{padding-right:55px}.password button{position:absolute;right:6px;top:5px;background:none;border:0;border-radius:12px;width:44px;height:44px;color:#abb6af;display:grid;place-items:center}.password button:hover{color:#fff;background:#ffffff07}.password svg{width:21px;height:21px;stroke:currentColor;stroke-width:1.4}
.primary{display:flex;justify-content:center;align-items:center;gap:12px;width:100%;margin:26px 0 0;padding:15px 22px;border:1px solid #e6eddf40;border-radius:17px;background:linear-gradient(125deg,#dfebd5,#b8cdb8);color:#19231e;min-height:55px;font-size:14px;font-weight:650;box-shadow:inset 0 1px #ffffff70,0 6px 20px #0002;transition:filter .2s,transform .2s}.primary svg{width:19px;height:19px;stroke:currentColor;stroke-width:1.7}.primary:hover{filter:brightness(1.06);transform:translateY(-1px)}.primary:active{transform:translateY(0)}.primary:disabled{opacity:.62;transform:none}.secondary{display:flex;justify-content:center;align-items:center;text-align:center;min-height:44px;padding:9px 12px;margin:8px auto 0;color:#c5d1c9;background:transparent;border:1px solid transparent;border-radius:12px;font:inherit;font-size:13px;text-decoration:none}.secondary:hover{background:#ffffff06;color:#fff}.secondary:disabled{opacity:.5}.help,footer{font-size:12px;color:var(--auth-muted);line-height:1.65}.remember{display:flex;gap:10px;align-items:center;font-size:12px;font-weight:450;margin:25px 0 0}.remember input{width:18px;height:18px;min-height:18px;flex:0 0 18px;accent-color:#bacfba;border-radius:5px}.remember:has(input:disabled){opacity:.6}.remember-help{font-size:11px;margin:6px 0 0 28px}.auth-alternatives{display:flex;align-items:center;justify-content:space-between;margin-top:11px}.auth-alternatives .secondary{margin:0;padding-inline:0}.auth-alternatives .secondary:hover{background:transparent;text-decoration:underline;text-underline-offset:4px}#status{min-height:20px;color:var(--auth-danger);font-size:12px;line-height:1.6;margin:17px 0 0;text-align:center}#status:empty{margin-top:10px}footer{display:flex;align-items:center;justify-content:center;gap:7px;text-align:center;margin-top:17px;font-size:10px;letter-spacing:.2px;color:#a0ada5}footer svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.3}
.auth-card[data-stage=code] .lock{display:none}.auth-card[data-stage=code] header{margin-bottom:30px}.auth-card[data-stage=code] h1{font-size:27px}.auth-card[data-stage=code] .intro{margin-bottom:20px}.auth-card[data-stage=code] .step{margin-bottom:22px}#code-label{text-align:center;font-size:12px;margin-bottom:14px;color:#d5ddd7}.code-help{text-align:center;margin:17px auto 0}
/* A single native input preserves paste/autofill, keyboard editing and a clear accessible name. */
.otp-shell{--otp-gap:9px;position:relative;width:100%;height:68px;margin:0 auto;isolation:isolate}.otp-slots{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:var(--otp-gap);height:100%}.otp-slot{position:relative;display:grid;place-items:center;min-width:0;height:100%;background:linear-gradient(145deg,#14191bec,#1b2023d9);border:1px solid #d2ded12b;border-radius:16px;box-shadow:inset 0 1px 2px #0006,0 1px 0 #ffffff09;transform-origin:center;transition:border-color .18s,box-shadow .18s}.otp-digit{font-size:26px;font-weight:550;font-variant-numeric:tabular-nums;color:#edf1ed;transition:opacity .18s}.otp-caret{display:none;position:absolute;left:50%;top:28%;height:44%;width:1.5px;background:var(--auth-amber);border-radius:2px}.otp-shell:focus-within .otp-slot.is-active{border-color:#e8b47ca6;box-shadow:0 0 0 2px #b17e4c22,0 0 16px #d3914722,inset 0 1px 2px #0004}.otp-shell:focus-within .otp-slot.is-active:not(.is-filled) .otp-caret{display:block;animation:otp-caret 1s step-end infinite}.otp-shell .otp-input{position:absolute;inset:0;z-index:3;height:100%;padding:0;min-height:0;border:0!important;border-radius:16px;background:transparent!important;color:transparent!important;-webkit-text-fill-color:transparent!important;caret-color:transparent;box-shadow:none!important;font-size:16px;letter-spacing:normal;text-align:left;outline:none!important}.otp-shell .otp-input::selection{background:transparent;color:transparent}.otp-shell .otp-input::placeholder{color:transparent}.otp-shell .otp-input:disabled{opacity:1}.otp-ray{pointer-events:none;position:absolute;inset:-1px;width:calc(100% + 2px);height:calc(100% + 2px);overflow:visible;opacity:0;transition:opacity .15s}.otp-ray rect{fill:none;stroke:var(--auth-amber);stroke-width:1.5;stroke-linecap:round;stroke-dasharray:22 78;stroke-dashoffset:0;filter:drop-shadow(0 0 3px #f2b77299)}.otp-shell[data-state=checking] .otp-ray{opacity:1}.otp-shell[data-state=checking] .otp-ray rect{animation:otp-ray 1.1s linear infinite}.otp-shell[data-state=checking] .otp-slot{border-color:#cc98634d;box-shadow:0 0 18px #e8af5f0c,inset 0 1px 2px #0004}.otp-shell[data-state=checking] .otp-caret{display:none!important}.otp-shell[data-state=error] .otp-slot{border-color:#dd8a7a99}.otp-shell[data-state=error]{animation:otp-error .3s ease}
.otp-success{position:absolute;left:50%;top:50%;width:68px;height:68px;display:grid;place-items:center;border:1.5px solid #94cba48c;border-radius:17px;background:linear-gradient(145deg,#26342b,#19261e);box-shadow:inset 0 1px #d3f9d716,0 0 26px #95e8a21a;transform:translate(-50%,-50%) scale(.9);opacity:0;pointer-events:none;z-index:2}.otp-success:before{content:"";position:absolute;inset:-42px;background:radial-gradient(circle,#90dba627,transparent 70%);opacity:0;transform:scale(.6);z-index:-1}.otp-success svg{width:44px;height:44px}.otp-success path{stroke:#edf9ee;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:1;stroke-dashoffset:1}.otp-shell[data-state=success] .otp-digit{opacity:0}.otp-shell[data-state=success] .otp-caret,.otp-shell[data-state=success] .otp-ray{display:none!important}.otp-shell[data-state=success] .otp-slot{animation:otp-merge .55s cubic-bezier(.6,.05,.25,1) both;animation-delay:0s}.otp-shell[data-state=success] .otp-slot:nth-child(1){--otp-shift:calc(250% + 22.5px);--otp-tilt:-12deg}.otp-shell[data-state=success] .otp-slot:nth-child(2){--otp-shift:calc(150% + 13.5px);--otp-tilt:8deg}.otp-shell[data-state=success] .otp-slot:nth-child(3){--otp-shift:calc(50% + 4.5px);--otp-tilt:-4deg}.otp-shell[data-state=success] .otp-slot:nth-child(4){--otp-shift:calc(-50% - 4.5px);--otp-tilt:4deg}.otp-shell[data-state=success] .otp-slot:nth-child(5){--otp-shift:calc(-150% - 13.5px);--otp-tilt:-8deg}.otp-shell[data-state=success] .otp-slot:nth-child(6){--otp-shift:calc(-250% - 22.5px);--otp-tilt:12deg}.otp-shell[data-state=success] .otp-success{animation:otp-success .42s ease .36s both}.otp-shell[data-state=success] .otp-success:before{animation:otp-bloom .7s ease .45s both}.otp-shell[data-state=success] .otp-success path{animation:otp-check .36s ease .62s forwards}.auth-card.is-verified .steps,.auth-card.is-verified .step{opacity:.5}.auth-card.is-verified #mfa-actions{opacity:0;pointer-events:none;transition:opacity .2s}.auth-card.is-verified #heading{color:#e6f3e7}.auth-card.is-verified #code-label{visibility:hidden}.auth-card.is-verified #code-help{color:#b7d8bf}.auth-card.is-verified #status{color:var(--auth-green)}
.otp-shell.is-recovery .otp-slots{display:none}.otp-shell.is-recovery .otp-input{position:relative;inset:auto;color:var(--auth-text)!important;-webkit-text-fill-color:var(--auth-text)!important;caret-color:var(--auth-text);background:var(--auth-field)!important;border:1px solid var(--auth-line)!important;box-shadow:inset 0 1px 4px #0002!important;min-height:56px;font:14px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.2px;padding:14px;width:100%}.otp-shell.is-recovery .otp-input:focus{border-color:#dcba83a8!important;box-shadow:0 0 0 3px #e7be7c12!important}.otp-shell.is-recovery[data-state=checking]:after{content:"";position:absolute;left:14px;right:14px;bottom:3px;height:2px;border-radius:2px;background:linear-gradient(90deg,transparent,var(--auth-amber),transparent);animation:recovery-sweep 1s ease-in-out infinite}.otp-shell.is-recovery[data-state=success] .otp-input{opacity:0}
.resume-orbit{width:36px;height:36px;margin:12px auto 17px;border:1px solid #e9d2ab22;border-top-color:var(--auth-amber);border-radius:50%;animation:resume-turn 1.3s linear infinite}#resume-panel{text-align:center;color:var(--auth-muted);font-size:13px}#resume-panel:has(#resume-retry:not([hidden])) .resume-orbit{animation:none;border-color:#dbb88966}.card:not(.auth-card) header{margin-bottom:32px}.card:not(.auth-card) h1{font-size:26px}.card:not(.auth-card) p{font-size:13px;color:var(--auth-muted)}#secret,#recovery{overflow-wrap:anywhere;white-space:pre-wrap;font:13px/1.8 ui-monospace,SFMono-Regular,monospace;padding:16px;background:#10171999;border:1px solid var(--auth-line);border-radius:16px;color:#e0ebdf!important}#qr{display:block;max-width:100%;height:auto;margin:18px auto;border:12px solid white;border-radius:18px;background:white}#done .secondary{margin-top:20px}a{color:#d1e5d1}.card:not(.auth-card) input#code{font-variant-numeric:tabular-nums;letter-spacing:6px;text-align:center;font-size:22px}
@keyframes otp-caret{50%{opacity:0}}@keyframes otp-ray{to{stroke-dashoffset:-100}}@keyframes otp-merge{0%{transform:translateX(0);opacity:1}65%{transform:translateX(var(--otp-shift)) rotate(var(--otp-tilt));border-color:#d5a06da6;opacity:1}100%{transform:translateX(var(--otp-shift)) rotate(0);opacity:0}}@keyframes otp-success{from{opacity:0;transform:translate(-50%,-50%) rotate(8deg) scale(.92)}to{opacity:1;transform:translate(-50%,-50%) rotate(0) scale(1)}}@keyframes otp-check{to{stroke-dashoffset:0}}@keyframes otp-bloom{to{opacity:1;transform:scale(1)}}@keyframes otp-error{25%,75%{transform:translateX(-3px)}50%{transform:translateX(3px)}}@keyframes resume-turn{to{transform:rotate(360deg)}}@keyframes recovery-sweep{50%{opacity:.3}}
@media(min-width:800px){body{display:grid;place-items:center;padding-block:35px}.card{margin:0 auto}.card:not(.auth-card){margin:15px auto}.auth-card{min-height:690px}}@media(max-width:520px){body{padding:24px 16px max(24px,env(safe-area-inset-bottom));display:flex;align-items:center}.card{padding:33px 24px 23px;border-radius:28px;margin:0 auto}.glass-handle{margin-top:-16px;margin-bottom:23px}.auth-scenery>i{opacity:.6}.auth-card[data-stage=code] header{margin-bottom:26px}.card:not(.auth-card){margin:8px auto}h1{font-size:28px}.intro{font-size:13px}.otp-shell{height:62px}.otp-slot{border-radius:14px}.otp-digit{font-size:23px}.otp-success{width:62px;height:62px}.remember{font-size:11px}.remember-help{font-size:10px}.auth-card[data-stage=code] h1{font-size:25px}}@media(max-width:360px){body{padding:16px 10px}.card{padding:29px 17px 21px}.otp-shell{height:55px}.otp-digit{font-size:21px}.otp-success{width:55px;height:55px}.auth-alternatives .secondary{font-size:12px}header>span{letter-spacing:1.5px}.remember{font-size:10.5px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;animation-delay:0s!important;animation-iteration-count:1!important;transition:none!important;scroll-behavior:auto!important}.otp-shell[data-state=success] .otp-slot{opacity:0}.otp-shell[data-state=success] .otp-success{opacity:1;transform:translate(-50%,-50%)}.otp-shell[data-state=success] .otp-success path{stroke-dashoffset:0}.otp-shell[data-state=checking] .otp-ray rect{stroke-dasharray:100 0}.resume-orbit{border-right-color:var(--auth-amber)}}
/* Reserve the reference panel geometry while its success copy crossfades. */
.auth-card[data-stage=code] .intro{min-height:48px;display:flex;align-items:center;justify-content:center}.code-help{min-height:40px}#status:empty{margin-top:17px}.auth-card[data-stage=code] h1{min-height:33px;display:flex;align-items:center;justify-content:center}
@media(max-width:360px){.auth-card[data-stage=code] h1{min-height:62px}.code-help{min-height:60px}}
.otp-ray .otp-ray-tip{stroke:#ffe4be;stroke-width:1.7;stroke-dasharray:3 97;stroke-dashoffset:-19;filter:drop-shadow(0 0 3px #ffd3a288)}.otp-shell[data-state=checking] .otp-ray .otp-ray-tip{animation-name:otp-ray-tip}@keyframes otp-ray-tip{from{stroke-dashoffset:-19}to{stroke-dashoffset:-119}}
.auth-card.is-verified #heading,.auth-card.is-verified .intro{animation:auth-copy .78s ease both}@keyframes auth-copy{0%,42%{opacity:1}64%{opacity:0}100%{opacity:1}}

/* Pearl login. Scoped independently from owner setup and account security. */
body.login-page{color-scheme:light;--auth-text:#171820;--auth-muted:#71778c;--auth-field:#fdfcfe;--auth-line:#e5e3ed;--auth-amber:#9c7bde;--auth-green:#278a4b;--auth-danger:#b33c49;display:grid;place-items:center;min-height:100svh;padding:40px 28px;background:radial-gradient(ellipse at 35% 15%,#fff0f3aa,transparent 55%),radial-gradient(ellipse at 85% 85%,#eeebffaa,transparent 55%),#faf9fc;color:var(--auth-text)}
.login-page:before{display:none}.login-page .auth-card{display:grid;grid-template-columns:1.38fr 1fr;max-width:1100px;min-height:690px;padding:10px;margin:0 auto;overflow:hidden;border:1px solid #e9e5ef;border-radius:34px;background:#ffffffed;box-shadow:0 14px 45px #6354770c,0 2px 8px #63547704;backdrop-filter:none;-webkit-backdrop-filter:none}
.login-page .pearl-brand{position:relative;overflow:hidden;min-width:0;border-radius:25px;background:radial-gradient(ellipse at 70% 10%,#f8f7ff,transparent 65%),linear-gradient(130deg,#fff8f8 10%,#fffbfa 50%,#f0edff);padding:72px 48px;isolation:isolate}.login-page .pearl-wordmark{position:relative;z-index:1}.login-page .pearl-wordmark strong{display:block;width:fit-content;font-size:clamp(28px,3.4vw,43px);font-weight:750;letter-spacing:-1.8px;line-height:1.2;background:linear-gradient(100deg,#373d53 15%,#676187 62%,#e79ebd);-webkit-background-clip:text;background-clip:text;color:transparent}.login-page .pearl-wordmark span{display:block;margin-top:7px;font-size:15px;letter-spacing:7px;color:#85899e}.login-page .pearl-tagline{position:relative;z-index:1;margin-top:34px;font-size:19px;line-height:1.55;color:#82869c}.login-page .pearl-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:0;pointer-events:none}.login-page .pearl-form{width:100%;min-width:0;align-self:center;padding:58px 48px 32px}
.login-page h1,.login-page .auth-card[data-stage=code] h1{font-size:31px;line-height:1.2;font-weight:720;letter-spacing:-1px;text-align:left;justify-content:flex-start;min-height:0;margin:0 0 10px}.login-page .intro,.login-page .auth-card[data-stage=code] .intro{font-size:16px;line-height:1.55;text-align:left;justify-content:flex-start;max-width:none;min-height:50px;margin:0 0 32px;color:var(--auth-muted)}
.login-page .steps{display:none}.login-page .step{display:none}.login-page .auth-card[data-stage=code] .step{display:block;text-align:left;margin:0 0 24px;font-size:10px;letter-spacing:1px;color:#8b77b1}
.login-page label{font-size:14px;font-weight:450;color:#6c7287;margin:19px 0 8px}.login-page input{min-height:52px;padding:13px 16px;border:1px solid #e3e2eb;border-radius:12px;background:#fdfcfe;color:#171820;box-shadow:none}.login-page input::placeholder{color:#9296a5}.login-page input:focus{border-color:#bc9fee;box-shadow:0 0 0 3px #e9dcff;outline:0}.login-page input:-webkit-autofill{-webkit-text-fill-color:#171820;box-shadow:0 0 0 100px #faf7ff inset;caret-color:#171820}.login-page .password button{color:#777d92;top:4px}.login-page .password button:hover{color:#252638;background:#f2eff7}.login-page .primary{min-height:56px;margin-top:30px;border-radius:40px;border:1px solid #171719;background:linear-gradient(130deg,#222223,#101011);color:white;font-size:17px;font-weight:650;box-shadow:0 8px 18px #2521330b}.login-page .primary svg{display:none}.login-page .primary:hover{filter:brightness(1.2)}.login-page .secondary{color:#252739;background:#f5f4f7;border:1px solid #efedf4;border-radius:30px}.login-page .secondary:hover{background:#eeebf5;color:#171820}.login-page .auth-alternatives{display:grid;justify-content:stretch;gap:6px;margin-top:14px}.login-page .auth-alternatives .secondary{width:100%;padding:10px 16px}.login-page .auth-alternatives .secondary:hover{background:#eeebf5;text-decoration:none}.login-page #recovery-toggle{border:0;background:none;font-size:12px;color:#72788d}
.login-page .remember{font-size:12px;color:#6c7287;margin-top:22px}.login-page .remember input{width:20px;height:20px;min-height:20px;accent-color:#171719;flex-basis:20px;padding:0;box-shadow:none}.login-page .remember-help{font-size:10px;color:#777c8c}.login-page footer{font-size:12px;color:#81869b;margin-top:22px}.login-page footer svg{height:17px;width:17px}.login-page #status{font-size:12px}.login-page #code-label{color:#72788d;text-align:left;font-size:12px;margin-top:0}.login-page .code-help{color:#7c8193;font-size:11px;text-align:left;min-height:36px;margin-top:14px}
.login-page .otp-shell{height:60px;--otp-gap:9px}.login-page .otp-slot{border:1px solid #e2e2ed;background:#fff;border-radius:12px;box-shadow:0 1px 3px #42315a03}.login-page .otp-digit{color:#242536;font-size:25px}.login-page .otp-shell:focus-within .otp-slot.is-active{border-color:#b79ae9;box-shadow:0 0 0 2px #dfd0ff}.login-page .otp-caret{background:#282137}.login-page .otp-shell[data-state=checking] .otp-slot{border-color:#bba1e7;box-shadow:0 0 12px #bba1e715}.login-page .otp-ray rect{filter:drop-shadow(0 0 3px #c1a7f366)}.login-page .otp-ray .otp-ray-tip{stroke:#8160bb;filter:drop-shadow(0 0 3px #c1a7f366)}.login-page .otp-shell[data-state=error] .otp-slot{border-color:#cf7a88}.login-page .otp-shell.is-recovery .otp-input:focus{border-color:#bc9fee!important;box-shadow:0 0 0 3px #e9dcff!important}
/* 1.5x the previous success timeline: first green cells, then merge, then check. */
.login-page .otp-shell[data-state=success] .otp-slot{background:#def4e3;border-color:#7cbe8d;animation-name:pearl-otp-merge;animation-duration:.825s}.login-page .otp-success{width:60px;height:60px;border-color:#6db980;background:linear-gradient(145deg,#67c377,#3ca758);box-shadow:0 7px 26px #56b76b20}.login-page .otp-success path{stroke:white}.login-page .otp-shell[data-state=success] .otp-success{animation-duration:.63s;animation-delay:.54s}.login-page .otp-shell[data-state=success] .otp-success:before{animation-duration:1.05s;animation-delay:.675s}.login-page .otp-shell[data-state=success] .otp-success path{animation-duration:.54s;animation-delay:.93s}.login-page .auth-card.is-verified #heading{color:#24713d}.login-page .auth-card.is-verified #code-help{color:#38854c}.login-page .auth-card.is-verified #heading,.login-page .auth-card.is-verified .intro{animation-duration:1.17s}
@keyframes pearl-otp-merge{0%,18%{transform:translateX(0);opacity:1;background:#def4e3;border-color:#7cbe8d}65%{transform:translateX(var(--otp-shift)) rotate(var(--otp-tilt));opacity:1;background:#b5e5bf;border-color:#6db980}100%{transform:translateX(var(--otp-shift)) rotate(0);opacity:0}}
@media(max-width:960px){body.login-page{padding:22px 16px}.login-page .auth-card{max-width:460px;display:block;min-height:0;border-radius:30px;padding:7px}.login-page .pearl-brand{height:338px;min-height:0;padding:26px 20px 0;text-align:center;border-radius:24px}.login-page .pearl-wordmark strong{font-size:24px;letter-spacing:-1px;margin:auto}.login-page .pearl-wordmark span{font-size:9px;letter-spacing:4px;margin-top:5px}.login-page .pearl-tagline{display:none}.login-page .pearl-art{height:244px;top:94px;object-position:center 80%}.login-page .pearl-form{padding:28px 23px 22px}.login-page h1,.login-page .auth-card[data-stage=code] h1{font-size:27px;letter-spacing:-.8px}.login-page .intro,.login-page .auth-card[data-stage=code] .intro{font-size:14px;min-height:44px;margin-bottom:26px}.login-page .primary{margin-top:26px;min-height:53px;font-size:16px}.login-page .otp-shell{height:56px}.login-page .otp-success{height:56px;width:56px}.login-page footer{font-size:11px;margin-top:15px}.login-page .auth-card[data-stage=code] .step{font-size:9px;margin-bottom:20px}}
@media(max-width:360px){body.login-page{padding:12px 8px}.login-page .pearl-form{padding:24px 15px 18px}.login-page .pearl-brand{height:286px;padding-top:22px}.login-page .pearl-art{top:86px;height:200px}.login-page .pearl-wordmark strong{font-size:22px}.login-page h1,.login-page .auth-card[data-stage=code] h1{font-size:24px;min-height:0}.login-page .otp-shell{height:50px}.login-page .otp-digit{font-size:22px}.login-page .remember{font-size:11px}.login-page .code-help{min-height:36px}}
.login-page .password input{padding-right:55px}

/* The completed first step is visible only after the server accepts the password. */
.login-page .auth-card[data-stage=code] .pearl-progress{display:flex;align-items:center;gap:9px;margin:0 0 30px;font-size:10px;letter-spacing:0;font-weight:500;line-height:1.3;color:#8b90a2;white-space:nowrap}
.login-page .pearl-progress span{margin:0;letter-spacing:0;color:inherit}.login-page .pearl-progress-done,.login-page .pearl-progress-current{display:flex;align-items:center;gap:7px}.login-page .pearl-progress-done svg{width:22px;height:22px;flex:0 0 22px}.login-page .pearl-progress-done circle{fill:#4cbd65}.login-page .pearl-progress-done path{stroke:#fff;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}.login-page .pearl-progress-line{height:1px;min-width:10px;flex:1;background:#dedce8}.login-page .pearl-progress-current{color:#252337!important;font-weight:650}.login-page .pearl-progress-current b{display:grid;place-items:center;width:22px;height:22px;flex:0 0 22px;border:1px solid #a884ed;border-radius:50%;background:#faf6ff;font-size:11px;font-weight:650;box-shadow:0 0 0 2px #f3edff}
@media(max-width:960px){.login-page .auth-card[data-stage=code] .pearl-progress{margin-bottom:29px;font-size:9px;gap:7px}.login-page .pearl-progress-done,.login-page .pearl-progress-current{gap:6px}}
@media(max-width:360px){.login-page .auth-card[data-stage=code] .pearl-progress{font-size:8px;gap:5px}.login-page .pearl-progress-done,.login-page .pearl-progress-current{gap:4px}.login-page .pearl-progress-done svg,.login-page .pearl-progress-current b{width:20px;height:20px;flex-basis:20px}}

/* Pearl account security. The root scope also covers iOS overscroll; no auth behavior changes. */
html.security-page{color-scheme:light;--auth-bg:#faf9fc;--auth-panel:#fff;--auth-field:#fdfcfe;--auth-line:#e5e3ed;--auth-text:#171820;--auth-muted:#6c7287;--auth-amber:#9c7bde;--auth-green:#278a4b;--auth-danger:#b33c49;background:var(--auth-bg);color:var(--auth-text)}
.security-page body{display:grid;place-items:center;min-height:100svh;padding:32px 24px;padding:calc(24px + env(safe-area-inset-top,0px)) calc(16px + env(safe-area-inset-right,0px)) calc(24px + env(safe-area-inset-bottom,0px)) calc(16px + env(safe-area-inset-left,0px));background:radial-gradient(ellipse at 30% 10%,#fff0f3aa,transparent 55%),radial-gradient(ellipse at 90% 90%,#eeebffaa,transparent 55%),var(--auth-bg);color:var(--auth-text)}
.security-page body:before{display:none}
.security-page .card{width:100%;min-width:0;max-width:520px;margin:0 auto;padding:36px 34px 26px;border:1px solid #e9e5ef;border-radius:30px;background:#ffffffed;box-shadow:0 14px 45px #6354770c,0 2px 8px #63547704;backdrop-filter:none;-webkit-backdrop-filter:none}
.security-page .card header{margin-bottom:26px}
.security-page header strong{font-weight:720;color:#343348}
.security-page header>span{color:var(--auth-muted);line-height:1.6;letter-spacing:1.5px}
.security-page .lock{margin:24px auto;border:1px solid #e5dcf4;border-radius:18px;background:linear-gradient(140deg,#fcf5fb,#efebff);color:#8065a8;box-shadow:none}
.security-page .card h1{font-size:28px;font-weight:720;line-height:1.25;letter-spacing:-.8px;overflow-wrap:break-word}
.security-page .card .intro{max-width:360px;margin:0 auto 26px;font-size:14px;line-height:1.65;color:var(--auth-muted)}
.security-page .primary{min-height:54px;margin-top:24px;padding:14px 18px;border:1px solid #171719;border-radius:30px;background:linear-gradient(130deg,#222223,#101011);color:#fff;font-size:15px;font-weight:650;box-shadow:0 8px 18px #2521330b}
.security-page .primary:hover{filter:brightness(1.2)}
.security-page .secondary{width:100%;min-height:46px;margin-top:10px;padding:11px 16px;border:1px solid #efedf4;border-radius:26px;background:#f5f4f7;color:#343348;font-size:14px;line-height:1.5}
.security-page .secondary:hover{background:#eeebf5;color:#171820}
.security-page #revoke-form{margin-top:24px;padding-top:20px;border-top:1px solid var(--auth-line)}
.security-page .card .help{font-size:13px;line-height:1.65;color:var(--auth-muted)}
.security-page label{color:#53596c;font-size:14px;font-weight:550}
.security-page input{min-height:54px;padding:14px 16px;border:1px solid #e3e2eb;border-radius:12px;background:var(--auth-field);color:var(--auth-text);font-size:16px;box-shadow:none}
.security-page input:hover{border-color:#c5b5df}
.security-page input:focus{border-color:#a985dc;box-shadow:0 0 0 3px #e9dcff;outline:0}
.security-page input:-webkit-autofill{-webkit-text-fill-color:var(--auth-text);box-shadow:0 0 0 100px #faf7ff inset;caret-color:var(--auth-text)}
.security-page #status{color:var(--auth-danger);overflow-wrap:anywhere}
.security-page .card>a.secondary{margin-top:18px;background:transparent;border-color:transparent;color:#686078}
.security-page .card>a.secondary:hover{background:#f5f2fa;color:#343348}
@media(max-width:520px){.security-page .card{padding:30px 22px 22px;border-radius:26px}.security-page .card h1{font-size:26px}}
@media(max-width:360px){.security-page .card{padding:26px 18px 20px}.security-page .card h1{font-size:23px}.security-page header>span{font-size:8px;letter-spacing:1.2px}.security-page .primary,.security-page .secondary{font-size:14px}}

/* Approved graphite БФ camera. The fixed white backing keeps its exact color legible. */
.login-page .pearl-wordmark{display:flex;align-items:center;gap:16px}
.login-page .pearl-wordmark .brand-camera{display:block;width:84px;height:69px;flex:none;padding:8px;background:#fff;border-radius:15px;box-sizing:border-box}
.login-page .pearl-wordmark .brand-camera path{fill:#2b2c2e;stroke:none}
.login-page .pearl-wordmark strong{background:none;color:#2b2c2e;font-size:32px;letter-spacing:-.7px}
@media(max-width:960px){.login-page .pearl-wordmark{justify-content:center;gap:12px}.login-page .pearl-wordmark .brand-camera{width:63px;height:52px;padding:6px;border-radius:11px}.login-page .pearl-wordmark strong{font-size:24px;margin:0}}
