/* All rules are gated by the JS structure/visibility check. Never hide or reveal CMP states. */
.fc-consent-root[data-ncs-card="1"] .fc-dialog-container {
  align-items: flex-end !important;
  justify-content: flex-end !important;
  box-sizing: border-box !important;
  padding: 16px !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
}
.fc-consent-root[data-ncs-card="1"] .fc-choice-dialog {
  box-sizing: border-box !important;
  width: 420px !important;
  max-width: 100% !important;
  max-height: calc(100vh - 32px) !important;
  max-height: min(286px, calc(100dvh - 32px)) !important;
  margin: 0 !important;
  border: 1px solid #dce3e8 !important;
  border-radius: 11px !important;
  background: #fff !important;
  box-shadow: 0 10px 36px #14263733 !important;
}
.fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-dialog-content {
  width: auto !important;
  box-sizing: border-box !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  padding: 0 !important;
  scrollbar-gutter: stable;
  border-radius: 9px 9px 0 0 !important;
}
.fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-dialog-scrollable-content {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 12px 14px !important;
}
.fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-dialog-restricted-content {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}
.fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-header .fc-header-text {
  text-align: start !important;
  color: #3b4e5d !important;
  margin: 0 0 6px !important;
}
.fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-header h1.fc-dialog-headline {
  text-align: start !important;
  font-size: 0.9375rem !important;
  line-height: 1.35 !important;
  margin: 0 0 8px !important;
}
.fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-footer-buttons-container {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  box-sizing: border-box !important;
  flex: 0 0 auto !important;
  padding: 7px 12px 10px !important;
  gap: 6px !important;
  border-top: 1px solid #e4e9ed !important;
}
.fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-footer-buttons {
  flex: 0 0 auto !important;
  max-width: none !important;
  flex-direction: column !important;
  gap: 6px !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}
.fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-footer-buttons-container > .fc-button,
.fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-footer-buttons > .fc-button {
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 44px !important;
  height: auto !important;
  flex: 0 0 auto !important;
  padding: 8px 12px !important;
  order: 0 !important;
  margin: 0 !important;
  border: 1px solid #e3eaf2 !important;
  border-radius: 5px !important;
  background: #e3eaf2 !important;
  color: #183b55 !important;
  font-family: inherit !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  font-style: normal !important;
  line-height: 1.3 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: normal !important;
}
.fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-button-background {
  background: #e3eaf2 !important;
  border-radius: 5px !important;
}
.fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-footer-buttons > .fc-button {
  flex: 0 0 auto !important;
  width: 100% !important;
  min-width: 0 !important;
  overflow-wrap: anywhere;
}
.fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-button-label,
.fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-manage-options-third-button-label {
  color: #183b55 !important;
  font-family: inherit !important;
  font-size: 0.875rem !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  text-decoration: none !important;
  margin: 0 !important;
}
.fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-button:focus-visible {
  outline: 3px solid #183b55 !important;
  outline-offset: 2px !important;
}
.fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-footer-buttons > .fc-cta-consent,
.fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-cta-consent .fc-button-background {
  background: #075dcc !important;
  border-color: #075dcc !important;
  color: #fff !important;
}
.fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-cta-consent .fc-button-label {
  color: #fff !important;
}
@media (max-width: 600px) {
  .fc-consent-root[data-ncs-card="1"] .fc-dialog-container {
    padding: 0 8px !important;
    justify-content: center !important;
  }
  .fc-consent-root[data-ncs-card="1"] .fc-choice-dialog {
    width: 100% !important;
    max-height: calc(100vh - 16px) !important;
    max-height: min(286px, calc(100dvh - 16px)) !important;
    border-radius: 11px 11px 0 0 !important;
  }
  .fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-dialog-scrollable-content {
    padding: 12px 14px !important;
  }
  .fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-footer-buttons-container {
    padding: 7px 12px max(10px, env(safe-area-inset-bottom)) !important;
  }
}
@media (max-width: 359px) {
  .fc-consent-root[data-ncs-card="1"] .fc-choice-dialog {
    max-height: min(306px, calc(100dvh - 16px)) !important;
  }
  .fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-footer-buttons {
    flex-direction: column !important;
  }
  .fc-consent-root[data-ncs-card="1"] .fc-choice-dialog .fc-footer-buttons > .fc-button {
    width: 100% !important;
    flex: 0 0 auto !important;
  }
}
