.roof-protection-intro {
  padding: 28px 22px 24px;
}

.roof-protection-intro h3 {
  margin: 6px 0 10px;
  font-size: 28px;
}

.roof-protection-intro p:last-child {
  max-width: 560px;
  margin: 0;
  font-size: 17px;
}

.roof-protection-video-shell {
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid #78907f;
  border-radius: 6px;
  background: #071d10;
}

.roof-protection-video-shell video {
  display: block;
  width: 100%;
  max-height: min(50dvh, 430px);
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

.roof-protection-video-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  background: #071d10;
}

.roof-protection-video-controls button {
  flex: 1 1 105px;
  min-height: 40px;
  margin: 0;
}

.roof-protection-video-controls .text-button {
  color: #fff;
  text-decoration-color: #f7c948;
}

.roof-protection-video-controls .text-button:hover,
.roof-protection-video-controls .text-button:focus-visible {
  color: #f7c948;
}

.roof-protection-video-status {
  min-height: 20px;
  margin: 0;
  padding: 0 12px 10px;
  color: #fff;
  font-size: 12px;
}

.roof-protection-dialog[data-prompt-reason="reminder"] {
  box-shadow: 0 0 0 5px #f7c948, 0 18px 60px rgba(4, 25, 14, .4);
}

.roof-protection-dialog-actions .roof-protection-attention {
  border: 3px solid #b42318;
  background: #f7c948;
  color: #16231b;
  box-shadow: 0 4px 0 #8f1b13;
}

.roof-protection-dialog-actions .roof-protection-attention:hover,
.roof-protection-dialog-actions .roof-protection-attention:focus-visible {
  background: #ffda64;
}

@media (max-width: 600px) {
  .roof-protection-intro {
    padding: 22px 14px 18px;
  }

  .roof-protection-intro h3 {
    font-size: 24px;
  }

  .roof-protection-video-shell {
    margin-top: 14px;
  }

  .roof-protection-video-controls {
    gap: 6px;
    padding: 8px;
  }
}

