/* Saved journeys reuse the live continuation canvas, cards and controls. */
.guided-saved { margin: 0; padding: 0; font-family: var(--body, Inter, sans-serif); color: var(--text, #16243a); }
.guided-saved .stack { display: flex; justify-content: center; }
.guided-saved .page { display: block; padding: 0; background: var(--page, #fafbfc); }
.guided-saved .guided-flow { margin: 0 auto; width: 100%; max-width: 620px; padding: 28px 20px 10px; box-sizing: border-box; }
.guided-saved .guided-screen h1, .guided-saved .guided-screen h2 { color: var(--navy, #0b1f3b); font: 800 28px/1.1 var(--head, Outfit, sans-serif); margin: 0 0 12px; }
.guided-saved .cta { height: auto; white-space: normal; text-align: center; text-decoration: none; display: flex; align-items: center; justify-content: center; min-height: 52px; border: 0; border-radius: 999px; padding: 12px 16px; background: #ffba00; color: #0b1f3b; font: 700 16px/1.4 var(--head, Outfit, sans-serif); cursor: pointer; box-shadow: 0 6px 24px rgba(255,186,0,.28); }
.guided-saved .guided-screen button { min-height: 44px; }
.guided-saved [hidden] { display: none !important; }
.guided-saved .guided-screen p { font-size: 16px; line-height: 1.55; }
.guided-saved .guided-remaining-photos { margin: 12px 0 18px; padding-left: 24px; font-size: 16px; line-height: 1.55; }
.guided-remaining-photos li + li { margin-top: 10px; }
.guided-saved .guided-panel-receipt { position: relative; padding: 16px 16px 16px 54px; border: 1px solid #bdd7c9; border-radius: 16px; background: #edf7f0; color: #24513b; }
.guided-panel-receipt::before { content: '\2713'; position: absolute; left: 16px; top: 18px; font-weight: 800; }
.guided-saved .guided-remaining-photos { padding: 0; list-style: none; }
.guided-saved .guided-remaining-photos li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 16px; border: 1px solid #ead8b2; border-radius: 16px; background: #fff8ec; }
.guided-remaining-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; color: #0b1f3b; }
.guided-remaining-icon svg { width: 32px; height: 32px; }
.guided-remaining-photos li > div { min-width: 0; overflow-wrap: anywhere; }
.guided-remaining-photos strong, .guided-remaining-photos li > div > span { display: block; }
.guided-remaining-photos strong { color: #0b1f3b; font-family: var(--head, Outfit, sans-serif); }
.guided-remaining-photos li > div > span { margin-top: 4px; color: #46566b; }
.guided-review-expectation { color: #46566b; }
/* A confirmed initial request needs only its receipt and next step. */
.guided-walk [data-estimate-confirmation][data-confirmation-layout="minimal"] .guided-received-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--navy, #0b1f3b); font: 700 24px/1.25 var(--head, Outfit, sans-serif); font-size: 24px !important; }
.guided-walk [data-estimate-confirmation][data-confirmation-layout="minimal"] .guided-received-title:focus { outline: none !important; }
.guided-received-check { flex: 0 0 28px; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fff3c4; color: #946400; font: 700 19px/1 var(--body, Inter, sans-serif); }
.guided-walk [data-estimate-confirmation][data-confirmation-layout="minimal"] .guided-received-next { margin: 0; color: var(--navy, #0b1f3b); }
.guided-walk [data-estimate-confirmation][data-confirmation-layout="minimal"] .guided-received-guide { margin: 12px 0 0; color: var(--muted, #46566b); overflow-wrap: anywhere; }
.guided-walk [data-estimate-confirmation][data-confirmation-layout="minimal"] .guided-received-guide-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; color: var(--navy, #0b1f3b); text-decoration: underline; text-underline-offset: 3px; }
.guided-received-guide-link:focus-visible { outline: 3px solid var(--navy, #0b1f3b); outline-offset: 3px; border-radius: 3px; }
/* Reuse the approved form choice and secondary action inside the receipt. */
.guided-walk .guided-sms-confirmation { margin-top: 16px; min-width: 0; }
.guided-walk .guided-sms-confirmation .guided-communication-choices { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.guided-walk .guided-sms-confirmation legend { padding: 0; margin: 0 0 2px; font: 600 16px/1.4 var(--head, Outfit, sans-serif); color: var(--navy, #0b1f3b); }
.guided-walk .guided-sms-confirmation .guided-sms-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 8px; }
.guided-walk .guided-sms-actions > button { min-height: 44px; max-width: 100%; }
.guided-walk .guided-sms-actions > .qw-secondary-action { margin: 0 !important; }
.guided-walk .guided-sms-actions > .qw-secondary-action:disabled { color: #536174 !important; text-decoration: none !important; cursor: default; }
.guided-walk .guided-sms-actions > .guided-link { padding: 8px 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.guided-walk .guided-sms-actions > .guided-link:disabled { color: #536174; text-decoration: none; cursor: default; }
.guided-walk .guided-sms-confirmation .guided-sms-status,
.guided-walk .guided-sms-confirmation .guided-error { margin: 8px 0 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.guided-walk .guided-sms-confirmation :is(button,input,a,[tabindex]):focus-visible { outline: 3px solid #005fcc; outline-offset: 3px; }
.guided-walk .guided-sms-confirmation .qw-secondary-action:focus-visible { outline: 3px solid #005fcc !important; outline-offset: 3px !important; }
.guided-walk .guided-sms-confirmation [role]:empty { display: none; }
.guided-error { color: #a1251b; font-size: 16px; line-height: 1.5; }
.qw-guided-boot { margin: 40px auto; padding: 24px; max-width: 620px; font: 16px/1.55 Inter, sans-serif; color: #0b1f3b; }
.qw-guided-boot button, .qw-guided-boot a { display: block; min-height: 44px; padding: 10px 0; color: #0b1f3b; font: inherit; }
.guided-saved .guided-amount { padding: 18px; background: #0b1f3b; border-radius: 16px; box-shadow: var(--shadow-md); font: 800 32px/1.1 var(--head, Outfit, sans-serif); color: #fff; }
.guided-scope { padding: 0; list-style: none; }
.guided-scope li { padding: 14px 0; border-bottom: 1px solid rgba(11,31,59,.1); font-size: 16px; line-height: 1.5; }
.guided-scope li:last-child { border-bottom: 0; }
.guided-scope strong, .guided-scope span { display: block; }
.guided-scope span { color: var(--muted, #4d5a6e); margin-top: 4px; }
.guided-saved .guided-phone input { display: block; box-sizing: border-box; width: 100%; min-height: 50px; padding: 12px; border: 1px solid #8291a8; border-radius: 10px; font-size: 16px; }
.guided-saved .guided-phone label { display: block; margin: 14px 0 8px; font-size: 16px; }
.guided-saved .guided-phone p { font-size: 16px; }
.guided-helpful { margin: 18px 0; padding: 16px; border-radius: 14px; background: #f4f6fa; border: 0; box-shadow: inset 0 0 0 1px rgba(11,31,59,.07); }
.guided-helpful summary { cursor: pointer; min-height: 44px; font-size: 16px; line-height: 1.5; }
.guided-helpful summary strong, .guided-helpful summary span { display: block; }
.guided-helpful summary span { margin-top: 5px; color: #4d5a6e; }
.guided-package-summary { color: #243b52; font-size: 17px; line-height: 1.5; }
.guided-package-details { margin: 12px 0 0; padding: 10px 14px; }
.guided-optional-photos { margin-top: 22px; }
.guided-helpful figure { display: grid; grid-template-columns: 88px 1fr; align-items: start; gap: 14px; margin: 20px 0 0; }
.guided-helpful img { width: 88px; height: 88px; object-fit: contain; border-radius: 8px; background: #fff; }
.guided-helpful figcaption { font-size: 16px; line-height: 1.5; }
.guided-helpful figcaption strong { display: block; }
.guided-upload-action { display: block; width: 100%; min-height: 48px; padding: 12px; background: #fff; color: #0b1f3b; border: 0; box-shadow: 0 2px 6px rgba(11,31,59,.06), inset 0 0 0 1.5px rgba(11,31,59,.12); border-radius: 12px; font-size: 16px; font-weight: 600; }
.guided-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.guided-photo { margin: 0; padding: 8px; min-width: 0; border: 1px solid var(--edge, rgba(11,31,59,.12)); border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.guided-photo > button[data-preview] { display: block; width: 100%; padding: 0; background: #f1f4f8; border: 0; }
.guided-photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.guided-photo p { margin: 8px 0; overflow-wrap: anywhere; }
.guided-photo-actions { display: flex; flex-wrap: wrap; gap: 0 12px; }
.guided-photo-actions button, .guided-photo-actions a { padding: 8px 0; border: 0; background: transparent; color: #0b1f3b; font-size: 16px; text-decoration: underline; }
.guided-photo.failed { border-color: #a1251b; }
.guided-photo-pending { padding: 12px; background: #f4f6fa; border-radius: 12px; }
.guided-photo-pending button { display: block; min-height: 44px; color: #0b1f3b; font-size: 16px; }
.guided-preview { max-width: min(900px, calc(100% - 24px)); max-height: calc(100dvh - 24px); border: 0; border-radius: 14px; padding: 16px; }
.guided-preview::backdrop { background: rgba(11,31,59,.7); }
.guided-preview img { display: block; max-width: 100%; max-height: calc(100dvh - 100px); object-fit: contain; }
.guided-preview button { min-height: 44px; padding: 10px; font-size: 16px; }
@media(max-width:759px) { .guided-saved .guided-flow { margin-top: 0; } .guided-saved .guided-screen h1, .guided-saved .guided-screen h2 { font-size: 23px; } }

.guided-saved svg { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
.guided-saved .guided-screen h1:focus, .guided-saved .guided-screen h2:focus { outline: none; }
.guided-saved .guided-link { border: 0; background: transparent; font-family: inherit; }
.guided-saved .guided-screen > .guided-link { display: flex; width: fit-content; }
.guided-saved .guided-scope li { padding: 8px 0; }
.guided-saved .foot { max-width: 620px; margin: 24px auto 0; padding: 20px; text-align: center; }

.guided-photo-actions a { display: inline-flex; align-items: center; box-sizing: border-box; min-height: 44px; }

/* The range source calls this primitive .head; guided pages share .site-head. */
.guided-saved .site-head { height: 56px; background: #0b1f3b; display: flex; align-items: center; padding: 0 20px; }
.guided-saved .site-head .lockup { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 0; }
@media(max-width:479px) { .guided-saved .stack { padding: 0 0 calc(28px + env(safe-area-inset-bottom,0px)); } }

/* Range composition translated from the reviewed next-step-first design reference.
 * Existing BPP card, gold action, product-image and shadow primitives are reused. */
.guided-range-layout { display: grid; gap: 16px; min-width: 0; }
.guided-range-layout > * { min-width: 0; }
.guided-range-card, .guided-estimate-card { padding: 20px; border-radius: 20px; box-shadow: var(--shadow-md, 0 8px 24px rgba(11,31,59,.08)); }
.guided-range-card { background: #fff; }
.guided-estimate-card { background: #0b1f3b; color: #fff; }
.guided-saved .guided-estimate-card h1 { margin: 0 0 12px; color: #fff; font-size: 18px !important; line-height: 1.35 !important; }
.guided-saved .guided-estimate-card .guided-amount { padding: 0; border-radius: 0; box-shadow: none; background: transparent; color: #ffba00; font-size: 32px; line-height: 1.2; overflow-wrap: anywhere; }
.guided-saved .guided-estimate-card .guided-range-basis { margin: 10px 0 0; color: #fff; font-weight: 600; }
.guided-saved .guided-range-layout .guided-range-caption { margin: 8px 0 0; color: #4d5a6e; font-size: 16px; line-height: 1.45; }
.guided-saved .guided-estimate-card .guided-range-caption { color: #dbe5f2; }
.guided-estimate-card .guided-range-price-row { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 8px 12px; align-items: center; }
.guided-saved .guided-estimate-card .guided-range-price-row .guided-amount,
.guided-walk [data-screen="contact"] .guided-estimate-card .guided-range-price-row .guided-amount { flex: 0 1 auto; max-width: 100%; font-size: clamp(20px,5.6vw,32px); line-height: 1.2; overflow-wrap: normal; }
.guided-saved .guided-estimate-card .guided-range-price-row .guided-range-basis { flex: 0 1 auto; min-width: 0; max-width: 100%; width: auto; margin: 0; text-align: left; white-space: normal; font-size: 14px; line-height: 1.5; }
.guided-saved .guided-estimate-card .guided-range-caption.guided-range-explanation,
.guided-walk [data-screen="contact"] .guided-estimate-card .guided-range-caption.guided-range-explanation { display: block; margin: 14px 0 0; color: #dbe5f2; font-size: 16px; line-height: 1.5; }
.guided-saved .guided-estimate-card .guided-range-condition { margin: 16px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.2); color: #dbe5f2; }
.guided-saved .guided-estimate-card .guided-power-guide-teaser { margin: 16px 0 0; color: inherit; font-size: 16px; line-height: 1.5; }
.guided-saved .guided-range-card h2 { margin: 0; font-size: 22px !important; line-height: 1.25; }
.guided-saved .guided-range-next > p { margin: 10px 0 0; color: #4d5a6e; }
.guided-saved .guided-range-next .cta { margin: 18px 0 0; }
.guided-saved .guided-range-next .guided-range-payment { margin-top: 12px; text-align: center; }
.guided-range-included .guided-scope { margin: 18px 0 0; }
.guided-saved .guided-range-included .guided-scope-row { display: grid; grid-template-columns: 60px minmax(0,1fr); gap: 14px; align-items: center; padding: 16px 0; border-bottom: 0; }
.guided-range-included .guided-scope-row + .guided-scope-row { border-top: 1px solid rgba(11,31,59,.1); }
.guided-range-included .guided-scope-row > img { width: 60px; height: 60px; object-fit: contain; border-radius: 10px; background: #fff; }
.guided-range-included .guided-scope-row strong { font-size: 17px; line-height: 1.3; color: #0b1f3b; }
.guided-range-included .guided-scope-row > div { min-width: 0; overflow-wrap: anywhere; }
.guided-range-included .guided-scope-row span { font-size: 16px; line-height: 1.45; }
.guided-range-included .guided-scope-icon { display: grid; place-items: center; color: #0b1f3b; margin: 0; }
.guided-range-included .guided-scope-icon svg { width: 28px; height: 28px; }
.guided-saved .guided-range-included .guided-range-guarantee { margin-top: 12px; padding: 16px; grid-template-columns: 60px minmax(0,1fr); gap: 12px; border: 1px solid #f1d591; border-radius: 12px; background: #fff8ec; align-items: start; }
/* Give included descriptions the full card width on the narrowest screens. */
@media(max-width:359px) {
  .guided-saved .guided-range-included.guided-scope-always-visible { padding-inline: 16px; }
  .guided-saved .guided-package-details .guided-range-guarantee,
  .guided-saved .guided-scope-always-visible > .guided-scope-row { grid-template-columns: minmax(0,1fr); }
  .guided-saved .guided-scope-always-visible > .guided-range-guarantee { padding: 16px 8px; }
}
.guided-range-utilities { display: flex; flex-direction: column; align-items: center; text-align: center; }
.guided-range-utilities .guided-save { margin-top: 0; }
.guided-range-utilities > .guided-link { margin-top: 4px; }
@media(min-width:1024px) {
  .guided-saved[data-active-screen="range"] #guidedSavedPage { width: min(960px, calc(100vw - 64px)) !important; max-width: 960px !important; }
  .guided-saved[data-active-screen="range"] .guided-flow { max-width: none; padding: 28px; }
  .guided-range-layout { grid-template-columns: minmax(0,1fr) minmax(0,1.15fr); grid-template-areas: "estimate scope" "next scope" "utilities scope" ". scope"; align-items: start; gap: 20px; }
  .guided-estimate-card { grid-area: estimate; }
  .guided-range-next { grid-area: next; }
  .guided-range-included { grid-area: scope; }
  .guided-range-utilities { grid-area: utilities; }
}

/* Photo entry reuses the production examples, gallery and dashed add tile. */
.guided-photo-guidance { margin: 20px 0; }
.guided-saved .guided-photo-guidance .guided-photo-safety { font-size: 14px; line-height: 1.5; color: #4d5a6e; margin: 12px 0; }
.guided-photo-gallery { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; align-items: start; }
.guided-photo-gallery .guided-photo { position: relative; padding: 0; border: 0; background: transparent; box-shadow: none; }
.guided-photo-gallery .guided-photo > button[data-preview] { aspect-ratio: 1; border-radius: 12px; overflow: hidden; }
.guided-photo-gallery .guided-photo img { border-radius: 12px; }
.guided-saved .guided-photo-gallery .guided-upload-action { display: grid; width: 100%; height: auto; min-height: 44px; aspect-ratio: auto; overflow: visible; white-space: normal; overflow-wrap: anywhere; padding: 0; border: 2px dashed rgba(11,31,59,.2); border-radius: 12px; box-shadow: none; font-size: 14px; }
.guided-photo-gallery .guided-photo-actions { gap: 0; }
.guided-photo-gallery .guided-photo-actions button { font-size: 14px; max-width: 100%; overflow-wrap: anywhere; white-space: normal; }
.guided-photo-gallery .guided-photo-actions .guided-photo-remove { position: absolute; top: 0; right: 0; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; text-decoration: none; }
.guided-photo-gallery .guided-photo-remove span { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; box-sizing: border-box; border: 2px solid #fff; border-radius: 50%; background: #0b1f3b; color: #fff; font-size: 18px; line-height: 1; box-shadow: var(--shadow-sm); }
.guided-photo-gallery .guided-photo.queued, .guided-photo-gallery .guided-photo.uploading, .guided-photo-gallery .guided-photo.failed, .guided-photo-gallery .guided-photo.received { grid-column: 1 / -1; display: grid; grid-template-columns: 88px minmax(0,1fr); gap: 8px 14px; padding: 12px; border-radius: 12px; background: #f4f6fa; }
.guided-photo-gallery .guided-photo:is(.queued,.uploading,.failed,.received) > img { width: 88px; height: 88px; grid-row: 1 / 3; }
.guided-photo-gallery .guided-photo:is(.queued,.uploading,.failed,.received) > p { grid-column: 2; margin: 0; }
.guided-photo-gallery .guided-photo:is(.queued,.uploading,.failed,.received) > .guided-photo-actions, .guided-photo-gallery .guided-photo:is(.queued,.uploading,.failed,.received) > button { grid-column: 2; }
.guided-photo-gallery .guided-photo:is(.queued,.uploading,.failed,.received) > .guided-photo-actions { gap: 0 12px; }
.guided-photo-gallery .guided-photo.failed { box-shadow: inset 0 0 0 1px #a1251b; }
.guided-saved .guided-photo-count { color: #4d5a6e; font-size: 14px; margin: 12px 0 18px; }

/* Reserve a square without clipping the add label when text is enlarged. */
.guided-photo-gallery .guided-upload-action::before { content: ""; grid-area: 1 / 1; width: 100%; aspect-ratio: 1; pointer-events: none; }
.guided-saved .guided-photo-gallery .guided-add-label { grid-area: 1 / 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-width: 0; padding: 8px 0; font: inherit; color: inherit; }
