.mhg-consent-banner,
.mhg-consent-dialog {
  color: #17241e;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.6;
  letter-spacing: 0;
}
.mhg-consent-banner[hidden], .mhg-consent-dialog [hidden] { display: none !important; }
.mhg-consent-banner { border-bottom: 1px solid #bdc9c2; }
.mhg-consent-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 20px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 390px);
  align-items: center;
  gap: 12px 32px;
}
.mhg-consent-banner h2, .mhg-consent-dialog h2 { font-size: 20px; line-height: 1.4; margin: 0 0 6px; letter-spacing: 0; }
.mhg-consent-banner p, .mhg-consent-dialog p { margin: 0; }
.mhg-consent-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.mhg-consent-button, .mhg-consent-close {
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #286b34;
  border-radius: 4px;
  background: #fff;
  color: #174d25;
  font: inherit;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  white-space: normal;
  overflow-wrap: anywhere;
}
.mhg-consent-button:hover, .mhg-consent-close:hover { background: #edf4ef; }
.mhg-consent-button:focus-visible, .mhg-consent-close:focus-visible,
.mhg-consent-settings:focus-visible, .mhg-consent-links a:focus-visible { outline: 3px solid #185ca6; outline-offset: 3px; }
.mhg-consent-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.mhg-consent-links a { color: #174d25; text-decoration: underline; text-underline-offset: 3px; }
.mhg-consent-settings {
  appearance: none; border: 0; background: none; color: inherit;
  padding: 8px 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}
.mhg-consent-dialog {
  box-sizing: border-box;
  width: min(560px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 24px;
  border: 1px solid #bdc9c2;
  border-radius: 6px;
  overflow: auto;
}
.mhg-consent-dialog::backdrop { background: rgb(10 23 17 / 55%); }
.mhg-consent-dialog-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.mhg-consent-dialog-heading h2 { margin: 0; }
.mhg-consent-dialog section { border-bottom: 1px solid #dce4df; padding: 20px 0; }
.mhg-consent-setting-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.mhg-consent-setting-heading h3 { font-size: 16px; line-height: 1.4; margin: 0; }
.mhg-consent-setting-heading span { color: #346b45; font-size: 13px; }
.mhg-consent-option { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.mhg-consent-option input { width: 22px; height: 22px; flex: 0 0 22px; accent-color: #246a35; margin: 0; }
.mhg-consent-dialog [data-consent-note], .mhg-consent-dialog [data-consent-reload] { margin-top: 16px; }
.mhg-consent-dialog [data-consent-reload] { padding-left: 12px; border-left: 3px solid #a25c16; }
.mhg-consent-dialog-actions { margin: 20px 0 16px; }
.mhg-consent-dialog-actions button { width: 100%; background: #246a35; color: #fff; }
.mhg-consent-dialog-actions button:hover { background: #174d25; }
.mhg-consent-storage-warning { grid-column: 1 / -1; color: #9d281e; }
@media (max-width: 740px) {
  .mhg-consent-inner { padding: 16px; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mhg-consent-banner h2 { font-size: 18px; }
  .mhg-consent-dialog { padding: 18px; }
}
@media print { .mhg-consent-banner, .mhg-consent-dialog, .mhg-consent-settings { display: none !important; } }
