.registration-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:36px;align-items:start;max-width:1120px;margin:0 auto}
.registration-layout .auth-card{width:100%;max-width:none;margin:0;min-width:0}
.registration-legal{padding:36px;min-width:0}.registration-legal h1{font-size:clamp(1.8rem,3vw,2.75rem);line-height:1.15}
.registration-legal p{line-height:1.65;color:var(--muted-color)}.registration-form h2{font-size:clamp(1.7rem,3vw,2.5rem);line-height:1.15}
.legal-links{display:flex;flex-wrap:wrap;gap:16px 24px}.agreement-field{display:grid;grid-template-columns:22px minmax(0,1fr);gap:12px;align-items:start}
.agreement-field input[type=checkbox]{margin:4px 0;width:20px;height:20px}.agreement-field label{display:block;line-height:1.6;font-weight:normal}.consent-record{border-block-end:1px solid var(--border-color);padding-block:12px}.legal-footer{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 20px}.page-body{white-space:pre-wrap;overflow-wrap:anywhere}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:760px){.registration-layout{grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}.registration-layout .card{padding:24px}.legal-links{gap:14px}}

/* Authentication content follows the header and footer in normal document flow.
   Override the shared viewport minimum and legacy auth-card vh margins only here. */
html[data-site-theme] body.auth-page .container{min-height:0;padding-block:40px}
html[data-site-theme] body.auth-page .auth-card{max-width:480px;margin:0 auto;padding:36px}
html[data-site-theme] body.auth-page .registration-layout .auth-card{max-width:none}
html[data-site-theme] body.auth-page .registration-layout{align-items:start}
html[data-site-theme] body.auth-page .auth-card h1,
html[data-site-theme] body.auth-page .auth-card h2,
html[data-site-theme] body.auth-page .registration-legal h1{font-size:clamp(1.7rem,2.5vw,2.2rem);line-height:1.2;margin:8px 0 20px;letter-spacing:-.025em}
html[data-site-theme] body.auth-page .registration-legal p{margin:0 0 16px}
html[data-site-theme] body.auth-page .auth-card .stack{gap:16px}
html[data-site-theme] body.auth-page .auth-card label{gap:5px}
html[data-site-theme] body.auth-page .auth-card input:not([type=checkbox]):not([type=hidden]),
html[data-site-theme] body.auth-page .auth-card select,
html[data-site-theme] body.auth-page .auth-card .button{min-height:48px;padding-block:12px}
html[data-site-theme] body.auth-page .auth-card small{line-height:1.45}
html[data-site-theme] body.auth-page .auth-card>p{margin:16px 0 0}
html[data-site-theme] body.auth-page .agreement-field,
html[data-site-theme] body.auth-page .auth-card .check{min-height:44px}
html[data-site-theme] body.auth-page .agreement-field label{line-height:1.5}
.agreement-group #agreement-help{display:block;margin-top:4px}
@media(max-width:760px){
html[data-site-theme] body.auth-page .container{padding:24px 20px}
html[data-site-theme] body.auth-page .auth-card,
html[data-site-theme] body.auth-page .registration-legal{padding:24px}
.registration-layout{gap:24px}
}
