.heli-consent-open { overflow: hidden; }

.heli-consent-banner,
.heli-consent-dialog {
  --heli-consent-red: #d71920;
  --heli-consent-red-dark: #a90f15;
  --heli-consent-ink: #172033;
  --heli-consent-muted: #5f6979;
  --heli-consent-border: #dce1e8;
  --heli-consent-surface: #fff;
  color: var(--heli-consent-ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.heli-consent-banner {
  position: fixed;
  z-index: 10020;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px;
  gap: 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: #121a2a;
  box-shadow: 0 24px 70px rgba(5, 12, 26, .35);
  color: #fff;
}

.heli-consent-banner h2,
.heli-consent-dialog h2 { margin: 2px 0 8px; font-size: clamp(1.25rem, 2vw, 1.65rem); line-height: 1.2; }
.heli-consent-banner p,
.heli-consent-dialog p { margin: 0; }
.heli-consent-banner p { max-width: 72ch; color: #dfe4ec; }
.heli-consent__eyebrow { color: #ff8d91; font-size: .72rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }

.heli-consent__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.heli-consent__button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 9px;
  font: inherit;
  font-weight: 750;
  line-height: 1.2;
  cursor: pointer;
}
.heli-consent__button--primary { border-color: var(--heli-consent-red); background: var(--heli-consent-red); color: #fff; }
.heli-consent__button--primary:hover { border-color: var(--heli-consent-red-dark); background: var(--heli-consent-red-dark); }
.heli-consent__button--decision { border-color: var(--heli-consent-border); background: #fff; color: var(--heli-consent-ink); }
.heli-consent__button--decision:hover { border-color: #aeb7c4; background: #f2f4f7; }
.heli-consent__button--secondary { border-color: var(--heli-consent-border); background: #fff; color: var(--heli-consent-ink); }
.heli-consent__button--secondary:hover { background: #f2f4f7; }
.heli-consent__button--quiet { border-color: transparent; background: transparent; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.heli-consent__button:focus-visible { outline: 3px solid rgba(48, 126, 255, .45); outline-offset: 2px; }

.heli-consent-dialog {
  position: fixed;
  z-index: 10030;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(10, 16, 28, .72);
}
.heli-consent-dialog__panel {
  width: min(100%, 660px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 28px;
  border-radius: 18px;
  background: var(--heli-consent-surface);
  box-shadow: 0 28px 80px rgba(4, 10, 22, .4);
}
.heli-consent-dialog__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.heli-consent-dialog__header .heli-consent__eyebrow { color: var(--heli-consent-red); }
.heli-consent-dialog__close { min-height: 36px; padding: 7px 9px; color: var(--heli-consent-muted); font-size: .85rem; }
.heli-consent__intro { color: var(--heli-consent-muted); }
.heli-consent__preferences { display: grid; margin-top: 22px; gap: 12px; }
.heli-consent__preference {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px 16px;
  gap: 20px;
  border: 1px solid var(--heli-consent-border);
  border-radius: 12px;
  cursor: pointer;
}
.heli-consent__preference-copy { display: grid; gap: 3px; }
.heli-consent__preference-copy small { color: var(--heli-consent-muted); }
.heli-consent__preference input { width: 22px; height: 22px; flex: 0 0 auto; accent-color: var(--heli-consent-red); }
.heli-consent__preferences .heli-consent__actions { margin-top: 10px; }

.heli-consent-footer-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  text-decoration: none;
}
.heli-consent-footer-link:hover,
.heli-consent-footer-link:focus-visible { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 760px) {
  .heli-consent-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 20px;
    gap: 18px;
    border-radius: 14px;
  }
  .heli-consent-banner .heli-consent__actions,
  .heli-consent__preferences .heli-consent__actions { display: grid; grid-template-columns: 1fr; }
  .heli-consent__button { width: 100%; }
  .heli-consent-dialog { padding: 10px; }
  .heli-consent-dialog__panel { max-height: calc(100vh - 20px); padding: 20px; border-radius: 14px; }
  .heli-consent__preference { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .heli-consent-banner,
  .heli-consent-dialog { scroll-behavior: auto; }
}
