/* Presentation only; native Complianz controls own consent and visibility. */
.cmplz-cookiebanner.tudi-consent-presentation {
  --cmplz_banner_background_color: #fff;
  --cmplz_text_color: #182126;
  --cmplz_hyperlink_color: #7d1420;
  --cmplz_title_font_size: 18px;
  --cmplz_text_font_size: 16px;
  --cmplz_text_line_height: 1.45;
  --cmplz_link_font_size: 14px;
  --cmplz_category_body_font_size: 16px;
  --cmplz_category_header_title_font_size: 16px;
  --cmplz_category_header_active_font_size: 14px;
  --cmplz_category_header_always_active_color: #465157;
  --cmplz_button_accept_background_color: #f6f5f1;
  --cmplz_button_accept_border_color: #7d1420;
  --cmplz_button_accept_text_color: #7d1420;
  --cmplz_button_deny_background_color: #f6f5f1;
  --cmplz_button_deny_border_color: #7d1420;
  --cmplz_button_deny_text_color: #7d1420;
  --cmplz_button_settings_background_color: #fff;
  --cmplz_button_settings_border_color: #a9aca7;
  --cmplz_button_settings_text_color: #182126;
  --cmplz_button_border_radius: 4px;
  --cmplz_button_font_size: 16px;
  --cmplz_slider_active_color: #7d1420;
  --cmplz_slider_inactive_color: #596268;
  font-family: Inter, sans-serif;
  width: min(526px, calc(100vw - 24px));
  min-width: 0;
  max-width: calc(100vw - 24px);
  max-height: calc(100vh - 24px);
  max-height: calc(100svh - 24px);
  padding: 16px;
  gap: 12px;
  grid-template-rows: auto;
  border: 1px solid #a9aca7;
  border-radius: 8px;
  box-shadow: none;
  right: 12px;
  bottom: 12px;
  left: auto;
  top: auto;
  transform: none;
}
.cmplz-cookiebanner.tudi-consent-presentation.cmplz-show,
.cmplz-cookiebanner.tudi-consent-presentation.cmplz-show:hover { box-shadow: none; }
.cmplz-cookiebanner.tudi-consent-presentation .cmplz-header { grid-template-columns: 1fr auto; min-height: 44px; }
.cmplz-cookiebanner.tudi-consent-presentation .cmplz-header .cmplz-title {
  display: block;
  grid-column: 1;
  justify-self: start;
  font-weight: 600;
}
.cmplz-cookiebanner.tudi-consent-presentation .cmplz-close { grid-column: 2; width: 44px; height: 44px; padding: 12px; }
.cmplz-cookiebanner.tudi-consent-presentation .cmplz-body {
  min-width: 0;
  max-height: none;
  overflow: visible;
}
.cmplz-cookiebanner.tudi-consent-presentation .cmplz-message,
.cmplz-cookiebanner.tudi-consent-presentation .cmplz-categories { width: auto; }
.cmplz-cookiebanner.tudi-consent-presentation .cmplz-message { margin: 0; }
.cmplz-cookiebanner.tudi-consent-presentation .cmplz-divider { display: none; }
.cmplz-cookiebanner.tudi-consent-presentation .cmplz-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.cmplz-cookiebanner.tudi-consent-presentation .cmplz-buttons .cmplz-btn {
  min-height: 44px;
  height: auto;
  white-space: normal;
  padding: 10px 8px;
  line-height: 1.3;
}
.cmplz-cookiebanner.tudi-consent-presentation .cmplz-view-preferences,
.cmplz-cookiebanner.tudi-consent-presentation .cmplz-save-preferences { grid-column: 1 / -1; }
.cmplz-cookiebanner.tudi-consent-presentation .cmplz-documents ul { flex-wrap: wrap; gap: 4px 16px; }
.cmplz-cookiebanner.tudi-consent-presentation .cmplz-links a { display: inline-block; padding-block: 6px; text-underline-offset: 3px; }
.cmplz-cookiebanner.tudi-consent-presentation :is(button, a, [role="button"]):focus-visible,
#cmplz-manage-consent button.cmplz-manage-consent:focus-visible { outline: 3px solid #7d1420; outline-offset: 3px; }
.cmplz-cookiebanner.tudi-consent-presentation input:focus-visible + label { outline: 3px solid #7d1420; outline-offset: 5px; }
.cmplz-cookiebanner.tudi-consent-presentation .cmplz-category-toggle { min-width: 44px; min-height: 44px; }
.cmplz-cookiebanner.tudi-consent-presentation .cmplz-categories .cmplz-category .cmplz-category-header { grid-template-columns: 1fr auto 44px; }
#cmplz-manage-consent button.cmplz-manage-consent {
  min-height: 44px;
  height: auto;
  padding: 10px 14px;
  right: 12px;
  bottom: 0;
  animation: none;
  background: #fff;
  color: #7d1420;
  border: 1px solid #a9aca7;
  border-radius: 4px 4px 0 0;
  box-shadow: none;
  font: 14px/1.5 Inter, sans-serif;
}
@media (min-width: 600px) {
  .cmplz-cookiebanner.tudi-consent-presentation .cmplz-buttons { grid-template-columns: repeat(3, 1fr); }
  .cmplz-cookiebanner.tudi-consent-presentation .cmplz-view-preferences { grid-column: auto; }
}
@media (max-height: 400px) {
  .cmplz-cookiebanner.tudi-consent-presentation { height: auto; overflow: auto; zoom: 1 !important; }
  .cmplz-cookiebanner.tudi-consent-presentation .cmplz-close { zoom: 1 !important; }
  .cmplz-cookiebanner.tudi-consent-presentation .cmplz-header { max-height: none; margin-bottom: 0 !important; }
  .cmplz-cookiebanner.tudi-consent-presentation .cmplz-buttons .cmplz-btn { min-height: 44px !important; height: auto !important; padding: 10px 8px !important; font-size: 16px !important; line-height: 1.3 !important; white-space: normal !important; zoom: 1 !important; }
  .cmplz-cookiebanner.tudi-consent-presentation .cmplz-documents { display: flex !important; zoom: 1 !important; }
}
@media (prefers-reduced-motion: reduce) {
  .cmplz-cookiebanner.tudi-consent-presentation *, #cmplz-manage-consent button.cmplz-manage-consent { animation: none !important; transition: none !important; }
}
