.cookie-settings-link {
  appearance: none;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 12px;
  padding: 0;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.5;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.cookie-settings-link:focus-visible { outline: 2px solid #168183; outline-offset: 4px; }
/* Keep the footer-only access even while the provider's old widget config is cached. */
#CookiebotWidget { display: none !important; }
.cookie-footer-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 24px;
}
.marketing-footer .legal-links {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  padding-bottom: 20px;
  align-items: center;
}
.legal-footer nav,
.sidebar-legal { align-items: center; }
.cookiebot-dialog-open .help-chat-launcher,
.cookiebot-dialog-open .help-chat-panel { visibility: hidden; }
.cookie-provider-status:not([hidden]) {
  position: fixed; z-index: 2147483647; bottom: 0; left: 0; right: 0;
  margin: 0; padding: 12px 24px; background: #fff; color: #8c2d20;
  border-top: 1px solid #c9d7da; font-size: 14px; line-height: 1.5;
}
.cookie-notice {
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  border-radius: 0;
  border-width: 1px 0 0;
  padding: 14px 24px max(14px, env(safe-area-inset-bottom));
}
.cookie-notice-actions { flex-wrap: wrap; }
.cookie-notice:not([hidden]) ~ .help-chat-launcher {
  bottom: max(96px, calc(var(--cookie-notice-height, 170px) + 16px));
}
.cookie-notice:not([hidden]) ~ .help-chat-panel {
  bottom: calc(var(--cookie-notice-height, 170px) + 76px);
}
.cookie-preferences-dialog {
  width: min(600px, calc(100vw - 24px));
  max-height: calc(100dvh - 32px);
  box-sizing: border-box;
  overflow: auto;
  border: 1px solid #c9d7da;
  border-radius: 8px;
  padding: 24px;
  color: #17212b;
  background: white;
  font-family: inherit;
}
.cookie-preferences-dialog::backdrop { background: rgb(18 36 42 / 52%); }
.cookie-preferences-dialog header { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-preferences-dialog h2 { font-size: 21px; margin: 0; }
.cookie-preferences-dialog h3 { font-size: 15px; margin: 0; }
.cookie-preferences-dialog p { font-size: 14px; line-height: 1.55; margin: 8px 0 0; }
.cookie-preferences-dialog section { padding: 20px 0; border-bottom: 1px solid #dbe4e7; }
.cookie-preference-row { display: flex; align-items: flex-start; gap: 20px; justify-content: space-between; }
.cookie-preference-state { font-size: 12px; font-weight: 700; color: #155c60; flex-shrink: 0; }
.cookie-preferences-dialog a { color: #155c60; }
.cookie-preferences-dialog footer { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; margin-top: 24px; }
.cookie-preferences-dialog button { min-height: 42px; padding: 10px 14px; border: 1px solid #c9d7da; border-radius: 6px; background: white; color: #17212b; font: inherit; font-size: 14px; cursor: pointer; }
.cookie-preferences-dialog .cookie-save { color: white; background: #155c60; border-color: #155c60; }
.cookie-preferences-dialog .cookie-close { flex-shrink: 0; width: 42px; height: 42px; padding: 0; font-size: 24px; }
.cookie-preferences-dialog button:focus-visible { outline: 2px solid #168183; outline-offset: 3px; }
@media (max-width: 640px) {
  .cookie-settings-link { min-height: 44px; text-align: left; }
  .marketing-footer .legal-links { justify-content: flex-start; gap: 4px 16px; }
  .marketing-footer .marketing-container { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  #back-to-top { right: 80px; bottom: 20px; }
  .cookie-footer-controls { width: calc(100% - 28px); }
  .cookie-notice { left: 0; right: 0; bottom: 0; padding: 12px 16px max(12px, env(safe-area-inset-bottom)); gap: 10px; }
  .cookie-preferences-dialog { padding: 18px; }
  .cookie-preference-row { flex-wrap: wrap; gap: 6px; }
  .cookie-preferences-dialog footer { display: grid; grid-template-columns: 1fr; }
}
