/* A welcoming academy gate around the existing account and admission forms. */
.entry-page.account-page {
 --gate-line:#e3dce9;
 --gate-muted:#766c7d;
 --gate-plum:#6d527c;
 min-height:100svh;
 padding-left:env(safe-area-inset-left,0px);
 padding-right:env(safe-area-inset-right,0px);
 color:var(--pixel-ink);
 background:#fff;
}
.account-page [hidden] {display:none!important}
.account-page .account-shell {width:min(100% - 64px,1140px);margin:0 auto;padding:28px 0 max(30px,env(safe-area-inset-bottom,0px))}
.account-page .account-skip {position:fixed;z-index:100;top:12px;left:12px;transform:translateY(-180%);padding:12px 16px;background:#fff;border:2px solid var(--gate-plum);color:var(--gate-plum);font-size:16px}
.account-page .account-skip:focus {transform:none}
.account-page .account-entry-heading {display:flex;align-items:center;justify-content:space-between;gap:24px;min-width:0;padding-bottom:24px;border-bottom:1px solid var(--gate-line)}
.account-page .account-brand {display:flex;align-items:center;gap:12px;min-width:0;max-width:100%;text-decoration:none;color:var(--pixel-ink);font-family:var(--heading);font-size:23px;line-height:1.4}
.account-page .account-crest {display:block;flex-shrink:0;width:44px;height:auto;aspect-ratio:640/608;overflow:hidden;border-radius:5px}
.account-page .account-crest image {image-rendering:pixelated}
.account-page .account-brand>span {min-width:0}
.account-page .account-brand small {display:block;margin-top:5px;font-family:var(--body);font-size:11px;line-height:1.6;color:var(--gate-muted);word-break:keep-all}
.account-page .account-nav {display:flex;align-items:center;gap:28px;flex-shrink:0}
.account-page .account-nav a {display:flex;align-items:center;min-height:44px;font-size:14px;line-height:1.6;text-decoration:none;color:var(--gate-muted);text-underline-offset:5px}
.account-page .account-nav a:hover {color:var(--gate-plum);text-decoration:underline}
.account-page .account-welcome {display:grid;grid-template-columns:minmax(0,1.3fr) minmax(340px,1fr);align-items:start;gap:clamp(32px,5vw,72px);padding:54px 0 64px}
.account-page .garden-invitation {min-width:0}
.account-page .garden-invitation h1 {margin:0 0 22px;font-family:var(--heading);font-size:clamp(37px,4.2vw,52px);font-weight:400;line-height:1.35;letter-spacing:0;word-break:keep-all}
.account-page .garden-invitation h1>span {color:#95749d}
.account-page .garden-intro {margin:0 0 25px;color:var(--gate-muted);font-size:16px;line-height:2;word-break:keep-all;overflow-wrap:anywhere}
.account-page .garden-mobile-break {display:none}
.account-page .garden-entry-actions {display:flex;flex-wrap:wrap;gap:12px}
.account-page .garden-enter {display:inline-flex;align-items:center;justify-content:center;gap:16px;min-width:0;min-height:50px;padding:12px 16px;border:1px solid transparent;border-image:none;border-radius:6px;box-shadow:none;font-family:var(--heading);font-size:18px;font-weight:400;line-height:1.5;text-decoration:none;text-align:center;white-space:normal;cursor:pointer}
.account-page .garden-enter-primary {background:var(--gate-plum);border-color:var(--gate-plum);color:#fff;box-shadow:0 3px 0 #e8dfee}
.account-page .garden-enter-primary:hover:not(:disabled) {background:#5f456e;border-color:#5f456e}
.account-page .garden-enter-secondary {background:#fff;border-color:#d9cce2;color:#695474}
.account-page .garden-enter-secondary:hover:not(:disabled) {background:#f8f4fb;border-color:#bda8ca}
.account-page .garden-enter:disabled {cursor:default;opacity:.55}
.account-page .garden-session-action {width:fit-content}
.account-page .garden-invitation-note {margin:13px 0 0;color:#86788f;font-size:12px;line-height:1.9;word-break:keep-all}
.account-page .entry-card.account-card {min-width:0;margin-top:12px;padding:28px;border:1px solid #d9cbe3;border-image:none;border-radius:10px;background:#fff;box-shadow:6px 6px 0 #f2edf6;scroll-margin-top:24px}
.account-page .account-window-heading {display:flex;align-items:center;gap:9px;margin:-28px -28px 25px;padding:13px 19px;border-bottom:1px solid #e4d9ed;border-radius:9px 9px 0 0;background:#f8f3fb;color:#8d789c;font-size:12px;line-height:1.7}
.account-page .account-window-heading>img {width:18px;height:18px;image-rendering:pixelated}
.account-page .account-window-heading>span:last-child {margin-left:auto;color:#b59fc2}
.account-page .account-card>h2 {margin:0 0 18px;font-family:var(--heading);font-size:26px;font-weight:400;line-height:1.5;text-align:center;letter-spacing:0}
.account-page .account-card>.entry-status {margin:0 0 17px;font-size:15px;line-height:1.95;color:var(--gate-muted);text-align:center;overflow-wrap:anywhere}
.account-page .entry-status:empty {display:none}
.account-page .account-form {display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.account-page .account-signup-note {margin:0 0 20px;color:var(--gate-muted);font-size:13px;line-height:1.9;word-break:keep-all}
.account-page .form-label {display:block;margin:0 0 6px;font-family:var(--body);font-size:15px;font-weight:400;line-height:1.8}
.account-page .account-form :is(input[type=text],input[type=password]) {display:block;width:100%;min-width:0;min-height:47px;margin:0 0 16px;padding:9px 12px;border:1px solid #d9cde2;border-image:none;border-radius:5px;background:#fdfbfe;color:var(--pixel-ink);box-shadow:inset 0 1px 2px #f6f1f9;font-family:var(--body);font-size:17px;font-weight:400;line-height:1.6;scroll-margin-block:24px}
.account-page .account-form :is(input[type=text],input[type=password]):focus {border-color:#9b7ab0;border-image:none;background:#fff;box-shadow:0 0 0 3px #f1e9f8}
.account-page .account-form input:disabled {background:#f6f3f8;color:var(--gate-muted);opacity:1}
.account-page .account-form input[aria-invalid=true] {border-color:#985878;box-shadow:0 0 0 1px #985878}
.account-page .account-form .full,.account-page #entryActions>.full {display:flex;justify-content:center;align-items:center;width:100%;min-width:0;min-height:48px;margin:0;padding:11px 12px;border:1px solid #cbb6d9;border-image:none;border-radius:5px;background:#ece1f4;color:#5b436c;box-shadow:0 2px 0 #e4d7ec;font-size:18px;line-height:1.5;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:anywhere}
.account-page .account-form .secondary,.account-page #entryActions>.secondary {background:#fff;border-color:#ded4e5;box-shadow:none;font-size:15px;color:#786483}
.account-page .account-form .full:hover:not(:disabled),.account-page #entryActions>.full:hover:not(:disabled) {border-image:none;background:#e6d7f0}
.account-page .account-form .secondary:hover:not(:disabled),.account-page #entryActions>.secondary:hover:not(:disabled) {background:#faf7fc}
.account-page .account-form .full+.full {margin-top:10px}
.account-page #entryActions>.full {margin-top:14px}
.account-page .account-field-note {margin:-9px 0 16px;font-size:12px;line-height:1.9;color:var(--gate-muted);overflow-wrap:anywhere}
.account-page .account-recovery {margin:20px 0 0;padding-top:16px;border-top:1px solid #eee7f3;font-size:12px;line-height:2;text-align:center;color:var(--gate-muted)}
.account-page #accountSetupNote {margin:0 0 18px;padding:12px;border:1px solid #e3d7ec;border-radius:5px;background:#faf6fd;text-align:left}
.account-page .error-text {margin:12px 0 0;color:#8b456b;font-size:14px;line-height:1.9;overflow-wrap:anywhere}
.account-page .error-text:empty {display:none}
.account-page .error-text:focus {outline:2px solid #79445f;outline-offset:4px;scroll-margin-block:24px}
.account-page .account-admission-note,.account-page .account-availability {font-size:14px;line-height:1.9;margin:0 0 16px;color:var(--gate-muted)}
.account-page .account-availability {padding:10px 12px;background:#f7f9f4;border-radius:5px}
.account-page .account-availability b {margin-left:8px;color:#657750;font-weight:400}
.account-page .consent {display:flex;align-items:flex-start;gap:10px;margin:0 0 16px;min-height:44px;font-family:var(--body);font-size:14px;line-height:1.95;color:var(--pixel-ink)}
.account-page .consent span {min-width:0;overflow-wrap:anywhere}
.account-page .consent input {width:18px;height:18px;min-width:18px;margin:5px 0 0;accent-color:#8f6ba4}
.account-page .account-admission-guide {margin-top:22px;padding-top:10px;border-top:1px solid var(--gate-line);color:var(--gate-muted)}
.account-page .account-admission-guide summary {display:flex;align-items:center;min-height:44px;font-size:14px;cursor:pointer}
.account-page .account-admission-guide summary::before {content:'+';margin-right:10px;font-family:var(--heading);font-size:18px}
.account-page .account-admission-guide[open] summary::before {content:'−'}
.account-page .account-admission-guide p {margin:0 0 12px;font-size:14px;line-height:1.95;overflow-wrap:anywhere}
.account-page .account-session {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:4px 12px;margin-top:22px;padding-top:12px;border-top:1px solid var(--gate-line)}
.account-page .account-session span {min-width:0;overflow-wrap:anywhere;font-size:12px;color:var(--gate-muted)}
.account-page .account-session .text-button {min-height:44px;flex-shrink:0;padding:7px 0;font-size:14px}
.account-page .account-noscript {padding:16px;font-size:16px;line-height:1.9;border:1px solid var(--gate-line)}
@media(max-width:1020px){
 .account-page .account-shell {width:calc(100% - 48px)}
 .account-page .account-welcome {gap:32px;grid-template-columns:minmax(0,1fr) minmax(320px,.95fr)}
 .account-page .garden-invitation h1 {font-size:40px}
 .account-page .garden-entry-actions {flex-direction:column;align-items:stretch}
 .account-page .garden-enter {justify-content:space-between}
}
@media(max-width:760px){
 .account-page .account-shell {width:min(100% - 36px,560px);padding-top:20px}
 .account-page .account-entry-heading {flex-wrap:wrap;gap:12px;padding-bottom:14px}
 .account-page .account-brand {font-size:22px}
 .account-page .account-brand small {font-size:10px}
 .account-page .account-nav {gap:24px;margin-left:56px}
 .account-page .account-nav a {min-height:36px;font-size:13px}
 .account-page .account-welcome {grid-template-columns:minmax(0,1fr);gap:30px;padding:32px 0 38px}
 .account-page .garden-invitation h1 {font-size:42px;margin-bottom:18px}
 .account-page .garden-intro {font-size:16px;line-height:1.95;margin-bottom:23px}
 .account-page .garden-entry-actions {flex-direction:row}
 .account-page .garden-enter {flex:1 1 auto;justify-content:center;gap:10px;font-size:17px;padding:12px 13px}
 .account-page .garden-invitation-note {font-size:12px}
 .account-page .entry-card.account-card {margin-top:0;padding:24px;box-shadow:4px 4px 0 #f2edf6}
 .account-page .account-window-heading {margin:-24px -24px 23px;padding:12px 18px}
 .account-page .account-card>.entry-status {font-size:16px;line-height:1.95}
 .account-page .account-form :is(input[type=text],input[type=password]) {min-height:49px;font-size:18px}
 .account-page .form-label {font-size:16px}
 .account-page .account-field-note,.account-page .account-recovery {font-size:13px}
 .account-page .account-form .full {min-height:50px}
 .account-page :is(.account-admission-note,.account-availability,.consent,.account-admission-guide p,.error-text) {font-size:16px;line-height:1.95}
 .account-page .account-admission-guide summary {font-size:16px}
}
@media(max-width:390px){
 .account-page .account-shell {width:calc(100% - 28px)}
 .account-page .account-brand {font-size:21px;gap:10px}
 .account-page .account-crest {width:40px}
 .account-page .account-nav {margin-left:50px;gap:20px}
 .account-page .garden-invitation h1 {font-size:36px}
 .account-page .garden-mobile-break {display:block}
 .account-page .garden-entry-actions {flex-direction:column;gap:10px}
 .account-page .garden-enter {justify-content:space-between;padding-inline:16px}
 .account-page .entry-card.account-card {padding:22px 18px}
 .account-page .account-window-heading {margin:-22px -18px 22px}
}
@media(prefers-reduced-motion:reduce){
 .account-page,.account-page * {scroll-behavior:auto!important}
}
