.cookie-panel[hidden], .cookie-details[hidden] { display: none !important; }
.cookie-panel { position: fixed; z-index: 100000; bottom: max(16px, env(safe-area-inset-bottom)); left: 16px; right: 16px; max-width: 660px; margin-left: auto; padding: 22px; background: #fff; color: #17333e; border: 1px solid #b9c8cd; border-radius: 16px; box-shadow: 0 10px 50px #001c3040; max-height: 80dvh; overflow-y: auto; overscroll-behavior: contain; font: 14px/1.55 Inter, sans-serif; }
.cookie-panel h2 { font-size: 20px; margin: 0 0 8px; }
.cookie-panel p { margin: 8px 0 14px; }
.cookie-panel a { color: #083b50; text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cookie-actions button { flex: 1 1 150px; min-height: 46px; padding: 10px 12px; border: 1px solid #083b50; border-radius: 8px; background: #fff; color: #083b50; font: inherit; cursor: pointer; }
.cookie-actions button:hover { background: #edf3f5; }
.cookie-panel button:focus-visible, .cookie-panel input:focus-visible { outline: 3px solid #b57825; outline-offset: 3px; }
.cookie-details label { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.cookie-details input { width: 20px; height: 20px; accent-color: #083b50; }
#cookie-settings { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; min-height: 44px; cursor: pointer; }
@media (max-width: 480px) { .cookie-panel { left: 10px; right: 10px; padding: 16px; } .cookie-actions button { flex-basis: 100%; } }
