/* Consent interface only: compact presentation, unchanged consent behavior. */
:root { --consent-space: 0px; }
html { scroll-padding-bottom: calc(var(--consent-space) + 16px); }
.consent-spacer { height: var(--consent-space); }
.consent-banner, .consent-dialog {
  color: #183d56;
  background: #fff8ec;
  border: 1px solid #c7a66a;
  border-radius: 14px;
  box-shadow: 0 3px 16px #102e4620;
  font: 12.5px/1.4 var(--body, Arial, sans-serif);
}
.consent-banner {
  position: fixed;
  z-index: 100;
  inset: auto 10px 10px;
  max-width: 1120px;
  max-height: calc(100dvh - 20px);
  margin-inline: auto;
  padding: 12px;
  overflow: auto;
}
.consent-banner[hidden], .consent-status[hidden] { display: none; }
.consent-title { margin: 0 0 3px; font: 700 15.5px/1.25 var(--body, Arial, sans-serif); color: #183d56; }
.consent-copy { margin: 0; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 10px; }
.consent-button {
  min-height: 40px;
  padding: 7px 10px;
  border: 1px solid #183d56;
  border-radius: 8px;
  color: #fff8ec;
  background: #183d56;
  font: 700 12.5px/1.3 var(--body, Arial, sans-serif);
  text-align: center;
  cursor: pointer;
}
.consent-button:hover { background: #245475; }
.consent-button-secondary { color: #183d56; background: transparent; border-color: #ae925b; }
.consent-button-secondary:hover { color: #183d56; background: #f5e8d0; }
.consent-customize { grid-column: 1 / -1; min-height: 28px; padding: 4px 8px; border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.consent-banner :focus-visible, .consent-dialog :focus-visible, #cookie-settings:focus-visible {
  outline: 3px solid #157fb3; outline-offset: 3px;
}
.consent-dialog { position: fixed; inset: auto 10px 10px; z-index: 101; margin-inline: auto; width: min(480px, calc(100% - 20px)); max-height: calc(100dvh - 96px); padding: 16px; overflow: auto; font-size: 13px; }
.consent-dialog .consent-title { font-size: 17px; }
.consent-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.consent-close { flex-shrink: 0; width: 40px; min-height: 40px; margin: -8px -8px -4px 0; padding: 0; color: #183d56; background: none; border: 0; border-radius: 8px; font-size: 26px; cursor: pointer; }
.consent-category { display: grid; grid-template-columns: 1fr 22px; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid #dfcfb0; cursor: pointer; }
.consent-category strong, .consent-category small { display: block; }
.consent-category small { margin-top: 2px; font-size: 11.5px; }
.consent-category input { width: 20px; height: 20px; margin: 0; accent-color: #183d56; cursor: pointer; }
.consent-category input:disabled { cursor: default; }
.consent-dialog .consent-actions { grid-template-columns: 1fr; }
.consent-status { margin: 8px 0 0; font-size: 12px; }
@media (min-width: 900px) {
  .consent-banner { display: flex; align-items: center; gap: 16px; padding: 12px 16px; inset-inline: 24px; bottom: 12px; }
  .consent-banner-text { flex: 1; min-width: 0; }
  .consent-banner > .consent-actions { flex: 0 0 348px; grid-template-columns: 1fr 1fr auto; margin: 0; }
  .consent-banner .consent-customize { grid-column: auto; }
}
@media (max-width: 359px) {
  .consent-banner { padding: 10px; }
  .consent-button { padding-inline: 8px; }
  .consent-dialog { padding: 14px; }
}
