#bs-privacy-panel, #bs-privacy-panel *, #bs-privacy-settings { box-sizing: border-box; }
#bs-privacy-panel[hidden] { display: none !important; }
#bs-privacy-panel { position: fixed; z-index: 100000; bottom: 16px; left: 50%; transform: translateX(-50%); width: min(650px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 24px; color: #172d38; background: #fff; border: 1px solid #bed0d5; border-radius: 12px; box-shadow: 0 8px 48px #102b3c30; font: 15px/1.6 system-ui, sans-serif; text-align: left; }
#bs-privacy-panel h2 { margin: 0 0 8px; font: 600 21px/1.35 system-ui, sans-serif; color: inherit; }
#bs-privacy-panel p { margin: 8px 0 16px; }
#bs-privacy-panel button, #bs-privacy-settings { min-height: 44px; padding: 10px 18px; border: 1px solid #244d5f; border-radius: 6px; background: #fff; color: #172d38; cursor: pointer; font: 600 14px/1.5 system-ui, sans-serif; }
#bs-privacy-panel button:hover, #bs-privacy-settings:hover { background: #edf5f7; }
#bs-privacy-panel button:focus-visible, #bs-privacy-panel a:focus-visible, #bs-privacy-panel summary:focus-visible, #bs-privacy-settings:focus-visible { outline: 3px solid #097d99; 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: #146078; }
#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: fixed; z-index: 99999; bottom: 12px; left: 12px; box-shadow: 0 2px 8px #102b3c20; }
@media (max-width: 480px) { #bs-privacy-panel { padding: 20px; bottom: 12px; width: calc(100vw - 24px); max-height: calc(100dvh - 24px); } #bs-privacy-panel .bs-privacy-actions { flex-direction: column; gap: 8px; } }