.protection-contractor-handoff{width:min(900px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;border:1px solid #78907f;border-radius:8px;background:#f8fbf8;color:#14251c;overflow:hidden;box-shadow:0 20px 70px rgba(4,25,14,.45)}
.protection-contractor-handoff::backdrop{background:rgba(3,14,9,.78)}
.protection-contractor-handoff-head{display:flex;align-items:flex-start;gap:16px;padding:16px 20px 12px;background:#fff;border-bottom:1px solid #c8d4ce}
.protection-contractor-handoff-head h2{margin:4px 0 0;font-size:24px;line-height:1.2}
.protection-contractor-handoff-head .account-overlay-close{margin-left:auto;flex:0 0 auto}
.protection-contractor-handoff-body{max-height:calc(100dvh - 115px);overflow:auto;overscroll-behavior:contain;padding:16px 20px 10px}
.protection-contractor-handoff-video-shell{overflow:hidden;border:1px solid #78907f;border-radius:6px;background:#071d10}
.protection-contractor-handoff-video-shell video{display:block;width:100%;max-height:min(38dvh,360px);aspect-ratio:16/9;object-fit:contain;background:#000}
.protection-contractor-handoff-warranty{margin:16px 0 14px;padding:14px 16px;border-left:5px solid #f7c948;background:#fff8df}
.protection-contractor-handoff-warranty .eyebrow{margin:0;color:#745100}
.protection-contractor-handoff-warranty h3{margin:4px 0 5px;font-size:20px}
.protection-contractor-handoff-warranty p:last-child{margin:0;color:#435b4b}
.protection-contractor-handoff-contractors h3{margin:0 0 6px;font-size:20px}
.protection-contractor-handoff-contractors>p{margin:0 0 12px;color:#435b4b}
#protection-contractor-handoff-list{display:grid;gap:10px;max-height:clamp(220px,34dvh,420px);overflow:auto;padding:2px 4px 4px 0;overscroll-behavior:contain}
#protection-contractor-handoff-list .roof-contractor-card{margin:0}
#protection-contractor-handoff-list .roof-contractor-card>button{display:none}
@media(max-width:600px){.protection-contractor-handoff{width:calc(100% - 12px);max-height:calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)))}.protection-contractor-handoff-head{padding:14px 16px 10px}.protection-contractor-handoff-head h2{font-size:20px}.protection-contractor-handoff-body{max-height:calc(100dvh - 104px);padding:12px 14px 8px}.protection-contractor-handoff-video-shell video{max-height:30dvh}.protection-contractor-handoff-warranty{margin-top:12px;padding:12px}.protection-contractor-handoff-contractors h3{font-size:18px}}
.protection-contractor-handoff-map[data-map-state=unavailable]{display:grid;place-items:center;padding:16px;color:#435b4b;text-align:center;font-size:13px;background:#eef4ef}
#protection-contractor-handoff-list .roof-contractor-card>button{display:block;width:100%;margin-top:12px}
.protection-contractor-handoff-map-section {
  position: relative;
  display: grid;
  gap: 10px;
  margin: 14px 0 18px;
}

.protection-contractor-handoff-map-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.protection-contractor-handoff-map-head h3,
.protection-contractor-handoff-map-head p {
  margin-top: 0;
}

.protection-contractor-handoff-map-head p {
  margin-bottom: 0;
  color: #435b4b;
}

.protection-contractor-handoff-map-retry {
  flex: 0 0 auto;
  min-height: 38px;
  white-space: nowrap;
}

.protection-contractor-handoff-map {
  min-height: clamp(330px, 58dvh, 650px);
  overflow: hidden;
  border: 1px solid #78907f;
  border-radius: 6px;
  background: #eef4ef;
}

.protection-contractor-handoff-map .roof-contractor-map {
  width: 100%;
  height: clamp(330px, 58dvh, 650px);
  min-height: 330px;
  border: 0;
}

.protection-contractor-handoff-control {
  transform: translateY(0);
  transform-origin: top center;
  transition: transform .22s ease, box-shadow .22s ease, opacity .22s ease;
  will-change: transform;
}

.protection-contractor-handoff.is-handoff-map-focus .protection-contractor-handoff-control {
  transform: translateY(calc(-100% - 20px));
  opacity: .97;
  box-shadow: 0 4px 12px rgba(14,49,30,.14);
}

.protection-contractor-handoff.is-handoff-map-focus .protection-contractor-handoff-control .protection-contractor-handoff-warranty-heading,
.protection-contractor-handoff.is-handoff-map-focus .protection-contractor-handoff-control .protection-contractor-handoff-warranty-options {
  pointer-events: none;
}

@media (max-width: 600px) {
  .protection-contractor-handoff-map-head {
    display: grid;
  }

  .protection-contractor-handoff-map-retry {
    width: 100%;
  }

  .protection-contractor-handoff-map,
  .protection-contractor-handoff-map .roof-contractor-map {
    min-height: 310px;
    height: clamp(310px, 54dvh, 560px);
  }

  .protection-contractor-handoff.is-handoff-map-focus .protection-contractor-handoff-control {
    transform: translateY(calc(-100% - 16px));
  }
}



/* Roof journey workbench v1 */
.protection-contractor-handoff {
  width: min(1220px, calc(100vw - 24px));
}

.protection-contractor-handoff-layout {
  display: grid;
  grid-template-columns: minmax(230px, 270px) minmax(0, 1fr);
  height: calc(100dvh - 88px);
  max-height: calc(100dvh - 88px);
  min-height: 0;
  overflow: hidden;
}

.protection-contractor-handoff-layout > .protection-contractor-handoff-body {
  max-height: calc(100dvh - 88px);
  min-width: 0;
  min-height: 0;
}

.contractor-video-impact {
  margin: 0 0 12px;
  color: #b42318;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  -webkit-text-stroke: 2px #f7c948;
  paint-order: stroke fill;
  text-shadow: 1px 1px 0 #f7c948, -1px -1px 0 #f7c948, 1px -1px 0 #f7c948, -1px 1px 0 #f7c948;
}

.roof-journey-workbench {
  min-height: 0;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-color: #5f7968 #dce7df;
  padding: 18px 14px;
  border-right: 1px solid #c8d4ce;
  background: #eef4ef;
}

.roof-journey-workbench-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.roof-journey-workbench-head .eyebrow {
  margin: 0;
}

.roof-journey-price-card {
  display: grid;
  gap: 5px;
  margin: 11px 0 14px;
  padding: 11px 12px;
  border: 2px solid #167044;
  border-radius: 6px;
  background: #fff;
  box-shadow: inset 0 0 0 2px #f7c948;
}

.roof-journey-price-card[hidden] {
  display: none;
}

.roof-journey-price-card[data-tier="best"] {
  border-color: #a66a00;
  background: #fff8df;
}

.roof-journey-price-card[data-tier="good"] {
  border-color: #557267;
  box-shadow: none;
}

.roof-journey-price-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #435b4b;
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
}

.roof-journey-price-heading strong {
  color: #14251c;
  font-size: 13px;
  white-space: nowrap;
}

.roof-journey-price-card p {
  margin: 0;
  color: #102318;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.15;
}

.roof-journey-price-card small {
  color: #8f1b13;
  font-size: 12px;
  line-height: 1.3;
}

.roof-journey-steps-title {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0;
}

.roof-journey-workbench-head h3 {
  margin: 3px 0 0;
  font-size: 20px;
  letter-spacing: 0;
}

.roof-journey-workbench-head > strong {
  color: #0b6b3a;
  font-size: 18px;
}

.roof-journey-progress {
  height: 8px;
  margin: 12px 0 16px;
  overflow: hidden;
  border-radius: 4px;
  background: #cbd8d0;
}

.roof-journey-progress > span {
  display: block;
  width: 0;
  height: 100%;
  background: #0b6b3a;
  transition: width .22s ease;
}

.roof-journey-workbench ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.roof-journey-workbench li button {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 9px;
  border: 1px solid #86a08f;
  border-radius: 6px;
  background: #fff;
  color: #14251c;
  text-align: left;
}

.roof-journey-workbench li[data-state="complete"] button {
  border-color: #0b6b3a;
  background: #e3f3e8;
}

.roof-journey-workbench li[data-state="available"] button {
  border-color: #b42318;
  box-shadow: inset 0 0 0 2px #f7c948;
}

.roof-journey-workbench li[data-state="locked"] button {
  opacity: .58;
}

.roof-journey-step-number {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #173f29;
  color: #fff;
  font-weight: 900;
}

.roof-journey-workbench li[data-state="complete"] .roof-journey-step-number {
  background: #0b6b3a;
}

.roof-journey-workbench li button > span:last-child {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.roof-journey-workbench li small {
  color: #435b4b;
  line-height: 1.25;
}

.roof-journey-workbench-status {
  min-height: 40px;
  margin: 12px 0 8px;
  color: #435b4b;
  font-size: 13px;
}

.roof-journey-restart {
  width: 100%;
}

.tier-range-complete {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border: 2px solid #f7c948;
  border-radius: 6px;
  background: #fff8df;
}

.tier-range-complete p {
  margin: 4px 0 0;
}

.tier-range-complete .primary {
  flex: 0 0 auto;
}

.roof-color-guide {
  width: min(700px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1px solid #78907f;
  border-radius: 8px;
  color: #14251c;
}

.roof-color-guide::backdrop {
  background: rgba(3, 14, 9, .78);
}

.roof-color-guide > header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid #c8d4ce;
}

.roof-color-guide > header h2 {
  margin: 4px 0 0;
}

.roof-color-guide > header .account-overlay-close {
  margin-left: auto;
}

.roof-color-guide-body {
  overflow: auto;
  max-height: calc(100dvh - 115px);
  padding: 18px 20px 22px;
}

.roof-color-guide-body ol {
  display: grid;
  gap: 10px;
  padding-left: 24px;
}

.roof-color-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}

.roof-color-guide {
  width: min(880px, calc(100vw - 24px));
}

.roof-color-guide-body {
  display: grid;
  grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
  gap: 20px;
}

.roof-color-guide-video-shell {
  align-self: start;
  overflow: hidden;
  border: 1px solid #78907f;
  border-radius: 6px;
  background: #071d10;
}

.roof-color-guide-video-shell video {
  display: block;
  width: 100%;
  max-height: min(58dvh, 560px);
  aspect-ratio: 888 / 1920;
  object-fit: contain;
  background: #071d10;
}

.roof-color-guide-video-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  background: #f8fbf8;
}

.roof-color-guide-video-controls button {
  min-height: 42px;
}

.roof-color-guide-video-controls .roof-color-guide-sound {
  border: 3px solid #b52216;
  background: #f7c948;
  color: #14251c;
  font-weight: 900;
}

.roof-color-guide-video-shell > p {
  min-height: 20px;
  margin: 0;
  padding: 0 10px 10px;
  background: #f8fbf8;
}

.roof-color-guide-instructions {
  min-width: 0;
}
@media (max-width: 760px) {
  .protection-contractor-handoff-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(180px, min(40dvh, 330px)) minmax(0, 1fr);
    height: calc(100dvh - 78px);
    max-height: calc(100dvh - 78px);
  }

  .roof-journey-workbench {
    max-height: none;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10px 12px 9px;
    border-right: 0;
    border-bottom: 1px solid #c8d4ce;
  }

  .roof-journey-workbench-head .eyebrow {
  margin: 0;
}

.roof-journey-price-card {
  display: grid;
  gap: 5px;
  margin: 11px 0 14px;
  padding: 11px 12px;
  border: 2px solid #167044;
  border-radius: 6px;
  background: #fff;
  box-shadow: inset 0 0 0 2px #f7c948;
}

.roof-journey-price-card[hidden] {
  display: none;
}

.roof-journey-price-card[data-tier="best"] {
  border-color: #a66a00;
  background: #fff8df;
}

.roof-journey-price-card[data-tier="good"] {
  border-color: #557267;
  box-shadow: none;
}

.roof-journey-price-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #435b4b;
  font-size: 11px;
  line-height: 1.2;
  text-transform: uppercase;
}

.roof-journey-price-heading strong {
  color: #14251c;
  font-size: 13px;
  white-space: nowrap;
}

.roof-journey-price-card p {
  margin: 0;
  color: #102318;
  font-size: 21px;
  font-weight: 900;
  line-height: 1.15;
}

.roof-journey-price-card small {
  color: #8f1b13;
  font-size: 12px;
  line-height: 1.3;
}

.roof-journey-steps-title {
  margin: 0;
  font-size: 18px;
  letter-spacing: 0;
}

.roof-journey-workbench-head h3 {
    font-size: 17px;
  }

  .roof-journey-progress {
    margin: 7px 0 9px;
  }

  .roof-journey-workbench ol {
    display: grid;
    gap: 7px;
    overflow: visible;
    padding-bottom: 3px;
    scroll-snap-type: none;
  }

  .roof-journey-workbench li {
    min-width: 0;
    scroll-snap-align: none;
  }

  #protection-contractor-handoff-list {
    max-height: clamp(180px, 27dvh, 240px);
  }

  .roof-journey-workbench li button {
    min-height: 58px;
    padding: 7px;
  }

  .roof-journey-workbench-status {
    display: none;
  }

  .roof-journey-restart {
    width: auto;
    margin-top: 7px;
    padding: 7px 10px;
    font-size: 12px;
  }

  .protection-contractor-handoff-layout > .protection-contractor-handoff-body {
    max-height: none;
    padding-top: 10px;
  }

  .contractor-video-impact {
    font-size: 29px;
    -webkit-text-stroke-width: 1.5px;
  }

  .tier-range-complete {
    align-items: stretch;
    flex-direction: column;
  }

  .roof-color-source-links,
  .roof-color-guide-body .actions {
    display: grid;
  }
  .roof-color-guide-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .roof-color-guide-video-shell video {
    max-height: 42dvh;
  }
}