body.auto-quote-page{
  --red: #e60000;
  --accent: #0abab5;
  --accent-dark: #089895;
  --text: #26352f;
  --muted: #5b675f;
  --line: #cfd9d5;
  --soft-line: #e2e8e5;
  --field: #ffffff;
  --disabled: #f0f2f1;
  --shadow: rgba(0, 0, 0, 0.18);
}

.auto-quote-page *{ box-sizing: border-box; }

body.auto-quote-page{ scroll-behavior: smooth; }

body.auto-quote-page{
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
}

.auto-quote-page .quote-topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  height: 66px;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.auto-quote-page .quote-title{
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.1px;
}

.auto-quote-page .quote-stagebar{
  position: sticky;
  top: 66px;
  z-index: 45;
  background: #fff;
  border-bottom: 1px solid #d6dedb;
  box-shadow: 0 4px 11px var(--shadow);
}

.auto-quote-page .stagebar-inner{
  max-width: 960px;
  margin: 0 auto;
  min-height: 76px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 4px;
  padding: 0 16px;
}

.auto-quote-page .stage-item{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  color: #8a928f;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.auto-quote-page .stage-number{
  width: 27px;
  height: 27px;
  border-radius: 999px;
  border: 2px solid #cbd4d0;
  color: #7d8782;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
}

.auto-quote-page .stage-item.is-active, .auto-quote-page .stage-item.is-done{ color: var(--text); }

.auto-quote-page .stage-item.is-active .stage-number{
  border-color: var(--accent);
  color: var(--accent-dark);
}

.auto-quote-page .stage-item.is-done .stage-number{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-size: 0;
}

.auto-quote-page .stage-item.is-done .stage-number::before{
  content: "✓";
  font-size: 13px;
}

.auto-quote-page .stage-progress{
  height: 5px;
  background: #e1e7e4;
  overflow: hidden;
}

.auto-quote-page .stage-progress span{
  display: block;
  width: 8%;
  height: 100%;
  background: var(--accent);
  transition: width .25s ease;
}

