/* Reference roof-style and metal-system cards show bare silhouettes,
   never the pale-blue square background of the previous invented icons. */
#wizardView #questionContent .choice-card:is([data-key="roofStyle"],[data-key="paintSystem"]) .choice-icon {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  width: 82px !important;
  height: 68px !important;
  color: #9a9a9a;
}
#wizardView #questionContent .choice-card:is([data-key="roofStyle"],[data-key="paintSystem"]) svg.at-reference-artwork {
  width: 80px !important;
  height: 64px !important;
  fill: currentColor !important;
  stroke: none !important;
}
#wizardView #questionContent .choice-card:is([data-key="roofStyle"],[data-key="paintSystem"]).selected .choice-icon {
  color: #fff;
}
#wizardView #questionContent .choice-card[data-key="paintSystem"]:not(.selected) .choice-icon,
#wizardView #questionContent .choice-card[data-key="paintSystem"]:not(.selected) b {
  color: #397cbf;
}
/* The five estimate-type illustrations and card layout follow the supplied
   screenshot (3 November); do not replace them with generic icon tiles. */
#wizardView #questionContent .choice-card[data-key="quoteType"] {
  background: #f8f8f8;
  border: 1px solid #d5d5d5;
  border-radius: 10px;
  color: #777;
  min-height: 204px !important;
  padding: 22px 10px !important;
  gap: 17px;
  transition: background-color .12s ease, border-color .12s ease;
}
#wizardView #questionContent .choice-card[data-key="quoteType"].selected {
  background: #fff;
  border-color: #b5c7da;
  color: #397cbf;
}
#wizardView #questionContent .choice-card[data-key="quoteType"]:focus-visible {
  outline: 3px solid #367bbb;
  outline-offset: 2px;
}
#wizardView #questionContent .choice-card[data-key="quoteType"] .choice-icon {
  width: 82px !important;
  height: 68px !important;
  min-width: 0;
  background: transparent !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #9a9a9a;
}
#wizardView #questionContent .choice-card[data-key="quoteType"].selected .choice-icon {
  color: #397cbf;
}
#wizardView #questionContent .choice-card[data-key="quoteType"] .choice-icon svg.at-reference-artwork {
  height: 64px !important;
  width: 80px !important;
  max-width: 100%;
  fill: currentColor !important;
  stroke: none !important;
}
#wizardView #questionContent .choice-card[data-key="quoteType"] b {
  font-size: clamp(15px, 1.3vw, 21px);
  line-height: 1.2;
  font-weight: 750;
}
@media (min-width: 801px) {
  #wizardView #questionContent .choice-grid.five {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }
}
@media (max-width: 800px) {
  #wizardView #questionContent .choice-grid.five {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }
  #wizardView #questionContent .choice-card[data-key="quoteType"] {
    min-height: 155px !important;
    padding: 14px 8px !important;
    gap: 8px;
  }
}
@media (max-width: 390px) {
  #wizardView #questionContent .choice-card[data-key="quoteType"] b { font-size: 14px; }
}

/* One-time (i) guidance on Home, directly between the New here and Support sections. */
#homeView #homeHelpfulTips {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0 2px;
  padding: 11px 13px;
  background: #f2f8fd;
  border: 1px solid #d5e6f4;
  border-left: 3px solid #075194;
  border-radius: 7px;
  color: #23445f;
}
#homeView #homeHelpfulTips .estimate-step-tips-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 19px;
  height: 19px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid #075194;
  color: #075194;
  font: 800 12px/1 Arial, Helvetica, sans-serif;
}
#homeView #homeHelpfulTips p {
  margin: 0;
  font-size: 13px;
  line-height: 1.48;
  font-weight: 500;
}
#homeView #homeHelpfulTips strong { font-weight: 750; }
@media (max-width: 600px) {
  #homeView #homeHelpfulTips { padding: 9px 10px; gap: 9px; }
  #homeView #homeHelpfulTips p { font-size: 12px; }
}

/* Estimate Builder 2 November copy review: question tally, coating cards and guidance. */
#wizardView #progressText {
  color: #075194 !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: .015em;
  line-height: 1.4;
}
/* The years and actual product names are customer-facing; internal system IDs
   are never used as visible choice labels. The 30-year option is prominent. */
