.hgc-rc-page .hgc-rc-flow-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px;
  border: 1px solid #29465a;
  border-radius: 12px;
  background: #06111a;
}

.hgc-rc-page .hgc-rc-flow-tab {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  min-width: 0;
  min-height: 62px;
  padding: 9px 10px;
  border: 1px solid #29465a;
  border-radius: 9px;
  color: #dbe8f2;
  background: #091924;
  text-align: left;
  cursor: pointer;
}

.hgc-rc-page .hgc-rc-flow-tab strong,
.hgc-rc-page .hgc-rc-flow-tab small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hgc-rc-page .hgc-rc-flow-tab strong {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 800;
  color: #f5f9fc;
}

.hgc-rc-page .hgc-rc-flow-tab small {
  margin-top: 3px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  color: #9db0bf;
}

.hgc-rc-page .hgc-rc-flow-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #587084;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 900;
  color: #dbe8f2;
  background: #06111a;
}

.hgc-rc-page .hgc-rc-flow-tab.active {
  border-color: #ff7a00;
  background: #1a1714;
  box-shadow: inset 3px 0 0 #ff7a00;
}

.hgc-rc-page .hgc-rc-flow-tab.active .hgc-rc-flow-number {
  border-color: #ff7a00;
  color: #ff9a35;
}

.hgc-rc-page .hgc-rc-flow-tab.active small {
  color: #ff9a35;
}

.hgc-rc-page .hgc-rc-flow-tab.complete {
  border-color: #1f7b57;
}

.hgc-rc-page .hgc-rc-flow-tab.complete .hgc-rc-flow-number {
  border-color: #20d77b;
  color: #20d77b;
}

.hgc-rc-page .hgc-rc-flow-tab.complete small {
  color: #68e4a8;
}

.hgc-rc-page .hgc-rc-flow-current-panel {
  animation: hgcRcFlowReveal 180ms ease-out both;
}

.hgc-rc-page .hgc-rc-flow-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 16px 0 4px;
  padding: 16px 0 0;
  border-top: 1px solid #29465a;
}

.hgc-rc-page .hgc-rc-flow-actions button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 850;
  cursor: pointer;
}

.hgc-rc-page .hgc-rc-flow-back {
  margin-right: auto;
  border: 1px solid #587084;
  color: #f5f9fc;
  background: #091924;
}

.hgc-rc-page .hgc-rc-flow-next {
  width: min(100%, 430px);
  border: 1px solid #ff7a00;
  color: #ff9a35;
  background: rgba(255, 122, 0, 0.08);
  box-shadow: 0 10px 28px rgba(255, 122, 0, 0.08);
}

.hgc-rc-page .hgc-rc-flow-next:hover,
.hgc-rc-page .hgc-rc-flow-next:focus-visible {
  background: rgba(255, 122, 0, 0.16);
  outline: 2px solid rgba(255, 154, 53, 0.36);
  outline-offset: 2px;
}

