/* Compact account forms, scoped to authentication pages and the shared theme palette. */
/* Local SVG is a decorative mask so its ink follows the selected theme primary color. */
.sp-account-page {
 position:relative;
 isolation:isolate;
 background:var(--sp-background);
 background-image:
  radial-gradient(ellipse at 0% 12%,color-mix(in srgb,var(--sp-primary) 9%,transparent),transparent 48%),
  radial-gradient(ellipse at 100% 80%,color-mix(in srgb,var(--sp-secondary,var(--sp-primary)) 7%,transparent),transparent 48%);
 padding:clamp(1.5rem,3vw,2.5rem) 1.25rem;
}
/* .sp-account-page::before {
 content:'';
 position:absolute;
 z-index:0;
 pointer-events:none;
 inset:auto 0 0;
 height:clamp(15rem,30vw,27rem);
 background:var(--sp-primary);
 opacity:.13;
 -webkit-mask:url('../images/account-neighbourhood.svg') center bottom / max(100%,960px) auto no-repeat;
 mask:url('../images/account-neighbourhood.svg') center bottom / max(100%,960px) auto no-repeat;
}
.sp-account-page > .sp-auth { position:relative; z-index:1; }
@media(max-width:600px) {
 .sp-account-page::before { opacity:.07; height:15rem; }
}
@media(forced-colors:active) {
 .sp-account-page { background-image:none; }
 .sp-account-page::before { display:none; }
} */
.sp-auth { width:min(100%,32rem); margin-inline:auto; color:var(--sp-text); font-size:.9375rem; line-height:1.5; }.sp-auth * { box-sizing:border-box; min-width:0; }.sp-auth :is(h1,p,form) { margin:0; }.sp-auth [hidden] { display:none!important; }.sp-auth h1 { color:var(--sp-heading); font-size:clamp(1.5rem,2.5vw,1.875rem); font-weight:800; line-height:1.18; letter-spacing:-.04em; }.sp-auth a { color:var(--sp-primary-ink); text-underline-offset:3px; }.sp-auth :is(a,button,input):focus-visible { outline:3px solid var(--sp-focus); outline-offset:3px; }.sp-auth-icon { display:inline-block; width:1.5rem; height:1.5rem; flex:none; vertical-align:middle; }
.sp-auth-card { padding:clamp(1.25rem,2.5vw,1.75rem); border:1px solid var(--sp-border); border-radius:12px; background:var(--sp-surface); box-shadow:0 12px 36px color-mix(in srgb,var(--sp-heading) 4%,transparent); }
.sp-auth-tabs { display:grid; grid-template-columns:1fr 1fr; gap:.25rem; padding:.25rem; background:var(--sp-surface-alt); border:1px solid var(--sp-border); border-radius:7px; margin-bottom:1.25rem; }.sp-auth-tabs a { display:flex; justify-content:center; align-items:center; min-height:44px; padding:.5rem; border-radius:5px; color:var(--sp-heading); text-decoration:none; font-size:1rem; font-weight:650; }.sp-auth-tabs [aria-current] { background:var(--sp-primary); color:var(--sp-on-primary); }
.sp-auth-heading { text-align:center; }.sp-auth--register .sp-auth-heading { text-align:left; }.sp-auth-mail { display:grid; place-items:center; width:3.5rem; height:3.5rem; margin:0 auto .875rem; border-radius:50%; background:var(--sp-primary-soft); color:var(--sp-primary); }.sp-auth-mail .sp-auth-icon { width:1.75rem; height:1.75rem; }.sp-auth-heading h1 { margin-bottom:.5rem; }.sp-auth-subtitle { color:var(--sp-muted); font-size:.8125rem; line-height:1.45; }.sp-auth-email { display:block; color:var(--sp-heading); font-weight:750; overflow-wrap:anywhere; }.sp-auth-note { font-size:.875rem; line-height:1.5; color:var(--sp-muted); }
.sp-auth-form { display:grid; gap:.625rem; margin-top:1.5rem!important; }.sp-auth-form > label,.sp-auth-types legend { color:var(--sp-heading); font-size:.9375rem; font-weight:650; }.sp-auth-form > label:not(:first-of-type) { margin-top:.625rem; }.sp-auth-input { position:relative; }.sp-auth-input > .sp-auth-icon { position:absolute; left:.875rem; top:50%; transform:translateY(-50%); color:var(--sp-muted); pointer-events:none; }.sp-auth-input input,.sp-auth-code > input { width:100%; min-height:46px; border:1px solid var(--sp-border-strong); border-radius:7px; padding:.625rem .875rem; background:var(--sp-surface); color:var(--sp-text); font:inherit; font-size:1rem; }.sp-auth-input:not(.sp-auth-input--plain) input { padding-left:2.875rem; }.sp-auth-input input::placeholder { color:var(--sp-muted); opacity:1; }
.sp-auth-types { padding:0; margin:0 0 .5rem; border:0; display:grid; grid-template-columns:1fr 1fr; gap:.75rem; }.sp-auth-types legend { padding:0; margin-bottom:.75rem; }.sp-auth-types label { position:relative; display:flex; flex-direction:column; gap:.375rem; padding:.75rem .875rem; min-height:108px; border:1px solid var(--sp-border); border-radius:7px; cursor:pointer; background:var(--sp-surface); }.sp-auth-types label:has(input:checked) { border-color:var(--sp-primary); background:color-mix(in srgb,var(--sp-primary) 5%,var(--sp-surface)); }.sp-auth-types input { position:absolute; right:.75rem; top:.75rem; accent-color:var(--sp-primary); width:1.25rem; height:1.25rem; margin:0; }.sp-auth-type-icon { color:var(--sp-muted); }.sp-auth-type-icon .sp-auth-icon { width:1.75rem; height:1.75rem; }.sp-auth-types label:has(input:checked) .sp-auth-type-icon { color:var(--sp-primary); }.sp-auth-types strong { display:block; color:var(--sp-heading); font-size:1rem; font-weight:750; }.sp-auth-types small { display:block; margin-top:.125rem; color:var(--sp-muted); font-size:.8125rem; line-height:1.4; }
.sp-auth-form .sp-auth-check { display:flex; align-items:flex-start; gap:.625rem; margin-block:.625rem .25rem; font-weight:400; font-size:.9375rem; line-height:1.5; }.sp-auth-check input { flex:none; width:1.25rem; height:1.25rem; margin:.125rem 0 0; accent-color:var(--sp-primary); }.sp-auth-check a { font-weight:650; }
.sp-auth-submit { display:flex; align-items:center; justify-content:center; gap:.875rem; width:100%; min-height:46px; margin-top:.5rem; border:1px solid var(--sp-primary); border-radius:7px; padding:.625rem .875rem; background:var(--sp-primary); color:var(--sp-on-primary); font:inherit; font-size:1rem; font-weight:700; cursor:pointer; }.sp-auth-submit:hover { background:var(--sp-primary-hover); }.sp-auth-submit .sp-auth-icon { width:1.5rem; height:1.5rem; }.sp-auth-delivery { margin-top:.625rem!important; text-align:center; }.sp-auth--register .sp-auth-delivery { font-size:.9375rem; }
.sp-auth-divider { position:relative; border-top:1px solid var(--sp-border); margin-block:1.25rem 1rem; text-align:center; }.sp-auth-divider > span { display:none; }.sp-auth-footnote { color:var(--sp-muted); text-align:center; font-size:.9375rem; }.sp-auth-footnote a { display:inline-flex; align-items:center; gap:.5rem; font-weight:650; text-decoration:none; }.sp-auth-footnote a:hover { text-decoration:underline; }.sp-auth-support { text-align:center; color:var(--sp-muted); margin-top:1rem!important; font-size:.875rem; }.sp-auth-support a { font-weight:600; text-decoration:none; }
.sp-auth-change { margin-top:.875rem!important; }.sp-auth :is(.sp-auth-change,.sp-auth-resend,.sp-auth-back) button { border:0; padding:.5rem .125rem; min-height:44px; color:var(--sp-primary-ink); background:transparent; font:inherit; font-weight:650; cursor:pointer; }.sp-auth-change button:hover,.sp-auth-resend button:hover { text-decoration:underline; text-underline-offset:3px; }.sp-auth-verify { margin-top:1.5rem!important; }.sp-auth-verify > label { color:var(--sp-muted); font-weight:400; }.sp-auth-code { position:relative; width:100%; }.sp-auth-code > input { min-height:56px; text-align:center; font-size:1.5rem; letter-spacing:.35em; font-variant-numeric:tabular-nums; }.sp-auth-code-boxes { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:.5rem; }.sp-auth-code-box { position:relative; display:grid; place-items:center; height:56px; border:2px solid var(--sp-border-strong); border-radius:9px; background:var(--sp-surface); color:var(--sp-heading); font-size:1.375rem; font-variant-numeric:tabular-nums; }.sp-auth-code.is-enhanced > input { position:absolute; z-index:2; inset:0; width:100%; height:100%; padding:0; opacity:0; cursor:text; }.sp-auth-code:focus-within .sp-auth-code-box.is-active { border-color:var(--sp-primary); outline:2px solid var(--sp-focus); outline-offset:2px; }.sp-auth-code:focus-within .sp-auth-code-box.is-active.is-empty::after { content:''; height:1.375rem; border-left:2px solid var(--sp-primary); }.sp-auth-verify .sp-auth-submit { margin-top:1rem; }.sp-auth-resend { text-align:center; margin-top:.5rem!important; color:var(--sp-muted); font-size:.875rem; min-height:44px; display:flex; align-items:center; justify-content:center; }.sp-auth-spam { text-align:center; margin-top:.75rem!important; }.sp-auth-back { border-top:1px solid var(--sp-border); margin-top:1.25rem!important; padding-top:.625rem; text-align:center; }.sp-auth-back button { display:inline-flex; align-items:center; gap:.625rem; }
.sp-auth-errors { padding:.75rem; border-radius:7px; margin-top:1rem!important; font-size:.9375rem; overflow-wrap:anywhere; background:var(--sp-danger-soft); color:var(--sp-danger); }.sp-auth-errors ul { margin:0; padding-left:1rem; }.sp-auth-trap { position:absolute; left:-10000px; width:1px; height:1px; overflow:hidden; }
@media(max-width:600px) {
 .sp-account-page { padding:1.25rem 1rem 1.75rem; }
 .sp-auth { width:min(100%,28rem); }
 .sp-auth-card { border:0; border-radius:0; padding:0; background:transparent; box-shadow:none; }
 .sp-auth-tabs { margin-bottom:1.25rem; }
 .sp-auth-heading,.sp-auth--register .sp-auth-heading { text-align:left; }
 .sp-auth h1 { font-size:1.625rem; }
 .sp-auth-mail { width:3rem; height:3rem; margin:0 0 .875rem; }
 .sp-auth-mail .sp-auth-icon { width:1.5rem; height:1.5rem; }
 .sp-auth-subtitle { font-size:.9375rem; }
 .sp-auth-form,.sp-auth--verify .sp-auth-form { margin-top:1.25rem!important; }
 .sp-auth-form > label,.sp-auth-types legend { font-size:.875rem; }
 .sp-auth-input input { font-size:1rem; min-height:46px; padding-inline:.875rem; }
 .sp-auth-input > .sp-auth-icon { display:none; }
 .sp-auth-input:not(.sp-auth-input--plain) input { padding-left:.875rem; }
 .sp-auth-types { gap:.625rem; margin-bottom:.5rem; }
 .sp-auth-types label { min-height:104px; align-items:center; justify-content:center; text-align:center; padding:.625rem .5rem; }
 .sp-auth-types input { top:.625rem; left:.625rem; right:auto; width:1rem; height:1rem; }
 .sp-auth-type-icon .sp-auth-icon { width:1.625rem; height:1.625rem; }
 .sp-auth-types strong { font-size:.9375rem; }
 .sp-auth-types small { font-size:.8125rem; }
 .sp-auth-form .sp-auth-check { margin-top:.625rem; gap:.625rem; font-size:.875rem; }
 .sp-auth-submit { min-height:46px; font-size:1rem; }
 .sp-auth-note,.sp-auth-footnote,.sp-auth-support { font-size:.875rem; }
 .sp-auth-divider { margin-block:1.5rem 1rem; }
 .sp-auth-divider > span { display:inline-block; position:relative; top:-.8rem; padding-inline:.75rem; background:var(--sp-background); color:var(--sp-muted); font-size:.8125rem; }
 .sp-auth-support { margin-top:1.25rem!important; }
 .sp-auth-change { margin-top:.25rem!important; }
 .sp-auth-change button { text-decoration:underline; text-underline-offset:3px; }
 .sp-auth-code-box { height:50px; border-radius:6px; font-size:1.375rem; }
 .sp-auth-code > input { min-height:50px; }
 .sp-auth-code-boxes { gap:.375rem; }
 .sp-auth-spam { margin-top:.75rem!important; }
 .sp-auth-back { text-align:left; margin-top:1.25rem!important; }
}
@media(max-width:359px) {
 .sp-account-page { padding-inline:1rem; }
 .sp-auth h1 { font-size:1.5rem; }
 .sp-auth-code-boxes { gap:.25rem; }
 .sp-auth-code-box { height:46px; }
 .sp-auth-code > input { min-height:46px; }
}