#wizardView #questionContent .choice-card[data-key="paintSystem"] {
  min-height: 190px;
  gap: 9px;
}
#wizardView #questionContent .choice-card[data-key="paintSystem"] .coating-product-name {
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}
#wizardView #questionContent .choice-card[data-key="paintSystem"] .coating-system-duration {
  color: #075194;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  line-height: 1.15;
  margin-top: 2px;
}
#wizardView #questionContent .choice-card[data-key="paintSystem"] .coating-system-years {
  font-size: 27px;
  font-weight: 900;
}
#wizardView #questionContent .choice-card[data-key="paintSystem"] .coating-system-year-label {
  font-size: 14px;
  font-weight: 750;
}
#wizardView #questionContent .choice-card[data-coating-priority="primary"] .coating-product-name {
  font-size: 20px;
}
#wizardView #questionContent .choice-card[data-coating-priority="primary"] .coating-system-years {
  font-size: 35px;
}
#wizardView #questionContent .choice-card.selected[data-key="paintSystem"] .coating-system-duration {
  color: #fff;
}
.at-estimator-overlay {
  align-items: center;
  background: rgba(10, 29, 46, .68);
  box-sizing: border-box;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 30000;
}
.at-estimator-dialog {
  background: #fff;
  border: 1px solid #cfdeea;
  border-radius: 15px;
  box-shadow: 0 18px 70px rgba(0, 20, 44, .30);
  box-sizing: border-box;
  color: #182d42;
  max-height: min(90vh, 860px);
  max-width: 760px;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.at-estimator-dialog-body {
  box-sizing: border-box;
  max-height: min(90vh, 860px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 30px 36px;
}
.at-estimator-close {
  align-items: center;
  background: #edf4fa;
  border: 1px solid #d5e3ef;
  border-radius: 50%;
  color: #143650;
  cursor: pointer;
  display: flex;
  font-size: 24px;
  height: 36px;
  justify-content: center;
  position: absolute;
  right: 16px;
  top: 14px;
  width: 36px;
  z-index: 1;
}
.at-estimator-welcome-brand {
  display: flex;
  align-items: flex-start;
  min-height: 56px;
  margin: 0 42px 15px 0;
}
.at-estimator-welcome-logo {
  display: block;
  width: 220px;
  height: auto;
  max-width: 100%;
  max-height: 68px;
  object-fit: contain;
  object-position: left center;
}
.at-estimator-eyebrow {
  color: #075194;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .075em;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.at-estimator-dialog h2 {
  color: #092d4a;
  font-size: clamp(23px, 4vw, 30px);
  line-height: 1.2;
  margin: 0 42px 12px 0;
}
.at-estimator-dialog h3 {
  color: #0a477a;
  font-size: 16px;
  margin: 22px 0 7px;
}
.at-estimator-dialog p,
.at-estimator-dialog li {
  font-size: 14px;
  line-height: 1.57;
}
.at-estimator-dialog li { margin: 6px 0; }
.at-estimator-dialog ul { padding-left: 23px; margin: 7px 0 14px; }
.at-estimator-lead {
  color: #075194;
  font-size: 17px !important;
  font-weight: 800;
}
.at-estimator-strong { font-weight: 720; }
.at-estimator-dialog a { color: #075194; font-weight: 700; }
.at-estimator-dialog-actions { display: flex; justify-content: flex-end; margin-top: 22px; }
.at-estimator-primary {
  background: #075194;
  border: 1px solid #075194;
  border-radius: 8px;
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  padding: 11px 17px;
}
.at-estimator-primary:hover { background: #063c6c; }
.at-estimator-primary:focus-visible, .at-estimator-close:focus-visible {
  outline: 3px solid #55c0eb;
  outline-offset: 3px;
}
.at-estimator-terms {
  display: flex;
  flex-direction: column;
  height: min(90vh, 850px);
  max-width: 940px;
}
.at-estimator-terms-header {
  align-items: center;
  border-bottom: 1px solid #d5e3ef;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  padding: 16px 20px;
}
.at-estimator-terms-header h2 { font-size: 19px; margin: 0; }
.at-estimator-terms iframe {
  background: #fff;
  border: 0;
  flex: 1;
  min-height: 0;
  width: 100%;
}
@media (max-width: 650px) {
  .at-estimator-overlay { padding: 7px; }
  .at-estimator-dialog { border-radius: 10px; max-height: 96vh; }
  .at-estimator-dialog-body { max-height: 96vh; padding: 21px 18px; }
  .at-estimator-terms { height: 96vh; }
  .at-estimator-terms-header { padding: 12px; }
  .at-estimator-terms-header h2 { font-size: 16px; }
  .at-estimator-primary { font-size: 12px; padding: 10px 12px; }
}
@media print { .at-estimator-overlay { display: none !important; } }
