.legal-shell{max-width:880px;margin:0 auto;padding:32px 24px 80px;color:var(--ux-ink);overflow-wrap:anywhere}.legal-shell h1{font-size:clamp(36px,5vw,48px);line-height:1.1}.legal-shell h2{font-size:26px;line-height:1.2}.legal-shell section{margin:24px 0;padding:24px;border:1px solid var(--line);border-radius:22px;background:var(--ux-surface)}.legal-shell p,.legal-shell li{font-size:16px;line-height:1.6}.legal-shell a,.analytics-choice-banner a{color:var(--ux-link)}.legal-nav,.legal-actions{display:flex;flex-wrap:wrap;gap:12px}.legal-nav a{padding:10px 0;margin-right:12px}.legal-shell label{display:block;margin:16px 0 8px}.legal-shell label.checkbox-row{display:flex;align-items:flex-start;gap:12px}.legal-shell input:not([type=checkbox]),.legal-shell select,.legal-shell textarea{display:block;max-width:100%;width:100%;color:var(--ux-ink);background:var(--ux-surface);border:1px solid var(--line);border-radius:14px;padding:14px;font:inherit}.legal-shell input[type=checkbox]{width:22px;height:22px;min-width:22px;margin:2px 0}.legal-shell button{margin-top:12px}.legal-shell :focus-visible,.analytics-choice-banner :focus-visible{outline:3px solid var(--blue);outline-offset:3px}.legal-request{white-space:pre-wrap;border-bottom:1px solid var(--line);padding:16px 0}.legal-version{color:var(--ux-muted)}.analytics-choice-banner{position:relative;max-width:880px;margin:24px auto 110px;padding:20px 24px;border:1px solid var(--line);border-radius:22px;background:var(--ux-surface);color:var(--ux-ink);font:inherit;line-height:1.5}.analytics-choice-banner h2{font-size:20px;margin-top:0}.analytics-choice-banner button{min-height:46px}.analytics-choice-banner[hidden],[hidden]{display:none!important}.legal-footer{padding:20px 24px 100px;text-align:center}.legal-footer a{color:var(--ux-link)}@media(max-width:480px){.legal-shell{padding:24px 16px 60px}.legal-shell section{padding:18px}.legal-actions>button{width:100%}.analytics-choice-banner{margin:20px 16px 100px;padding:18px}.legal-shell h2{font-size:24px}}

.legal-check{display:flex!important;gap:12px;align-items:flex-start;font-size:14px;line-height:1.5;margin:16px 0}.legal-check input[type=checkbox]{appearance:auto;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;padding:0!important;margin:2px 0!important;flex:0 0 22px}.legal-check a{color:var(--ux-link)}
html[data-theme="dark"] .legal-shell :is(input:not([type=checkbox]),select,textarea),html[data-theme="dark"] :is(.legal-shell,.analytics-choice-banner) .secondary-button{background:var(--ux-surface);color:var(--ux-ink);border-color:var(--line)}
html[data-theme="dark"] body[data-auth-page="guest"] :is(.auth-panel,.hero,.how-step,.how-mock,.auth-invite-card){background:var(--ux-surface);color:var(--ux-ink);border-color:var(--line)}
html[data-theme="dark"] body[data-auth-page="guest"] .tab.is-active{background:var(--ux-soft);color:var(--ux-link)}
html[data-theme="dark"] body[data-auth-page="guest"] .auth-tabs{background:var(--ux-surface);border:1px solid var(--line)}
body[data-auth-page="guest"] .auth-tabs .tab{min-width:0;white-space:nowrap;padding-inline:8px}
.legal-shell .privacy-danger{background:var(--danger,#b4233a);color:#fff}.legal-shell .privacy-danger:hover{background:var(--danger-deep,#92172c)}.legal-shell #privacy-detail>button{display:block;width:100%;margin:12px 0}.legal-shell #privacy-detail details{padding:16px;border:1px solid var(--line);border-radius:14px;margin-top:24px}.legal-shell #status-link{font-size:13px}.legal-shell .checkbox-row input{flex:0 0 22px}
