/* Shared visual polish only: forms, provider URLs and auth state remain unchanged. */
body{background-image:radial-gradient(ellipse at 12% 8%,#f8d5e780,transparent 45%),radial-gradient(ellipse at 90% 90%,#f6e3b580,transparent 42%);background-color:var(--page)}
body::before{content:"✦";position:fixed;inset:8% auto auto 8%;font-size:28px;color:#b18b4540;text-shadow:78vw 12vh #c77aab30,10vw 73vh #b18b4530,70vw 68vh #c77aab30;pointer-events:none;z-index:0}
main{position:relative;isolation:isolate;min-width:0;border-color:#d8b66b70;border-radius:28px;box-shadow:0 24px 80px #86576a20,0 0 0 7px #ffffff45;overflow-wrap:anywhere}
.auth-header{padding-bottom:16px;border-bottom:1px solid var(--line)}
.auth-header .brand{flex:1;min-width:0;max-width:calc(100% - 144px)}
.auth-preferences>button,.auth-preferences .theme-toggle,.auth-preferences .auth-font-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;min-width:44px;min-height:44px;padding:0;margin:0;white-space:nowrap}
.auth-preferences{gap:4px}
.tabs{border:1px solid var(--line)}
button.primary{background:linear-gradient(135deg,#a92d62,#8e315d);box-shadow:0 5px 14px #a92d6222}
button.primary:hover{background:#88214e}
:is(button,a,input,select):focus-visible{outline:3px solid var(--brand);outline-offset:4px}
html[data-site-mode=dark] body{background-image:radial-gradient(ellipse at 12% 8%,#5e2b4b55,transparent 45%),radial-gradient(ellipse at 90% 90%,#54412944,transparent 42%)}
html[data-site-mode=dark] main{box-shadow:0 24px 80px #0005,0 0 0 7px #ffffff05;border-color:#d8b66b55}
@media(max-width:360px){body{padding:16px 10px}main{padding:20px 16px;border-radius:22px}.auth-header{gap:8px}.brand{max-width:calc(100% - 92px)}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Invite signup candidate: compact white, rose and warm gold. */
body.auth-page{padding:28px 16px;background-color:#fff8fb}
body.auth-register main{width:min(620px,100%);padding:24px 30px;border-radius:24px}
.auth-page .auth-header{padding-bottom:12px}.auth-page .brand{width:164px}
.auth-page h1{margin-top:16px;font-size:1.65rem;letter-spacing:-.02em}.auth-page h2{font-size:1.22rem;line-height:1.45}
.auth-page .tabs{margin:18px 0 14px}.auth-page .tab{padding:9px 8px}
.auth-steps{display:flex;justify-content:space-between;gap:8px;list-style:none;padding:0;margin:0 0 16px;color:var(--muted);font-size:.78rem}
.auth-steps li{display:flex;align-items:center;gap:6px;min-width:0}.auth-steps span{display:inline-grid;place-items:center;width:24px;height:24px;flex:none;border:1px solid #d7b96f;border-radius:50%;background:#fff9e9;color:#826324;font-weight:700}
.auth-steps .current{color:var(--brand);font-weight:700}.auth-steps .current span{background:#a92d62;border-color:#a92d62;color:white}
.auth-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}.auth-field{min-width:0}.auth-page .auth-field label{margin:0 0 5px;font-size:.89rem}.auth-page .auth-field small{display:block;margin-top:4px;font-size:.76rem}
.auth-page input:not([type=checkbox]){min-height:44px;padding:9px 12px}.auth-page .invitation-banner{margin-top:14px;padding:12px 14px;border-color:#dbc486;background:linear-gradient(120deg,#fff9eb,var(--soft))}.auth-page .invitation-banner label{margin-top:8px;font-size:.82rem}.auth-page .invitation-banner p{margin:5px 0;font-size:.79rem}
.auth-page button.primary{min-height:46px;margin-top:16px;background:linear-gradient(120deg,#b83a73,#962958);box-shadow:0 5px 15px #a92d6228}.auth-page button[disabled]{cursor:wait}.auth-page button[disabled]:not([data-busy-label]){cursor:not-allowed}
.auth-footnote{font-size:.78rem!important;margin-top:12px!important}.auth-back{display:block;margin:18px 0 0;text-align:center;font-size:.85rem}.auth-page .resend{margin-top:16px;padding-top:12px}.auth-page .resend summary{cursor:pointer;color:var(--brand);font-size:.88rem}
.auth-result{text-align:center;padding:14px 0 8px}.auth-result-mark{display:inline-grid;place-items:center;width:54px;height:54px;border:1px solid #ddc387;border-radius:18px;background:#fff7e3;color:#a67922;font-size:1.8rem}.auth-result .help{font-size:.83rem}.auth-page .auth-result .provider{margin-top:18px}
html[data-site-mode=dark] body.auth-page{background-color:var(--page)}html[data-site-mode=dark] .auth-steps span,html[data-site-mode=dark] .auth-result-mark{background:#39312b;color:#f4d48c}html[data-site-mode=dark] .auth-page .invitation-banner{background:var(--soft)}
@media(min-width:540px){.auth-register .auth-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:539px){body.auth-page{padding:16px 10px;align-items:start}.auth-register main{padding:20px 18px;border-radius:20px}.auth-page h1{font-size:1.45rem}.auth-steps{font-size:.72rem;gap:5px}.auth-steps li{gap:4px}.auth-steps span{width:22px;height:22px}.auth-page .auth-header .brand{max-width:calc(100% - 144px)}}
