/* Reuses the guided Quote Walk type, colors, reference figures and controls. */
.initial-panel-photo { margin: 26px 0; min-width: 0; color: var(--navy, #0b1f3b); }
.initial-panel-photo h2 { scroll-margin-block-start: 24px; margin: 0 0 10px; font: 700 22px/1.25 var(--head, Outfit, sans-serif); letter-spacing: -.02em; }
.initial-panel-photo p, .initial-panel-photo figcaption { font: 400 16px/1.55 var(--body, Inter, sans-serif); }
.initial-panel-photo p { margin: 10px 0 16px; }
.initial-photo-examples { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 480px; margin: 18px 0; }
.initial-photo-examples figure { min-width: 0; margin: 0; }
.initial-photo-examples img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 12px; background: #f1f4f7; }
.initial-photo-examples figcaption { margin-top: 8px; color: #46566b; }
.initial-photo-controls { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.initial-photo-button { min-height: 48px; max-width: 100%; padding: 11px 16px; border: 2px solid #0b1f3b; border-radius: 12px; background: #fff; color: #0b1f3b; font: 600 16px/1.4 var(--body, Inter, sans-serif); cursor: pointer; overflow-wrap: anywhere; }
.initial-photo-button:disabled { color: #536174; border-color: #768293; background: #f3f5f7; cursor: default; }
.initial-photo-button[data-initial-photo-retry], .initial-photo-button[data-initial-photo-rebind] { background: #ffba00; color: #0b1f3b; border-color: #0b1f3b; }
.initial-panel-photo :is(button, input, summary, a):focus-visible { outline: 3px solid #005fcc; outline-offset: 3px; box-shadow: 0 0 0 2px #fff; }
.initial-panel-photo [hidden] { display: none !important; }
.initial-photo-preview { position: relative; display: block; margin: 0; min-width: 0; }
.initial-photo-preview img, .initial-photo-preview video, .initial-photo-preview-placeholder { display: block; width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; object-fit: cover; background: #f1f4f7; }
.initial-photo-preview-placeholder { display: grid; place-items: center; color: #46566b; }
.initial-photo-preview figcaption { margin-top: 8px; min-width: 0; overflow-wrap: anywhere; }
.initial-panel-photo .initial-photo-preview .initial-photo-corner-remove { position: absolute; top: 4px; right: 4px; display: grid; place-items: center; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; border: 1px solid #768293; border-radius: 50%; background: #fff; color: #0b1f3b; box-shadow: 0 1px 4px rgba(11,31,59,.12); font: 400 25px/1 var(--body, Inter, sans-serif); }
.initial-panel-photo .initial-photo-preview .initial-photo-corner-remove:disabled { opacity: .5; cursor: default; box-shadow: none; }
.initial-panel-photo .initial-photo-status { color: #24513b; }
.initial-panel-photo .initial-photo-error { color: #a5231c; font-weight: 600; }
.initial-photo-error:empty { display: none; }
.initial-photo-feedback { min-width: 0; overflow-wrap: anywhere; scroll-margin-block: 24px; }
.initial-photo-feedback:empty, .initial-photo-result:empty { display: none; }
.initial-photo-feedback .initial-photo-status, .initial-photo-feedback .initial-photo-error { margin-block: 10px; }
.initial-panel-photo .initial-photo-result { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.initial-photo-time { --photo-time-safe-bottom: env(safe-area-inset-bottom, 0px); --photo-time-safe-left: env(safe-area-inset-left, 0px); --photo-time-safe-right: env(safe-area-inset-right, 0px); position: fixed; z-index: 1000; display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px; overflow: auto; box-sizing: border-box; border: 2px solid #713f12; border-radius: 12px; color: #713f12; background: #fff5d6; font: 400 16px/1.45 var(--body, Inter, sans-serif); box-shadow: 0 4px 20px rgba(11,31,59,.18); }
.initial-photo-time[hidden] { display: none !important; }
.initial-photo-time p { margin: 0; color: #713f12; font: inherit; }
.initial-photo-time-summary { flex: 1 1 0; min-width: 0; overflow-wrap: anywhere; }
.initial-photo-time-summary span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; }
.initial-photo-time .initial-photo-time-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.initial-photo-time .initial-photo-button { flex: 0 1 auto; width: 168px; max-width: 56%; background: #fff; }
.initial-photo-time[data-time-compact=true] { padding: 8px; gap: 8px; }
.initial-photo-time[data-time-compact=true] .initial-photo-time-summary span { font-size: 12px; }
.initial-photo-time .initial-photo-button:focus-visible { outline: 3px solid #005fcc; outline-offset: 3px; box-shadow: 0 0 0 2px #fff; }
.initial-photo-time-summary:focus { outline: 3px solid #005fcc; outline-offset: 3px; }
.bpp-photo-time-visible { scroll-padding-bottom: var(--bpp-photo-time-reserved, 120px); }
.bpp-photo-time-visible body { padding-bottom: var(--bpp-photo-time-reserved, 120px); }
.bpp-photo-time-visible :is(input, textarea, select, button, a, summary) { scroll-margin-bottom: var(--bpp-photo-time-reserved, 120px); }

/* White photo task, gold action and warm guidance grouping.
 * Durable photo authority and recovery remain in the existing controller. */
.guided-walk [data-screen="contact"] .initial-panel-photo { background: #fff; color: #0b1f3b; border: 1px solid #d8e0ec; padding: 22px; }
.guided-walk .initial-panel-photo h2 { color: #0b1f3b; margin-bottom: 12px; }
.initial-panel-photo .initial-photo-status { color: #354862; }
.initial-photo-status:empty { display: none; }
.initial-panel-photo .initial-photo-error:not(:empty) { color: #8b231c; background: #fff1ed; border: 1px solid #edb7af; border-radius: 12px; padding: 12px 14px; }
.initial-photo-controls { gap: 8px; margin: 8px 0 18px; }
.initial-photo-controls .initial-photo-button { width: 100%; min-height: 52px; border-radius: 14px; border-color: #768293; color: #0b1f3b; background: #fff; font-family: var(--head, Outfit, sans-serif); font-weight: 700; }
.initial-photo-primary-controls .initial-photo-button { min-height: 56px; }
.initial-panel-photo[data-photo-action="add"] .initial-photo-controls [data-initial-photo-file],
.initial-panel-photo[data-photo-action="retry"] .initial-photo-controls [data-initial-photo-retry],
.initial-panel-photo[data-photo-action="rebind"] .initial-photo-controls [data-initial-photo-rebind] { min-height: 56px; background: #ffba00; color: #0b1f3b; border-color: #ffba00; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.initial-panel-photo .initial-photo-controls .initial-photo-button:disabled { background: #edf1f6; color: #46566b; border-color: #9aa8ba; box-shadow: none; cursor: default; }
.initial-photo-controls .initial-photo-button:not(:disabled):active { transform: translateY(1px); box-shadow: none; }
.initial-photo-reference { padding: 0; border: 0; background: transparent; color: #0b1f3b; }
.initial-photo-reference .initial-photo-examples-label { margin: 0; font-weight: 700; font-family: var(--head, Outfit, sans-serif); }
.initial-panel-photo > .initial-photo-guidance { margin: 0 0 12px; color: #46566b; }
.initial-photo-reference .initial-photo-examples, .initial-photo-reference .initial-photo-result { width: 100%; max-width: 480px; margin: 12px auto 0; gap: 12px; }
.initial-photo-reference figure { display: block; padding: 0; border: 0; background: transparent; }
.initial-photo-reference .initial-photo-examples img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 1; border: 1px solid #d8e0ec; background: #f4f6fa; }
.initial-photo-reference figcaption { max-width: 100%; overflow-wrap: anywhere; margin: 8px 0 0; color: #0b1f3b; text-align: center; font-weight: 600; }
.initial-photo-reference .initial-photo-safety { margin: 12px 0 0; color: #46566b; font-size: 14px; }
.initial-panel-photo :is(button, input, summary, a, h2):focus-visible { outline: 3px solid #005fcc; outline-offset: 3px; box-shadow: 0 0 0 2px #fff; }
.initial-panel-photo[aria-busy="true"] .initial-photo-status { padding-left: 28px; position: relative; }
.initial-panel-photo[aria-busy="true"] .initial-photo-status::before { content: ''; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border: 2px solid #8ea2be; border-top-color: #ffba00; border-radius: 50%; animation: initial-photo-working 1s linear infinite; }
@keyframes initial-photo-working { to { transform: rotate(360deg); } }
.guided-walk [data-screen="contact"] .initial-panel-photo.has-saved-photo { background: #fff; color: #0b1f3b; border-color: #bdd7c9; }
.guided-walk .initial-panel-photo.has-saved-photo h2 { color: #24513b; }
.initial-panel-photo.has-saved-photo h2::before { content: '\2713'; display: inline-grid; place-items: center; width: 32px; height: 32px; margin-right: 8px; border-radius: 50%; color: #24513b; background: #e7f3eb; }
.initial-panel-photo[data-photo-phase="saved"] .initial-photo-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.initial-panel-photo[data-photo-phase="saved"][data-photo-limit-reached="true"] .initial-photo-status { position: static; width: auto; height: auto; margin: 10px 0; overflow: visible; clip-path: none; white-space: normal; }
.initial-panel-photo .initial-photo-preview { gap: 12px; margin: 0; }
.initial-panel-photo[data-photo-phase="saved"] .initial-photo-preview :is(img, video) { width: 100%; height: auto; aspect-ratio: 1; }
.initial-panel-photo.has-saved-photo .initial-photo-primary-controls .initial-photo-button { background: #edf1f6; color: #0b1f3b; border-color: #9aa8ba; box-shadow: none; }
.guided-walk [data-screen="contact"] .guided-estimate-card { background: #fff; color: #0b1f3b; box-shadow: none; border: 1px solid #d8e0eb; padding: 18px 20px; }
.guided-walk [data-screen="contact"] .guided-estimate-card h1 { color: #46566b; margin-bottom: 6px; }
.guided-walk [data-screen="contact"] .guided-estimate-card .guided-amount { color: #0b1f3b; font-size: clamp(24px, 7.5vw, 30px); }
.guided-walk [data-screen="contact"] .guided-estimate-card .guided-range-caption { display: none; }
.guided-walk [data-screen="contact"] .guided-estimate-card :is(.guided-range-basis, .guided-range-caption, .guided-range-condition) { color: #46566b; }
.guided-walk [data-screen="contact"] .guided-estimate-card .guided-range-condition { border-color: #d8e0eb; }
.guided-walk [data-initial-range-choice] { border: 1px solid #efd495; background: #fff8ec; box-shadow: none; }
.guided-walk [data-contact-card] { border: 1px solid #efd495; }
@media(prefers-reduced-motion:reduce) {
  .initial-panel-photo[aria-busy="true"] .initial-photo-status::before { animation: none; }
  .initial-photo-controls .initial-photo-button:not(:disabled):active { transform: none; }
}
@media(max-width:360px) {
  .initial-photo-examples { gap: 8px; }
  .initial-photo-controls { flex-direction: column; }
  .initial-photo-button { width: 100%; }
  .initial-photo-preview { align-items: flex-start; }
}
@media(forced-colors:active) {
  .initial-photo-button { border-color: ButtonText; }
  .initial-panel-photo .initial-photo-controls .initial-photo-button { background: ButtonFace; color: ButtonText; border-color: ButtonText; box-shadow: none; }
  .initial-panel-photo :is(button, input, summary, a):focus-visible { outline-color: Highlight; }
}