@keyframes hgcRcFlowReveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 1050px) {
  .hgc-rc-page .hgc-rc-flow-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hgc-rc-page .hgc-rc-flow-tab:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .hgc-rc-page .hgc-rc-flow-nav {
    display: flex;
    overflow-x: auto;
    padding: 8px;
    scroll-snap-type: x proximity;
  }

  .hgc-rc-page .hgc-rc-flow-tab {
    flex: 0 0 210px;
    scroll-snap-align: start;
  }

  .hgc-rc-page .hgc-rc-flow-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .hgc-rc-page .hgc-rc-flow-actions button,
  .hgc-rc-page .hgc-rc-flow-next {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hgc-rc-page .hgc-rc-flow-current-panel {
    animation: none;
  }
}

/* Roof Coatings inherits the same neutral dark foundation as Leads and Dashboard. */
.content:has(.hgc-rc-page),
.hgc-root:has(.hgc-rc-page),
.hgc-rc-page {
  --hgc-neutral-canvas: #02080d;
  --hgc-neutral-panel: #071018;
  --hgc-neutral-panel-raised: #0a151f;
  --hgc-neutral-border: #293d4d;
  --hgc-neutral-text: #f4f7fa;
  --hgc-neutral-muted: #aab8c4;
  background: var(--hgc-neutral-canvas) !important;
  color: var(--hgc-neutral-text);
}

.hgc-rc-page [hidden] {
  display: none !important;
}

.hgc-rc-page .hgc-rc-layout,
.hgc-rc-page .hgc-rc-layout > main,
.hgc-rc-page .hgc-rc-layout > aside {
  background: transparent !important;
  background-image: none !important;
}

.hgc-rc-page .hgc-rc-card,
.hgc-rc-page .hgc-rc-detail-group,
.hgc-rc-page .hgc-rc-summary,
.hgc-rc-page .hgc-rc-requirements,
.hgc-rc-page .hgc-price-center,
.hgc-rc-page .hgc-proposal-photo-panel,
.hgc-rc-page .proposal-media-workspace,
.hgc-rc-page .hgc-rc-flow-nav,
.hgc-rc-page .hgc-rc-flow-actions,
.hgc-root:has(.hgc-rc-page) > .hgc-service-rail-bottom {
  background: var(--hgc-neutral-panel) !important;
  background-image: none !important;
  border-color: var(--hgc-neutral-border) !important;
}

.hgc-rc-page .hgc-rc-prep-item,
.hgc-rc-page .hgc-rc-detail-group label,
.hgc-rc-page .proposal-media-card,
.hgc-rc-page .hgc-rc-flow-tab {
  background: var(--hgc-neutral-panel-raised) !important;
  background-image: none !important;
  border-color: var(--hgc-neutral-border) !important;
}

.hgc-rc-page .hgc-rc-flow-tab.active {
  border-color: #ff7a00 !important;
  background: #17130f !important;
}

.hgc-rc-page .hgc-rc-flow-tab.complete {
  border-color: #315244 !important;
}

.hgc-rc-page h2,
.hgc-rc-page h3,
.hgc-rc-page h4,
.hgc-rc-page strong,
.hgc-rc-page label {
  color: var(--hgc-neutral-text);
}

.hgc-rc-page p,
.hgc-rc-page small,
.hgc-rc-page dt,
.hgc-rc-page .muted {
  color: var(--hgc-neutral-muted);
}

.hgc-rc-page input,
.hgc-rc-page select,
.hgc-rc-page textarea {
  background: #030a10 !important;
  color: var(--hgc-neutral-text) !important;
  border-color: #355065 !important;
}

.hgc-rc-page > .hgc-rc-layout > main > .hgc-rc-flow-nav {
  display: none !important;
}

.hgc-flow-nav:has(.hgc-roof-top-step) {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.hgc-flow-nav [hidden] {
  display: none !important;
}

.hgc-flow-nav .hgc-roof-top-step.active {
  border-color: #ff7a00;
  color: #f4f7fa;
  background: #17130f;
}

.hgc-flow-nav .hgc-roof-top-step.complete {
  border-color: #315244;
  color: #68e4a8;
}

.hgc-rc-page .hgc-rc-roof,
.hgc-rc-page .hgc-rc-flow-current-panel {
  min-height: 0 !important;
}

.hgc-rc-page .candidate > div > span {
  position: relative;
  min-height: 76px;
  padding: 12px 14px;
  cursor: pointer;
  background: #0a151f;
  border: 1px solid #46576a;
}

.hgc-rc-page .candidate > div > span:hover,
.hgc-rc-page .candidate > div > span:focus-visible {
  border-color: #ff7a00;
  outline: 2px solid rgba(255, 122, 0, 0.24);
  outline-offset: -2px;
}

.hgc-rc-page .candidate > div > span.is-complete {
  border-color: #20d77b;
  background: #071710;
}

.hgc-rc-page .hgc-candidate-check-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 2px solid #ffb000;
  border-radius: 50%;
  color: #ffb000;
  font-size: 19px;
  line-height: 1;
  font-style: normal;
  font-weight: 900;
}

.hgc-rc-page .candidate > div > span.is-complete .hgc-candidate-check-icon {
  border-color: #20d77b;
  color: #20d77b;
}

.hgc-rc-page .candidate > div > span small {
  font-size: 16px;
  color: #d5e0e8;
}

.hgc-rc-page .candidate > div > span b {
  font-size: 15px;
}

.hgc-rc-page .candidate.ready header,
.hgc-rc-page .hgc-rc-requirements.ready {
  border-color: #20d77b !important;
  color: #68e4a8;
}

.hgc-root:has(.hgc-rc-page) > .hgc-service-rail-bottom {
  position: static !important;
  inset: auto !important;
  z-index: 0 !important;
  clear: both !important;
  width: 100% !important;
  max-width: none !important;
  margin: 28px 0 0 !important;
  transform: none !important;
}

@media (max-width: 1050px) {
  .hgc-flow-nav:has(.hgc-roof-top-step) {
    display: flex;
    overflow-x: auto;
  }

  .hgc-flow-nav .hgc-roof-top-step,
  .hgc-flow-nav:has(.hgc-roof-top-step) > [data-hgc-section="services"] {
    flex: 0 0 190px;
  }
}

/* Roof typography balance: guided-flow-d */
.hgc-rc-page .hgc-rc-system,
.hgc-rc-page .hgc-rc-prep {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.hgc-rc-page .hgc-rc-system h2,
.hgc-rc-page .hgc-rc-prep h2 {
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

.hgc-rc-page .hgc-rc-system button,
.hgc-rc-page .hgc-rc-system label,
.hgc-rc-page .hgc-rc-system strong,
.hgc-rc-page .hgc-rc-system span {
  font-size: 15.5px !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

.hgc-rc-page .hgc-rc-system button,
.hgc-rc-page .hgc-rc-system strong {
  font-weight: 700 !important;
}

.hgc-rc-page .hgc-rc-system input,
.hgc-rc-page .hgc-rc-system select {
  min-height: 40px;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

.hgc-rc-page .hgc-rc-system small,
.hgc-rc-page .hgc-rc-system > div:last-child > :last-child,
.hgc-rc-page .hgc-rc-system > div:last-child > :last-child * {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

.hgc-rc-page .hgc-rc-prep > div {
  gap: 16px 22px !important;
}

.hgc-rc-page .hgc-rc-prep-item {
  min-height: 98px;
  padding: 16px 18px !important;
}

.hgc-rc-page .hgc-rc-prep-item > button,
.hgc-rc-page .hgc-rc-prep-item button {
  font-size: 15.5px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}

.hgc-rc-page .hgc-rc-prep-item label,
.hgc-rc-page .hgc-rc-prep-item label span {
  font-size: 14.5px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  text-shadow: none !important;
}

.hgc-rc-page .hgc-rc-prep-item input {
  min-height: 44px;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
}
/* Keep the bottom service library clear of the Project Notes rail. */
@media (min-width: 1200px) {
  .hgc-root:has(.hgc-rc-page) > .hgc-service-rail-bottom {
    width: calc(100% - 376px) !important;
    max-width: calc(100% - 376px) !important;
    margin-right: 376px !important;
    box-sizing: border-box !important;
    isolation: isolate;
  }
}

@media (max-width: 1199px) {
  .hgc-root:has(.hgc-rc-page) > .hgc-service-rail-bottom {
    width: 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
  }
}

/* Roof flow F: action row, notes workspace, and service library order. */
.hgc-shared-trade-command[data-hgc-shared-trade="roof_coatings"] > nav {
  flex-wrap: wrap;
}

.hgc-shared-trade-command[data-hgc-shared-trade="roof_coatings"] .hgc-rc-flow-actions {
  display: contents;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent !important;
}

.hgc-shared-trade-command[data-hgc-shared-trade="roof_coatings"] .hgc-rc-flow-actions button {
  width: auto;
  min-width: 176px;
  min-height: 44px;
  margin: 0;
  padding: 0 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
}

.hgc-shared-trade-command[data-hgc-shared-trade="roof_coatings"] .hgc-rc-flow-back {
  margin-left: 0;
}

.hgc-shared-trade-command[data-hgc-shared-trade="roof_coatings"] .hgc-rc-flow-next {
  border-color: #ff7a00;
  color: #ff9a35;
  background: rgba(255, 122, 0, 0.08);
}

.hgc-root:has(.hgc-rc-page) > .hgc-rc-quick-notes {
  position: static !important;
  inset: auto !important;
  z-index: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(210px, 0.7fr) minmax(0, 3fr);
  align-items: stretch;
  gap: 16px;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 24px 0 0 !important;
  padding: 16px 18px !important;
  box-sizing: border-box;
  border: 1px solid #293d4d !important;
  border-left: 3px solid #ff7a00 !important;
  border-radius: 10px !important;
  color: #f3f7fa;
  background: #050b10 !important;
  background-image: none !important;
  box-shadow: none !important;
}

.hgc-root:has(.hgc-rc-page) > .hgc-rc-quick-notes > header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  margin: 0;
  padding: 0 16px 0 0;
  border: 0;
  border-right: 1px solid #293d4d;
  background: transparent !important;
}

.hgc-root:has(.hgc-rc-page) > .hgc-rc-quick-notes > header small {
  color: #ff8a1f;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: none;
}

.hgc-root:has(.hgc-rc-page) > .hgc-rc-quick-notes > header h3 {
  margin: 5px 0 0;
  color: #f7fafc;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

.hgc-root:has(.hgc-rc-page) > .hgc-rc-quick-notes > nav {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-width: 0;
}

.hgc-root:has(.hgc-rc-page) > .hgc-rc-quick-notes > nav button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid #355266;
  border-radius: 9px;
  color: #edf4f8;
  background: #091722;
  text-align: left;
}

.hgc-root:has(.hgc-rc-page) > .hgc-rc-quick-notes .note-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #ff7a00;
  border-radius: 50%;
  color: #ff9a35;
  font-size: 16px;
  font-weight: 850;
}

.hgc-root:has(.hgc-rc-page) > .hgc-rc-quick-notes > nav strong,
.hgc-root:has(.hgc-rc-page) > .hgc-rc-quick-notes > nav small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-shadow: none;
}

.hgc-root:has(.hgc-rc-page) > .hgc-rc-quick-notes > nav strong {
  color: #f7fafc;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}

.hgc-root:has(.hgc-rc-page) > .hgc-rc-quick-notes > nav small {
  margin-top: 4px;
  color: #b5c5d1;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.25;
}

.hgc-root:has(.hgc-rc-page) > .hgc-rc-quick-notes > p {
  display: none !important;
}

.hgc-root:has(.hgc-rc-page) > .hgc-service-rail-bottom {
  width: 100% !important;
  max-width: 100% !important;
  margin: 16px 0 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 900px) {
  .hgc-root:has(.hgc-rc-page) > .hgc-rc-quick-notes {
    grid-template-columns: 1fr;
  }

  .hgc-root:has(.hgc-rc-page) > .hgc-rc-quick-notes > header {
    padding: 0 0 12px;
    border-right: 0;
    border-bottom: 1px solid #293d4d;
  }

  .hgc-root:has(.hgc-rc-page) > .hgc-rc-quick-notes > nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .hgc-shared-trade-command[data-hgc-shared-trade="roof_coatings"] .hgc-rc-flow-actions button {
    width: 100%;
  }
}

/* Keep the selected Roof Coatings workspace in a real two-column CRM shell at
   compact desktop widths. Older responsive rules collapsed the grid without
   taking the sidebar out of document flow, leaving a blank first screen. */
@media (min-width: 901px) and (max-width: 1100px) {
  .app.premium-app:has(.hgc-rc-page) {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    grid-template-rows: minmax(100vh, auto) !important;
    align-items: start !important;
  }

  .app.premium-app:has(.hgc-rc-page) > .crm-sidebar {
    position: sticky !important;
    top: 0 !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: block !important;
    width: 76px !important;
    height: 100vh !important;
    transform: none !important;
  }

  .app.premium-app:has(.hgc-rc-page) > main {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 100vh !important;
  }
}

/* Give the working form enough room before returning the summary rail to the
   right. At compact desktop widths the summary follows the form instead of
   squeezing the seven roof types and project notes. */
@media (min-width: 901px) and (max-width: 1180px) {
  .hgc-estimator-page.hgc-rc-page > .hgc-rc-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hgc-rc-page .hgc-rc-layout > aside {
    position: static !important;
  }
}


/* Final selected-view fit: preserve the existing shell while matching the compact option 2 hierarchy. */
.hgc-root:has(.hgc-rc-page) > .hgc-shared-estimate-top.is-focused-trade {
  min-height: 0 !important;
  padding: 0 !important;
  gap: 0 !important;
}

.hgc-root:has(.hgc-rc-page) > .hgc-shared-estimate-top .hgc-estimate-identity {
  min-height: 56px !important;
  height: 56px !important;
}

.hgc-root:has(.hgc-rc-page) > .hgc-shared-estimate-top .hgc-shared-trade-command[data-hgc-shared-trade="roof_coatings"] {
  display: none !important;
}

.hgc-root:has(.hgc-rc-page) nav.hgc-flow-nav.hgc-unified-roof-flow {
  min-height: 0 !important;
  padding: 0 0 8px !important;
}

.hgc-root:has(.hgc-rc-page) nav.hgc-flow-nav.hgc-unified-roof-flow > button {
  min-height: 42px !important;
  padding: 4px 8px !important;
}

.hgc-root:has(.hgc-rc-page) nav.hgc-flow-nav.hgc-unified-roof-flow > button > b {
  width: 30px !important;
  height: 30px !important;
}

.hgc-estimator-page.hgc-rc-page > .hgc-rc-layout {
  grid-template-columns: minmax(0, 1fr) minmax(250px, 280px) !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof {
  padding: 12px 14px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .types {
  margin-top: 4px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .types > button {
  min-height: 54px !important;
  height: 54px !important;
  padding: 5px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .types > button svg {
  width: 25px !important;
  height: 25px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .metrics > div {
  min-height: 54px !important;
  padding: 7px 9px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .metrics {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .metrics dd {
  gap: 4px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .metrics input {
  min-width: 0 !important;
  width: 66px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .metrics dt,
.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .metrics small {
  margin-bottom: 3px !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .metrics input {
  min-height: 34px !important;
  height: 34px !important;
  padding: 5px 8px !important;
  font-size: 13px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .metrics dd,
.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .metrics strong {
  font-size: 13px !important;
}

.hgc-estimator-page.hgc-rc-page .candidate > header {
  min-height: 32px !important;
  height: 32px !important;
  padding: 5px 10px !important;
}

.hgc-estimator-page.hgc-rc-page .candidate > div > span {
  display: grid !important;
  grid-template-columns: 24px minmax(0, 1fr) !important;
  grid-template-rows: auto auto !important;
  align-items: center !important;
  gap: 1px 7px !important;
  min-height: 56px !important;
  height: 56px !important;
  padding: 7px 9px !important;
}

.hgc-estimator-page.hgc-rc-page .candidate > div > span > .hgc-candidate-check-icon {
  grid-column: 1;
  grid-row: 1 / 3;
}

.hgc-estimator-page.hgc-rc-page .candidate > div > span > svg {
  display: none !important;
}

.hgc-estimator-page.hgc-rc-page .candidate > div > span > small,
.hgc-estimator-page.hgc-rc-page .candidate > div > span > b {
  grid-column: 2;
  margin: 0 !important;
  line-height: 1.15 !important;
}

.hgc-estimator-page.hgc-rc-page .candidate > div > span > small {
  font-size: 12px !important;
}

.hgc-estimator-page.hgc-rc-page .candidate > div > span > b {
  font-size: 10px !important;
}

.hgc-root:has(.hgc-rc-page) .hgc-estimator-page.hgc-rc-page .hgc-rc-scope > nav {
  display: none !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-scope {
  grid-template-rows: minmax(0, 1fr) 32px !important;
  height: 160px !important;
  min-height: 160px !important;
  max-height: 160px !important;
  padding: 11px 13px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-scope > div:first-child {
  margin: 0 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-scope h4 {
  margin-bottom: 5px !important;
  font-size: 16px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-scope > div:first-child > p {
  min-height: 50px !important;
  padding: 7px 9px !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-scope .core-ai-inline > button,
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-scope.core-ai-scope-host > .core-ai-inline:not(.compact) > button {
  height: 32px !important;
  min-height: 32px !important;
  padding: 5px 7px !important;
  font-size: 11px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-scope > .core-ai-inline:not(.compact),
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-scope.core-ai-scope-host > .core-ai-inline:not(.compact) {
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-notes {
  padding: 12px 14px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-notes > header {
  min-height: 0 !important;
  padding: 0 0 7px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-notes > header span {
  margin-bottom: 1px;
  font-size: 9px;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-notes > header h3 {
  font-size: 16px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-notes > header p {
  display: none !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid {
  gap: 9px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid > label {
  grid-template-rows: auto 70px auto !important;
  gap: 4px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid .hgc-rc-note-heading {
  min-height: 20px !important;
  align-items: center !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  gap: 3px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid .hgc-rc-note-heading b {
  font-size: 11px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid .hgc-rc-note-heading em {
  padding: 2px 5px !important;
  font-size: 8px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid textarea {
  min-height: 70px !important;
  height: 70px !important;
  padding: 8px 9px !important;
  font-size: 11px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid [data-roof-note-count] {
  min-height: 12px !important;
  height: 12px !important;
  font-size: 8px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid .core-ai-inline {
  display: none !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-layout > aside > .hgc-rc-completion {
  order: 0 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-layout > aside > .hgc-rc-summary {
  order: 1 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-layout > aside > .hgc-rc-requirements {
  order: 2 !important;
}

.hgc-estimator-page.hgc-rc-page > .hgc-price-center,
.hgc-estimator-page.hgc-rc-page > .hgc-service-rail-bottom {
  display: none !important;
}

@media (min-width: 1101px) {
  .hgc-estimator-page.hgc-rc-page .hgc-rc-scope {
    height: 145px !important;
    min-height: 145px !important;
    max-height: 145px !important;
  }

  .hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid > label {
    grid-template-rows: auto 55px auto !important;
  }

  .hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid textarea {
    min-height: 55px !important;
    height: 55px !important;
  }
}

/* Roof flow G: use the open builder column for notes and services. */
.hgc-rc-page .hgc-rc-layout > main > .hgc-rc-quick-notes {
  position: static !important;
  inset: auto !important;
  z-index: 0 !important;
  display: grid !important;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  margin: 22px 0 0 !important;
  padding: 16px !important;
  box-sizing: border-box;
  border: 1px solid #293d4d !important;
  border-left: 3px solid #ff7a00 !important;
  border-radius: 10px !important;
  color: #f3f7fa;
  background: #050b10 !important;
  background-image: none !important;
  box-shadow: none !important;
}

.hgc-rc-page .hgc-rc-layout > main > .hgc-rc-quick-notes > header {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: baseline;
  gap: 12px;
  margin: 0;
  padding: 0 0 12px;
  border: 0;
  border-right: 0;
  border-bottom: 1px solid #293d4d;
  background: transparent !important;
}

.hgc-rc-page .hgc-rc-layout > main > .hgc-rc-quick-notes > header h3 {
  margin: 0;
}

.hgc-rc-page .hgc-rc-layout > main > .hgc-rc-quick-notes > nav {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hgc-rc-page .hgc-rc-layout > main > .hgc-rc-quick-notes > nav button {
  min-height: 82px;
  padding: 12px;
}

.hgc-rc-page .hgc-rc-layout > main > .hgc-rc-quick-notes > p {
  display: none !important;
}

.hgc-rc-page .hgc-rc-layout > main > .hgc-service-rail-bottom {
  position: static !important;
  inset: auto !important;
  z-index: 0 !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 16px 0 0 !important;
  box-sizing: border-box;
  transform: none !important;
}

.hgc-rc-page .hgc-rc-layout > main > .hgc-service-rail-bottom nav {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 760px) {
  .hgc-rc-page .hgc-rc-layout > main > .hgc-rc-quick-notes > nav,
  .hgc-rc-page .hgc-rc-layout > main > .hgc-service-rail-bottom nav {
    grid-template-columns: 1fr;
  }
}

/* Roof flow N: keep service switching with pricing and finish actions after notes. */
.hgc-rc-page .hgc-rc-layout > aside > .hgc-service-rail-bottom {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 14px !important;
  overflow: visible !important;
  border: 0 !important;
  border-top: 1px solid #293d4d !important;
  border-radius: 0 !important;
  background: #071018 !important;
  box-shadow: none !important;
  transform: none !important;
  align-self: start !important;
}

.hgc-rc-page .hgc-rc-layout > aside > .hgc-service-rail-bottom > header {
  position: static !important;
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) auto !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 54px !important;
  padding: 0 0 12px !important;
  border: 0 !important;
  background: transparent !important;
}

.hgc-rc-page .hgc-rc-layout > aside > .hgc-service-rail-bottom > nav {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 8px !important;
  width: 100% !important;
  max-height: none !important;
  padding: 0 !important;
  overflow: visible !important;
}

.hgc-rc-page .hgc-rc-layout > aside > .hgc-service-rail-bottom > nav > button {
  grid-template-columns: 40px minmax(0, 1fr) 18px !important;
  min-height: 62px !important;
  width: 100% !important;
  padding: 9px 11px !important;
}

.hgc-rc-page .hgc-rc-layout > aside > .hgc-service-rail-bottom .hgc-rail-label {
  display: grid !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
}

.hgc-rc-page .hgc-rc-layout > aside > .hgc-service-rail-bottom .hgc-rail-label small {
  display: block !important;
  margin-top: 3px !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}

.hgc-rc-page .hgc-rc-layout > aside > .hgc-service-rail-bottom > .hgc-rail-all {
  display: flex !important;
  width: 100% !important;
  min-height: 44px !important;
  margin: 10px 0 0 !important;
}

.hgc-rc-page .hgc-rc-layout > main > .hgc-rc-bottom-actions {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 14px 0 0 !important;
  padding: 16px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid #293d4d !important;
  background: transparent !important;
}

.hgc-rc-page .hgc-rc-bottom-actions > button,
.hgc-rc-page .hgc-rc-bottom-actions .hgc-rc-flow-actions > button {
  width: auto !important;
  min-width: 154px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

.hgc-rc-page .hgc-rc-bottom-actions .hgc-rc-flow-actions {
  display: contents !important;
}

@media (max-width: 1099px) {
  .hgc-rc-page .hgc-rc-layout > aside > .hgc-service-rail-bottom > nav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 680px) {
  .hgc-rc-page .hgc-rc-layout > aside > .hgc-service-rail-bottom > nav {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hgc-rc-page .hgc-rc-layout > main > .hgc-rc-bottom-actions,
  .hgc-rc-page .hgc-rc-bottom-actions > button,
  .hgc-rc-page .hgc-rc-bottom-actions .hgc-rc-flow-actions > button {
    width: 100% !important;
  }
}

/* Roof flow H: inactive guided sections must never be forced visible by legacy card rules. */
.hgc-rc-page .hgc-rc-layout > main > [hidden],
.hgc-rc-page .hgc-rc-scope[hidden],
.hgc-rc-page .hgc-proposal-photo-panel[hidden] {
  display: none !important;
}

/* Roof flow K: proportionate editable coating specifications. */
.hgc-rc-page .hgc-rc-system .hgc-rc-spec-input {
  width: min(150px, 100%);
  max-width: 150px;
  min-width: 0;
  min-height: 36px;
  height: 36px;
  padding: 5px 9px;
  font-size: 16px !important;
  line-height: 1.2 !important;
}

.hgc-rc-page .hgc-rc-system .hgc-rc-spec-rate .hgc-rc-spec-input {
  width: 70px;
  max-width: 70px;
}
/* Roof flow L: balanced pricing-page typography. */
.hgc-rc-page .hgc-rc-pricing-details .hgc-rc-details-kicker {
  font-size: 13px !important;
  line-height: 1.25 !important;
}

.hgc-rc-page .hgc-rc-pricing-details .hgc-rc-details-head h2 {
  font-size: 26px !important;
  line-height: 1.2 !important;
}

.hgc-rc-page .hgc-rc-pricing-details .hgc-rc-details-head p {
  font-size: 16px !important;
  line-height: 1.45 !important;
}

.hgc-rc-page .hgc-rc-pricing-details .hgc-rc-details-status {
  font-size: 14px !important;
  line-height: 1.3 !important;
}

.hgc-rc-page .hgc-rc-pricing-details .hgc-rc-detail-title h3 {
  font-size: 20px !important;
  line-height: 1.25 !important;
}

.hgc-rc-page .hgc-rc-pricing-details .hgc-rc-detail-title p,
.hgc-rc-page .hgc-rc-pricing-details .hgc-rc-detail-fields label > span {
  font-size: 15.5px !important;
  line-height: 1.4 !important;
}

.hgc-rc-page .hgc-rc-pricing-details .hgc-rc-detail-fields input,
.hgc-rc-page .hgc-rc-pricing-details .hgc-rc-detail-fields textarea {
  font-size: 16px !important;
  line-height: 1.4 !important;
}

.hgc-rc-page .hgc-rc-pricing-details .hgc-select-trigger,
.hgc-rc-page .hgc-rc-pricing-details .hgc-select-trigger [data-hgc-select-value],
.hgc-rc-page .hgc-rc-pricing-details .hgc-select-option {
  font-size: 15.5px !important;
  line-height: 1.35 !important;
}

.hgc-rc-page .hgc-rc-pricing-details .hgc-rc-condition-grid b {
  font-size: 16.5px !important;
  line-height: 1.25 !important;
}

.hgc-rc-page .hgc-rc-pricing-details .hgc-rc-condition-grid small {
  font-size: 14.5px !important;
  line-height: 1.35 !important;
}
/* Roof flow M: unified progress and sharper review/media typography. */
.hgc-flow-nav.hgc-unified-roof-flow {
  grid-template-columns: repeat(7, minmax(142px, 1fr)) !important;
  overflow-x: auto;
  scrollbar-width: thin;
}

.hgc-flow-nav.hgc-unified-roof-flow > button {
  min-height: 54px;
  padding: 10px 12px !important;
  font-size: 13.5px !important;
  line-height: 1.25 !important;
  white-space: normal;
}

.hgc-flow-nav.hgc-unified-roof-flow .hgc-roof-history-step {
  cursor: default;
}

.hgc-pricing-status-complete dd {
  color: #35e78a !important;
  font-weight: 700 !important;
}

.hgc-rc-page .hgc-rc-scope,
.hgc-root .hgc-proposal-photo-panel {
  -webkit-font-smoothing: auto;
  text-rendering: optimizeLegibility;
  text-shadow: none !important;
  filter: none !important;
}

.hgc-rc-page .hgc-rc-repairs {
  display: grid;
  gap: 12px;
}

.hgc-rc-page .hgc-rc-repairs > h4 {
  margin: 0 0 4px;
  color: var(--hgc-neutral-text);
}

.hgc-rc-page .hgc-rc-repairs p {
  margin: 0;
  color: var(--hgc-neutral-muted);
}

.hgc-rc-page .hgc-rc-repair-item {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid #36536f;
  border-radius: 10px;
  background: #0a151f;
}

.hgc-rc-page .hgc-rc-repair-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.hgc-rc-page .hgc-rc-repair-item-head h5 {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  color: #f4f7fa;
}

.hgc-rc-page .hgc-rc-repair-grid {
  display: grid;
  grid-template-columns: minmax(220px, 2.4fr) minmax(96px, 0.95fr) minmax(118px, 0.95fr) minmax(190px, 1.1fr) minmax(140px, 0.8fr);
  gap: 10px 12px;
  align-items: end;
}

.hgc-rc-page .hgc-rc-repair-line-total {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  text-align: right;
  font-weight: 700;
  color: #eef5fb;
}

.hgc-rc-page .hgc-rc-repair-grid label > span {
  display: block;
  margin: 0 0 7px;
  font-size: 13px;
  line-height: 1.2;
  color: #c6d5e1;
}

.hgc-rc-page .hgc-rc-repair-grid label input,
.hgc-rc-page .hgc-rc-repair-grid label select {
  min-height: 40px;
  width: 100%;
}

.hgc-rc-page .hgc-rc-repair-money {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #355065;
  border-radius: 8px;
  background: #030a10;
  padding: 0 10px;
  min-height: 40px;
}

.hgc-rc-page .hgc-rc-repair-money b {
  color: var(--hgc-neutral-muted);
  font-weight: 700;
}

.hgc-rc-page .hgc-rc-repair-money input {
  border: 0 !important;
  background: transparent !important;
  padding: 0;
  width: 100%;
}

.hgc-rc-page .hgc-rc-repair-remove {
  min-height: 32px;
  padding: 6px 12px;
  border: 1px solid #355065;
  border-radius: 7px;
  font-size: 13px;
  color: #eaf2f9;
  background: #101f2e;
}

.hgc-rc-page .hgc-rc-repair-add {
  min-height: 42px;
  width: 100%;
  border: 1px dashed #355065;
  border-radius: 8px;
  background: #08121a;
  color: #f3f8fb;
  font-size: 15px;
  font-weight: 700;
}

.hgc-rc-page .hgc-rc-repair-add span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  margin-right: 7px;
  line-height: 1;
  color: #f7ae4d;
  border: 1px solid #f7ae4d;
  font-weight: 900;
}

.hgc-rc-page .hgc-rc-scope h4,
.hgc-root .hgc-proposal-photo-panel summary strong {
  font-size: 20px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

.hgc-rc-page .hgc-rc-scope p,
.hgc-root .hgc-proposal-photo-panel .proposal-media-workspace p {
  font-size: 16px !important;
  line-height: 1.5 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

.hgc-rc-page .hgc-rc-scope button,
.hgc-root .hgc-proposal-photo-panel button {
  font-size: 15.5px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

.hgc-root .hgc-proposal-photo-panel .proposal-media-workspace h3 {
  font-size: 21px !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

.hgc-root .hgc-proposal-photo-panel .proposal-media-workspace [class*="eyebrow"],
.hgc-root .hgc-proposal-photo-panel .proposal-media-workspace header > div > span,
.hgc-root .hgc-proposal-photo-panel summary > div > span {
  font-size: 13px !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

@media (max-width: 1100px) {
  .hgc-rc-page .hgc-rc-repair-grid {
    grid-template-columns: minmax(180px, 1fr) minmax(95px, 1fr) minmax(110px, 1fr) minmax(140px, 1fr);
  }
}

@media (max-width: 680px) {
  .hgc-rc-page .hgc-rc-repair-grid {
    grid-template-columns: 1fr;
  }

  .hgc-rc-page .hgc-rc-repair-line-total {
    text-align: left;
  }
}

/* Roof Coatings option 2: focused scope workspace with notes in context. */
.hgc-root:has(.hgc-rc-page) nav.hgc-flow-nav.hgc-unified-roof-flow {
  display: grid !important;
  grid-template-columns: repeat(7, minmax(118px, 1fr)) !important;
  gap: 0 !important;
  overflow: visible !important;
  padding: 4px 0 16px !important;
  border: 0 !important;
  border-bottom: 1px solid #263a4b !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.hgc-root:has(.hgc-rc-page) .hgc-flow-nav.hgc-unified-roof-flow > button {
  position: relative;
  min-height: 46px !important;
  padding: 7px 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hgc-root:has(.hgc-rc-page) .hgc-flow-nav.hgc-unified-roof-flow > button > b {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 8px;
  border: 1px solid #60768a;
  border-radius: 50%;
  color: #dce7ef;
  background: #071018;
}

.hgc-root:has(.hgc-rc-page) .hgc-flow-nav.hgc-unified-roof-flow > button.active > b {
  border-color: #ff7a00;
  color: #ff9b36;
}

.hgc-root:has(.hgc-rc-page) .hgc-flow-nav.hgc-unified-roof-flow > button.complete > b {
  border-color: #7fca24;
  color: #9ee14a;
}

.hgc-estimator-page.hgc-rc-page > .hgc-rc-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px) !important;
  gap: 16px !important;
  align-items: start !important;
}

.hgc-rc-page .hgc-rc-layout > main {
  display: grid !important;
  align-content: start !important;
  grid-template-rows: none !important;
  grid-auto-rows: max-content !important;
  gap: 12px !important;
  min-width: 0 !important;
}

.hgc-rc-page .hgc-rc-layout > main > .hgc-rc-card,
.hgc-rc-page .hgc-rc-layout > main > .hgc-proposal-photo-panel {
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid #2c4254 !important;
  border-radius: 8px !important;
  background: #07131d !important;
  box-shadow: none !important;
}

.hgc-rc-page .hgc-rc-roof > header,
.hgc-rc-page .hgc-rc-roof > h2 {
  margin-bottom: 10px !important;
}

.hgc-rc-page .hgc-rc-roof .types {
  grid-template-columns: repeat(7, minmax(72px, 1fr)) !important;
  gap: 8px !important;
}

.hgc-rc-page .hgc-rc-roof .types > button {
  min-height: 62px !important;
  padding: 8px 6px !important;
  border-radius: 6px !important;
}

.hgc-rc-page .hgc-rc-roof .metrics {
  gap: 0 !important;
  margin-top: 10px !important;
  border: 1px solid #334b5d !important;
  border-radius: 6px !important;
  overflow: hidden;
}

.hgc-rc-page .hgc-rc-roof .metrics > div {
  min-height: 64px !important;
  padding: 10px 12px !important;
  border-right: 1px solid #334b5d !important;
  background: #081620 !important;
}

.hgc-rc-page .candidate {
  margin-top: 10px !important;
  border-radius: 6px !important;
}

.hgc-rc-page .candidate > div {
  gap: 0 !important;
}

.hgc-rc-page .candidate > div > span {
  min-height: 62px !important;
  padding: 10px 12px !important;
  border-radius: 0 !important;
}

.hgc-rc-page .hgc-candidate-check-icon {
  width: 24px !important;
  height: 24px !important;
  border-width: 1px !important;
}

.hgc-rc-page .hgc-candidate-check-icon svg {
  width: 14px !important;
  height: 14px !important;
}

.hgc-rc-page .hgc-rc-scope {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 10px !important;
  padding: 14px 16px !important;
}

.hgc-rc-page .hgc-rc-scope > div:first-child {
  min-width: 0;
}

.hgc-rc-page .hgc-rc-scope h4 {
  margin: 0 0 8px !important;
  font-size: 18px !important;
}

.hgc-rc-page .hgc-rc-scope > div:first-child > p {
  min-height: 74px;
  max-width: none !important;
  margin: 0 !important;
  padding: 12px 14px;
  border: 1px solid #385267;
  border-radius: 6px;
  color: #dce7ef !important;
  background: #030a10 !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.hgc-rc-page .hgc-rc-scope > nav {
  display: none !important;
}

.hgc-rc-page .hgc-rc-scope > .core-ai-inline:not(.compact),
.hgc-root .hgc-rc-page .hgc-rc-scope.core-ai-scope-host > .core-ai-inline:not(.compact) {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 !important;
}

.hgc-rc-page .hgc-rc-scope .core-ai-inline > button,
.hgc-root .hgc-rc-page .hgc-rc-scope.core-ai-scope-host > .core-ai-inline:not(.compact) > button {
  min-width: 0 !important;
  min-height: 40px !important;
  width: 100% !important;
  padding: 8px 10px !important;
  border: 1px solid #704c91 !important;
  border-radius: 5px !important;
  color: #dfb9ff !important;
  background: #0a131d !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

.hgc-rc-page .hgc-rc-scope .core-ai-inline svg {
  width: 16px !important;
  height: 16px !important;
}

.hgc-rc-page .hgc-rc-overview-notes {
  display: grid;
  gap: 12px;
}

.hgc-rc-page .hgc-rc-overview-notes > header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 0 0 10px;
  border-bottom: 1px solid #263a4b;
}

.hgc-rc-page .hgc-rc-overview-notes > header span {
  display: block;
  margin-bottom: 3px;
  color: #ff9a35;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.hgc-rc-page .hgc-rc-overview-notes h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.hgc-rc-page .hgc-rc-overview-notes > header p {
  margin: 4px 0 0;
  font-size: 13px;
}

.hgc-rc-page .hgc-rc-overview-note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hgc-rc-page .hgc-rc-overview-note-grid > label {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.hgc-rc-page .hgc-rc-note-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.hgc-rc-page .hgc-rc-note-heading b {
  font-size: 13px;
}

.hgc-rc-page .hgc-rc-note-heading em {
  padding: 3px 7px;
  border: 1px solid #385267;
  border-radius: 4px;
  color: #b9c9d5;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.hgc-rc-page .hgc-rc-note-heading em.customer {
  border-color: #3d7532;
  color: #9bdd6a;
}

.hgc-rc-page .hgc-rc-note-heading em.company {
  border-color: #985818;
  color: #ffad51;
}

.hgc-rc-page .hgc-rc-note-heading em.crew {
  border-color: #315d83;
  color: #8dc6f7;
}

.hgc-rc-page .hgc-rc-overview-note-grid textarea {
  min-height: 104px !important;
  width: 100%;
  resize: vertical;
  padding: 11px 12px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

.hgc-rc-page .hgc-rc-overview-note-grid [data-roof-note-count] {
  justify-self: end;
  color: #7f92a1;
  font-size: 10px;
}

.hgc-root:has(.hgc-rc-page) > .hgc-rc-quick-notes,
.hgc-rc-page .hgc-rc-layout > main > .hgc-rc-quick-notes,
.hgc-rc-page .hgc-rc-layout > aside .hgc-price-center,
.hgc-rc-page .hgc-rc-layout > aside .hgc-service-rail-bottom {
  display: none !important;
}

.hgc-rc-page .hgc-rc-layout > aside {
  position: sticky !important;
  top: 16px;
  display: grid !important;
  gap: 0 !important;
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid #32495b !important;
  border-radius: 8px !important;
  background: #07131d !important;
  box-shadow: none !important;
}

.hgc-rc-page .hgc-rc-layout > aside > * {
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid #263a4b !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hgc-rc-page .hgc-rc-completion {
  display: grid;
  gap: 10px;
  padding: 18px !important;
}

.hgc-rc-page .hgc-rc-completion header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hgc-rc-page .hgc-rc-completion header span,
.hgc-rc-page .hgc-rc-completion header strong {
  font-size: 15px;
}

.hgc-rc-page .hgc-rc-completion header strong {
  color: #9ee14a;
}

.hgc-rc-page .hgc-rc-completion progress {
  width: 100%;
  height: 8px;
  border: 0;
  accent-color: #84cc2c;
}

.hgc-rc-page .hgc-rc-completion p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
}

.hgc-rc-page .hgc-rc-layout > aside > aside,
.hgc-rc-page .hgc-rc-summary {
  padding: 18px !important;
}

.hgc-rc-page .hgc-rc-requirements {
  margin: 0 18px 18px !important;
  padding: 14px !important;
  border: 1px solid #b96918 !important;
  border-radius: 6px !important;
  background: #10120f !important;
}

.hgc-rc-page .hgc-rc-review-panel {
  display: grid;
  gap: 16px;
}

.hgc-rc-page .hgc-rc-review-panel > header span {
  color: #ff9a35;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hgc-rc-page .hgc-rc-review-panel > header h2 {
  margin: 4px 0;
}

.hgc-rc-page .hgc-rc-review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, .8fr);
  gap: 12px;
}

.hgc-rc-page .hgc-rc-review-grid > section {
  padding: 14px;
  border: 1px solid #334b5d;
  border-radius: 6px;
  background: #081620;
}

.hgc-rc-page .hgc-rc-review-grid h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.hgc-rc-page .hgc-rc-review-grid p,
.hgc-rc-page .hgc-rc-review-grid li {
  color: #c5d2dc;
  font-size: 13px;
  line-height: 1.5;
}

.hgc-rc-page .hgc-rc-review-grid li.ready {
  color: #9ee14a;
}

.hgc-rc-page .hgc-rc-layout > main > .hgc-rc-bottom-actions {
  display: grid !important;
  grid-template-columns: minmax(140px, .65fr) minmax(220px, 1fr) !important;
  gap: 12px !important;
  padding-top: 12px !important;
}

.hgc-rc-page .hgc-rc-bottom-actions > button,
.hgc-rc-page .hgc-rc-bottom-actions .hgc-rc-flow-actions > button {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 46px !important;
}

.hgc-rc-page:not([data-roof-flow-step="3"]) .hgc-rc-bottom-actions > [data-hgc-rc-action="proposal"] {
  display: none !important;
}

.hgc-rc-page .hgc-rc-bottom-actions .hgc-rc-flow-next {
  border-color: #ff7a00 !important;
  color: #111820 !important;
  background: #ff831c !important;
  box-shadow: none !important;
}

.hgc-rc-page .hgc-rc-bottom-actions .hgc-rc-flow-next:hover,
.hgc-rc-page .hgc-rc-bottom-actions .hgc-rc-flow-next:focus-visible {
  color: #081017 !important;
  background: #ff9b43 !important;
}

.hgc-rc-page input:focus-visible,
.hgc-rc-page textarea:focus-visible,
.hgc-rc-page button:focus-visible {
  outline: 2px solid #ff9a35 !important;
  outline-offset: 2px !important;
}

@media (max-width: 900px) {
  .hgc-root:has(.hgc-rc-page) .hgc-flow-nav.hgc-unified-roof-flow {
    display: flex !important;
    overflow-x: auto !important;
  }

  .hgc-root:has(.hgc-rc-page) .hgc-flow-nav.hgc-unified-roof-flow > button {
    flex: 0 0 170px;
  }

  .hgc-rc-page .hgc-rc-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hgc-rc-page .hgc-rc-layout > aside {
    position: static !important;
  }
}

@media (max-width: 720px) {
  .hgc-rc-page .hgc-rc-roof .types,
  .hgc-rc-page .hgc-rc-scope > .core-ai-inline:not(.compact),
  .hgc-root .hgc-rc-page .hgc-rc-scope.core-ai-scope-host > .core-ai-inline:not(.compact),
  .hgc-rc-page .hgc-rc-overview-note-grid,
  .hgc-rc-page .hgc-rc-review-grid,
  .hgc-rc-page .hgc-rc-layout > main > .hgc-rc-bottom-actions {
    grid-template-columns: 1fr !important;
  }
}

/* Final compact-desktop guardrails must follow the selected-direction block. */
@media (min-width: 901px) and (max-width: 1100px) {
  .app.premium-app:has(.hgc-rc-page) {
    display: grid !important;
    grid-template-columns: 76px minmax(0, 1fr) !important;
    grid-template-rows: minmax(100vh, auto) !important;
    align-items: start !important;
  }

  .app.premium-app:has(.hgc-rc-page) > .crm-sidebar {
    position: sticky !important;
    top: 0 !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: block !important;
    width: 76px !important;
    height: 100vh !important;
    transform: none !important;
  }

  .app.premium-app:has(.hgc-rc-page) > main {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 100vh !important;
  }
}

@media (min-width: 901px) and (max-width: 1180px) {
  .hgc-estimator-page.hgc-rc-page > .hgc-rc-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hgc-rc-page .hgc-rc-layout > aside {
    position: static !important;
  }
}

/* Keep Roof Scope card content inside its own borders. */
.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .types > button {
  grid-template-rows: 42px auto !important;
  align-content: center !important;
  height: auto !important;
  min-height: 78px !important;
  box-sizing: border-box !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .types > button strong {
  display: block !important;
  min-width: 0 !important;
  max-width: 100% !important;
  line-height: 1.2 !important;
  text-align: center !important;
  overflow-wrap: anywhere !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .metrics > div,
.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .metrics dd {
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .metrics input {
  max-width: 100% !important;
}

.hgc-estimator-page.hgc-rc-page .candidate > div > span {
  height: auto !important;
  min-height: 62px !important;
  box-sizing: border-box !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-scope {
  grid-template-rows: auto auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-scope > .core-ai-inline:not(.compact),
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-scope.core-ai-scope-host > .core-ai-inline:not(.compact) {
  height: auto !important;
  min-height: 40px !important;
  max-height: none !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-scope .core-ai-inline > button,
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-scope.core-ai-scope-host > .core-ai-inline:not(.compact) > button {
  height: auto !important;
  min-height: 40px !important;
}

/* Project Notes stays compact, but its working text must remain crisp and readable. */
.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-notes,
.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-notes * {
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
  text-shadow: none !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-notes > header span {
  margin-bottom: 3px !important;
  font-size: 11px !important;
  line-height: 1.25 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-notes > header h3 {
  font-size: 22px !important;
  line-height: 1.2 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid > label {
  grid-template-rows: auto minmax(84px, auto) auto !important;
  gap: 6px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid .hgc-rc-note-heading {
  min-height: 26px !important;
  gap: 8px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid .hgc-rc-note-heading b {
  font-size: 13px !important;
  line-height: 1.25 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid .hgc-rc-note-heading em {
  padding: 3px 7px !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid textarea {
  height: 84px !important;
  min-height: 84px !important;
  padding: 10px 11px !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid [data-roof-note-count] {
  height: auto !important;
  min-height: 14px !important;
  font-size: 10px !important;
  line-height: 1.3 !important;
}

/* Compact, crisp preparation and repair cards in the first roof phase. */
.hgc-estimator-page.hgc-rc-page .hgc-rc-prep,
.hgc-estimator-page.hgc-rc-page .hgc-rc-prep *,
.hgc-estimator-page.hgc-rc-page .hgc-rc-repairs,
.hgc-estimator-page.hgc-rc-page .hgc-rc-repairs * {
  -webkit-font-smoothing: auto !important;
  -moz-osx-font-smoothing: auto !important;
  text-rendering: optimizeLegibility !important;
  text-shadow: none !important;
  filter: none !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-prep > h4,
.hgc-estimator-page.hgc-rc-page .hgc-rc-repairs > h4 {
  font-size: 20px !important;
  line-height: 1.2 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-prep > div {
  gap: 10px 12px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item {
  grid-template-columns: minmax(0, 1fr) 132px !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 72px !important;
  padding: 9px 12px !important;
  box-sizing: border-box !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item > button,
.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item button {
  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 750 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item button svg {
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item label,
.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item label span {
  font-size: 15px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item input {
  min-height: 38px !important;
  height: 38px !important;
  padding: 6px 9px !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
  font-weight: 750 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-repairs {
  gap: 8px !important;
  padding: 12px 14px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-repairs > h4 {
  margin-bottom: 2px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-repairs > p {
  font-size: 14px !important;
  line-height: 1.35 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-repair-item {
  gap: 8px !important;
  padding: 10px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-repair-add {
  min-height: 38px !important;
  font-size: 15px !important;
}

@media (max-width: 760px) {
  .hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item {
    grid-template-columns: 1fr !important;
  }
}

/* Restore Proposal Price directly beneath the roof requirements in the right rail. */
.hgc-estimator-page.hgc-rc-page .hgc-rc-layout > aside > .hgc-price-center {
  order: 3 !important;
  position: static !important;
  inset: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  align-self: stretch !important;
  width: 100% !important;
  max-width: none !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 16px !important;
  box-sizing: border-box !important;
  overflow: visible !important;
  border: 0 !important;
  border-top: 1px solid #293d4d !important;
  border-radius: 0 !important;
  background: #07131d !important;
  box-shadow: none !important;
  transform: none !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-layout > aside > .hgc-price-center > * {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  box-sizing: border-box !important;
}

/* Keep the approved service switcher directly below Proposal Price in the roof rail. */
.hgc-estimator-page.hgc-rc-page .hgc-rc-layout > aside > .hgc-work-service-rail.hgc-service-rail-bottom {
  order: 4 !important;
  display: block !important;
}
/* Keep the roof workspace application header fully inside its own row. */
@media (min-width: 901px) {
  .premium-app:has(.hgc-rc-page) > main > .topbar.handyman-topbar {
    height: auto !important;
    min-height: 74px !important;
    max-height: none !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    overflow: visible !important;
    box-sizing: border-box !important;
  }

  .premium-app:has(.hgc-rc-page) > main > .topbar.handyman-topbar > * {
    align-self: center !important;
  }
}

/* Phone only: stack the working column and summary rail so neither can overlap. */
@media (max-width: 900px) {
  .hgc-estimator-page.hgc-rc-page > .hgc-rc-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  .hgc-estimator-page.hgc-rc-page > .hgc-rc-layout > main,
  .hgc-estimator-page.hgc-rc-page > .hgc-rc-layout > aside {
    grid-column: 1 !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    transform: none !important;
    box-sizing: border-box !important;
  }

  .hgc-estimator-page.hgc-rc-page > .hgc-rc-layout > aside {
    overflow: hidden !important;
  }

  .hgc-estimator-page.hgc-rc-page .hgc-rc-overview-notes,
  .hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid,
  .hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid > label,
  .hgc-estimator-page.hgc-rc-page .hgc-rc-layout > aside > * {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
}
/* Stable preview boot: keep intermediate CRM screens from flashing before Roof Scope is ready. */
html[data-roof-review-entry="booting"],
html[data-roof-review-entry="booting"] body {
  background: #030910 !important;
}

html[data-roof-review-entry="booting"] #app {
  visibility: hidden !important;
  opacity: 0 !important;
}

html[data-roof-review-entry="booting"] body::before {
  content: "Opening Roof Coatings\2026";
  position: fixed;
  inset: 50% auto auto 50%;
  z-index: 2147483647;
  transform: translate(-50%, -50%);
  color: #f7fafc;
  font: 700 18px/1.35 Arial, sans-serif;
  letter-spacing: 0.01em;
}

/* Compact preparation rows: larger work labels without changing quantity controls. */
.hgc-estimator-page.hgc-rc-page .hgc-rc-prep > div {
  gap: 8px 12px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 260px) !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 54px !important;
  padding: 6px 10px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item > button,
.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item button {
  font-size: 18px !important;
  line-height: 1.2 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item > label {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 132px !important;
  align-items: center !important;
  gap: 10px !important;
}

@media (max-width: 760px) {
  .hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item {
    gap: 8px !important;
    padding: 8px 10px !important;
  }
}

/* Crisp, slightly larger preparation task labels. */
.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item > button > span {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif !important;
  font-size: 19px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  color: #f8fbff !important;
  opacity: 1 !important;
  text-shadow: none !important;
  filter: none !important;
  transform: none !important;
  -webkit-font-smoothing: subpixel-antialiased !important;
  -moz-osx-font-smoothing: auto !important;
  text-rendering: optimizeLegibility !important;
}

/* Cohesive typography across the roof estimate workspace. */
.hgc-estimator-page.hgc-rc-page,
.hgc-estimator-page.hgc-rc-page h1,
.hgc-estimator-page.hgc-rc-page h2,
.hgc-estimator-page.hgc-rc-page h3,
.hgc-estimator-page.hgc-rc-page h4,
.hgc-estimator-page.hgc-rc-page p,
.hgc-estimator-page.hgc-rc-page button,
.hgc-estimator-page.hgc-rc-page input,
.hgc-estimator-page.hgc-rc-page select,
.hgc-estimator-page.hgc-rc-page textarea,
.hgc-estimator-page.hgc-rc-page label,
.hgc-estimator-page.hgc-rc-page dt,
.hgc-estimator-page.hgc-rc-page dd,
.hgc-estimator-page.hgc-rc-page small,
.hgc-estimator-page.hgc-rc-page span,
.hgc-estimator-page.hgc-rc-page strong,
.hgc-estimator-page.hgc-rc-page b {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  -webkit-font-smoothing: subpixel-antialiased !important;
  -moz-osx-font-smoothing: auto !important;
  text-rendering: optimizeLegibility !important;
}

.hgc-estimator-page.hgc-rc-page h1,
.hgc-estimator-page.hgc-rc-page h2,
.hgc-estimator-page.hgc-rc-page h3,
.hgc-estimator-page.hgc-rc-page h4,
.hgc-estimator-page.hgc-rc-page strong,
.hgc-estimator-page.hgc-rc-page b,
.hgc-estimator-page.hgc-rc-page button,
.hgc-estimator-page.hgc-rc-page dd {
  font-weight: 700 !important;
}

.hgc-estimator-page.hgc-rc-page label,
.hgc-estimator-page.hgc-rc-page dt,
.hgc-estimator-page.hgc-rc-page small {
  font-weight: 600 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-card > h4,
.hgc-estimator-page.hgc-rc-page .hgc-rc-summary > h4,
.hgc-estimator-page.hgc-rc-page .hgc-rc-requirements > h4 {
  font-size: 20px !important;
  line-height: 1.25 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof > label,
.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item label,
.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item label span {
  font-size: 15px !important;
  line-height: 1.25 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof > .types strong {
  font-size: 15px !important;
  line-height: 1.2 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .metrics dt {
  font-size: 13px !important;
  line-height: 1.25 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .candidate header strong {
  font-size: 16px !important;
  line-height: 1.25 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .candidate small,
.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .candidate b {
  font-size: 14px !important;
  line-height: 1.3 !important;
}

/* Roof Scope typography lock: use the approved CRM type scale and no reveal flash. */
.hgc-estimator-page.hgc-rc-page,
.hgc-estimator-page.hgc-rc-page :where(h1,h2,h3,h4,p,button,input,select,textarea,label,dt,dd,small,span,strong,b) {
  font-family: var(--ifg-font-sans, "Segoe UI", Inter, system-ui, Arial, sans-serif) !important;
  letter-spacing: 0 !important;
  text-shadow: none !important;
  font-synthesis: none !important;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}

.hgc-rc-page .hgc-rc-flow-current-panel {
  animation: none !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof > h4,
.hgc-estimator-page.hgc-rc-page .hgc-rc-prep > h4 {
  font-size: var(--ifg-type-section, 18px) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof > label,
.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .metrics dt,
.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .candidate small,
.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .candidate b,
.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item label,
.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item label > span {
  font-size: var(--ifg-type-body, 14px) !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .types strong,
.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .metrics dd,
.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .metrics input,
.hgc-estimator-page.hgc-rc-page .hgc-rc-roof .candidate header strong,
.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item > button,
.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item > button > span,
.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item input {
  font-size: var(--ifg-type-card, 16px) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}
/* Whole Roof Coatings page semantic type scale. */
.hgc-estimator-page.hgc-rc-page {
  font-size: var(--ifg-type-body, 14px) !important;
  line-height: var(--ifg-leading-body, 1.45) !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-card > h4,
.hgc-estimator-page.hgc-rc-page .hgc-rc-summary > h4,
.hgc-estimator-page.hgc-rc-page .hgc-rc-requirements > h4,
.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-notes > header h3,
.hgc-estimator-page.hgc-rc-page .hgc-rc-review-panel h3,
.hgc-estimator-page.hgc-rc-page .hgc-rc-detail-group h3 {
  font-size: var(--ifg-type-section, 18px) !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-pricing-details h2,
.hgc-estimator-page.hgc-rc-page .hgc-rc-review-panel h2 {
  font-size: var(--ifg-type-page, 24px) !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-notes > header span,
.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid .hgc-rc-note-heading em,
.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid [data-roof-note-count],
.hgc-estimator-page.hgc-rc-page .hgc-rc-details-kicker,
.hgc-estimator-page.hgc-rc-page .hgc-rc-details-status {
  font-size: var(--ifg-type-caption, 12px) !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid .hgc-rc-note-heading b,
.hgc-estimator-page.hgc-rc-page .hgc-rc-overview-note-grid textarea,
.hgc-estimator-page.hgc-rc-page .hgc-rc-system > section dt,
.hgc-estimator-page.hgc-rc-page .hgc-rc-system > section dd,
.hgc-estimator-page.hgc-rc-page .hgc-rc-system > section > p strong,
.hgc-estimator-page.hgc-rc-page .hgc-rc-pricing-details p,
.hgc-estimator-page.hgc-rc-page .hgc-rc-pricing-details label,
.hgc-estimator-page.hgc-rc-page .hgc-rc-pricing-details small,
.hgc-estimator-page.hgc-rc-page .hgc-rc-details-footer,
.hgc-estimator-page.hgc-rc-page .hgc-rc-review-panel p,
.hgc-estimator-page.hgc-rc-page .hgc-rc-review-panel li {
  font-size: var(--ifg-type-body, 14px) !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav button strong,
.hgc-estimator-page.hgc-rc-page .hgc-rc-pricing-details input,
.hgc-estimator-page.hgc-rc-page .hgc-rc-pricing-details select,
.hgc-estimator-page.hgc-rc-page .hgc-rc-pricing-details textarea {
  font-size: var(--ifg-type-card, 16px) !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}
/* Coating System reference match: scoped to this card only. */
.hgc-estimator-page.hgc-rc-page .hgc-rc-system {
  display: block !important;
  padding: 18px !important;
  overflow: hidden !important;
  border: 1px solid #30485a !important;
  border-radius: 10px !important;
  background: #06131f !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system-heading {
  display: block !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system-heading h4 {
  margin: 0 0 5px !important;
  color: #f4f7fa !important;
  font-size: var(--ifg-type-section, 18px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system-heading p {
  margin: 0 !important;
  color: #b6c2cc !important;
  font-size: var(--ifg-type-body, 14px) !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 0 !important;
  background: transparent !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav button {
  --tone: #2f9cff;
  position: relative !important;
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  align-items: center !important;
  justify-items: start !important;
  gap: 12px !important;
  min-width: 0 !important;
  min-height: 88px !important;
  padding: 12px 14px !important;
  overflow: hidden !important;
  border: 1px solid #365166 !important;
  border-radius: 8px !important;
  outline: 0 !important;
  color: #f2f6f9 !important;
  background: #071722 !important;
  box-shadow: none !important;
  text-align: left !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav button:nth-child(-n + 3) {
  --tone: #2f9cff !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav button:nth-child(4) {
  --tone: #ff7a00 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav button:nth-child(5) {
  --tone: #b95cff !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav button:hover,
.hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav button:focus-visible {
  border-color: var(--tone) !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav button.active {
  border-color: var(--tone) !important;
  outline: 1px solid var(--tone) !important;
  outline-offset: -1px !important;
  background: color-mix(in srgb, var(--tone) 8%, #11171c) !important;
  box-shadow: 0 0 18px color-mix(in srgb, var(--tone) 14%, transparent) !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system-icon {
  display: grid !important;
  place-items: center !important;
  width: 52px !important;
  height: 52px !important;
  border: 1px solid var(--tone) !important;
  border-radius: 50% !important;
  color: var(--tone) !important;
  background: #071521 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system-icon svg {
  width: 27px !important;
  height: 27px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav button strong {
  min-width: 0 !important;
  color: #f3f7fa !important;
  font-size: var(--ifg-type-card, 16px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav button > em {
  position: absolute !important;
  top: 8px !important;
  right: 8px !important;
  margin: 0 !important;
  padding: 3px 7px !important;
  border: 1px solid var(--tone) !important;
  border-radius: 5px !important;
  color: var(--tone) !important;
  background: #17130f !important;
  font-size: var(--ifg-type-caption, 12px) !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system-check {
  position: absolute !important;
  right: 10px !important;
  bottom: 8px !important;
  display: grid !important;
  place-items: center !important;
  color: var(--tone) !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system-check svg {
  width: 24px !important;
  height: 24px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-heading {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-heading h5 {
  margin: 0 !important;
  color: #f4f7fa !important;
  font-size: var(--ifg-type-section, 18px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-heading p {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
  color: #b6c2cc !important;
  font-size: var(--ifg-type-body, 14px) !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-heading p svg {
  width: 18px !important;
  height: 18px !important;
  color: #3fa7ff !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 12px !important;
  margin: 0 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  min-height: 318px !important;
  padding: 14px 16px !important;
  border: 1px solid #365166 !important;
  border-radius: 8px !important;
  background: #071722 !important;
  box-sizing: border-box !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-card > header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-height: 42px !important;
  margin: 0 0 8px !important;
  padding: 0 0 9px !important;
  border: 0 !important;
  border-bottom: 1px solid #30485a !important;
  background: transparent !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-card > header h5 {
  margin: 0 !important;
  color: #f4f7fa !important;
  font-size: var(--ifg-type-card, 16px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-card > header > span {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 30px !important;
  padding: 0 9px !important;
  border: 1px solid #1767a0 !important;
  border-radius: 5px !important;
  color: #3fa7ff !important;
  background: #071a29 !important;
  font-size: var(--ifg-type-caption, 12px) !important;
  font-weight: 600 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-card > header > span svg {
  width: 16px !important;
  height: 16px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-card > div,
.hgc-estimator-page.hgc-rc-page .hgc-rc-material-card > footer {
  display: grid !important;
  gap: 8px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-card > footer {
  margin-top: auto !important;
  padding-top: 10px !important;
  border-top: 0 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-card label {
  display: grid !important;
  grid-template-columns: minmax(96px, 1fr) minmax(76px, 120px) minmax(42px, auto) !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  min-height: 38px !important;
  margin: 0 !important;
  color: #cbd5dc !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-card label > span:first-child {
  min-width: 0 !important;
  font-size: var(--ifg-type-body, 14px) !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-control {
  display: block !important;
  min-width: 0 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-control input {
  width: 100% !important;
  min-width: 0 !important;
  min-height: 36px !important;
  padding: 6px 10px !important;
  border: 1px solid #456074 !important;
  border-radius: 6px !important;
  outline: 0 !important;
  color: #f4f7fa !important;
  background: #06131f !important;
  font-family: var(--ifg-font-sans, "Segoe UI", Inter, system-ui, sans-serif) !important;
  font-size: var(--ifg-type-card, 16px) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-control input:focus {
  border-color: #3fa7ff !important;
  box-shadow: 0 0 0 2px rgba(63, 167, 255, .14) !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-pencil {
  display: grid !important;
  place-items: center !important;
  color: #dfeaf1 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-pencil svg {
  width: 16px !important;
  height: 16px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-card label > em {
  min-width: 0 !important;
  color: #e2e9ee !important;
  font-size: var(--ifg-type-body, 14px) !important;
  font-style: normal !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
  text-align: right !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-card label.order > span:first-child {
  color: #f4f7fa !important;
  font-weight: 700 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-card label.order input {
  font-weight: 700 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-material-card label.order > em {
  color: #3fa7ff !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system-totals {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: center !important;
  gap: 0 !important;
  min-height: 92px !important;
  margin: 14px 0 0 !important;
  padding: 10px 16px !important;
  border: 1px solid #365166 !important;
  border-radius: 8px !important;
  background: #071722 !important;
  box-sizing: border-box !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system-totals > div {
  display: grid !important;
  grid-template-columns: 52px minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
  min-width: 0 !important;
  min-height: 66px !important;
  padding: 0 18px !important;
  border-right: 1px solid #30485a !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system-totals > div:last-child {
  border-right: 0 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system-totals > div > span {
  display: grid !important;
  place-items: center !important;
  width: 50px !important;
  height: 50px !important;
  border: 1px solid #2382c6 !important;
  border-radius: 50% !important;
  color: #3fa7ff !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system-totals > div > span svg {
  width: 24px !important;
  height: 24px !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system-totals p {
  margin: 0 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system-totals small {
  display: block !important;
  margin: 0 0 3px !important;
  color: #b6c2cc !important;
  font-size: var(--ifg-type-body, 14px) !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system-totals strong {
  display: block !important;
  color: #3fa7ff !important;
  font-size: var(--ifg-type-page, 24px) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system-totals strong em {
  font-size: var(--ifg-type-body, 14px) !important;
  font-style: normal !important;
  font-weight: 500 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system-status {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 48px !important;
  margin: 14px 0 0 !important;
  padding: 8px 16px !important;
  border: 1px solid #365166 !important;
  border-radius: 8px !important;
  color: #cbd8e0 !important;
  background: #071722 !important;
  font-size: var(--ifg-type-body, 14px) !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  box-sizing: border-box !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-system-status svg {
  width: 25px !important;
  height: 25px !important;
  color: #3fa7ff !important;
}

@media (max-width: 1100px) {
  .hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav button:last-child {
    grid-column: 1 / -1 !important;
  }

  .hgc-estimator-page.hgc-rc-page .hgc-rc-material-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card {
    min-height: 0 !important;
  }
}

@media (max-width: 760px) {
  .hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav,
  .hgc-estimator-page.hgc-rc-page .hgc-rc-system-totals {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav button:last-child {
    grid-column: auto !important;
  }

  .hgc-estimator-page.hgc-rc-page .hgc-rc-material-heading {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 5px !important;
  }

  .hgc-estimator-page.hgc-rc-page .hgc-rc-system-totals > div {
    border-right: 0 !important;
    border-bottom: 1px solid #30485a !important;
  }

  .hgc-estimator-page.hgc-rc-page .hgc-rc-system-totals > div:last-child {
    border-bottom: 0 !important;
  }
}

@media (max-width: 520px) {
  .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card label {
    grid-template-columns: minmax(90px, 1fr) minmax(72px, 108px) 18px !important;
  }

  .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card label > em {
    grid-column: 2 / -1 !important;
    text-align: left !important;
  }
}
/* Preparation cards use the same restrained blue status treatment as the CRM badges. */
.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item,
.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item.active {
  border-color: #315f7d !important;
  background: #071722 !important;
  box-shadow: none !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item > button,
.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item > button > span {
  color: #f4f7fa !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item > button svg {
  color: #48b9ff !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item > label,
.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item > label > span {
  color: #8ecaf0 !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item input {
  border-color: #315f7d !important;
  background: #06131f !important;
  color: #fff !important;
  caret-color: #fff !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-prep-item input:focus {
  border-color: #48b9ff !important;
  outline: 1px solid #48b9ff !important;
  outline-offset: -1px !important;
  box-shadow: 0 0 0 2px rgba(72, 185, 255, .14) !important;
}
/* Additional Repair Details: stable two-field editor. */
.hgc-estimator-page.hgc-rc-page .hgc-rc-repair-list {
  display: grid;
  gap: 8px;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-repair-grid {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) !important;
  gap: 10px 14px !important;
  align-items: end !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-repair-description,
.hgc-estimator-page.hgc-rc-page .hgc-rc-repair-price {
  min-width: 0;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-repair-description input,
.hgc-estimator-page.hgc-rc-page .hgc-rc-repair-price input {
  font-size: 15px !important;
  color: #f4f7fa !important;
  caret-color: #f4f7fa !important;
}

.hgc-estimator-page.hgc-rc-page .hgc-rc-repair-description input:focus,
.hgc-estimator-page.hgc-rc-page .hgc-rc-repair-price .hgc-rc-repair-money:focus-within {
  border-color: #48b9ff !important;
  outline: 1px solid #48b9ff !important;
  outline-offset: -1px !important;
}

@media (max-width: 680px) {
  .hgc-estimator-page.hgc-rc-page .hgc-rc-repair-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Customer-facing scope preview: readable type aligned with the rest of the roof page. */
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-scope h4 {
  font-size: 18px !important;
  line-height: 1.25 !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-scope > div:first-child > p {
  font-size: 14px !important;
  line-height: 1.5 !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-scope .core-ai-inline > button,
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-scope.core-ai-scope-host > .core-ai-inline:not(.compact) > button {
  font-size: 13px !important;
  line-height: 1.3 !important;
}

/* Material Estimates cards: match the approved compact row layout, without edit badges or pencils. */
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card {
  min-height: 318px !important;
  padding: 14px 16px !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card > header {
  min-height: 40px !important;
  margin-bottom: 9px !important;
  padding-bottom: 9px !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card > header h5 {
  font-size: 17px !important;
  line-height: 1.25 !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card > header > span,
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-pencil {
  display: none !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card > div,
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card > footer {
  gap: 7px !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card > footer {
  padding-top: 10px !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card label {
  grid-template-columns: minmax(122px, 1fr) minmax(100px, 132px) minmax(34px, auto) !important;
  gap: 8px !important;
  min-height: 38px !important;
  text-transform: none !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card label > span:first-child {
  color: #d7e0e7 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-control input {
  min-height: 36px !important;
  padding: 6px 10px !important;
  font-size: 15px !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card label > em {
  font-size: 14px !important;
  font-weight: 500 !important;
  text-transform: none !important;
}

@media (max-width: 520px) {
  .hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card label {
    grid-template-columns: minmax(112px, 1fr) minmax(92px, 118px) minmax(30px, auto) !important;
  }

  .hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card label > em {
    grid-column: auto !important;
    text-align: right !important;
  }
}
/* Material inputs and warranty cards: stable, contained layout. */
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav button {
  grid-template-columns: minmax(44px, 52px) minmax(0, 1fr) !important;
  max-width: 100% !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav button strong {
  width: 100% !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-grid,
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card,
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card > div,
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card > footer,
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card label,
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-control {
  min-width: 0 !important;
  max-width: 100% !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card { overflow: hidden !important; }
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card label {
  grid-template-columns: minmax(90px, 1fr) minmax(92px, 120px) 72px !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card label > span:first-child {
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-control input {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card label > em {
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}
@media (max-width: 1180px) {
  .hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  .hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav button:last-child { grid-column: auto !important; }
}
@media (max-width: 620px) {
  .hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav { grid-template-columns: minmax(0, 1fr) !important; }
  .hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card label { grid-template-columns: minmax(90px, 1fr) minmax(82px, 108px) 68px !important; }
}
/* Project photo workspace: crisp type and shared primary-action orange. */
.hgc-root .hgc-rc-page .hgc-proposal-photo-panel,
.hgc-root .hgc-rc-page .hgc-proposal-photo-panel :where(summary, header, h3, p, span, small, strong, button, div) {
  font-family: Inter, "Segoe UI", Arial, sans-serif !important;
  text-rendering: auto !important;
  -webkit-font-smoothing: subpixel-antialiased !important;
  -moz-osx-font-smoothing: auto !important;
  text-shadow: none !important;
  filter: none !important;
  opacity: 1 !important;
}

.hgc-root .hgc-rc-page .hgc-proposal-photo-panel summary strong,
.hgc-root .hgc-rc-page .hgc-proposal-photo-panel .proposal-media-workspace h3 {
  font-weight: 700 !important;
}

.hgc-root .hgc-rc-page .hgc-proposal-photo-panel .proposal-media-workspace p {
  font-weight: 500 !important;
}

.hgc-root .hgc-rc-page .hgc-proposal-photo-panel button,
.hgc-root .hgc-rc-page .hgc-proposal-photo-panel .proposal-media-empty strong {
  font-weight: 700 !important;
}

.hgc-root .hgc-rc-page .hgc-rc-bottom-actions .hgc-rc-flow-next {
  border-color: #f58216 !important;
  background: #f58216 !important;
  color: #071018 !important;
}

.hgc-root .hgc-rc-page .hgc-rc-bottom-actions .hgc-rc-flow-next:hover,
.hgc-root .hgc-rc-page .hgc-rc-bottom-actions .hgc-rc-flow-next:focus-visible {
  border-color: #ff962f !important;
  background: #ff962f !important;
  color: #071018 !important;
}
/* Roof proposal foundation QA942: keep the review grid inside its card without changing the approved visual design. */
.hgc-root .hgc-review-layout,
.hgc-root .hgc-review-list,
.hgc-root .hgc-review-list article,
.hgc-root .hgc-review-list article > div,
.hgc-root .hgc-review-list article > dl {
  min-width: 0;
  max-width: 100%;
}

.hgc-root .hgc-review-layout {
  width: 100%;
}

.hgc-root .hgc-review-list article h4,
.hgc-root .hgc-review-list article p {
  overflow-wrap: anywhere;
}

@media (min-width: 981px) {
  .hgc-root .hgc-review-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  }

  .hgc-root .hgc-review-list article {
    grid-template-columns: 44px minmax(0, 1fr) minmax(210px, .72fr) auto;
  }
}

.hgc-root .hgc-review-layout > .core-ai-inline {
  grid-column: 1 / -1;
}

.hgc-root .hgc-review-layout > .hgc-review-list {
  grid-column: 1;
}

.hgc-root .hgc-review-layout > .hgc-review-total {
  grid-column: 2;
}

@media (max-width: 980px) {
  .hgc-root .hgc-review-layout > .hgc-review-list,
  .hgc-root .hgc-review-layout > .hgc-review-total {
    grid-column: 1;
  }
}

/* QA944: keep the three material cards and their editable number rows aligned. */
@media (min-width: 1101px) {
  .hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-card > div {
    grid-template-rows: repeat(4, minmax(38px, auto)) !important;
  }

  .hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-placeholder {
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

@media (max-width: 1100px) {
  .hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-material-placeholder {
    display: none !important;
  }
}
/* QA945: keep later roof-proposal steps content-sized and keep the active phone step visible. */
html[data-roof-review-entry] .hgc-root {
  min-height: 0 !important;
}

html[data-roof-review-entry] .hgc-review-layout,
html[data-roof-review-entry] .hgc-options-layout,
html[data-roof-review-entry] .hgc-terms-layout,
html[data-roof-review-entry] .hgc-send-layout {
  min-height: 0 !important;
  align-content: start !important;
}

html[data-roof-review-entry] .hgc-review-total,
html[data-roof-review-entry] .hgc-send-panel {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  align-self: start !important;
  overflow: visible !important;
}

html[data-roof-review-entry] .hgc-flow-nav {
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
}

html[data-roof-review-entry] .hgc-flow-nav > button:not([hidden]) {
  scroll-snap-align: center;
}

@media (max-width: 900px) {
  html[data-roof-review-entry] .hgc-root {
    padding-bottom: 108px !important;
  }
}
/* Roof proposal main-page preview and send flow */
.hgc-roof-proposal-actions{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:16px;padding:15px 16px;border:1px solid #2d465a;border-radius:8px;background:#0a151f}
.hgc-roof-proposal-actions>div{display:grid;gap:3px;min-width:0}
.hgc-roof-proposal-actions small{color:#ff7a18;font-size:11px;font-weight:900;letter-spacing:.06em}
.hgc-roof-proposal-actions strong{display:flex;align-items:center;gap:8px;color:#f5f7fa;font-size:17px}
.hgc-roof-proposal-actions strong svg{width:18px;height:18px;color:#22d3ee}
.hgc-roof-proposal-actions span{color:#9cafbe;font-size:12px}
.hgc-roof-proposal-actions nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:9px}
.hgc-roof-proposal-actions button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:9px 13px}
.hgc-roof-send-dialog{width:min(680px,calc(100vw - 28px))}
.hgc-roof-send-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:18px}
.hgc-roof-send-form>label{display:grid;gap:6px;color:#bac6d0;font-size:12px;font-weight:800}
.hgc-roof-send-form>label.wide,.hgc-roof-send-form>fieldset.wide{grid-column:1/-1}
.hgc-roof-send-form input,.hgc-roof-send-form select,.hgc-roof-send-form textarea{width:100%;min-height:42px;padding:9px 10px;border:1px solid #365168;border-radius:6px;background:#08131d;color:#f5f7fa;font:inherit}
.hgc-roof-send-form textarea{min-height:92px;resize:vertical}
.hgc-roof-send-form small{color:#8fa3b4;font-weight:600}
.hgc-roof-send-attachments{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:12px;border:1px solid #294157;border-radius:7px}
.hgc-roof-send-attachments legend{padding:0 5px;color:#bac6d0;font-size:12px;font-weight:900}
.hgc-roof-send-attachments label{display:flex;align-items:center;gap:8px;min-height:38px;padding:7px 10px;border:1px solid #294157;border-radius:6px;background:#091722;color:#dce5ec;font-size:12px;font-weight:800}
.hgc-roof-send-attachments input{width:17px;min-height:17px;height:17px;padding:0;accent-color:#ff7a18}
.hgc-roof-send-dialog>footer{display:flex;justify-content:flex-end;gap:9px;padding:14px 18px;border-top:1px solid #294157}
.hgc-roof-send-dialog>footer button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px}
@media(max-width:700px){.hgc-roof-proposal-actions{align-items:stretch;flex-direction:column}.hgc-roof-proposal-actions nav{display:grid;grid-template-columns:1fr}.hgc-roof-proposal-actions button{width:100%}.hgc-roof-send-form{grid-template-columns:1fr}.hgc-roof-send-form>label.wide,.hgc-roof-send-form>fieldset.wide{grid-column:auto}.hgc-roof-send-dialog>footer{display:grid;grid-template-columns:1fr}.hgc-roof-send-dialog>footer button{width:100%}}
/* Roof proposal phase consolidation: final roofing-only layout rules. */
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-pricing-details {
  padding: 18px !important;
  overflow: hidden !important;
  border-color: #2d465a !important;
  background: #08141e !important;
  box-shadow: none !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-details-head {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin: 0 0 14px !important;
  padding: 0 0 14px !important;
  border-bottom: 1px solid #294157 !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-details-head > div {
  display: grid !important;
  gap: 4px !important;
  min-width: 0 !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-details-kicker {
  color: #ff8a24 !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-details-head h2 {
  margin: 0 !important;
  color: #f5f7fa !important;
  font-size: 22px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-details-head p {
  max-width: 760px !important;
  margin: 0 !important;
  color: #aebdca !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-details-status {
  flex: 0 0 auto !important;
  padding: 5px 8px !important;
  border: 1px solid #315169 !important;
  border-radius: 5px !important;
  color: #8fc8ed !important;
  background: #091722 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  white-space: nowrap !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-list {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-item {
  display: grid !important;
  align-content: start !important;
  gap: 10px !important;
  min-width: 0 !important;
  padding: 12px !important;
  border: 1px solid #30495d !important;
  border-radius: 7px !important;
  background: #091722 !important;
  box-shadow: none !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-item.active {
  border-color: #f58216 !important;
  background: #17130f !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-toggle {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 9px !important;
  min-width: 0 !important;
  margin: 0 !important;
  color: #f5f7fa !important;
  cursor: pointer !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-toggle > input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-toggle > span:first-of-type {
  display: grid !important;
  place-items: center !important;
  width: 22px !important;
  height: 22px !important;
  color: #64aef8 !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-item.active .hgc-rc-condition-toggle > span:first-of-type {
  color: #ff8a24 !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-toggle svg {
  width: 20px !important;
  height: 20px !important;
  stroke-width: 2 !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-toggle > span:last-child {
  display: grid !important;
  gap: 2px !important;
  min-width: 0 !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-toggle b {
  color: #f5f7fa !important;
  font-size: 15px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-toggle small {
  color: #9cafbe !important;
  font-size: 12.5px !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-toggle:focus-within {
  outline: 2px solid #ff8a24 !important;
  outline-offset: 4px !important;
  border-radius: 3px !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-fields {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 172px) !important;
  align-items: end !important;
  gap: 10px !important;
  min-width: 0 !important;
  padding-top: 10px !important;
  border-top: 1px solid #3a352d !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-fields[hidden],
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-warning[hidden],
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-scope-notes[hidden] {
  display: none !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-fields > label {
  display: grid !important;
  gap: 5px !important;
  min-width: 0 !important;
  margin: 0 !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-fields > label > span:first-child {
  color: #b8c5cf !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-fields input {
  width: 100% !important;
  min-width: 0 !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 8px 10px !important;
  border: 1px solid #3a566c !important;
  border-radius: 6px !important;
  background: #020b12 !important;
  color: #f5f7fa !important;
  font-size: 14px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-fields input:focus {
  border-color: #ff8a24 !important;
  outline: 2px solid rgba(255, 138, 36, .32) !important;
  outline-offset: 1px !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-money {
  display: grid !important;
  grid-template-columns: 34px minmax(0, 1fr) !important;
  align-items: center !important;
  min-width: 0 !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-money > b {
  display: grid !important;
  place-items: center !important;
  align-self: stretch !important;
  border: 1px solid #3a566c !important;
  border-right: 0 !important;
  border-radius: 6px 0 0 6px !important;
  background: #0c1a25 !important;
  color: #b8c5cf !important;
  font-size: 14px !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-money > input {
  border-radius: 0 6px 6px 0 !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-details-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-height: 38px !important;
  margin-top: 12px !important;
  padding: 10px 0 0 !important;
  border-top: 1px solid #294157 !important;
  color: #9cafbe !important;
  font-size: 12.5px !important;
  line-height: 1.35 !important;
  font-weight: 700 !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-warning {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  max-width: 100% !important;
  padding: 7px 9px !important;
  border: 1px solid #8b5b18 !important;
  border-radius: 6px !important;
  background: #17130b !important;
  color: #f0c477 !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-warning svg {
  flex: 0 0 auto !important;
  width: 18px !important;
  height: 18px !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-warning strong {
  color: inherit !important;
  font-size: 12.5px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-scope-notes,
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-layout > .hgc-price-center,
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-layout > main > .hgc-price-center,
.hgc-root .hgc-estimator-page.hgc-rc-page > .hgc-price-center {
  display: none !important;
}
.hgc-root:has(nav.hgc-flow-nav.hgc-unified-roof-flow) .hgc-roof-mobile-progress {
  display: none !important;
}
@media (max-width: 900px) {
  .premium-app > main > section.content:has(nav.hgc-flow-nav.hgc-unified-roof-flow),
  .premium-app main .content:has(nav.hgc-flow-nav.hgc-unified-roof-flow) {
    padding-bottom: calc(132px + env(safe-area-inset-bottom)) !important;
  }
  .hgc-root nav.hgc-flow-nav.hgc-unified-roof-flow {
    display: block !important;
    min-height: 0 !important;
    margin: 0 0 10px !important;
    padding: 0 !important;
    overflow: visible !important;
    border: 0 !important;
    background: transparent !important;
    scroll-snap-type: none !important;
  }
  .hgc-root nav.hgc-flow-nav.hgc-unified-roof-flow > button {
    display: none !important;
  }
  .hgc-root:has(nav.hgc-flow-nav.hgc-unified-roof-flow) .hgc-roof-mobile-progress {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    min-height: 58px !important;
    padding: 10px 12px !important;
    border: 1px solid #2d465a !important;
    border-radius: 7px !important;
    background: #08141e !important;
    color: #f5f7fa !important;
    box-shadow: none !important;
  }
  .hgc-root:has(nav.hgc-flow-nav.hgc-unified-roof-flow) .hgc-roof-mobile-progress > div {
    display: grid !important;
    gap: 2px !important;
    min-width: 0 !important;
  }
  .hgc-root:has(nav.hgc-flow-nav.hgc-unified-roof-flow) .hgc-roof-mobile-progress small,
  .hgc-root:has(nav.hgc-flow-nav.hgc-unified-roof-flow) .hgc-roof-mobile-progress span {
    color: #9cafbe !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
  }
  .hgc-root:has(nav.hgc-flow-nav.hgc-unified-roof-flow) .hgc-roof-mobile-progress strong {
    overflow: hidden !important;
    color: #f5f7fa !important;
    font-size: 16px !important;
    line-height: 1.3 !important;
    font-weight: 800 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .hgc-root:has(nav.hgc-flow-nav.hgc-unified-roof-flow) .hgc-roof-mobile-progress b {
    display: inline-grid !important;
    place-items: center !important;
    min-width: 34px !important;
    height: 34px !important;
    padding: 0 8px !important;
    border: 1px solid #f58216 !important;
    border-radius: 17px !important;
    color: #ff9b36 !important;
    background: #17130f !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
  }
  .hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-pricing-details {
    padding: 14px !important;
  }
  .hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-details-head {
    display: grid !important;
    gap: 10px !important;
  }
  .hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-details-status {
    justify-self: start !important;
  }
  .hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-list,
  .hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-fields {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  .hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-details-footer {
    align-items: stretch !important;
    flex-direction: column !important;
  }
  .hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-condition-warning {
    width: 100% !important;
  }
}

/* Roof proposal phone header: keep history, workspace, and sign-out in one clean row. */
@media (max-width: 700px) {
  .premium-app:has(nav.hgc-flow-nav.hgc-unified-roof-flow) > main > .topbar.handyman-topbar {
    grid-template-columns: 44px 88px minmax(0, 1fr) !important;
    gap: 8px !important;
    min-height: 64px !important;
    padding: 10px 12px !important;
    overflow: visible !important;
  }
  .premium-app:has(nav.hgc-flow-nav.hgc-unified-roof-flow) .handyman-topbar .topbar-page-title {
    display: block !important;
    width: 88px !important;
    min-width: 0 !important;
  }
  .premium-app:has(nav.hgc-flow-nav.hgc-unified-roof-flow) .handyman-topbar .topbar-title-copy,
  .premium-app:has(nav.hgc-flow-nav.hgc-unified-roof-flow) .topbar-actions .cruz-page-review-launch {
    display: none !important;
  }
  .premium-app:has(nav.hgc-flow-nav.hgc-unified-roof-flow) .handyman-topbar-history {
    display: grid !important;
    grid-template-columns: repeat(2, 40px) !important;
    gap: 6px !important;
    width: 86px !important;
  }
  .premium-app:has(nav.hgc-flow-nav.hgc-unified-roof-flow) .topbar-actions {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    width: auto !important;
    min-width: 0 !important;
  }
  .premium-app:has(nav.hgc-flow-nav.hgc-unified-roof-flow) .workspace-switcher,
  .premium-app:has(nav.hgc-flow-nav.hgc-unified-roof-flow) .workspace-current {
    width: 128px !important;
    min-width: 0 !important;
    max-width: 128px !important;
  }
  .premium-app:has(nav.hgc-flow-nav.hgc-unified-roof-flow) .workspace-current {
    min-height: 44px !important;
    padding: 5px 8px !important;
  }
  .premium-app:has(nav.hgc-flow-nav.hgc-unified-roof-flow) .workspace-current span {
    font-size: 9px !important;
  }
  .premium-app:has(nav.hgc-flow-nav.hgc-unified-roof-flow) .workspace-current strong {
    overflow: hidden !important;
    font-size: 12px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }
  .premium-app:has(nav.hgc-flow-nav.hgc-unified-roof-flow) .topbar-actions .signout {
    display: inline-grid !important;
    place-items: center !important;
    width: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
  }
}

/* Roof proposal consolidated review: one document flow plus one financial summary. */
.hgc-roof-review-page,
.hgc-roof-review-page * {
  box-sizing: border-box;
}

.hgc-roof-review-page {
  min-width: 0;
  color: #f4f7fa;
  background: #02080d;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.hgc-roof-review-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 310px);
  align-items: start;
  gap: 18px;
  width: 100%;
  min-width: 0;
}

.hgc-roof-review-main {
  display: block;
  min-width: 0;
  border-top: 1px solid #294157;
}

.hgc-roof-review-section {
  min-width: 0;
  margin: 0;
  padding: 22px 0 24px;
  border: 0;
  border-bottom: 1px solid #294157;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hgc-roof-review-section > header {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  min-width: 0;
  margin: 0 0 16px;
  padding: 0 2px;
  border: 0;
  background: transparent;
}

.hgc-roof-review-section > header > :first-child:not(div) {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #ff7a18;
  border-radius: 50%;
  color: #ff9a35;
  background: #17130f;
  font-size: 13px;
  line-height: 1;
  font-weight: 900;
}

.hgc-roof-review-section > header > div {
  min-width: 0;
}

.hgc-roof-review-section > header h2,
.hgc-roof-review-section > header h3,
.hgc-roof-review-section > header h4 {
  margin: 0;
  color: #f5f7fa;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: 0;
}

.hgc-roof-review-section > header p,
.hgc-roof-review-section > header small,
.hgc-roof-review-section > header > div > span {
  display: block;
  margin: 3px 0 0;
  color: #9cafbe;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}

.hgc-roof-review-page .hgc-review-list {
  display: grid;
  gap: 0;
  min-width: 0;
  border-top: 1px solid #203544;
}

.hgc-roof-review-page .hgc-review-list article {
  min-width: 0;
  padding: 14px 2px;
  border: 0;
  border-bottom: 1px solid #203544;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hgc-roof-review-page .hgc-review-list article:last-child {
  border-bottom: 0;
}

.hgc-roof-review-page .hgc-review-list article > div,
.hgc-roof-review-page .hgc-review-list article > dl,
.hgc-roof-review-page .hgc-review-list article h4,
.hgc-roof-review-page .hgc-review-list article p {
  min-width: 0;
  max-width: 100%;
}

.hgc-roof-review-page .hgc-review-list article h4,
.hgc-roof-review-page .hgc-review-list article p {
  overflow-wrap: anywhere;
}

.hgc-roof-review-page .hgc-option-list {
  display: grid;
  gap: 0;
  min-width: 0;
  border-top: 1px solid #203544;
}

.hgc-roof-review-page .hgc-option-list > button {
  min-width: 0;
  min-height: 72px;
  padding: 12px 8px 12px 12px;
  border: 0;
  border-bottom: 1px solid #203544;
  border-left: 3px solid var(--tone, #22d3ee);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hgc-roof-review-page .hgc-option-list > button:last-child {
  border-bottom: 0;
}

.hgc-roof-review-page .hgc-option-list > button.selected {
  background: color-mix(in srgb, var(--tone, #22d3ee) 7%, transparent);
}

.hgc-roof-review-page .hgc-option-list > button:hover,
.hgc-roof-review-page .hgc-option-list > button:focus-visible {
  background: color-mix(in srgb, var(--tone, #22d3ee) 10%, transparent);
  outline: 2px solid color-mix(in srgb, var(--tone, #22d3ee) 50%, transparent);
  outline-offset: -2px;
}

.hgc-roof-review-page .hgc-terms-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-width: 0;
}

.hgc-roof-review-page .hgc-terms-layout > section {
  min-width: 0;
  gap: 10px;
}

.hgc-roof-review-page .hgc-terms-layout > section > label,
.hgc-roof-review-page .hgc-terms-layout > section > .hgc-toggle-row {
  min-width: 0;
  min-height: 104px;
  padding: 12px 8px;
  border: 0;
  border-bottom: 1px solid #294157;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.hgc-roof-review-page input,
.hgc-roof-review-page select,
.hgc-roof-review-page textarea,
.hgc-roof-review-page button {
  font-family: inherit;
}

.hgc-roof-review-summary {
  position: sticky;
  top: 12px;
  align-self: start;
  min-width: 0;
  padding: 16px;
  border: 1px solid #2d465a;
  border-top: 3px solid #ff7a18;
  border-radius: 8px;
  background: #08141e;
  box-shadow: none;
}

.hgc-roof-review-summary h3,
.hgc-roof-review-summary h4 {
  margin: 0 0 12px;
  color: #f5f7fa;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
}

.hgc-roof-review-summary > p,
.hgc-roof-review-summary > small {
  color: #9cafbe;
  line-height: 1.4;
}

.hgc-roof-review-summary > p:first-child {
  color: #ff8a24;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
}

.hgc-roof-review-summary > strong {
  display: block;
  margin: 4px 0 12px;
  color: #ff8a24;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 900;
}

.hgc-roof-review-summary dl {
  display: grid;
  margin: 12px 0;
}

.hgc-roof-review-summary dl > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #294157;
}

.hgc-roof-review-summary dt {
  color: #9cafbe;
}

.hgc-roof-review-summary dd {
  min-width: 0;
  margin: 0;
  color: #f5f7fa;
  font-weight: 850;
  text-align: right;
  overflow-wrap: anywhere;
}

.hgc-roof-review-summary button {
  width: 100%;
  min-height: 44px;
}

.hgc-roof-review-page .hgc-roof-proposal-actions {
  align-items: center;
  margin: 0;
  padding: 18px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Final Roof Review customer preview matches the transparent approval action. */
.hgc-root .hgc-roof-review-page .hgc-roof-proposal-actions nav > button[data-hgc-action="customer-preview"] {
  border-color: #4d98ff !important;
  background: rgba(77, 152, 255, .10) !important;
  color: #d8e9ff !important;
  box-shadow: none !important;
}

.hgc-root .hgc-roof-review-page .hgc-roof-proposal-actions nav > button[data-hgc-action="customer-preview"]:hover,
.hgc-root .hgc-roof-review-page .hgc-roof-proposal-actions nav > button[data-hgc-action="customer-preview"]:focus-visible {
  border-color: #82b8ff !important;
  outline: 0 !important;
  background: rgba(77, 152, 255, .18) !important;
  color: #fff !important;
  box-shadow: 0 0 0 2px rgba(77, 152, 255, .18) !important;
}

@media (max-width: 980px) {
  .hgc-roof-review-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .hgc-roof-review-summary {
    position: static;
    top: auto;
    width: 100%;
  }
}

@media (max-width: 700px) {
  .hgc-root:has(.hgc-roof-review-page) {
    padding-bottom: calc(132px + env(safe-area-inset-bottom)) !important;
  }

  .hgc-roof-review-page,
  .hgc-roof-review-shell,
  .hgc-roof-review-main,
  .hgc-roof-review-section,
  .hgc-roof-review-summary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  .hgc-roof-review-page {
    overflow-x: clip;
  }

  .hgc-roof-review-shell {
    gap: 14px;
  }

  .hgc-roof-review-section {
    padding: 18px 0 20px;
  }

  .hgc-roof-review-section > header {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    margin-bottom: 13px;
  }

  .hgc-roof-review-section > header h2,
  .hgc-roof-review-section > header h3,
  .hgc-roof-review-section > header h4 {
    font-size: 18px;
  }

  .hgc-roof-review-page button,
  .hgc-roof-review-page select,
  .hgc-roof-review-page input:not([type="checkbox"]):not([type="radio"]) {
    min-height: 44px;
  }

  .hgc-roof-review-page textarea {
    min-height: 96px;
  }

  .hgc-roof-review-page .hgc-review-list article {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding: 13px 0;
  }

  .hgc-roof-review-page .hgc-review-list article > dl,
  .hgc-roof-review-page .hgc-review-list article > button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .hgc-roof-review-page .hgc-option-list > button {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 9px;
    min-height: 76px;
    padding: 12px 4px 12px 10px;
  }

  .hgc-roof-review-page .hgc-option-list > button > strong,
  .hgc-roof-review-page .hgc-option-list > button > i {
    grid-column: 2;
  }

  .hgc-roof-review-page .hgc-terms-layout > section {
    grid-template-columns: minmax(0, 1fr);
  }

  .hgc-roof-review-page .hgc-terms-layout > section > label,
  .hgc-roof-review-page .hgc-terms-layout > section > .hgc-toggle-row {
    width: 100%;
    min-height: 0;
  }

  .hgc-roof-review-summary {
    padding: 14px;
  }

  .hgc-roof-review-page .hgc-roof-proposal-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 13px;
  }

  .hgc-roof-review-page .hgc-roof-proposal-actions nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .hgc-roof-review-page .hgc-roof-proposal-actions button {
    width: 100%;
    min-height: 44px;
  }
}

/* Scope preview growth: show the complete contractor scope without clipping. */
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-scope,
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-scope > div:first-child {
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: visible !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-scope > div:first-child > p {
  display: block !important;
  height: auto !important;
  min-height: 58px !important;
  max-height: none !important;
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  -webkit-line-clamp: unset !important;
}
/* Editable customer-facing roof scope: larger working area with content-driven growth. */
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-scope > div:first-child > textarea[data-hgc-rc-scope] {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 96px !important;
  height: auto;
  max-height: none !important;
  padding: 12px 14px !important;
  border: 1px solid #385267 !important;
  border-radius: 6px !important;
  outline: none;
  background: #030a10 !important;
  color: #dce7ef !important;
  caret-color: #f4f7fa !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  white-space: pre-wrap !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
  resize: vertical;
  field-sizing: content;
}

.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-scope > div:first-child > textarea[data-hgc-rc-scope]:focus {
  border-color: #48b9ff !important;
  outline: 1px solid #48b9ff !important;
  outline-offset: -1px !important;
}

@media (max-width: 720px) {
  .hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-scope > div:first-child > textarea[data-hgc-rc-scope] {
    min-height: 112px !important;
    padding: 12px !important;
    font-size: 16px !important;
  }
}
/* Roofing review decision station: signed or signature-free approval. */
.hgc-roof-review-decision {
  display: grid;
  gap: 13px;
  min-width: 0;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #294157;
}

.hgc-roof-review-decision > header {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-width: 0;
}

.hgc-roof-review-decision > header > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #00d7ff;
  border-radius: 50%;
  color: #b9f5ff;
  background: rgba(0, 215, 255, .10);
}

.hgc-roof-review-decision > header svg,
.hgc-roof-review-decision button svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hgc-roof-review-decision > header div {
  min-width: 0;
}

.hgc-roof-review-decision > header small {
  display: block;
  color: #8fa5b5;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 850;
  letter-spacing: .04em;
}

.hgc-roof-review-decision > header strong {
  display: block;
  margin-top: 3px;
  color: #f5f7fa;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 850;
}

.hgc-roof-review-decision > header p {
  margin: 4px 0 0;
  color: #9cafbe;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.hgc-roof-review-decision-actions {
  display: grid;
  gap: 9px;
}

.hgc-roof-review-summary .hgc-roof-review-decision-actions > button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 850;
}

.hgc-roof-review-summary .hgc-roof-approve-signature {
  border: 1px solid #00d7ff;
  color: #b9f5ff;
  background: rgba(0, 215, 255, .10);
}

.hgc-roof-review-summary .hgc-roof-approve-signature:hover,
.hgc-roof-review-summary .hgc-roof-approve-signature:focus-visible {
  color: #fff;
  background: rgba(0, 215, 255, .18);
  outline: 2px solid rgba(0, 215, 255, .28);
  outline-offset: 2px;
}

.hgc-roof-review-summary .hgc-roof-approve-no-signature {
  border: 1px solid #b85cff;
  color: #ebccff;
  background: rgba(184, 92, 255, .10);
}

.hgc-roof-review-summary .hgc-roof-approve-no-signature:hover,
.hgc-roof-review-summary .hgc-roof-approve-no-signature:focus-visible {
  color: #fff;
  background: rgba(184, 92, 255, .18);
  outline: 2px solid rgba(184, 92, 255, .28);
  outline-offset: 2px;
}

.hgc-roof-review-decision.is-approved > header > span {
  border-color: #2fce69;
  color: #8ff0aa;
  background: #082116;
}

.hgc-roof-decision-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 1px solid #2fce69;
  border-radius: 6px;
  color: #9af4b4;
  background: #082116;
  font-size: 13px;
  font-weight: 850;
}
/* Roof review CTA matches the shared Add project photos action. */
.hgc-root .hgc-rc-page .hgc-rc-bottom-actions .hgc-rc-flow-next {
  border-color: var(--if-orange, var(--orange, #e56a10)) !important;
  background: var(--if-orange, var(--orange, #e56a10)) !important;
  color: #090d12 !important;
  font-family: Inter, "Segoe UI", Arial, sans-serif !important;
  font-size: 15.5px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
  transform: none !important;
}

.hgc-root .hgc-rc-page .hgc-rc-bottom-actions .hgc-rc-flow-next:hover,
.hgc-root .hgc-rc-page .hgc-rc-bottom-actions .hgc-rc-flow-next:focus-visible {
  border-color: #c95b0d !important;
  background: #c95b0d !important;
  color: #090d12 !important;
}
/* Restored Roof Pricing Details step. */
.hgc-root:has(.hgc-rc-page) nav.hgc-flow-nav.hgc-unified-roof-flow,
.hgc-root:has(.hgc-roof-review-page) nav.hgc-flow-nav.hgc-unified-roof-flow,
.hgc-root nav.hgc-flow-nav.hgc-unified-roof-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-rc-pricing-details .hgc-rc-scope-notes {
  display: block !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-rc-pricing-details .hgc-rc-details-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-rc-pricing-details .hgc-rc-details-footer > div:first-child {
  display: grid !important;
  gap: 3px !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-rc-pricing-details .hgc-rc-details-footer small {
  color: #9cafbe !important;
  font-size: inherit !important;
  line-height: inherit !important;
}
/* Pricing Details: review setup moved directly below Crew Notes. */
.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-width: 0 !important;
  margin-top: 18px !important;
  border-top: 1px solid #294157 !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-review-list,
.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-option-list {
  display: grid !important;
  gap: 0 !important;
  min-width: 0 !important;
  border-top: 1px solid #203544 !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-review-list article {
  min-width: 0 !important;
  padding: 14px 2px !important;
  border: 0 !important;
  border-bottom: 1px solid #203544 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-review-list article:last-child {
  border-bottom: 0 !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-review-list article > div,
.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-review-list article > dl,
.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-review-list article h4,
.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-review-list article p {
  min-width: 0 !important;
  max-width: 100% !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-review-list article h4,
.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-review-list article p {
  overflow-wrap: anywhere !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-option-list > button {
  min-width: 0 !important;
  min-height: 72px !important;
  padding: 12px 8px 12px 12px !important;
  border: 0 !important;
  border-bottom: 1px solid #203544 !important;
  border-left: 3px solid var(--tone, #22d3ee) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-option-list > button:last-child {
  border-bottom: 0 !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-option-list > button.selected {
  background: color-mix(in srgb, var(--tone, #22d3ee) 7%, transparent) !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-option-list > button:hover,
.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-option-list > button:focus-visible {
  background: color-mix(in srgb, var(--tone, #22d3ee) 10%, transparent) !important;
  outline: 2px solid color-mix(in srgb, var(--tone, #22d3ee) 50%, transparent) !important;
  outline-offset: -2px !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-terms-layout {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  min-width: 0 !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-terms-layout > section {
  min-width: 0 !important;
  gap: 10px !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-terms-layout > section > label,
.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-terms-layout > section > .hgc-toggle-row {
  min-width: 0 !important;
  min-height: 104px !important;
  padding: 12px 8px !important;
  border: 0 !important;
  border-bottom: 1px solid #294157 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block input,
.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block select,
.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block button {
  font-family: inherit !important;
}

.hgc-roof-review-final-shell {
  grid-template-columns: minmax(270px, 380px) !important;
  justify-content: end !important;
}

@media (max-width: 980px) {
  .hgc-roof-review-final-shell {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

@media (max-width: 700px) {
  .hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block,
  .hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-roof-review-section {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-review-list article {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 10px !important;
    padding: 13px 0 !important;
  }

  .hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-review-list article > dl,
  .hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-review-list article > button {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100% !important;
  }

  .hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-option-list > button {
    grid-template-columns: 42px minmax(0, 1fr) !important;
    gap: 9px !important;
    min-height: 76px !important;
    padding: 12px 4px 12px 10px !important;
  }

  .hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-option-list > button > strong,
  .hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-option-list > button > i {
    grid-column: 2 !important;
  }

  .hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-terms-layout > section {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-terms-layout > section > label,
  .hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-terms-layout > section > .hgc-toggle-row {
    width: 100% !important;
    min-height: 0 !important;
  }
}
/* Compact Coating System choices without changing the surrounding page. */
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav {
  gap: 10px !important;
  margin-bottom: 16px !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav button {
  grid-template-columns: 42px minmax(0, 1fr) !important;
  gap: 9px !important;
  min-height: 74px !important;
  padding: 9px 11px !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-system-icon {
  width: 42px !important;
  height: 42px !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-system-icon svg {
  width: 22px !important;
  height: 22px !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-system > nav button strong {
  font-size: 15px !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-system-check {
  right: 8px !important;
  bottom: 6px !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-system-check svg {
  width: 20px !important;
  height: 20px !important;
}
/* Roof photo workspace already has one visible title in its enclosing panel. */
.hgc-root:has(.hgc-estimator-page.hgc-rc-page) .hgc-proposal-photo-panel .proposal-media-workspace > header small,
.hgc-root:has(.hgc-estimator-page.hgc-rc-page) .hgc-proposal-photo-panel .proposal-media-workspace > header h3 {
  display: none !important;
}
/* Approved Pricing Details card alignment for options and approval terms. */
.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block {
  display: grid !important;
  gap: 14px !important;
  margin-top: 18px !important;
  padding: 0 !important;
  border-top: 0 !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-roof-review-section {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid #294052 !important;
  border-radius: 12px !important;
  background: #050b11 !important;
  box-shadow: none !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-roof-review-section > header {
  grid-template-columns: 30px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 11px !important;
  margin: 0 0 15px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-roof-review-section > header > :first-child:not(div) {
  width: 30px !important;
  height: 30px !important;
  border-radius: 9px !important;
  color: #ff971f !important;
  background: #29190d !important;
  font-size: 14px !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-roof-review-section > header > div > p {
  margin: 0 0 3px !important;
  color: #96adbd !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
  letter-spacing: .02em !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-roof-review-section > header h3 {
  margin: 0 !important;
  font-size: 20px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
}

.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-roof-review-section > header > div > span {
  margin: 4px 0 0 !important;
  color: #96adbd !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  font-weight: 600 !important;
}

@media (max-width: 700px) {
  .hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block {
    gap: 12px !important;
  }

  .hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-roof-review-section {
    padding: 14px !important;
  }

  .hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-roof-review-section > header {
    margin-bottom: 13px !important;
  }

  .hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-roof-review-section > header h3 {
    font-size: 18px !important;
  }

  .hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-roof-review-section > header > div > span {
    font-size: 13px !important;
  }
}
/* Roof scope hierarchy and cohesive proposal type scale 20260806qa965. */
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-roof-system-card{padding:16px!important;border-color:#2f4a5e!important;border-radius:10px!important;background:#07141f!important;box-shadow:none!important}
.hgc-root .hgc-estimator-page.hgc-rc-page .hgc-rc-roof-system-card>h4{font-size:18px!important;line-height:1.25!important;font-weight:750!important}
.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-roof-review-section>header h3{font-size:18px!important;line-height:1.25!important}
.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-roof-review-section>header>div>span{font-size:13px!important;line-height:1.35!important}
.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-option-list>button h4{margin:0 0 2px!important;font-size:17px!important;line-height:1.25!important;font-weight:725!important}
.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-option-list>button p{font-size:13px!important;line-height:1.35!important}
.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-option-list>button>strong{font-size:15px!important}
@media(max-width:700px){.hgc-root .hgc-estimator-page.hgc-rc-page[data-roof-flow-step="1"] .hgc-roof-pricing-review-block .hgc-option-list>button h4{font-size:16px!important}}
/* Final Review Estimate shows the complete roofing price stack 20260806qa966. */
.hgc-roof-review-final-shell{grid-template-columns:minmax(0,1fr) minmax(330px,380px)!important;justify-content:stretch!important;align-items:start!important}
.hgc-roof-review-pricing{display:grid;gap:14px;min-width:0}
.hgc-roof-review-pricing-card{min-width:0;padding:16px;border:1px solid #2d465a;border-radius:9px;background:#08141e;box-shadow:none}
.hgc-roof-review-pricing-card>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px;padding-bottom:12px;border-bottom:1px solid #294157}
.hgc-roof-review-pricing-card>header small{display:block;margin-bottom:3px;color:#ff8a24;font-size:10px;font-weight:900;letter-spacing:.04em}
.hgc-roof-review-pricing-card>header h3{margin:0;color:#f5f7fa;font-size:18px;line-height:1.25;font-weight:800}
.hgc-roof-review-pricing-card>header p{margin:4px 0 0;color:#9cafbe;font-size:13px;line-height:1.35}
.hgc-roof-review-pricing-card>header button{display:inline-flex;align-items:center;gap:6px;min-height:38px;padding:7px 11px;white-space:nowrap}
.hgc-roof-review-pricing-card>header button svg{width:16px;height:16px}
.hgc-roof-price-components{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1px 18px}
.hgc-roof-price-components>article{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;min-width:0;padding:11px 0;border-bottom:1px solid #203544}
.hgc-roof-price-components>article>span{display:grid;place-items:center;width:34px;height:34px;border:1px solid currentColor;border-radius:50%}
.hgc-roof-price-components>article>span svg{width:17px;height:17px}
.hgc-roof-price-components>article>span.cyan{color:#22d3ee}.hgc-roof-price-components>article>span.purple{color:#b85cff}.hgc-roof-price-components>article>span.orange{color:#ff8618}.hgc-roof-price-components>article>span.lime{color:#8bea12}.hgc-roof-price-components>article>span.pink{color:#ff4d87}
.hgc-roof-price-components>article>div{display:grid;min-width:0;gap:2px}.hgc-roof-price-components>article>div strong{overflow-wrap:anywhere;color:#eef4f8;font-size:14px}.hgc-roof-price-components>article>div small{color:#91a6b6;font-size:11px}.hgc-roof-price-components>article>b{color:#fff;font-size:15px;white-space:nowrap}
.hgc-roof-cost-breakdown>footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding:13px 14px;border:1px solid #00d7ff;border-radius:7px;background:rgba(0,215,255,.07);color:#c6f7ff}.hgc-roof-cost-breakdown>footer span{font-size:13px;font-weight:750}.hgc-roof-cost-breakdown>footer strong{font-size:20px}
.hgc-roof-review-pricing-lower{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:14px;min-width:0}
.hgc-roof-itemized-pricing ul,.hgc-roof-proposal-totals dl{display:grid;margin:0;padding:0;list-style:none}
.hgc-roof-itemized-pricing li,.hgc-roof-proposal-totals dl>div{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #203544}
.hgc-roof-itemized-pricing li:last-child,.hgc-roof-proposal-totals dl>div:last-child{border-bottom:0}.hgc-roof-itemized-pricing li span,.hgc-roof-proposal-totals dt{min-width:0;color:#aab9c5;overflow-wrap:anywhere}.hgc-roof-itemized-pricing li strong,.hgc-roof-proposal-totals dd{margin:0;color:#f5f7fa;font-weight:850;text-align:right;white-space:nowrap}.hgc-roof-itemized-pricing li.empty span{color:#91a6b6}
.hgc-roof-proposal-totals dl>div.total{margin-top:4px;padding:13px 0;border-top:1px solid #00d7ff}.hgc-roof-proposal-totals dl>div.total dt,.hgc-roof-proposal-totals dl>div.total dd{color:#45e7ff;font-size:17px;font-weight:900}
@media(max-width:980px){.hgc-roof-review-final-shell{grid-template-columns:minmax(0,1fr)!important}.hgc-roof-review-summary{position:static}}
@media(max-width:620px){.hgc-roof-review-pricing-card{padding:13px}.hgc-roof-review-pricing-card>header{flex-direction:column}.hgc-roof-review-pricing-card>header button{width:100%;justify-content:center}.hgc-roof-price-components{grid-template-columns:minmax(0,1fr)}.hgc-roof-review-pricing-lower{grid-template-columns:minmax(0,1fr)}}
/* Review Estimate shortcuts stay visible without colliding with the title 20260806qa967. */
.hgc-roof-review-page .hgc-page-title{align-items:flex-start!important;gap:18px!important}
.hgc-roof-review-page .hgc-page-title>div{flex:1 1 420px;min-width:0}
.hgc-roof-review-header-actions{flex:0 1 auto;max-width:100%}
.hgc-roof-review-header-actions .review-back{white-space:nowrap}
@media(max-width:1180px){.hgc-roof-review-page .hgc-page-title{align-items:stretch!important;flex-direction:column!important}.hgc-roof-review-header-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}.hgc-roof-review-header-actions>button{width:100%}}
@media(max-width:560px){.hgc-roof-review-header-actions{grid-template-columns:minmax(0,1fr)}}
/* Review Estimate field-readability layout 20260806qa968. */
.hgc-roof-review-page .hgc-roof-service-pricing>header{margin-bottom:0}
.hgc-roof-service-price-list{display:grid}
.hgc-roof-service-price-row{display:grid;grid-template-columns:42px minmax(180px,1fr) minmax(120px,auto) auto;align-items:center;gap:12px;min-width:0;padding:13px 0;border-bottom:1px solid #203544}
.hgc-roof-service-price-row:last-child{border-bottom:0}
.hgc-roof-service-price-row>span{display:grid;place-items:center;width:36px;height:36px;border:1px solid currentColor;border-radius:50%}
.hgc-roof-service-price-row>span svg{width:18px;height:18px}
.hgc-roof-service-price-row>span.cyan{color:#22d3ee}.hgc-roof-service-price-row>span.purple{color:#b85cff}.hgc-roof-service-price-row>span.orange{color:#ff8618}.hgc-roof-service-price-row>span.lime{color:#8bea12}.hgc-roof-service-price-row>span.pink{color:#ff4d87}.hgc-roof-service-price-row>span.gold{color:#ffd400}.hgc-roof-service-price-row>span.blue{color:#3ea0ff}.hgc-roof-service-price-row>span.green{color:#20df7d}
.hgc-roof-service-price-row>div{display:grid;gap:3px;min-width:0}.hgc-roof-service-price-row>div strong{color:#f5f7fa;font-size:15px;line-height:1.25}.hgc-roof-service-price-row>div small{color:#a8bbc9;font-size:13px;line-height:1.3}.hgc-roof-service-price-row>b{color:#fff;font-size:17px;white-space:nowrap}
.hgc-roof-service-price-row>button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:38px;padding:7px 10px;border:1px solid #3b566a;border-radius:7px;background:#101e2a;color:#f5f7fa;font-size:13px;font-weight:800;white-space:nowrap}.hgc-roof-service-price-row>button svg{width:15px;height:15px}.hgc-roof-service-price-row>button:hover,.hgc-roof-service-price-row>button:focus-visible{border-color:#ff8618;color:#ffb56d;outline:none}
.hgc-roof-service-pricing>footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;padding:14px;border-top:1px solid #00d7ff;background:rgba(0,215,255,.055);color:#d9fbff}.hgc-roof-service-pricing>footer span{font-size:14px;font-weight:800}.hgc-roof-service-pricing>footer strong{font-size:21px}
.hgc-roof-itemized-pricing.is-empty{align-self:start}.hgc-roof-itemized-pricing.is-empty>header{margin-bottom:0}.hgc-roof-review-empty-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-top:12px;color:#a8bbc9;font-size:14px}.hgc-roof-review-empty-row strong{color:#fff;font-size:15px;white-space:nowrap}
.hgc-roof-itemized-pricing li>span{display:grid;gap:3px}.hgc-roof-itemized-pricing li>span b{color:#edf4f8;font-size:14px}.hgc-roof-itemized-pricing li>span small{color:#91a6b6;font-size:12px}
.hgc-roof-review-internal{padding:0;overflow:hidden}.hgc-roof-review-internal>summary{display:grid;grid-template-columns:38px minmax(0,1fr) 20px;align-items:center;gap:11px;padding:15px 16px;cursor:pointer;list-style:none}.hgc-roof-review-internal>summary::-webkit-details-marker{display:none}.hgc-roof-review-internal>summary>span{display:grid;place-items:center;width:34px;height:34px;border:1px solid #3ea0ff;border-radius:50%;color:#3ea0ff}.hgc-roof-review-internal>summary>span svg{width:17px;height:17px}.hgc-roof-review-internal>summary>div{display:grid;gap:2px;min-width:0}.hgc-roof-review-internal>summary small{color:#ff8a24;font-size:10px;font-weight:900;letter-spacing:.04em}.hgc-roof-review-internal>summary strong{color:#f5f7fa;font-size:15px}.hgc-roof-review-internal>summary em{color:#a8bbc9;font-size:12px;font-style:normal}.hgc-roof-review-internal>summary>svg{width:18px;height:18px;color:#a8bbc9;transition:transform .16s ease}.hgc-roof-review-internal[open]>summary>svg{transform:rotate(90deg)}
.hgc-roof-review-internal-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:18px;padding:0 16px 16px;border-top:1px solid #294157}.hgc-roof-review-internal-body h4{margin:16px 0 8px;color:#eaf1f5;font-size:14px}
.hgc-roof-internal-services>article{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:10px 0;border-bottom:1px solid #203544}.hgc-roof-internal-services>article>span{min-width:0;color:#dce8ef;font-size:13px;font-weight:750}.hgc-roof-internal-services dl{display:flex;gap:14px;margin:0}.hgc-roof-internal-services dl>div{display:grid;gap:2px;text-align:right}.hgc-roof-internal-services dt{color:#8fa5b5;font-size:10px;text-transform:uppercase}.hgc-roof-internal-services dd{margin:0;color:#fff;font-size:13px;font-weight:800;white-space:nowrap}
.hgc-roof-review-internal .hgc-roof-cost-breakdown{grid-row:span 2;min-width:0}.hgc-roof-review-internal .hgc-roof-price-components{grid-template-columns:minmax(0,1fr)}
.hgc-roof-company-totals{min-width:0}.hgc-roof-company-totals dl{display:grid;margin:0}.hgc-roof-company-totals dl>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid #203544}.hgc-roof-company-totals dt{color:#a8bbc9;font-size:13px}.hgc-roof-company-totals dd{margin:0;color:#fff;font-size:14px;font-weight:850}.hgc-roof-company-totals p{margin:10px 0 0;color:#91a6b6;font-size:12px;line-height:1.4}
.hgc-roof-review-summary>small{display:block;margin-top:-3px;color:#a8bbc9;font-size:12px;line-height:1.35}.hgc-roof-review-summary dl{margin-top:14px}
.hgc-roof-review-readiness{display:grid;grid-template-columns:28px minmax(0,1fr);gap:10px;margin:14px 0;padding:12px;border:1px solid;border-radius:8px}.hgc-roof-review-readiness>svg{width:22px;height:22px}.hgc-roof-review-readiness>div{display:grid;gap:3px}.hgc-roof-review-readiness strong{font-size:14px;line-height:1.25}.hgc-roof-review-readiness span{font-size:12px;line-height:1.35}.hgc-roof-review-readiness.is-ready{border-color:#208c5b;background:rgba(20,170,101,.08);color:#61e4a3}.hgc-roof-review-readiness.needs-review{border-color:#b67a00;background:rgba(255,174,0,.08);color:#ffc44d}
@media(max-width:1180px){.hgc-roof-review-internal-body{grid-template-columns:minmax(0,1fr)}.hgc-roof-review-internal .hgc-roof-cost-breakdown{grid-row:auto}.hgc-roof-review-internal .hgc-roof-price-components{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.hgc-roof-service-price-row{grid-template-columns:38px minmax(0,1fr) auto}.hgc-roof-service-price-row>b{grid-column:3;grid-row:1}.hgc-roof-service-price-row>button{grid-column:2/4;width:100%}.hgc-roof-review-internal-body{padding:0 13px 13px}.hgc-roof-review-internal .hgc-roof-price-components{grid-template-columns:minmax(0,1fr)}.hgc-roof-internal-services>article{display:grid}.hgc-roof-internal-services dl{justify-content:space-between}.hgc-roof-review-empty-row{align-items:flex-start}}
