.privacy-settings-trigger { position: fixed; bottom: 16px; left: 16px; z-index: 80; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: 500 .875rem/1.5 var(--sans); cursor: pointer; }
.privacy-panel { position: fixed; z-index: 90; bottom: 16px; left: 16px; display: grid; gap: 16px; width: min(780px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; padding: 24px; background: var(--paper); color: var(--ink); border: 1px solid var(--greige); }
.privacy-panel[hidden], .privacy-panel [hidden], .privacy-notice[hidden] { display: none; }
.privacy-panel h2 { font: 400 1.75rem/1.2 var(--display); margin: 0; }
.privacy-panel p { max-width: 65ch; font-size: .875rem; line-height: 1.7; margin: 0; }
.privacy-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.privacy-actions .button { flex: 1 1 180px; min-height: 44px; padding: 12px 16px; font-size: .875rem; text-align: center; justify-content: center; }
.privacy-panel fieldset { display: grid; gap: 20px; border: 0; padding: 0; margin: 8px 0; min-width: 0; }
.privacy-panel legend { font: 600 .875rem/1.5 var(--sans); margin-bottom: 16px; }
.privacy-panel label { display: flex; align-items: start; gap: 12px; font-size: .875rem; line-height: 1.7; }
.privacy-panel label input { flex: 0 0 22px; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--ink); }
.privacy-panel label > span { display: grid; gap: 4px; }
.privacy-panel button.text-link { appearance: none; background: transparent; border: 0; color: var(--ink); font: inherit; min-height: 44px; cursor: pointer; text-decoration: underline; text-underline-offset: 5px; }
.privacy-panel button:disabled { cursor: not-allowed; opacity: .55; }
.privacy-error { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--greige); }
.privacy-error .button { justify-self: start; }
.privacy-settings-trigger:focus-visible, .privacy-panel :focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
.privacy-notice { position: fixed; z-index: 81; bottom: 72px; left: 16px; max-width: min(65ch, calc(100vw - 32px)); padding: 12px 16px; border: 1px solid var(--line); background: var(--paper); font: .875rem/1.7 var(--sans); }
.privacy-no-script { max-width: 65ch; padding: 16px; font-size: .875rem; line-height: 1.7; }
.privacy-policy { max-width: 780px; margin: 0 auto; padding: 64px 24px 96px; display: grid; gap: 32px; }
.privacy-policy h1 { font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1.1; }
.privacy-policy h2 { font: 400 1.75rem/1.25 var(--display); margin-bottom: 16px; }
.privacy-policy p, .privacy-policy li { max-width: 70ch; line-height: 1.8; }
.privacy-policy p + p { margin-top: 16px; }
.privacy-policy ul { padding-inline-start: 24px; display: grid; gap: 12px; }
.privacy-policy a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 600px) { .privacy-panel { padding: 20px 16px; } .privacy-actions { display: grid; grid-template-columns: 1fr; } .privacy-actions .button { width: 100%; } }
.privacy-policy button.text-link { appearance: none; border: 0; background: transparent; color: inherit; font: inherit; padding: 0 4px; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.privacy-policy button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }
