.chc-config-disclosure {
  margin: 0;
  border: 0;
  border-top: 1px solid #E2E8F0;
}

.chc-config-disclosure > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  min-height: 54px;
  padding: 0.8rem 0;
  color: #0F172A;
  cursor: pointer;
  list-style: none;
}

.chc-config-disclosure > summary::-webkit-details-marker {
  display: none;
}

.chc-config-disclosure > summary::after {
  content: "+";
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid #CBD5E1;
  border-radius: 999px;
  color: #1764C8;
  background: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
}

.chc-config-disclosure[open] > summary::after {
  content: "−";
}

.chc-config-disclosure > summary:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.16);
  outline-offset: 3px;
  border-radius: 10px;
}

.chc-disclosure-title {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
}

.chc-disclosure-title strong {
  color: #0F172A;
  font-size: 1rem;
  line-height: 1.3;
}

.chc-disclosure-summary {
  color: #64748B;
  font-size: 0.8rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.chc-config-disclosure .chc-config-section {
  padding-top: 0.35rem;
  border-top: 0;
}

.chc-config-disclosure .chc-config-section > legend.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chc-embed-code-details {
  margin-top: 1rem;
  border: 1px solid #DCE4EE;
  border-radius: 12px;
  background: #F8FAFC;
}

.chc-embed-code-details > summary {
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  color: #1764C8;
  cursor: pointer;
  font-weight: 800;
}

.chc-embed-code-details > summary:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.16);
  outline-offset: 2px;
  border-radius: 10px;
}

.chc-embed-code-details > label {
  display: block;
  padding: 0 0.9rem;
  color: #1E293B;
  font-size: 0.86rem;
  font-weight: 800;
}

.chc-embed-code-details .chc-embed-code-output {
  width: calc(100% - 1.8rem);
  margin: 0.5rem 0.9rem 0.9rem;
}

.chc-widget .hc-range-group input[type="range"] {
  min-height: 44px;
  touch-action: pan-y;
}

@media (max-width: 680px) {
  .chc-widget .hc-addon-summary-controls {
    flex-wrap: wrap;
    justify-content: flex-start;
    white-space: normal;
  }

  .chc-widget .hc-addon-summary,
  .chc-widget .hc-addon-toggle-text {
    white-space: nowrap;
  }

  .chc-config-disclosure > summary {
    min-height: 58px;
    padding: 0.9rem 0;
  }

  .chc-disclosure-summary {
    font-size: 0.78rem;
  }

  .chc-generate-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .chc-embed-code-details .chc-embed-code-output {
    min-height: 150px;
  }
}
