.dsp {
  --dsp-plum: #573450;
  --dsp-plum-dark: #38243a;
  --dsp-lilac: #eee5f0;
  --dsp-lilac-border: #d5c2d6;
  --dsp-ivory: #fffdf8;
  --dsp-text: #2b2630;
  --dsp-muted: #5c5360;
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 760px;
  margin: 1.5rem auto;
  padding: clamp(1rem, 3vw, 1.8rem);
  color: var(--dsp-text);
  background: var(--dsp-ivory);
  border: 1px solid var(--dsp-lilac-border);
  border-radius: 20px;
  box-shadow: 0 12px 36px rgba(56, 36, 58, .07);
  font: 400 1rem/1.55 system-ui, -apple-system, "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}
.dsp *, .dsp *::before, .dsp *::after { box-sizing: border-box; }
.dsp [hidden] { display: none !important; }
.dsp :is(h2, h3, h4, p) { margin-top: 0; }
.dsp h2 { color: var(--dsp-plum-dark); font-size: clamp(1.4rem, 3.5vw, 1.9rem); line-height: 1.2; }
.dsp h3 { color: var(--dsp-plum-dark); font-size: 1.25rem; }
.dsp h4 { color: var(--dsp-plum-dark); font-size: 1.08rem; }
.dsp-head { border-bottom: 1px solid var(--dsp-lilac-border); margin-bottom: 1.2rem; }
.dsp-head p:last-child { color: var(--dsp-muted); }
.dsp-kicker { color: var(--dsp-plum); font-size: .8rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.dsp-step { width: fit-content; padding: .32rem .7rem; border-radius: 999px; background: var(--dsp-lilac); color: var(--dsp-plum-dark); font-size: .87rem; font-weight: 700; }
.dsp-question { min-width: 0; margin: 0 0 1rem; padding: .85rem 1rem 1rem; border: 1px solid var(--dsp-lilac-border); border-radius: 13px; }
.dsp-question legend { padding: 0 .3rem; font-weight: 650; color: var(--dsp-plum-dark); }
.dsp-question label { display: inline-flex; align-items: center; gap: .4rem; margin: .35rem 1.4rem .1rem 0; cursor: pointer; }
.dsp-question input { width: 1.1rem; height: 1.1rem; accent-color: var(--dsp-plum); }
.dsp-field { display: flex; flex-direction: column; gap: .22rem; min-width: 0; margin-bottom: .75rem; color: var(--dsp-plum-dark); font-weight: 650; }
.dsp-field input { width: 100%; min-height: 44px; padding: .55rem .7rem; border: 1px solid #a994aa; border-radius: 9px; background: #fff; color: var(--dsp-text); font: inherit; }
.dsp-field input::placeholder { color: #706675; opacity: 1; }
.dsp-field small { color: var(--dsp-muted); font-size: .78rem; font-weight: 400; line-height: 1.35; }
.dsp-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 1.1rem; }
.dsp-hint, .dsp-privacy { color: var(--dsp-muted); font-size: .87rem; }
.dsp-primary, .dsp-secondary, .dsp-quiet { max-width: 100%; min-height: 44px; border-radius: 10px; padding: .62rem 1rem; font: inherit; font-weight: 700; white-space: normal; cursor: pointer; }
.dsp-primary { border: 1px solid var(--dsp-plum); background: var(--dsp-plum); color: #fff; }
.dsp-primary:hover { background: var(--dsp-plum-dark); }
.dsp-secondary { border: 1px solid var(--dsp-plum); background: #fff; color: var(--dsp-plum); }
.dsp-secondary:hover { background: var(--dsp-lilac); }
.dsp-quiet { border: 1px solid transparent; background: transparent; color: var(--dsp-plum-dark); text-decoration: underline; }
.dsp :focus-visible { outline: 3px solid #9c6ca6; outline-offset: 3px; }
.dsp-error { padding: .8rem 1rem; border-left: 4px solid #a53748; background: #fff0f1; color: #682633; font-weight: 650; }
.dsp-safety-notice { padding: .9rem 1rem; border-radius: 10px; font-weight: 700; }
.dsp-safety-notice > :last-child { margin-bottom: 0; }
.dsp-none { margin-bottom: 1rem; background: #f1edf3; border: 1px solid var(--dsp-lilac-border); color: var(--dsp-plum-dark); }
.dsp-emergency { background: #fae9e9; border: 2px solid #aa3941; color: #70242c; }
.dsp-urgent { background: #fff1e0; border: 2px solid #b66526; color: #6f3717; }
.dsp-review-safety { margin-top: .35rem; }
.dsp-result { margin-top: 1rem; }
.dsp-ready { font-weight: 750; color: var(--dsp-plum-dark); }
.dsp-summary, .dsp-comparison { padding: 1rem; margin-bottom: 1rem; background: #f8f2f8; border: 1px solid var(--dsp-lilac-border); border-radius: 12px; }
.dsp-date { font-weight: 750; }
.dsp-values { margin: .3rem 0 0; padding-left: 1.3rem; }
.dsp-values li { margin: .25rem 0; }
.dsp-questions { padding-left: 1.3rem; }
.dsp-questions li { margin-bottom: .5rem; }
.dsp-second-form { margin: 1.2rem 0; padding: 1rem; border: 1px solid var(--dsp-lilac-border); border-radius: 12px; }
.dsp-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; }
.dsp-sources { margin-top: 1.5rem; padding-top: .8rem; border-top: 1px solid var(--dsp-lilac-border); font-size: .85rem; }
.dsp-sources summary { color: var(--dsp-plum-dark); cursor: pointer; font-weight: 650; }
.dsp-sources ul { margin-bottom: 0; padding-left: 1.25rem; }
.dsp-sources a { color: var(--dsp-plum); overflow-wrap: anywhere; text-underline-offset: 2px; }
.dsp-privacy { margin: .9rem 0 0; }
@media (max-width: 520px) {
  .dsp { margin: 1rem 0; border-radius: 14px; padding: 1rem; }
  .dsp-grid { grid-template-columns: 1fr; gap: 0; }
  .dsp-question label { margin-right: .9rem; }
  .dsp-actions > button, .dsp-primary { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .dsp * { scroll-behavior: auto !important; transition: none !important; } }
