.cookie-banner { background: #f5f5f5; color: #232321; border-top: 1px solid #ccc; padding: 16px 0; }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2, .cookie-preferences h2 { font-size: 1.15rem; margin: 0 0 8px; }
.cookie-banner p, .cookie-preferences p { margin: 0 0 12px; line-height: 1.5; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-actions button, .cookie-reopen { font: inherit; font-size: 16px; cursor: pointer; padding: 10px 16px; border: 1px solid #246aa7; border-radius: 4px; background: #fff; color: #246aa7; min-height: 44px; }
.cookie-actions button:hover, .cookie-reopen:hover { background: #f5f5f5; }
.cookie-actions button:focus-visible, .cookie-reopen:focus-visible, .cookie-preferences input:focus-visible { outline: 3px solid #246aa7; outline-offset: 3px; }
.cookie-preferences { width: min(560px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; margin: auto; padding: 24px; border: 1px solid #246aa7; border-radius: 4px; color: #232321; background: #fff; }
.cookie-preferences::backdrop { background: rgb(0 0 0 / 45%); }
.cookie-preferences label { display: flex; align-items: flex-start; gap: 12px; margin: 16px 0; font-size: 16px; }
.cookie-preferences input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; }
.cookie-reopen { margin: 12px 0; }
@media (max-width: 480px) { .cookie-preferences { padding: 16px; } .cookie-actions button { flex: 1 1 auto; } }

.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.error-code { font-size: 3rem; font-weight: 700; margin-bottom: 8px; }
.error-description { margin: 16px auto 32px; }

