.clq-shell {
  --clq-accent: #f36b2c;
  --clq-accent-dark: #cf4f18;
  --clq-ink: #292630;
  --clq-muted: #686370;
  --clq-line: #ded9e1;
  --clq-soft: #f8f6f9;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--clq-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(41, 38, 48, .08);
  color: var(--clq-ink);
  font-family: inherit;
  box-sizing: border-box;
}

.clq-shell *, .clq-shell *::before, .clq-shell *::after { box-sizing: border-box; }
.clq-header { max-width: 760px; margin-bottom: 28px; }
.clq-eyebrow { display: inline-block; margin-bottom: 8px; color: var(--clq-accent); font-size: 13px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.clq-header h2 { margin: 0 0 10px; color: var(--clq-ink); font-size: clamp(28px, 4vw, 42px); line-height: 1.12; }
.clq-header p { margin: 0; color: var(--clq-muted); font-size: 17px; line-height: 1.6; }

.clq-progress-wrap { margin: 0 0 34px; }
.clq-progress-meta { display: flex; justify-content: space-between; margin-bottom: 9px; color: var(--clq-muted); font-size: 13px; font-weight: 650; }
.clq-progress { height: 7px; overflow: hidden; border-radius: 999px; background: #eeeaf0; }
.clq-progress span { display: block; width: 20%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--clq-accent), #f2ad2c); transition: width .25s ease; }

.clq-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.clq-form legend { display: block; width: 100%; margin: 0 0 6px; padding: 0; color: var(--clq-ink); font-size: 24px; font-weight: 750; line-height: 1.25; }
.clq-step-intro { margin: 0 0 26px; color: var(--clq-muted); line-height: 1.55; }
.clq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.clq-field { display: flex; min-width: 0; flex-direction: column; gap: 7px; margin-bottom: 22px; }
.clq-grid .clq-field { margin-bottom: 0; }
.clq-field-full { grid-column: 1 / -1; }
.clq-label { color: var(--clq-ink); font-size: 15px; font-weight: 700; line-height: 1.35; }
.clq-label small { color: var(--clq-muted); font-size: .88em; font-weight: 500; }
.clq-help { margin-top: -2px; color: var(--clq-muted); font-size: 13px; line-height: 1.45; }

.clq-shell input[type="text"],
.clq-shell input[type="email"],
.clq-shell input[type="url"],
.clq-shell input[type="tel"],
.clq-shell input[type="number"],
.clq-shell select,
.clq-shell textarea {
  width: 100%;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #cfc9d2;
  border-radius: 9px;
  outline: none;
  background: #fff;
  color: var(--clq-ink);
  font: inherit;
  line-height: 1.45;
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.clq-shell textarea { min-height: 112px; resize: vertical; }
.clq-shell input:focus, .clq-shell select:focus, .clq-shell textarea:focus { border-color: var(--clq-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--clq-accent) 18%, transparent); }
.clq-shell input[aria-invalid="true"], .clq-shell select[aria-invalid="true"], .clq-shell textarea[aria-invalid="true"] { border-color: #b42318; box-shadow: 0 0 0 2px rgba(180, 35, 24, .12); }

.clq-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.clq-choice-card { display: block; position: relative; cursor: pointer; }
.clq-choice-card input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.clq-choice-card span { display: flex; min-height: 58px; align-items: center; padding: 13px 15px; border: 1px solid var(--clq-line); border-radius: 10px; background: #fff; color: var(--clq-ink); font-size: 14px; font-weight: 650; line-height: 1.35; transition: border-color .15s ease, background .15s ease, transform .15s ease; }
.clq-choice-card:hover span { border-color: var(--clq-accent); transform: translateY(-1px); }
.clq-choice-card input:checked + span { border-color: var(--clq-accent); background: color-mix(in srgb, var(--clq-accent) 8%, white); box-shadow: inset 4px 0 0 var(--clq-accent); }
.clq-choice-card input:focus-visible + span { outline: 3px solid color-mix(in srgb, var(--clq-accent) 30%, transparent); outline-offset: 2px; }

.clq-check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px 16px; }
.clq-check, .clq-consent { display: flex; align-items: flex-start; gap: 9px; color: var(--clq-ink); cursor: pointer; font-size: 14px; line-height: 1.45; }
.clq-check input, .clq-consent input { width: 18px; height: 18px; flex: 0 0 18px; margin: 2px 0 0; accent-color: var(--clq-accent); }
.clq-group-error { color: #b42318; font-size: 13px; font-weight: 650; }
.clq-consents { display: grid; gap: 13px; margin-top: 25px; padding: 20px; border-radius: 10px; background: var(--clq-soft); }
.clq-consent a { color: var(--clq-accent-dark); text-decoration: underline; text-underline-offset: 2px; }

.clq-actions { display: flex; justify-content: flex-end; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--clq-line); }
.clq-btn { min-height: 48px; padding: 12px 22px; border: 1px solid transparent; border-radius: 9px; cursor: pointer; font: inherit; font-size: 15px; font-weight: 750; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.clq-btn:hover { transform: translateY(-1px); }
.clq-btn:focus-visible { outline: 3px solid color-mix(in srgb, var(--clq-accent) 35%, transparent); outline-offset: 2px; }
.clq-btn-next, .clq-btn-submit { background: var(--clq-accent); color: #fff; box-shadow: 0 8px 18px color-mix(in srgb, var(--clq-accent) 24%, transparent); }
.clq-btn-next:hover, .clq-btn-submit:hover { background: var(--clq-accent-dark); color: #fff; }
.clq-btn-back { border-color: var(--clq-line); background: #fff; color: var(--clq-ink); }
.clq-btn[disabled] { cursor: wait; opacity: .65; transform: none; }
.clq-required-note { margin: 12px 0 0; color: var(--clq-muted); font-size: 12px; text-align: right; }
.clq-form-error { margin-top: 22px; padding: 13px 15px; border-left: 4px solid #b42318; border-radius: 6px; background: #fff1f0; color: #7a271a; font-size: 14px; }
.clq-hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

.clq-success { padding: 32px 10px 10px; text-align: center; }
.clq-success-icon { display: grid; width: 58px; height: 58px; place-items: center; margin: 0 auto 18px; border-radius: 50%; background: #e7f6ec; color: #157c3c; font-size: 30px; font-weight: 800; }
.clq-success h3 { margin: 0 0 10px; color: var(--clq-ink); font-size: 27px; }
.clq-success p { max-width: 620px; margin: 0 auto 8px; color: var(--clq-muted); line-height: 1.6; }
.clq-success .clq-reference { color: var(--clq-ink); font-weight: 700; }

.clq-tool-form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.clq-tool-form legend { display: block; width: 100%; margin: 0 0 6px; padding: 0; color: var(--clq-ink); font-size: 24px; font-weight: 750; }
.clq-input-unit { display: flex; overflow: hidden; align-items: stretch; border: 1px solid #cfc9d2; border-radius: 9px; background: #fff; }
.clq-input-unit:focus-within { border-color: var(--clq-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--clq-accent) 18%, transparent); }
.clq-input-unit input { min-width: 0; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
.clq-input-unit > span { display: grid; min-width: 66px; place-items: center; padding: 0 12px; background: var(--clq-soft); color: var(--clq-muted); font-size: 13px; font-weight: 700; }
.clq-question-list { display: grid; gap: 12px; }
.clq-scale-question { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(180px, .6fr); gap: 18px; align-items: center; padding: 15px 17px; border: 1px solid var(--clq-line); border-radius: 10px; background: var(--clq-soft); color: var(--clq-ink); font-size: 14px; font-weight: 650; line-height: 1.45; }
.clq-scale-question select { min-height: 42px; padding: 8px 12px; background: #fff; font-weight: 500; }
.clq-grid-after-questions { margin-top: 22px; }
.clq-tool-result { margin: 0 0 28px; padding: clamp(22px, 4vw, 34px); border: 1px solid color-mix(in srgb, var(--clq-accent) 38%, var(--clq-line)); border-radius: 16px; background: linear-gradient(145deg, color-mix(in srgb, var(--clq-accent) 8%, white), #fff); }
.clq-result-kicker { margin-bottom: 7px; color: var(--clq-accent-dark); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.clq-tool-result h3 { margin: 0 0 22px; color: var(--clq-ink); font-size: clamp(23px, 3vw, 32px); line-height: 1.2; }
.clq-result-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.clq-result-metrics > div { display: flex; min-height: 108px; flex-direction: column; justify-content: space-between; padding: 16px; border-radius: 11px; background: #fff; box-shadow: 0 7px 22px rgba(41, 38, 48, .07); }
.clq-result-metrics span { color: var(--clq-muted); font-size: 13px; font-weight: 650; line-height: 1.35; }
.clq-result-metrics strong { margin-top: 12px; color: var(--clq-ink); font-size: clamp(19px, 2.6vw, 26px); line-height: 1.15; }
.clq-result-details { margin: 24px 0 16px; padding-left: 20px; color: var(--clq-ink); line-height: 1.55; }
.clq-result-details li + li { margin-top: 8px; }
.clq-result-disclaimer { margin: 0; color: var(--clq-muted); font-size: 12px; line-height: 1.5; }
.clq-link-button { margin-top: 18px; padding: 0; border: 0; background: none; color: var(--clq-accent-dark); cursor: pointer; font: inherit; font-size: 13px; font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.clq-tool-contact { padding-top: 8px !important; }

@media (max-width: 720px) {
  .clq-shell { padding: 24px 18px; border-radius: 14px; }
  .clq-grid, .clq-choice-grid, .clq-check-grid { grid-template-columns: 1fr; }
  .clq-actions { align-items: stretch; flex-direction: column-reverse; }
  .clq-btn { width: 100%; }
  .clq-required-note { text-align: left; }
  .clq-scale-question { grid-template-columns: 1fr; gap: 9px; }
  .clq-result-metrics { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .clq-shell *, .clq-shell *::before, .clq-shell *::after { scroll-behavior: auto !important; transition: none !important; }
}
