.consent-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  margin: auto;
  width: min(44rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: 1.2rem;
  color: #1a1814;
  background: #fffdf7;
  border: 2px solid #2f4a3c;
  box-shadow: 0 4px 24px #0003;
  font: 1rem/1.5 system-ui, sans-serif;
}
.consent-panel h2 { margin: 0 0 .6rem; font-size: 1.2rem; }
.consent-panel p { margin: .6rem 0; }
.consent-panel a { color: #2f4a3c; text-decoration: underline; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.consent-actions button {
  flex: 1 1 12rem;
  min-height: 44px;
  padding: .65rem .9rem;
  border: 2px solid #2f4a3c;
  border-radius: 3px;
  background: #fffdf7;
  color: #1a1814;
  font: inherit;
  cursor: pointer;
}
.consent-actions button:hover { background: #e9eee7; }
.consent-actions button:focus-visible, [data-consent-settings]:focus-visible { outline: 3px solid #9c3b2a; outline-offset: 3px; }
.consent-actions [data-choice="close"] { flex-basis: 100%; }
.consent-settings {
  padding: .4rem 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.consent-panel::backdrop { background: rgb(26 24 20 / 45%); }
