.mgp-quote-form-wrap {
  max-width: 1120px;
}

.mgp-quote-embed {
  min-height: 680px;
  padding: 0;
  overflow: visible;
}

.mgp-assessment {
  width: 100%;
  color: #173042;
}

.mgp-assessment [hidden] {
  display: none !important;
}

.mgp-assessment[aria-busy="true"] {
  pointer-events: none;
}

.mgp-assessment-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.mgp-assessment button,
.mgp-assessment input,
.mgp-assessment select,
.mgp-assessment textarea {
  font: inherit;
}

.mgp-assessment-shell {
  min-height: 680px;
}

.mgp-assessment-loading {
  display: grid;
  min-height: 500px;
  color: #355365;
  font-weight: 700;
  place-items: center;
}

.mgp-assessment-alert {
  margin: 0;
  padding: 18px;
  color: #7e2e22;
  background: #fff1ed;
}

.mgp-assessment-progress {
  position: sticky;
  z-index: 8;
  top: 84px;
  padding: 19px 32px 14px;
  border-bottom: 1px solid rgba(11, 37, 53, 0.1);
  border-radius: 28px 28px 0 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 28px rgba(20, 40, 54, 0.05);
  backdrop-filter: blur(14px);
}

.mgp-assessment-progress__top,
.mgp-assessment-progress__top > div {
  display: flex;
  align-items: center;
}

.mgp-assessment-progress__top {
  justify-content: space-between;
  gap: 20px;
}

.mgp-assessment-progress__top > div {
  min-width: 0;
  gap: 10px;
}