.auto-quote-page .quote-main{ background: #fff; min-height: 560px; }
.auto-quote-page .quote-form{ margin: 0; width: 100%; }

.auto-quote-page .quote-step{
  display: none;
  min-height: 540px;
  padding: 48px 18px 56px;
}

.auto-quote-page .quote-step.is-active{
  display: block;
  animation: stepFade .16s ease;
}

@keyframes stepFade {
  from { opacity: .45; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.auto-quote-page .step-shell{
  width: 100%;
  max-width: 575px;
  margin: 0 auto;
  text-align: left;
}

.auto-quote-page .start-shell{ max-width: 610px; }
.auto-quote-page .use-shell{ max-width: 560px; }
.auto-quote-page .coverage-shell{ max-width: 560px; }
.auto-quote-page .savings-shell{ max-width: 700px; }

.auto-quote-page .step-shell h1, .auto-quote-page .step-shell h2{
  margin: 0 0 26px;
  color: var(--text);
  text-align: center;
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.7px;
}

.auto-quote-page .step-shell h1{ font-size: 36px; }
.auto-quote-page .step-shell h2{ font-size: 34px; }

.auto-quote-page .subtitle{
  margin: -12px auto 34px;
  color: #23332d;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.auto-quote-page .didyouknow{
  margin: 0 auto 10px;
  text-align: center;
  color: #26352f;
  font-size: 15px;
  font-weight: 500;
}

.auto-quote-page .province-link{
  display: block;
  width: fit-content;
  margin: 0 auto 34px;
  color: var(--accent-dark);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.auto-quote-page .province-link::after{
  content: " ›";
  font-size: 18px;
}

.auto-quote-page .intro-copy{
  max-width: 540px;
  margin: 0 auto 28px;
  color: #2e3b36;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.52;
}

.auto-quote-page .field-group{ margin: 0 0 25px; }

.auto-quote-page .field-group label, .auto-quote-page .standalone-label, .auto-quote-page .question-row label{
  display: block;
  color: #17241f;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px;
}

.auto-quote-page select, .auto-quote-page input[type="text"], .auto-quote-page input[type="tel"], .auto-quote-page input[type="number"]{
  width: 100%;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--field);
  color: #222;
  font: inherit;
  font-size: 16px;
  padding: 0 18px;
  outline: none;
  transition: border-color .16s ease, box-shadow .16s ease;
}

.auto-quote-page select{
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #7f8883 50%),
    linear-gradient(135deg, #7f8883 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 21px,
    calc(100% - 15px) 21px;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
  padding-right: 48px;
}

.auto-quote-page select:focus, .auto-quote-page input[type="text"]:focus, .auto-quote-page input[type="tel"]:focus, .auto-quote-page input[type="number"]:focus{
  border-color: var(--accent);
  box-shadow: inset 0 -2px 0 var(--accent);
}

.auto-quote-page .segmented{
  width: 100%;
  display: grid;
  border: 1px solid var(--accent);
  background: #fff;
  margin: 0 0 34px;
  min-height: 49px;
}

.auto-quote-page .segmented.two{ grid-template-columns: repeat(2, 1fr); }
.auto-quote-page .segmented.three{ grid-template-columns: repeat(3, 1fr); }

.auto-quote-page .segmented label{
  display: flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  margin: 0;
  border-right: 1px solid rgba(10, 186, 181, .65);
  cursor: pointer;
  color: #17241f;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
}

.auto-quote-page .segmented label:last-child{ border-right: 0; }
.auto-quote-page .segmented input{ position: absolute; opacity: 0; pointer-events: none; }
.auto-quote-page .segmented span{
  width: 100%;
  min-height: 49px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  transition: background .15s ease, color .15s ease;
}
.auto-quote-page .segmented input:checked + span{
  background: var(--accent);
  color: #fff;
}

.auto-quote-page .ownership span{ min-height: 66px; }
.auto-quote-page .ownership label{ min-height: 66px; }

.auto-quote-page .ownership span br{ content: ""; }

.auto-quote-page .question-row{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}

.auto-quote-page .question-row label{ flex: 1; margin-bottom: 0; }
.auto-quote-page .stacked-question{ margin-top: 18px; }
.auto-quote-page .commute-row{ margin-top: 38px; }
.auto-quote-page .saving-question{ align-items: flex-start; margin-bottom: 18px; }
.auto-quote-page .saving-question label{ font-weight: 600; line-height: 1.45; }

.auto-quote-page .help-icon{
  flex: 0 0 auto;
  width: 25px;
  height: 25px;
  border: 2px solid var(--accent);
  border-radius: 999px;
  background: #fff;
  color: var(--accent-dark);
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
}

.auto-quote-page .field-spacer{ height: 16px; }
.auto-quote-page .date-title{
  font-size: 16px;
  font-weight: 700;
  color: #18241f;
  margin: 36px 0 10px;
}

.auto-quote-page .date-row{
  display: grid;
  gap: 14px;
}
.auto-quote-page .date-row.two-cols{ grid-template-columns: 1fr 1fr; }
.auto-quote-page .date-row.three-cols{ grid-template-columns: repeat(3, 1fr); }
.auto-quote-page .coverage-date{ margin-top: 24px; }

.auto-quote-page .radio-card-list{
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
}

.auto-quote-page .radio-card{
  position: relative;
  min-height: 67px;
  border: 1px solid rgba(10, 186, 181, .72);
  background: #fff;
  color: #18241f;
  display: flex;
  align-items: center;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.auto-quote-page .radio-card input{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.auto-quote-page .radio-card span{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start !important;
  text-align: left !important;
  width: 100%;
  min-height: 67px;
  padding: 18px 22px 18px 70px;
  font-weight: 600;
}
@media (max-width:768px){

  .auto-quote-page .radio-card{
    text-align: left !important;
  }

  .auto-quote-page .radio-card span{
    justify-content: flex-start !important;
    text-align: left !important;
    padding-left: 70px !important;
  }
}
@media (max-width:768px){

  .auto-quote-page .radio-card{
    width: 100% !important;
    min-height: 78px !important;
  }

  .auto-quote-page .radio-card span{
    min-height: 78px !important;
    padding: 18px 20px 18px 62px !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .auto-quote-page .radio-card span::before{
    left: 22px !important;
    width: 24px !important;
    height: 24px !important;
  }
}

.auto-quote-page .radio-card span::before{
  content: "";
  position: absolute;
  left: 30px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #9faaa5;
  background: #fff;
}

.auto-quote-page .radio-card input:checked + span{
  background: rgba(10, 186, 181, .09);
  box-shadow: inset 0 0 0 2px var(--accent);
}

.auto-quote-page .radio-card input:checked + span::before{
  border-color: var(--accent);
  box-shadow: inset 0 0 0 5px #fff;
  background: var(--accent);
}

.auto-quote-page .compact-cards .radio-card, .auto-quote-page .compact-cards .radio-card span{ min-height: 62px; }

.auto-quote-page .field-note-main{
  margin: 30px 0 18px;
  color: #26352f;
  font-weight: 600;
  line-height: 1.48;
}

.auto-quote-page .progressive-field, .auto-quote-page .progressive-block{
  display: none;
}
.auto-quote-page .progressive-field.is-visible, .auto-quote-page .progressive-block.is-visible{
  display: block;
}

.auto-quote-page .saving-card{
  border: 1px solid #d7dfdc;
  background: #fff;
  padding: 38px 56px 42px;
  margin: 0 auto 30px;
  text-align: center;
}

.auto-quote-page .saving-icon{
  color: var(--accent-dark);
  font-size: 30px;
  margin-bottom: 12px;
}

.auto-quote-page .saving-card h3{
  margin: 0 0 22px;
  color: var(--text);
  font-size: 26px;
  line-height: 1.25;
  font-weight: 500;
}

.auto-quote-page .saving-card .segmented{ margin-bottom: 0; }

.auto-quote-page .km-input{
  display: flex;
  width: 100%;
  max-width: 260px;
  height: 50px;
  border: 1px solid var(--line);
  background: #fff;
}

.auto-quote-page .km-input input{
  border: 0;
  width: 50%;
  height: 48px;
  box-shadow: none !important;
}

.auto-quote-page .km-input span{
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--line);
  color: #66716c;
  background: #f8faf9;
  font-weight: 600;
}

.auto-quote-page .purchase-fields .field-group label{
  min-height: 46px;
  line-height: 1.35;
}

.auto-quote-page .small-top{ margin-top: 28px; }

.auto-quote-page .under-label{
  margin: -4px 0 16px;
  color: #283631;
  font-size: 14px;
  font-weight: 600;
}

.auto-quote-page .driver-shell{ max-width: 620px; }
.auto-quote-page .driver-choice{ margin-bottom: 28px; }

.auto-quote-page .driver-panel{
  animation: stepFade .16s ease;
}


.auto-quote-page .example-note{
  margin: -8px 0 28px;
  color: #26352f;
  font-size: 15px;
  font-weight: 600;
}

.auto-quote-page .province-note{
  margin: 0 0 6px;
  color: #33423d;
  font-size: 15px;
  font-weight: 600;
}

.auto-quote-page .change-province-link{
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--accent-dark);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.auto-quote-page .change-province-link::after{
  content: " ›";
}

.auto-quote-page .add-preferred{
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--accent);
  background: #fff;
  color: var(--accent-dark);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  margin: -4px 0 22px;
}

.auto-quote-page .secure-note{
  margin: 18px 0 0;
  padding: 12px 14px;
  background: rgba(10, 186, 181, .08);
  color: #29413a;
  font-size: 14px;
  font-weight: 700;
  border-left: 4px solid var(--accent);
}


.auto-quote-page .form-actions{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: min(760px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 52px;
}

.auto-quote-page .btn{
  min-height: 50px;
  border: 1px solid var(--accent);
  border-radius: 0;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  transition: opacity .15s ease, background .15s ease, color .15s ease;
}

.auto-quote-page .btn-back{
  background: #fff;
  color: var(--accent-dark);
}

.auto-quote-page .btn-next{
  background: var(--accent);
  color: #fff;
}

.auto-quote-page .btn:disabled{
  cursor: not-allowed;
  border-color: #e4e8e6;
  background: #f4f5f5;
  color: #c6cecb;
}

.auto-quote-page .quote-contact-strip{
  background: var(--accent-dark);
  color: #fff;
  padding: 52px 18px 58px;
  text-align: center;
}
.auto-quote-page .quote-contact-strip h2{
  margin: 0 0 8px;
  font-size: 31px;
  font-weight: 500;
}
.auto-quote-page .quote-contact-strip p{
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.auto-quote-page .help-popup{
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, .42);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}
.auto-quote-page .help-popup[hidden]{ display: none; }
.auto-quote-page .help-box{
  width: min(480px, 100%);
  background: var(--accent);
  color: #fff;
  border-radius: 18px;
  padding: 34px 34px 32px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .35);
  position: relative;
  text-align: left;
}
.auto-quote-page .help-box h3{
  color: #fff;
  margin: 0 0 12px;
  font-size: 24px;
  font-weight: 800;
}
.auto-quote-page .help-box p{
  color: #fff;
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
}
.auto-quote-page .help-close{
  position: absolute;
  top: 12px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .18);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 720px){
  .auto-quote-page .quote-topbar{ height: 58px; }
  .auto-quote-page .quote-stagebar{ top: 58px; }
  .auto-quote-page .stagebar-inner{
    min-height: 66px;
    grid-template-columns: repeat(4, minmax(74px, 1fr));
    overflow-x: auto;
    justify-content: start;
    padding: 0 10px;
  }
  .auto-quote-page .stage-item{ font-size: 12px; gap: 6px; }
  .auto-quote-page .stage-number{ width: 23px; height: 23px; font-size: 11px; }
  .auto-quote-page .quote-step{ padding: 34px 16px 42px; min-height: 500px; }
  .auto-quote-page .step-shell h1{ font-size: 28px; }
  .auto-quote-page .step-shell h2{ font-size: 28px; }
  .auto-quote-page .intro-copy{ margin-top: 26px; }
  .auto-quote-page .date-row.two-cols, .auto-quote-page .date-row.three-cols, .auto-quote-page .form-actions{ grid-template-columns: 1fr; }
  .auto-quote-page .segmented.three{ grid-template-columns: 1fr; }
  .auto-quote-page .segmented label{ border-right: 0; border-bottom: 1px solid rgba(10, 186, 181, .65); }
  .auto-quote-page .segmented label:last-child{ border-bottom: 0; }
  .auto-quote-page .saving-card{ padding: 30px 18px 32px; }
  .auto-quote-page .saving-card h3{ font-size: 23px; }
  .auto-quote-page .km-input{ max-width: 100%; }
  .auto-quote-page .purchase-fields .field-group label{ min-height: 0; }
  .auto-quote-page .quote-contact-strip h2{ font-size: 25px; }
}

.auto-quote-page .driver-copy{
  margin: 0 0 18px;
  color: #26352f;
  font-size: 16px;
  line-height: 1.5;
}

.auto-quote-page .example-note{
  margin: -10px 0 28px;
  color: #26352f;
  font-size: 14px;
  font-weight: 600;
}

.auto-quote-page .province-note{
  margin: 0 0 4px;
  color: #2d3a35;
  font-size: 15px;
}

.auto-quote-page .bottom-link{
  margin-top: 0;
}


.auto-quote-page .quote-orig-header{position:sticky;top:0;z-index:60;}
.auto-quote-page .quote-stagebar{top:70px;}
@media (max-width:720px){.auto-quote-page .quote-stagebar{top:58px;}}
.auto-quote-page .quote-topbar, .auto-quote-page .quote-title, .auto-quote-page .quote-contact-strip{display:none;}
.auto-quote-page .didyouknow, .auto-quote-page .province-link, .auto-quote-page .province-note{display:none !important;}
.auto-quote-page .step-shell h1{font-size:40px;}
.auto-quote-page .driver-copy{margin:8px 0 18px;}
.auto-quote-page .form-footer{margin-top:0;}

.auto-quote-page .compact-help-row{
  margin: 0 0 10px;
  align-items: center;
}
.auto-quote-page .compact-help-row label{
  margin: 0;
}
.auto-quote-page .standalone-question-row{
  margin-top: 8px;
}
.auto-quote-page .standalone-question-row .standalone-label, .auto-quote-page .date-title-row .date-title{
  margin: 0;
}
.auto-quote-page .date-title-row{
  margin: 18px 0 10px;
}
.auto-quote-page .field-note-row{
  margin: 30px 0 18px;
  align-items: flex-start;
}
.auto-quote-page .field-note-row .field-note-main{
  margin: 0;
  flex: 1;
}

/* First step should show one centered button, like the reference video/form */
.auto-quote-page .form-actions.is-single{
  grid-template-columns: minmax(260px, 490px);
  justify-content: center;
}

.auto-quote-page .form-actions.is-single .btn-next{
  width: 100%;
}

.auto-quote-page .form-actions.is-single .btn-back{
  display: none !important;
}

/* requested cleanup: no separator line before navigation button */
.auto-quote-page .quote-step{ border-bottom: 0 !important; }

/* first step: one centered button exactly like the reference */
.auto-quote-page .form-actions.is-single{
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  grid-template-columns: none !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.auto-quote-page .form-actions.is-single .btn-next{
  width: min(490px, calc(100vw - 40px)) !important;
  margin: 0 auto !important;
}
.auto-quote-page .form-actions.is-single .btn-back{ display: none !important; }

/* ===== FINAL TIGHT GAP FIX (2026-07-06) =====
   Removes the large blank area between active step inputs and navigation buttons. */
body.auto-quote-page .quote-step, body.auto-quote-page .quote-step.is-active{
  min-height: 0 !important;
  height: auto !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  border-bottom: 0 !important;
}

body.auto-quote-page .quote-step.is-active .step-shell{
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.auto-quote-page .quote-step.is-active ~ .form-actions{
  margin-top: 0 !important;
  padding-top: 8px !important;
  padding-bottom: 34px !important;
}

body.auto-quote-page .quote-step.is-active[data-step="4"]{
  padding-bottom: 0 !important;
}

body.auto-quote-page .quote-step.is-active[data-step="4"] .coverage-date, body.auto-quote-page .quote-step.is-active[data-step="4"] .field-group{
  margin-bottom: 0 !important;
}

body.auto-quote-page .quote-step.is-active[data-step="4"] ~ .form-actions{
  padding-top: 6px !important;
}

/* Keep Back and Next equal width while keeping the overall form slightly narrower. */
body.auto-quote-page .step-shell, body.auto-quote-page .start-shell, body.auto-quote-page .use-shell, body.auto-quote-page .coverage-shell, body.auto-quote-page .driver-shell{
  max-width: 520px !important;
}

body.auto-quote-page .form-actions:not(.is-single){
  width: min(520px, calc(100vw - 48px)) !important;
  max-width: 520px !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 14px !important;
}

body.auto-quote-page .form-actions:not(.is-single) .btn{
  width: 100% !important;
}

body.auto-quote-page .form-actions.is-single{
  width: min(520px, calc(100vw - 48px)) !important;
  max-width: 520px !important;
  padding-top: 8px !important;
}

body.auto-quote-page .form-actions.is-single .btn-next{
  width: 100% !important;
  max-width: 520px !important;
}

/* ===== COVERAGE STEP GAP MATCH TO SCREENSHOT =====
   Keeps a moderate, clean gap between the date inputs and Back/Next buttons. */
body.auto-quote-page .quote-step.is-active[data-step="4"]{
  padding-bottom: 56px !important;
  border-bottom: 1px solid #d9dfdc !important;
}

body.auto-quote-page .quote-step.is-active[data-step="4"] .coverage-date{
  margin-bottom: 0 !important;
}

body.auto-quote-page .quote-step.is-active[data-step="4"] ~ .form-actions{
  padding-top: 42px !important;
  padding-bottom: 44px !important;
}

body.auto-quote-page .form-actions:not(.is-single){
  width: min(520px, calc(100vw - 48px)) !important;
  max-width: 520px !important;
  grid-template-columns: 1fr 1fr !important;
}

body.auto-quote-page .form-actions:not(.is-single) .btn{
  width: 100% !important;
}


/* Final fix: keep current spacing, remove the grey separator line above Back/Next buttons */
.auto-quote-page .quote-step, .auto-quote-page .quote-step.is-active{
  border-bottom: 0 !important;
}


/* Ways to Save step added after Coverage Start Date */
.auto-quote-page .savings-video-shell{
  max-width: 560px;
}

.auto-quote-page .savings-video-shell .subtitle{
  margin-bottom: 40px;
}

.auto-quote-page .saving-question-block{
  margin: 0 0 26px;
}

.auto-quote-page .saving-question-block .question-row{
  align-items: flex-start;
  margin-bottom: 16px;
}

.auto-quote-page .saving-question-block .question-row label{
  font-weight: 500;
  line-height: 1.42;
  font-size: 17px;
}

.auto-quote-page .saving-question-block .segmented{
  margin-bottom: 0;
}



.auto-quote-page .savings-step .form-actions, .auto-quote-page .savings-video-shell + .form-actions{
  margin-top: 0;
}

@media (max-width: 720px){
  .auto-quote-page .savings-video-shell{
    max-width: 100%;
  }
}


/* Driver step: Use your information panel */
.auto-quote-page .driver-info-panel{
  margin-top: 58px;
}

.auto-quote-page .driver-section-heading{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 34px 0 22px;
  text-align: center;
}

.auto-quote-page .driver-section-heading h3{
  margin: 0;
  color: #15241e;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 500;
}

.auto-quote-page .driver-info-panel .field-group{
  margin-bottom: 26px;
}

.auto-quote-page .driver-info-panel .field-group label{
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}

.auto-quote-page .driver-info-panel input[type="text"], .auto-quote-page .driver-info-panel select{
  height: 52px;
  border: 1px solid #cfd9d5;
  background-color: #fff;
}

.auto-quote-page .driver-info-panel input[type="text"]:focus, .auto-quote-page .driver-info-panel select:focus{
  border-color: #0abab5;
  box-shadow: inset 0 -2px 0 #0abab5;
}

.auto-quote-page .driver-info-panel input.has-error{
  border-bottom-color: #c60000 !important;
  box-shadow: inset 0 -3px 0 #c60000 !important;
}

.auto-quote-page .field-error{
  margin: 10px 0 0;
  color: #c60000;
  font-size: 15px;
  line-height: 1.35;
}

.auto-quote-page .add-preferred{
  width: 100%;
  height: 50px;
  border: 1px solid #0abab5;
  background: #fff;
  color: #0abab5;
  font: inherit;
  font-size: 17px;
  font-weight: 500;
  cursor: pointer;
  margin: 16px 0 28px;
}

.auto-quote-page .add-preferred span{
  font-weight: 800;
  font-size: 22px;
  margin-right: 8px;
}

.auto-quote-page .date-heading{
  margin-top: 28px;
}

.auto-quote-page .driver-date-row{
  margin-bottom: 40px;
}

.auto-quote-page .driver-segment{
  margin-bottom: 40px;
}

.auto-quote-page .driver-secure-note{
  margin: 8px 0 18px;
  padding: 24px 26px;
  background: #eefdfc;
  border-left: 0;
  color: #1f3434;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 400;
}

.auto-quote-page .driver-secure-note a{
  color: #0abab5;
  text-decoration: underline;
}

@media (max-width: 720px){
  .auto-quote-page .driver-info-panel{
    margin-top: 36px;
  }

  .auto-quote-page .driver-section-heading h3{
    font-size: 22px;
  }
}


/* Address step after Driver */
.auto-quote-page .address-shell{
  max-width: 560px;
}

.auto-quote-page .address-step h2{
  margin-bottom: 56px;
}

.auto-quote-page .address-shell .field-group{
  margin-bottom: 28px;
}

.auto-quote-page .address-shell .field-group label{
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}

.auto-quote-page .address-shell input[type="text"]{
  height: 52px;
  border: 1px solid #cfd9d5;
  background: #fff;
  color: #1b2b25;
}

.auto-quote-page .address-shell input[type="text"]:disabled{
  background: #f0f0f0;
  color: #777;
  cursor: not-allowed;
}

.auto-quote-page .address-shell input.has-error{
  border-bottom-color: #c60000 !important;
  box-shadow: inset 0 -3px 0 #c60000 !important;
}

.auto-quote-page .address-error{
  margin-top: 10px;
}

.auto-quote-page .address-small-row{
  gap: 40px;
  margin-bottom: 42px;
}

.auto-quote-page .address-quote-question{
  margin-top: 26px;
}

.auto-quote-page .address-quote-question p{
  margin: 0 0 18px;
  color: #1f302a;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 400;
}

.auto-quote-page .address-choice span{
  min-height: 64px;
  line-height: 1.25;
}

.auto-quote-page .address-consent-box{
  margin: 38px 0 20px;
  padding: 26px 28px;
  background: #eefdfc;
  color: #1f3434;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
}

@media (max-width: 720px){
  .auto-quote-page .address-step h2{
    margin-bottom: 36px;
  }

  .auto-quote-page .address-small-row{
    gap: 14px;
  }
}


/* Driver license step */
.auto-quote-page .license-shell{
  max-width: 560px;
}

.auto-quote-page .license-step h2{
  margin-bottom: 56px;
}

.auto-quote-page .license-question-block{
  margin: 0 0 46px;
}

.auto-quote-page .license-question-block .question-row{
  align-items: flex-start;
  margin-bottom: 18px;
}

.auto-quote-page .license-question-block .question-row label{
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.auto-quote-page .license-question-block .segmented{
  margin-bottom: 0;
}

.auto-quote-page .license-class-choice{
  margin-top: 0;
}

.auto-quote-page .save-quote-link{
  display: block;
  width: fit-content;
  margin: -24px auto 38px;
  color: #0abab5;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.auto-quote-page .save-quote-link:hover{
  text-decoration: underline;
}

@media (max-width: 720px){
  .auto-quote-page .license-step h2{
    margin-bottom: 38px;
  }

  .auto-quote-page .save-quote-link{
    margin-top: -12px;
  }
}


/* G2 age conditional field */
.auto-quote-page .license-age-field{
  margin-top: 34px;
  margin-bottom: 0;
}

.auto-quote-page .license-age-field label{
  display: block;
  color: #17241f;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}

.auto-quote-page .license-age-field input[type="number"]{
  width: 100%;
  height: 52px;
  border: 1px solid #cfd9d5;
  background: #fff;
  color: #1b2b25;
  font: inherit;
  padding: 0 18px;
  outline: none;
}

.auto-quote-page .license-age-field input[type="number"]:focus{
  border-color: #0abab5;
  box-shadow: inset 0 -2px 0 #0abab5;
}


/* G2 license month dropdown */
.auto-quote-page .license-month-field{
  margin-top: 34px;
  margin-bottom: 0;
}

.auto-quote-page .license-month-field label{
  display: block;
  color: #17241f;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 14px;
}

.auto-quote-page .license-month-field select{
  width: 100%;
  height: 52px;
  border: 1px solid #cfd9d5;
  background-color: #fff;
  color: #1b2b25;
  font: inherit;
  padding: 0 18px;
  outline: none;
}

.auto-quote-page .license-month-field select:focus{
  border-color: #0abab5;
  box-shadow: inset 0 -2px 0 #0abab5;
}


/* Driver License History step */
.auto-quote-page .license-history-shell{
  max-width: 560px;
}

.auto-quote-page .license-history-step h2{
  margin-bottom: 56px;
}

.auto-quote-page .license-history-question-block{
  margin: 0 0 32px;
}

.auto-quote-page .license-history-question-block .question-row{
  margin-bottom: 18px;
  align-items: flex-start;
}

.auto-quote-page .license-history-question-block .question-row label{
  color: #17241f;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.auto-quote-page .license-history-question-block .segmented{
  margin-bottom: 0;
}

.auto-quote-page .license-history-age-field{
  margin-top: 28px;
  margin-bottom: 0;
}

.auto-quote-page .license-history-age-field label{
  display: block;
  color: #17241f;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}

.auto-quote-page .license-history-age-field input[type="number"]{
  width: 100%;
  height: 52px;
  border: 1px solid #cfd9d5;
  background: #fff;
  color: #1b2b25;
  font: inherit;
  padding: 0 18px;
  outline: none;
}

.auto-quote-page .license-history-age-field input[type="number"]:focus{
  border-color: #0abab5;
  box-shadow: inset 0 -2px 0 #0abab5;
}

@media (max-width: 720px){
  .auto-quote-page .license-history-step h2{
    margin-bottom: 38px;
  }
}


/* Driving History step */
.auto-quote-page .driving-history-shell{
  max-width: 620px;
}

.auto-quote-page .driving-history-step h2{
  margin-bottom: 52px;
}

.auto-quote-page .driving-question-block{
  margin: 0 0 34px;
}

.auto-quote-page .driving-question-block .question-row{
  align-items: flex-start;
  margin-bottom: 18px;
}

.auto-quote-page .driving-question-block .question-row label{
  color: #17241f;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.auto-quote-page .driving-question-block .segmented{
  margin-bottom: 0;
}

.auto-quote-page .suspension-question{
  margin-top: 48px;
}

.auto-quote-page .history-card{
  position: relative;
  width: min(1000px, calc(100vw - 120px));
  margin: 38px 50% 34px;
  transform: translateX(-50%);
  background: #eefdfc;
  padding: 42px min(180px, 18vw) 58px;
}

.auto-quote-page .history-card h3{
  margin: 0 0 28px;
  color: #0a5f5d;
  text-align: center;
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
}

.auto-quote-page .history-card-close{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 26px;
  height: 26px;
  border: 1px solid #0abab5;
  background: transparent;
  color: #0abab5;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
}

.auto-quote-page .history-card .field-group{
  margin-bottom: 28px;
}

.auto-quote-page .history-card .field-group label, .auto-quote-page .history-card-label{
  color: #17241f;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.auto-quote-page .history-card select{
  height: 52px;
  border: 1px solid #cfd9d5;
  background-color: #fff;
}

.auto-quote-page .history-card-label{
  margin: 26px 0 16px;
}

.auto-quote-page .history-date-row{
  gap: 18px;
  max-width: 100%;
}

.auto-quote-page .history-add-btn{
  width: 100%;
  height: 54px;
  border: 1px solid #0abab5;
  background: #fff;
  color: #0abab5;
  font: inherit;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  margin: 0 0 42px;
}

.auto-quote-page .history-add-btn:hover{
  background: #e9fbfa;
}

@media (max-width: 900px){
  .auto-quote-page .history-card{
    width: min(760px, calc(100vw - 40px));
    padding: 34px 28px 44px;
  }
}

@media (max-width: 720px){
  .auto-quote-page .driving-history-step h2{
    margin-bottom: 36px;
  }

  .auto-quote-page .history-card{
    width: calc(100vw - 28px);
    padding: 32px 18px 38px;
  }
}


/* Final requested fixes: no green accents, light Tiffany dynamic cards */
body.auto-quote-page{
  --accent: #0abab5;
  --accent-dark: #089895;
}

.auto-quote-page .segmented{
  border-color: #0abab5 !important;
}

.auto-quote-page .segmented label{
  border-color: rgba(10, 186, 181, .65) !important;
}

.auto-quote-page .segmented input:checked + span, .auto-quote-page .btn-next{
  background: #0abab5 !important;
  color: #fff !important;
}

.auto-quote-page .btn, .auto-quote-page .btn-back, .auto-quote-page .add-preferred, .auto-quote-page .history-add-btn, .auto-quote-page .save-quote-link{
  border-color: #0abab5 !important;
  color: #089895 !important;
}

.auto-quote-page .history-card{
  background: #eefdfc !important;
}

.auto-quote-page .history-card h3{
  color: #0a5f5d !important;
}

.auto-quote-page .history-card-close{
  border-color: #0abab5 !important;
  color: #0abab5 !important;
}

.auto-quote-page .history-add-btn{
  background: #fff !important;
}

.auto-quote-page .history-add-btn:hover{
  background: #e9fbfa !important;
}

.auto-quote-page .license-age-field, .auto-quote-page .license-month-field{
  display: none;
}

.auto-quote-page .license-age-field.is-visible, .auto-quote-page .license-month-field.is-visible{
  display: block;
}

/* Removed preferred name button */
.auto-quote-page .add-preferred{
  display: none !important;
}


/* REAL separator line fix: line first, then clear gap, then buttons */
.auto-quote-page .form-action-separator{
  position: relative !important;
  left: 50% !important;
  width: 100vw !important;
  height: 1px !important;
  margin-left: -50vw !important;
  margin-top: 34px !important;
  margin-bottom: 46px !important; /* THIS is the gap after line before buttons */
  background: #d7dfdc !important;
  display: block !important;
  flex: none !important;
}

.auto-quote-page .form-actions{
  border-top: 0 !important;
  padding-top: 0 !important;
  margin-top: 0 !important;
  padding-bottom: 44px !important;
}

.auto-quote-page .form-actions::before{
  display: none !important;
  content: none !important;
}

.auto-quote-page .btn-back, .auto-quote-page .btn-next{
  color: #fff !important;
  background: #0abab5 !important;
  border-color: #0abab5 !important;
}

.auto-quote-page .btn:disabled{
  color: #fff !important;
  opacity: .45 !important;
}




/* Responsive fit fixes — desktop design remains unchanged */
.auto-quote-page *{
  box-sizing: border-box;
}

body.auto-quote-page, body.auto-quote-page{
  max-width: 100%;
  overflow-x: hidden;
}

.auto-quote-page .quote-form, .auto-quote-page .form-frame, .auto-quote-page .step-shell{
  max-width: 100%;
}

@media (max-width: 1024px){
  .auto-quote-page .quote-main, .auto-quote-page .quote-form, .auto-quote-page .form-frame{
    width: 100% !important;
    max-width: 100% !important;
  }

  .auto-quote-page .step-shell{
    width: min(92vw, 760px) !important;
  }

  .auto-quote-page .history-card{
    width: calc(100vw - 48px) !important;
    padding-left: 48px !important;
    padding-right: 48px !important;
  }

  .auto-quote-page .form-actions{
    width: min(92vw, 760px) !important;
  }

  .auto-quote-page .form-action-separator{
    width: 100vw !important;
  }
}

@media (max-width: 768px){
  .auto-quote-page .step-shell{
    width: calc(100vw - 32px) !important;
    padding-left: 22px !important;
    padding-right: 22px !important;
  }

  .auto-quote-page .step-shell h2, .auto-quote-page .quote-step h2{
    font-size: clamp(26px, 7vw, 36px) !important;
    line-height: 1.15 !important;
    word-break: normal !important;
  }

  .auto-quote-page .form-row, .auto-quote-page .date-row, .auto-quote-page .two-cols, .auto-quote-page .history-date-row{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .auto-quote-page .segmented{
    width: 100% !important;
  }

  .auto-quote-page .segmented.two, .auto-quote-page .segmented.three{
    grid-template-columns: 1fr !important;
  }

  .auto-quote-page .segmented label, .auto-quote-page .segmented span{
    width: 100% !important;
  }

  .auto-quote-page input, .auto-quote-page select, .auto-quote-page textarea{
    width: 100% !important;
    max-width: 100% !important;
  }

  .auto-quote-page .history-card{
    width: calc(100vw - 28px) !important;
    margin-left: 50% !important;
    margin-right: 50% !important;
    padding: 34px 18px 40px !important;
  }

  .auto-quote-page .history-card h3{
    font-size: 24px !important;
  }

  .auto-quote-page .form-action-separator{
    margin-top: 28px !important;
    margin-bottom: 34px !important;
  }

  .auto-quote-page .form-actions{
    width: calc(100vw - 32px) !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  .auto-quote-page .form-actions .btn{
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 480px){
  .auto-quote-page .step-shell{
    width: calc(100vw - 20px) !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .auto-quote-page .question-row{
    gap: 8px !important;
  }

  .auto-quote-page .question-row label, .auto-quote-page .field-group label{
    font-size: 15px !important;
    line-height: 1.45 !important;
  }

  .auto-quote-page .history-card{
    width: calc(100vw - 16px) !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .auto-quote-page .history-card-close{
    top: 12px !important;
    right: 12px !important;
  }

  .auto-quote-page .form-actions{
    width: calc(100vw - 20px) !important;
  }

  .auto-quote-page .btn{
    height: 52px !important;
    font-size: 18px !important;
  }
}




/* Icon progress bar like GetRates reference */
.auto-quote-page .quote-icon-stagebar{
  background: #fff !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
  padding: 86px 16px 26px !important;
}

.auto-quote-page .quote-icon-stagebar .stagebar-inner{
  max-width: 760px !important;
  min-height: auto !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 82px 1fr 82px 1fr 82px 1fr 82px !important;
  align-items: center !important;
  gap: 12px !important;
}

.auto-quote-page .quote-icon-stagebar .stage-item{
  display: grid !important;
  justify-items: center !important;
  align-items: center !important;
  gap: 8px !important;
  color: #6d7880 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.auto-quote-page .quote-icon-stagebar .stage-number{
  display: none !important;
}

.auto-quote-page .quote-icon-stagebar .stage-icon{
  width: 56px !important;
  height: 56px !important;
  border-radius: 50% !important;
  border: 0 !important;
  background: #e7ebef !important;
  color: #9ba4aa !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 24px !important;
  box-shadow: none !important;
}

.auto-quote-page .quote-icon-stagebar .stage-icon-quote::before{
  content: "" !important;
  width: 25px !important;
  height: 25px !important;
  border-radius: 50% !important;
  background: #dfe4e9 !important;
  display: block !important;
}

.auto-quote-page .quote-icon-stagebar .stage-connector{
  display: block !important;
  height: 3px !important;
  width: 100% !important;
  background: #dfe4e9 !important;
  transform: translateY(-13px) !important;
}

.auto-quote-page .quote-icon-stagebar .stage-item.is-active, .auto-quote-page .quote-icon-stagebar .stage-item.is-done{
  color: #e60000 !important;
}

.auto-quote-page .quote-icon-stagebar .stage-item.is-active .stage-icon, .auto-quote-page .quote-icon-stagebar .stage-item.is-done .stage-icon{
  background: #eef7fb !important;
  color: #e60000 !important;
  border: 2px solid #e60000 !important;
}

.auto-quote-page .quote-icon-stagebar .stage-item.is-done + .stage-connector{
  background: #e60000 !important;
}

.auto-quote-page .quote-icon-stagebar .stage-progress{
  display: none !important;
}

@media (max-width: 768px){
  .auto-quote-page .quote-icon-stagebar{
    padding: 52px 12px 22px !important;
  }

  .auto-quote-page .quote-icon-stagebar .stagebar-inner{
    max-width: 100% !important;
    grid-template-columns: 64px 1fr 64px 1fr 64px 1fr 64px !important;
    gap: 6px !important;
  }

  .auto-quote-page .quote-icon-stagebar .stage-icon{
    width: 44px !important;
    height: 44px !important;
    font-size: 18px !important;
  }

  .auto-quote-page .quote-icon-stagebar .stage-icon-quote::before{
    width: 20px !important;
    height: 20px !important;
  }

  .auto-quote-page .quote-icon-stagebar .stage-item{
    font-size: 12px !important;
  }

  .auto-quote-page .quote-icon-stagebar .stage-connector{
    height: 2px !important;
    transform: translateY(-11px) !important;
  }
}

@media (max-width: 480px){
  .auto-quote-page .quote-icon-stagebar{
    padding: 38px 8px 18px !important;
  }

  .auto-quote-page .quote-icon-stagebar .stagebar-inner{
    grid-template-columns: 54px 1fr 54px 1fr 54px 1fr 54px !important;
    gap: 4px !important;
  }

  .auto-quote-page .quote-icon-stagebar .stage-icon{
    width: 38px !important;
    height: 38px !important;
    font-size: 16px !important;
  }

  .auto-quote-page .quote-icon-stagebar .stage-label{
    font-size: 11px !important;
  }
}


/* Coverage date fix: remove extra upper separator line, keep button separator only */
body.auto-quote-page .quote-step.is-active[data-step="4"]{
  border-bottom: 0 !important;
}

body.auto-quote-page .quote-step.is-active[data-step="4"]::after, body.auto-quote-page .coverage-shell::after, body.auto-quote-page .coverage-date::after{
  display: none !important;
  content: none !important;
  border: 0 !important;
}


/* Insurance and Claims History step */
.auto-quote-page .claims-history-shell{
  max-width: 620px;
}

.auto-quote-page .claims-history-step h2{
  margin-bottom: 52px;
}

.auto-quote-page .claims-question-block{
  margin: 0 0 46px;
}

.auto-quote-page .claims-question-block .question-row{
  align-items: flex-start;
  margin-bottom: 18px;
}

.auto-quote-page .claims-question-block .question-row label{
  color: #17241f;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.auto-quote-page .claims-question-block .segmented{
  margin-bottom: 0;
}

.auto-quote-page .claim-card{
  margin-top: 38px;
}

@media (max-width: 720px){
  .auto-quote-page .claims-history-step h2{
    margin-bottom: 38px;
  }
}


/* Insurance and Claims History continued step */
.auto-quote-page .claims-contd-shell{
  max-width: 560px;
}

.auto-quote-page .claims-contd-step h2{
  margin-bottom: 52px;
}

.auto-quote-page .claims-contd-field{
  margin-bottom: 46px;
}

.auto-quote-page .claims-contd-field label{
  display: block;
  color: #17241f;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 14px;
}

.auto-quote-page .claims-contd-field select{
  width: 100%;
  height: 52px;
  border: 1px solid #cfd9d5;
  background-color: #fff;
  color: #1b2b25;
  font: inherit;
  padding: 0 18px;
  outline: none;
}

.auto-quote-page .claims-contd-field select:focus{
  border-color: #0abab5;
  box-shadow: inset 0 -2px 0 #0abab5;
}

@media (max-width: 720px){
  .auto-quote-page .claims-contd-step h2{
    margin-bottom: 38px;
  }
}


/* Accident Benefits Coverage step */
.auto-quote-page .accident-benefits-shell{
  max-width: 620px;
}

.auto-quote-page .accident-benefits-step h2{
  margin-bottom: 46px;
}

.auto-quote-page .accident-benefits-intro{
  color: #17241f;
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 36px;
}

.auto-quote-page .accident-benefits-intro p{
  margin: 0 0 18px;
}

.auto-quote-page .accident-benefits-intro a{
  color: #0abab5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auto-quote-page .accident-question-block{
  margin: 0 0 34px;
}

.auto-quote-page .accident-question-block .question-row{
  align-items: flex-start;
  margin-bottom: 18px;
}

.auto-quote-page .accident-question-block .question-row label{
  color: #17241f;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.auto-quote-page .accident-question-block .segmented{
  margin-bottom: 0;
}

@media (max-width: 720px){
  .auto-quote-page .accident-benefits-step h2{
    margin-bottom: 34px;
  }

  .auto-quote-page .accident-benefits-intro{
    margin-bottom: 30px;
  }
}


/* Almost Done contact/consent step */
.auto-quote-page .almost-done-shell{
  max-width: 560px;
}

.auto-quote-page .almost-done-step h2{
  margin-bottom: 52px;
}

.auto-quote-page .almost-done-field{
  margin-bottom: 42px;
}

.auto-quote-page .almost-done-field .question-row{
  align-items: flex-start;
  margin-bottom: 16px;
}

.auto-quote-page .almost-done-field .question-row label{
  color: #17241f;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
}

.auto-quote-page .almost-done-field input{
  width: 100%;
  height: 52px;
  border: 1px solid #cfd9d5;
  background: #fff;
  color: #1b2b25;
  font: inherit;
  padding: 0 18px;
  outline: none;
}

.auto-quote-page .almost-done-field input:focus{
  border-color: #0abab5;
  box-shadow: inset 0 -2px 0 #0abab5;
}

.auto-quote-page .almost-done-copy{
  color: #17241f;
  font-size: 15px;
  line-height: 1.48;
  margin: 10px 0 18px;
}

.auto-quote-page .almost-done-copy p{
  margin: 0 0 24px;
}

.auto-quote-page .almost-done-copy a{
  color: #0abab5;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auto-quote-page .consent-note-box{
  background: #eefdfc;
  padding: 22px 28px 26px;
  margin-top: 18px;
  color: #17241f;
  font-size: 15px;
  line-height: 1.5;
}

.auto-quote-page .agree-check{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 500;
}

.auto-quote-page .agree-check input{
  width: 28px;
  height: 28px;
  accent-color: #0abab5;
}

.auto-quote-page .note-divider{
  height: 1px;
  background: #cfd9d5;
  margin: 22px 0;
}

.auto-quote-page .consent-note-box p{
  margin: 0;
}

@media (max-width: 720px){
  .auto-quote-page .almost-done-step h2{
    margin-bottom: 38px;
  }

  .auto-quote-page .consent-note-box{
    padding: 20px 18px 24px;
  }
}


/* Review summary page */
.auto-quote-page .review-summary-shell{
  max-width: 760px;
}

.auto-quote-page .review-summary-step h2{
  margin-bottom: 34px;
}

.auto-quote-page .summary-top-actions{
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0 0 28px;
  flex-wrap: wrap;
}

.auto-quote-page .summary-add-btn{
  min-width: 190px;
  height: 50px;
  border: 1px solid #0abab5;
  background: #fff;
  color: #089895;
  border-radius: 0;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}

.auto-quote-page .summary-add-btn:hover{
  background: #e9fbfa;
}

.auto-quote-page .summary-card{
  background: #fff;
  border: 1px solid #e4e9e7;
  box-shadow: 0 14px 34px rgba(15, 39, 45, .08);
  padding: 28px;
  margin-bottom: 24px;
}

.auto-quote-page .summary-card-head h3{
  margin: 0 0 8px;
  color: #17241f;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}

.auto-quote-page .summary-card-head p{
  margin: 0 0 18px;
  color: #5a6662;
  font-size: 15px;
  line-height: 1.45;
}

.auto-quote-page .summary-list{
  border-top: 1px solid #e4e9e7;
}

.auto-quote-page .summary-row{
  display: grid;
  grid-template-columns: 42px 1fr auto auto;
  gap: 14px;
  align-items: center;
  min-height: 74px;
  border-bottom: 1px solid #e4e9e7;
  padding: 14px 0;
}

.auto-quote-page .summary-row-icon{
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.auto-quote-page .summary-row-main{
  display: grid;
  gap: 4px;
}

.auto-quote-page .summary-row-main strong{
  color: #17241f;
  font-size: 17px;
  font-weight: 700;
}

.auto-quote-page .summary-row-main span{
  color: #697572;
  font-size: 14px;
}

.auto-quote-page .summary-link{
  border: 0;
  background: transparent;
  color: #089895;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 8px;
}

.auto-quote-page .summary-remove{
  width: 30px;
  height: 30px;
  border: 1px solid #0abab5;
  background: #fff;
  color: #0abab5;
  font-size: 22px;
  line-height: 24px;
  cursor: pointer;
}

.auto-quote-page .summary-note{
  display: grid;
  gap: 6px;
  background: #eefdfc;
  border-left: 4px solid #0abab5;
  padding: 18px 20px;
  color: #17241f;
  font-size: 15px;
  line-height: 1.45;
}

.auto-quote-page .summary-note strong{
  font-size: 16px;
}

@media (max-width: 720px){
  .auto-quote-page .review-summary-step h2{
    margin-bottom: 26px;
  }

  .auto-quote-page .summary-card{
    padding: 22px 16px;
  }

  .auto-quote-page .summary-top-actions{
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .auto-quote-page .summary-add-btn{
    width: 100%;
  }

  .auto-quote-page .summary-row{
    grid-template-columns: 38px 1fr;
    gap: 12px;
  }

  .auto-quote-page .summary-link, .auto-quote-page .summary-remove{
    justify-self: start;
    grid-column: 2;
  }
}


/* Summary add-driver/add-vehicle flow */
.auto-quote-page .summary-flow-save{
  display: none;
  width: min(760px, 92vw);
  margin: 22px auto 0;
  padding: 18px 22px;
  background: #eefdfc;
  border: 1px solid #bdecea;
}

.auto-quote-page .summary-flow-save.is-visible{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.auto-quote-page .summary-flow-save span{
  color: #17241f;
  font-size: 15px;
  line-height: 1.4;
}

.auto-quote-page .summary-flow-save button{
  min-width: 170px;
  height: 48px;
  border: 1px solid #0abab5;
  background: #0abab5;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.auto-quote-page .summary-empty{
  padding: 18px 0;
  color: #697572;
  font-size: 15px;
  border-bottom: 1px solid #e4e9e7;
}

@media (max-width: 720px){
  .auto-quote-page .summary-flow-save{
    width: calc(100vw - 32px);
    padding: 16px;
  }

  .auto-quote-page .summary-flow-save.is-visible{
    display: grid;
  }

  .auto-quote-page .summary-flow-save button{
    width: 100%;
  }
}


/* Summary coverage and referral fields */
.auto-quote-page .summary-extra-card{
  margin-top: 24px;
}

.auto-quote-page .summary-checkbox-list{
  display: grid;
  gap: 14px;
  border-top: 1px solid #e4e9e7;
  padding-top: 20px;
}

.auto-quote-page .summary-checkbox-list label{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #17241f;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}

.auto-quote-page .summary-checkbox-list input[type="checkbox"]{
  width: 24px;
  height: 24px;
  min-width: 24px;
  accent-color: #0abab5;
}

.auto-quote-page .summary-source-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border-top: 1px solid #e4e9e7;
  padding-top: 20px;
}

.auto-quote-page .summary-source-grid label{
  min-height: 50px;
  border: 1px solid #d9e4e1;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  color: #17241f;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.auto-quote-page .summary-source-grid label:hover{
  border-color: #0abab5;
  background: #e9fbfa;
}

.auto-quote-page .summary-source-grid input[type="radio"]{
  width: 20px;
  height: 20px;
  min-width: 20px;
  accent-color: #0abab5;
}

@media (max-width: 768px){

  .auto-quote-page .summary-source-grid{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .auto-quote-page .summary-source-grid label{
    width: 100% !important;
    min-height: 72px !important;
    padding: 16px 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    font-size: 16px !important;
    line-height: 1.4 !important;
    text-align: left !important;
    word-break: break-word !important;
  }

  .auto-quote-page .summary-source-grid input[type="radio"]{
    width: 24px !important;
    height: 24px !important;
    flex-shrink: 0 !important;
  }

  .auto-quote-page .summary-checkbox-list label{
    font-size: 15px !important;
  }
}


/* Thank you final page */
.auto-quote-page .thank-you-shell{
  max-width: 720px;
}

.auto-quote-page .thank-you-card{
  background: #fff;
  border: 1px solid #e4e9e7;
  box-shadow: 0 14px 34px rgba(15, 39, 45, .08);
  text-align: center;
  padding: 54px 42px;
}

.auto-quote-page .thank-you-icon{
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #0abab5;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 24px;
}

.auto-quote-page .thank-you-step h2{
  margin: 0 0 14px;
  color: #0a5f5d;
  font-size: 42px;
  font-weight: 500;
  line-height: 1.2;
}

.auto-quote-page .thank-you-main{
  margin: 0 0 10px;
  color: #17241f;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}

.auto-quote-page .thank-you-sub{
  margin: 0 auto 28px;
  color: #5a6662;
  font-size: 16px;
  line-height: 1.5;
  max-width: 520px;
}

.auto-quote-page .thank-you-next{
  background: #eefdfc;
  border-left: 4px solid #0abab5;
  text-align: left;
  padding: 18px 20px;
  display: grid;
  gap: 8px;
  color: #17241f;
  font-size: 15px;
  line-height: 1.45;
}

body.auto-quote-page .quote-step.thank-you-step.is-active ~ .form-action-separator, body.auto-quote-page .quote-step.thank-you-step.is-active ~ .form-actions{
  display: none !important;
}

@media (max-width: 720px){
  .auto-quote-page .thank-you-card{
    padding: 40px 20px;
  }

  .auto-quote-page .thank-you-step h2{
    font-size: 34px;
  }

  .auto-quote-page .thank-you-main{
    font-size: 19px;
  }
}


/* Equal Back/Next button widths on responsive screens */
.auto-quote-page .form-actions{
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: min(760px, 92vw) !important;
}

.auto-quote-page .form-actions.is-single{
  grid-template-columns: 1fr !important;
}

.auto-quote-page .form-actions .btn{
  width: 100% !important;
  min-width: 0 !important;
}

@media (max-width: 768px){
  .auto-quote-page .form-actions{
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
    width: calc(100vw - 32px) !important;
  }

  .auto-quote-page .form-actions.is-single{
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 420px){
  .auto-quote-page .form-actions{
    gap: 10px !important;
    width: calc(100vw - 20px) !important;
  }
}

/* Summary add flow Cancel button */
.auto-quote-page .summary-flow-buttons{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.auto-quote-page .summary-flow-cancel{
  background: #fff !important;
  color: #089895 !important;
}

@media (max-width: 720px){
  .auto-quote-page .summary-flow-buttons{
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .auto-quote-page .summary-flow-buttons button{
    width: 100%;
    min-width: 0 !important;
  }
}


/* Auto summary save: no manual Save/Cancel bar needed */
.auto-quote-page .summary-flow-save{
  display: none !important;
}


/* Cancel option while adding another driver/vehicle from Summary */
.auto-quote-page .summary-add-cancel-bar{
  display: none;
  width: min(760px, 92vw);
  margin: 22px auto 0;
  padding: 18px 22px;
  background: #eefdfc;
  border: 1px solid #bdecea;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.auto-quote-page .summary-add-cancel-bar.is-visible{
  display: flex;
}

.auto-quote-page .summary-add-cancel-bar span{
  color: #17241f;
  font-size: 15px;
  line-height: 1.4;
}

.auto-quote-page .summary-add-cancel-bar button{
  min-width: 150px;
  height: 46px;
  border: 1px solid #0abab5;
  background: #fff;
  color: #089895;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.auto-quote-page .summary-add-cancel-bar button:hover{
  background: #e9fbfa;
}

@media (max-width: 720px){
  .auto-quote-page .summary-add-cancel-bar{
    width: calc(100vw - 32px);
    padding: 16px;
  }

  .auto-quote-page .summary-add-cancel-bar.is-visible{
    display: grid;
  }

  .auto-quote-page .summary-add-cancel-bar button{
    width: 100%;
  }
}


/* Requested fixes: smaller top icons, mobile Back like Next */
.auto-quote-page .quote-icon-stagebar .stage-icon{
  width: 46px !important;
  height: 46px !important;
  font-size: 20px !important;
}

.auto-quote-page .quote-icon-stagebar .stage-icon-quote::before{
  width: 20px !important;
  height: 20px !important;
}

.auto-quote-page .quote-icon-stagebar .stagebar-inner{
  grid-template-columns: 70px 1fr 70px 1fr 70px 1fr 70px !important;
}

@media (max-width: 768px){
  .auto-quote-page .quote-icon-stagebar .stage-icon{
    width: 36px !important;
    height: 36px !important;
    font-size: 15px !important;
  }

  .auto-quote-page .quote-icon-stagebar .stage-icon-quote::before{
    width: 17px !important;
    height: 17px !important;
  }

  .auto-quote-page .quote-icon-stagebar .stagebar-inner{
    grid-template-columns: 52px 1fr 52px 1fr 52px 1fr 52px !important;
  }

  .auto-quote-page .form-actions{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: calc(100vw - 32px) !important;
  }

  .auto-quote-page .form-actions .btn, .auto-quote-page .form-actions .btn-back, .auto-quote-page .form-actions .btn-next{
    width: 100% !important;
    min-width: 0 !important;
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #0abab5 !important;
    border-color: #0abab5 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
  }

  .auto-quote-page .form-actions .btn:disabled, .auto-quote-page .form-actions .btn-next:disabled{
    background: #9de1df !important;
    border-color: #9de1df !important;
    color: #ffffff !important;
    opacity: 1 !important;
  }
}

@media (max-width: 420px){
  .auto-quote-page .form-actions{
    width: calc(100vw - 20px) !important;
  }
}


/* Manual-only vehicle first page and coverage options on vehicle details page */
.auto-quote-page .manual-vehicle-fields .field-group, .auto-quote-page .first-page-contact-field{
  margin-bottom: 28px;
}

.auto-quote-page .vehicle-coverage-options{
  margin-top: 34px;
  border-top: 1px solid #d7dfdc;
  padding-top: 28px;
}

.auto-quote-page .vehicle-coverage-options .summary-card-head h3{
  margin: 0 0 8px;
  color: #0a5f5d;
  font-size: 24px;
  font-weight: 500;
}

.auto-quote-page .vehicle-coverage-options .summary-card-head p{
  margin: 0 0 18px;
  color: #17241f;
  font-size: 15px;
  line-height: 1.45;
}


/* Direct driver details page */
.auto-quote-page .driver-details-shell .driver-info-card{
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}
.auto-quote-page .driver-details-shell .compact-segment{
  max-width: 520px;
}
.auto-quote-page .driver-details-shell .field-group{
  margin-bottom: 28px;
}


/* Driver quote-for conditional fields + email fix */
.auto-quote-page .driver-someone-fields{
  display: none;
}

.auto-quote-page .driver-someone-fields.is-visible{
  display: block;
}

.auto-quote-page .driver-details-shell .quote-for-segment{
  max-width: 680px;
}

.auto-quote-page .driver-details-shell .email-field input, .auto-quote-page .driver-details-shell input[type="email"]{
  width: 100%;
  height: 58px;
  border: 1px solid #ccd7d4;
  border-radius: 0;
  padding: 0 16px;
  font: inherit;
  background: #fff;
  box-sizing: border-box;
}

.auto-quote-page .driver-details-shell .email-field input:focus, .auto-quote-page .driver-details-shell input[type="email"]:focus{
  outline: none;
  border-color: #0abab5;
  box-shadow: 0 0 0 3px rgba(10, 186, 181, 0.12);
}


/* Quote-for first, single name field */
.auto-quote-page .driver-main-details, .auto-quote-page .driver-someone-fields{
  display: none;
}

.auto-quote-page .driver-main-details.is-visible, .auto-quote-page .driver-someone-fields.is-visible{
  display: block;
}

.auto-quote-page .driver-details-shell .quote-for-field{
  margin-bottom: 30px;
}

.auto-quote-page .driver-details-shell .quote-for-segment{
  max-width: 700px;
}

.auto-quote-page .driver-details-shell .email-field input, .auto-quote-page .driver-details-shell input[type="email"]{
  width: 100%;
  height: 58px;
  border: 1px solid #ccd7d4;
  border-radius: 0;
  padding: 0 16px;
  font: inherit;
  background: #fff;
  box-sizing: border-box;
}

.auto-quote-page .driver-details-shell .email-field input:focus, .auto-quote-page .driver-details-shell input[type="email"]:focus{
  outline: none;
  border-color: #0abab5;
  box-shadow: 0 0 0 3px rgba(10, 186, 181, 0.12);
}


/* Date of birth calendar icon */
.auto-quote-page .date-input-wrap{
  position: relative;
  width: 100%;
}

.auto-quote-page .date-input-wrap input{
  width: 100%;
  padding-right: 52px !important;
}

.auto-quote-page .date-field-icon{
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #8b9694;
  font-size: 18px;
  pointer-events: none;
}


/* Driver licence extra details */
.auto-quote-page .license-extra-section{
  display: none;
  margin-top: 30px;
}

.auto-quote-page .license-extra-section.is-visible{
  display: block;
}

.auto-quote-page .field-help-text{
  margin: 8px 0 0;
  color: #17241f;
  font-size: 15px;
  line-height: 1.55;
}

.auto-quote-page .license-upload-field input[type="file"]{
  width: 100%;
  max-width: 520px;
  border: 1px solid #ccd7d4;
  padding: 10px 14px;
  background: #fff;
  font: inherit;
}

.auto-quote-page .upload-label{
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.auto-quote-page .upload-icon{
  font-size: 34px;
  line-height: 1;
}

.auto-quote-page .date-input-wrap{
  position: relative;
  width: 100%;
}

.auto-quote-page .date-input-wrap input{
  width: 100%;
  padding-right: 52px !important;
}

.auto-quote-page .date-field-icon{
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #8b9694;
  font-size: 18px;
  pointer-events: none;
}


/* Native date picker support */
.auto-quote-page .date-input-wrap input[type="date"]{
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  padding-right: 52px !important;
}

.auto-quote-page .date-input-wrap input[type="date"]::-webkit-calendar-picker-indicator{
  opacity: 0;
  cursor: pointer;
}

.auto-quote-page .date-field-icon{
  pointer-events: auto !important;
  cursor: pointer !important;
}


/* Fix date fields to match normal form inputs */
body.auto-quote-page .date-input-wrap{
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.auto-quote-page .date-input-wrap input, body.auto-quote-page .date-input-wrap input[type="date"], body.auto-quote-page #driverDateOfBirth, body.auto-quote-page #driverLicenseExpiry{
  width: 100% !important;
  height: 58px !important;
  min-height: 58px !important;
  display: block !important;
  box-sizing: border-box !important;
  border: 1px solid #ccd7d4 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #17241f !important;
  font: inherit !important;
  font-size: 18px !important;
  line-height: 58px !important;
  padding: 0 52px 0 16px !important;
  outline: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

body.auto-quote-page .date-input-wrap input:focus, body.auto-quote-page .date-input-wrap input[type="date"]:focus, body.auto-quote-page #driverDateOfBirth:focus, body.auto-quote-page #driverLicenseExpiry:focus{
  border-color: #0abab5 !important;
  box-shadow: 0 0 0 3px rgba(10, 186, 181, 0.12) !important;
}

body.auto-quote-page .date-input-wrap input[type="date"]::-webkit-calendar-picker-indicator{
  opacity: 0 !important;
  width: 44px !important;
  height: 44px !important;
  cursor: pointer !important;
  position: absolute !important;
  right: 4px !important;
}

body.auto-quote-page .date-input-wrap .date-field-icon{
  position: absolute !important;
  right: 18px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #8b9694 !important;
  font-size: 18px !important;
  line-height: 1 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 2 !important;
}

/* Database-powered vehicle dropdown status */
.auto-quote-page .vehicle-data-status{
  min-height: 1.25em;
  margin-top: 8px;
}
.auto-quote-page .vehicle-data-status.is-error{
  color: #b42318;
}
.auto-quote-page .manual-vehicle-fields select:disabled{
  cursor: not-allowed;
  opacity: 0.7;
}

/* =========================================================
   BUSINESS FORM VISUAL THEME OVERRIDE
   Design-only update: no fields, values, names or JS changed.
   ========================================================= */
body.auto-quote-page{
  --accent: #33c0b4;
  --accent-dark: #27a99f;
  --text: #2f2f2e;
  --muted: #666666;
  --line: #cccccc;
  --soft-line: #e4ebe7;
  --field: #ffffff;
  background: #f4f7f6;
  color: #2f2f2e;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
}

body.auto-quote-page .sticky-header{
  height: 70px;
  background: #e60000;
  border: 0;
  box-shadow: 0 1px 10px rgba(0,0,0,.04);
}

body.auto-quote-page .header-container{
  max-width: 1200px;
  padding: 0 24px;
}

body.auto-quote-page .logo-img{ max-height: 32px; }
body.auto-quote-page .header-title{
  font-size: 15px;
  font-weight: 600;
  color: #fff;
}
body.auto-quote-page .header-contact-actions{ gap: 18px; }
body.auto-quote-page .header-contact-link, body.auto-quote-page .header-contact-link .phone-number, body.auto-quote-page .header-contact-link i{ color: #fff !important; }
body.auto-quote-page .header-contact-link{ font-size: 14px; }

body.auto-quote-page .quote-stagebar{
  top: 70px;
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  box-shadow: none;
}
body.auto-quote-page .stagebar-inner{
  max-width: 720px;
  min-height: 58px;
  padding: 8px 24px;
}
body.auto-quote-page .stage-item{
  gap: 7px;
  color: #858585;
  font-size: 13px;
  font-weight: 600;
}
body.auto-quote-page .stage-icon{
  width: 28px;
  height: 28px;
  border: 1px solid #d7dfdc;
  border-radius: 50%;
  background: #fff;
  color: #8b9692;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
body.auto-quote-page .stage-item.is-active, body.auto-quote-page .stage-item.is-done{ color: #2f2f2e; }
body.auto-quote-page .stage-item.is-active .stage-icon{
  border-color: #33c0b4;
  color: #33c0b4;
  box-shadow: 0 0 0 3px rgba(51,192,180,.11);
}
body.auto-quote-page .stage-item.is-done .stage-icon{
  border-color: #33c0b4;
  background: #33c0b4;
  color: #fff;
}
body.auto-quote-page .stage-connector{ background: #e2e8e5; }
body.auto-quote-page .stage-progress{ height: 2px; background: #eaeaea; }
body.auto-quote-page .stage-progress span{ background: #33c0b4; }

body.auto-quote-page .quote-main{
  min-height: 620px;
  background: #f4f7f6;
}
body.auto-quote-page .quote-step{
  min-height: 0;
  padding: 58px 24px 86px;
}
body.auto-quote-page .step-shell, body.auto-quote-page .start-shell, body.auto-quote-page .use-shell, body.auto-quote-page .coverage-shell, body.auto-quote-page .savings-shell, body.auto-quote-page .driver-details-shell{
  max-width: 720px;
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,63,45,.05);
  padding: 48px 40px;
}
body.auto-quote-page .step-shell h1, body.auto-quote-page .step-shell h2{
  margin: 0 0 12px;
  color: #2f2f2e;
  text-align: left;
  font-size: 27px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -.25px;
}
body.auto-quote-page .intro-copy, body.auto-quote-page .subtitle, body.auto-quote-page .didyouknow{
  max-width: none;
  margin: 0 0 32px;
  color: #666;
  text-align: left;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}
body.auto-quote-page .province-link{ margin: -20px 0 30px; }

body.auto-quote-page .field-group{ margin-bottom: 24px; }
body.auto-quote-page .field-group label, body.auto-quote-page .standalone-label, body.auto-quote-page .question-row label, body.auto-quote-page .date-title{
  color: #2f2f2e;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
body.auto-quote-page select, body.auto-quote-page input[type="text"], body.auto-quote-page input[type="tel"], body.auto-quote-page input[type="email"], body.auto-quote-page input[type="number"], body.auto-quote-page input[type="date"], body.auto-quote-page textarea{
  min-height: 54px;
  border: 1px solid #ccc !important;
  border-radius: 4px !important;
  background-color: #fff !important;
  color: #2f2f2e;
  font-size: 15px !important;
  line-height: normal !important;
  padding: 0 16px !important;
  box-shadow: none !important;
}
body.auto-quote-page textarea{ padding-top: 14px !important; }
body.auto-quote-page select:focus, body.auto-quote-page input:focus, body.auto-quote-page textarea:focus{
  outline: none;
  border-color: #33c0b4 !important;
  box-shadow: 0 0 0 3px rgba(51,192,180,.12) !important;
}
body.auto-quote-page select:disabled, body.auto-quote-page input:disabled{ background-color: #f2f4f3 !important; }
body.auto-quote-page .field-help-text{ color: #767676; font-size: 13px; }

body.auto-quote-page .segmented{
  gap: 10px;
  margin-bottom: 28px;
}
body.auto-quote-page .segmented label span{
  min-height: 52px;
  border: 1px solid #ccd5d1;
  border-radius: 4px;
  background: #fff;
  color: #3e4743;
  font-size: 14px;
  font-weight: 600;
  box-shadow: none;
}
body.auto-quote-page .segmented label:hover span{
  border-color: #33c0b4;
  background: rgba(51,192,180,.04);
}
body.auto-quote-page .segmented input:checked + span{
  border-color: #33c0b4;
  background: rgba(51,192,180,.10);
  color: #237e77;
  box-shadow: inset 0 0 0 1px #33c0b4;
}

body.auto-quote-page .summary-card, body.auto-quote-page .vehicle-coverage-options, body.auto-quote-page .info-card, body.auto-quote-page .review-card, body.auto-quote-page .savings-card{
  border: 1px solid #e4ebe7;
  border-radius: 6px;
  background: #fbfdfc;
  box-shadow: none;
}
body.auto-quote-page .summary-checkbox-list label, body.auto-quote-page .checkbox-row, body.auto-quote-page .check-row{
  border-radius: 4px;
}
body.auto-quote-page input[type="checkbox"], body.auto-quote-page input[type="radio"]{ accent-color: #33c0b4; }

body.auto-quote-page .help-icon{
  border-color: #33c0b4;
  color: #33c0b4;
  background: #fff;
}
body.auto-quote-page .help-icon:hover{ background: rgba(51,192,180,.1); }

body.auto-quote-page .step-actions, body.auto-quote-page .form-actions, body.auto-quote-page .navigation-row, body.auto-quote-page .quote-navigation{
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
body.auto-quote-page .continue-btn, body.auto-quote-page .next-btn, body.auto-quote-page .primary-btn, body.auto-quote-page button[type="submit"]{
  min-height: 48px;
  border: 1px solid #33c0b4;
  border-radius: 4px;
  background: #33c0b4;
  color: #fff;
  font-weight: 700;
  box-shadow: none;
}
body.auto-quote-page .continue-btn:hover, body.auto-quote-page .next-btn:hover, body.auto-quote-page .primary-btn:hover, body.auto-quote-page button[type="submit"]:hover{
  background: #2aaca1;
  border-color: #2aaca1;
}
body.auto-quote-page .back-btn, body.auto-quote-page .secondary-btn{
  border-radius: 4px;
  color: #4f5a56;
}

body.auto-quote-page .quote-footer{
  background: #fff;
  border-top: 1px solid #e4ebe7;
}
body.auto-quote-page .error-message, body.auto-quote-page .field-error{ color: #b42318; }
body.auto-quote-page .is-invalid, body.auto-quote-page [aria-invalid="true"]{ border-color: #b42318 !important; }

@media (max-width: 767px){
  body.auto-quote-page .sticky-header{ height: 62px; }
  body.auto-quote-page .quote-stagebar{ top: 62px; }
  body.auto-quote-page .header-container{ padding: 0 14px; }
  body.auto-quote-page .header-title{ font-size: 13px; padding: 0 8px; }
  body.auto-quote-page .header-contact-actions .phone-number{ display: none; }
  body.auto-quote-page .header-contact-actions{ gap: 12px; }
  body.auto-quote-page .header-contact-link i{ display: inline-block !important; font-size: 17px; }
  body.auto-quote-page .stagebar-inner{ min-height: 54px; padding: 7px 10px; }
  body.auto-quote-page .stage-item{ gap: 4px; font-size: 11px; }
  body.auto-quote-page .stage-icon{ width: 25px; height: 25px; }
  body.auto-quote-page .quote-step{ padding: 30px 14px 58px; }
  body.auto-quote-page .step-shell, body.auto-quote-page .start-shell, body.auto-quote-page .use-shell, body.auto-quote-page .coverage-shell, body.auto-quote-page .savings-shell, body.auto-quote-page .driver-details-shell{
    padding: 30px 20px;
    border-radius: 7px;
  }
  body.auto-quote-page .step-shell h1, body.auto-quote-page .step-shell h2{ font-size: 23px; }
}

@media (max-width: 480px){
  body.auto-quote-page .stage-label{ display: none; }
  body.auto-quote-page .stagebar-inner{ grid-template-columns: repeat(4, 1fr); }
  body.auto-quote-page .step-shell, body.auto-quote-page .start-shell, body.auto-quote-page .use-shell, body.auto-quote-page .coverage-shell, body.auto-quote-page .savings-shell, body.auto-quote-page .driver-details-shell{ padding: 26px 16px; }
}

/* =========================================================
   FINAL CARD SPACING + SINGLE BORDER FIX
   Design-only: form fields, names, values and JS stay unchanged.
   ========================================================= */
body.auto-quote-page .step-shell{
  width: 100%;
  max-width: 760px;
  box-sizing: border-box;
  padding: 54px 48px !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: 0 8px 28px rgba(25, 58, 49, .08) !important;
}

/* Specialized shells are the same card element, so do not draw a second frame. */
body.auto-quote-page .step-shell.start-shell, body.auto-quote-page .step-shell.use-shell, body.auto-quote-page .step-shell.coverage-shell, body.auto-quote-page .step-shell.savings-shell, body.auto-quote-page .step-shell.savings-video-shell, body.auto-quote-page .step-shell.driver-details-shell, body.auto-quote-page .step-shell.address-shell, body.auto-quote-page .step-shell.license-shell, body.auto-quote-page .step-shell.license-history-shell, body.auto-quote-page .step-shell.driving-history-shell, body.auto-quote-page .step-shell.claims-history-shell, body.auto-quote-page .step-shell.claims-contd-shell, body.auto-quote-page .step-shell.accident-benefits-shell, body.auto-quote-page .step-shell.almost-done-shell, body.auto-quote-page .step-shell.review-summary-shell, body.auto-quote-page .step-shell.thank-you-shell{
  border: 0 !important;
  outline: 0 !important;
}

/* Ensure every standard control has only one visible border. */
body.auto-quote-page .field-group input:not([type="checkbox"]):not([type="radio"]), body.auto-quote-page .field-group select, body.auto-quote-page .field-group textarea, body.auto-quote-page .date-input-wrap input, body.auto-quote-page #driverDateOfBirth, body.auto-quote-page #driverLicenseExpiry{
  box-sizing: border-box !important;
  border: 1px solid #ccd7d4 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

body.auto-quote-page .field-group input:not([type="checkbox"]):not([type="radio"]):focus, body.auto-quote-page .field-group select:focus, body.auto-quote-page .field-group textarea:focus, body.auto-quote-page .date-input-wrap input:focus, body.auto-quote-page #driverDateOfBirth:focus, body.auto-quote-page #driverLicenseExpiry:focus{
  border-color: #33c0b4 !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(51, 192, 180, .12) !important;
}

/* Remove extra decorative frames around controls while retaining real option cards. */
body.auto-quote-page .input-wrap, body.auto-quote-page .select-wrap, body.auto-quote-page .date-input-wrap, body.auto-quote-page .field-control, body.auto-quote-page .form-control-wrap{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

@media (max-width: 767px){
  body.auto-quote-page .step-shell{
    padding: 36px 24px !important;
  }
}

@media (max-width: 480px){
  body.auto-quote-page .quote-step{
    padding-left: 12px;
    padding-right: 12px;
  }

  body.auto-quote-page .step-shell{
    padding: 30px 18px !important;
  }
}

/* =========================================================
   FINAL SCREENSHOT FIX — 2026-07-15
   Design only. No field, name, option, value or JS change.
   Keep this block at the very end of this file.
   ========================================================= */

/* Page background and safe natural document height */
body.auto-quote-page, body.auto-quote-page .quote-main, body.auto-quote-page .quote-form{
  height: auto !important;
  min-height: 100% !important;
  overflow: visible !important;
}

body.auto-quote-page .quote-main{
  background: #f4f8f6 !important;
  padding: 42px 16px 20px !important;
}

/* Active step must grow with every existing field */
body.auto-quote-page .quote-step, body.auto-quote-page .quote-step.is-active{
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
}

/* One main white card only */
body.auto-quote-page .step-shell, body.auto-quote-page .step-shell.start-shell, body.auto-quote-page .step-shell.use-shell, body.auto-quote-page .step-shell.coverage-shell, body.auto-quote-page .step-shell.savings-shell, body.auto-quote-page .step-shell.savings-video-shell, body.auto-quote-page .step-shell.driver-details-shell, body.auto-quote-page .step-shell.address-shell, body.auto-quote-page .step-shell.license-shell, body.auto-quote-page .step-shell.license-history-shell, body.auto-quote-page .step-shell.driving-history-shell, body.auto-quote-page .step-shell.claims-history-shell, body.auto-quote-page .step-shell.claims-contd-shell, body.auto-quote-page .step-shell.accident-benefits-shell, body.auto-quote-page .step-shell.almost-done-shell, body.auto-quote-page .step-shell.review-summary-shell, body.auto-quote-page .step-shell.thank-you-shell{
  width: min(100%, 720px) !important;
  max-width: 720px !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 46px 44px 50px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  background: #fff !important;
  border: 1px solid #e2ebe7 !important;
  border-radius: 12px !important;
  outline: 0 !important;
  box-shadow: 0 10px 30px rgba(25, 58, 49, .07) !important;
}

/* Remove the accidental second card around Coverage Options */
body.auto-quote-page .vehicle-coverage-options{
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 36px 0 0 !important;
  padding: 30px 0 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid #e1e8e5 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body.auto-quote-page .vehicle-coverage-options .summary-card-head, body.auto-quote-page .vehicle-coverage-options .summary-checkbox-list{
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.auto-quote-page .vehicle-coverage-options .summary-card-head h3{
  margin: 0 0 7px !important;
  color: #086b67 !important;
  font-size: 25px !important;
  line-height: 1.25 !important;
}

body.auto-quote-page .vehicle-coverage-options .summary-card-head p{
  margin: 0 0 22px !important;
}

body.auto-quote-page .vehicle-coverage-options .summary-checkbox-list{
  display: grid !important;
  gap: 12px !important;
}

body.auto-quote-page .vehicle-coverage-options .summary-checkbox-list label{
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body.auto-quote-page .vehicle-coverage-options input[type="checkbox"]{
  flex: 0 0 auto !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  margin: 1px 0 0 !important;
}

body.auto-quote-page .vehicle-coverage-options .summary-checkbox-list span{
  display: block !important;
  min-width: 0 !important;
  line-height: 1.45 !important;
}

/* Keep segmented choices as one clean border, not nested borders */
body.auto-quote-page .segmented{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.auto-quote-page .segmented label{
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

body.auto-quote-page .segmented label span{
  box-sizing: border-box !important;
  border: 1px solid #cfdad6 !important;
  box-shadow: none !important;
}

body.auto-quote-page .segmented input:checked + span{
  border-color: #33c0b4 !important;
  box-shadow: inset 0 0 0 1px #33c0b4 !important;
}

/* Form controls use exactly one border */
body.auto-quote-page input:not([type="checkbox"]):not([type="radio"]), body.auto-quote-page select, body.auto-quote-page textarea{
  box-sizing: border-box !important;
  border: 1px solid #cfd8d5 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Navigation: proper gap below the card and no full-width separator */
body.auto-quote-page .form-action-separator, body.auto-quote-page .form-actions::before, body.auto-quote-page .form-actions::after{
  display: none !important;
  content: none !important;
}

body.auto-quote-page .form-actions, body.auto-quote-page .form-actions:not(.is-single), body.auto-quote-page .form-actions.is-single{
  width: min(100%, 720px) !important;
  max-width: 720px !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px !important;
  margin: 24px auto 0 !important;
  padding: 0 0 46px !important;
  border: 0 !important;
  background: transparent !important;
}

body.auto-quote-page .form-actions.is-single{
  grid-template-columns: 1fr !important;
}

body.auto-quote-page .form-actions .btn{
  width: 100% !important;
  min-height: 52px !important;
  border-radius: 4px !important;
}

@media (max-width: 767px){
  body.auto-quote-page .quote-main{
    padding: 24px 12px 12px !important;
  }

  body.auto-quote-page .step-shell, body.auto-quote-page .step-shell.start-shell, body.auto-quote-page .step-shell.use-shell, body.auto-quote-page .step-shell.coverage-shell, body.auto-quote-page .step-shell.savings-shell, body.auto-quote-page .step-shell.savings-video-shell, body.auto-quote-page .step-shell.driver-details-shell, body.auto-quote-page .step-shell.address-shell, body.auto-quote-page .step-shell.license-shell, body.auto-quote-page .step-shell.license-history-shell, body.auto-quote-page .step-shell.driving-history-shell, body.auto-quote-page .step-shell.claims-history-shell, body.auto-quote-page .step-shell.claims-contd-shell, body.auto-quote-page .step-shell.accident-benefits-shell, body.auto-quote-page .step-shell.almost-done-shell, body.auto-quote-page .step-shell.review-summary-shell, body.auto-quote-page .step-shell.thank-you-shell{
    padding: 32px 22px 38px !important;
    border-radius: 9px !important;
  }

  body.auto-quote-page .form-actions, body.auto-quote-page .form-actions:not(.is-single){
    width: 100% !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    margin-top: 18px !important;
    padding-bottom: 30px !important;
  }
}

@media (max-width: 480px){
  body.auto-quote-page .step-shell, body.auto-quote-page .step-shell.start-shell, body.auto-quote-page .step-shell.use-shell, body.auto-quote-page .step-shell.coverage-shell, body.auto-quote-page .step-shell.savings-shell, body.auto-quote-page .step-shell.savings-video-shell, body.auto-quote-page .step-shell.driver-details-shell, body.auto-quote-page .step-shell.address-shell, body.auto-quote-page .step-shell.license-shell, body.auto-quote-page .step-shell.license-history-shell, body.auto-quote-page .step-shell.driving-history-shell, body.auto-quote-page .step-shell.claims-history-shell, body.auto-quote-page .step-shell.claims-contd-shell, body.auto-quote-page .step-shell.accident-benefits-shell, body.auto-quote-page .step-shell.almost-done-shell, body.auto-quote-page .step-shell.review-summary-shell, body.auto-quote-page .step-shell.thank-you-shell{
    padding: 28px 16px 34px !important;
  }

  body.auto-quote-page .step-shell h1, body.auto-quote-page .step-shell h2{
    font-size: 25px !important;
  }
}

/* =========================================================
   FINAL WIDTH + BOTTOM SPACING ADJUSTMENT
   ========================================================= */
@media (min-width: 768px){
  body.auto-quote-page .step-shell, body.auto-quote-page .step-shell.start-shell, body.auto-quote-page .step-shell.use-shell, body.auto-quote-page .step-shell.coverage-shell, body.auto-quote-page .step-shell.savings-shell, body.auto-quote-page .step-shell.savings-video-shell, body.auto-quote-page .step-shell.driver-details-shell, body.auto-quote-page .step-shell.address-shell, body.auto-quote-page .step-shell.license-shell, body.auto-quote-page .step-shell.license-history-shell, body.auto-quote-page .step-shell.driving-history-shell, body.auto-quote-page .step-shell.claims-history-shell, body.auto-quote-page .step-shell.claims-contd-shell, body.auto-quote-page .step-shell.accident-benefits-shell, body.auto-quote-page .step-shell.almost-done-shell, body.auto-quote-page .step-shell.review-summary-shell, body.auto-quote-page .step-shell.thank-you-shell{
    width: min(100%, 640px) !important;
    max-width: 640px !important;
    padding: 42px 38px 72px !important;
  }

  body.auto-quote-page .form-actions, body.auto-quote-page .form-actions:not(.is-single), body.auto-quote-page .form-actions.is-single{
    width: min(100%, 640px) !important;
    max-width: 640px !important;
  }
}

@media (max-width: 767px){
  body.auto-quote-page .step-shell, body.auto-quote-page .step-shell.start-shell, body.auto-quote-page .step-shell.use-shell, body.auto-quote-page .step-shell.coverage-shell, body.auto-quote-page .step-shell.savings-shell, body.auto-quote-page .step-shell.savings-video-shell, body.auto-quote-page .step-shell.driver-details-shell, body.auto-quote-page .step-shell.address-shell, body.auto-quote-page .step-shell.license-shell, body.auto-quote-page .step-shell.license-history-shell, body.auto-quote-page .step-shell.driving-history-shell, body.auto-quote-page .step-shell.claims-history-shell, body.auto-quote-page .step-shell.claims-contd-shell, body.auto-quote-page .step-shell.accident-benefits-shell, body.auto-quote-page .step-shell.almost-done-shell, body.auto-quote-page .step-shell.review-summary-shell, body.auto-quote-page .step-shell.thank-you-shell{
    padding-bottom: 52px !important;
  }
}

/* =========================================================
   FINAL USER-REQUESTED CARD SIZE + SPACING FIX
   - Narrower desktop card
   - Small bottom padding inside card
   - Clear gap between card and Back/Next buttons
   ========================================================= */

/* Keep the page centred without stretching the form */
body.auto-quote-page .quote-main{
  padding-left: 18px !important;
  padding-right: 18px !important;
}

/* The step itself should not create extra empty space */
body.auto-quote-page .quote-step, body.auto-quote-page .quote-step.is-active{
  min-height: 0 !important;
  height: auto !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Main white card: narrower and balanced */
@media (min-width: 768px){
  body.auto-quote-page .step-shell, body.auto-quote-page .step-shell.start-shell, body.auto-quote-page .step-shell.use-shell, body.auto-quote-page .step-shell.coverage-shell, body.auto-quote-page .step-shell.savings-shell, body.auto-quote-page .step-shell.savings-video-shell, body.auto-quote-page .step-shell.driver-shell, body.auto-quote-page .step-shell.driver-details-shell, body.auto-quote-page .step-shell.address-shell, body.auto-quote-page .step-shell.license-shell, body.auto-quote-page .step-shell.license-history-shell, body.auto-quote-page .step-shell.driving-history-shell, body.auto-quote-page .step-shell.claims-history-shell, body.auto-quote-page .step-shell.claims-contd-shell, body.auto-quote-page .step-shell.accident-benefits-shell, body.auto-quote-page .step-shell.almost-done-shell, body.auto-quote-page .step-shell.review-summary-shell, body.auto-quote-page .step-shell.thank-you-shell{
    width: min(100%, 560px) !important;
    max-width: 560px !important;
    margin: 0 auto !important;
    padding: 38px 34px 42px !important;
  }

  /* Buttons align with the narrower card */
  body.auto-quote-page .form-actions, body.auto-quote-page .form-actions:not(.is-single), body.auto-quote-page .form-actions.is-single{
    width: min(100%, 560px) !important;
    max-width: 560px !important;
    margin: 26px auto 0 !important;
    padding-top: 0 !important;
    padding-bottom: 44px !important;
  }

  /* Do not let separator margins remove the card/button gap */
  body.auto-quote-page .form-action-separator{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* Coverage options stay part of the same card, without another frame */
body.auto-quote-page .vehicle-coverage-options{
  margin-top: 30px !important;
  padding-top: 26px !important;
  padding-bottom: 0 !important;
  border: 0 !important;
  border-top: 1px solid #e3e9e6 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Prevent nested components from making double card borders */
body.auto-quote-page .step-shell .summary-card, body.auto-quote-page .step-shell .driver-info-card, body.auto-quote-page .step-shell .vehicle-coverage-options{
  box-shadow: none !important;
}

/* Mobile: retain comfortable side and bottom spacing */
@media (max-width: 767px){
  body.auto-quote-page .quote-main{
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.auto-quote-page .step-shell, body.auto-quote-page .step-shell.start-shell, body.auto-quote-page .step-shell.use-shell, body.auto-quote-page .step-shell.coverage-shell, body.auto-quote-page .step-shell.savings-shell, body.auto-quote-page .step-shell.savings-video-shell, body.auto-quote-page .step-shell.driver-shell, body.auto-quote-page .step-shell.driver-details-shell, body.auto-quote-page .step-shell.address-shell, body.auto-quote-page .step-shell.license-shell, body.auto-quote-page .step-shell.license-history-shell, body.auto-quote-page .step-shell.driving-history-shell, body.auto-quote-page .step-shell.claims-history-shell, body.auto-quote-page .step-shell.claims-contd-shell, body.auto-quote-page .step-shell.accident-benefits-shell, body.auto-quote-page .step-shell.almost-done-shell, body.auto-quote-page .step-shell.review-summary-shell, body.auto-quote-page .step-shell.thank-you-shell{
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 30px 20px 36px !important;
  }

  body.auto-quote-page .form-actions, body.auto-quote-page .form-actions:not(.is-single), body.auto-quote-page .form-actions.is-single{
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px auto 0 !important;
    padding-top: 0 !important;
    padding-bottom: 30px !important;
  }

  body.auto-quote-page .form-action-separator{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
}

/* =========================================================
   FINAL VISIBLE GAP ABOVE BACK / NEXT BUTTONS
   The separator element sits between the card and buttons,
   so it is used as a transparent spacer.
   ========================================================= */

body.auto-quote-page .form-action-separator{
  display: block !important;
  position: static !important;
  left: auto !important;
  width: 100% !important;
  max-width: 560px !important;
  height: 30px !important;
  min-height: 30px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  transform: none !important;
  clear: both !important;
}

body.auto-quote-page .form-actions, body.auto-quote-page .form-actions:not(.is-single), body.auto-quote-page .form-actions.is-single{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* First step also receives the same visible gap */
body.auto-quote-page .form-actions.is-single{
  margin-top: 0 !important;
}

@media (max-width: 767px){
  body.auto-quote-page .form-action-separator{
    width: 100% !important;
    max-width: 100% !important;
    height: 22px !important;
    min-height: 22px !important;
  }
}

/* =========================================================
   FINAL COVERAGE CARD BOTTOM-CUT FIX
   Adds real document-flow space after the final date fields.
   ========================================================= */

/* Coverage Start Date card must grow below the last row */
body.auto-quote-page .quote-step.is-active[data-step="4"] .coverage-shell, body.auto-quote-page .quote-step[data-step="4"] .coverage-shell{
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding-bottom: 42px !important;
}

/* Add actual flow spacing after Year / Month / Day */
body.auto-quote-page .quote-step.is-active[data-step="4"] .coverage-date, body.auto-quote-page .quote-step[data-step="4"] .coverage-date{
  display: block !important;
  height: auto !important;
  min-height: 0 !important;
  margin-bottom: 0 !important;
  padding-bottom: 34px !important;
  overflow: visible !important;
}

body.auto-quote-page .quote-step.is-active[data-step="4"] .coverage-date .date-row, body.auto-quote-page .quote-step[data-step="4"] .coverage-date .date-row{
  margin-bottom: 0 !important;
}

/* Reliable spacer even when old margin rules override spacing */
body.auto-quote-page .quote-step.is-active[data-step="4"] .coverage-date::after, body.auto-quote-page .quote-step[data-step="4"] .coverage-date::after{
  content: "" !important;
  display: block !important;
  width: 100% !important;
  height: 1px !important;
  margin-top: 32px !important;
  visibility: hidden !important;
  clear: both !important;
}

/* Keep buttons separate from the card */
body.auto-quote-page .quote-step.is-active[data-step="4"] ~ .form-action-separator{
  height: 28px !important;
  min-height: 28px !important;
  margin: 0 auto !important;
  background: transparent !important;
  border: 0 !important;
}

@media (max-width: 767px){
  body.auto-quote-page .quote-step.is-active[data-step="4"] .coverage-shell, body.auto-quote-page .quote-step[data-step="4"] .coverage-shell{
    padding-bottom: 34px !important;
  }

  body.auto-quote-page .quote-step.is-active[data-step="4"] .coverage-date, body.auto-quote-page .quote-step[data-step="4"] .coverage-date{
    padding-bottom: 26px !important;
  }

  body.auto-quote-page .quote-step.is-active[data-step="4"] .coverage-date::after, body.auto-quote-page .quote-step[data-step="4"] .coverage-date::after{
    margin-top: 24px !important;
  }
}

/* =========================================================
   ABSOLUTE FINAL FIX — NEVER CUT ACTIVE CARD FROM BOTTOM
   Generic fix: does not depend on data-step number.
   ========================================================= */

/* Active section and all of its parents must grow naturally */
html body.auto-quote-page .quote-main, html body.auto-quote-page .quote-form, html body.auto-quote-page .form-frame, html body.auto-quote-page .quote-step.is-active{
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow: visible !important;
}

/* Every active white card gets guaranteed bottom space */
html body.auto-quote-page .quote-step.is-active > .step-shell, html body.auto-quote-page .quote-step.is-active .step-shell{
  height: auto !important;
  max-height: none !important;
  min-height: 0 !important;
  overflow: visible !important;
  padding-bottom: 52px !important;
}

/* Ensure the final field/row remains inside the card */
html body.auto-quote-page .quote-step.is-active .step-shell > :last-child{
  margin-bottom: 0 !important;
}

/* Real in-flow spacer at the end of every active card */
html body.auto-quote-page .quote-step.is-active .step-shell::after{
  content: "" !important;
  display: block !important;
  width: 100% !important;
  height: 34px !important;
  min-height: 34px !important;
  clear: both !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Date rows/selects must not escape the card */
html body.auto-quote-page .quote-step.is-active .date-row, html body.auto-quote-page .quote-step.is-active .coverage-date, html body.auto-quote-page .quote-step.is-active .field-group{
  position: relative !important;
  float: none !important;
}

html body.auto-quote-page .quote-step.is-active select, html body.auto-quote-page .quote-step.is-active input, html body.auto-quote-page .quote-step.is-active textarea{
  max-width: 100% !important;
}

/* Keep navigation clearly below the card */
html body.auto-quote-page .quote-step.is-active ~ .form-action-separator{
  display: block !important;
  position: static !important;
  width: 100% !important;
  height: 28px !important;
  min-height: 28px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  transform: none !important;
}

html body.auto-quote-page .quote-step.is-active ~ .form-actions{
  position: relative !important;
  clear: both !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

@media (max-width: 767px){
  html body.auto-quote-page .quote-step.is-active > .step-shell, html body.auto-quote-page .quote-step.is-active .step-shell{
    padding-bottom: 40px !important;
  }

  html body.auto-quote-page .quote-step.is-active .step-shell::after{
    height: 24px !important;
    min-height: 24px !important;
  }

  html body.auto-quote-page .quote-step.is-active ~ .form-action-separator{
    height: 22px !important;
    min-height: 22px !important;
  }
}

/* ===== Smaller Top Progress Bar ===== */

.auto-quote-page .quote-icon-stagebar{
    padding:18px 16px 10px !important;
}

.auto-quote-page .quote-icon-stagebar .stagebar-inner{
    min-height:50px !important;
    gap:8px !important;
}

.auto-quote-page .quote-icon-stagebar .stage-icon{
    width:34px !important;
    height:34px !important;
    font-size:15px !important;
}

.auto-quote-page .quote-icon-stagebar .stage-icon-quote::before{
    width:16px !important;
    height:16px !important;
}

.auto-quote-page .quote-icon-stagebar .stage-label{
    font-size:11px !important;
    line-height:1.1 !important;
}

@media (max-width:768px){

    .auto-quote-page .quote-icon-stagebar{
        padding:10px 8px 6px !important;
    }

    .auto-quote-page .quote-icon-stagebar .stagebar-inner{
        min-height:40px !important;
    }

    .auto-quote-page .quote-icon-stagebar .stage-icon{
        width:28px !important;
        height:28px !important;
        font-size:13px !important;
    }

    .auto-quote-page .quote-icon-stagebar .stage-icon-quote::before{
        width:13px !important;
        height:13px !important;
    }

    .auto-quote-page .quote-icon-stagebar .stage-label{
        font-size:10px !important;
    }
}
/* =========================================================
   FINAL EXACT CARD + NAVIGATION ALIGNMENT
   ========================================================= */
html body.auto-quote-page{
  --form-card-width: 560px;
}

html body.auto-quote-page .quote-step.is-active{
  width: 100% !important;
  padding-left: 18px !important;
  padding-right: 18px !important;
}

html body.auto-quote-page .quote-step.is-active > .step-shell{
  width: min(100%, var(--form-card-width)) !important;
  max-width: var(--form-card-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

html body.auto-quote-page .form-action-separator{
  width: min(calc(100% - 36px), var(--form-card-width)) !important;
  max-width: var(--form-card-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

html body.auto-quote-page .form-actions, html body.auto-quote-page .form-actions:not(.is-single), html body.auto-quote-page .form-actions.is-single{
  display: grid !important;
  width: min(calc(100% - 36px), var(--form-card-width)) !important;
  max-width: var(--form-card-width) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
  align-items: stretch !important;
}

html body.auto-quote-page .form-actions:not(.is-single){
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 16px !important;
}

html body.auto-quote-page .form-actions.is-single{
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
}

html body.auto-quote-page .form-actions .btn, html body.auto-quote-page .form-actions.is-single .btn-next{
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}

@media (max-width: 767px){
  html body.auto-quote-page{
    --form-card-width: 100%;
  }

  html body.auto-quote-page .quote-step.is-active{
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  html body.auto-quote-page .form-action-separator, html body.auto-quote-page .form-actions, html body.auto-quote-page .form-actions:not(.is-single), html body.auto-quote-page .form-actions.is-single{
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
  }

  html body.auto-quote-page .form-actions:not(.is-single){
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: 10px !important;
  }
}

/* =========================================================
   BUSINESS FORM VISUAL THEME
   Presentation-only overrides. Form controls and behavior
   remain unchanged.
   ========================================================= */
body.auto-quote-page{
  --accent: #33c0b4;
  --accent-dark: #239f96;
  --text: #2f2f2e;
  --muted: #666;
  --line: #d7dfdc;
  --soft-line: #e8eeeb;
  background: #f4f7f6;
  color: var(--text);
}

body.auto-quote-page .sticky-header{
  height: 70px;
  background: #e60000;
  border: 0;
  box-shadow: 0 1px 10px rgba(0,0,0,.05);
}

body.auto-quote-page .header-container{
  max-width: 1200px;
  padding: 0 24px;
}

body.auto-quote-page .logo-img{ max-height: 32px; }
body.auto-quote-page .header-title{ color: #fff; font-size: 15px; font-weight: 600; }
body.auto-quote-page .header-contact-actions a{ color: #fff; }

body.auto-quote-page .quote-stagebar{
  top: 70px;
  background: #fff;
  border-bottom: 1px solid #eaeaea;
  box-shadow: none;
}

body.auto-quote-page .stagebar-inner{
  max-width: 720px;
  min-height: 66px;
  padding: 0 24px;
}

body.auto-quote-page .stage-item{
  font-size: 13px;
  gap: 7px;
  color: #7a817e;
}
body.auto-quote-page .stage-number{
  width: 25px;
  height: 25px;
  border-width: 1px;
  font-size: 12px;
}
body.auto-quote-page .stage-progress{ height: 2px; }

body.auto-quote-page .quote-main{
  min-height: 650px;
  background: #f4f7f6;
  padding: 54px 24px 92px;
}

body.auto-quote-page .quote-step{
  min-height: 0;
  padding: 0;
}

body.auto-quote-page .step-shell{
  max-width: 720px;
  margin: 0 auto;
  padding: 44px 40px 50px;
  background: #fff;
  border: 1px solid #e4ebe7;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,63,45,.05);
}
body.auto-quote-page .start-shell, body.auto-quote-page .use-shell, body.auto-quote-page .coverage-shell, body.auto-quote-page .savings-shell, body.auto-quote-page .review-summary-shell, body.auto-quote-page .almost-done-shell, body.auto-quote-page .thank-you-shell{ max-width: 720px; }

body.auto-quote-page .step-shell h1, body.auto-quote-page .step-shell h2{
  margin: 0 0 30px;
  color: #2f2f2e;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -.35px;
}
body.auto-quote-page .step-shell h1{ font-size: 32px; }
body.auto-quote-page .subtitle, body.auto-quote-page .intro-copy{ color: #666; }

body.auto-quote-page .field-group{ margin-bottom: 24px; }
body.auto-quote-page .field-group label, body.auto-quote-page .standalone-label, body.auto-quote-page .question-row label{
  color: #333;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
}

body.auto-quote-page select, body.auto-quote-page input[type="text"], body.auto-quote-page input[type="tel"], body.auto-quote-page input[type="number"], body.auto-quote-page input[type="email"], body.auto-quote-page input[type="date"], body.auto-quote-page textarea{
  width: 100%;
  min-height: 50px;
  border: 1px solid #cfd8d4;
  border-radius: 4px;
  background-color: #fff;
  color: #2f2f2e;
  padding: 0 15px;
  box-shadow: none;
}
body.auto-quote-page textarea{ padding-top: 13px; }
body.auto-quote-page select:focus, body.auto-quote-page input:focus, body.auto-quote-page textarea:focus{
  border-color: #33c0b4;
  box-shadow: 0 0 0 3px rgba(51,192,180,.12);
  outline: 0;
}

body.auto-quote-page .segmented{
  border: 1px solid #33c0b4;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 28px;
}
body.auto-quote-page .segmented label{ border-color: rgba(51,192,180,.55); }
body.auto-quote-page .segmented input:checked + span{ background: #33c0b4; }

body.auto-quote-page .radio-card, body.auto-quote-page .history-card, body.auto-quote-page .summary-card, body.auto-quote-page .consent-note-box, body.auto-quote-page .thank-you-card, body.auto-quote-page .vehicle-coverage-options{
  border-color: #e0e8e4;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,63,45,.035);
}
body.auto-quote-page .radio-card:has(input:checked), body.auto-quote-page .summary-source-grid label:has(input:checked){
  border-color: #33c0b4;
  background: rgba(51,192,180,.08);
}

body.auto-quote-page .help-icon{
  border-color: #33c0b4;
  color: #239f96;
}
body.auto-quote-page .help-icon:hover{ background: rgba(51,192,180,.1); }

body.auto-quote-page .form-action-separator{ display: none; }
body.auto-quote-page .form-actions{
  width: 100%;
  max-width: 720px;
  margin: 22px auto 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  background: transparent;
  border: 0;
}
body.auto-quote-page .btn{
  min-width: 135px;
  min-height: 48px;
  border-radius: 4px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 15px;
  transition: all .2s ease;
}
body.auto-quote-page .btn-next, body.auto-quote-page .history-add-btn, body.auto-quote-page .summary-add-btn{
  background: #33c0b4;
  border-color: #33c0b4;
  color: #fff;
}
body.auto-quote-page .btn-next:hover:not(:disabled), body.auto-quote-page .history-add-btn:hover, body.auto-quote-page .summary-add-btn:hover{ background: #239f96; border-color: #239f96; }
body.auto-quote-page .btn-back{
  background: #fff;
  border: 1px solid #33c0b4;
  color: #239f96;
}
body.auto-quote-page .btn-back:hover{ background: rgba(51,192,180,.08); }
body.auto-quote-page .btn:disabled{ opacity: .5; cursor: not-allowed; }

body.auto-quote-page .form-footer{ background: #fff; border-top: 1px solid #e4ebe7; }
body.auto-quote-page .footer-container{ max-width: 1100px; }

@media (max-width: 760px){
  body.auto-quote-page .sticky-header{ height: 58px; }
  body.auto-quote-page .quote-stagebar{ top: 58px; }
  body.auto-quote-page .header-container{ padding: 0 14px; }
  body.auto-quote-page .header-title{ font-size: 13px; padding: 0 8px; }
  body.auto-quote-page .logo-img{ max-height: 27px; }
  body.auto-quote-page .stagebar-inner{ min-height: 58px; padding: 0 10px; }
  body.auto-quote-page .stage-item{ font-size: 0; gap: 0; }
  body.auto-quote-page .stage-number{ font-size: 11px; }
  body.auto-quote-page .quote-main{ padding: 28px 12px 62px; }
  body.auto-quote-page .step-shell{ padding: 30px 20px 36px; border-radius: 7px; }
  body.auto-quote-page .step-shell h1, body.auto-quote-page .step-shell h2{ font-size: 25px; margin-bottom: 24px; }
  body.auto-quote-page .form-actions{ margin-top: 16px; }
  body.auto-quote-page .btn{ min-width: 0; flex: 1; }
}

@media (max-width: 460px){
  body.auto-quote-page .step-shell{ padding: 25px 15px 30px; }
  body.auto-quote-page .quote-main{ padding-left: 8px; padding-right: 8px; }
  body.auto-quote-page .segmented.three{ grid-template-columns: 1fr; }
  body.auto-quote-page .segmented.three label{ border-right: 0; border-bottom: 1px solid rgba(51,192,180,.45); }
  body.auto-quote-page .segmented.three label:last-child{ border-bottom: 0; }
}

/* =========================================================
   FINAL REFERENCE CARD + BUTTON PLACEMENT
   Navigation is moved into the active .step-shell by JS.
   ========================================================= */
html body.auto-quote-page{
  --reference-card-width: 720px;
  --reference-content-width: 480px;
  --reference-button-width: 240px;
}

html body.auto-quote-page .quote-main{
  padding: 42px 24px 72px !important;
  background: #f4f8f6 !important;
}

html body.auto-quote-page .quote-step, html body.auto-quote-page .quote-step.is-active{
  min-height: 0 !important;
  padding: 0 !important;
}

html body.auto-quote-page .quote-step.is-active > .step-shell{
  width: 100% !important;
  max-width: var(--reference-card-width) !important;
  margin: 0 auto !important;
  padding: 48px 40px !important;
  background: #fff !important;
  border: 1px solid #e4ebe7 !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 16px rgba(0, 63, 45, 0.05) !important;
  overflow: visible !important;
}

html body.auto-quote-page .quote-step.is-active > .step-shell > :not(.form-actions):not(.form-action-separator){
  max-width: var(--reference-content-width);
  margin-left: auto;
  margin-right: auto;
}

html body.auto-quote-page .form-action-separator{
  display: block !important;
  width: 100% !important;
  max-width: var(--reference-content-width) !important;
  height: 1px !important;
  margin: 40px auto 24px !important;
  background: #eaeaea !important;
  border: 0 !important;
}

html body.auto-quote-page .form-actions, html body.auto-quote-page .form-actions:not(.is-single), html body.auto-quote-page .form-actions.is-single{
  width: 100% !important;
  max-width: var(--reference-content-width) !important;
  margin: 0 auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  background: transparent !important;
  border: 0 !important;
}

html body.auto-quote-page .form-actions .btn{
  width: 100% !important;
  max-width: var(--reference-button-width) !important;
  min-width: 0 !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 12px 32px !important;
  border-radius: 4px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

html body.auto-quote-page .form-actions.is-single .btn-next{
  flex: 0 1 var(--reference-button-width) !important;
  width: var(--reference-button-width) !important;
  max-width: var(--reference-button-width) !important;
}

html body.auto-quote-page .form-actions:not(.is-single) .btn{
  flex: 1 1 0 !important;
}

@media (max-width: 767px){
  html body.auto-quote-page .quote-main{
    padding: 24px 12px 52px !important;
  }

  html body.auto-quote-page .quote-step.is-active > .step-shell{
    max-width: 100% !important;
    padding: 32px 20px !important;
  }

  html body.auto-quote-page .form-action-separator{
    margin-top: 32px !important;
  }

  html body.auto-quote-page .form-actions, html body.auto-quote-page .form-actions:not(.is-single), html body.auto-quote-page .form-actions.is-single{
    gap: 12px !important;
  }

  html body.auto-quote-page .form-actions .btn{
    max-width: none !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  html body.auto-quote-page .form-actions.is-single .btn-next{
    width: 100% !important;
    max-width: 240px !important;
  }
}

/* =========================================================
   FINAL FIX: coverage alignment + thin action divider
   ========================================================= */
html body.auto-quote-page .quote-step.is-active > .step-shell > .vehicle-coverage-options{
  width: 100% !important;
  max-width: var(--reference-content-width, 480px) !important;
  margin: 36px auto 0 !important;
  padding: 30px 0 0 !important;
  box-sizing: border-box !important;
  border: 0 !important;
  border-top: 1px solid #edf1ef !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.auto-quote-page .vehicle-coverage-options .summary-card-head, html body.auto-quote-page .vehicle-coverage-options .summary-checkbox-list{
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

html body.auto-quote-page .vehicle-coverage-options .summary-card-head h3{
  margin: 0 0 6px !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  color: #1f2933 !important;
}

html body.auto-quote-page .vehicle-coverage-options .summary-card-head p{
  margin: 0 0 24px !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  color: #66736d !important;
}

html body.auto-quote-page .form-action-separator{
  display: block !important;
  width: 100% !important;
  max-width: var(--reference-content-width, 480px) !important;
  height: 1px !important;
  min-height: 1px !important;
  max-height: 1px !important;
  margin: 40px auto 24px !important;
  padding: 0 !important;
  border: 0 !important;
  background: #edf1ef !important;
  box-shadow: none !important;
  overflow: hidden !important;
  flex: 0 0 1px !important;
}

@media (max-width: 767px){
  html body.auto-quote-page .quote-step.is-active > .step-shell > .vehicle-coverage-options{
    max-width: 100% !important;
    margin-top: 30px !important;
    padding-top: 24px !important;
  }

  html body.auto-quote-page .form-action-separator{
    max-width: 100% !important;
    height: 1px !important;
    min-height: 1px !important;
    max-height: 1px !important;
    margin: 32px auto 20px !important;
  }
}

/* ===== Stable layout for tickets, suspensions and claims ===== */
body.auto-quote-page .driving-history-shell, body.auto-quote-page .claims-history-shell{
  width: 100%;
  max-width: 620px;
  box-sizing: border-box;
}

body.auto-quote-page .driving-history-step .history-card, body.auto-quote-page .claims-history-step .history-card{
  width: 100%;
  max-width: 100%;
  margin: 32px 0;
  transform: none;
  padding: 32px;
  box-sizing: border-box;
  overflow: visible;
}

body.auto-quote-page .driving-history-step .history-card .field-group, body.auto-quote-page .claims-history-step .history-card .field-group{
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

body.auto-quote-page .driving-history-step .history-card select, body.auto-quote-page .claims-history-step .history-card select, body.auto-quote-page .driving-history-step .history-card input, body.auto-quote-page .claims-history-step .history-card input{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

body.auto-quote-page .driving-history-step .history-date-row, body.auto-quote-page .claims-history-step .history-date-row{
  width: 100%;
  gap: 18px;
}

body.auto-quote-page .driving-history-step .history-add-btn, body.auto-quote-page .claims-history-step .history-add-btn{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 720px){
  body.auto-quote-page .driving-history-step .history-card, body.auto-quote-page .claims-history-step .history-card{
    margin: 24px 0;
    padding: 28px 20px 32px;
  }

  body.auto-quote-page .driving-history-step .history-date-row, body.auto-quote-page .claims-history-step .history-date-row{
    grid-template-columns: 1fr;
    gap: 14px;
  }
}


/* Google Places address suggestions must stay above the quote form. */
.auto-quote-page .pac-container{ z-index: 2147483647 !important; font-family: inherit; }
.auto-quote-page .pac-item{ cursor: pointer; padding: 8px 10px; }

/* Google Places address suggestions must stay above the quote form. */
.auto-quote-page .pac-container{
  z-index: 2147483647 !important;
  font-family: Arial, sans-serif !important;
}


/* Address select hone ke baad Google suggestions dropdown turant hide ho. */
body.auto-quote-page.car-test-pac-closed .pac-container{
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* Thank-you action */
.auto-quote-page .start-new-quote-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  margin: 26px auto 0;
  padding: 14px 28px;
  border: 0;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.auto-quote-page .start-new-quote-btn:hover{ background: var(--accent-dark); }

/* Licence class-specific fields */
.auto-quote-page .license-class-fields{
  margin-top: 20px;
}
.auto-quote-page .license-class-fields .license-age-field,
.auto-quote-page .license-class-fields .license-month-field{
  display: block;
}
.auto-quote-page .license-class-fields .license-month-field{
  margin-top: 18px;
}


/* ===== Final overrides: consent copy + stage icons matching site style ===== */
body.auto-quote-page .quote-main{
  padding-top: 40px;
}

body.auto-quote-page .quote-stagebar{
  top: 70px;
  background: transparent;
  border-bottom: 0;
  box-shadow: none;
  padding: 18px 0 6px;
}

body.auto-quote-page .quote-icon-stagebar .stage-progress{
  display: none;
}

body.auto-quote-page .quote-icon-stagebar .stagebar-inner{
  max-width: 760px;
  min-height: 110px;
  padding: 0 12px;
  display: grid;
  grid-template-columns: auto minmax(60px, 1fr) auto minmax(60px, 1fr) auto minmax(60px, 1fr) auto;
  align-items: start;
  gap: 0;
}

body.auto-quote-page .quote-icon-stagebar .stage-item{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #6f7780;
  font-size: 14px;
  font-weight: 500;
}

body.auto-quote-page .quote-icon-stagebar .stage-label{
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

body.auto-quote-page .quote-icon-stagebar .stage-item.is-done .stage-label{
  color: #2f2f2e;
}
body.auto-quote-page .quote-icon-stagebar .stage-item.is-active .stage-label{
  color: #e31922;
  font-weight: 600;
}

body.auto-quote-page .quote-icon-stagebar .stage-icon{
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: #dfe8f3;
  box-shadow: 0 1px 2px rgba(31, 41, 55, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

body.auto-quote-page .quote-icon-stagebar .stage-icon::before{
  content: '';
  width: 40px;
  height: 40px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

body.auto-quote-page .quote-icon-stagebar .stage-vehicle .stage-icon::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23ed1c24' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 39h36l-2.5-10.5a5 5 0 0 0-4.9-3.8H21.3a5 5 0 0 0-4.8 3.6L14 39Z' fill='%23ed1c24' fill-opacity='.12'/%3E%3Cpath d='M11 39h42a3 3 0 0 1 3 3v5H8v-5a3 3 0 0 1 3-3Z' fill='%23ed1c24' fill-opacity='.08'/%3E%3Ccircle cx='19' cy='47' r='4.6' fill='%23ed1c24'/%3E%3Ccircle cx='45' cy='47' r='4.6' fill='%23ed1c24'/%3E%3Cpath d='M22 24l4 8M42 24l-4 8M24 32h16'/%3E%3C/g%3E%3C/svg%3E");
}

body.auto-quote-page .quote-icon-stagebar .stage-driver .stage-icon::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23ed1c24' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='32' cy='32' r='18'/%3E%3Ccircle cx='32' cy='32' r='5' fill='%23ed1c24' fill-opacity='.14'/%3E%3Cpath d='M32 14v13M18.2 24.5l9.7 5.6M45.8 24.5l-9.7 5.6M22 43.5l8-9h4l8 9'/%3E%3C/g%3E%3C/svg%3E");
}

body.auto-quote-page .quote-icon-stagebar .stage-review .stage-icon::before{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%23ed1c24' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 14h20a4 4 0 0 1 4 4v30a4 4 0 0 1-4 4H22a4 4 0 0 1-4-4V18a4 4 0 0 1 4-4Z'/%3E%3Cpath d='M26 14h12v6H26z' fill='%23ed1c24' fill-opacity='.14'/%3E%3Cpath d='M25 30h14M25 37h14M25 44h9'/%3E%3Ccircle cx='42.5' cy='43.5' r='6.5' fill='%23ed1c24' fill-opacity='.12'/%3E%3Cpath d='m39.8 43.7 1.9 2 3.6-4.2'/%3E%3C/g%3E%3C/svg%3E");
}

body.auto-quote-page .quote-icon-stagebar .stage-quote .stage-icon{
  width: 28px;
  height: 28px;
  background: #d7d9dd;
  box-shadow: none;
}
body.auto-quote-page .quote-icon-stagebar .stage-quote .stage-icon::before,
body.auto-quote-page .quote-icon-stagebar .stage-icon-quote::before{
  display: none;
}
body.auto-quote-page .quote-icon-stagebar .stage-item.is-active .stage-quote .stage-icon,
body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-active .stage-icon{
  background: #ed1c24;
}

body.auto-quote-page .quote-icon-stagebar .stage-connector{
  align-self: center;
  margin-top: 27px;
  height: 4px;
  border-radius: 999px;
  background: #d9dde2;
}
body.auto-quote-page .quote-icon-stagebar .stage-item.is-done + .stage-connector{
  background: #ed1c24;
}

body.auto-quote-page .consent-note-box{
  background: #eef8f8;
  border: 1px solid #d7eeee;
  padding: 26px 28px 28px;
}
body.auto-quote-page .consent-note-box .consent-title{
  margin: 0 0 10px;
  color: #1e2a2f;
  font-size: 29px;
  line-height: 1.2;
  font-weight: 700;
}
body.auto-quote-page .consent-note-box .consent-intro{
  margin: 0 0 22px;
  color: #42515a;
  font-size: 16px;
  line-height: 1.55;
}
body.auto-quote-page .consent-note-box .agree-check{
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0;
}
body.auto-quote-page .consent-note-box .agree-check input{
  width: 30px;
  height: 30px;
}
body.auto-quote-page .consent-note-box .note-divider{
  margin: 22px 0 20px;
}
body.auto-quote-page .consent-note-box p{
  margin: 0 0 18px;
  color: #27343b;
  font-size: 15px;
  line-height: 1.75;
}
body.auto-quote-page .consent-note-box p:last-child{
  margin-bottom: 0;
}

@media (max-width: 760px){
  body.auto-quote-page .quote-stagebar{
    top: 58px;
    padding-top: 12px;
  }
  body.auto-quote-page .quote-icon-stagebar .stagebar-inner{
    min-height: 92px;
    padding: 0 6px;
    grid-template-columns: auto minmax(20px, 1fr) auto minmax(20px, 1fr) auto minmax(20px, 1fr) auto;
  }
  body.auto-quote-page .quote-icon-stagebar .stage-icon{
    width: 46px;
    height: 46px;
  }
  body.auto-quote-page .quote-icon-stagebar .stage-icon::before{
    width: 29px;
    height: 29px;
  }
  body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote .stage-icon{
    width: 20px;
    height: 20px;
  }
  body.auto-quote-page .quote-icon-stagebar .stage-connector{
    margin-top: 20px;
    height: 3px;
  }
  body.auto-quote-page .quote-icon-stagebar .stage-label{
    font-size: 12px;
  }
  body.auto-quote-page .consent-note-box{
    padding: 20px 18px 22px;
  }
  body.auto-quote-page .consent-note-box .consent-title{
    font-size: 24px;
  }
  body.auto-quote-page .consent-note-box .consent-intro,
  body.auto-quote-page .consent-note-box p{
    font-size: 14px;
  }
}


/* ===== Final overrides: review page closer to provided screenshot ===== */
body.auto-quote-page .review-summary-shell{
  max-width: 980px;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

body.auto-quote-page .review-summary-step h2{
  margin: 0 0 32px;
  text-align: center;
  color: #202124;
  font-size: 54px;
  line-height: 1.08;
  letter-spacing: -1.2px;
  font-weight: 700;
}

body.auto-quote-page .summary-top-actions,
body.auto-quote-page .summary-note{
  display: none;
}

body.auto-quote-page .summary-card{
  background: #fff;
  border: 1px solid #e6e8eb;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(31,41,55,.04);
  padding: 0;
  margin: 0 0 24px;
  overflow: hidden;
}

body.auto-quote-page .summary-card-head{
  padding: 28px 28px 16px;
}

body.auto-quote-page .summary-card-head h3{
  margin: 0 0 12px;
  color: #202124;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
}

body.auto-quote-page .summary-card-head p{
  margin: 0;
  color: #5f6368;
  font-size: 15px;
  line-height: 1.6;
}

body.auto-quote-page .summary-list{
  border-top: 1px solid #eceff1;
}

body.auto-quote-page .summary-row{
  display: grid;
  grid-template-columns: 38px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 76px;
  padding: 0 28px;
  border-bottom: 1px solid #eceff1;
}
body.auto-quote-page .summary-row:last-child{
  border-bottom: 0;
}

body.auto-quote-page .summary-row-icon{
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #111;
}

body.auto-quote-page .summary-row-main{
  display: block;
  min-width: 0;
  padding: 18px 0;
}

body.auto-quote-page .summary-row-main strong{
  display: block;
  margin: 0;
  color: #111;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 600;
}

body.auto-quote-page .summary-row-main span{
  display: block;
  margin-top: 4px;
  color: #74797f;
  font-size: 13px;
  line-height: 1.45;
}

body.auto-quote-page .summary-change{
  border: 0;
  background: transparent;
  color: #ed1c24;
  font: inherit;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  white-space: nowrap;
}
body.auto-quote-page .summary-change:hover{
  text-decoration: underline;
}

body.auto-quote-page .summary-empty{
  padding: 22px 28px 28px;
  color: #6b7280;
  font-size: 15px;
}

body.auto-quote-page .summary-extra-card{
  margin-top: 16px;
}

body.auto-quote-page .summary-source-grid{
  padding: 0 28px 28px;
}

@media (max-width: 900px){
  body.auto-quote-page .review-summary-step h2{
    font-size: 42px;
    letter-spacing: -.8px;
  }
}

@media (max-width: 760px){
  body.auto-quote-page .review-summary-shell{
    max-width: 100%;
  }
  body.auto-quote-page .review-summary-step h2{
    font-size: 32px;
    line-height: 1.15;
    margin-bottom: 22px;
  }
  body.auto-quote-page .summary-card{
    border-radius: 14px;
  }
  body.auto-quote-page .summary-card-head{
    padding: 22px 18px 14px;
  }
  body.auto-quote-page .summary-card-head h3{
    font-size: 22px;
    margin-bottom: 10px;
  }
  body.auto-quote-page .summary-card-head p{
    font-size: 14px;
  }
  body.auto-quote-page .summary-row{
    grid-template-columns: 28px 1fr auto;
    gap: 12px;
    min-height: 68px;
    padding: 0 18px;
  }
  body.auto-quote-page .summary-row-main strong{
    font-size: 17px;
  }
  body.auto-quote-page .summary-row-main span{
    font-size: 12px;
  }
  body.auto-quote-page .summary-source-grid{
    padding: 0 18px 20px;
  }
}


/* ===== Final overrides: bundle home/tenant promo ===== */
body.auto-quote-page .address-quote-question{
  margin-top: 30px;
}

body.auto-quote-page .bundle-promo-card{
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: center;
  margin: 0 0 22px;
  padding: 22px 24px;
  border: 1px solid #f4d6d8;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff8f8 0%, #fff 100%);
  box-shadow: 0 8px 24px rgba(237, 28, 36, 0.06);
}

body.auto-quote-page .bundle-promo-visual{
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

body.auto-quote-page .bundle-icon{
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.08);
}
body.auto-quote-page .bundle-icon-car{
  background: linear-gradient(135deg, #ed1c24, #ff5a61);
}
body.auto-quote-page .bundle-icon-home{
  background: linear-gradient(135deg, #20bfb4, #51d4cb);
}
body.auto-quote-page .bundle-plus{
  font-size: 28px;
  line-height: 1;
  font-weight: 800;
  color: #606770;
}

body.auto-quote-page .bundle-promo-badge{
  display: inline-block;
  margin: 0 0 10px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #ed1c24;
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
}

body.auto-quote-page .bundle-promo-copy h3{
  margin: 0 0 8px;
  color: #1f2328;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 700;
}

body.auto-quote-page .bundle-promo-copy p{
  margin: 0;
  color: #5f6368;
  font-size: 15px;
  line-height: 1.6;
}

body.auto-quote-page .address-quote-question .address-quote-title{
  margin: 0 0 6px;
  color: #1f2328;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
}

body.auto-quote-page .address-quote-question .address-quote-subtitle{
  margin: 0 0 18px;
  color: #5f6368;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
}

body.auto-quote-page .address-choice span{
  min-height: 58px;
  font-weight: 600;
}

body.auto-quote-page .address-consent-box{
  margin: 22px 0 20px;
  border-radius: 12px;
  border: 1px solid #d8efee;
}

@media (max-width: 760px){
  body.auto-quote-page .bundle-promo-card{
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 18px;
  }
  body.auto-quote-page .bundle-promo-visual{
    min-height: 80px;
  }
  body.auto-quote-page .bundle-promo-copy h3{
    font-size: 22px;
  }
  body.auto-quote-page .address-quote-question .address-quote-title{
    font-size: 19px;
  }
}


/* ===== Mobile fix: tickets, suspensions and claims ===== */
@media (max-width: 768px){
  html, body.auto-quote-page{
    max-width: 100%;
    overflow-x: hidden;
  }

  body.auto-quote-page .driving-history-step .driving-history-shell,
  body.auto-quote-page .claims-history-step .claims-history-shell{
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  body.auto-quote-page .driving-history-step h2,
  body.auto-quote-page .claims-history-step h2{
    margin-bottom: 30px !important;
    font-size: clamp(27px, 8vw, 34px) !important;
    line-height: 1.18 !important;
    overflow-wrap: anywhere;
  }

  body.auto-quote-page .driving-history-step .driving-question-block,
  body.auto-quote-page .claims-history-step .claims-question-block{
    width: 100% !important;
    min-width: 0 !important;
    margin-bottom: 32px !important;
  }

  body.auto-quote-page .driving-history-step .question-row,
  body.auto-quote-page .claims-history-step .question-row,
  body.auto-quote-page .driving-history-step .compact-help-row,
  body.auto-quote-page .claims-history-step .compact-help-row{
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 30px !important;
    align-items: start !important;
    gap: 10px !important;
  }

  body.auto-quote-page .driving-history-step .question-row label,
  body.auto-quote-page .claims-history-step .question-row label,
  body.auto-quote-page .driving-history-step .history-card label,
  body.auto-quote-page .claims-history-step .history-card label,
  body.auto-quote-page .driving-history-step .history-card-label,
  body.auto-quote-page .claims-history-step .history-card-label{
    min-width: 0 !important;
    max-width: 100% !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere;
  }

  body.auto-quote-page .driving-history-step .help-icon,
  body.auto-quote-page .claims-history-step .help-icon{
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    margin: 0 !important;
  }

  body.auto-quote-page .driving-history-step .segmented.two,
  body.auto-quote-page .claims-history-step .segmented.two{
    width: 100% !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    overflow: hidden !important;
  }

  body.auto-quote-page .driving-history-step .segmented.two label,
  body.auto-quote-page .claims-history-step .segmented.two label{
    min-width: 0 !important;
    border-bottom: 0 !important;
  }

  body.auto-quote-page .driving-history-step .segmented.two span,
  body.auto-quote-page .claims-history-step .segmented.two span{
    min-height: 50px !important;
    padding: 11px 8px !important;
  }

  body.auto-quote-page .driving-history-step .history-card,
  body.auto-quote-page .claims-history-step .history-card{
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 22px 0 !important;
    transform: none !important;
    padding: 50px 16px 24px !important;
    border: 1px solid #d8ecea !important;
    border-radius: 12px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  body.auto-quote-page .driving-history-step .history-card h3,
  body.auto-quote-page .claims-history-step .history-card h3{
    margin: 0 42px 24px 0 !important;
    text-align: left !important;
    font-size: 22px !important;
    line-height: 1.25 !important;
  }

  body.auto-quote-page .driving-history-step .history-card-close,
  body.auto-quote-page .claims-history-step .history-card-close{
    top: 12px !important;
    right: 12px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 6px !important;
    font-size: 25px !important;
    line-height: 28px !important;
    z-index: 2;
  }

  body.auto-quote-page .driving-history-step .history-card .field-group,
  body.auto-quote-page .claims-history-step .history-card .field-group{
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 0 20px !important;
  }

  body.auto-quote-page .driving-history-step .history-card select,
  body.auto-quote-page .claims-history-step .history-card select,
  body.auto-quote-page .driving-history-step .history-card input,
  body.auto-quote-page .claims-history-step .history-card input{
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    min-height: 50px !important;
    padding-left: 12px !important;
    padding-right: 38px !important;
    font-size: 16px !important;
    box-sizing: border-box !important;
  }

  body.auto-quote-page .driving-history-step .history-date-row,
  body.auto-quote-page .claims-history-step .history-date-row{
    width: 100% !important;
    min-width: 0 !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }

  body.auto-quote-page .driving-history-step .history-date-row .field-group,
  body.auto-quote-page .claims-history-step .history-date-row .field-group{
    margin-bottom: 14px !important;
  }

  body.auto-quote-page .driving-history-step .history-add-btn,
  body.auto-quote-page .claims-history-step .history-add-btn{
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 50px !important;
    margin: 0 0 34px !important;
    padding: 11px 14px !important;
    border-radius: 6px !important;
    font-size: 17px !important;
    box-sizing: border-box !important;
  }

  body.auto-quote-page .driving-history-step .suspension-question{
    margin-top: 38px !important;
  }
}

@media (max-width: 380px){
  body.auto-quote-page .driving-history-step .driving-history-shell,
  body.auto-quote-page .claims-history-step .claims-history-shell{
    padding-left: 12px !important;
    padding-right: 12px !important;
  }

  body.auto-quote-page .driving-history-step .history-card,
  body.auto-quote-page .claims-history-step .history-card{
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}


/* ===== Suspension reason/year fields ===== */
body.auto-quote-page .suspension-question + .history-card input[name="suspension_reason[]"]{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
@media (max-width: 720px){
  body.auto-quote-page .driving-history-step .history-card input[name="suspension_reason[]"]{
    padding-right: 12px !important;
  }
}


/* ===== v8: mobile consent checkbox alignment ===== */
body.auto-quote-page .consent-note-box .agree-check{
  display: inline-flex !important;
  width: auto !important;
  max-width: 100% !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.25 !important;
}
body.auto-quote-page .consent-note-box .agree-check input{
  flex: 0 0 30px !important;
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  margin: 0 !important;
}
body.auto-quote-page .consent-note-box .agree-check span{
  display: inline-block !important;
  width: auto !important;
  min-width: max-content !important;
  white-space: nowrap !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
}

@media (max-width: 760px){
  body.auto-quote-page .almost-done-shell{
    padding: 28px 18px 34px !important;
  }
  body.auto-quote-page .almost-done-step h2{
    margin-bottom: 24px !important;
    font-size: 29px !important;
    line-height: 1.18 !important;
  }
  body.auto-quote-page .consent-note-box{
    padding: 20px 17px 22px !important;
    border-radius: 10px !important;
  }
  body.auto-quote-page .consent-note-box .consent-title{
    margin-bottom: 10px !important;
    font-size: 23px !important;
    line-height: 1.18 !important;
    letter-spacing: -.2px !important;
  }
  body.auto-quote-page .consent-note-box .consent-intro{
    margin-bottom: 18px !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
  }
  body.auto-quote-page .consent-note-box .agree-check{
    gap: 10px !important;
  }
  body.auto-quote-page .consent-note-box .agree-check input{
    flex-basis: 27px !important;
    width: 27px !important;
    height: 27px !important;
    min-width: 27px !important;
  }
  body.auto-quote-page .consent-note-box .agree-check span{
    font-size: 17px !important;
  }
  body.auto-quote-page .consent-note-box .note-divider{
    margin: 18px 0 !important;
  }
  body.auto-quote-page .consent-note-box p{
    font-size: 14px !important;
    line-height: 1.65 !important;
  }
}


/* ===== Final overrides: phone validation ===== */
body.auto-quote-page input[type="tel"].has-error{
  border-color: #c60000 !important;
  box-shadow: 0 0 0 2px rgba(198, 0, 0, .08) !important;
}
body.auto-quote-page .phone-error{
  margin-top: 8px;
  font-size: 13px;
}


/* ===== Home/Tenant insurance history question ===== */
body.auto-quote-page .past-home-tenant-insurance-block{
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e1e7e5;
}
body.auto-quote-page .address-quote-question .past-insurance-title{
  font-size: 19px;
  margin-bottom: 6px;
}
body.auto-quote-page .past-home-tenant-insurance-block .segmented{
  margin-bottom: 0;
}
@media (max-width: 760px){
  body.auto-quote-page .past-home-tenant-insurance-block{
    margin-top: 20px;
    padding-top: 20px;
  }
  body.auto-quote-page .address-quote-question .past-insurance-title{
    font-size: 18px;
  }
}

/* ===== v11: simplified claims + optional notes ===== */
body.auto-quote-page .claim-count-block{
  margin-top: 8px;
  padding: 22px 24px;
  border: 1px solid #dce7e4;
  border-radius: 12px;
  background: #f8fbfa;
}
body.auto-quote-page .claim-count-block label{
  display: block;
  margin-bottom: 10px;
  color: #26352f;
  font-size: 16px;
  line-height: 1.45;
  font-weight: 700;
}
body.auto-quote-page .claim-count-block input[type="number"]{
  max-width: 260px;
}
body.auto-quote-page .claim-count-block .field-help-text{
  margin: 8px 0 0;
}

body.auto-quote-page .quote-notes-card .optional-label{
  color: #74797f;
  font-size: .65em;
  font-weight: 500;
}
body.auto-quote-page .quote-notes-field{
  padding: 0 28px 28px;
}
body.auto-quote-page .quote-notes-field textarea{
  display: block;
  width: 100%;
  min-height: 135px;
  resize: vertical;
  line-height: 1.55;
}
body.auto-quote-page .quote-notes-field .field-help-text{
  margin: 8px 0 0;
  color: #74797f;
  font-size: 12px;
}
body.auto-quote-page .sr-only{
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 760px){
  body.auto-quote-page .claim-count-block{
    padding: 18px 16px;
  }
  body.auto-quote-page .claim-count-block input[type="number"]{
    max-width: none;
    width: 100%;
  }
  body.auto-quote-page .quote-notes-field{
    padding: 0 18px 22px;
  }
  body.auto-quote-page .quote-notes-field textarea{
    min-height: 120px;
  }
}

/* ===== v12: exact Vehicle > Driver > Review > Quote icon flow ===== */
body.auto-quote-page .quote-icon-stagebar .stage-icon{
  width: 56px !important;
  height: 56px !important;
  box-sizing: border-box !important;
  border: 3px solid #d8dadd !important;
  border-radius: 50% !important;
  background: #fff !important;
  color: #c8cbd0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}
body.auto-quote-page .quote-icon-stagebar .stage-icon::before{
  display: none !important;
  content: none !important;
  background-image: none !important;
}
body.auto-quote-page .quote-icon-stagebar .stage-icon > i{
  display: block !important;
  color: currentColor !important;
  font-size: 27px !important;
  line-height: 1 !important;
}
body.auto-quote-page .quote-icon-stagebar .stage-item.is-active .stage-icon,
body.auto-quote-page .quote-icon-stagebar .stage-item.is-done .stage-icon{
  border-color: #e60000 !important;
  color: #e60000 !important;
  background: #fff !important;
}
body.auto-quote-page .quote-icon-stagebar .stage-review .stage-icon > .fa-clipboard{
  font-size: 25px !important;
}
body.auto-quote-page .quote-icon-stagebar .stage-review .stage-review-check{
  position: absolute !important;
  right: 8px !important;
  bottom: 8px !important;
  font-size: 11px !important;
  color: currentColor !important;
  background: #fff !important;
  border-radius: 50% !important;
}
body.auto-quote-page .quote-icon-stagebar .stage-quote .stage-icon,
body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-active .stage-icon,
body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-done .stage-icon{
  width: 56px !important;
  height: 56px !important;
  border-color: #e60000 !important;
  background: #fff !important;
}
body.auto-quote-page .quote-icon-stagebar .stage-quote-dot{
  display: block !important;
  width: 31px !important;
  height: 31px !important;
  border-radius: 50% !important;
  background: #d9dde2 !important;
}
body.auto-quote-page .quote-icon-stagebar .stage-connector{
  height: 4px !important;
  margin-top: 26px !important;
  border-radius: 999px !important;
  background: #d9dde2 !important;
}
body.auto-quote-page .quote-icon-stagebar .stage-item.is-done + .stage-connector{
  background: #e60000 !important;
}
body.auto-quote-page .quote-icon-stagebar .stage-item.is-active + .stage-connector{
  background: #d9dde2 !important;
}

@media (max-width: 760px){
  body.auto-quote-page .sticky-header{
    height: 72px !important;
  }
  body.auto-quote-page .header-container{
    height: 72px !important;
    padding: 0 20px !important;
  }
  body.auto-quote-page .header-title{
    display: none !important;
  }
  body.auto-quote-page .logo-img{
    max-height: 33px !important;
    width: auto !important;
  }
  body.auto-quote-page .header-contact-actions{
    margin-left: auto !important;
    gap: 19px !important;
  }
  body.auto-quote-page .header-contact-actions .phone-number{
    display: none !important;
  }
  body.auto-quote-page .header-contact-link i{
    display: inline-block !important;
    font-size: 25px !important;
    line-height: 1 !important;
  }
  body.auto-quote-page .quote-stagebar{
    top: 72px !important;
    padding: 18px 0 14px !important;
    background: #fff !important;
    border-bottom: 0 !important;
  }
  body.auto-quote-page .quote-icon-stagebar .stagebar-inner{
    min-height: 62px !important;
    max-width: none !important;
    width: 100% !important;
    padding: 0 20px !important;
    grid-template-columns: 52px minmax(24px, 1fr) 52px minmax(24px, 1fr) 52px minmax(24px, 1fr) 52px !important;
    align-items: start !important;
  }
  body.auto-quote-page .quote-icon-stagebar .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-quote .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-active .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-done .stage-icon{
    width: 52px !important;
    height: 52px !important;
  }
  body.auto-quote-page .quote-icon-stagebar .stage-icon > i{
    font-size: 24px !important;
  }
  body.auto-quote-page .quote-icon-stagebar .stage-review .stage-icon > .fa-clipboard{
    font-size: 23px !important;
  }
  body.auto-quote-page .quote-icon-stagebar .stage-review .stage-review-check{
    right: 7px !important;
    bottom: 7px !important;
    font-size: 10px !important;
  }
  body.auto-quote-page .quote-icon-stagebar .stage-quote-dot{
    width: 29px !important;
    height: 29px !important;
  }
  body.auto-quote-page .quote-icon-stagebar .stage-connector{
    margin-top: 24px !important;
    height: 4px !important;
  }
  body.auto-quote-page .quote-icon-stagebar .stage-label{
    display: none !important;
  }
  body.auto-quote-page .quote-main{
    padding-top: 34px !important;
  }
}

@media (max-width: 390px){
  body.auto-quote-page .header-container{
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.auto-quote-page .quote-icon-stagebar .stagebar-inner{
    padding-left: 12px !important;
    padding-right: 12px !important;
    grid-template-columns: 48px minmax(17px, 1fr) 48px minmax(17px, 1fr) 48px minmax(17px, 1fr) 48px !important;
  }
  body.auto-quote-page .quote-icon-stagebar .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-quote .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-active .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-done .stage-icon{
    width: 48px !important;
    height: 48px !important;
  }
  body.auto-quote-page .quote-icon-stagebar .stage-connector{
    margin-top: 22px !important;
  }
}


/* ===== Matched help popup content and coverage help controls ===== */
body.auto-quote-page .coverage-option-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 28px;
  gap: 10px;
  align-items: start;
  width: 100%;
}

body.auto-quote-page .coverage-option-row > label{
  min-width: 0;
}

body.auto-quote-page .coverage-help-icon{
  width: 24px;
  height: 24px;
  min-width: 24px;
  margin-top: 1px;
  font-size: 13px;
}

body.auto-quote-page .help-content{
  color: #36423e;
  font-size: 15px;
  line-height: 1.65;
}

body.auto-quote-page .help-content p{
  margin: 0 0 14px;
}

body.auto-quote-page .help-content p:last-child{
  margin-bottom: 0;
}

body.auto-quote-page .help-content ul{
  margin: 8px 0 14px;
  padding-left: 22px;
}

body.auto-quote-page .help-content li{
  margin: 0 0 7px;
}

@media (max-width: 560px){
  body.auto-quote-page .coverage-option-row{
    grid-template-columns: minmax(0, 1fr) 26px;
    gap: 8px;
  }

  body.auto-quote-page .help-content{
    font-size: 14px;
    line-height: 1.6;
  }
}


/* ===== v15: load and show the supplied SVG stage icons ===== */
body.auto-quote-page .quote-icon-stagebar .stage-icon,
body.auto-quote-page .quote-icon-stagebar .stage-quote .stage-icon,
body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-active .stage-icon,
body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-done .stage-icon{
  width: 72px !important;
  height: 72px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}
body.auto-quote-page .quote-icon-stagebar .stage-icon::before,
body.auto-quote-page .quote-icon-stagebar .stage-icon::after{
  display: none !important;
  content: none !important;
}
body.auto-quote-page .quote-icon-stagebar .stage-icon > img{
  display: block !important;
  width: 72px !important;
  height: 72px !important;
  max-width: none !important;
  object-fit: contain !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.auto-quote-page .quote-icon-stagebar .stage-item:not(.is-active):not(.is-done) .stage-icon > img{
  opacity: .78 !important;
  filter: grayscale(.12) !important;
}
body.auto-quote-page .quote-icon-stagebar .stage-item.is-active .stage-icon > img,
body.auto-quote-page .quote-icon-stagebar .stage-item.is-done .stage-icon > img{
  opacity: 1 !important;
  filter: none !important;
}
body.auto-quote-page .quote-icon-stagebar .stage-connector{
  margin-top: 34px !important;
}
body.auto-quote-page .quote-icon-stagebar .stage-quote-dot{
  display: none !important;
}

@media (max-width: 760px){
  body.auto-quote-page .quote-icon-stagebar .stagebar-inner{
    grid-template-columns: 58px minmax(18px, 1fr) 58px minmax(18px, 1fr) 58px minmax(18px, 1fr) 58px !important;
  }
  body.auto-quote-page .quote-icon-stagebar .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-quote .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-active .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-done .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-icon > img{
    width: 58px !important;
    height: 58px !important;
  }
  body.auto-quote-page .quote-icon-stagebar .stage-connector{
    margin-top: 28px !important;
  }
}

@media (max-width: 390px){
  body.auto-quote-page .quote-icon-stagebar .stagebar-inner{
    grid-template-columns: 52px minmax(12px, 1fr) 52px minmax(12px, 1fr) 52px minmax(12px, 1fr) 52px !important;
  }
  body.auto-quote-page .quote-icon-stagebar .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-quote .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-active .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-done .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-icon > img{
    width: 52px !important;
    height: 52px !important;
  }
  body.auto-quote-page .quote-icon-stagebar .stage-connector{
    margin-top: 25px !important;
  }
}

/* ===== v16: compact stage bar; show only active/completed steps ===== */
body.auto-quote-page .quote-stagebar{
  padding: 8px 0 4px !important;
}

body.auto-quote-page .quote-icon-stagebar .stagebar-inner{
  max-width: 680px !important;
  min-height: 64px !important;
  padding: 0 14px !important;
  grid-template-columns: 44px minmax(42px, 1fr) 44px minmax(42px, 1fr) 44px minmax(42px, 1fr) 44px !important;
  align-items: start !important;
}

body.auto-quote-page .quote-icon-stagebar .stage-item{
  gap: 4px !important;
}

body.auto-quote-page .quote-icon-stagebar .stage-icon,
body.auto-quote-page .quote-icon-stagebar .stage-quote .stage-icon,
body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-active .stage-icon,
body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-done .stage-icon,
body.auto-quote-page .quote-icon-stagebar .stage-icon > img{
  width: 44px !important;
  height: 44px !important;
}

body.auto-quote-page .quote-icon-stagebar .stage-label{
  font-size: 12px !important;
  line-height: 1.1 !important;
}

body.auto-quote-page .quote-icon-stagebar .stage-connector{
  height: 3px !important;
  margin-top: 21px !important;
}

/* Keep grid spacing, but hide all future step icons and labels. */
body.auto-quote-page .quote-icon-stagebar .stage-item:not(.is-active):not(.is-done) .stage-icon,
body.auto-quote-page .quote-icon-stagebar .stage-item:not(.is-active):not(.is-done) .stage-label{
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.auto-quote-page .quote-icon-stagebar .stage-item.is-active .stage-icon,
body.auto-quote-page .quote-icon-stagebar .stage-item.is-done .stage-icon,
body.auto-quote-page .quote-icon-stagebar .stage-item.is-active .stage-label,
body.auto-quote-page .quote-icon-stagebar .stage-item.is-done .stage-label{
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 760px){
  body.auto-quote-page .quote-stagebar{
    padding: 7px 0 3px !important;
  }

  body.auto-quote-page .quote-icon-stagebar .stagebar-inner{
    min-height: 42px !important;
    padding: 0 12px !important;
    grid-template-columns: 38px minmax(18px, 1fr) 38px minmax(18px, 1fr) 38px minmax(18px, 1fr) 38px !important;
  }

  body.auto-quote-page .quote-icon-stagebar .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-quote .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-active .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-done .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-icon > img{
    width: 38px !important;
    height: 38px !important;
  }

  body.auto-quote-page .quote-icon-stagebar .stage-connector{
    height: 3px !important;
    margin-top: 18px !important;
  }

  body.auto-quote-page .quote-main{
    padding-top: 22px !important;
  }
}

@media (max-width: 390px){
  body.auto-quote-page .quote-icon-stagebar .stagebar-inner{
    padding: 0 9px !important;
    grid-template-columns: 34px minmax(13px, 1fr) 34px minmax(13px, 1fr) 34px minmax(13px, 1fr) 34px !important;
  }

  body.auto-quote-page .quote-icon-stagebar .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-quote .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-active .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-done .stage-icon,
  body.auto-quote-page .quote-icon-stagebar .stage-icon > img{
    width: 34px !important;
    height: 34px !important;
  }

  body.auto-quote-page .quote-icon-stagebar .stage-connector{
    margin-top: 16px !important;
  }
}

/* ===== v17: show round stage borders; reveal icons only when active/completed ===== */
body.auto-quote-page .quote-icon-stagebar .stage-icon,
body.auto-quote-page .quote-icon-stagebar .stage-quote .stage-icon,
body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-active .stage-icon,
body.auto-quote-page .quote-icon-stagebar .stage-item.stage-quote.is-done .stage-icon{
  box-sizing: border-box !important;
  border: 2px solid #d7dadd !important;
  border-radius: 50% !important;
  background: #fff !important;
  overflow: hidden !important;
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.auto-quote-page .quote-icon-stagebar .stage-item.is-active .stage-icon,
body.auto-quote-page .quote-icon-stagebar .stage-item.is-done .stage-icon{
  border-color: #ed1c24 !important;
}

/* Future steps: keep the circle visible, but hide the artwork inside it. */
body.auto-quote-page .quote-icon-stagebar .stage-item:not(.is-active):not(.is-done) .stage-icon{
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: none !important;
}

body.auto-quote-page .quote-icon-stagebar .stage-item:not(.is-active):not(.is-done) .stage-icon > img{
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Active and completed steps show their supplied SVG icon. */
body.auto-quote-page .quote-icon-stagebar .stage-item.is-active .stage-icon > img,
body.auto-quote-page .quote-icon-stagebar .stage-item.is-done .stage-icon > img{
  width: 34px !important;
  height: 34px !important;
  opacity: 1 !important;
  visibility: visible !important;
  object-fit: contain !important;
}

/* Keep all step labels visible below the round indicators. */
body.auto-quote-page .quote-icon-stagebar .stage-item:not(.is-active):not(.is-done) .stage-label{
  opacity: 1 !important;
  visibility: visible !important;
  color: #687078 !important;
}

body.auto-quote-page .quote-icon-stagebar .stage-item.is-active .stage-label{
  color: #ed1c24 !important;
}

body.auto-quote-page .quote-icon-stagebar .stage-item.is-done .stage-label{
  color: #34383c !important;
}

@media (max-width: 760px){
  body.auto-quote-page .quote-icon-stagebar .stage-item.is-active .stage-icon > img,
  body.auto-quote-page .quote-icon-stagebar .stage-item.is-done .stage-icon > img{
    width: 29px !important;
    height: 29px !important;
  }
}

@media (max-width: 390px){
  body.auto-quote-page .quote-icon-stagebar .stage-item.is-active .stage-icon > img,
  body.auto-quote-page .quote-icon-stagebar .stage-item.is-done .stage-icon > img{
    width: 25px !important;
    height: 25px !important;
  }
}


/* ===== v19: multiple drivers and vehicles on one quote ===== */
body.auto-quote-page .review-summary-step .summary-top-actions{
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 0 0 26px;
  flex-wrap: wrap;
}
body.auto-quote-page .review-summary-step .summary-add-btn{
  min-width: 180px;
  min-height: 48px;
  padding: 11px 22px;
  border: 1px solid #ed1c24;
  border-radius: 8px;
  background: #fff;
  color: #ed1c24;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}
body.auto-quote-page .review-summary-step .summary-add-btn:hover{
  background: #ed1c24;
  color: #fff;
}
@media (max-width: 620px){
  body.auto-quote-page .review-summary-step .summary-top-actions{
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  body.auto-quote-page .review-summary-step .summary-add-btn{
    min-width: 0;
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    font-size: 14px;
  }
}
@media (max-width:768px){

  .auto-quote-page .radio-card,
  .auto-quote-page .radio-card label,
  .auto-quote-page .radio-card span{
      display:flex !important;
      justify-content:flex-start !important;
      align-items:center !important;
      text-align:left !important;
      direction:ltr !important;
  }

  .auto-quote-page .radio-card span{
      padding-left:65px !important;
      padding-right:15px !important;
      width:100% !important;
  }
}

/* ===== Requested mobile/UI refinements ===== */
/* Keep every progress icon visible: completed/current are crisp, upcoming are softly faded. */
body.auto-quote-page .quote-icon-stagebar .stage-item:not(.is-active):not(.is-done) .stage-icon,
body.auto-quote-page .quote-icon-stagebar .stage-item:not(.is-active):not(.is-done) .stage-label{
  opacity: .34 !important;
  visibility: visible !important;
  pointer-events: none !important;
}
body.auto-quote-page .quote-icon-stagebar .stage-item:not(.is-active):not(.is-done) .stage-icon > img{
  opacity: .42 !important;
  filter: grayscale(1) !important;
}
body.auto-quote-page .quote-icon-stagebar .stage-item.is-active .stage-icon > img,
body.auto-quote-page .quote-icon-stagebar .stage-item.is-done .stage-icon > img{
  opacity: 1 !important;
  filter: none !important;
}
body.auto-quote-page .quote-stagebar{
  position: sticky !important;
  top: var(--header-height, 72px) !important;
  z-index: 90 !important;
  background: #fff !important;
}

/* Clean white help popup with the site's blue accent border. */
body.auto-quote-page .help-popup{
  background: rgba(12, 25, 35, .48) !important;
  backdrop-filter: blur(3px);
}
body.auto-quote-page .help-box{
  background: #fff !important;
  color: #263b45 !important;
  border: 2px solid #2f91c4 !important;
  border-radius: 18px !important;
  box-shadow: 0 22px 60px rgba(18, 54, 73, .24) !important;
}
body.auto-quote-page .help-box h3{
  color: #174f6d !important;
  padding-right: 44px;
}
body.auto-quote-page .help-box p,
body.auto-quote-page .help-content{
  color: #364b56 !important;
}
body.auto-quote-page .help-close{
  background: #eef8fd !important;
  color: #247da9 !important;
  border: 1px solid #8bc5e1 !important;
}
body.auto-quote-page .help-close:hover{
  background: #dff2fb !important;
}

/* During additional entries, hide fields whose information is already on file. */
body.auto-quote-page form.is-adding-vehicle .first-page-contact-field{
  display: none !important;
}
body.auto-quote-page form.is-adding-driver .quote-for-field,
body.auto-quote-page form.is-adding-driver .driver-someone-fields .field-group:has(#quoteMobilePhone),
body.auto-quote-page form.is-adding-driver .email-field{
  display: none !important;
}
body.auto-quote-page form.is-adding-driver .driver-someone-fields{
  display: block !important;
}

@media (max-width: 768px){
  body.auto-quote-page .summary-extra-card .summary-card-head,
  body.auto-quote-page .summary-extra-card .summary-card-head > div,
  body.auto-quote-page .summary-extra-card .summary-card-head h3,
  body.auto-quote-page .summary-extra-card .summary-card-head p{
    text-align: left !important;
  }
  body.auto-quote-page .summary-source-grid label{
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 16px !important;
  }
  body.auto-quote-page .summary-source-grid label span{
    flex: 1 1 auto !important;
    text-align: left !important;
  }
  body.auto-quote-page .summary-source-grid input[type="radio"]{
    order: 0 !important;
  }
  body.auto-quote-page .quote-stagebar{
    top: 58px !important;
  }
  body.auto-quote-page .help-box{
    width: calc(100% - 28px) !important;
    max-height: calc(100vh - 56px) !important;
    overflow-y: auto !important;
    padding: 24px 20px !important;
  }
}


/* ===== v20: progress artwork, iOS focus zoom, and consent placement ===== */
/* All four supplied SVG artworks remain visible. Upcoming stages are faded, not empty. */
body.auto-quote-page .quote-icon-stagebar .stage-icon > img,
body.auto-quote-page .quote-icon-stagebar .stage-item:not(.is-active):not(.is-done) .stage-icon > img{
  display: block !important;
  visibility: visible !important;
  width: 78% !important;
  height: 78% !important;
  object-fit: contain !important;
}
body.auto-quote-page .quote-icon-stagebar .stage-item:not(.is-active):not(.is-done) .stage-icon > img{
  opacity: .32 !important;
  filter: grayscale(1) saturate(.25) !important;
}
body.auto-quote-page .quote-icon-stagebar .stage-item.is-active .stage-icon > img,
body.auto-quote-page .quote-icon-stagebar .stage-item.is-done .stage-icon > img{
  opacity: 1 !important;
  filter: none !important;
}

/* iOS Safari zooms focused controls below 16px. Keep controls at 16px on phones. */
@media (max-width: 768px){
  html{
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }
  body.auto-quote-page input,
  body.auto-quote-page select,
  body.auto-quote-page textarea,
  body.auto-quote-page button{
    font-size: 16px !important;
  }
  body.auto-quote-page .quote-form,
  body.auto-quote-page .quote-step,
  body.auto-quote-page .step-shell{
    max-width: 100% !important;
    min-width: 0 !important;
  }
  body.auto-quote-page input,
  body.auto-quote-page select,
  body.auto-quote-page textarea{
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Consent now lives at the end of the page immediately before Review. */
body.auto-quote-page .claims-contd-step .consent-note-box{
  margin-top: 30px;
}

/* ===== v21: stable mobile layout for driver history steps ===== */
@media (max-width: 768px){
  body.auto-quote-page .claims-history-step.is-active > .step-shell,
  body.auto-quote-page .claims-contd-step.is-active > .step-shell{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 24px 16px !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  body.auto-quote-page .claims-history-step .claims-history-shell,
  body.auto-quote-page .claims-contd-step .claims-contd-shell{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }

  body.auto-quote-page .claims-history-step .claims-question-block,
  body.auto-quote-page .claims-contd-step .claims-question-block,
  body.auto-quote-page .claims-contd-step .field-group{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  body.auto-quote-page .claims-history-step h2,
  body.auto-quote-page .claims-contd-step h2{
    font-size: clamp(24px, 7vw, 30px) !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere !important;
  }

  body.auto-quote-page .claims-history-step .form-actions,
  body.auto-quote-page .claims-contd-step .form-actions{
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }
}


/* ===== v22: hard mobile viewport lock for Tickets + Claims =====
   Prevent any dynamically-added history card, long option or browser focus
   from widening/shrinking the responsive viewport. */
@media (max-width: 768px){
  html{
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
  }
  body.auto-quote-page{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: clip !important;
    -webkit-text-size-adjust: 100% !important;
    text-size-adjust: 100% !important;
  }
  body.auto-quote-page .quote-form,
  body.auto-quote-page .quote-step,
  body.auto-quote-page .quote-step.is-active,
  body.auto-quote-page .driving-history-step,
  body.auto-quote-page .claims-history-step,
  body.auto-quote-page .claims-contd-step,
  body.auto-quote-page .driving-history-step > .step-shell,
  body.auto-quote-page .claims-history-step > .step-shell,
  body.auto-quote-page .claims-contd-step > .step-shell,
  body.auto-quote-page .driving-history-shell,
  body.auto-quote-page .claims-history-shell,
  body.auto-quote-page .claims-contd-shell{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-x: clip !important;
    transform: none !important;
  }
  body.auto-quote-page .driving-history-step > .step-shell,
  body.auto-quote-page .claims-history-step > .step-shell,
  body.auto-quote-page .claims-contd-step > .step-shell{
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  body.auto-quote-page .driving-history-step *,
  body.auto-quote-page .claims-history-step *,
  body.auto-quote-page .claims-contd-step *{
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  body.auto-quote-page .driving-history-step .question-row,
  body.auto-quote-page .claims-history-step .question-row,
  body.auto-quote-page .claims-contd-step .question-row,
  body.auto-quote-page .driving-history-step .segmented,
  body.auto-quote-page .claims-history-step .segmented,
  body.auto-quote-page .claims-contd-step .segmented,
  body.auto-quote-page .driving-history-step .history-card,
  body.auto-quote-page .claims-history-step .history-card,
  body.auto-quote-page .claims-contd-step .history-card,
  body.auto-quote-page .driving-history-step .form-actions,
  body.auto-quote-page .claims-history-step .form-actions,
  body.auto-quote-page .claims-contd-step .form-actions{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  body.auto-quote-page .driving-history-step select,
  body.auto-quote-page .claims-history-step select,
  body.auto-quote-page .claims-contd-step select,
  body.auto-quote-page .driving-history-step input,
  body.auto-quote-page .claims-history-step input,
  body.auto-quote-page .claims-contd-step input,
  body.auto-quote-page .driving-history-step textarea,
  body.auto-quote-page .claims-history-step textarea,
  body.auto-quote-page .claims-contd-step textarea,
  body.auto-quote-page .driving-history-step button,
  body.auto-quote-page .claims-history-step button,
  body.auto-quote-page .claims-contd-step button{
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    font-size: 16px !important;
  }
  body.auto-quote-page .driving-history-step select,
  body.auto-quote-page .claims-history-step select,
  body.auto-quote-page .claims-contd-step select{
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  body.auto-quote-page .driving-history-step .segmented label,
  body.auto-quote-page .claims-history-step .segmented label,
  body.auto-quote-page .claims-contd-step .segmented label{
    width: auto !important;
    min-width: 0 !important;
  }
  body.auto-quote-page .driving-history-step .segmented label span,
  body.auto-quote-page .claims-history-step .segmented label span,
  body.auto-quote-page .claims-contd-step .segmented label span{
    width: 100% !important;
    min-width: 0 !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    justify-content: center !important;
    text-align: center !important;
  }
  body.auto-quote-page .driving-history-step .form-actions button,
  body.auto-quote-page .claims-history-step .form-actions button,
  body.auto-quote-page .claims-contd-step .form-actions button{
    width: auto !important;
  }
}


/* ===== Requested Tiffany-blue final refinements ===== */
:root{
  --tiffany-blue: #0ABAB5;
  --tiffany-blue-dark: #087f7c;
  --tiffany-blue-soft: #e8fbfa;
  --tiffany-blue-softer: #f2fdfc;
}

body.auto-quote-page .bundle-promo-card{
  border-color: #bfecea !important;
  background: linear-gradient(135deg, var(--tiffany-blue-soft) 0%, #f8ffff 100%) !important;
  box-shadow: 0 8px 24px rgba(10,186,181,.10) !important;
}
body.auto-quote-page .bundle-icon{
  background: #fff !important;
  border: 2px solid var(--tiffany-blue) !important;
  box-shadow: 0 7px 18px rgba(10,186,181,.14) !important;
  overflow: hidden;
}
body.auto-quote-page .bundle-icon img{
  width: 38px;
  height: 38px;
  display: block;
  object-fit: contain;
}
body.auto-quote-page .bundle-plus{ color: var(--tiffany-blue-dark) !important; }
body.auto-quote-page .bundle-promo-badge{
  background: var(--tiffany-blue) !important;
  color: #fff !important;
}

body.auto-quote-page .review-summary-step .summary-add-btn{
  border-color: var(--tiffany-blue) !important;
  background: var(--tiffany-blue) !important;
  color: #fff !important;
}
body.auto-quote-page .review-summary-step .summary-add-btn:hover{
  border-color: var(--tiffany-blue-dark) !important;
  background: var(--tiffany-blue-dark) !important;
  color: #fff !important;
}
body.auto-quote-page .review-summary-step .summary-card{
  background: var(--tiffany-blue-softer) !important;
  border-color: #c8eeec !important;
}
body.auto-quote-page .review-summary-step .summary-row-icon,
body.auto-quote-page .review-summary-step .summary-row-icon i{
  color: var(--tiffany-blue-dark) !important;
}

/* Add Ticket is visible only after Yes is selected. */
body.auto-quote-page .history-add-btn[data-add-history="ticket"]{ display:none !important; }
body.auto-quote-page .history-add-btn[data-add-history="ticket"].is-visible,
body.auto-quote-page .history-add-btn[data-add-history="ticket"][aria-hidden="false"]{ display:block !important; }
body.auto-quote-page:has(input[name="tickets_last_3_years"][value="yes"]:checked) .history-add-btn[data-add-history="ticket"]{ display:block !important; }

/* Responsive, centered “adding another…” notice on all screen sizes. */
body.auto-quote-page .summary-add-cancel-bar,
body.auto-quote-page .summary-add-cancel-bar.is-visible{
  width: min(720px, calc(100% - 32px)) !important;
  box-sizing: border-box;
  margin: 20px auto 0 !important;
  text-align: center;
  justify-content: center !important;
  align-items: center !important;
  flex-wrap: wrap;
  background: var(--tiffany-blue-soft) !important;
  border-color: #b9e9e7 !important;
}
body.auto-quote-page .summary-add-cancel-bar span{
  flex: 1 1 320px;
  text-align: center;
}
body.auto-quote-page .summary-add-cancel-bar button{
  background: var(--tiffany-blue) !important;
  border-color: var(--tiffany-blue) !important;
  color: #fff !important;
}
@media (max-width:720px){
  body.auto-quote-page .summary-add-cancel-bar.is-visible{
    display:flex !important;
    flex-direction:column;
  }
  body.auto-quote-page .summary-add-cancel-bar span{ flex:0 1 auto; width:100%; }
  body.auto-quote-page .summary-add-cancel-bar button{ width:min(100%, 320px) !important; }
}

body.auto-quote-page .footer-contact-block{
  display:flex;
  flex-direction:column;
  gap:10px;
}
body.auto-quote-page .footer-contact-line{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  text-align:center;
}
body.auto-quote-page .footer-contact-whatsapp i{ color:#25D366; }
@media (max-width:620px){
  body.auto-quote-page .footer-contact-line{ flex-direction:column; gap:5px; }
}


/* Final popup/footer refinements */
body.auto-quote-page .help-box{
  border: 4px solid #0b5f88 !important;
  box-shadow: 0 24px 64px rgba(10, 70, 103, .32) !important;
}
body.auto-quote-page .help-close{
  border: 2px solid #0b5f88 !important;
  opacity: 1 !important;
  filter: none !important;
}
body.auto-quote-page .footer-contact-block{
  width: min(100%, 560px);
  margin-inline: auto;
  gap: 8px !important;
  align-items: stretch;
}
body.auto-quote-page .footer-contact-line{
  display: grid !important;
  grid-template-columns: minmax(230px, 1fr) minmax(190px, auto);
  align-items: center !important;
  justify-content: center !important;
  column-gap: 18px !important;
  row-gap: 4px !important;
  width: 100%;
  text-align: left !important;
}
body.auto-quote-page .footer-contact-heading{ text-align: right; }
body.auto-quote-page .footer-contact-phone{ text-align: left; white-space: nowrap; }
body.auto-quote-page .footer-hours{
  margin: 4px 0 0 !important;
  text-align: center !important;
  width: 100%;
}
@media (max-width: 620px){
  body.auto-quote-page .footer-contact-line{
    grid-template-columns: 1fr !important;
    text-align: center !important;
    gap: 4px !important;
  }
  body.auto-quote-page .footer-contact-heading,
  body.auto-quote-page .footer-contact-phone{ text-align: center !important; }
}
\n\n/* ===== Final professional popup, review heading and compact footer ===== */
body.auto-quote-page .help-box{
  border: 3px solid var(--tiffany-blue) !important;
  box-shadow: 0 20px 52px rgba(0,0,0,.20) !important;
}
body.auto-quote-page .help-box h3{
  color: var(--tiffany-blue) !important;
}
body.auto-quote-page .help-close{
  color: var(--tiffany-blue) !important;
  border: 2px solid var(--tiffany-blue) !important;
  background: #fff !important;
}
body.auto-quote-page .help-close:hover{
  color: var(--tiffany-blue) !important;
  background: #fff !important;
}
body.auto-quote-page #step15Title{
  font-size: clamp(1.55rem, 2.3vw, 2rem) !important;
  line-height: 1.2 !important;
  letter-spacing: -.02em !important;
  margin-bottom: 10px !important;
}
body.auto-quote-page .footer-contact-block{
  width: min(100%, 620px) !important;
  gap: 9px !important;
}
body.auto-quote-page .footer-contact-line{
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
}
body.auto-quote-page .footer-contact-heading,
body.auto-quote-page .footer-contact-phone{
  text-align: left !important;
  margin: 0 !important;
  white-space: nowrap !important;
}
body.auto-quote-page .footer-hours{
  margin-top: 2px !important;
}
@media (max-width: 720px){
  body.auto-quote-page .footer-contact-line{
    flex-wrap: wrap !important;
    gap: 5px 8px !important;
  }
  body.auto-quote-page .footer-contact-heading,
  body.auto-quote-page .footer-contact-phone{
    text-align: center !important;
  }
}


/* ===== Final requested refinements: Tiffany help border and compact footer ===== */
body.auto-quote-page .help-box{
  border-color: #0ABAB5 !important;
}
body.auto-quote-page .help-box h3{
  color: #0ABAB5 !important;
}
@media (min-width: 769px){
  body.auto-quote-page .footer-contact-block{
    gap: 12px !important;
  }
  body.auto-quote-page .footer-contact-line{
    grid-template-columns: minmax(240px, 310px) auto !important;
    column-gap: 18px !important;
    justify-content: center !important;
  }
  body.auto-quote-page .footer-hours{
    transform: translateX(28px);
  }
}
@media (max-width: 768px){
  body.auto-quote-page .footer-hours{
    transform: none;
  }
}


/* ===== FINAL: restored consent questions + professionally aligned footer contact rows ===== */
body.auto-quote-page .consent-only-shell > .claims-question-block{
  width: min(100%, 760px);
  margin: 0 auto 22px;
}
body.auto-quote-page .footer-contact-block{
  width: min(100%, 650px) !important;
  margin-inline: auto !important;
  gap: 10px !important;
  align-items: center !important;
}
body.auto-quote-page .footer-contact-line{
  display: grid !important;
  grid-template-columns: 285px 255px !important;
  column-gap: 14px !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}
body.auto-quote-page .footer-contact-heading{
  text-align: right !important;
  white-space: nowrap !important;
}
body.auto-quote-page .footer-contact-phone{
  text-align: left !important;
  white-space: nowrap !important;
}
body.auto-quote-page .footer-hours{
  width: 255px !important;
  margin: 1px 0 0 299px !important;
  transform: none !important;
  text-align: left !important;
  white-space: nowrap !important;
}
@media (max-width: 720px){
  body.auto-quote-page .consent-only-shell > .claims-question-block{
    margin-bottom: 18px;
  }
  body.auto-quote-page .footer-contact-line{
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }
  body.auto-quote-page .footer-contact-heading,
  body.auto-quote-page .footer-contact-phone{
    text-align: center !important;
    white-space: normal !important;
  }
  body.auto-quote-page .footer-hours{
    width: 100% !important;
    margin: 3px 0 0 !important;
    text-align: center !important;
    white-space: normal !important;
  }
}


/* Dedicated linked car + home combined review mode. The original car progress
   bar remains visible; only the review screen is used for the final submit. */
.combined-review-title { display: none; }
.car-combined-review-mode .combined-review-title { display: inline; }
.car-combined-review-mode .normal-review-title { display: none; }

.car-combined-review-mode #backBtn { visibility: hidden; pointer-events: none; }


/* Combined review polish and add-item actions */
.review-summary-shell {
  max-width: 760px;
  margin: 0 auto;
}
.review-summary-shell > h2 {
  margin-bottom: 22px;
}
.summary-top-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 24px;
}
.summary-add-btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  background: #13b8b5;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 7px 18px rgba(19, 184, 181, .18);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.summary-add-btn:hover {
  background: #0ca6a3;
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(19, 184, 181, .25);
}
.summary-card {
  overflow: hidden;
  border: 1px solid #ccebea;
  border-radius: 18px;
  background: #f1fbfb;
  margin-bottom: 24px;
  box-shadow: 0 5px 18px rgba(26, 67, 71, .05);
}
.summary-card-head {
  padding: 24px 28px 19px;
  border-bottom: 1px solid #d8eeee;
}
.summary-card-head h3 {
  margin: 0 0 7px;
  font-size: 27px;
  line-height: 1.2;
}
.summary-card-head p {
  margin: 0;
  color: #53666d;
  font-size: 16px;
}
.summary-list {
  padding: 0;
}
.summary-item,
.linked-home-summary-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid #d8eeee;
}
.summary-item:last-child,
.linked-home-summary-item:last-child { border-bottom: 0; }
.summary-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #dff7f6;
  color: #079c99;
  font-size: 20px;
}
.summary-item-copy { min-width: 0; }
.summary-item-copy strong {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.summary-item-copy p,
.summary-item-copy small {
  display: block;
  margin: 0;
  color: #4f646b;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
@media (max-width: 720px) {
  .summary-top-actions { grid-template-columns: 1fr; }
  .summary-item, .linked-home-summary-item {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 18px;
  }
  .summary-item > :last-child:not(.summary-item-copy) { grid-column: 2; justify-self: start; }
  .summary-card-head { padding: 20px 18px 16px; }
}


/* Final: Back must remain visible beside Next while adding/editing review items. */
html body.auto-quote-page .form-actions.summary-entry-actions {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
  gap: 18px !important;
}
html body.auto-quote-page .form-actions.summary-entry-actions .btn-back:not([hidden]) {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}
@media (max-width: 640px) {
  html body.auto-quote-page .form-actions.summary-entry-actions { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }
}


/* Final submission state: navigation is not shown after a successful submit. */
body.auto-quote-page form:has(.thank-you-step.is-active) > .form-actions,
body.auto-quote-page form:has(.thank-you-step.is-active) > .form-action-separator {
  display: none !important;
}
body.auto-quote-page .start-new-quote-btn,
body.auto-quote-page .start-new-quote-btn:visited,
body.auto-quote-page .start-new-quote-btn:hover,
body.auto-quote-page .start-new-quote-btn:focus {
  color: #fff !important;
}


/* Success screen: no Back/Next navigation below the submitted quote. */
body.auto-quote-page form:has(.thank-you-step.is-active) > .form-actions,
body.auto-quote-page form:has(.thank-you-step.is-active) > .form-action-separator {
  display: none !important;
}

/* Requested vehicle/coverage field additions */
body.auto-quote-page .vehicle-other-field{
  margin-top: 12px;
  margin-bottom: 0;
}
body.auto-quote-page .vehicle-other-field input{
  width: 100%;
}
body.auto-quote-page .coverage-date-choice{
  margin-top: 24px;
  margin-bottom: 18px;
}
body.auto-quote-page .quote-step[data-step="4"] .coverage-date.progressive-block:not(.is-visible),
body.auto-quote-page .quote-step.is-active[data-step="4"] .coverage-date.progressive-block:not(.is-visible){
  display: none !important;
}
body.auto-quote-page .quote-step[data-step="4"] .coverage-date.progressive-block.is-visible,
body.auto-quote-page .quote-step.is-active[data-step="4"] .coverage-date.progressive-block.is-visible{
  display: block !important;
}
body.auto-quote-page .suspension-date-row input[type="date"]{
  width: 100%;
}

/* Requested refinements: custom coverage spacing + speeding-only field */
body.auto-quote-page .quote-step[data-step="4"] .coverage-date.progressive-block.is-visible .field-group{
  margin: 0 0 14px !important;
}
body.auto-quote-page .quote-step[data-step="4"] .coverage-date.progressive-block.is-visible .field-group:last-child{
  margin-bottom: 0 !important;
}
body.auto-quote-page .ticket-over-speed-field{
  display: none !important;
}
body.auto-quote-page .ticket-over-speed-field.is-visible{
  display: block !important;
}


/* Anti-theft detail fields (shown only after Yes). */
body.auto-quote-page .anti-theft-details{
  margin-top: 18px;
}
body.auto-quote-page .anti-theft-details .field-group{
  margin-bottom: 14px;
}
body.auto-quote-page .anti-theft-custom.is-visible{
  display: block;
  margin-top: 14px;
}
body.auto-quote-page .anti-theft-details select,
body.auto-quote-page .anti-theft-details input{
  width: 100%;
}


/* Split DOB dropdowns: UI only; driver_date_of_birth remains the backend field. */
body.auto-quote-page .split-dob-field .dob-select-row{display:grid;grid-template-columns:1fr 1.35fr 1fr;gap:12px;width:100%}
body.auto-quote-page .split-dob-field .dob-select{width:100%;min-width:0;height:52px;border:1px solid #cfcfcf;border-radius:4px;background:#fff;padding:0 12px;font:inherit;color:#333}
body.auto-quote-page .split-dob-field .dob-select:focus{outline:none;border-color:#0abab5;box-shadow:0 0 0 2px rgba(10,186,181,.12)}
@media(max-width:520px){body.auto-quote-page .split-dob-field .dob-select-row{grid-template-columns:1fr;gap:10px}}
