.cookie-consent[hidden], .cookie-consent-settings[hidden], .cookie-consent-reopen[hidden] { display: none !important; }
.cookie-consent {
  position: fixed;
  z-index: 1100;
  right: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px 24px;
  width: min(940px, calc(100vw - 32px));
  max-height: min(88vh, 760px);
  overflow: auto;
  padding: 22px 24px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 56px rgba(12, 38, 75, .24);
}
.cookie-consent-copy { max-width: 650px; }
.cookie-consent-eyebrow { margin: 0 0 4px; color: var(--red); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.cookie-consent h2 { margin: 0 0 6px; color: var(--navy-deep); font: 700 23px/1.2 Georgia, "Times New Roman", serif; }
.cookie-consent-copy > p:last-child { margin: 0; color: #536078; font-size: 13px; line-height: 1.55; }
.cookie-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-consent-button {
  min-height: 42px;
  padding: 9px 13px;
  color: var(--navy);
  background: var(--white);
  border: 1px solid #bdcad8;
  border-radius: 6px;
  font: 750 13px/1.2 Inter, "Segoe UI", Arial, sans-serif;
  cursor: pointer;
}
.cookie-consent-button:hover { background: var(--sky); }
.cookie-consent-button.cookie-consent-primary { color: var(--white); background: var(--navy); border-color: var(--navy); }
.cookie-consent-button.cookie-consent-primary:hover { background: var(--navy-deep); }
.cookie-consent-settings { grid-column: 1 / -1; padding-top: 16px; border-top: 1px solid var(--line); }
.cookie-consent-settings fieldset { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.cookie-consent-settings legend { margin-bottom: 8px; color: var(--navy-deep); font-size: 14px; font-weight: 800; }
.cookie-consent-category { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.cookie-consent-category input { width: 18px; height: 18px; flex: 0 0 18px; margin: 2px 0 0; accent-color: var(--navy); }
.cookie-consent-category span { display: grid; gap: 2px; }
.cookie-consent-category strong { color: var(--ink); font-size: 13px; }
.cookie-consent-category small { color: var(--muted); font-size: 12px; line-height: 1.4; }
.cookie-consent-save-actions { justify-content: flex-end; margin-top: 16px; }
.cookie-consent-reopen {
  position: fixed;
  z-index: 1099;
  right: 16px;
  bottom: 16px;
  min-height: 42px;
  padding: 9px 14px;
  color: var(--white);
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(12, 38, 75, .2);
  font: 750 13px/1.2 Inter, "Segoe UI", Arial, sans-serif;
  cursor: pointer;
}
.cookie-consent-reopen:hover { background: var(--navy-deep); }
@media (max-width: 760px) {
  .cookie-consent { right: 10px; bottom: 10px; grid-template-columns: 1fr; gap: 16px; width: calc(100vw - 20px); max-height: 88vh; padding: 18px; }
  .cookie-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .cookie-consent-actions .cookie-consent-primary { grid-column: 1 / -1; }
  .cookie-consent-save-actions { display: flex; }
  .cookie-consent-reopen { right: 10px; bottom: 10px; }
}