.mgp-assessment-progress__top span {
  color: var(--mgp-orange-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.mgp-assessment-progress__top strong {
  color: #6d808c;
  font-size: 0.76rem;
  white-space: nowrap;
}

.mgp-assessment-progress__actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mgp-assessment-save-later,
.mgp-assessment-reset {
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.mgp-assessment-save-later {
  color: var(--mgp-teal-600);
}

.mgp-assessment-reset {
  color: #718490;
}

.mgp-assessment-reset:hover,
.mgp-assessment-reset:focus-visible {
  color: #a23c2d;
}

.mgp-assessment-reset:disabled {
  opacity: 0.55;
  cursor: wait;
}

.mgp-assessment-progress__track {
  height: 7px;
  margin-top: 12px;
  overflow: hidden;
  border-radius: 99px;
  background: #e8edf0;
}

.mgp-assessment-progress__track i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--mgp-orange-600), #f39b48);
  transition: width 280ms ease;
}

.mgp-assessment-save-status {
  min-height: 17px;
  margin: 8px 0 0;
  color: #718490;
  font-size: 0.72rem;
  line-height: 1.35;
}

.mgp-assessment-save-status[data-mode="success"] {
  color: var(--mgp-teal-600);
}

.mgp-assessment-save-status[data-mode="error"] {
  color: #a23c2d;
}

.mgp-assessment-step {
  min-height: 540px;
  padding: clamp(34px, 6vw, 70px) clamp(22px, 7vw, 76px) 42px;
}

.mgp-assessment-step[hidden] {
  display: none;
}

.mgp-assessment-step.is-active .mgp-assessment-step__inner {
  animation: mgp-step-in 260ms ease both;
}

.mgp-assessment-step__inner {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.mgp-assessment-step__eyebrow {
  margin: 0 0 10px;
  color: var(--mgp-orange-600);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mgp-assessment-step h3 {
  max-width: 780px;
  margin: 0;
  color: var(--mgp-navy-950);
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: clamp(1.65rem, 4.3vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.mgp-assessment-step__help {
  max-width: 720px;
  margin: 14px 0 0;
  color: #5a7180;
  font-size: 0.98rem;
  line-height: 1.65;
}

.mgp-assessment-callout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 720px;
  margin-top: 20px;
  padding: 16px 18px;
  border: 1px solid rgba(228, 95, 43, 0.3);
  border-radius: 14px;
  color: #17384a;
  background: #fff7f2;
  line-height: 1.5;
}

.mgp-assessment-callout > span {
  flex: 0 0 auto;
  color: #e45f2b;
  font-size: 1.2rem;
  line-height: 1.35;
}

.mgp-assessment-callout strong {
  font-size: 0.92rem;
}

.mgp-assessment-transition {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  align-items: center;
  gap: clamp(22px, 5vw, 42px);
  max-width: 720px;
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid #cfe1df;
  border-radius: 20px;
  background: linear-gradient(145deg, #f3fbf9, #fff);
}

.mgp-assessment-transition__icon {
  display: grid;
  width: 92px;
  height: 92px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(145deg, var(--mgp-teal-600), #0f6e65);
  box-shadow: 0 15px 30px rgba(22, 138, 124, 0.2);
  place-items: center;
}

.mgp-assessment-transition__icon svg {
  width: 46px;
  height: 46px;
}

.mgp-assessment-transition ul {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mgp-assessment-transition li {
  display: grid;
  grid-template-columns: 25px minmax(0, 1fr);
  gap: 9px;
  color: #355365;
  line-height: 1.5;
}

.mgp-assessment-transition li > span {
  display: grid;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  color: #fff;
  background: var(--mgp-teal-600);
  font-size: 0.73rem;
  font-weight: 900;
  place-items: center;
}

.mgp-assessment-distance-guide {
  overflow: hidden;
  max-width: 720px;
  margin: 24px 0 0;
  border: 1px solid #d7e2e6;
  border-radius: 17px;
  background: #f8fbfa;
}

.mgp-assessment-distance-guide img {
  display: block;
  width: 100%;
  height: auto;
}

.mgp-assessment-distance-guide figcaption {
  padding: 10px 15px 12px;
  border-top: 1px solid #dfe8eb;
  color: #526d7b;
  background: #fff;
  font-size: 0.76rem;
  font-weight: 700;
}

.mgp-assessment-control {
  margin-top: clamp(25px, 5vw, 40px);
}

.mgp-assessment-control > input,
.mgp-assessment-control > textarea,
.mgp-assessment-grid input,
.mgp-assessment-grid select {
  width: 100%;
  min-height: 58px;
  padding: 15px 17px;
  border: 1px solid #c7d1d7;
  border-radius: 13px;
  color: var(--mgp-navy-950);
  background: #fff;
  outline: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.mgp-assessment-control > textarea {
  min-height: 150px;
  resize: vertical;
}

.mgp-assessment-measurement {
  position: relative;
  max-width: 360px;
}

.mgp-assessment-measurement input {
  width: 100%;
  min-height: 66px;
  padding: 15px 76px 15px 20px;
  border: 2px solid #b9c8ce;
  border-radius: 14px;
  color: var(--mgp-navy-950);
  background: #fff;
  outline: 0;
  font-size: 1.22rem;
  font-weight: 700;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.mgp-assessment-measurement input:focus {
  border-color: var(--mgp-teal-600);
  box-shadow: 0 0 0 4px rgba(22, 138, 124, 0.12);
}

.mgp-assessment-measurement span {
  position: absolute;
  top: 50%;
  right: 19px;
  color: #5a7180;
  font-size: 1rem;
  font-weight: 800;
  transform: translateY(-50%);
  pointer-events: none;
}

.mgp-assessment-control input:focus,
.mgp-assessment-control select:focus,
.mgp-assessment-control textarea:focus {
  border-color: var(--mgp-teal-600);
  box-shadow: 0 0 0 4px rgba(22, 138, 124, 0.12);
}

.mgp-assessment-grid {
  display: grid;
  gap: 17px;
}

.mgp-assessment-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mgp-assessment-grid--city {
  grid-template-columns: minmax(0, 1.5fr) minmax(150px, 0.8fr) minmax(120px, 0.7fr);
}

.mgp-assessment-grid label {
  display: grid;
  gap: 7px;
  color: #355365;
  font-size: 0.78rem;
  font-weight: 800;
}

.mgp-assessment-composite {
  display: grid;
  gap: 30px;
}

.mgp-assessment-composite__field {
  display: grid;
  gap: 13px;
}

.mgp-assessment-composite__field + .mgp-assessment-composite__field {
  padding-top: 28px;
  border-top: 1px solid #e0e6e9;
}

.mgp-assessment-composite__field h4 {
  margin: 0;
  color: #244757;
  font-size: 1rem;
  font-weight: 800;
}

.mgp-assessment-composite__field > p {
  margin: -5px 0 0;
  color: #687e8a;
  font-size: 0.82rem;
  line-height: 1.5;
}

.mgp-assessment-composite__field > input {
  width: 100%;
  min-height: 58px;
  padding: 15px 17px;
  border: 1px solid #c7d1d7;
  border-radius: 13px;
  color: var(--mgp-navy-950);
  background: #fff;
}

.mgp-assessment-appliances {
  display: grid;
  gap: 11px;
}

.mgp-assessment-appliance {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 138px;
  align-items: center;
  gap: 14px;
  min-height: 70px;
  padding: 10px 12px;
  border: 1px solid #d3dce1;
  border-radius: 14px;
  background: #fff;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.mgp-assessment-appliance:has([data-appliance-select]:checked) {
  border-color: var(--mgp-teal-600);
  background: #edf9f7;
  box-shadow: inset 0 0 0 1px var(--mgp-teal-600);
}

.mgp-assessment-appliance__choice {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.mgp-assessment-appliance__choice > input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.mgp-assessment-appliance__choice > span {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: #254454;
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.35;
}

.mgp-assessment-appliance__choice i {
  position: relative;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 2px solid #9aabb4;
  border-radius: 6px;
}

.mgp-assessment-appliance__choice input:focus-visible + span {
  border-radius: 8px;
  box-shadow: 0 0 0 4px rgba(22, 138, 124, 0.13);
}

.mgp-assessment-appliance__choice input:checked + span {
  color: #0d554d;
}

.mgp-assessment-appliance__choice input:checked + span i {
  border-color: var(--mgp-teal-600);
  background: var(--mgp-teal-600);
}

.mgp-assessment-appliance__choice input:checked + span i::after {
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.mgp-assessment-appliance__quantity {
  display: grid;
  gap: 5px;
  visibility: hidden;
  color: #58707d;
  font-size: 0.69rem;
  font-weight: 800;
  text-align: center;
}

.mgp-assessment-appliance:has([data-appliance-select]:checked) .mgp-assessment-appliance__quantity {
  visibility: visible;
}

.mgp-assessment-quantity-stepper {
  display: grid;
  grid-template-columns: 42px 50px 42px;
  align-items: stretch;
  justify-content: center;
}

.mgp-assessment-quantity-stepper input {
  width: 50px;
  min-height: 45px;
  padding: 8px 4px;
  border: solid #9db3bd;
  border-width: 1px 0;
  border-radius: 0;
  color: #173042;
  background: #fff;
  text-align: center;
  appearance: textfield;
  caret-color: transparent;
  pointer-events: none;
  user-select: none;
}

.mgp-assessment-quantity-stepper input::-webkit-inner-spin-button,
.mgp-assessment-quantity-stepper input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.mgp-assessment-quantity-stepper button {
  display: grid;
  min-width: 42px;
  min-height: 45px;
  padding: 0;
  border: 1px solid var(--mgp-teal-600);
  color: #fff;
  background: var(--mgp-teal-600);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  place-items: center;
}

.mgp-assessment-quantity-stepper button:first-child {
  border-radius: 10px 0 0 10px;
}

.mgp-assessment-quantity-stepper button:last-child {
  border-radius: 0 10px 10px 0;
}

.mgp-assessment-quantity-stepper button:hover,
.mgp-assessment-quantity-stepper button:focus-visible {
  border-color: #0d6f65 !important;
  color: #fff !important;
  background: #0d6f65 !important;
}

.mgp-assessment-quantity-stepper button:focus-visible {
  position: relative;
  z-index: 1;
  outline: 3px solid rgba(22, 138, 124, 0.2);
  outline-offset: 1px;
}

.mgp-assessment-quantity-stepper button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.mgp-assessment-appliance__other {
  display: none;
  grid-column: 1 / -1;
  gap: 7px;
  padding: 3px 2px 5px 34px;
  color: #58707d;
  font-size: 0.72rem;
  font-weight: 800;
}

.mgp-assessment-appliance:has([data-appliance-select]:checked) .mgp-assessment-appliance__other {
  display: grid;
}

.mgp-assessment-appliance__other input {
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  border: 1px solid #9db3bd;
  border-radius: 10px;
  color: #173042;
  background: #fff;
}

.mgp-assessment-appliance--none {
  grid-template-columns: 1fr;
  margin-top: 5px;
  background: #f8fafb;
}

.mgp-assessment-fuel-source {
  display: grid;
  gap: 24px;
}

.mgp-assessment-fuel-source__types {
  padding: 20px;
  border: 1px solid #d7e2e5;
  border-radius: 16px;
  background: #f7fafb;
}

.mgp-assessment-fuel-source__types > strong {
  display: block;
  margin-bottom: 13px;
  color: #244757;
  font-size: 0.88rem;
}

.mgp-assessment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mgp-assessment-option {
  position: relative;
  display: block;
  min-width: 0;
  cursor: pointer;
}

.mgp-assessment-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.mgp-assessment-option > span {
  display: flex;
  min-height: 62px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #ccd5da;
  border-radius: 14px;
  color: #254454;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.35;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.mgp-assessment-option i {
  position: relative;
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  border: 2px solid #9aabb4;
  border-radius: 50%;
}

.mgp-assessment-options--checks .mgp-assessment-option i {
  border-radius: 6px;
}

.mgp-assessment-option:hover > span {
  border-color: #91a7b3;
  transform: translateY(-1px);
}

.mgp-assessment-option input:focus-visible + span {
  box-shadow: 0 0 0 4px rgba(22, 138, 124, 0.13);
}

.mgp-assessment-option input:checked + span {
  border-color: var(--mgp-teal-600);
  color: #0d554d;
  background: #edf9f7;
  box-shadow: inset 0 0 0 1px var(--mgp-teal-600);
}

.mgp-assessment-option input:checked + span i {
  border-color: var(--mgp-teal-600);
  background: var(--mgp-teal-600);
}

.mgp-assessment-option input:checked + span i::after {
  position: absolute;
  top: 3px;
  left: 6px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.mgp-assessment-example {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  gap: 17px;
  max-width: 570px;
  margin: 0 0 22px;
  padding: 11px;
  border: 1px solid #dce3e7;
  border-radius: 15px;
  background: #f7f9fa;
}

.mgp-assessment-example a {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  cursor: zoom-in;
}

.mgp-assessment-example img {
  display: block;
  width: 180px;
  height: 112px;
  object-fit: cover;
  transition: transform 180ms ease;
}

.mgp-assessment-example a:hover img {
  transform: scale(1.03);
}

.mgp-assessment-example figcaption {
  display: grid;
  gap: 4px;
  margin: 0;
}

.mgp-assessment-example figcaption strong {
  color: #17384a;
  font-size: 0.9rem;
}

.mgp-assessment-example figcaption span {
  color: #6b7e89;
  font-size: 0.76rem;
}

body.mgp-resume-dialog-open,
body.mgp-example-lightbox-open {
  overflow: hidden;
}

.mgp-assessment-resume-dialog {
  position: fixed;
  z-index: 99999;
  inset: 0;
  display: grid;
  min-height: 100dvh;
  padding: max(24px, env(safe-area-inset-top)) 16px max(24px, env(safe-area-inset-bottom));
  background: rgba(4, 15, 23, 0.78);
  place-items: center;
}

.mgp-assessment-resume-dialog__card {
  position: relative;
  width: min(760px, 100%);
  max-height: calc(100dvh - 48px);
  padding: clamp(28px, 5vw, 46px);
  overflow-y: auto;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
}

.mgp-assessment-resume-dialog__close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #d4dde1;
  border-radius: 50%;
  color: #294b5a;
  background: #f7f9fa;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  place-items: center;
}

.mgp-assessment-resume-dialog__card h3 {
  max-width: 590px;
  margin: 8px 50px 0 0;
  color: var(--mgp-navy-950);
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.mgp-assessment-resume-dialog__intro {
  max-width: 620px;
  margin: 13px 0 0;
  color: #59717e;
  font-size: 0.9rem;
  line-height: 1.6;
}

.mgp-assessment-resume-options {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  max-width: 560px;
  gap: 14px;
  margin-top: 26px;
}

.mgp-assessment-resume-option {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border: 1px solid #d9e1e5;
  border-radius: 16px;
  background: #f8fafb;
}

.mgp-assessment-resume-option label {
  color: #294b5a;
  font-size: 0.78rem;
  font-weight: 800;
}

.mgp-assessment-resume-option input {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  border: 1px solid #bbc9d0;
  border-radius: 11px;
  color: #173042;
  background: #fff;
}

.mgp-assessment-resume-option button {
  min-height: 50px;
  padding: 12px 16px;
  border: 1px solid var(--mgp-orange-600);
  border-radius: 11px;
  color: #fff;
  background: var(--mgp-orange-600);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.mgp-assessment-resume-option button:hover {
  border-color: var(--mgp-orange-700) !important;
  color: #fff !important;
  background: var(--mgp-orange-700) !important;
}

.mgp-assessment-resume-option button:disabled {
  opacity: 0.62;
  cursor: wait;
}

.mgp-assessment-resume-option small {
  color: #6c7f89;
  font-size: 0.7rem;
  line-height: 1.5;
}

.mgp-assessment-resume-dialog__status {
  min-height: 22px;
  margin: 16px 0 0;
  color: #4d6775;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

.mgp-assessment-resume-dialog__status[data-mode="success"] {
  color: var(--mgp-teal-600);
}

.mgp-assessment-resume-dialog__status[data-mode="error"] {
  color: #a23c2d;
}

.mgp-assessment-lightbox[hidden] {
  display: none;
}

.mgp-assessment-lightbox {
  position: fixed;
  z-index: 100000;
  inset: 0;
  display: grid;
  min-height: 100dvh;
  padding: max(76px, calc(env(safe-area-inset-top) + 62px)) 20px max(24px, env(safe-area-inset-bottom));
  background: rgba(4, 15, 23, 0.94);
  cursor: zoom-out;
  place-items: center;
}

.mgp-assessment-lightbox__content {
  display: grid;
  max-width: min(1100px, 100%);
  gap: 12px;
  cursor: default;
  place-items: center;
}

.mgp-assessment-lightbox__content img {
  display: block;
  max-width: min(1100px, 100%);
  max-height: calc(100dvh - 135px);
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

.mgp-assessment-lightbox__content p {
  margin: 0;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.mgp-assessment-lightbox__close {
  position: fixed;
  z-index: 2;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  display: inline-flex;
  min-width: 104px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 15px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  color: #fff;
  background: var(--mgp-orange-600);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.mgp-assessment-lightbox__close span {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 0.8;
}

.mgp-assessment-lightbox__close strong {
  font-size: 0.82rem;
}

.mgp-assessment-lightbox__close:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

.mgp-assessment-lightbox__close:hover {
  border-color: #fff !important;
  color: #fff !important;
  background: var(--mgp-orange-700) !important;
}

.mgp-assessment-upload {
  position: relative;
  display: flex;
  min-height: 112px;
  align-items: center;
  gap: 17px;
  padding: 21px;
  border: 2px dashed #aabac2;
  border-radius: 16px;
  color: #244757;
  background: #fbfcfc;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease;
}

.mgp-assessment-upload-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.mgp-assessment-upload--choice {
  min-height: 82px;
  justify-content: center;
  padding: 14px;
  border-style: solid;
  text-align: center;
}

.mgp-assessment-upload--choice .mgp-assessment-upload__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.mgp-assessment-upload--choice .mgp-assessment-upload__icon svg {
  width: 23px;
  height: 23px;
}

.mgp-assessment-upload-help {
  margin: 8px 0 0;
  color: #6b7e89;
  font-size: 0.75rem;
  text-align: center;
}

.mgp-assessment-upload:hover {
  border-color: var(--mgp-teal-600);
  background: #f2faf8;
}

.mgp-assessment-upload input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.mgp-assessment-upload__icon {
  display: grid;
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  border-radius: 15px;
  color: var(--mgp-orange-600);
  background: var(--mgp-orange-100);
  place-items: center;
}

.mgp-assessment-upload__icon svg {
  width: 27px;
  height: 27px;
}

.mgp-assessment-upload > span:last-child {
  display: grid;
  gap: 4px;
}

.mgp-assessment-upload strong {
  font-size: 0.96rem;
}

.mgp-assessment-upload small {
  color: #6b7e89;
  font-size: 0.75rem;
}

.mgp-assessment-upload-status {
  display: flex;
  min-height: 25px;
  align-items: center;
  gap: 10px;
  margin-top: 9px;
  color: #607782;
  font-size: 0.78rem;
}

.mgp-assessment-upload-status span.is-complete {
  color: var(--mgp-teal-600);
  font-weight: 800;
}

.mgp-assessment-upload-status small {
  overflow: hidden;
  max-width: 340px;
  color: #6c7d87;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mgp-assessment-upload-status.is-error {
  color: #a23c2d;
}

.mgp-assessment-consent {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 20px;
  border: 1px solid #d4dde1;
  border-radius: 15px;
  background: #f8fafb;
  color: #3f5b6a;
  font-size: 0.86rem;
  line-height: 1.6;
  cursor: pointer;
}

.mgp-assessment-consent input {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  margin-top: 2px;
  accent-color: var(--mgp-teal-600);
}

.mgp-assessment-consent a {
  color: var(--mgp-teal-600);
  font-weight: 700;
}

.mgp-assessment-error {
  min-height: 22px;
  margin: 12px 0 0;
  color: #a23c2d;
  font-size: 0.8rem;
  font-weight: 700;
}

.mgp-assessment-actions {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 23px;
}

.mgp-assessment-actions button {
  min-height: 50px;
  padding: 13px 21px;
  border-radius: 12px;
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
}

.mgp-assessment-next,
.mgp-assessment-submit {
  margin-left: auto;
  border: 1px solid var(--mgp-orange-600);
  color: #fff;
  background: var(--mgp-orange-600);
  box-shadow: 0 10px 23px rgba(220, 90, 17, 0.22);
}

.mgp-assessment-next:hover,
.mgp-assessment-submit:hover {
  border-color: var(--mgp-orange-700) !important;
  color: #fff !important;
  background: var(--mgp-orange-700) !important;
}

.mgp-assessment-next:disabled,
.mgp-assessment-submit:disabled {
  opacity: 0.62;
  cursor: wait;
}

.mgp-assessment-back {
  border: 1px solid #cbd5da;
  color: #405d6b;
  background: #fff;
}

.mgp-assessment-review__summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.mgp-assessment-review__summary > div:not(.mgp-assessment-review__missing) {
  display: grid;
  min-height: 105px;
  place-content: center;
  padding: 17px;
  border: 1px solid #d7e0e4;
  border-radius: 14px;
  text-align: center;
  background: #f8fafb;
}

.mgp-assessment-review__summary strong {
  color: var(--mgp-navy-950);
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: 1.65rem;
}

.mgp-assessment-review__summary span {
  color: #607783;
  font-size: 0.76rem;
}

.mgp-assessment-review__missing {
  grid-column: 1 / -1;
  padding: 19px 21px;
  border: 1px solid #eadbbd;
  border-radius: 14px;
  color: #66512a;
  background: #fffaf0;
}

.mgp-assessment-review__missing p {
  margin: 0;
}

.mgp-assessment-review__missing ul {
  margin: 9px 0 0;
  padding-left: 19px;
}

.mgp-assessment-review__missing li {
  margin-top: 5px;
}

.mgp-assessment-review__missing button {
  padding: 0;
  border: 0;
  color: #76591d;
  background: transparent;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.mgp-assessment-success {
  min-height: 600px;
  padding: clamp(70px, 10vw, 120px) clamp(25px, 8vw, 90px);
  border-radius: 28px;
  text-align: center;
  background: linear-gradient(145deg, #fff 0%, #f2faf8 100%);
}

.mgp-assessment-success__icon {
  display: grid;
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  border-radius: 50%;
  color: #fff;
  background: var(--mgp-teal-600);
  box-shadow: 0 16px 35px rgba(22, 138, 124, 0.22);
  font-size: 2rem;
  font-weight: 800;
  place-items: center;
}

.mgp-assessment-success h3 {
  max-width: 720px;
  margin: 0 auto;
  color: var(--mgp-navy-950);
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.05em;
  line-height: 1.08;
}

.mgp-assessment-success > p:not(.mgp-assessment-step__eyebrow) {
  max-width: 680px;
  margin: 20px auto 0;
  color: #567080;
  line-height: 1.7;
}

.mgp-assessment-referral {
  max-width: 720px;
  margin: 42px auto 0;
  padding: clamp(24px, 5vw, 38px);
  border: 1px solid #d9e5e7;
  border-radius: 20px;
  text-align: left;
  background: #fff;
  box-shadow: 0 18px 42px rgba(11, 37, 53, 0.08);
}

.mgp-assessment-referral h4 {
  margin: 0;
  color: var(--mgp-navy-950);
  font-family: "Manrope", "DM Sans", sans-serif;
  font-size: clamp(1.45rem, 4vw, 2rem);
  letter-spacing: -0.035em;
}

.mgp-assessment-referral > p:not(.mgp-assessment-step__eyebrow) {
  margin: 10px 0 0;
  color: #5a7180;
  line-height: 1.6;
}

.mgp-assessment-referral form {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.mgp-assessment-referral__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.mgp-assessment-referral label {
  display: grid;
  gap: 7px;
  color: #355365;
  font-size: 0.78rem;
  font-weight: 800;
}

.mgp-assessment-referral input {
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  border: 1px solid #c7d1d7;
  border-radius: 12px;
  color: var(--mgp-navy-950);
  background: #fff;
  outline: 0;
}

.mgp-assessment-referral input:focus {
  border-color: var(--mgp-teal-600);
  box-shadow: 0 0 0 4px rgba(22, 138, 124, 0.12);
}

.mgp-assessment-referral button {
  justify-self: start;
  min-height: 52px;
  padding: 13px 22px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: var(--mgp-orange-600);
  font-weight: 800;
  cursor: pointer;
}

.mgp-assessment-referral button:disabled {
  opacity: 0.65;
  cursor: wait;
}

.mgp-assessment-referral small {
  color: #718490;
  font-size: 0.72rem;
  line-height: 1.5;
}

.mgp-assessment-referral__status {
  min-height: 20px;
  margin: 0;
  color: #5a7180;
  font-size: 0.82rem;
  font-weight: 700;
}

.mgp-assessment-referral__status[data-mode="success"] {
  color: var(--mgp-teal-600);
}

.mgp-assessment-referral__status[data-mode="error"] {
  color: #a23c2d;
}

@keyframes mgp-step-in {
  from {
    opacity: 0;
    transform: translateY(9px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 782px) {
  .mgp-assessment input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
  .mgp-assessment select,
  .mgp-assessment textarea {
    font-size: 16px;
  }

  .mgp-assessment-resume-dialog {
    align-items: end;
    padding: max(12px, env(safe-area-inset-top)) 0 0;
  }

  .mgp-assessment-resume-dialog__card {
    width: 100%;
    max-height: calc(100dvh - max(12px, env(safe-area-inset-top)));
    padding: 30px 18px max(24px, calc(env(safe-area-inset-bottom) + 14px));
    border-radius: 22px 22px 0 0;
  }

  .mgp-assessment-resume-dialog__card h3 {
    margin-right: 46px;
  }

  .mgp-assessment-resume-options {
    grid-template-columns: 1fr;
  }

  .mgp-assessment-resume-option {
    padding: 17px;
  }

  .mgp-quote-form-section {
    padding: 58px 0 76px;
  }

  .mgp-quote-form-wrap {
    width: calc(100% - 24px);
  }

  .mgp-quote-embed {
    min-height: 650px;
    padding: 0;
    border-radius: 20px;
  }

  .mgp-assessment-shell {
    min-height: 650px;
  }

  .mgp-assessment-progress {
    top: 68px;
    padding: 15px 17px 11px;
    border-radius: 20px 20px 0 0;
  }

  .mgp-assessment-progress__top {
    align-items: flex-start;
  }

  .mgp-assessment-progress__top > div {
    display: grid;
    gap: 1px;
  }

  .mgp-assessment-progress__actions {
    justify-items: end;
    gap: 4px;
  }

  .mgp-assessment-save-later,
  .mgp-assessment-reset {
    max-width: 118px;
    text-align: right;
    line-height: 1.3;
  }

  .mgp-assessment-step {
    min-height: 530px;
    padding: 34px 18px 28px;
  }

  .mgp-assessment-step h3 {
    font-size: clamp(1.55rem, 7vw, 2.15rem);
  }

  .mgp-assessment-transition {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 22px 18px;
  }

  .mgp-assessment-transition__icon {
    width: 74px;
    height: 74px;
    border-radius: 20px;
  }

  .mgp-assessment-transition__icon svg {
    width: 38px;
    height: 38px;
  }

  .mgp-assessment-referral__fields {
    grid-template-columns: 1fr;
  }

  .mgp-assessment-grid--two,
  .mgp-assessment-grid--city,
  .mgp-assessment-options {
    grid-template-columns: 1fr;
  }

  .mgp-assessment-grid--city {
    gap: 12px;
  }

  .mgp-assessment-option > span {
    min-height: 56px;
  }

  .mgp-assessment-appliance {
    grid-template-columns: minmax(0, 1fr) 124px;
    gap: 8px;
    padding: 9px 10px;
  }

  .mgp-assessment-quantity-stepper {
    grid-template-columns: 38px 46px 38px;
  }

  .mgp-assessment-quantity-stepper input {
    width: 46px;
  }

  .mgp-assessment-quantity-stepper button {
    min-width: 38px;
  }

  .mgp-assessment-example {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
  }

  .mgp-assessment-example img {
    width: 112px;
    height: 88px;
  }

  .mgp-assessment-distance-guide {
    margin-top: 20px;
  }

  .mgp-assessment-callout {
    padding: 14px;
  }

  .mgp-assessment-actions {
    flex-wrap: wrap;
  }

  .mgp-assessment-next,
  .mgp-assessment-submit {
    min-width: 134px;
  }

  .mgp-assessment-review__summary {
    grid-template-columns: 1fr;
  }

  .mgp-assessment-review__missing {
    grid-column: auto;
  }
}

@media (max-width: 430px) {
  .mgp-assessment-upload {
    min-height: 96px;
    padding: 16px;
  }

  .mgp-assessment-upload__icon {
    width: 46px;
    height: 46px;
  }

  .mgp-assessment-upload-options {
    gap: 8px;
  }

  .mgp-assessment-upload--choice {
    min-height: 76px;
    gap: 8px;
    padding: 10px 8px;
  }

  .mgp-assessment-upload--choice .mgp-assessment-upload__icon {
    width: 36px;
    height: 36px;
  }

  .mgp-assessment-upload--choice strong {
    font-size: 0.82rem;
  }

  .mgp-assessment-actions button {
    padding-right: 16px;
    padding-left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mgp-assessment-step.is-active .mgp-assessment-step__inner {
    animation: none;
  }

  .mgp-assessment-progress__track i,
  .mgp-assessment-example img {
    transition: none;
  }
}
