/* Forms are opened on their own URL, never displayed on the welcome screen. */
#account-page[data-account-view="welcome"] #account-forms,#account-page[data-account-view="welcome"] #account-notice{display:none!important}
#account-page:not([data-account-view="welcome"])>.about-hero{display:none}
#account-page[data-account-view="create"] #account-forms>.account-panel:nth-child(2),#account-page[data-account-view="signin"] #account-forms>.account-panel:first-child,#account-page[data-account-view="reset"] #account-forms>.account-panel:first-child{display:none!important}
#account-page:not([data-account-view="welcome"])>.section{max-width:620px;margin-inline:auto;padding:36px 6%}
#account-page[data-account-view="create"] .account-grid,#account-page[data-account-view="signin"] .account-grid{grid-template-columns:minmax(0,1fr)}
#account-page[data-account-view="welcome"]>.section:has(#account-signedin[hidden]){padding-block:0}

/* Keep password visibility easy to find and tap on phones. */
#account-page .account-panel label.password-visibility{display:flex;align-items:center;gap:12px;min-height:48px;padding:12px 14px;margin:0 0 16px;border:1px solid #70557f;border-radius:8px;background:#eee8f2;color:#24172f;font-size:16px;font-weight:600;line-height:1.5;cursor:pointer}
#account-page .password-visibility input[type=checkbox]{flex:0 0 22px;width:22px;height:22px;margin:0;padding:0;accent-color:#4d345e}
#account-page .password-visibility:focus-within{outline:3px solid #957035;outline-offset:3px}
#account-page .password-visibility:has(input:checked){background:#e1ebdf;border-color:#486644}

#account-page[data-account-view="welcome"] #account-confirmation,#account-page[data-account-view="reset"] #account-confirmation{display:none!important}
#account-confirmation{margin-top:24px;scroll-margin-top:24px}
