/* Restore the balanced access form from before the application redesign.
   Only login/signup use this layout; recovery and authenticated pages keep theirs. */
html:not([data-app-restoring]) body:not(.browsing-materials) .auth-panel:has(>.auth-card:not(.recovery)) {
  width:100%; max-width:440px; min-width:0; justify-self:center; padding:8px 0;
}
html body .auth-card:not(.recovery) {
  padding:0 8px; border:0; border-radius:0; background:none; box-shadow:none;
}
html body .auth-card:not(.recovery) .auth-tabs {
  background:#181a1c; border:1px solid #25282a; border-radius:14px;
  padding:5px; gap:6px; margin-bottom:33px;
}
html body .auth-card:not(.recovery) .tab {
  height:43px; min-height:44px; border-radius:9px; font-size:14px; font-weight:850;
}
html body .auth-card:not(.recovery) .tab.active {
  background:#303430; color:var(--green); box-shadow:0 2px 3px #0005;
}
html body .auth-card:not(.recovery) .tab:hover:not(.active) { color:#fff; background:#232628; }
html body .auth-card:not(.recovery) .auth-intro { margin-bottom:24px; }
html body .auth-card:not(.recovery) .auth-eyebrow {
  display:block; margin-bottom:11px; font-size:10px; font-weight:900; letter-spacing:1.9px;
}
html body .auth-card:not(.recovery) .auth-intro h2 {
  font-size:30px; font-weight:950; letter-spacing:-.8px; line-height:1.2; margin:0 0 9px;
}
html body .auth-card:not(.recovery) .auth-intro p { font-size:14px; line-height:1.7; margin:0; }
html body .auth-card:not(.recovery) .social-buttons { gap:12px; }
html body .auth-card:not(.recovery) .social-button {
  background:#161819; border:1px solid #373b3c; border-bottom-width:3px;
  border-radius:12px; height:48px; min-height:44px; font-size:13px; font-weight:850;
}
html body .auth-card:not(.recovery) .divider { font-size:11px; margin:24px 0; }
html body .auth-card:not(.recovery) .field { margin-bottom:18px; }
html body .auth-card:not(.recovery) .field-label-row label { font-size:13px; font-weight:850; }
html body .auth-card:not(.recovery) .input-wrap {
  background:#171a1b; border:1.5px solid #343839; border-radius:12px; height:51px;
}
html body .auth-card:not(.recovery) .input-wrap:focus-within { border-color:var(--green); }
html body .auth-card:not(.recovery) .input-wrap:has(input[aria-invalid=true]) { border-color:var(--red); }
html body .auth-card:not(.recovery) .input-wrap input { font-size:14px; }
html body .auth-card:not(.recovery) .check-row { font-size:12px; line-height:1.65; }
html body .auth-card:not(.recovery) form>.primary-button {
  min-height:51px; border:0; border-bottom:5px solid var(--green-shadow);
  border-radius:12px; padding:12px 15px; font-size:14px; font-weight:950; letter-spacing:.2px;
}
html body .auth-card:not(.recovery) form>.primary-button:active {
  transform:translateY(3px); border-bottom-width:2px; padding-bottom:15px;
}
@media(max-width:900px) {
  html:not([data-app-restoring]) body:not(.browsing-materials) .auth-panel:has(>.auth-card:not(.recovery)) { padding:0; }
  html body .auth-card:not(.recovery) { padding:0; }
  html body .auth-card:not(.recovery) .auth-tabs { margin-bottom:27px; }
  html body .auth-card:not(.recovery) .auth-intro h2 { font-size:29px; }
  html body .auth-card:not(.recovery) .input-wrap input { font-size:16px; }
}
@media(max-width:450px) {
  html body .auth-card:not(.recovery) .auth-intro h2 { font-size:27px; }
  html body .auth-card:not(.recovery) .auth-eyebrow { font-size:9px; letter-spacing:1.4px; }
}
