/* In the page flow (not fixed), straight after the skip link, so it never covers the focused control. */
.cookie-banner { position: relative; inset: auto; z-index: 1; max-width: 760px; margin: 16px auto; padding: 22px; border: 1px solid #bed2dc; border-radius: 12px; background: #fff; color: #163c57; box-shadow: 0 8px 36px #163c5733; max-height: none; overflow: visible; }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { margin-top: 0; font-size: 1.2rem; }
.cookie-banner p { font-size: .95rem; line-height: 1.5; }
.cookie-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cookie-actions button { min-width: 110px; min-height: 44px; background: #007c76; color: white; border: 1px solid #007c76; }
.cookie-message:empty { display: none; }
/* Line up with the app content beside the fixed sidebar. */
@media (min-width: 701px) { .cookie-banner--app { margin: 16px 22px 16px 258px; } }
@media (min-width: 1101px) { .cookie-banner--app { margin: 16px 40px 16px 276px; } }
@media (max-width: 700px) { .cookie-banner { margin: 16px; padding: 16px; } }
@media print { .cookie-banner { display: none; } }
