#bs-privacy-panel, #bs-privacy-panel *, #bs-privacy-settings { box-sizing: border-box; }
#bs-privacy-panel[hidden] { display: none !important; }
html.bs-privacy-open { overflow: hidden; }
body.bs-privacy-open { position: fixed; top: var(--bs-privacy-scroll-y, 0px); left: 0; right: 0; width: 100%; overflow: hidden; }
#bs-privacy-panel { position: fixed; z-index: 100000; inset: 0; margin: auto; width: min(650px, calc(100vw - 32px)); max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; padding: 28px; color: #172d38; background: #fff; border: 1px solid #cbd5e1; border-top: 5px solid #1e3a8a; border-radius: 16px; box-shadow: 0 24px 80px #0f172a50; font: 15px/1.6 system-ui, sans-serif; text-align: left; color-scheme: light; }
#bs-privacy-panel::backdrop { background: rgb(15 23 42 / 65%); }
#bs-privacy-panel h2 { margin: 0 0 8px; font: 600 21px/1.35 system-ui, sans-serif; color: inherit; }
#bs-privacy-panel #bs-privacy-title { outline: none; }
#bs-privacy-panel p { margin: 8px 0 16px; }
#bs-privacy-panel button { min-height: 48px; padding: 12px 18px; border: 1px solid #64748b; border-radius: 8px; background: #fff; color: #172d38; cursor: pointer; font: 600 14px/1.5 system-ui, sans-serif; }
#bs-privacy-panel button:hover { background: #f1f5f9; }
#bs-privacy-panel .bs-privacy-accept { border-color: #1e3a8a; background: #1e3a8a; color: #fff; box-shadow: 0 3px 8px #1e3a8a26; }
#bs-privacy-panel .bs-privacy-accept:hover { border-color: #172554; background: #172554; }
#bs-privacy-panel button:focus-visible, #bs-privacy-panel a:focus-visible, #bs-privacy-panel summary:focus-visible, #bs-privacy-panel input:focus-visible, #bs-privacy-settings:focus-visible { outline: 3px solid #38bdf8; outline-offset: 3px; }
#bs-privacy-panel button:disabled { cursor: wait; opacity: .65; }
#bs-privacy-panel .bs-privacy-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
#bs-privacy-panel .bs-privacy-actions button { flex: 1; }
#bs-privacy-panel summary { min-height: 44px; display: list-item; padding: 10px 0; cursor: pointer; font-weight: 600; }
#bs-privacy-panel label { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 0; }
#bs-privacy-panel input[type="checkbox"] { appearance: auto; width: 20px; height: 20px; margin: 0; flex-shrink: 0; accent-color: #1e3a8a; }
#bs-privacy-panel .bs-privacy-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 13px; margin-top: 16px; }
#bs-privacy-panel a { color: #244d5f; text-decoration: underline; }
#bs-privacy-panel [role="status"] { margin-bottom: 0; }
#bs-privacy-panel [role="status"]:empty { display: none; }
#bs-privacy-settings { position: static; min-height: 44px; padding: 0; border: 0; border-radius: 2px; background: transparent; color: #9ca3af; cursor: pointer; font: inherit; font-size: 14px; line-height: 1.5; text-align: left; }
#bs-privacy-settings:hover { background: transparent; color: #fff; text-decoration: underline; }
@media (max-width: 480px) { #bs-privacy-panel { padding: 20px; width: calc(100vw - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); } #bs-privacy-panel .bs-privacy-actions { flex-direction: column; gap: 8px; } }
