.cmh-mce {
  --cmh-mce-navy: #05002f;
  --cmh-mce-blue: #1734e8;
  --cmh-mce-indigo: #151c8b;
  --cmh-mce-ink: #17182b;
  --cmh-mce-muted: #5d6277;
  --cmh-mce-soft: #f2f3ff;
  --cmh-mce-line: #dfe2f2;
  color: var(--cmh-mce-ink);
  font: inherit;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 1160px;
}

.cmh-mce *, .cmh-mce *::before, .cmh-mce *::after { box-sizing: border-box; }
.cmh-mce [hidden] { display: none !important; }
.cmh-mce__form { background: #fff; border: 1px solid var(--cmh-mce-line); border-radius: 10px; box-shadow: 0 12px 38px rgba(12, 16, 80, .08); padding: clamp(22px, 4vw, 40px); }
.cmh-mce__fieldset { border: 0; margin: 0; min-width: 0; padding: 0; }
.cmh-mce__fieldset legend { color: var(--cmh-mce-indigo); font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.2; margin-bottom: 24px; padding: 0; }
.cmh-mce__grid, .cmh-mce__dimension-group { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cmh-mce__field { min-width: 0; }
.cmh-mce__field--full { margin-bottom: 22px; }
.cmh-mce__field label, .cmh-mce__label { color: #252746; display: block; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.cmh-mce__field input[type="number"], .cmh-mce__field select {
  appearance: none;
  background: #fff;
  border: 1px solid #bdc3db;
  border-radius: 5px;
  color: #20213a;
  font: inherit;
  min-height: 48px;
  padding: 10px 12px;
  width: 100%;
}
.cmh-mce__field select {
  background-image: linear-gradient(45deg, transparent 50%, #4d5270 50%), linear-gradient(135deg, #4d5270 50%, transparent 50%);
  background-position: calc(100% - 17px) 20px, calc(100% - 12px) 20px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 34px;
}
.cmh-mce__field input:focus, .cmh-mce__field select:focus, .cmh-mce button:focus-visible, .cmh-mce a:focus-visible, .cmh-mce summary:focus-visible { outline: 3px solid #f4ca35; outline-offset: 3px; }
.cmh-mce__segmented { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.cmh-mce__segmented label { cursor: pointer; margin: 0; position: relative; }
.cmh-mce__segmented input { height: 1px; opacity: 0; position: absolute; width: 1px; }
.cmh-mce__segmented span { border: 1px solid #b9bfd8; border-radius: 5px; display: block; min-width: 142px; padding: 10px 18px; text-align: center; }
.cmh-mce__segmented input:checked + span { background: var(--cmh-mce-blue); border-color: var(--cmh-mce-blue); color: #fff; }
.cmh-mce__segmented input:focus-visible + span { outline: 3px solid #f4ca35; outline-offset: 3px; }
.cmh-mce__help, .cmh-mce__privacy { color: var(--cmh-mce-muted); font-size: 14px; margin: 10px 0 22px; }
.cmh-mce__details { background: var(--cmh-mce-soft); border: 1px solid var(--cmh-mce-line); border-radius: 8px; margin: 28px 0; }
.cmh-mce__details summary { color: var(--cmh-mce-indigo); cursor: pointer; font-size: 18px; font-weight: 700; padding: 18px 22px; }
.cmh-mce__details summary span { color: var(--cmh-mce-muted); display: inline-block; font-size: 13px; font-weight: 400; margin-left: 8px; }
.cmh-mce__details-body { border-top: 1px solid var(--cmh-mce-line); padding: 24px 22px; }
.cmh-mce__complexity-help { color: var(--cmh-mce-muted); display: grid; font-size: 13px; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 20px; }
.cmh-mce__complexity-help p { margin: 0; }
.cmh-mce__primary, .cmh-mce__secondary { align-items: center; border-radius: 5px; cursor: pointer; display: inline-flex; font: inherit; font-weight: 700; justify-content: center; min-height: 48px; padding: 11px 20px; text-decoration: none !important; }
.cmh-mce__primary { background: var(--cmh-mce-blue); border: 2px solid var(--cmh-mce-blue); color: #fff !important; }
.cmh-mce__primary:hover { background: #0d1e96; border-color: #0d1e96; color: #fff !important; }
.cmh-mce__primary[disabled] { cursor: wait; opacity: .65; }
.cmh-mce__secondary { background: #fff; border: 2px solid #6f78aa; color: var(--cmh-mce-indigo); }
.cmh-mce__form > .cmh-mce__primary { width: 100%; }
.cmh-mce__error { background: #fff0f0; border: 1px solid #c72c41; border-left-width: 5px; border-radius: 5px; color: #82172a; margin-bottom: 22px; padding: 15px 18px; }
.cmh-mce__results { background: var(--cmh-mce-navy); border-radius: 10px; color: #fff; margin-top: 28px; padding: clamp(24px, 4vw, 40px); }
.cmh-mce__result-header { align-items: center; display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; margin-bottom: 24px; }
.cmh-mce__result-header p { color: #bfc6ff; font-size: 14px; font-weight: 700; letter-spacing: .09em; margin: 0; text-transform: uppercase; }
.cmh-mce__result-header span { background: #fff; border-radius: 999px; color: var(--cmh-mce-indigo); font-size: 13px; font-weight: 700; padding: 7px 12px; }
.cmh-mce__result-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cmh-mce__result-grid > div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 7px; padding: 20px; }
.cmh-mce__result-grid span { color: #c7ccf7; display: block; font-size: 13px; margin-bottom: 8px; text-transform: uppercase; }
.cmh-mce__result-grid strong { color: #fff; display: block; font-size: 19px; line-height: 1.35; }
.cmh-mce__result-grid .cmh-mce__price { background: #fff; }
.cmh-mce__result-grid .cmh-mce__price span { color: #5d6277; }
.cmh-mce__result-grid .cmh-mce__price strong { color: var(--cmh-mce-blue); font-size: clamp(24px, 4vw, 34px); }
.cmh-mce__confidence, .cmh-mce__drivers { margin-top: 26px; }
.cmh-mce__confidence h3, .cmh-mce__drivers h3 { color: #fff; font-size: 20px; margin: 0 0 10px; }
.cmh-mce__confidence p, .cmh-mce__drivers li, .cmh-mce__result-disclaimer { color: #e7e9ff; }
.cmh-mce__drivers ul { margin: 0; padding-left: 21px; }
.cmh-mce__drivers li { margin-bottom: 7px; }
.cmh-mce__review { background: #fff7d6; border-left: 5px solid #e4b80a; border-radius: 5px; color: #4d3a00; margin-top: 24px; padding: 16px 18px; }
.cmh-mce__review p { margin: 5px 0 0; }
.cmh-mce__result-disclaimer { border-top: 1px solid rgba(255,255,255,.18); font-size: 14px; margin: 24px 0 0; padding-top: 18px; }
.cmh-mce__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cmh-mce__exclusions { background: #f7f7fb; border-left: 5px solid var(--cmh-mce-blue); margin-top: 26px; padding: 18px 20px; }
.cmh-mce__exclusions h3 { color: var(--cmh-mce-indigo); font-size: 18px; margin: 0 0 7px; }
.cmh-mce__exclusions p { color: var(--cmh-mce-muted); font-size: 14px; margin: 0; }

@media (max-width: 800px) {
  .cmh-mce__grid, .cmh-mce__dimension-group, .cmh-mce__complexity-help, .cmh-mce__result-grid { grid-template-columns: 1fr; }
  .cmh-mce__segmented { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .cmh-mce__segmented span { min-width: 0; }
  .cmh-mce__details summary span { display: block; margin: 4px 0 0; }
  .cmh-mce__actions > * { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .cmh-mce * { scroll-behavior: auto !important; transition: none !important; }
}
