/* Isolated marketing consent UI; no remote fonts, shared selectors, or inline styles. */
.ssp-cookie-preferences,
.ssp-consent-panel {
  font-family: inherit;
  font-size: 14px;
  line-height: 1.5;
  color: #17243b;
}
.ssp-cookie-preferences {
  position: fixed;
  inset: auto auto 12px 12px;
  z-index: 2147483000;
  max-width: calc(100vw - 24px);
  padding: 8px 12px;
  border: 1px solid #637084;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 8px rgb(15 23 42 / 12%);
  cursor: pointer;
}
.ssp-consent-panel {
  position: fixed;
  inset: auto 12px 58px auto;
  z-index: 2147483001;
  box-sizing: border-box;
  width: 510px;
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 82px);
  overflow: auto;
  padding: 18px;
  border: 1px solid #b4bdca;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 30px rgb(15 23 42 / 18%);
  text-align: start;
}
.ssp-consent-panel[hidden],
.ssp-consent-panel [hidden] {
  display: none !important;
}
.ssp-consent-panel .ssp-consent-title {
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.3;
  font-weight: 700;
  color: #17243b;
}
.ssp-consent-panel p {
  margin: 6px 0 10px;
  font-size: 14px;
  line-height: 1.5;
  color: #17243b;
}
.ssp-consent-panel .ssp-consent-privacy {
  color: #174bc6;
  text-decoration: underline;
}
.ssp-consent-panel .ssp-consent-options {
  min-width: 0;
  padding: 10px 12px;
  margin: 12px 0;
  border: 1px solid #b4bdca;
  border-radius: 6px;
}
.ssp-consent-panel .ssp-consent-options legend {
  font-size: 14px;
  font-weight: 600;
  padding: 0 4px;
}
.ssp-consent-panel .ssp-consent-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  color: #17243b;
  cursor: pointer;
}
.ssp-consent-panel .ssp-consent-checkbox input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin: 0;
  accent-color: #174bc6;
}
.ssp-consent-panel .ssp-consent-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.ssp-consent-panel .ssp-consent-button {
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid #174bc6;
  border-radius: 6px;
  background: #fff;
  color: #174bc6;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  cursor: pointer;
}
/* Accept/reject have equal visual weight, target size, and access. */
.ssp-consent-panel .ssp-consent-button:disabled {
  cursor: not-allowed;
  color: #596577;
  border-color: #8591a1;
  background: #f3f4f6;
}
.ssp-cookie-preferences:focus-visible,
.ssp-consent-panel :is(button, a, input):focus-visible {
  outline: 3px solid #174bc6;
  outline-offset: 3px;
}
@media (max-width: 540px) {
  .ssp-consent-panel {
    inset-inline-start: 12px;
    padding: 14px;
  }
  .ssp-consent-panel .ssp-consent-button {
    flex: 1 1 auto;
  }
}
@media (forced-colors: active) {
  .ssp-cookie-preferences,
  .ssp-consent-panel,
  .ssp-consent-panel .ssp-consent-button {
    border-color: ButtonText;
  }
}
