/* A nonblocking notice using the site's paper, ink, and teal. */
.cookie-banner {
  position: fixed;
  z-index: 1000;
  inset: auto 0 max(20px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  width: min(880px, calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 20px 24px;
  background: var(--paper, #F4F5F2);
  color: var(--ink, #14120B);
  border-radius: 12px;
  box-shadow: 0 8px 32px #14120b26;
  font: 14px/1.5 Archivo, Arial, sans-serif;
}
.cookie-banner[hidden] { display: none; }
.cookie-copy { flex: 1; min-width: 0; }
.cookie-banner p { margin: 0; }
.cookie-banner .cookie-detail { margin-top: 4px; color: var(--sub, #46453E); font-size: 12px; }
.cookie-banner a { color: var(--accent, #13625F); text-underline-offset: 3px; }
.cookie-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cookie-actions { display: flex; flex-shrink: 0; justify-content: center; gap: 8px; }
.cookie-actions button { min-width: 88px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--accent, #13625F); border-radius: 5px; background: transparent; color: var(--accent, #13625F); font: 550 14px/1.4 Archivo, Arial, sans-serif; cursor: pointer; }
.cookie-actions button[data-cookie-choice="accepted"] { background: var(--accent, #13625F); color: #FCFDFA; }
.cookie-actions button[data-cookie-choice="accepted"]:hover { background: #0d4d4b; }
.cookie-actions button[data-cookie-choice="declined"]:hover { background: #e9ece6; }
.cookie-banner :focus-visible { outline: 2px solid var(--accent, #13625F); outline-offset: 3px; }
@media (max-width: 640px) {
  .cookie-banner { width: calc(100% - 24px); bottom: max(12px, env(safe-area-inset-bottom)); padding: 16px; flex-direction: column; align-items: stretch; gap: 12px; max-height: calc(100dvh - 24px); }
  .cookie-actions button { flex: 1; }
}
