.consent-panel,
.consent-preferences {
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  color: #15283b;
}
.consent-panel {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 1200;
  width: min(440px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: 16px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  column-gap: 14px;
  row-gap: 4px;
  border: 1px solid #d5def3;
  border-radius: 20px;
  background: #f8faff;
  box-shadow: 0 8px 36px #142c4826;
  text-align: left;
}
.consent-panel[hidden], .consent-panel [hidden] { display: none; }
.consent-heading { display: contents; }
.consent-icon { display: flex; align-items: center; justify-content: center; grid-column: 1; grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 12px; background: #edf3ff; color: #2468ff; }
.consent-description { grid-column: 2; margin: 0; font-size: 13px; line-height: 18px; }
.consent-panel .consent-title {
  grid-column: 2;
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: normal;
}
.consent-status { grid-column: 2; margin: 0 0 12px; font-size: 14px; line-height: 1.5; }
.consent-notice { grid-column: 2; color: #1755d8; font-size: 13px; line-height: 1.5; text-decoration: underline; }
.consent-actions { grid-column: 2; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-top: 10px; }
.consent-choice {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid #a4b2c3;
  border-radius: 7px;
  background: #fff;
  color: #15283b;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.consent-allow { background: #2468ff; border-color: #2468ff; color: #fff; }
.consent-choice:disabled { opacity: .55; cursor: default; }
.consent-retry { grid-column: 2; width: 100%; margin-top: 12px; }
.consent-close {
  position: absolute;
  right: 4px;
  top: 4px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #405770;
  font-size: 24px;
  cursor: pointer;
}
footer .consent-preferences {
  display: block;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}
footer .consent-preferences[hidden] { display: none; }
footer .consent-preferences:hover { text-decoration: underline; }
.consent-panel button:focus-visible,
.consent-panel a:focus-visible,
.consent-preferences:focus-visible { outline: 3px solid #1755d8; outline-offset: 3px; }
@media (max-width: 480px) {
  .consent-panel { right: 16px; bottom: 16px; padding: 20px; }
  .consent-panel .consent-title { font-size: 16px; }
  .consent-choice { min-height: 44px; padding: 10px 12px; }
}
