.cq-theme-restorical {
  --rr-ink: #2a2828;
  --rr-copy: #454658;
  --rr-muted: #63605a;
  --rr-panel: #ffffff;
  --rr-wash: #f5f2ea;
  --rr-wash-2: #faf8f2;
  --rr-line: #ded7c8;
  --rr-line-strong: #c8bfae;
  --rr-gold: #c6ab68;
  --rr-gold-dark: #9b7f3d;
  --rr-blue: #2f6fa5;
  --rr-green: #39715a;
  --rr-red: #a0443f;
  --cq-focus-ring: rgb(198 171 104 / 0.26);
  --cq-shadow-color: 42 40 40;
  max-width: 900px;
  position: relative;
  z-index: 1;
  border-color: var(--rr-line);
  border-radius: 0;
  background: var(--rr-wash);
  color: var(--rr-copy);
  font-family: lora, Georgia, "Times New Roman", serif;
  box-shadow: 0 20px 46px rgb(var(--cq-shadow-color) / 0.08);
}

.cq-theme-restorical .cq-quiz__preview-notice {
  background: var(--rr-copy);
  color: #fff;
  font-family: futura-pt, Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cq-theme-restorical .cq-quiz__hero {
  border-top: 4px solid var(--rr-gold);
  background:
    linear-gradient(90deg, rgb(250 248 242 / 0.96), rgb(245 242 234 / 0.82)),
    var(--rr-wash);
  text-align: left;
}

.cq-theme-restorical .cq-quiz__hero p {
  max-width: 640px;
  margin-inline: 0;
  color: var(--rr-copy);
}

.cq-theme-restorical .cq-quiz__logo {
  margin-inline: 0;
}

.cq-theme-restorical .cq-quiz__eyebrow,
.cq-theme-restorical .cq-quiz__lead-field span,
.cq-theme-restorical .cq-quiz__field,
.cq-theme-restorical .cq-quiz__answer,
.cq-theme-restorical .cq-quiz__button,
.cq-theme-restorical .cq-quiz__progress span {
  font-family: futura-pt, Inter, ui-sans-serif, system-ui, sans-serif;
}

.cq-theme-restorical .cq-quiz__eyebrow {
  color: var(--rr-copy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.28em;
}

.cq-theme-restorical h2,
.cq-theme-restorical h3,
.cq-theme-restorical .cq-quiz__offer strong,
.cq-theme-restorical .cq-quiz__offer-capture h4 {
  color: var(--rr-ink);
  font-family: lora, Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.cq-theme-restorical h2 {
  max-width: 720px;
  font-size: clamp(38px, 6vw, 62px);
  line-height: 1.18;
}

.cq-theme-restorical h3 {
  font-size: clamp(27px, 4vw, 40px);
  line-height: 1.22;
}

.cq-theme-restorical .cq-quiz__progress {
  padding: 22px 28px 0;
}

.cq-theme-restorical .cq-quiz__progress span {
  color: var(--rr-copy);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cq-theme-restorical .cq-quiz__progress div {
  height: 6px;
  border-radius: 0;
  background: var(--rr-line);
}

.cq-theme-restorical .cq-quiz__progress div span {
  border-radius: 0;
  background: var(--rr-gold);
}

.cq-theme-restorical .cq-quiz__question,
.cq-theme-restorical .cq-quiz__lead,
.cq-theme-restorical .cq-quiz__result {
  border-color: var(--rr-line);
  border-radius: 0;
  background: var(--rr-panel);
  color: var(--rr-copy);
  box-shadow: 0 2px 0 rgb(198 171 104 / 0.14);
}

.cq-theme-restorical .cq-quiz__question .cq-quiz__eyebrow,
.cq-theme-restorical .cq-quiz__lead .cq-quiz__eyebrow,
.cq-theme-restorical .cq-quiz__result .cq-quiz__eyebrow {
  color: var(--rr-copy);
}

.cq-theme-restorical .cq-quiz__question p[data-question-description],
.cq-theme-restorical .cq-quiz__question .cq-quiz__hint,
.cq-theme-restorical .cq-quiz__lead > p:not(.cq-quiz__eyebrow):not(.cq-quiz__error),
.cq-theme-restorical .cq-quiz__result > div,
.cq-theme-restorical .cq-quiz__offer-capture p,
.cq-theme-restorical .cq-quiz__field small {
  color: var(--rr-copy);
}

.cq-theme-restorical .cq-quiz__answers {
  gap: 10px;
}

.cq-theme-restorical .cq-quiz__answer {
  min-height: 72px;
  border: 1px solid var(--rr-line-strong);
  border-radius: 0;
  background: #fff;
  color: var(--rr-ink);
  font-weight: 700;
  padding: 15px 16px;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.cq-theme-restorical .cq-quiz__answer:hover,
.cq-theme-restorical .cq-quiz__answer:focus-visible {
  border-color: var(--rr-gold);
  background: #fbfaf5;
  color: var(--rr-ink);
  box-shadow: 0 0 0 3px rgb(198 171 104 / 0.16);
  transform: translateY(-1px);
}

.cq-theme-restorical .cq-quiz__answer.is-selected {
  border-color: var(--rr-gold);
  background: #f3ecd9;
  color: var(--rr-ink);
  box-shadow: inset 4px 0 0 var(--rr-gold);
}

.cq-theme-restorical .cq-quiz__answer:hover *,
.cq-theme-restorical .cq-quiz__answer:focus-visible *,
.cq-theme-restorical .cq-quiz__answer.is-selected * {
  color: inherit;
}

.cq-theme-restorical .cq-quiz__answer img,
.cq-theme-restorical .cq-quiz__answer video,
.cq-theme-restorical .cq-quiz__result img,
.cq-theme-restorical .cq-quiz__question-image:not([hidden]) {
  border-radius: 0;
}

.cq-theme-restorical .cq-quiz__answers[data-layout='list'] .cq-quiz__answer--with-media img {
  box-sizing: border-box;
  background: var(--rr-wash-2);
  object-fit: contain;
  padding: 9px;
}

.cq-theme-restorical .cq-quiz__answer-placeholder {
  border-color: var(--rr-line);
  border-radius: 0;
  background: var(--rr-wash-2);
}

.cq-theme-restorical .cq-quiz__button {
  min-height: 50px;
  border-radius: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 13px 24px;
  text-transform: uppercase;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.cq-theme-restorical .cq-quiz__button--primary {
  border: 1px solid var(--rr-gold);
  background: var(--rr-gold);
  color: #fff;
}

.cq-theme-restorical .cq-quiz__button--primary:hover,
.cq-theme-restorical .cq-quiz__button--primary:focus-visible {
  border-color: var(--rr-gold-dark);
  background: var(--rr-gold-dark);
  color: #fff;
  transform: translateY(-1px);
}

.cq-theme-restorical .cq-quiz__button--secondary {
  border-color: var(--rr-line-strong);
  background: #fff;
  color: var(--rr-ink);
}

.cq-theme-restorical .cq-quiz__button--secondary:hover,
.cq-theme-restorical .cq-quiz__button--secondary:focus-visible {
  border-color: var(--rr-gold);
  color: var(--rr-gold-dark);
}

.cq-theme-restorical .cq-quiz__field input,
.cq-theme-restorical .cq-quiz__field select,
.cq-theme-restorical .cq-quiz__field textarea,
.cq-theme-restorical .cq-quiz__lead-field input {
  border-color: var(--rr-line);
  border-radius: 0;
  color: var(--rr-ink);
  font-family: lora, Georgia, "Times New Roman", serif;
}

.cq-theme-restorical .cq-quiz__field input:focus,
.cq-theme-restorical .cq-quiz__field select:focus,
.cq-theme-restorical .cq-quiz__field textarea:focus,
.cq-theme-restorical .cq-quiz__lead-field input:focus {
  border-color: var(--rr-gold);
  box-shadow: 0 0 0 3px rgb(198 171 104 / 0.2);
}

.cq-theme-restorical .cq-quiz__checkbox input {
  accent-color: var(--rr-gold);
}

.cq-theme-restorical .cq-quiz__result {
  border-top: 4px solid var(--rr-gold);
}

.cq-theme-restorical.cq-quiz--result-page .cq-quiz__result {
  text-align: center;
}

.cq-theme-restorical.cq-quiz--result-page .cq-quiz__result-style > div,
.cq-theme-restorical.cq-quiz--result-page .cq-quiz__result-responses > p:last-child {
  max-width: 700px;
  margin-inline: auto;
}

.cq-theme-restorical.cq-quiz--result-page .cq-quiz__result-summary dl {
  max-width: 560px;
  margin-inline: auto;
  text-align: left;
}

.cq-theme-restorical.cq-quiz--result-page .cq-quiz__result-summary dt {
  color: var(--rr-ink);
  font-family: futura-pt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-weight: 700;
}

.cq-theme-restorical.cq-quiz--result-page .cq-quiz__result-contact h4 {
  color: var(--rr-ink);
  font-weight: 700;
}

.cq-theme-restorical.cq-quiz--result-page .cq-quiz__result-context {
  margin-top: 0;
}

.cq-restorical-hero {
  position: relative;
  overflow: hidden;
  margin: 0 0 26px;
  aspect-ratio: 16 / 7;
  background: var(--rr-wash);
}

.cq-restorical-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cq-restorical-hero figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px 22px 18px;
  background: linear-gradient(transparent, rgb(42 40 40 / 0.86));
  color: #fff;
  text-align: left;
}

.cq-restorical-hero figcaption span,
.cq-restorical-hero figcaption strong {
  display: block;
}

.cq-restorical-hero figcaption span {
  font-family: futura-pt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cq-restorical-hero figcaption strong {
  margin-top: 3px;
  font-size: 20px;
}

.cq-theme-restorical .cq-quiz__result-details {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.cq-restorical-panel {
  border: 1px solid var(--rr-line);
  background: var(--rr-wash-2);
  padding: 20px;
  text-align: left;
}

.cq-restorical-panel h4,
.cq-restorical-panel p {
  margin: 0;
}

.cq-restorical-panel h4 {
  margin-top: 5px;
  color: var(--rr-ink);
  font-size: 22px;
}

.cq-restorical-panel h4 + p {
  margin-top: 6px;
}

.cq-restorical-state {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.65fr);
  gap: 24px;
  align-items: center;
}

.cq-restorical-state > img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 180px;
  justify-self: center;
  object-fit: contain;
}

.cq-restorical-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.cq-restorical-timeline li {
  position: relative;
  color: var(--rr-muted);
  font-family: futura-pt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 12px;
  text-align: center;
}

.cq-restorical-timeline li::before {
  position: absolute;
  top: 8px;
  right: 50%;
  left: -50%;
  height: 2px;
  background: var(--rr-line-strong);
  content: '';
}

.cq-restorical-timeline li:first-child::before {
  display: none;
}

.cq-restorical-timeline span {
  position: relative;
  z-index: 1;
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto 9px;
  border: 2px solid var(--rr-line-strong);
  border-radius: 50%;
  background: #fff;
}

.cq-restorical-timeline .is-selected {
  color: var(--rr-ink);
}

.cq-restorical-timeline .is-selected span {
  border-color: var(--rr-gold-dark);
  background: var(--rr-gold);
  box-shadow: 0 0 0 4px rgb(198 171 104 / 0.2);
}

.cq-restorical-unknown {
  margin-top: 14px !important;
  color: var(--rr-ink);
  font-weight: 700;
  text-align: center;
}

.cq-restorical-media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.cq-restorical-media > div {
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: 112px;
  border: 1px solid var(--rr-line);
  background: #fff;
  padding: 16px 10px;
  text-align: center;
}

.cq-restorical-media img {
  width: 34px;
  height: 34px;
}

.cq-restorical-media strong {
  color: var(--rr-ink);
  font-family: futura-pt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
}

.cq-restorical-funnel {
  display: grid;
  gap: 5px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.cq-restorical-funnel li {
  box-sizing: border-box;
  margin-inline: auto;
  background: #e9e4d8;
  color: var(--rr-copy);
  padding: 10px 14px;
  font-family: futura-pt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  text-align: center;
}

.cq-restorical-funnel li:nth-child(1) { width: 100%; }
.cq-restorical-funnel li:nth-child(2) { width: 88%; }
.cq-restorical-funnel li:nth-child(3) { width: 76%; }
.cq-restorical-funnel li:nth-child(4) { width: 64%; }

.cq-restorical-funnel .is-selected {
  background: var(--rr-gold);
  color: #fff;
  box-shadow: 0 3px 12px rgb(42 40 40 / 0.12);
}

.cq-theme-restorical .cq-quiz__offer,
.cq-theme-restorical .cq-quiz__offer-capture,
.cq-theme-restorical.cq-quiz--result-page .cq-quiz__result-summary,
.cq-theme-restorical.cq-quiz--result-page .cq-quiz__result-contact {
  border-color: var(--rr-line);
  border-radius: 0;
  background: var(--rr-wash-2);
  color: var(--rr-copy);
}

.cq-theme-restorical .cq-quiz__offer strong {
  color: var(--rr-gold-dark);
}

.cq-theme-restorical.cq-quiz--result-page .cq-quiz__result-summary {
  padding: 22px 24px;
}

.cq-theme-restorical .cq-quiz__countdown {
  border-radius: 0;
  background: var(--rr-copy);
  color: #fff;
}

.cq-theme-restorical .cq-quiz__error {
  color: var(--rr-red);
}

.cq-theme-restorical.cq-quiz--result-page .cq-quiz__insight-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

.cq-theme-restorical.cq-quiz--result-page .cq-quiz__insight-summary::-webkit-details-marker {
  display: none;
}

.cq-theme-restorical.cq-quiz--result-page .cq-quiz__insight-summary::after {
  content: "+";
  color: var(--rr-gold-dark);
  font-family: futura-pt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
  line-height: 1;
  text-align: center;
  transition: transform 160ms ease;
}

.cq-theme-restorical.cq-quiz--result-page details[open] > .cq-quiz__insight-summary::after {
  transform: rotate(45deg);
}

.cq-theme-restorical.cq-quiz--result-page .cq-quiz__insight-summary > span,
.cq-theme-restorical.cq-quiz--result-page .cq-quiz__insight-label,
.cq-theme-restorical.cq-quiz--result-page .cq-quiz__insight-title {
  display: block;
  min-width: 0;
}

.cq-theme-restorical.cq-quiz--result-page .cq-quiz__insight-label {
  margin-bottom: 5px;
  color: var(--cq-muted);
  font-size: 0.72rem;
  font-weight: 750;
}

.cq-theme-restorical.cq-quiz--result-page .cq-quiz__insight-title {
  color: var(--rr-ink);
  font-family: futura-pt, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.cq-theme-restorical.cq-quiz--result-page .cq-quiz__insight-body {
  padding-top: 10px;
}

@media (min-width: 641px) {
  .cq-theme-restorical.cq-quiz--result-page .cq-quiz__insight-summary {
    grid-template-columns: minmax(0, 1fr);
    cursor: default;
    pointer-events: none;
  }

  .cq-theme-restorical.cq-quiz--result-page .cq-quiz__insight-summary::after {
    display: none;
  }

}

@media (max-width: 640px) {
  .cq-theme-restorical {
    margin-inline: 0;
  }

  .cq-restorical-state {
    grid-template-columns: 1fr;
  }

  .cq-restorical-state > img {
    max-height: 150px;
  }

  .cq-restorical-timeline {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cq-restorical-timeline li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    text-align: left;
  }

  .cq-restorical-timeline li::before {
    display: none;
  }

  .cq-restorical-timeline span {
    margin: 0;
  }
}

@media print {
  .cq-theme-restorical.cq-quiz--result-page .cq-quiz__insight-summary::after {
    display: none;
  }

}
