/* WikiStore 4.9.820 — compact account surface, same Workspace palette. */
body.auth-page { background: radial-gradient(ellipse at 24% 35%, #16213365, transparent 54%), #0d1015; }
.auth-page .auth-topbar { min-height: 64px; padding-block: 12px; background: #0d1015cf; }
.auth-page .auth-shell { min-height: calc(100svh - 64px); padding: 20px 24px; }
.auth-page .auth-stage { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); width: min(100%, 1120px); gap: clamp(40px, 6vw, 86px); }
.auth-page .auth-context { padding: 0; }
.auth-page .auth-context-kicker { margin-bottom: 18px; }
.auth-page .auth-context h2 { font-size: clamp(32px, 3.4vw, 46px); }
.auth-page .auth-context > p { font-size: 14px; line-height: 1.75; margin-top: 18px; }
.auth-page .auth-context-list { margin-top: 28px; }
.auth-page .auth-context-list > div { padding: 15px 0; gap: 14px; }
.auth-page .auth-context-foot { margin-top: 18px; }
.auth-page .auth-card { padding: 24px; border-radius: 20px; border-color: #354252; background: linear-gradient(145deg, #18202bcc, #121820f2 65%); box-shadow: 0 20px 65px #0003, 0 1px 0 #ffffff06 inset; }
.auth-page .auth-mode { margin-bottom: 16px; border-radius: 12px; padding: 4px; }
.auth-page .auth-mode a { min-height: 34px; border-radius: 8px; transition: background .16s ease, color .16s ease; }
.auth-page .auth-mode a[aria-current='page'] { background: #28374b; border-color: #465b77; }
.auth-page .auth-copy { margin-bottom: 16px; }
.auth-page .auth-copy h1 { font-size: 26px; line-height: 1.2; }
.auth-page .auth-copy p { margin-top: 6px; line-height: 1.5; }
.auth-page .auth-oauth-btn { min-height: 42px; padding: 9px 12px; border-radius: 10px; }
.auth-page .auth-divider { margin: 14px 0; }
.auth-page .auth-form, .auth-page .auth-step-group { display: grid; gap: 12px; min-width: 0; }
.auth-page .auth-field { gap: 6px; }
.auth-page .auth-form-row { gap: 12px; }
.auth-page .auth-form input:not([type='hidden']):not([type='checkbox']) { height: 42px; padding: 10px 12px; border-radius: 10px; }
.auth-page .auth-field > label, .auth-page .auth-label-row label { font-size: 12px; }
.auth-page .auth-field-help { font-size: 10px; line-height: 1.4; }
.auth-page .auth-password-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; }
.auth-page .auth-password-field { min-height: 42px; grid-template-columns: minmax(0, 1fr) 36px; border-radius: 10px; }
.auth-page .auth-password-field > input:not([type='hidden']):not([type='checkbox']) { height: 40px; padding-right: 3px; }
.auth-page .auth-password-toggle { width: 34px; height: 34px; border-radius: 7px; }
.auth-page .auth-password-strength { gap: 5px; }
.auth-page .auth-password-strength p { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.auth-page .auth-strength-head { font-size: 10px; gap: 6px; }
.auth-page .auth-match-hint { min-height: 16px; font-size: 10px; line-height: 1.4; }
.auth-page .auth-remember-card { align-items: center; margin: 0; }
.auth-page .auth-remember-copy { gap: 2px; }
.auth-page .auth-remember-copy small { font-size: 10px; line-height: 1.4; }
.auth-page .auth-remember-copy b { font-size: 11px; font-weight: 500; }
.auth-page .auth-remember-check { margin-top: 0; }
.auth-page .auth-primary-btn { min-height: 44px; padding: 10px 15px; border-radius: 10px; border-color: #7da3d6; background: linear-gradient(180deg, #628bc0, #4c73a7); box-shadow: 0 1px 0 #ffffff18 inset, 0 5px 16px #0002; }
.auth-page .auth-primary-btn:hover { background: linear-gradient(180deg, #719ad0, #567fb5); }
.auth-page .auth-primary-btn:active { transform: translateY(1px); }
.auth-page .auth-alert { margin-bottom: 12px; padding: 10px 12px; font-size: 12px; }
.auth-page .auth-foot { margin-top: 16px; padding-top: 12px; font-size: 10px; }
.auth-page .auth-step-meter { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; color: #7f8d9f; font-size: 11px; }
.auth-page .auth-step-meter span { display: inline-flex; align-items: center; gap: 6px; }
.auth-page .auth-step-meter b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #202a39; color: #92a2b9; font-size: 10px; }
.auth-page .auth-step-meter [aria-current='step'] { color: #d9e6f7; }
.auth-page .auth-step-meter [aria-current='step'] b { background: #385377; color: #e9f2ff; }
.auth-page .auth-step-actions { display: flex; align-items: center; gap: 10px; }
.auth-page .auth-step-actions .auth-primary-btn { flex: 1; }
.auth-page .auth-step-back { border: 1px solid #344459; border-radius: 10px; background: #192332; color: #b8c8de; min-height: 44px; padding: 8px 13px; font-size: 12px; }
.auth-page .auth-quick-card { padding: 14px; margin-bottom: 12px; }
.auth-page .auth-quick-head { margin-bottom: 10px; }
.auth-page .auth-quick-account { margin-bottom: 10px; }
.auth-page .auth-quick-primary { min-height: 42px; padding: 9px 12px; }
.auth-page .auth-quick-forget { margin-top: 8px; }
@media (min-width: 961px) and (max-height: 800px) {
  .auth-page .auth-shell { padding-block: 12px; }
  .auth-page .auth-card { padding: 20px; }
  .auth-page .auth-mode { margin-bottom: 12px; }
  .auth-page .auth-copy { margin-bottom: 12px; }
  .auth-page .auth-copy h1 { font-size: 24px; }
  .auth-page .auth-divider { margin: 11px 0; }
  .auth-page .auth-form, .auth-page .auth-step-group { gap: 10px; }
  .auth-page .auth-field-help { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .auth-page .auth-foot { margin-top: 12px; padding-top: 10px; }
}
@media (max-width: 960px) {
  .auth-page .auth-stage { grid-template-columns: minmax(0, 500px); gap: 0; }
  .auth-page .auth-shell { padding: 18px 20px; }
}
@media (max-width: 620px) {
  .auth-page .auth-topbar { min-height: 60px; padding: 10px max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left)); }
  .auth-page .auth-shell { min-height: calc(100svh - 60px); padding: 16px max(14px, env(safe-area-inset-right)) calc(16px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left)); align-items: center; }
  .auth-page .auth-card { padding: 20px; border-radius: 18px; }
  .auth-page .auth-mode { margin-bottom: 14px; }
  .auth-page .auth-copy h1 { font-size: 25px; }
  .auth-page .auth-copy p { font-size: 12px; }
  .auth-page .auth-form input:not([type='hidden']):not([type='checkbox']) { font-size: 16px; height: 44px; }
  .auth-page .auth-password-field { min-height: 44px; }
  .auth-page .auth-password-field > input:not([type='hidden']):not([type='checkbox']) { height: 42px; }
  .auth-page .auth-password-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .auth-page .auth-remember-copy small { max-width: 290px; }
}
@media (max-width: 359px) {
  .auth-page .auth-card { padding: 17px; }
  .auth-page .auth-form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .auth-page .sx-public-nav > a { padding-inline: 8px; }
}
@media (max-height: 560px) {
  .auth-page .auth-shell { align-items: start; padding-block: 12px; }
  .auth-page .auth-copy p { display: none; }
  .auth-page .auth-context-list, .auth-page .auth-context-foot { display: none; }
}
