.myhalo-repair-quote {
  --myhalo-primary: #1f6533;
  --myhalo-light: #e5f2dc;
  --myhalo-accent: #c19268;
  --myhalo-bg: #feeedf;
  --myhalo-text: #424242;
  --myhalo-muted: #66706a;
  --myhalo-line: #e2e5e3;
  --myhalo-surface: #ffffff;
  color: var(--myhalo-text);
  font: inherit;
  font-weight: 400;
  margin: 2rem auto;
  max-width: 1200px;
  width: 100%;
}

.myhalo-repair-quote * {
  box-sizing: border-box;
}

.myhalo-rq-card {
  background: var(--myhalo-surface);
  border: 1px solid rgba(17, 17, 17, 0.09);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(17, 24, 20, 0.09);
  overflow: hidden;
}

.myhalo-rq-header {
  align-items: end;
  background: linear-gradient(145deg, #ffffff 10%, color-mix(in srgb, var(--myhalo-light) 52%, #ffffff));
  border-bottom: 1px solid var(--myhalo-line);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  padding: 1.5rem 1.75rem;
}

.myhalo-rq-header h2 {
  font: inherit;
  color: #424242;
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0;
  max-width: 650px;
}

.myhalo-rq-header > p {
  color: var(--myhalo-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

.myhalo-rq-eyebrow,
.myhalo-rq-step-heading p,
.myhalo-rq-results-heading p,
.myhalo-rq-review-kicker,
.myhalo-rq-result-label {
  color: var(--myhalo-primary);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  margin: 0 0 0.65rem;
  text-transform: uppercase;
}

.myhalo-rq-layout {
  display: grid;
  grid-template-areas: "workspace review";
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 470px;
}

.myhalo-rq-workspace {
  display: flex;
  flex-direction: column;
  grid-area: workspace;
  min-width: 0;
  padding: 1.75rem;
  position: relative;
}

.myhalo-rq-stage {
  flex: 1;
  min-height: 280px;
}

.myhalo-rq-step-heading {
  margin-bottom: 1.5rem;
}

.myhalo-rq-step-heading h3,
.myhalo-rq-results-heading h3 {
  font: inherit;
  color: #424242;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.15;
  margin: 0;
}

.myhalo-rq-hint {
  color: var(--myhalo-muted);
  line-height: 1.5;
  margin: -0.75rem 0 1.25rem;
}

.myhalo-rq-options,
.myhalo-rq-check-options {
  border: 0;
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
}

.myhalo-rq-option,
.myhalo-rq-check-option {
  align-items: center;
  background: #ffffff;
  border: 1px solid var(--myhalo-line);
  border-radius: 14px;
  color: var(--myhalo-text);
  display: flex;
  font: inherit;
  font-weight: 500;
  gap: 0.8rem;
  justify-content: space-between;
  min-height: 50px;
  padding: 0.7rem 0.9rem;
  text-align: left;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  width: 100%;
}

button.myhalo-rq-option,
.myhalo-rq-check-option {
  cursor: pointer;
}

.myhalo-rq-option:hover,
.myhalo-rq-check-option:hover {
  background: color-mix(in srgb, var(--myhalo-light) 42%, #ffffff);
  border-color: color-mix(in srgb, var(--myhalo-primary) 48%, var(--myhalo-line));
  box-shadow: 0 7px 18px rgba(22, 58, 34, 0.07);
  transform: translateY(-1px);
}

.myhalo-rq-option:hover,
.myhalo-rq-option:hover span,
.myhalo-rq-check-option:hover,
.myhalo-rq-check-option:hover span {
  color: #424242 !important;
}

.myhalo-rq-option-arrow {
  color: var(--myhalo-primary);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1;
}

.myhalo-rq-check-option {
  justify-content: flex-start;
  position: relative;
}

.myhalo-rq-check-option input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.myhalo-rq-check-marker {
  align-items: center;
  border: 1.5px solid #aeb6b1;
  border-radius: 7px;
  display: inline-flex;
  flex: 0 0 23px;
  height: 23px;
  justify-content: center;
  transition: background-color 150ms ease, border-color 150ms ease;
}

.myhalo-rq-check-marker::after {
  border-bottom: 2px solid #ffffff;
  border-right: 2px solid #ffffff;
  content: '';
  height: 9px;
  opacity: 0;
  transform: rotate(45deg) translate(-1px, -1px);
  width: 5px;
}

.myhalo-rq-check-option:has(input:checked) {
  background: color-mix(in srgb, var(--myhalo-light) 58%, #ffffff);
  border-color: var(--myhalo-primary);
}

.myhalo-rq-check-option input:checked + .myhalo-rq-check-marker {
  background: var(--myhalo-primary);
  border-color: var(--myhalo-primary);
}

.myhalo-rq-check-option input:checked + .myhalo-rq-check-marker::after {
  opacity: 1;
}

.myhalo-rq-option:focus-visible,
.myhalo-rq-check-option:has(input:focus-visible),
.myhalo-rq-continue:focus-visible,
.myhalo-rq-actions button:focus-visible,
.myhalo-rq-whatsapp:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--myhalo-accent) 72%, #ffffff);
  outline-offset: 3px;
}

.myhalo-rq-continue {
  appearance: none;
  background: var(--myhalo-primary);
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-weight: 500;
  margin-top: 1.25rem;
  min-height: 52px;
  padding: 0.8rem 1.3rem;
  width: 100%;
}

.myhalo-rq-continue:disabled {
  background: #d8ddda;
  color: #727a75;
  cursor: not-allowed;
}

.myhalo-rq-error {
  border-radius: 12px;
  margin: 0 0 1.25rem;
  padding: 0.8rem 0.95rem;
}

.myhalo-rq-loading {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(6px);
  color: var(--myhalo-primary);
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  gap: 0.75rem;
  inset: 0;
  justify-content: center;
  margin: 0;
  position: absolute;
  text-align: center;
  z-index: 20;
}

.myhalo-rq-loading[hidden] {
  display: none;
}

.myhalo-rq-loading span {
  animation: myhalo-spin 800ms linear infinite;
  border: 2px solid var(--myhalo-primary);
  border-radius: 50%;
  border-right-color: transparent;
  display: inline-block;
  height: 32px;
  margin: 0;
  width: 32px;
}

.myhalo-rq-error {
  background: #fff3f2;
  border: 1px solid #f0b9b3;
  color: #8a2920;
}

.myhalo-rq-actions {
  align-items: center;
  border-top: 1px solid var(--myhalo-line);
  display: flex;
  gap: 0.7rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
}

.myhalo-rq-actions button {
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 9px;
  color: var(--myhalo-primary);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 42px;
  padding: 0.55rem 0.75rem;
}

.myhalo-rq-actions button:hover {
  background: var(--myhalo-light);
}

.myhalo-rq-reset {
  margin-left: auto;
}

.myhalo-rq-is-complete .myhalo-rq-back {
  display: none !important;
}

.myhalo-rq-is-complete .myhalo-rq-layout {
  grid-template-areas: "review workspace";
}

.myhalo-rq-review {
  align-self: stretch;
  background: #f5f6f5;
  border-left: 1px solid var(--myhalo-line);
  grid-area: review;
  min-width: 0;
  padding: 1.75rem;
}

.myhalo-rq-is-complete .myhalo-rq-review {
  border-left: 0;
  border-right: 1px solid var(--myhalo-line);
}

.myhalo-rq-review > h3 {
  font: inherit;
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
}

.myhalo-rq-current {
  background: #ffffff;
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(17, 24, 20, 0.045);
  margin-bottom: 1rem;
  padding: 0.85rem;
}

.myhalo-rq-current span {
  color: var(--myhalo-muted);
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.myhalo-rq-current strong {
  display: block;
  font-size: 1rem;
  line-height: 1.4;
}

.myhalo-rq-summary {
  margin: 0;
}

.myhalo-rq-summary > div {
  border-bottom: 1px solid #dde1de;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: minmax(85px, 0.36fr) minmax(0, 0.64fr);
  padding: 0.7rem 0;
}

.myhalo-rq-summary dt {
  color: var(--myhalo-muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.myhalo-rq-summary dd {
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.45;
  margin: 0;
  overflow-wrap: anywhere;
}

.myhalo-rq-review-empty,
.myhalo-rq-whatsapp-note {
  color: var(--myhalo-muted);
  line-height: 1.5;
}

.myhalo-rq-review-empty {
  font-size: 0.82rem;
}

.myhalo-rq-whatsapp-note {
  font-size: 0.72rem;
  margin: 0;
  padding-top: 0.45rem;
}

.myhalo-rq-whatsapp {
  align-items: center;
  background: #1f9d55;
  border-radius: 999px;
  color: #ffffff !important;
  display: flex;
  font-weight: 500;
  gap: 0.55rem;
  justify-content: center;
  margin-top: 1.5rem;
  min-height: 54px;
  padding: 0.8rem 1.1rem;
  text-align: center;
  text-decoration: none !important;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.myhalo-rq-whatsapp[hidden],
.myhalo-rq-whatsapp-note[hidden] {
  display: none;
}

.myhalo-rq-whatsapp:hover {
  background: #178748;
  box-shadow: 0 10px 25px rgba(31, 157, 85, 0.22);
  transform: translateY(-1px);
}

.myhalo-rq-whatsapp span {
  color: #bdf3cf;
  font-size: 0.75rem;
}

.myhalo-rq-results-heading {
  margin-bottom: 1.4rem;
}

.myhalo-rq-results {
  display: grid;
  gap: 0.75rem;
}

.myhalo-rq-estimate {
  background: #ffffff;
  border: 1px solid var(--myhalo-line);
  border-radius: 18px;
  overflow: hidden;
}

.myhalo-rq-estimate-header {
  background: color-mix(in srgb, var(--myhalo-light) 35%, #ffffff);
  border-bottom: 1px solid var(--myhalo-line);
  padding: 1rem;
}

.myhalo-rq-estimate-header h4 {
  font: inherit;
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

.myhalo-rq-estimate-header p {
  color: var(--myhalo-muted);
  font-size: 0.8rem;
  margin: 0.2rem 0 0;
}

.myhalo-rq-result {
  border-top: 1px solid var(--myhalo-line);
  padding: 0.8rem 1rem;
}

.myhalo-rq-line-items .myhalo-rq-result:first-child {
  border-top: 0;
}

.myhalo-rq-result-main {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.myhalo-rq-result h4 {
  font: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.35;
  margin: 0;
}

.myhalo-rq-result-label {
  margin-bottom: 0.35rem;
}

.myhalo-rq-price {
  color: var(--myhalo-primary);
  flex: 0 0 auto;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  margin: 0;
  white-space: nowrap;
}

.myhalo-rq-result-meta {
  color: var(--myhalo-muted);
  font-size: 0.76rem;
  line-height: 1.45;
  margin: 0.35rem 0 0;
}

.myhalo-rq-total {
  align-items: center;
  background: color-mix(in srgb, var(--myhalo-light) 52%, #ffffff);
  border-top: 1px solid var(--myhalo-line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  padding: 1rem;
}

.myhalo-rq-total span {
  color: var(--myhalo-muted);
  font-size: 0.82rem;
}

.myhalo-rq-total strong {
  color: var(--myhalo-primary);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-align: right;
}

.myhalo-rq-result dl {
  margin: 0;
}

.myhalo-rq-result dl > div {
  display: grid;
  font-size: 0.84rem;
  gap: 0.5rem;
  grid-template-columns: minmax(110px, 0.43fr) minmax(0, 0.57fr);
  padding: 0.36rem 0;
}

.myhalo-rq-result dt {
  color: var(--myhalo-muted);
  font-weight: 400;
}

.myhalo-rq-result dd {
  font-weight: 500;
  margin: 0;
}

.myhalo-rq-diagnosis {
  background: var(--myhalo-bg);
  border-radius: 10px;
  color: #60462f;
  font-size: 0.8rem;
  line-height: 1.5;
  margin: 0.9rem 0 0;
  padding: 0.75rem;
}

.myhalo-rq-noscript {
  border-top: 1px solid var(--myhalo-line);
  padding: 1.25rem 1.75rem 1.75rem;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

@keyframes myhalo-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 760px) {
  .myhalo-repair-quote {
    margin: 1rem auto;
  }

  .myhalo-rq-card {
    border-radius: 20px;
  }

  .myhalo-rq-header {
    align-items: start;
    gap: 1rem;
    grid-template-columns: 1fr;
    padding: 1.25rem;
  }

  .myhalo-rq-layout {
    grid-template-areas:
      "workspace"
      "review";
    grid-template-columns: 1fr;
  }

  .myhalo-rq-is-complete .myhalo-rq-layout {
    grid-template-areas:
      "workspace"
      "review";
  }

  .myhalo-rq-workspace,
  .myhalo-rq-review {
    padding: 1.25rem;
  }

  .myhalo-rq-stage {
    min-height: 240px;
  }

  .myhalo-rq-review {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--myhalo-line);
  }

  .myhalo-rq-summary > div {
    grid-template-columns: 105px minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .myhalo-rq-loading span {
    animation: none;
  }

  .myhalo-rq-option,
  .myhalo-rq-check-option,
  .myhalo-rq-whatsapp {
    transition: none;
  }
}
