.cookie-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: .3rem 1rem;
}
.cookie-footer-button {
  border: 0;
  background: transparent;
  padding: 4px 2px;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: .2em;
}
.cookie-banner, .cookie-dialog {
  --cookie-edge: clamp(12px, 3vw, 26px);
  --cookie-bottom: calc(var(--bar-height) + env(safe-area-inset-bottom, 0px) + 12px);
  position: fixed;
  z-index: 6;
  inset: auto var(--cookie-edge) var(--cookie-bottom) auto;
  width: min(440px, calc(100% - 2 * var(--cookie-edge)));
  max-height: calc(100dvh - var(--cookie-bottom) - 12px);
  overflow-y: auto;
  margin: 0;
  padding: clamp(16px, 3vw, 24px);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px #0e1d3026;
}
.sector-page :is(.cookie-banner, .cookie-dialog) {
  background: #fff;
}
.cookie-banner h2, .cookie-dialog h2 { font: 400 26px/1.15 var(--display); margin-bottom: 6px; }
.cookie-banner p, .cookie-dialog p { font-size: 14px; line-height: 1.45; }
.cookie-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 19px; font-size: 14px; }
.cookie-actions .cookie-footer-button { grid-column: 1 / -1; justify-self: start; }
.cookie-actions .button, .cookie-dialog .button { font: 700 14px/1.2 var(--body); letter-spacing: normal; text-transform: none; min-height: 42px; padding: 8px 12px; }
.cookie-dialog h2 { margin: 0 32px 14px 0; }
.cookie-option { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: start; border-top: 1px solid var(--line); padding-block: 14px; }
.cookie-option h3 { font: 700 17px/1.3 var(--body); margin-bottom: 5px; }
.cookie-option input { width: 20px; height: 20px; accent-color: var(--navy); }
.cookie-required { color: #68584a; font-size: 13px; }
.cookie-note { margin: 2px 0 16px; }
@media (max-width: 390px) {
  .cookie-actions .button { padding-inline: 5px; }
}
