.astra-auth{box-sizing:border-box;width:min(480px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:44px;background:#101b2a;color:#e5edf2;border:1px solid #46505c;border-radius:20px;font:16px/1.6 Arial,'Microsoft JhengHei',sans-serif;overflow:auto;color-scheme:dark} /* taste-skill-ignore: the border separates a modal from its backdrop. */
.astra-auth *{box-sizing:border-box}
.astra-auth::backdrop{background:rgba(5,9,16,.78);backdrop-filter:blur(8px)}
.astra-auth[open]{animation:astra-auth-enter 200ms cubic-bezier(.23,1,.32,1)}
.astra-auth-brand{display:block;width:218px;max-width:80%;height:auto;margin:0 0 32px}
.astra-auth-close{position:absolute;right:16px;top:16px;display:grid;place-items:center;width:44px;height:44px;border:0;border-radius:50%;background:transparent;color:#bcc6d0;cursor:pointer}
.astra-auth-close svg{width:20px;height:20px}
.astra-auth h2{margin:0 0 8px;font:700 30px/1.35 Arial,'Microsoft JhengHei',sans-serif;letter-spacing:.02em;color:#e5edf2}
.astra-auth-description{margin:0 0 28px;color:#aeb9c6;font-size:14px}
.astra-auth label{display:block;margin:0 0 8px;font-size:14px;color:#e1e5eb}
.astra-auth-field{margin-bottom:20px}
.astra-auth input:not([type=checkbox]){display:block;width:100%;height:52px;padding:0 14px;border:1px solid #526071;border-radius:8px;background:#0c1522;color:#e5edf2;font:16px Arial,sans-serif;outline-offset:3px} /* taste-skill-ignore: field borders communicate editable controls. */
.astra-auth input::placeholder{color:#8e9baa;opacity:1}
.astra-auth input[aria-invalid=true]{border-color:#ff8896}
.astra-auth-password{position:relative}
.astra-auth-password input{padding-right:66px!important}
.astra-auth-toggle{position:absolute;right:4px;top:4px;height:44px;min-width:52px;background:transparent;border:0;color:#7bb5d6;font-size:13px;cursor:pointer}
.astra-auth-remember{display:flex!important;align-items:center;gap:10px;margin:4px 0 24px!important;min-height:24px;color:#b9c2ce!important;font-size:13px!important;cursor:pointer}
.astra-auth-remember input{width:18px;height:18px;accent-color:#7bb5d6}
.astra-auth-primary,.astra-auth-secondary{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:52px;padding:12px 20px;border-radius:8px;font:600 15px/1.4 Arial,'Microsoft JhengHei',sans-serif;cursor:pointer;transition:background 160ms ease,transform 120ms ease}
.astra-auth-primary{border:0;background:#7bb5d6;color:#101b2a}
.astra-auth-secondary{margin-top:12px;border:1px solid #526071;background:transparent;color:#e5edf2} /* taste-skill-ignore: secondary button boundary. */
.astra-auth-primary:active,.astra-auth-secondary:active{transform:scale(.98)}
.astra-auth button:focus-visible,.astra-auth input:focus-visible{outline:2px solid #8ec6e7;outline-offset:3px}
.astra-auth-error{margin:0 0 20px;color:#ff9eaa;font-size:14px}
.astra-auth-error[hidden],.astra-auth [hidden]{display:none!important}
.astra-auth-demo{margin:24px 0 0;padding-top:20px;border-top:1px solid #344151;font-size:12px;color:#aeb9c6;line-height:1.8} /* taste-skill-ignore: separates demo credentials from the form. */
.astra-auth-demo code{color:#8ec1df;font:12px/1.8 Arial,sans-serif;overflow-wrap:anywhere}
.astra-auth-badge{display:inline-block;margin-bottom:20px;font-size:12px;letter-spacing:.1em;color:#7bb5d6}
.astra-auth-profile{margin:28px 0;padding:20px 0;border-block:1px solid #344151} /* taste-skill-ignore: account metadata grouping. */
.astra-auth-profile p{display:flex;justify-content:space-between;gap:16px;margin:0 0 12px;font-size:14px}
.astra-auth-profile p:last-child{margin:0}
.astra-auth-profile span{color:#aeb9c6}
.astra-auth-profile strong{font-weight:500;overflow-wrap:anywhere;text-align:right}
html[data-astra-auth-open] .astra-turntable{visibility:hidden!important}
@keyframes astra-auth-enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media(hover:hover) and (pointer:fine){.astra-auth-primary:hover{background:#245cb2;color:#fff}.astra-auth-secondary:hover,.astra-auth-close:hover{background:#1c2b3e}}
@media(max-width:480px){.astra-auth{padding:36px 24px 28px;border-radius:16px}.astra-auth-brand{width:198px;margin-bottom:28px}.astra-auth h2{font-size:28px}.astra-auth-profile p{flex-wrap:wrap;gap:4px}.astra-auth-profile strong{text-align:left}}
@media(prefers-reduced-motion:reduce){.astra-auth[open]{animation:none}.astra-auth-primary,.astra-auth-secondary{transition:none}}
/* Shared member-workspace tokens. */
.astra-auth{background:#141e2c;border-color:#415065;border-radius:16px;color:#f0f2f5}
.astra-auth::backdrop{background:rgba(3,7,12,.86);backdrop-filter:none}
.astra-auth h2{font-size:28px;letter-spacing:0;color:#f0f2f5}
.astra-auth-brand{width:224px;margin-bottom:28px}
.astra-auth-description{line-height:1.7;color:#adb9c9}
.astra-auth-primary{background:#7bbadf}
.astra-auth-remember{min-height:44px;margin-block:0 16px!important}
.astra-auth-demo{font-size:12px;line-height:1.9;border-color:#2b394a}
.astra-auth-primary:disabled{opacity:.75;cursor:progress}
.astra-login-page{margin:0;background:#0b111b;color:#f0f2f5;font:16px/1.7 Arial,'Microsoft JhengHei',sans-serif;color-scheme:dark}
.astra-login-shell{max-width:420px;margin:14vh auto;padding:32px 24px}
.astra-login-shell img{max-width:100%;height:auto}
.astra-login-shell h1{font-size:28px;line-height:1.4;margin:36px 0 12px}
.astra-login-shell p{font-size:14px;color:#adb9c9;margin:0 0 28px}
.astra-login-shell>a{text-decoration:none;box-sizing:border-box}
.astra-login-back{display:block;text-align:center;color:#adb9c9;font-size:14px;margin-top:24px}
@media(max-width:480px){.astra-auth{width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:36px 24px 28px}.astra-auth-brand{width:204px}.astra-auth input:not([type=checkbox]){min-height:50px}}
.astra-auth-captcha{display:grid;grid-template-columns:minmax(0,1fr) 144px;gap:12px;align-items:stretch}
.astra-auth-captcha button{padding:0;border:1px solid #3c587b;border-radius:8px;background:#101e32;cursor:pointer;overflow:hidden;min-height:52px}
.astra-auth-captcha img{display:block;width:100%;height:52px;object-fit:contain;color:#b4eaff;font-size:12px}
.astra-auth-captcha button:disabled{opacity:.6;cursor:progress}
.astra-auth-hint{display:block;font-size:12px;color:#a3b6cc;margin-top:6px}
.astra-auth-privacy{display:flex!important;align-items:flex-start;gap:10px;line-height:1.7;font-size:13px!important;margin:4px 0 18px!important}
.astra-auth-privacy input{width:18px;height:18px;flex:none;margin:2px 0 0;accent-color:#67d7ff}
.astra-auth-privacy a{color:#8bdfff;text-underline-offset:3px}
.astra-auth-notice{color:#9de0c4;font-size:14px}
.astra-auth[data-mode=register]{padding:30px 32px}
.astra-auth[data-mode=register] .astra-auth-brand{width:200px;margin-bottom:18px}
.astra-auth[data-mode=register] .astra-auth-description{margin-bottom:20px}
.astra-auth[data-mode=register] .astra-auth-field{margin-bottom:14px}
.astra-privacy-page{margin:0;background:#070b14;color:#f2f6ff;font:16px/1.85 Arial,'Microsoft JhengHei',sans-serif}
.astra-privacy-page main{max-width:760px;margin:48px auto;padding:28px 24px}
.astra-privacy-page img{width:220px;max-width:80%;height:auto}
.astra-privacy-page h1{font-size:30px;margin:32px 0 8px}.astra-privacy-page h2{font-size:20px;margin:32px 0 8px}
.astra-privacy-page p{color:#bfcee0}.astra-privacy-page a{color:#8bdfff}
@media(max-width:480px){.astra-auth[data-mode=register]{padding:30px 22px}.astra-auth-captcha{grid-template-columns:minmax(0,1fr) 128px;gap:8px}}
.astra-auth[data-mode=register] .astra-auth-field{margin-bottom:12px}
.astra-auth[data-mode=register] label{font-size:13px;margin-bottom:6px}
.astra-auth[data-mode=register] input:not([type=checkbox]){height:48px;min-height:48px}
.astra-auth[data-mode=register] .astra-auth-brand{width:180px;margin-bottom:14px}
.astra-auth[data-mode=register] .astra-auth-description{font-size:13px;margin-bottom:16px}
.astra-auth[data-mode=register] .astra-auth-password .astra-auth-toggle{height:40px}
/* Formal member form: restrained surfaces, a single primary action, clear focus. */
.astra-auth.astra-auth--formal{
 --auth-surface:#101a29;--auth-input:#0b1421;--auth-border:#40546e;
 width:min(480px,calc(100vw - 28px));padding:36px 38px 32px;
 background:var(--auth-surface);border:1px solid #30445f;outline:0!important;
 border-radius:16px;box-shadow:0 24px 72px #0009,0 2px 10px #0004;
 font-family:Mona,'Microsoft JhengHei',sans-serif;scrollbar-width:thin;scrollbar-color:#40546e transparent;
}
.astra-auth.astra-auth--formal::backdrop{background:#030812d9;backdrop-filter:none}
.astra-auth.astra-auth--formal .astra-auth-brand{width:202px;max-width:75%;height:auto;margin-bottom:28px}
.astra-auth.astra-auth--formal h2{font:650 26px/1.4 Mona,'Microsoft JhengHei',sans-serif;letter-spacing:0;color:#f3f6fb;margin-bottom:8px}
.astra-auth.astra-auth--formal .astra-auth-description{font-size:13px;line-height:1.75;color:#aabbd0;padding-bottom:22px;border-bottom:1px solid #293b52;margin-bottom:24px}
.astra-auth.astra-auth--formal .astra-auth-field{margin-bottom:18px}
.astra-auth.astra-auth--formal label{font-size:13px;font-weight:550;line-height:1.5;color:#dce6f3;margin-bottom:8px}
.astra-auth.astra-auth--formal input:not([type=checkbox]){height:50px;min-height:50px;border-color:var(--auth-border);border-radius:8px;background:var(--auth-input);color:#f0f5fc;font:400 15px/1.5 Mona,'Microsoft JhengHei',sans-serif;caret-color:#a2d6ff;outline:0;box-shadow:none}
.astra-auth.astra-auth--formal input::placeholder{color:#98abc3;font-size:14px}
.astra-auth.astra-auth--formal input:not([type=checkbox]):focus-visible{outline:0!important;border-color:#80b5e8;box-shadow:0 0 0 3px #73aff31c}
.astra-auth.astra-auth--formal input[aria-invalid=true]{border-color:#f08d9e}
.astra-auth.astra-auth--formal .astra-auth-close{width:36px;height:36px;border-radius:8px;right:14px;top:14px;color:#96aac4}
.astra-auth.astra-auth--formal .astra-auth-close:hover{background:#1b2a40;color:#edf5ff}
.astra-auth.astra-auth--formal .astra-auth-toggle{font-family:inherit;font-size:12px;font-weight:550;color:#a3c8ef;top:3px}
.astra-auth.astra-auth--formal .astra-auth-hint{font-size:11px;line-height:1.6;color:#9aafc9;margin-top:7px}
.astra-auth.astra-auth--formal .astra-auth-captcha button{border-color:var(--auth-border);background:var(--auth-input)}
.astra-auth.astra-auth--formal .astra-auth-captcha img{height:50px}
.astra-auth.astra-auth--formal .astra-auth-remember{font-size:12px!important;color:#aec0d6!important;font-weight:400;min-height:32px;margin-bottom:18px!important}
.astra-auth.astra-auth--formal input[type=checkbox]{accent-color:#5c92e4}
.astra-auth.astra-auth--formal .astra-auth-primary{min-height:50px;border:1px solid #4b7fd1;background:linear-gradient(110deg,#205fc3,#365ac7);color:#fff;font:650 14px/1.5 Mona,'Microsoft JhengHei',sans-serif;letter-spacing:.015em;box-shadow:inset 0 1px 0 #ffffff14}
.astra-auth.astra-auth--formal .astra-auth-primary:hover{background:#2e66cd;border-color:#77a0df}
.astra-auth.astra-auth--formal .astra-auth-secondary{min-height:46px;margin-top:10px;background:#142034;border:1px solid #30445f;color:#c0d0e5;font:550 14px/1.5 Mona,'Microsoft JhengHei',sans-serif;box-shadow:none}
.astra-auth.astra-auth--formal .astra-auth-secondary:hover{background:#1c2c43;color:#f3f7fe}
.astra-auth.astra-auth--formal button:focus-visible,.astra-auth.astra-auth--formal input[type=checkbox]:focus-visible,.astra-auth.astra-auth--formal a:focus-visible{outline:2px solid #89b9ed;outline-offset:3px}
.astra-auth.astra-auth--formal .astra-auth-error{padding:10px 12px;border:1px solid #704052;border-radius:8px;background:#2a1b2a;color:#ffbdc8;font-size:13px;line-height:1.6}
.astra-auth.astra-auth--formal[data-mode=register]{padding:28px 32px}
.astra-auth.astra-auth--formal[data-mode=register] .astra-auth-brand{width:180px;margin-bottom:18px}
.astra-auth.astra-auth--formal[data-mode=register] .astra-auth-description{padding-bottom:16px;margin-bottom:18px}
.astra-auth.astra-auth--formal[data-mode=register] .astra-auth-field{margin-bottom:12px}
.astra-auth.astra-auth--formal[data-mode=register] input:not([type=checkbox]){height:48px;min-height:48px}
.astra-auth.astra-auth--formal[data-mode=register] .astra-auth-privacy{font-size:12px!important;font-weight:400;color:#b9cae1;margin-bottom:16px!important}
.astra-auth.astra-auth--formal:not([data-mode=register]){padding:28px 36px 26px}
.astra-auth.astra-auth--formal:not([data-mode=register]) .astra-auth-brand{width:196px;margin-bottom:20px}
.astra-auth.astra-auth--formal:not([data-mode=register]) .astra-auth-description{padding-bottom:16px;margin-bottom:20px}
.astra-auth.astra-auth--formal:not([data-mode=register]) .astra-auth-field{margin-bottom:16px}
.astra-auth.astra-auth--formal:not([data-mode=register]) .astra-auth-remember{min-height:28px;margin-bottom:14px!important}
@media(max-width:480px){
 .astra-auth.astra-auth--formal{padding:30px 24px 26px;border-radius:14px}
 .astra-auth.astra-auth--formal .astra-auth-brand{width:184px;margin-bottom:24px}
 .astra-auth.astra-auth--formal h2{font-size:24px}
 .astra-auth.astra-auth--formal[data-mode=register]{padding:26px 22px}
 .astra-auth.astra-auth--formal[data-mode=register] .astra-auth-brand{width:168px;margin-bottom:14px}
 .astra-auth.astra-auth--formal[data-mode=register] .astra-auth-description{padding-bottom:14px;margin-bottom:16px}
}
