.to-privacy-notice[hidden], .to-footer .to-privacy-reopen[hidden], .to-map-placeholder[hidden] { display:none; }
.to-privacy-notice { position:fixed; z-index:150; bottom:0; left:0; right:0; display:flex; align-items:center; gap:28px; padding:22px max(24px,calc((100vw - 1248px)/2)); padding-bottom:max(22px,env(safe-area-inset-bottom)); background:#fff; color:var(--ink); border-top:1px solid var(--line); box-shadow:0 -8px 36px #2020201a; max-height:65dvh; overflow:auto; }
.to-privacy-copy { flex:1; min-width:0; }
.to-privacy-notice h2 { font-size:18px; margin:0 0 8px; line-height:1.3; }
.to-privacy-notice p { margin:0; font-size:14px; line-height:1.6; }
.to-privacy-notice a, .to-privacy-dialog a { text-decoration:underline; text-underline-offset:3px; }
.to-privacy-actions { display:flex; flex-wrap:wrap; gap:10px; }
.to-privacy-notice>.to-privacy-actions { flex:0 1 440px; }
.to-privacy-actions button { flex:1 1 auto; border:1px solid var(--brand); border-radius:8px; background:var(--brand); color:#fff; min-height:44px; padding:12px 16px; font-size:14px; font-weight:600; }
.to-privacy-actions button:hover { background:#a60b15; }
.to-privacy-actions .is-secondary { background:#fff; border-color:#d0d0d0; color:var(--ink); }
.to-privacy-actions .is-secondary:hover { background:#f4f4f4; }
.to-privacy-notice .is-secondary { flex-basis:100%; }
.to-privacy-open .to-floating-recycle, .to-privacy-settings-open .to-floating-recycle { display:none; }
.to-footer .to-privacy-reopen { display:block; border:0; padding:0; margin-top:12px; background:none; color:inherit; text-align:left; font:inherit; font-size:13px; text-decoration:underline; text-underline-offset:3px; }
body.to-privacy-open { padding-bottom:var(--to-privacy-height,0px); }
body.to-privacy-settings-open { overflow:hidden; }
.to-privacy-dialog { width:calc(100% - 32px); max-width:640px; max-height:90dvh; padding:28px; border:1px solid #ddd; border-radius:16px; color:var(--ink); background:#fff; }
.to-privacy-dialog::backdrop { background:#20202080; }
.to-privacy-dialog-heading { display:flex; align-items:start; justify-content:space-between; gap:20px; }
.to-privacy-dialog h2 { margin:0 0 16px; font-size:24px; line-height:1.25; }
.to-privacy-dialog h3 { margin:0 0 8px; font-size:16px; line-height:1.4; }
.to-privacy-dialog p { font-size:14px; line-height:1.65; color:var(--muted); }
.to-privacy-close { display:grid; place-items:center; flex-shrink:0; width:36px; height:36px; border:1px solid #ddd; background:#fafafa; color:var(--ink); border-radius:50%; padding:8px; }
.to-privacy-close svg { width:18px; height:18px; }
.to-consent-category { display:flex; gap:20px; justify-content:space-between; align-items:start; border-top:1px solid var(--line); padding:20px 0; }
.to-consent-category>div { min-width:0; }
.to-consent-category p { margin:0; }
.to-consent-required { font-size:11px; flex-shrink:0; padding:4px 7px; background:#f4f4f4; border-radius:4px; }
.to-consent-category input { appearance:none; flex-shrink:0; width:24px; height:24px; margin:0; border:1px solid #aaa; border-radius:6px; background:white; cursor:pointer; display:grid; place-items:center; }
.to-consent-category input:checked { background:var(--brand); border-color:var(--brand); }
.to-consent-category input:checked::after { content:''; width:10px; height:6px; border-left:2px solid white; border-bottom:2px solid white; transform:rotate(-45deg) translateY(-1px); }
.to-privacy-dialog :is(button,input,a):focus-visible, .to-privacy-notice :is(button,a):focus-visible { outline:2px solid var(--brand); outline-offset:3px; }
@media(forced-colors:active) { .to-consent-category input { appearance:auto; } .to-consent-category input:checked::after { display:none; } }
@media(max-width:900px) { .to-privacy-notice { flex-direction:column; align-items:stretch; gap:16px; } .to-privacy-notice>.to-privacy-actions { flex:auto; } .to-privacy-notice .is-secondary { flex-basis:auto; } }
@media(max-width:480px) { .to-privacy-notice { padding:16px; padding-bottom:max(16px,env(safe-area-inset-bottom)); } .to-privacy-notice p { font-size:13px; } .to-privacy-actions { display:grid; grid-template-columns:1fr 1fr; } .to-privacy-actions button { padding:11px 10px; font-size:13px; } .to-privacy-notice .is-secondary { grid-column:1/-1; } .to-privacy-dialog { padding:20px; } .to-consent-category { gap:12px; } .to-consent-required { white-space:normal; max-width:80px; } }
