:root { color-scheme: light; font-family: system-ui,-apple-system,"Segoe UI",sans-serif; color: #252343; background: #f7f6fc; }
* { box-sizing: border-box; }
.account-body { margin: 0; line-height: 1.6; }
.account-body a { color: #5636aa; }
.account-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 22px max(20px,5vw); background: #252047; color: white; }
.account-header a { color: white; text-decoration: none; padding: 8px 0; min-height: 44px; }
.account-brand { font-size: 22px; font-weight: 800; }
.account-back { font-size: 16px; text-decoration: underline !important; }
.account-layout { max-width: 1100px; margin: 64px auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.account-eyebrow { color: #5f4896; font-weight: 700; letter-spacing: .12em; font-size: 14px; }
.account-intro h1 { font-size: clamp(28px,4vw,42px); line-height: 1.2; letter-spacing: -.035em; margin: 16px 0 24px; }
.account-intro > p:not(.account-eyebrow) { color: #51495f; font-size: 18px; }
.account-local-note { background: #eae5fb; border-radius: 16px; padding: 20px; margin-top: 32px; font-size: 16px; }
.account-local-note p { margin-bottom: 0; }
.account-card { border: 1px solid #dfd9ed; border-radius: 24px; background: white; padding: 28px; box-shadow: 0 12px 36px #2520470a; min-width: 0; }
.account-card h2 { font-size: 26px; line-height: 1.3; margin: 0 0 8px; }
.account-card p { margin-top: 12px; }
.account-card form { margin-top: 24px; display: grid; gap: 20px; }
.account-card label { display: block; font-size: 16px; font-weight: 650; }
.account-card input { display: block; width: 100%; font: inherit; font-size: 16px; color: #252343; background: white; border: 1px solid #9589a9; padding: 12px; min-height: 48px; border-radius: 10px; margin-top: 6px; }
.account-card button { font: inherit; font-weight: 650; cursor: pointer; min-height: 48px; border-radius: 10px; border: 0; padding: 12px 16px; }
.account-primary { color: white; background: #6241bd; width: 100%; }
.account-secondary { color: #51328f; background: #eee9fc; }
.account-link { background: transparent; color: #51328f; text-decoration: underline; padding-left: 0 !important; padding-right: 0 !important; text-align: left; }
.account-switches { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 20px; }
.account-message { font-size: 16px; border-radius: 10px; padding: 14px; background: #eee9fc; color: #433566; overflow-wrap: anywhere; }
.account-message.error { background: #ffe5e9; color: #8c233c; }
.account-message.success { background: #def6e8; color: #145c3b; }
.account-hint { color: #51495f; font-size: 16px; }
.account-email { overflow-wrap: anywhere; font-weight: 700; }
.account-footer { max-width: 1100px; padding: 0 24px 32px; margin: 0 auto; color: #51495f; font-size: 16px; }
.account-password-toggle { margin-top: 6px; background: #f1edf8; color: #51328f; }
.account-card button:disabled,.account-card input:disabled { opacity: .65; cursor: not-allowed; }
.account-body :where(a,button,input):focus-visible,.account-card:focus-visible { outline: 3px solid #5b21b6; outline-offset: 4px; }
.account-header a:focus-visible { outline-color: #ffe29a; }
.account-skip { position: absolute; top: -100px; padding: 12px; background: white; z-index: 2; }
.account-skip:focus { top: 8px; left: 8px; }
.account-no-script { padding: 20px; }
.account-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; max-width: 100%; margin-top: 12px; font-size: 14px; }
.account-summary span { overflow-wrap: anywhere; }
.account-summary a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 10px; background: #eee9fc; color: #51328f; font-weight: 700; text-decoration: none; }
@media (max-width: 767px) {
  .account-layout { grid-template-columns: 1fr; gap: 28px; margin: 28px auto; padding: 0 16px; }
  .account-local-note { margin-top: 20px; }
  .account-card { padding: 24px 20px; border-radius: 18px; }
  .account-intro h1 { max-width: 20ch; }
}
