.privacy-banner[hidden], [data-map-placeholder][hidden], [data-privacy-settings][hidden] { display: none !important; }
.privacy-banner { position: fixed; z-index: 2000; bottom: 16px; left: 16px; right: 16px; margin: auto; max-width: 1040px; max-height: 75vh; overflow: auto; padding: 22px; border: 1px solid #c89b4a; border-radius: 12px; background: #fff; color: #1d232b; box-shadow: 0 6px 40px #0a2e5d40; }
.privacy-banner h2, .privacy-dialog h2 { font-size: 21px; margin: 0 0 10px; color: #0a2e5d; }
.privacy-banner p, .privacy-dialog p { font-size: 15px; line-height: 1.55; margin: 8px 0 12px; }
.privacy-banner a, .privacy-dialog a, .privacy-note a, .legal-page a { text-decoration: underline; text-underline-offset: 3px; }
.privacy-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.privacy-actions button, .privacy-settings-button, .map-consent button { background: #fff; color: #0a2e5d; border: 1px solid #0a2e5d; border-radius: 6px; padding: 10px 15px; font-weight: 600; min-height: 44px; }
.privacy-actions button:hover, .privacy-settings-button:hover, .map-consent button:hover { background: #eef2f7; }
.privacy-actions button:focus-visible, .privacy-settings-button:focus-visible { outline: 3px solid #c89b4a; outline-offset: 3px; }
.privacy-dialog { border: 1px solid #c89b4a; border-radius: 12px; padding: 24px; color: #1d232b; background: #fff; width: min(600px, calc(100% - 28px)); max-height: 85vh; overflow: auto; }
.privacy-dialog::backdrop { background: #08182db3; }
.privacy-option { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.privacy-option input { width: 20px; height: 20px; accent-color: #0a2e5d; }
.privacy-notice:empty { display: none; }
.privacy-notice { position: fixed; bottom: 16px; left: 16px; right: 16px; z-index: 2100; margin: auto; max-width: 650px; padding: 12px 18px; border-radius: 8px; background: #0a2e5d; color: white; }
.privacy-footer { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding-block: 24px; }
.privacy-footer a { text-decoration: underline; }
.map-consent { padding: 48px 28px 110px; min-height: 380px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; }
.map-consent p { margin: 0; }
.map-consent a { text-decoration: underline; }
.legal-page { max-width: 850px; padding: 40px 24px 70px; margin: auto; overflow-wrap: anywhere; }
.legal-page h1 { font-size: clamp(28px, 5vw, 40px); line-height: 1.2; }
.legal-page h2 { margin-top: 32px; font-size: 23px; }
.legal-page li { margin-block: 8px; }
.legal-nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; padding-bottom: 20px; border-bottom: 1px solid #dce1e7; }
@media(max-width: 550px) { .privacy-banner { padding: 16px; left: 8px; right: 8px; bottom: 8px; } .privacy-actions { flex-direction: column; } .privacy-actions button { width: 100%; } }
.privacy-notice { pointer-events: none; }

/* Permanent control, separate from the banner and available at every scroll position. */
.privacy-cookie-button { position: fixed; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 2050; display: grid; place-items: center; width: 54px; height: 54px; padding: 10px; border: 2px solid #c89b4a; border-radius: 50%; background: #0a2e5d; color: #f6cf7e; box-shadow: 0 3px 14px #0003; cursor: pointer; }
.privacy-cookie-button:hover { background: #164475; }
.privacy-cookie-button:focus-visible { outline: 3px solid #0a2e5d; outline-offset: 3px; }
.privacy-banner { bottom: calc(84px + env(safe-area-inset-bottom)); max-height: calc(100dvh - 110px - env(safe-area-inset-bottom)); }
.privacy-notice { bottom: calc(84px + env(safe-area-inset-bottom)); }

.privacy-policy-open { overflow: hidden; }
.privacy-policy-dialog { width: min(900px, calc(100% - 24px)); max-height: 90vh; max-height: 90dvh; padding: 0; border: 1px solid #c89b4a; border-radius: 12px; color: #1d232b; background: #fff; overflow: hidden; }
.privacy-policy-dialog::backdrop { background: #08182db3; }
.privacy-policy-dialog[open] { display: flex; flex-direction: column; }
.privacy-policy-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-shrink: 0; padding: 18px 24px; border-bottom: 1px solid #dce1e7; }
.privacy-policy-header h2 { margin: 0; font-size: 21px; line-height: 1.3; color: #0a2e5d; }
.privacy-policy-header button { flex-shrink: 0; min-height: 44px; padding: 8px 12px; border: 1px solid #0a2e5d; border-radius: 6px; color: #0a2e5d; background: #fff; }
.privacy-policy-content { padding: 8px 24px 28px; overflow-y: auto; overscroll-behavior: contain; font-size: 15px; overflow-wrap: anywhere; }
.privacy-policy-content h2 { font-size: 20px; margin-top: 26px; }
.privacy-policy-content a { text-decoration: underline; text-underline-offset: 3px; }
.privacy-policy-content li { margin-bottom: 12px; }
@media(max-width: 550px) { .privacy-policy-header { padding: 12px; gap: 8px; } .privacy-policy-header h2 { font-size: 18px; } .privacy-policy-content { padding: 4px 16px 20px; } }
