.legal-links { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; font-size: .82rem; line-height: 1.55; }
.legal-links a { color: var(--muted); text-decoration: underline; text-underline-offset: .2em; }
.legal-links a:hover { color: var(--text); }
.sidebar .legal-links { padding: 1rem .6rem; gap: .4rem; flex-direction: column; }
.login-panel > .legal-links { max-width: 400px; margin: 1.5rem auto 0; }
.document-layout { max-width: 920px; margin: auto; padding: 2rem clamp(1.2rem, 4vw, 3rem) 4rem; }
.document-top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; }
.document-top .preferences { margin: 0; }
.document-body { max-width: 72ch; }
.document-body h1, .acceptance-layout h1 { font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.2; text-wrap: balance; }
.document-body h2 { font-size: 1.25rem; margin: 2.4rem 0 .6rem; }
.document-body p { margin: .7rem 0; line-height: 1.75; }
.document-intro { font-size: 1.1rem; line-height: 1.7; }
.document-layout > .legal-links { border-top: 1px solid var(--line); padding-top: 1.4rem; margin-top: 3rem; }
.contact-address { overflow-wrap: anywhere; font-size: 1.15rem; }
.policy-dialog a, .contact-address { text-decoration: underline; text-underline-offset: .2em; }
.cookie-list { margin: 1rem 0; }
.cookie-list > div { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cookie-list dt { font-weight: 600; overflow-wrap: anywhere; }
.cookie-list dd { margin: .3rem 0 0; color: var(--muted); }
.acceptance-layout { max-width: 760px; }
.acceptance-layout > .legal-links { margin: 1.5rem 0; padding: 0 0 1.5rem; border-top: 0; border-bottom: 1px solid var(--line); }
.legal-checkbox { display: flex; align-items: flex-start; gap: .8rem; line-height: 1.65; cursor: pointer; }
.legal-checkbox input[type="checkbox"] { flex: 0 0 auto; width: 1.2rem; height: 1.2rem; margin: .25rem 0 0; accent-color: var(--button-bg); }
.acceptance-form > .button { margin-top: 1rem; }
.acceptance-form { margin-top: 1.5rem; }
.acceptance-form .legal-checkbox { min-height: 44px; align-items: center; }
.acceptance-document { margin: 0 0 1.4rem 2rem; font-size: .9rem; }
.acceptance-document a { text-decoration: underline; text-underline-offset: .2em; }
.acceptance-document a:hover { color: var(--accent); }
.acceptance-form > .button:disabled { cursor: not-allowed; }
.decline-form { margin-top: 1.5rem; }
.decline-form .text-link { border: 0; padding: .5rem 0; background: transparent; color: var(--muted); font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.policy-dialog { width: min(520px, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); overflow-y: auto; padding: clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); }
.policy-dialog h2 { margin: 0 0 1rem; font-size: 1.4rem; line-height: 1.3; }
.policy-dialog p { line-height: 1.65; }
.policy-dialog::backdrop { background: rgb(0 0 0 / .65); }
.policy-dialog form > .button { margin-top: 1rem; }
.policy-dialog[open]:not(:modal) { position: fixed; inset: 1rem; margin: auto; z-index: 100; height: fit-content; box-shadow: 0 0 0 100vmax rgb(0 0 0 / .65); }
.policy-dialog .voice-choice-actions { margin-top: 1.25rem; }
@media (max-width: 540px) { .document-top { align-items: flex-start; flex-direction: column; margin-bottom: 2rem; } }
