.account-main{width:min(100%,460px);margin:0 auto;padding:48px 24px 64px}
.account-main h1{font-size:28px;font-weight:500;line-height:1.2;letter-spacing:-.025em;margin:0 0 14px}
.account-main h2{font-size:24px;font-weight:500;line-height:1.2;letter-spacing:-.025em;margin:0 0 14px}
.account-main.account-embedded{margin:24px 0 0;padding:0}
.account-receipt{font-size:13px;color:var(--red-text);margin-bottom:8px}
.account-main p.account-note{font-size:13px;margin-top:8px}
.account-main .account-email-option{margin:24px 0 18px}
.account-main .account-email-option summary{cursor:pointer;color:var(--muted);min-height:44px;display:list-item;align-content:center}
.account-main .account-email-option summary:focus-visible{outline:2px solid var(--red-text);outline-offset:4px}
.account-main .account-email-option[open] summary{color:var(--ink)}
#request-email-sign-in{margin-top:22px}
#request-email-sign-in summary{min-height:44px;align-content:center;color:var(--muted)}
.account-main p{color:var(--muted);margin:0 0 18px}
.account-main label{display:block;font-size:14px;margin:18px 0 7px}
.account-main input,.account-main select{appearance:none;color-scheme:dark;background:var(--bg-deep);color:var(--ink);border:1px solid var(--line);border-radius:2px;width:100%;min-height:44px;padding:10px 12px;font:inherit}
.account-main button,.account-main a.account-primary{font:inherit;min-height:44px;border-radius:2px;cursor:pointer}
.account-main .account-primary{display:flex;align-items:center;justify-content:center;width:100%;margin-top:22px;padding:10px 16px;border:1px solid var(--red);background:var(--accent);color:var(--accent-ink);font-weight:600;text-decoration:none}
.account-main .account-quiet{display:block;background:transparent;border:1px solid transparent;color:var(--muted);padding:8px 0;margin-top:8px;text-align:left}
.account-main button:disabled{opacity:.55;cursor:wait}
.account-main button:not(:disabled):hover,.account-main a:hover{filter:brightness(1.1)}
.account-main :focus-visible{outline:2px solid var(--red);outline-offset:3px}
#account-status{font-size:14px;min-height:24px;margin:18px 0 0;overflow-wrap:anywhere}
.account-main .account-qr{display:block;width:min(208px,100%);height:auto;margin:22px auto 16px;background:white;border:8px solid white}
.account-main details{margin:12px 0}.account-main summary{min-height:32px;cursor:pointer;color:var(--muted);font-size:14px}
.account-main .account-secret{font:14px/1.5 monospace;overflow-wrap:anywhere;user-select:all;color:var(--ink);padding-top:8px}
@media(max-width:340px){.account-main{padding:28px 16px 44px}.account-main h1{font-size:25px}}
@media(prefers-reduced-motion:no-preference){.account-main button{transition:filter .12s ease}}

#account-cancel[hidden]{display:none}

/* The request wizard shares the account choice styling without changing other pages. */
.request-access-page #request-details:not([hidden]),.request-access-page #request-account:not([hidden]){display:grid;gap:22px}
.request-access-page #request-account>p{margin:0}
.request-access-page #connect-google{display:flex;justify-content:center;width:100%}
.request-access-page #back-request,.request-access-page #change-account-email{justify-self:start;background:transparent;border:1px solid transparent;border-radius:2px;color:var(--muted);font:inherit;min-height:44px;padding:8px 0;text-align:left;cursor:pointer}
.request-access-page #back-request{margin-top:24px}
.request-access-page #back-request:hover,.request-access-page #change-account-email:hover{color:var(--ink)}
.request-access-page #back-request:focus-visible,.request-access-page #change-account-email:focus-visible{outline:2px solid var(--red);outline-offset:3px}
.request-access-page #back-request:disabled{opacity:.55;cursor:wait}
@media(max-width:700px){.request-access-page #request-details:not([hidden]),.request-access-page #request-account:not([hidden]){gap:20px}}

/* The account flow shares the stone scene and compact controls of the public site. */
.public-presentation.account-page main.account-main:not(.account-embedded){width:min(520px,calc(100% - 36px));margin:56px auto 64px;padding:32px;border:1px solid var(--line);border-radius:12px;background:#1c2025e8;box-shadow:0 24px 80px #0003;backdrop-filter:blur(12px)}
.public-presentation.account-page .account-main :is(h1,h2){font-family:"Segoe UI Variable","Segoe UI",system-ui,sans-serif;font-weight:550}
.public-presentation.account-page .account-main h1{font-size:32px;letter-spacing:-.035em}
.account-page .account-main h2{font-size:26px}
.account-page .account-main input,.account-page .account-main select{border-radius:6px;background:#111519a8;border-color:#ffffff2b}
.public-presentation.account-page .account-main .account-primary{border-radius:6px;background:#ef625a;border-color:#ef625a;color:#151719;min-height:46px}
.account-page .account-main .account-quiet{border-radius:6px;color:var(--muted)}
.account-page #account-screen:empty{min-height:80px}
.account-page #account-status:empty{min-height:0;margin:0}
.account-page .account-main :is(h1,h2)[tabindex="-1"]:focus{outline:none}
.account-page .account-main details{padding:12px 0;border-top:1px solid var(--line)}
.account-page .account-main .account-qr{border-radius:6px}
@media(max-width:540px){.public-presentation.account-page main.account-main:not(.account-embedded){margin:28px auto 40px;padding:24px 20px}.account-page .account-main h1{font-size:28px}}
@media(prefers-reduced-transparency:reduce){.account-page .account-main{background:#1c2025;backdrop-filter:none}}
