/* Auth is isolated from business forms and supports both selected finishes. */
.auth-office{--auth-bg:#f4f5fa;--auth-surface:#fff;--auth-ink:#20263a;--auth-muted:#647084;--auth-line:#e0e4ed;--auth-accent:var(--green,#7155d8);--auth-soft:#eeeafb;background:var(--auth-bg);color:var(--auth-ink);min-height:100dvh;display:grid;grid-template-columns:minmax(320px,1fr) minmax(400px,1fr);padding:24px;gap:24px;box-sizing:border-box}
html[data-finish="coffee"] .auth-office{--auth-bg:#e2ded7;--auth-surface:#f7f4ef;--auth-ink:#302c29;--auth-muted:#736c64;--auth-line:#d6cfc6;--auth-accent:var(--green,#a55b2c);--auth-soft:#eee2d5}
html[data-theme="dark"] .auth-office{--auth-bg:#171c23;--auth-surface:#232a34;--auth-ink:#f2f3f7;--auth-muted:#b8c0cc;--auth-line:#424b59;--auth-accent:#c2acff;--auth-soft:#363047}
.auth-office *{box-sizing:border-box}.auth-office .auth-office-story{background:var(--auth-soft);border-radius:28px;padding:clamp(28px,5vw,72px);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;color:var(--auth-ink);min-height:680px}
.auth-office .auth-office-story .brand{color:inherit}.auth-office .auth-office-story-copy{margin:52px 0 20px}.auth-office .eyebrow{font-size:11px;letter-spacing:.12em;font-weight:650;color:var(--auth-muted);margin-bottom:14px}.auth-office .auth-office-story h1{font-size:clamp(28px,3.5vw,48px);line-height:1.15;letter-spacing:-.04em;margin:0 0 24px;font-weight:650}.auth-office .auth-office-story p{max-width:390px;font-size:16px;line-height:1.6;color:var(--auth-muted)}.auth-office small{font-size:11px;color:var(--auth-muted)}
.auth-office .auth-office-form{padding:40px 24px;display:flex;align-items:center;justify-content:center;background:none}.auth-card{width:100%;max-width:400px;animation:auth-arrive .38s ease both}.auth-card h1{font-size:30px;line-height:1.2;letter-spacing:-.035em;margin:0 0 12px;color:var(--auth-ink)}.auth-intro{color:var(--auth-muted);line-height:1.55;margin:0 0 28px}.auth-office label{display:block;font-size:13px;font-weight:550;color:var(--auth-ink);margin:0 0 20px}.auth-office input{display:block;width:100%;height:48px;min-width:0;margin-top:8px;padding:0 14px;border:1px solid var(--auth-line);border-radius:12px;background:var(--auth-surface);color:var(--auth-ink);font:inherit;font-size:15px;box-shadow:none}.auth-office input:focus-visible{outline:2px solid var(--auth-accent);outline-offset:2px}.auth-office button{font:inherit}.auth-office .auth-submit{width:100%;min-height:48px;border-radius:12px;background:var(--auth-accent);color:#fff;border:0;font-weight:600}.auth-office .auth-submit:hover{filter:brightness(.95)}.auth-office .auth-submit:disabled{opacity:.65;cursor:wait}.auth-password{display:block;position:relative}.auth-office .auth-password input{padding-right:48px}.auth-office .auth-show-password{position:absolute;right:4px;top:4px;width:40px;height:40px;display:grid;place-items:center;padding:8px;border:0;border-radius:8px;background:none;color:var(--auth-muted)}.auth-show-password svg{width:20px;height:20px}.auth-office .auth-error{color:#b63c3c;font-size:13px;line-height:1.5;margin:0 0 12px}.auth-error:empty{display:none}.auth-secondary{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;margin-top:22px}.auth-office .auth-secondary button,.auth-office .auth-secondary a,.auth-back,.auth-recovery-toggle{background:none;border:0;padding:0;color:var(--auth-accent);text-decoration:none;font-size:13px;line-height:1.5;cursor:pointer}.auth-help{margin-top:30px;font-size:12px;color:var(--auth-muted)}.auth-help p{line-height:1.6}.auth-help summary{cursor:pointer}.auth-symbol,.auth-success-icon{display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:var(--auth-soft);color:var(--auth-accent);margin-bottom:26px}.auth-symbol svg,.auth-success-icon svg{width:28px;height:28px}.auth-back{margin:0 0 28px;display:block}.auth-recovery-toggle{display:block;margin:24px auto 0}
.auth-code-label{margin-top:24px}.auth-code-deck{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;position:relative;isolation:isolate;margin:12px 0 24px;perspective:700px}.auth-code-deck input{position:absolute!important;inset:0;width:100%!important;height:64px!important;opacity:.015;margin:0!important;z-index:2;cursor:text;font-size:20px!important;letter-spacing:18px!important;color:transparent!important;caret-color:transparent}.auth-code-card{height:64px;display:grid;place-items:center;border:1px solid var(--auth-line,#d6cfc6);background:var(--auth-surface,#fff);color:var(--auth-ink,#302c29);border-radius:12px;font-size:25px;font-weight:600;font-variant-numeric:tabular-nums;box-shadow:0 4px 10px #151b3510;animation:auth-deal .5s cubic-bezier(.22,1,.36,1) both;animation-delay:calc(var(--card)*35ms)}.auth-code-card.filled{background:var(--auth-soft,#eee2d5);border-color:var(--auth-accent,#a55b2c)}.auth-code-deck:focus-within .auth-code-card.current{outline:2px solid var(--auth-accent,#a55b2c);outline-offset:2px}.auth-code-deck:focus-within:has(input:focus-visible){outline:none}.auth-code-invalid .auth-code-deck{animation:auth-invalid .24s ease}.auth-code-invalid .auth-code-card{border-color:#b63c3c}
.auth-art{height:240px;position:relative;max-width:340px;margin:36px auto 0;isolation:isolate}.auth-art-shield{position:absolute;left:90px;top:46px;width:150px;height:160px;border:1px solid var(--auth-line);border-radius:32px;background:var(--auth-surface);box-shadow:0 18px 40px #18102c10;display:grid;place-items:center;color:var(--auth-accent);transform:rotate(-8deg)}.auth-art-shield svg{width:84px;height:84px}.auth-art-paper{position:absolute;left:100px;top:32px;width:150px;height:165px;border:1px solid var(--auth-line);border-radius:24px;background:var(--auth-surface);transform:rotate(11deg);opacity:.65}.auth-art-paper:nth-child(2){transform:rotate(1deg);left:110px;top:40px}.auth-art-check{position:absolute;left:220px;top:158px;width:56px;height:56px;display:grid;place-items:center;border:5px solid var(--auth-soft);border-radius:18px;background:var(--auth-accent);color:white}.auth-art-check svg{width:28px;height:28px}
.account-security{max-width:620px;margin:auto}.account-security-summary{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 0;border-bottom:1px solid var(--border,#ddd)}.account-security-summary p{margin:6px 0 0;font-size:13px}.account-security-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.account-security #account-security-step form{display:grid;gap:16px;padding-top:12px}.account-security label{display:block}.account-security label input{display:block;width:100%;margin-top:8px;box-sizing:border-box}.auth-secret{font-family:monospace!important;font-size:13px!important;letter-spacing:.03em}.auth-recovery-codes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0}.auth-recovery-codes code{padding:12px;border:1px solid var(--border,#ddd);border-radius:8px;text-align:center;user-select:all}.account-security .auth-code-deck{max-width:400px}.account-security .auth-code-deck input{margin:0!important}
@keyframes auth-arrive{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}@keyframes auth-deal{from{opacity:0;transform:translateX(calc((2.5 - var(--card))*48px)) translateY(8px) rotate(calc((var(--card) - 2.5)*-7deg)) scale(.85)}to{opacity:1;transform:none}}@keyframes auth-invalid{25%{transform:translateX(-4px)}75%{transform:translateX(4px)}}
@media(max-width:1000px){.auth-office{grid-template-columns:1fr;padding:16px;gap:0}.auth-office .auth-office-story{min-height:0;padding:20px 24px;border-radius:20px}.auth-office .auth-office-story-copy,.auth-office .auth-office-story>small{display:none}.auth-office .auth-office-form{padding:38px 12px}.auth-card{max-width:400px}.auth-code-deck{gap:6px}.auth-code-card{height:58px}.auth-code-deck input{height:58px!important}}
@media(prefers-reduced-motion:reduce){.auth-office *,.account-security .auth-code-card{animation:none!important;transition:none!important}}
html[data-motion="reduce"] .auth-office *,html[data-motion="reduce"] .account-security .auth-code-card{animation:none!important;transition:none!important}

.auth-office svg{color:inherit!important}.auth-office .auth-office-story .brand{margin-bottom:0}.auth-office .auth-office-form form{width:100%;max-width:none}.auth-office .auth-office-story{min-height:min(680px,calc(100dvh - 48px))}.auth-office .auth-office-story-copy{margin:32px 0 16px}.auth-office .auth-office-form{border:0}.auth-office .auth-office-story p{margin-bottom:0}.auth-office .auth-art{height:220px;margin-top:24px}.auth-office .auth-code-deck input:focus-visible{outline:none}.auth-office .auth-show-password{margin:0}.auth-office button:focus-visible,.auth-office a:focus-visible{outline:2px solid var(--auth-accent);outline-offset:3px}
@media(max-width:1000px){.auth-office .auth-office-story{min-height:0}.auth-office .auth-office-story .brand{margin:0}.auth-office .auth-office-story-copy{display:none}}

.auth-office .auth-submit{background:var(--auth-accent)!important;color:#fff!important}.auth-office .auth-office-story{padding:clamp(28px,4vw,52px)}.auth-office .auth-art{height:180px;transform:scale(.85);transform-origin:center top;margin-bottom:-22px}.auth-office .auth-office-story h1{font-size:clamp(28px,3.1vw,44px)}
html[data-theme="dark"] .auth-office .auth-submit{color:#201834!important}

.auth-office{--auth-accent:var(--green,#7155d8);--auth-soft:var(--accent-soft,#eeeafb)}.auth-office .auth-submit{color:var(--primary-ink,#fff)!important}.auth-story-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.auth-office .auth-appearance{background:transparent;color:var(--auth-muted);padding:6px 0;border:0;font-size:12px}.auth-office .auth-story-footer small{max-width:260px}@media(max-width:1000px){.auth-office .auth-story-footer{justify-content:flex-end}.auth-office .auth-story-footer small{display:none}.auth-office .auth-office-story{flex-direction:row;align-items:center;gap:16px}}

.auth-office[data-auth-finish="coffee"]{--auth-bg:#e2ded7;--auth-surface:#f7f4ef;--auth-ink:#302c29;--auth-muted:#736c64;--auth-line:#d6cfc6;--auth-accent:#a55b2c;--auth-soft:#eee2d5}.auth-office[data-auth-finish="coffee"] .auth-submit{color:#fff!important}html[data-theme="dark"] .auth-office[data-auth-finish="coffee"]{--auth-bg:#211e1b;--auth-surface:#302b26;--auth-ink:#f4eee7;--auth-muted:#c5bbae;--auth-line:#574b40;--auth-accent:#d7a274;--auth-soft:#3c3128}html[data-theme="dark"] .auth-office[data-auth-finish="coffee"] .auth-submit{color:#241b13!important}

@media(max-width:1000px){.auth-office{grid-template-rows:auto 1fr;align-content:start}.auth-office .auth-office-story{padding:18px 24px}.auth-office .auth-office-form{padding:30px 12px}.auth-office .auth-office-story .brand small{font-size:9px}.auth-office .auth-appearance{max-width:100px;line-height:1.4}.auth-office .auth-code-card{border-radius:10px}}

.auth-office .auth-resend,.auth-office .auth-legacy-toggle{display:block;margin:24px auto 0;border:0;background:transparent;padding:0;color:var(--auth-accent);font-size:13px;line-height:1.5;cursor:pointer}.auth-office .auth-resend:disabled{color:var(--auth-muted);cursor:default}.auth-office .auth-legacy-toggle{margin:12px 0}.auth-office .auth-submit:disabled{cursor:wait}.auth-office .auth-error{color:#b63c3c!important}html[data-theme="dark"] .auth-office .auth-error{color:#ffaba8!important}
.auth-code-confirmed{position:absolute;z-index:3;left:calc(50% - 28px);top:4px;width:56px;height:56px;border-radius:16px;display:grid;place-items:center;background:var(--auth-accent,#397863);color:var(--primary-ink,#fff);opacity:0;transform:scale(.7);pointer-events:none}.auth-code-confirmed svg{width:30px;height:30px;color:inherit!important}.auth-code-deck.is-verified .auth-code-card{animation:auth-collect .38s cubic-bezier(.22,1,.36,1) both;animation-delay:calc(var(--card)*20ms)}.auth-code-deck.is-verified .auth-code-confirmed{animation:auth-confirm .38s ease .1s both}.auth-code-deck.is-verified input{pointer-events:none}.auth-card.auth-code-invalid #login input{border-color:#b63c3c}.auth-card.auth-code-invalid #login{animation:auth-invalid .24s ease}
@keyframes auth-collect{to{opacity:0;transform:translateX(calc((2.5 - var(--card))*48px)) rotate(calc((var(--card) - 2.5)*7deg)) scale(.7)}}@keyframes auth-confirm{from{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}

.auth-office-form:has(.auth-demo-note){flex-direction:column;gap:24px}.auth-demo-note{max-width:400px;font-size:11px;line-height:1.65;color:var(--auth-muted);padding:12px 16px;border:1px dashed var(--auth-line);border-radius:12px;overflow-wrap:anywhere}.auth-demo-note a{color:var(--auth-accent)}

/* Account self-service remains available to employees with read-only business access. */
.read-only .account-security .primary,.read-only .auth-office .primary{display:inline-flex!important;justify-content:center;align-items:center}

.auth-office .auth-code-expiry{text-align:center;font-size:12px;color:var(--auth-muted);margin:12px 0 0;font-variant-numeric:tabular-nums}
.auth-office .auth-code-expiry.is-expired{color:var(--auth-error,#a33e35)}
.auth-name-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.auth-registration-note,.auth-pending-feedback{font-size:12px;line-height:1.6;color:var(--auth-muted);margin-top:20px}.auth-approval-status{border:1px solid var(--auth-line);background:var(--auth-surface);padding:22px;border-radius:18px;margin:0 0 24px}.auth-approval-status h2{font-size:20px;margin:18px 0 10px}.auth-approval-status p{color:var(--auth-muted);line-height:1.6;margin:0;font-size:14px}.auth-pending-office .auth-card h1{overflow-wrap:anywhere}.auth-pending-feedback:empty{display:none}
@media(max-width:420px){.auth-name-grid{grid-template-columns:1fr;gap:0}}

/* Deliberate, finite motion: the interface waits for the success sequence. */
.auth-card{animation-duration:.7s}
.auth-office .auth-code-card{animation-duration:.85s;animation-delay:calc(var(--card)*75ms);transition:background .25s ease,border-color .25s ease,box-shadow .25s ease}
.auth-office .auth-code-card.filled{box-shadow:0 4px 16px color-mix(in srgb,var(--auth-accent) 12%,transparent)}
.auth-office .auth-code-deck::before,.auth-office .auth-code-deck::after{content:'';position:absolute;pointer-events:none;opacity:0}
.auth-office .auth-code-deck::before{z-index:-1;inset:-18px;border-radius:26px;background:radial-gradient(ellipse,color-mix(in srgb,var(--auth-accent) 24%,transparent),transparent 70%);filter:blur(8px)}
.auth-office .auth-code-deck::after{z-index:4;left:0;top:-7px;width:24%;height:80px;border-radius:20px;background:linear-gradient(110deg,transparent,color-mix(in srgb,var(--auth-surface) 80%,transparent),transparent);transform:translateX(-150%) skewX(-18deg)}
.auth-office .auth-code-deck.is-verified .auth-code-card{animation:auth-collect-soft .8s cubic-bezier(.22,1,.36,1) both;animation-delay:calc(var(--card)*65ms)}
.auth-office .auth-code-deck.is-verified::before{animation:auth-halo 1.35s ease both}
.auth-office .auth-code-deck.is-verified::after{animation:auth-sheen .9s ease both}
.auth-office .auth-code-deck.is-verified .auth-code-confirmed{animation:auth-confirm-soft .85s cubic-bezier(.2,1,.3,1) .5s both;box-shadow:0 0 0 8px color-mix(in srgb,var(--auth-accent) 10%,transparent),0 12px 30px color-mix(in srgb,var(--auth-accent) 24%,transparent)}
.auth-office .auth-success-icon{position:relative;animation:auth-success-bloom 1.1s cubic-bezier(.22,1,.36,1) both}
.auth-office .auth-success-icon::after{content:'';position:absolute;inset:-9px;border:1px solid var(--auth-accent);border-radius:24px;opacity:0;pointer-events:none;animation:auth-success-ring 1.25s ease .1s both}
.auth-office .auth-submit{transition:box-shadow .25s ease,transform .25s ease,filter .25s ease}
.auth-office .auth-submit:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 7px 20px color-mix(in srgb,var(--auth-accent) 20%,transparent)}
@keyframes auth-collect-soft{0%,20%{opacity:1;transform:none}60%{opacity:.8;filter:blur(0);transform:translateX(calc((2.5 - var(--card))*38px)) translateY(-6px) rotate(calc((var(--card) - 2.5)*3deg)) scale(.88)}100%{opacity:0;filter:blur(3px);transform:translateX(calc((2.5 - var(--card))*48px)) translateY(2px) scale(.5)}}
@keyframes auth-halo{0%{opacity:0;transform:scale(.6)}35%{opacity:1;transform:scale(1.12)}100%{opacity:0;transform:scale(1.45)}}
@keyframes auth-sheen{0%{opacity:0;transform:translateX(-150%) skewX(-18deg)}20%{opacity:.7}80%{opacity:.5}100%{opacity:0;transform:translateX(500%) skewX(-18deg)}}
@keyframes auth-confirm-soft{0%{opacity:0;transform:scale(.45) rotate(-15deg)}60%{opacity:1;transform:scale(1.08) rotate(2deg)}100%{opacity:1;transform:scale(1) rotate(0)}}
@keyframes auth-success-bloom{from{opacity:0;transform:translateY(8px) scale(.8)}to{opacity:1;transform:none}}
@keyframes auth-success-ring{0%{opacity:0;transform:scale(.8)}35%{opacity:.4}100%{opacity:0;transform:scale(1.45)}}
@media(prefers-reduced-motion:reduce){.auth-office .auth-code-deck::before,.auth-office .auth-code-deck::after,.auth-office .auth-success-icon::after{animation:none!important}.auth-office .auth-code-deck.is-verified .auth-code-card{animation:none!important}.auth-office .auth-code-deck.is-verified .auth-code-confirmed{animation:none!important;opacity:1;transform:none}}
html[data-motion="reduce"] .auth-office .auth-code-deck::before,html[data-motion="reduce"] .auth-office .auth-code-deck::after,html[data-motion="reduce"] .auth-office .auth-success-icon::after{animation:none!important}
.users-register .user-email-meta{display:block;font-size:11px;line-height:1.5;color:var(--muted,#736c64);margin-top:5px}

.auth-office{--auth-error:#b54b48;--auth-error-soft:#fff0ed}
html[data-theme="dark"] .auth-office{--auth-error:#f39b91;--auth-error-soft:#462c2a}
.auth-office .auth-code-invalid .auth-code-deck{animation:auth-code-reject .65s cubic-bezier(.36,.07,.19,.97) both}
.auth-office .auth-code-invalid .auth-code-card{border-color:var(--auth-error);background:color-mix(in srgb,var(--auth-error-soft) 65%,var(--auth-surface));animation:auth-code-error-pulse .9s ease both;animation-delay:calc(var(--card)*35ms);box-shadow:0 0 0 3px color-mix(in srgb,var(--auth-error) 10%,transparent)}
.auth-office .auth-code-invalid .auth-code-deck:focus-within .auth-code-card.current{outline-color:var(--auth-error)}
.auth-office .auth-code-invalid .auth-code-deck::before{background:radial-gradient(ellipse,color-mix(in srgb,var(--auth-error) 24%,transparent),transparent 70%);animation:auth-code-error-halo .95s ease both}
.auth-office .auth-code-invalid .auth-error:not(:empty){position:relative;color:var(--auth-error)!important;background:var(--auth-error-soft);border-radius:10px;padding:12px 14px 12px 34px;animation:auth-code-error-message .45s ease both}
.auth-office .auth-code-invalid .auth-error:not(:empty)::before{content:'!';position:absolute;left:12px;top:12px;width:15px;height:15px;border:1px solid currentColor;border-radius:50%;display:grid;place-items:center;font-size:11px;font-weight:700;line-height:1}
@keyframes auth-code-reject{0%,100%{transform:translateX(0)}18%{transform:translateX(-8px)}36%{transform:translateX(7px)}54%{transform:translateX(-5px)}72%{transform:translateX(3px)}88%{transform:translateX(-1px)}}
@keyframes auth-code-error-pulse{0%{box-shadow:0 0 0 0 transparent;transform:translateY(0)}35%{box-shadow:0 0 0 5px color-mix(in srgb,var(--auth-error) 14%,transparent);transform:translateY(-2px)}100%{box-shadow:0 0 0 3px color-mix(in srgb,var(--auth-error) 10%,transparent);transform:translateY(0)}}
@keyframes auth-code-error-halo{0%{opacity:0;transform:scale(.8)}35%{opacity:.9}100%{opacity:0;transform:scale(1.1)}}
@keyframes auth-code-error-message{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.auth-office .auth-code-invalid .auth-code-deck::before{animation:none!important}}
html[data-motion="reduce"] .auth-office .auth-code-invalid .auth-code-deck::before{animation:none!important}

/* Registration companion: vector shapes, reactive states and a soft panel sweep. */
.auth-office .auth-office-form{position:relative;isolation:isolate;overflow:hidden;border-radius:24px}
.auth-scene-curtain{position:absolute;inset:0;z-index:4;pointer-events:none;border-radius:42% 8% 8% 42%;background:linear-gradient(125deg,var(--auth-soft),var(--auth-surface));opacity:0;transform:translateX(-110%)}
.auth-changing{pointer-events:none}
.auth-journey{--journey-step:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));position:relative;isolation:isolate;list-style:none;margin:0 0 30px;padding:5px;border:1px solid var(--auth-line);border-radius:14px;background:var(--auth-surface)}
.auth-journey::before{content:'';position:absolute;z-index:-1;top:5px;bottom:5px;left:5px;width:calc((100% - 10px)/3);background:var(--auth-soft);border-radius:10px;transform:translateX(calc(var(--journey-step)*100%));transition:transform .7s cubic-bezier(.22,1,.36,1)}
.auth-journey li{display:flex;align-items:center;justify-content:center;gap:5px;padding:10px 3px;color:var(--auth-muted);font-size:10px;line-height:1.4;white-space:nowrap}
.auth-journey li[aria-current]{color:var(--auth-accent);font-weight:650}
.auth-journey li>span{display:grid;place-items:center;width:17px;height:17px;flex-shrink:0;border:1px solid currentColor;border-radius:50%;font-size:10px}
.auth-office .auth-companion{position:relative;width:300px;height:248px;max-width:100%;margin:24px auto 0;isolation:isolate}
.auth-companion::before{content:'';position:absolute;inset:24px 8px 0;border-radius:50%;background:radial-gradient(ellipse,color-mix(in srgb,var(--auth-accent) 11%,transparent),transparent 70%);transition:transform 1s ease}
.auth-envelope{position:absolute;z-index:3;left:50%;bottom:18px;width:204px;height:130px;transform:translateX(-50%);border:1px solid var(--auth-line);border-radius:14px;background:var(--auth-surface);box-shadow:0 18px 35px color-mix(in srgb,var(--auth-ink) 9%,transparent);perspective:600px;transition:transform .8s cubic-bezier(.22,1,.36,1)}
.auth-envelope-front{position:absolute;inset:0;border-radius:13px;clip-path:polygon(0 0,50% 60%,100% 0,100% 100%,0 100%);background:linear-gradient(150deg,var(--auth-surface),var(--auth-soft));z-index:3}
.auth-envelope-flap{position:absolute;inset:0 0 auto;height:80px;background:var(--auth-soft);clip-path:polygon(0 0,100% 0,50% 100%);transform-origin:top;transform:rotateX(0);transition:transform .85s cubic-bezier(.22,1,.36,1);z-index:4}
.auth-envelope-seal{position:absolute;left:calc(50% - 23px);top:58px;width:46px;height:46px;display:grid;place-items:center;border-radius:15px;background:var(--auth-accent);color:white;z-index:5;box-shadow:0 6px 16px color-mix(in srgb,var(--auth-accent) 20%,transparent);transition:transform .8s,opacity .5s}
.auth-envelope-seal svg{width:25px;height:25px}
.auth-letter{position:absolute;z-index:2;left:calc(50% - 78px);top:56px;width:156px;height:146px;padding:18px;box-sizing:border-box;background:var(--auth-surface);border:1px solid var(--auth-line);border-radius:12px;transform:translateY(32px) rotate(-6deg);transition:transform 1s cubic-bezier(.22,1,.36,1),box-shadow .7s}
.auth-letter-avatar{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:var(--auth-soft);color:var(--auth-accent);transition:transform .5s}
.auth-letter-avatar svg{width:22px;height:22px}
.auth-letter-line{display:block;width:90%;height:6px;background:var(--auth-line);border-radius:3px;margin-top:12px;transition:width .6s,background .6s}
.auth-letter-line.short{width:58%;margin-top:7px}
.auth-letter-digits{display:flex;gap:5px;margin-top:15px;opacity:0;transform:translateY(5px);transition:opacity .6s .2s,transform .6s .2s}
.auth-letter-digits i{width:14px;height:19px;border:1px solid var(--auth-line);border-radius:4px;background:var(--auth-soft)}
.auth-orbit{position:absolute;border:1px solid color-mix(in srgb,var(--auth-accent) 15%,transparent);border-radius:50%;pointer-events:none}
.auth-orbit-one{inset:12px 19px;transform:rotate(-25deg)}
.auth-orbit-two{inset:32px 0;transform:rotate(25deg)}
.auth-floating-mark{position:absolute;z-index:3;right:10px;top:44px;display:grid;place-items:center;width:50px;height:50px;background:var(--auth-surface);border:1px solid var(--auth-line);color:var(--auth-accent);font-size:25px;border-radius:16px;transform:rotate(10deg);transition:transform .9s cubic-bezier(.22,1,.36,1);animation:auth-companion-drift 4s ease-in-out 2}
.auth-companion-check{position:absolute;z-index:6;left:28px;bottom:24px;width:40px;height:40px;background:var(--auth-accent);color:white;border-radius:13px;display:grid;place-items:center;transform:scale(.3) rotate(-20deg);opacity:0;transition:transform .8s cubic-bezier(.22,1,.36,1),opacity .5s}
.auth-companion-check svg{width:23px;height:23px}
.auth-office .auth-companion-caption{font-size:12px;text-align:center;margin:4px auto 0;min-height:20px;color:var(--auth-muted)}
.auth-office[data-auth-scene="details"] .auth-letter{transform:translateY(-17px) rotate(-6deg)}
.auth-office[data-auth-scene="details"] .auth-letter-avatar{transform:scale(1.1)}
.auth-office[data-auth-scene="email"] .auth-floating-mark{transform:translate(-12px,-8px) rotate(-8deg)}
.auth-office[data-auth-scene="email"] .auth-letter{transform:translateY(-10px) rotate(3deg)}
.auth-office[data-auth-scene="sending"] .auth-envelope{transform:translateX(-50%) translateY(-12px) rotate(-4deg)}
.auth-office[data-auth-scene="sending"] .auth-floating-mark{transform:translate(-60px,35px) rotate(-15deg)}
.auth-office:is([data-auth-scene="code"],[data-auth-scene="ready"]) .auth-envelope-flap{transform:rotateX(180deg);z-index:1}
.auth-office:is([data-auth-scene="code"],[data-auth-scene="ready"]) .auth-envelope-seal{opacity:0;transform:scale(.5)}
.auth-office:is([data-auth-scene="code"],[data-auth-scene="ready"]) .auth-letter{transform:translateY(-49px) rotate(0);box-shadow:0 10px 24px color-mix(in srgb,var(--auth-ink) 7%,transparent)}
.auth-office:is([data-auth-scene="code"],[data-auth-scene="ready"]) .auth-letter-digits{opacity:1;transform:none}
.auth-office:is([data-auth-scene="code"],[data-auth-scene="ready"]) .auth-letter-avatar,.auth-office:is([data-auth-scene="code"],[data-auth-scene="ready"]) .auth-letter-line{display:none}
.auth-office:is([data-auth-scene="code"],[data-auth-scene="ready"]) .auth-letter-digits{margin-top:0}
.auth-office:is([data-auth-scene="code"],[data-auth-scene="ready"]) .auth-envelope-flap{opacity:.18}
.auth-office[data-auth-scene="ready"] .auth-companion-check{opacity:1;transform:scale(1) rotate(0)}
.auth-office .auth-card label:focus-within{color:var(--auth-accent)}
.auth-office .auth-card input{transition:border-color .25s,background .25s,box-shadow .25s}
.auth-office .auth-card input:focus{box-shadow:0 4px 16px color-mix(in srgb,var(--auth-accent) 8%,transparent)}
.auth-details-filled .auth-submit{box-shadow:0 5px 20px color-mix(in srgb,var(--auth-accent) 20%,transparent)}
@keyframes auth-companion-drift{0%,100%{translate:0 0}50%{translate:0 -8px}}
.auth-card[data-step="verify"] .auth-journey::before{animation:auth-journey-advance .85s cubic-bezier(.22,1,.36,1) both}
@keyframes auth-journey-advance{from{transform:translateX(0)}to{transform:translateX(100%)}}
@media(min-width:1001px) and (max-height:850px){
 .auth-office .auth-office-story{padding:32px;min-height:0}
 .auth-office .auth-office-story-copy{margin:24px 0 12px}
 .auth-office .auth-office-story h1{font-size:34px;margin-bottom:18px}
 .auth-office .auth-office-story p{font-size:14px}
 .auth-office .auth-companion{height:210px;margin-top:12px;scale:.88;transform-origin:center bottom}
 .auth-office .auth-office-form{padding:20px 24px}
 .auth-office .auth-back{margin-bottom:16px}
 .auth-office .auth-symbol{width:44px;height:44px;margin-bottom:16px}
 .auth-office .auth-journey{margin-bottom:20px}
 .auth-office .auth-intro{margin-bottom:20px;font-size:14px}
 .auth-office label{margin-bottom:16px}
 .auth-office .auth-registration-note{margin-top:14px}
 .auth-office-form:has(.auth-demo-note){gap:16px}
 .auth-demo-note{font-size:10px;padding:8px 12px}
}
@media(max-width:420px){.auth-journey li{font-size:9px;gap:3px}.auth-journey li>span{width:15px;height:15px}}
@media(prefers-reduced-motion:reduce){.auth-journey::before{transition:none!important;animation:none!important}}
html[data-motion="reduce"] .auth-journey::before{transition:none!important;animation:none!important}

/* The public entrance always uses the light milk/stone palette, independently of account preferences. */
html[data-theme] .auth-office[data-auth-entry="light"],.auth-office[data-auth-entry="light"]{
 --auth-bg:#fff;--auth-surface:#fff;--auth-ink:#34322f;--auth-muted:#77736c;--auth-line:#dcdcd3;--auth-accent:#af7853;--auth-soft:#eee4d8;--auth-error:#b54b48;--auth-error-soft:#fff0ed;
 --auth-compact-art:clamp(118px,42vw,210px);
 position:relative;isolation:isolate;overflow:hidden;background:#faf9f6!important;color:#34322f!important;padding:0;gap:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);color-scheme:light;
}
.auth-office[data-auth-entry="light"] .auth-office-story{position:relative;z-index:1;isolation:isolate;background:transparent!important;border:0;border-radius:0;overflow:visible;padding:clamp(32px,4.5vw,72px);min-height:100dvh}
.auth-office[data-auth-entry="light"] .auth-office-form{position:relative;z-index:2;overflow:visible;border-radius:0;padding:40px clamp(28px,4vw,64px);background:transparent!important}
.auth-office[data-auth-entry="light"]>.auth-scene-curtain{
 --auth-top-center:42%;--auth-side-edge:55%;--auth-side-direction:-1;
 --auth-top-radius:max(540px,160vw);--auth-side-radius:max(650px,82vw,90dvh);
 --auth-top-edge:calc(var(--auth-compact-art) * .67 + 34px);
 --auth-circle-radius:var(--auth-side-radius);
 --auth-circle-x:calc(var(--auth-side-edge) + var(--auth-side-direction) * var(--auth-circle-radius));
 --auth-circle-y:50%;
 inset:0;z-index:0;width:100%;height:100%;border-radius:0;transform:none;opacity:1;background:none;
}
.auth-background-circle{cx:var(--auth-circle-x);cy:var(--auth-circle-y);r:var(--auth-circle-radius);transition:cx .66s cubic-bezier(.32,.68,.32,1),cy .66s cubic-bezier(.66,.02,.36,1),r .66s ease}
.auth-office[data-auth-entry="light"][data-auth-side="right"]>.auth-scene-curtain{--auth-top-center:58%;--auth-side-edge:45%;--auth-side-direction:1}
@media(max-width:1000px){
 .auth-office[data-auth-entry="light"]>.auth-scene-curtain{
  --auth-circle-radius:var(--auth-top-radius);
  --auth-circle-x:var(--auth-top-center);
  --auth-circle-y:calc(var(--auth-top-edge) - var(--auth-circle-radius));
 }
}
.auth-office[data-auth-entry="light"][data-auth-circle]>.auth-scene-curtain{
 --auth-circle-radius:var(--auth-radius);
 --auth-circle-x:var(--auth-center-x);
 --auth-circle-y:var(--auth-center-y);
}
.auth-office[data-auth-circle] .auth-background-circle{transition:none}
@media(prefers-reduced-motion:reduce){.auth-background-circle{transition:none}}
html[data-motion="reduce"] .auth-background-circle{transition:none}
.auth-office[data-auth-entry="light"] .auth-card{background:transparent!important;box-shadow:none!important;border:0!important}
.auth-office[data-auth-entry="light"] .brand,.auth-office[data-auth-entry="light"] .brand svg{color:#34322f!important}
.auth-office[data-auth-entry="light"] input{background:#fff!important;color:#34322f!important;border-color:#dcdcd3!important;-webkit-text-fill-color:#34322f!important}
.auth-office[data-auth-entry="light"] input::placeholder{color:#9b9e96!important;-webkit-text-fill-color:#9b9e96!important}
.auth-office[data-auth-entry="light"] .auth-submit{background:#af7853!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:transparent!important}
.auth-office[data-auth-entry="light"] .brand small,.auth-office[data-auth-entry="light"] .auth-story-footer small{color:#77736c!important;opacity:1;-webkit-text-fill-color:#77736c!important}
.auth-office[data-auth-entry="light"] .auth-back,.auth-office[data-auth-entry="light"] .auth-resend,.auth-office[data-auth-entry="light"] .auth-secondary button{background:transparent!important;color:#986544!important}
.auth-office[data-auth-entry="light"] .auth-code-card{background:#fff!important;color:#34322f!important}
.auth-office[data-auth-entry="light"] .auth-code-card.filled{background:#eee4d8!important}
.auth-office[data-auth-entry="light"] .auth-code-invalid .auth-code-card{background:#fff0ed!important}
.auth-entry-note{font-size:11px;color:#77736c}
.auth-office[data-auth-entry="light"] .auth-journey{border:0;border-radius:0;background:transparent;padding:5px 0;border-bottom:1px solid #dcdcd3}
.auth-office[data-auth-entry="light"] .auth-journey::before{border-radius:20px}
@media(min-width:1001px) and (max-height:850px){
 .auth-office[data-auth-entry="light"] .auth-office-story{padding:32px 48px}
 .auth-office[data-auth-entry="light"] .auth-office-form{padding-top:24px;padding-bottom:24px}
}
@media(max-width:1000px){
 .auth-office[data-auth-entry="light"]{grid-template-columns:1fr;grid-template-rows:auto 1fr}
 .auth-office[data-auth-entry="light"] .auth-office-story{min-height:0;padding:22px 28px}
 .auth-office[data-auth-entry="light"] .auth-office-form{padding:32px 28px}
 .auth-office[data-auth-entry="light"] .auth-entry-note{display:none}
}

.auth-office[data-auth-entry="light"] .auth-story-footer{flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:8px}
.auth-office[data-auth-entry="light"] .auth-story-footer small{max-width:none}
.auth-office[data-auth-entry="light"] .auth-registered-link{display:block;margin:18px auto 0;padding:4px;border:0;background:none!important;color:#986544!important;font-size:12px;cursor:pointer}
.auth-people{width:min(400px,100%);margin:24px auto 0}
.auth-people svg{display:block;width:100%;height:auto;overflow:visible}
.auth-person-left,.auth-person-right,.auth-identity-panel,.auth-scene-letter,.auth-scene-shield{transition:transform 1s cubic-bezier(.22,1,.36,1);transform-box:fill-box;transform-origin:center}
.auth-person-arm{transition:transform .7s;transform-box:fill-box;transform-origin:left center}
.auth-identity-digits{opacity:.35;transition:opacity .65s}
.auth-identity-check{opacity:0;stroke-dasharray:55;stroke-dashoffset:55;transition:opacity .3s,stroke-dashoffset .8s}
.auth-office[data-auth-scene="details"] .auth-person-left{transform:translateX(5px)}
.auth-office[data-auth-scene="details"] .auth-person-arm{transform:rotate(-5deg)}
.auth-office[data-auth-scene="email"] .auth-scene-letter{transform:translate(18px,-8px) rotate(-8deg)}
.auth-office[data-auth-scene="sending"] .auth-scene-letter{transform:translate(80px,20px) rotate(8deg)}
.auth-office[data-auth-scene="code"] .auth-identity-panel{transform:translateY(-7px)}
.auth-office:is([data-auth-scene="code"],[data-auth-scene="ready"]) .auth-identity-digits{opacity:1}
.auth-office:is([data-auth-scene="code"],[data-auth-scene="ready"]) .auth-person-right{transform:translateX(-6px)}
.auth-office[data-auth-scene="ready"] .auth-identity-digits{opacity:0}
.auth-office[data-auth-scene="ready"] .auth-identity-check{opacity:1;stroke-dashoffset:0}
.auth-office[data-auth-scene="ready"] .auth-scene-shield{transform:translateY(-8px) rotate(5deg)}
@media(min-width:1001px) and (max-height:850px){.auth-people{width:min(340px,100%);margin-top:14px}}
.auth-photo-scene{width:min(420px,100%);aspect-ratio:3/2;position:relative;overflow:hidden;margin:26px auto 16px;border-radius:44% 44% 40% 40% / 48% 48% 44% 44%;isolation:isolate}
.auth-photo-scene img{display:block;width:100%;height:100%;object-fit:cover;transition:transform 1.2s cubic-bezier(.22,1,.36,1);transform:scale(1.01);filter:saturate(.85)}
.auth-photo-scene::after{content:'';position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 24px 2px #e7e2d944;border-radius:inherit}
.auth-office[data-auth-scene="email"] .auth-photo-scene img{transform:scale(1.035) translateX(3px)}
.auth-office:is([data-auth-scene="code"],[data-auth-scene="ready"]) .auth-photo-scene img{transform:scale(1.055) translateX(-4px)}
@media(min-width:1001px) and (max-height:850px){.auth-photo-scene{width:min(360px,100%);margin-top:18px}}
.auth-office[data-auth-entry="light"] .auth-office-story{justify-content:flex-start}
.auth-office[data-auth-entry="light"] .auth-office-story-copy{margin:auto 0!important;padding:28px 0}
.auth-illustration-scene{width:min(450px,100%);position:relative;margin:24px auto 0;isolation:isolate}
.auth-illustration-scene img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;transition:transform 1.1s cubic-bezier(.22,1,.36,1);animation:auth-illustration-float 5s ease-in-out 2}
.auth-illustration-scene::before,.auth-illustration-scene::after{content:'';position:absolute;border:1px solid #c7ac9470;pointer-events:none;border-radius:50%;z-index:-1;opacity:.6}
.auth-illustration-scene::before{inset:16% 3% 14%;transform:rotate(-12deg)}
.auth-illustration-scene::after{inset:4% 14% 2%;transform:rotate(18deg)}
.auth-office[data-auth-scene="email"] .auth-illustration-scene img{transform:translateY(-5px) rotate(-1deg)}
.auth-office[data-auth-scene="sending"] .auth-illustration-scene img{transform:translateY(-10px) scale(.98)}
.auth-office:is([data-auth-scene="code"],[data-auth-scene="ready"]) .auth-illustration-scene img{transform:translateY(-4px) scale(1.035)}
@keyframes auth-illustration-float{0%,100%{translate:0 0}50%{translate:0 -6px}}
@media(min-width:1001px) and (max-height:850px){.auth-illustration-scene{width:min(400px,100%);margin-top:18px}}
.auth-illustration-scene img{transition:transform 1.1s cubic-bezier(.22,1,.36,1),opacity .6s ease}
.auth-illustration-scene .auth-illustration-confirmed{position:absolute;inset:0;opacity:0}
.auth-office[data-auth-art="confirmed"] .auth-illustration-main{opacity:0}
.auth-office[data-auth-art="confirmed"] .auth-illustration-confirmed{opacity:1}
.auth-sides-moving{pointer-events:none}
.auth-sides-moving .auth-office-story{z-index:3!important}
.auth-journey[data-journey-step="1"]{--journey-step:1}
.auth-journey[data-journey-step="2"]{--journey-step:2}
.auth-office[data-auth-entry="light"] .auth-approval-status .pill{background:#eee4d8!important;color:#986544!important}
.auth-office[data-auth-entry="light"] input:focus{outline-color:#af7853!important;border-color:#af7853!important;box-shadow:0 0 0 3px #af78531c!important}
@media(min-width:1001px){
 .auth-office[data-auth-entry="light"]>.auth-office-story{grid-column:1;grid-row:1}
 .auth-office[data-auth-entry="light"]>.auth-office-form{grid-column:2;grid-row:1}
 .auth-office[data-auth-entry="light"][data-auth-side="right"]>.auth-office-story{grid-column:2}
 .auth-office[data-auth-entry="light"][data-auth-side="right"]>.auth-office-form{grid-column:1}
}

/* Compact phone entrance: form stays in normal document flow. */
@media(max-width:1000px){
 html[data-theme] .auth-office[data-auth-entry="light"],.auth-office[data-auth-entry="light"]{grid-template-columns:1fr!important;grid-template-rows:auto 1fr;min-height:100svh;overflow-x:clip;overflow-y:visible;align-content:start}
 .auth-office[data-auth-entry="light"] .auth-office-story{display:grid;grid-template-columns:minmax(0,1fr) 150px;align-items:center;gap:8px;min-height:0;padding:14px 20px}
 .auth-office[data-auth-entry="light"] .auth-office-story .brand{max-width:170px}
 .auth-office[data-auth-entry="light"] .auth-office-story-copy{display:block!important;margin:0!important;padding:0!important}
 .auth-office[data-auth-entry="light"] .auth-office-story-copy>.eyebrow,.auth-office[data-auth-entry="light"] .auth-office-story-copy>h1,.auth-office[data-auth-entry="light"] .auth-office-story-copy>p{display:none}
 .auth-office[data-auth-entry="light"] .auth-illustration-scene{width:150px;margin:0;max-width:100%}
 .auth-office[data-auth-entry="light"] .auth-office-form{padding:18px 20px 30px;align-items:flex-start;min-width:0}
 .auth-office[data-auth-entry="light"] .auth-card{max-width:440px;min-width:0}
 .auth-office[data-auth-entry="light"] .auth-card h1{font-size:26px}
 .auth-office[data-auth-entry="light"] .auth-symbol{display:none}
 .auth-office[data-auth-entry="light"] .auth-back{margin-bottom:18px;min-height:30px;display:flex;align-items:center}
 .auth-office[data-auth-entry="light"] .auth-journey{margin-bottom:20px}
 .auth-office[data-auth-entry="light"] .auth-intro{font-size:14px;margin-bottom:22px}
 .auth-office[data-auth-entry="light"] .auth-name-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .auth-office[data-auth-entry="light"] label{margin-bottom:16px}
 .auth-office[data-auth-entry="light"] input{font-size:16px;height:48px}
 .auth-office[data-auth-entry="light"] .auth-code-deck input{height:58px!important}
 .auth-office[data-auth-entry="light"] .auth-submit{min-height:48px}
 .auth-office[data-auth-entry="light"] .auth-registration-note{font-size:12px;line-height:1.5;margin-top:18px}
 .auth-office[data-auth-entry="light"] .auth-approval-status{padding:18px}
}
@media(max-width:359px){.auth-office[data-auth-entry="light"] .auth-office-story{grid-template-columns:minmax(0,1fr) 120px}.auth-office[data-auth-entry="light"] .auth-illustration-scene{width:120px}}
.auth-layered-scene{--auth-bob:8px}
.auth-art-anchor{width:min(450px,100%);margin:24px auto 0;pointer-events:none}
.auth-office[data-auth-entry="light"] .auth-art-anchor>.auth-layered-scene{width:100%;margin:0;aspect-ratio:3/2;transform-origin:top left}
@media(min-width:1001px) and (max-height:850px){.auth-art-anchor{width:min(400px,100%);margin-top:18px}}
.auth-layered-scene .auth-illustration-characters{position:absolute;inset:0;z-index:2}
.auth-office[data-auth-entry="light"] .auth-layered-scene .auth-illustration-characters{animation:none!important;transform:none!important;translate:none!important;transition:none;filter:saturate(.79) contrast(.96)}
.auth-layered-scene::before{opacity:.28}
.auth-layered-scene::after{inset:81% 10% 5%;transform:none;border:0;background:radial-gradient(ellipse,#5d453126,transparent 70%);opacity:1}
.auth-layered-scene .auth-floating-object{animation:auth-object-bob 6.8s ease-in-out infinite;will-change:translate}
.auth-layered-scene .auth-illustration-confirmed{animation-duration:7.6s;animation-play-state:paused}
.auth-office[data-auth-art="confirmed"] .auth-layered-scene .auth-illustration-main{animation-play-state:paused}
.auth-office[data-auth-art="confirmed"] .auth-layered-scene .auth-illustration-confirmed{animation-play-state:running}
@keyframes auth-object-bob{0%,100%{translate:0 2px}50%{translate:0 calc(-1 * var(--auth-bob))}}
@media(max-width:1000px){.auth-layered-scene{--auth-bob:4px}}
@media(prefers-reduced-motion:reduce){.auth-layered-scene .auth-floating-object{animation:none!important;translate:none!important;will-change:auto}}
html[data-motion="reduce"] .auth-layered-scene .auth-floating-object{animation:none!important;translate:none!important;will-change:auto}
@media(max-width:1000px){
 .auth-office[data-auth-entry="light"] .auth-office-story{grid-template-columns:minmax(0,1fr) var(--auth-compact-art);padding-block:16px}
 .auth-art-anchor{width:100%;margin:0}
 .auth-office[data-auth-side="left"] .auth-art-anchor{translate:calc(-1 * clamp(4px,(100vw - 290px) * .12,26px)) 0}
 .auth-office[data-auth-entry="light"] .auth-layered-scene{width:100%;aspect-ratio:3/2;overflow:visible}
 .auth-office[data-auth-entry="light"] .auth-layered-scene img{position:absolute;inset:0}
}

/* Mode changes must never create an internally scrolled or differently centred stage. */
.auth-office[data-auth-entry="light"]{overflow-anchor:none}
html:has(.auth-office[data-auth-entry="light"]){scrollbar-gutter:auto;background:#faf9f6!important;color-scheme:light!important;scrollbar-color:#c9c2b8 #faf9f6!important}
html:has(.auth-office[data-auth-entry="light"])::-webkit-scrollbar-track{background:#faf9f6!important}
html:has(.auth-office[data-auth-entry="light"])::-webkit-scrollbar-thumb{background:#c9c2b8!important}
body:has(.auth-office[data-auth-entry="light"]){background:#faf9f6!important;margin:0}
.auth-office[data-auth-entry="light"] .auth-submit{background:#986544!important}
.auth-office[data-auth-entry="light"] .auth-intro,.auth-office[data-auth-entry="light"] .auth-registration-note{color:#747068}
.auth-office[data-auth-entry="light"] .auth-error{color:#9d3934!important}
.auth-office[data-auth-entry="light"] a:focus-visible,.auth-office[data-auth-entry="light"] button:focus-visible{outline:2px solid #986544!important;outline-offset:3px}
.auth-office[data-auth-entry="light"] .auth-card h1[tabindex="-1"]:focus{outline:none}
.auth-entry-brand{position:absolute;z-index:4;top:32px;left:48px;max-width:220px}
.auth-entry-brand .brand{margin:0!important}
@media(min-width:1001px){
 html[data-theme] .auth-office[data-auth-entry="light"],.auth-office[data-auth-entry="light"]{overflow:clip}
 .auth-office[data-auth-entry="light"] .auth-office-story{padding-top:100px;padding-bottom:40px}
 .auth-office[data-auth-entry="light"] .auth-office-story-copy{margin:auto 0!important;padding:0;max-width:490px;width:100%;align-self:center}
 .auth-office[data-auth-entry="light"] .auth-office-form{padding-top:100px;padding-bottom:40px}
 .auth-office[data-auth-entry="light"] .auth-card{min-height:574px}
}
@media(min-width:1001px) and (max-height:740px){
 .auth-entry-brand{top:22px}
 .auth-office[data-auth-entry="light"] .auth-office-story,.auth-office[data-auth-entry="light"] .auth-office-form{padding-top:88px;padding-bottom:24px}
}
@media(max-width:1000px){
 .auth-entry-brand{top:34px;left:20px;width:calc(100% - var(--auth-compact-art) - 48px);max-width:170px}
 .auth-office[data-auth-entry="light"] .auth-office-story-copy{grid-column:2}
 .auth-office[data-auth-entry="light"] .auth-card{min-height:0}
 .auth-office[data-auth-entry="light"] .auth-office-story{grid-template-rows:auto}
}
@media(max-width:359px){.auth-entry-brand{top:26px}}
.auth-content-concealed .auth-card,.auth-content-concealed .auth-story-message{visibility:hidden!important}
.auth-sides-moving .auth-card,.auth-sides-moving .auth-story-message{will-change:opacity,transform}
.auth-story-message{transition:opacity .2s ease}
.auth-art-reflowing .auth-story-message{opacity:0;visibility:hidden}
.auth-sides-moving .auth-floating-object,html[data-auth-motion-paused="true"] .auth-floating-object{animation-play-state:paused!important}
.auth-layered-scene .auth-illustration-confirmed{will-change:auto}
.auth-office[data-auth-art="confirmed"] .auth-layered-scene .auth-illustration-main{will-change:auto}
.auth-office[data-auth-art="confirmed"] .auth-layered-scene .auth-illustration-confirmed{will-change:translate}
html[data-auth-motion-paused="true"] .auth-floating-object{will-change:auto!important}
@media(max-width:1000px){.auth-office[data-auth-entry="light"] .auth-story-message{display:none}}

.auth-office .auth-secondary a{color:var(--auth-accent);font-size:.88rem;text-decoration:none;text-align:center}
.auth-office .auth-secondary a:hover{text-decoration:underline}
.auth-office .auth-card textarea{width:100%;min-height:64px;resize:vertical;margin-top:6px;border:1px solid var(--auth-line);border-radius:9px;padding:8px;color:var(--auth-ink);background:var(--auth-surface);font:inherit}
.auth-office .auth-card input[aria-invalid="true"]:not(.auth-code-deck input){border-color:#a64d3b;box-shadow:0 0 0 3px #a64d3b22}
.auth-office .auth-code-invalid input[aria-invalid="true"]:not(.auth-code-deck input){animation:opora-auth-field-error .44s ease-out}
@keyframes opora-auth-field-error{25%,75%{transform:translateX(-3px)}50%{transform:translateX(3px)}}
