body:is([data-page="login"], [data-page="account"]) #app {
  --directory-max-width: 1160px;
  --directory-gutter: 28px;
  --content-inset: max(var(--directory-gutter), (100% - var(--directory-max-width)) / 2);
  --content-inset-end: var(--content-inset);
}
.web-account-trigger { color: var(--accent-text); }
.web-account-trigger.selected { background: var(--accent-wash); }
.web-account-page { margin-inline: var(--content-inset) var(--content-inset-end); padding-block: 18px 36px; }
.web-account-back { margin-bottom: 14px; }
.web-auth-stage { display: grid; min-height: 490px; place-items: center; padding: clamp(20px, 4vw, 49px); border-block: 1px solid var(--line); }
.web-auth-panel { width: min(100%, 352px); min-width: 0; }
.web-auth-panel header { margin-bottom: 27px; }
.web-auth-panel h1 { font-size: clamp(1.65rem, 4vw, 2.55rem); letter-spacing: -.045em; line-height: 1.24; overflow-wrap: anywhere; }
.web-auth-panel header p { margin-top: 7px; font-size: 15px; overflow-wrap: anywhere; }
.web-auth-methods, .web-auth-form { display: grid; gap: 9px; }
.web-auth-method { display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px; border: 1px solid var(--strong-line); border-radius: 8px; background: #fff; color: #1f232b; font-size: 15px; font-weight: 650; }
.web-auth-method:hover:not(:disabled) { background: #f3f4f7; }
.web-auth-method.apple { background: #15161b; color: #fff; border-color: #15161b; }
.web-auth-method.apple:hover:not(:disabled) { background: #363942; }
.web-auth-method.email { background: var(--hover); color: var(--ink); }
.web-auth-form .field { margin: 0; }
.web-auth-form input { min-height: 44px; font-size: 16px; }
.web-auth-form > .button { min-height: 44px; }
.web-auth-error { margin: 9px 0 0; color: var(--negative); font-size: 14px; }
.web-auth-mode { margin-top: 23px; padding-top: 15px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.web-auth-mode .text-button, .web-auth-links .text-button { font-size: 14px; }
.web-auth-links { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; }
.web-auth-provider { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; font-size: 14px; }
.web-auth-local { margin-bottom: 16px; }

@media (max-width: 740px) {
  .web-auth-stage { min-height: 390px; }
}
@media (max-width: 650px) {
  body:is([data-page="login"], [data-page="account"]) #app { --directory-gutter: 15px; }
  .web-auth-stage { padding-inline: 12px; }
}
