.work-bar { position: sticky; top: 0; z-index: 1300; background: #12331b; color: #fff; border-bottom: 1px solid #739b7d; pointer-events: none; }
.work-bar-inner { max-width: 1160px; margin: auto; padding: 10px 20px 12px; }
.work-bar strong { font-size: 15px; }
.work-bar p { margin: 2px 0 8px; font-size: 14px; overflow-wrap: anywhere; }
.work-track { height: 4px; overflow: hidden; background: #44664c; }
.work-track span { display: block; width: 35%; height: 100%; background: #f1c35b; animation: roof-work 1.8s ease-in-out infinite; }
@keyframes roof-work { from { transform: translateX(-100%); } to { transform: translateX(390%); } }
@media (prefers-reduced-motion: reduce) { .work-track span { animation: none; width: 100%; } }
@media (max-width: 480px) { .work-bar-inner { padding: 8px 16px 10px; } }
.property-photos { border-top: 1px solid #c6d4cb; padding: 20px 0; margin-top: 12px; }
.property-photo-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr)); gap:12px; margin:14px 0; }
.property-photo-card { min-width:0; }
.property-photo-choice { display:block; width:100%; padding:3px; border:2px solid #c6d4cb; border-radius:4px; background:white; }
.property-photo-choice[aria-pressed="true"] { border-color:#087344; outline:2px solid #087344; }
.property-photo-choice img { display:block; width:100%; aspect-ratio:4/3; object-fit:contain; background:#f3f5f4; }
.property-photo-card a { display:block; margin-top:6px; font-size:13px; overflow-wrap:anywhere; }
.property-photos[aria-busy="true"] { border-top:3px solid #d49724; }
.path-objectives { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); }
.path-objectives span { min-height:72px; display:flex; align-items:center; justify-content:center; text-align:center; }
.condition-dossier { border-top:3px solid #d99b25; padding:24px 0; max-width:760px; }
.dossier-gate { border-top:1px solid #bdcdc2; padding:24px 0; margin-top:20px; }
body[data-roof-path="STORM"] .progress [data-step="2"] { display:none; }
@media(max-width:600px){.path-objectives { grid-template-columns:1fr; }.path-objectives span{min-height:50px;}.dossier-gate{padding:18px 0;}}
#vault-invitation { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: auto; padding: 24px; border: 1px solid #b9cabe; border-radius: 8px; color: #102318; background: #fff; }
#vault-invitation::backdrop { background: rgb(8 24 15 / 65%); }
#vault-invitation h2 { font-size: 24px; line-height: 1.2; }
#vault-invitation .actions { display: flex; flex-wrap: wrap; gap: 12px; }
#vault-invitation .actions > * { min-height: 44px; }
.roof-target-actions #storm-return { margin: 0; padding: 0; width: auto; }
.roof-target-actions #storm-return-link { background: #f4cc3e; color: #132519; border: 1px solid #a98911; min-height: 44px; font-weight: 800; }
:root { color-scheme: light; --ink: #172019; --forest: #12331b; --green: #188a3a; --gold: #f1c35b; --muted: #59635c; --line: #d8dfd9; --paper: #f4f7f4; font-family: Inter, Arial, sans-serif; color: var(--ink); background: #fff; font-synthesis: none; }
* { box-sizing: border-box; letter-spacing: 0; }
body { margin: 0; line-height: 1.55; }
[hidden] { display: none !important; }
a { color: var(--forest); text-underline-offset: 4px; }
button, input, select { font: inherit; }
button, .primary, .secondary { min-height: 46px; padding: 11px 18px; border: 1px solid var(--line); border-radius: 5px; cursor: pointer; line-height: 1.35; font-weight: 700; text-align: center; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
button:disabled, fieldset:disabled button { cursor: wait; opacity: .58; }
.primary { color: #fff; background: var(--forest); border-color: var(--forest); }
.primary:hover { background: #1b4d29; }
.secondary { color: var(--forest); background: #fff; }
.secondary:hover { background: var(--paper); }
.text-button { color: var(--forest); background: transparent; border-color: transparent; text-decoration: underline; padding-inline: 0; }
:focus-visible { outline: 3px solid #ac7810; outline-offset: 4px; }
input:not([type=checkbox]):not([type=radio]), select { display: block; width: 100%; min-width: 0; min-height: 48px; border: 1px solid #8e9b91; border-radius: 4px; padding: 10px 12px; background: #fff; color: var(--ink); }
input[type=checkbox], input[type=radio] { width: 20px; height: 20px; accent-color: var(--green); flex: 0 0 20px; margin: 2px 0 0; }
label { display: block; font-weight: 650; margin-bottom: 7px; }
fieldset { min-width: 0; padding: 0; margin: 0; border: 0; }
legend { font-weight: 700; margin-bottom: 12px; padding: 0; }
h1, h2, p { margin: 0 0 16px; }
h1 { font-size: 32px; line-height: 1.18; max-width: 780px; overflow-wrap: anywhere; }
h2 { font-size: 20px; line-height: 1.3; }
p { overflow-wrap: anywhere; }
.site-header { min-height: 80px; padding: 12px max(24px, calc((100% - 1180px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.brand img { width: 160px; height: 56px; object-fit: contain; display: block; }
.site-header > span { font-size: 12px; font-weight: 800; }
.site-header > a:last-child { font-size: 14px; }
.progress-shell, .notice-shell, .content-shell, .intro-band, .site-footer { width: min(100% - 48px, 1180px); margin-inline: auto; }
.progress { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; padding: 22px 0; margin: 0; gap: 16px; }
.progress li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; border-bottom: 2px solid var(--line); padding-bottom: 14px; }
.progress li span { display: grid; place-items: center; width: 27px; height: 27px; flex: 0 0 27px; border: 1px solid var(--line); border-radius: 50%; font-size: 12px; }
.progress li[aria-current=step] { color: var(--forest); border-color: var(--green); font-weight: 750; }
.progress li[aria-current=step] span { background: var(--forest); color: white; border-color: var(--forest); }
#status:empty { display: none; }
#status { font-size: 14px; }
.error, .warning { background: #fff8df; border-left: 4px solid #c89e35; padding: 14px 18px; color: #594819; }
.error { background: #fff1ef; border-color: #ae4536; color: #802f25; }
.hero { min-height: 430px; position: relative; isolation: isolate; background: var(--forest) url('/assets/video/roof-checker-hero-20260906-poster.jpg') center / cover no-repeat; color: #fff; display: flex; align-items: center; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; z-index: -2; }
.hero-video-toggle { position: absolute; right: 16px; top: 16px; width: 44px; height: 44px; min-height: 44px; padding: 0; background: #09130ccc; color: #fff; border: 1px solid #ffffffaa; border-radius: 4px; z-index: 1; }
.hero-video-toggle:hover { background: #09130c; }
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(7,21,11,.56); z-index: -1; }
.hero-content { width: min(100% - 48px, 1180px); margin: 0 auto; padding: 42px 0 56px; }
.eyebrow { font-size: 12px; font-weight: 800; color: var(--green); margin-bottom: 12px; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { font-size: 52px; }
.hero-copy { font-size: 22px; max-width: 500px; }
.hero form { max-width: 720px; margin-top: 28px; position: relative; }
.address-row { display: flex; gap: 10px; }
.address-row input { flex: 1; }
.address-row button { background: var(--gold); color: var(--ink); border-color: var(--gold); flex: 0 0 auto; }
.hero-note { font-size: 13px; margin: 14px 0 0; max-width: 620px; }
#stage-1 .hero { min-height: min(500px, calc(100svh - 235px)); border-bottom: 4px solid var(--gold); background-position: center 38%; }
#stage-1 .hero-content { padding-block: 36px 46px; }
#stage-1 .hero .eyebrow { display: flex; align-items: center; gap: 12px; font-family: "JetBrains Mono", Consolas, monospace; font-size: 12px; }
#stage-1 .hero .eyebrow::before { content: ""; width: 30px; height: 3px; background: var(--gold); }
#stage-1 .hero h1 { font-size: 56px; font-weight: 800; margin-bottom: 12px; text-shadow: 0 2px 12px #09130c55; }
#stage-1 .hero h1 span { color: var(--gold); }
#stage-1 .hero-copy { font-size: 21px; max-width: 460px; }
#stage-1 .hero form { margin-top: 24px; max-width: 720px; }
#stage-1 .hero form label { font-family: "JetBrains Mono", Consolas, monospace; font-size: 12px; text-transform: uppercase; }
#stage-1 .address-row { gap: 8px; }
#stage-1 .address-row input { min-height: 54px; border: 2px solid #fff; box-shadow: 0 6px 20px #09130c22; }
#stage-1 .address-row button { min-height: 54px; border-radius: 4px; background: var(--gold); border-color: var(--gold); color: #172019; }
#stage-1 .address-row button:hover:not(:disabled) { background: #ffdc7d; border-color: #ffdc7d; }
#stage-1 .intro-band { width: 100%; padding: 22px max(24px, calc((100% - 1180px) / 2)); background: var(--paper); border-bottom: 1px solid var(--line); align-items: center; }
#stage-1 .intro-band > div { border-left: 3px solid var(--orange); padding-left: 16px; }
#stage-1 .intro-band h2 { font-size: 18px; margin-bottom: 6px; }
#stage-1 .intro-band p { font-size: 13px; margin: 0; }
@media(max-width:600px) {
  #stage-1 .hero h1 { font-size: 38px; }
  #stage-1 .hero-copy { font-size: 18px; }
  #stage-1 .hero-content { padding-block: 28px 38px; }
  #stage-1 .intro-band { padding: 18px 16px; align-items: flex-start; gap: 12px; }
}
@media(max-width:360px) {
  #stage-1 .hero h1 { font-size: 34px; }
}
.photo-note { position: absolute; right: 18px; bottom: 12px; font-size: 11px; background: rgba(0,0,0,.65); padding: 4px 8px; }
.suggestions { position: absolute; z-index: 5; top: 100%; width: 100%; background: white; color: var(--ink); border: 1px solid var(--line); box-shadow: 0 4px 12px #0002; }
.suggestions button { text-align: left; justify-content: flex-start; width: 100%; border-radius: 0; background: #fff; font-weight: 500; }
.intro-band { display: flex; justify-content: space-between; gap: 28px; padding-block: 30px; }
.intro-band > p { font-size: 14px; color: var(--muted); }
.content-shell { padding-block: 22px 48px; }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.property-address, .muted { color: var(--muted); font-size: 14px; }
.target-layout, .results-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(290px, 1fr); gap: 32px; }
.choice { display: flex; align-items: flex-start; gap: 10px; padding: 11px 0; font-weight: 500; }
.target-details > label { margin-top: 18px; }
.target-details > .primary { width: 100%; margin: 12px 0; }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; font-weight: 400; margin-block: 20px; }
.map-panel { min-width: 0; margin-bottom: 22px; }
.map-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; padding-bottom: 12px; }
.roof-target-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
#roof-map { height: 390px; width: 100%; background: #e6ece8; border: 1px solid var(--line); }
#map-status { padding-top: 10px; }
#target-controls > button { margin-bottom: 12px; }
summary { cursor: pointer; font-size: 14px; color: var(--forest); }
.coordinate-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-top: 12px; }
.coordinate-row label { flex: 1 1 130px; font-size: 12px; }
.coordinate-row button { margin-bottom: 7px; }
.metrics { margin: 20px 0 14px; display: grid; grid-template-columns: 1fr 1fr 1.35fr; border-block: 1px solid var(--line); background: var(--paper); }
.metrics > div { padding: 22px 20px; }
.metrics dt { color: var(--muted); font-size: 13px; }
.metrics dd { margin: 6px 0 0; font-size: 27px; font-weight: 750; line-height: 1.25; overflow-wrap: anywhere; }
.results-layout { margin-top: 28px; }
.product-details h2 { margin-top: 24px; }
.product-details h2:first-child { margin-top: 0; }
.color-fieldset { margin-top: 20px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, 48px); gap: 10px; margin-bottom: 14px; }
.swatch { min-height: 44px; height: 44px; padding: 3px; border: 2px solid transparent; background: #fff; position: relative; }
.swatch img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.swatch[aria-pressed=true] { border-color: var(--green); }
.swatch:hover::after, .swatch:focus-visible::after { content: attr(aria-label); position: absolute; z-index: 10; bottom: calc(100% + 5px); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; font-size: 12px; padding: 6px 8px; border-radius: 3px; width: max-content; max-width: 160px; }
#selected-color { font-weight: 700; min-height: 25px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 22px; }
.save-shell { max-width: 640px; }
.save-shell form > input { margin-bottom: 18px; }
.save-shell form > button { margin-bottom: 20px; }
#claim-form, #contact-form { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 18px; }
#roof-viewer { position: relative; width: 100%; min-height: 260px; background: var(--paper); }
#roof-viewer canvas { display: block; max-width: 100%; }
.site-footer { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid var(--line); padding-block: 24px; color: var(--muted); font-size: 12px; }
.skip-link { position: absolute; top: -100px; z-index: 100; background: var(--gold); padding: 12px; }
.skip-link:focus { top: 4px; }
@media (max-width: 760px) { .target-layout, .results-layout { grid-template-columns: 1fr; gap: 16px; } .section-heading { flex-wrap: wrap; } .metrics { grid-template-columns: 1fr 1fr; } .metrics > div:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); } .intro-band { flex-direction: column; gap: 4px; } .hero h1 { font-size: 42px; } .hero-copy { font-size: 20px; } #roof-map { height: 330px; } .swatches { grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); } }
@media (max-width: 480px) { .site-header { padding: 10px 16px; gap: 10px; } .brand img { width: 130px; height: 48px; } .site-header > span { display: none; } .progress-shell, .notice-shell, .content-shell, .intro-band, .site-footer, .hero-content { width: calc(100% - 32px); } .progress { gap: 8px; padding-block: 16px; } .progress li { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 12px; } .address-row { flex-direction: column; } .hero { min-height: 440px; } .hero-content { padding-block: 30px 50px; } h1 { font-size: 28px; } .metrics > div { padding: 16px 12px; } .metrics dd { font-size: 23px; } .site-footer { flex-direction: column; gap: 8px; } .actions > * { flex: 1 1 100%; } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }

.analysis-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0; padding: 0; }
.analysis-steps li { border-top: 3px solid var(--line); padding-top: 12px; color: var(--muted); font-weight: 650; }
.analysis-steps li[aria-current=step] { border-color: var(--green); color: var(--forest); }
#storm-experience { padding-block: 24px 32px; border-block: 1px solid var(--line); margin-bottom: 8px; min-width: 0; }
#storm-experience .section-heading { margin-bottom: 0; }
#storm-report-body { min-width: 0; }
.storm-report-section { padding: 24px 0; border-top: 1px solid var(--line); min-width: 0; overflow-wrap: anywhere; }
.storm-report-section h3 { font-size: 21px; line-height: 1.3; margin: 0 0 16px; }
.storm-report-section h4 { font-size: 16px; line-height: 1.4; margin: 14px 0 6px; }
.storm-report-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 16px 0; }
.storm-report-facts > div { min-width: 0; }
.storm-report-facts dt { font-size: 13px; color: var(--muted); }
.storm-report-facts dd { margin: 4px 0 0; font-weight: 650; }
.storm-report-list { padding-left: 22px; }
.storm-report-list li { padding-block: 6px; }
.storm-report-list p { margin-bottom: 8px; }
.storm-source-table-wrap { max-width: 100%; overflow-x: auto; margin-block: 16px; }
.storm-source-table { border-collapse: collapse; width: 100%; font-size: 14px; text-align: left; }
.storm-source-table caption { text-align: left; font-weight: 700; margin-bottom: 12px; }
.storm-source-table th, .storm-source-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; min-width: 100px; }
.storm-source-table th { color: var(--forest); background: var(--paper); }
@media (max-width: 600px) { .analysis-steps { grid-template-columns: 1fr; gap: 12px; } .storm-report-facts { grid-template-columns: 1fr; } }

#aging-finance-form fieldset{border:0;padding:0;margin:0;min-width:0}
#aging-finance-form textarea{width:100%;min-width:0;box-sizing:border-box;resize:vertical;font:inherit;padding:10px;border:1px solid #9aac9f;border-radius:4px}
#aging-finance-form .finance-fields[hidden]{display:none}
#aging-finance-form .finance-fields>details,#aging-finance-form .finance-fields>p,#aging-finance-form label:has(textarea){grid-column:1/-1}
#aging-finance-output{scroll-margin-top:100px}
#aging-finance-output:focus{outline:none}
@media(max-width:680px){#aging-finance-output .metrics{grid-template-columns:1fr}}
#finance-dialog{width:min(720px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:90dvh;box-sizing:border-box;border:1px solid #a9b9ad;border-radius:8px;padding:20px;color:#14251c;background:#fff;overflow:auto;overscroll-behavior:contain}
#roof-financing .finance-intro{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,360px);gap:28px;align-items:center}
#roof-financing .finance-intro-copy{min-width:0}
#roof-financing .finance-intro-media{position:relative;width:min(100%,300px);justify-self:end;background:#102318;border:1px solid #76917f;border-radius:6px;overflow:hidden;box-shadow:0 12px 28px rgb(8 40 25 / 20%)}
#roof-financing .finance-intro-media[hidden]{display:none}
#roof-financing .finance-intro-video{display:block;width:100%;height:auto;aspect-ratio:9/16;object-fit:contain;object-position:center;background:#102318;cursor:zoom-in}
#roof-financing .finance-video-enlarge{position:absolute;right:10px;top:10px;min-height:40px;padding:8px 12px;border:2px solid #fff;background:#f5c443;color:#102318;font-weight:800;box-shadow:0 3px 10px rgb(0 0 0 / 30%)}
#roof-financing .finance-intro-video-controls{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;background:#102318;color:#fff}
#roof-financing .finance-intro-video-controls>div{display:flex;align-items:center;gap:6px}
#roof-financing .finance-intro-video-controls button{min-height:36px;padding:6px 9px;font-size:13px}
#roof-financing .finance-intro-video-controls .secondary{background:#fff;color:#102318;border-color:#fff}
#roof-financing .finance-intro-video-controls .text-button{color:#fff}
#roof-financing .finance-intro-video-status{margin:0;padding:0 14px 12px;color:#d8e6dc}
#roof-financing .finance-intro-video-status:empty{display:none}
#finance-video-dialog{width:min(920px,calc(100vw - 32px));max-width:calc(100vw - 32px);max-height:calc(100dvh - 32px);box-sizing:border-box;border:1px solid #76917f;border-radius:8px;padding:0;background:#071f14;color:#fff;overflow:hidden}
#finance-video-dialog::backdrop{background:rgb(3 14 9 / 82%)}
#finance-video-dialog:not([open]){display:none}
.finance-video-dialog-header{display:flex;align-items:center;gap:10px;padding:12px 14px;background:#fff;color:#102318;border-bottom:1px solid #c8d4ce}
.finance-video-dialog-header h2{margin:0 auto 0 0;font-size:20px}
.finance-video-dialog-header button{min-height:42px;white-space:nowrap}
.finance-video-dialog-frame{display:grid;place-items:center;height:calc(100dvh - 104px);min-height:360px;padding:12px;box-sizing:border-box}
#finance-video-dialog .finance-intro-video.is-expanded{width:auto;height:100%;max-width:100%;max-height:100%;aspect-ratio:9/16;object-fit:contain;cursor:default}
@media(max-width:640px){#roof-financing .finance-intro{grid-template-columns:1fr;gap:16px}#roof-financing .finance-intro-media{order:2;width:min(100%,280px);justify-self:center}#roof-financing .finance-intro-video-controls>strong{display:none}#roof-financing .finance-intro-video-controls>div{width:100%}#roof-financing .finance-intro-video-controls button{flex:1}.finance-video-dialog-header{flex-wrap:wrap;padding:10px}.finance-video-dialog-header h2{width:100%;font-size:18px}.finance-video-dialog-frame{height:calc(100dvh - 144px);min-height:240px;padding:8px}}
#finance-realtor-handoff{margin:18px 0 4px;padding:16px 0;border-top:2px solid #155c39;border-bottom:1px solid #c8d4ce}
#finance-realtor-handoff h4{font-size:19px;margin:0 0 8px}
#finance-realtor-handoff .check{margin:12px 0}
#finance-realtor-handoff button{min-height:44px;white-space:normal}
.finance-realtor-card{display:grid;grid-template-columns:minmax(150px,240px) minmax(0,1fr);gap:16px;align-items:end;margin:12px 0 16px}
.finance-realtor-card img{display:block;width:100%;height:auto;max-height:420px;object-fit:contain;object-position:left center;border:1px solid #b7c7bc;background:#fff}
.finance-realtor-card figcaption{padding:10px 0;color:#17482f;font-weight:800}
@media(max-width:640px){.finance-realtor-card{grid-template-columns:1fr}.finance-realtor-card img{max-height:none}.finance-realtor-card figcaption{padding-top:0}}
#finance-ranking .finance-loan-match{padding:14px 0;border-bottom:1px solid #c8d4ce}
#finance-ranking h4{font-size:18px;line-height:1.3;margin:0 0 8px}
#finance-ranking strong{color:#155c39}
#finance-ranking ul{padding-left:20px;margin:10px 0}
#finance-ranking details{margin:12px 0}
#finance-ranking summary{cursor:pointer;min-height:32px}
#finance-ranking button{min-height:44px;white-space:normal;max-width:100%}
#finance-ranking .text-button{display:block;text-align:left;margin:6px 0}
#finance-excluded strong{color:#9b3030}
#finance-dialog::backdrop{background:rgb(5 20 12 / 65%)}
#finance-dialog:not([open]),#finance-dialog [hidden]{display:none!important}
.finance-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid #c8d4ce;padding-bottom:12px;margin-bottom:12px}
.finance-dialog-header h2{font-size:22px;margin:0;line-height:1.25}
#finance-dialog .finance-question-actions{position:sticky;bottom:-20px;background:#fff;border-top:1px solid #c8d4ce;padding:12px 0;margin:16px 0 0;z-index:1}
#finance-dialog .finance-question-actions .primary{margin-left:auto}
#finance-dialog .finance-fields{margin:12px 0}
#finance-dialog #finance-question-progress{margin:10px 0 4px}
#finance-dialog #finance-questions h3{margin:4px 0 12px}
#finance-dialog .finance-payment-inputs{margin:12px 0;border:0;padding:0}
#finance-dialog .finance-payment-inputs h3,#finance-dialog .finance-price-inputs h3{display:none}
#finance-dialog .metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#finance-dialog .metrics>div{padding:10px 12px;min-height:0}
#finance-dialog .metrics dd{font-size:20px;overflow-wrap:anywhere}
#finance-preview{margin:8px 0 16px}
@media(max-width:540px){#finance-dialog{padding:16px;max-height:94dvh}.finance-dialog-header h2{font-size:19px}#finance-dialog .finance-question-actions{bottom:-16px}#finance-dialog .metrics{grid-template-columns:1fr}#finance-dialog .metrics>div{display:flex;justify-content:space-between;align-items:center;gap:12px}#finance-dialog .metrics dt{max-width:55%}}
.roof-financing{border-top:1px solid #c8d4ce;margin-top:24px;padding-top:24px;min-width:0}
.finance-programs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}
.finance-program{border:1px solid #c8d4ce;border-top:3px solid #e79b27;padding:16px;border-radius:4px;background:#fff;min-width:0}
.finance-program h3{font-size:18px;margin:0 0 10px;letter-spacing:0}
.finance-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}
.finance-question-actions{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0}
.finance-question-actions button{min-height:44px}
.finance-fields label[hidden]{display:none}
#finance-output{scroll-margin-top:100px}
#finance-output > h3:focus-visible{outline:2px solid #17543a;outline-offset:4px}
#finance-question-progress{font-weight:700;color:#17543a}
.finance-fields label{min-width:0;display:grid;gap:6px}
.finance-fields input,.finance-fields select{box-sizing:border-box;width:100%;min-width:0}
#roof-finance-form fieldset{border:0;padding:0;margin:0;min-width:0}
#roof-finance-form details{margin:16px 0}
.finance-payment-inputs{border-top:1px solid #c8d4ce;padding-top:16px;margin:20px 0}
.finance-payment-result{border-block:1px solid #c8d4ce;background:#f1f7f3;padding:18px 14px;margin:16px 0}
.finance-payment-result h4{font-size:16px;margin:0 0 8px;letter-spacing:0}
.finance-payment-amount{font-size:28px;font-weight:750;line-height:1.2;overflow-wrap:anywhere;margin:8px 0;color:#17543a;letter-spacing:0}
.finance-payment-result .text-button{text-align:left;white-space:normal;min-height:44px}
.finance-price-inputs{margin:20px 0}
.finance-candidate{display:flex;flex-wrap:wrap;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #c8d4ce}
.finance-candidate a{overflow-wrap:anywhere;flex:1 1 220px}
#finance-output .metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:680px){.finance-programs,.finance-fields{grid-template-columns:1fr}.roof-financing{padding-top:16px}.finance-program{padding:12px}#finance-output .metrics{grid-template-columns:1fr}}
/* The customer report keeps decisions visible and evidence available on demand. */
:root { --orange: #f59a2f; --forest-deep: #0d2615; }
.site-header { background: #09130c; color: #f7faf7; border-bottom: 3px solid var(--gold); }
.site-header .brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.site-header .brand img { width: 44px; height: 54px; object-fit: contain; }
.site-header .brand strong { font-size: 18px; text-transform: uppercase; white-space: nowrap; }
.site-header > span { color: var(--gold); }
.site-header > a:last-child { color: #f7faf7; }
.content-shell > .section-heading { padding-block: 12px 16px; border-bottom: 1px solid var(--line); }
.eyebrow { color: #946012; font-size: 11px; }
#stage-3 h1 { font-size: 34px; }
.report-nav { display: flex; flex-wrap: wrap; gap: 0 24px; border-bottom: 1px solid var(--line); margin: 0 0 24px; }
.report-nav a.secondary { background: transparent; border: 0; border-radius: 0; padding: 12px 0; min-height: 44px; border-bottom: 3px solid transparent; font-size: 14px; }
.report-nav a.secondary:hover, .report-nav a.secondary:focus-visible { border-bottom-color: var(--orange); }
#storm-experience { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 1fr); gap: 0 28px; padding: 0 0 8px; border-top: 0; }
#storm-experience > .section-heading { grid-column: 1 / -1; grid-row: 1; margin-bottom: 12px; }
#storm-experience-status { grid-column: 1 / -1; grid-row: 2; margin: 0 0 12px; padding: 9px 12px; font-size: 13px; }
#storm-evidence-map { grid-column: 1; grid-row: 3; min-width: 0; align-self: start; }
#storm-report-body { display: contents; }
#storm-report-body > .report-summary { grid-column: 2; grid-row: 3; padding: 14px 0 18px; border-top: 3px solid var(--forest); }
#storm-report-body > .report-details { grid-column: 1 / -1; grid-row: 5; margin-block: 8px 0; }
#storm-experience > .inspection-recommendation { grid-column: 1 / -1; grid-row: 4; }
.report-summary h3 { font-size: 24px; line-height: 1.25; margin-bottom: 10px; }
.report-summary p { font-size: 14px; margin-bottom: 12px; }
.report-summary-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-block: 18px; }
.report-summary-facts > div { min-width: 0; }
.report-summary-facts dt { color: var(--muted); font-size: 12px; }
.report-summary-facts dd { margin: 3px 0 0; font-weight: 750; font-size: 17px; overflow-wrap: anywhere; }
.report-next-step { padding: 14px 0 0 14px; border-left: 3px solid var(--orange); margin-top: 18px; }
.report-next-step h4 { font-size: 15px; margin: 0 0 6px; }
.report-details, #stage-3 > details { border-block: 1px solid var(--line); padding: 0; margin-block: 16px; }
.report-details > summary, #stage-3 > details > summary { padding: 16px 0; font-weight: 750; font-size: 14px; }
.report-details[open] > summary, #stage-3 > details[open] > summary { border-bottom: 1px solid var(--line); }
.report-details .storm-report-section { padding-block: 18px; }
.report-details .storm-report-section h3 { font-size: 18px; }
#storm-evidence-map .storm-evidence-map { font-family: Inter, Arial, sans-serif; }
#storm-evidence-map .sem-toolbar { padding-top: 0; gap: 10px; align-items: end; }
#storm-evidence-map .sem-toolbar label { font-size: 11px; font-weight: 650; margin: 0; flex: 1 1 140px; }
#storm-evidence-map .sem-toolbar select { font-size: 13px; min-height: 40px; padding: 8px; }
#storm-evidence-map .sem-toolbar button { font-size: 12px; min-height: 40px; }
#storm-evidence-map .sem-canvas { height: 400px; border-radius: 4px; border-color: #b8c8bf; }
#storm-evidence-map .sem-status { font-size: 12px; color: var(--muted); margin: 8px 0; }
#storm-evidence-map details { padding: 8px 0; }
#storm-evidence-map details > summary { font-size: 12px; }
#storm-evidence-map .sem-retry { font-size: 13px; min-height: 40px; background: #fff8df; }
#roof-results { margin-top: 12px; font-size: 24px; }
#stage-3 > .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--paper); border: 0; border-left: 3px solid var(--forest); margin-block: 18px; }
#stage-3 > .metrics > div { padding: 14px 20px; }
#stage-3 > #pricing-tiers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; border: 0; background: transparent; margin-block: 16px 12px; }
#pricing-tiers > div { border: 1px solid var(--line); border-top: 3px solid #9cab9f; border-radius: 4px; background: #fff; min-width: 0; }
#pricing-tiers > div[data-selected=true] { border-color: #c59d38; border-top-color: var(--gold); background: #fffcf3; }
#pricing-tiers dt { color: var(--forest); font-size: 13px; font-weight: 700; }
#pricing-tiers dd { font-size: 23px; margin-top: 10px; }
#pricing-tiers p { font-size: 12px; margin: 10px 0 0; color: #795e18; font-weight: 650; }
.pricing-refinement-guide{margin:10px 0 14px;padding:11px 13px;border-left:5px solid #b42318;background:#fff5c7;color:#21352a;font-size:13px}.pricing-refinement-guide strong{display:block;margin-bottom:2px;color:#8f1b13;font-size:14px}
#pricing-tiers .tier-range-open{grid-column:1/-1;justify-content:flex-start;width:100%;min-height:48px;margin-top:10px;padding:9px 11px;border:3px solid #b42318;border-radius:5px;background:#f7c948;color:#16231b;text-align:left;white-space:normal;font-size:13px;font-weight:850;box-shadow:0 3px 0 #8f1b13;cursor:pointer}#pricing-tiers .tier-range-open:hover,#pricing-tiers .tier-range-open:focus-visible{background:#ffda64;transform:translateY(-1px)}#pricing-tiers .tier-range-open:active{transform:translateY(2px);box-shadow:0 1px 0 #8f1b13}
.roof-pricebook-rail{margin:22px 0;padding:20px;border:2px solid #c59d38;border-left:7px solid #176444;border-radius:6px;background:#fffdf6}.roof-pricebook-rail h2{margin:3px 0 6px}.roof-pricebook-state{margin:14px 0;padding:15px;border:1px solid var(--line);border-radius:5px;background:#fff}.roof-pricebook-state strong{display:block;font-size:28px;line-height:1.2;color:var(--forest)}.roof-pricebook-state[data-tone=partial] strong{color:#795e18}.roof-pricebook-state[data-tone=blocked] strong{font-size:20px;color:#9a2018}.roof-pricebook-state p{margin:6px 0 0}.roof-pricebook-status{min-height:1.2em;font-weight:750;color:#176444}.roof-pricebook-answers{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px 14px;margin:14px 0;padding:14px;border:1px solid var(--line);background:#fff}.roof-pricebook-answers label{display:grid;gap:4px;font-size:13px;font-weight:750}.roof-pricebook-answers input,.roof-pricebook-answers select{min-width:0;padding:8px;border:1px solid var(--line);border-radius:4px;font:inherit}.roof-pricebook-actions{grid-column:1/-1;margin:4px 0 0}.roof-pricebook-lines{max-width:100%;overflow-x:auto}.roof-pricebook-table{width:100%;border-collapse:collapse;table-layout:fixed}.roof-pricebook-table th,.roof-pricebook-table td{padding:7px 8px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.roof-pricebook-table th:last-child,.roof-pricebook-table td:last-child{text-align:right;white-space:nowrap}.roof-pricebook-unpriced ul{padding-left:20px}.roof-pricebook-basis{font-size:12px;color:var(--muted)}@media(max-width:680px){.roof-pricebook-rail{padding:14px 12px}.roof-pricebook-state strong{font-size:24px}.roof-pricebook-answers{grid-template-columns:1fr}.roof-pricebook-table th:nth-child(2),.roof-pricebook-table td:nth-child(2){display:none}}
.tier-range-dialog{position:fixed;inset:0 0 0 auto;width:min(480px,100vw);height:100dvh;max-height:100dvh;margin:0 0 0 auto;padding:0;border:0;border-left:1px solid #718779;border-top:5px solid var(--gold);background:#fff;color:var(--ink);overflow:auto;overscroll-behavior:contain}
.tier-range-dialog::backdrop{background:rgba(4,25,14,.68)}
.tier-range-dialog:not([open]){display:none}
.tier-range-head{position:sticky;top:0;z-index:3;display:flex;align-items:start;justify-content:space-between;gap:16px;padding:18px 20px 13px;border-bottom:1px solid var(--line);background:#fff}
.tier-range-head h2{margin:0;font-size:22px}.tier-range-head .eyebrow{margin:0 0 4px}.tier-range-head .account-overlay-close{flex:0 0 44px}
.tier-range-head #tier-range-save-status{min-height:18px;margin:4px 0 0;font-size:12px}.tier-range-head #tier-range-save-status[data-state="error"]{color:#982626;font-weight:800}
.tier-range-section-head{display:flex;align-items:start;justify-content:space-between;gap:12px}#tier-range-roof-editor{display:grid;gap:10px}.price-outline-viewport{position:relative;isolation:isolate;height:190px;overflow:hidden;border:1px solid #718779;background:#eef3ef}.price-outline-viewport svg{display:block;width:100%;height:100%;touch-action:none}.price-outline-grid{fill:#eef3ef;stroke:#718779;stroke-width:1}.price-outline-grid-lines{fill:none;stroke:#d4ded7;stroke-width:1}.price-outline-polygon{fill:#f7c948;fill-opacity:.28;stroke:#0c5630;stroke-width:3;vector-effect:non-scaling-stroke}.price-outline-handle{fill:#f7c948;stroke:#b42318;stroke-width:3;cursor:grab;vector-effect:non-scaling-stroke}.price-outline-handle:focus{outline:none;stroke:#071b10;stroke-width:5}.price-outline-empty{position:absolute;inset:0;display:grid;place-items:center;padding:22px;text-align:center;color:var(--muted);font-size:13px}.price-outline-meta{display:grid;gap:4px;line-height:1.4}.price-outline-meta output{display:block;color:var(--forest);font-size:13px;font-weight:850}.price-outline-meta span{display:block;font-size:12px;color:var(--muted)}.price-outline-primary{display:flex;align-items:center}.price-outline-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;align-items:stretch}.price-outline-actions button{width:100%;min-width:0;min-height:44px;padding:8px 10px;font-size:13px;white-space:normal}.price-outline-actions [data-price-outline-save]{grid-column:1/-1;min-height:48px;margin:0}.price-outline-status{min-height:18px;margin:0!important;font-size:12px!important;font-weight:750}.price-outline-status[data-state="success"]{color:#176b3b}.price-outline-status[data-state="error"]{color:#982626}.tier-range-refinement-group{padding-top:14px;border-top:1px solid #dce4de}.tier-range-refinement-group:first-of-type{margin-top:14px}.tier-range-refinement-group h4{margin:0 0 8px;color:var(--forest);font-size:14px}.tier-range-method{margin:0;border-bottom:1px solid var(--line)}.tier-range-method>summary{padding:17px 0;color:var(--forest);font-size:14px;font-weight:850;cursor:pointer}.tier-range-method>summary::marker{color:#b42318}.tier-range-method-body{padding:0 0 12px}.tier-range-method-body>section{padding:14px 0;border-top:1px solid #e2e8e4}.tier-range-method-body>section>h3{font-size:15px}
.tier-range-body{padding:0 20px max(24px,env(safe-area-inset-bottom))}
.tier-range-body>section{padding:18px 0;border-bottom:1px solid var(--line)}.tier-range-body>section:last-child{border-bottom:0}
.tier-range-body h3{display:flex;align-items:center;gap:9px;margin:0 0 8px;font-size:17px}.tier-range-body p{margin:0 0 9px;font-size:13px}
.tier-range-anchor h3{font-size:21px}.tier-range-track{position:relative;height:12px;margin:18px 3px 10px;background:#dfe6e1}.tier-range-track span{position:absolute;left:8%;right:8%;height:100%;background:#efc355}.tier-range-track i{position:absolute;left:50%;top:-5px;width:3px;height:22px;background:var(--forest)}
.tier-range-equation{margin:14px 0 6px;padding:12px;border:1px solid #718779;background:#f5f8f5;color:var(--forest);font-size:18px;font-weight:900;text-align:center}.tier-range-reconciliation{margin:0!important;font-size:12px!important;font-weight:800}.tier-range-reconciliation[data-state="ok"]{color:#176b3b}.tier-range-reconciliation[data-state="error"]{color:#982626}.tier-range-evidence{display:block;margin-top:4px;color:#51645a;font-size:11px;font-weight:700}
.range-key{width:10px;height:18px;flex:0 0 10px}.range-key-choice{background:#d9a71d}.range-key-checking{background:#2c77b8}.range-key-locked{background:#188a3a}.range-key-tearoff{background:#87938b}
.tier-range-choice{margin:14px 0}.tier-range-choice legend{margin-bottom:7px;font-size:13px}.tier-range-choice-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.tier-range-choice-options label{display:flex;align-items:center;gap:7px;min-height:48px;margin:0;padding:8px;border:1px solid #9caf9f;border-radius:4px;font-size:12px;cursor:pointer}.tier-range-choice-options label:has(input:checked){border-color:var(--forest);background:#eaf4ed;box-shadow:inset 3px 0 0 var(--forest)}.tier-range-choice-options input{width:16px;height:16px;flex-basis:16px}
.tier-range-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.tier-range-fact{display:grid;align-content:start;gap:5px;min-width:0;margin:0;padding:9px;border:1px solid #a8b9ad;background:#f8faf8}.tier-range-fact span{font-size:12px;font-weight:800;color:var(--forest)}.tier-range-fact small{min-height:30px;font-size:12px;line-height:1.35;color:var(--muted)}.tier-range-fact select{width:100%;min-width:0;min-height:44px;padding:6px 28px 6px 8px;border:1px solid #718779;background:#fff;font-size:12px}.tier-range-fact select:focus-visible{outline:3px solid rgba(247,201,72,.7);outline-offset:1px}.tier-range-fact.is-saving{border-color:var(--gold);background:#fff8df}.range-key-facts{background:#16804b}
.tier-range-fact .tier-range-fact-impact{min-height:0;padding-top:6px;border-top:1px solid #d9e1db;color:#315c43;font-weight:800}
.tier-range-drivers{display:grid;gap:0;margin:0;padding:0;list-style:none}.tier-range-drivers li{padding:10px 0;border-top:1px solid #e2e8e4}.tier-range-drivers li:first-child{border-top:0}.tier-range-drivers li>div{display:flex;justify-content:space-between;align-items:start;gap:12px}.tier-range-drivers strong{font-size:13px}.tier-range-drivers span{flex:0 0 auto;font-size:12px;font-weight:800;color:#795e18}.tier-range-drivers p{margin:4px 0 0;color:var(--muted)}.tier-range-drivers .text-button{min-height:34px;padding:3px 0;font-size:12px}
.tier-range-trust{border-left:4px solid var(--gold);padding-left:14px!important}.tier-range-trust p{font-weight:650}.tier-range-trust .muted{font-weight:400}
@media(max-width:600px){.tier-range-dialog{inset:auto 0 0;width:100%;max-width:100%;height:85dvh;max-height:85dvh;margin:auto 0 0;border-left:0;border-top:5px solid var(--gold)}.tier-range-head{padding:13px 14px 10px}.tier-range-head h2{font-size:19px}.tier-range-body{padding-inline:14px}.tier-range-choice-options,.tier-range-facts{grid-template-columns:1fr}.price-outline-viewport{height:165px}.price-outline-actions{gap:6px}.price-outline-actions button{padding-inline:7px;font-size:12px}.tier-range-fact small{min-height:0}.tier-range-body>section{padding:14px 0}}
#stage-3 .muted { font-size: 13px; }
#stage-3 .results-layout { margin: 16px 0 24px; }
.report-save-actions { border-top: 1px solid var(--line); padding-top: 20px; align-items: center; }
.report-save-actions #account-save-note { flex: 1 1 250px; margin: 0; font-size: 14px; max-width: 540px; }
#save-results { background: var(--gold); border-color: #d6ad40; color: #172019; }
.roof-result-decision{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;margin:20px 0 24px;padding:18px 0;border-block:1px solid var(--line);border-left:4px solid var(--forest)}
.roof-result-decision[hidden]{display:none}.roof-result-decision>div:first-child{padding-left:16px}.roof-result-decision h2{margin:3px 0 6px;font-size:21px}.roof-result-decision p{margin:0;max-width:720px}.roof-result-decision-actions{display:grid;gap:8px;min-width:210px}.roof-result-decision-actions button{width:100%;min-height:44px}
.roof-protection-qualifier{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,340px);align-items:center;gap:22px;margin:24px 0;padding:22px 0;border-block:1px solid var(--line)}.roof-protection-qualifier[hidden]{display:none}.roof-protection-copy h2{margin:4px 0 8px;font-size:24px}.roof-protection-copy p{max-width:720px;margin:0}.roof-protection-launch{display:grid;gap:3px;min-height:76px;padding:13px 18px;border:3px solid #b42318;border-radius:6px;background:#f7c948;color:#16231b;text-align:left;box-shadow:0 5px 0 #8f1b13}.roof-protection-launch:hover,.roof-protection-launch:focus-visible{background:#ffda64;transform:translateY(-1px)}.roof-protection-launch strong{font-size:18px}.roof-protection-launch span{font-size:12px;font-weight:750}.roof-protection-result{grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:14px;padding:16px;border-left:5px solid var(--gold);background:#f5f8f5}.roof-protection-result[hidden]{display:none}.roof-protection-result-badge{display:grid;place-items:center;min-width:68px;min-height:48px;padding:8px;background:var(--forest);color:#fff;border-radius:4px}.roof-protection-result h3{margin:0 0 5px;font-size:19px}.roof-protection-result p{margin:0 0 6px}.roof-protection-dialog{width:min(680px,calc(100% - 24px));max-height:calc(100dvh - max(24px,env(safe-area-inset-top)) - max(24px,env(safe-area-inset-bottom)));overflow:auto;padding:0;border:1px solid #78907f;border-top:5px solid var(--gold);border-radius:6px;background:#fff;color:var(--ink)}.roof-protection-dialog::backdrop{background:rgba(4,25,14,.72)}.roof-protection-dialog-head{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:start;gap:16px;padding:18px 20px 12px;background:#fff;border-bottom:1px solid var(--line)}.roof-protection-dialog-head h2{margin:3px 40px 0 0;font-size:23px}.roof-protection-dialog-head .account-overlay-close{top:10px;right:10px}.roof-protection-progress{height:7px;margin:0;background:#dce5df}.roof-protection-progress span{display:block;height:100%;background:var(--forest);transition:width .18s ease}.roof-protection-counter{margin:18px 22px 4px;font-size:12px;font-weight:800;color:#795e18}.roof-protection-question{display:grid;gap:9px;margin:0;padding:10px 22px 22px;border:0}.roof-protection-question legend{margin-bottom:12px;font-size:20px;font-weight:800}.roof-protection-question label{display:flex;align-items:center;gap:12px;min-height:50px;margin:0;padding:10px 13px;border:1px solid #91a397;border-radius:4px;cursor:pointer}.roof-protection-question label:has(input:checked){border-color:var(--forest);background:#eaf4ed;box-shadow:inset 4px 0 0 var(--forest)}.roof-protection-question input{width:18px;height:18px;margin:0;accent-color:var(--forest)}.roof-protection-dialog-actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:10px;padding:12px 20px max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:#fff}.roof-protection-dialog-actions button{min-width:120px}
@media(max-width: 860px) {
  #storm-experience { grid-template-columns: minmax(0, 1fr); }
  #storm-evidence-map { grid-column: 1; grid-row: 3; }
  #storm-report-body > .report-summary { grid-column: 1; grid-row: 4; padding-top: 16px; }
  #storm-experience > .inspection-recommendation { grid-column: 1; grid-row: 5; }
  #storm-report-body > .report-details { grid-column: 1; grid-row: 6; }
  .report-summary-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media(max-width: 600px) {
  #stage-3 h1 { font-size: 28px; }
  .site-header .brand strong { font-size: 15px; }
  .site-header .brand { gap: 7px; }
  .site-header .brand img { width: 34px; height: 44px; }
  .site-header > a:last-child { font-size: 12px; }
  #storm-evidence-map .sem-canvas { height: 330px; }
  #storm-evidence-map .sem-toolbar label { flex-basis: 120px; }
  #storm-evidence-map .sem-toolbar button { width: 100%; }
  .report-summary-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  #stage-3 > #pricing-tiers { grid-template-columns: 1fr; gap: 10px; }
  #pricing-tiers > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; gap: 8px; }
  #pricing-tiers dd { text-align: right; font-size: 19px; margin: 0; }
  #pricing-tiers p { grid-column: 1 / -1; }
  #stage-3 > .metrics > div:last-child { grid-column: auto; border-top: 0; }
  #stage-3 > #pricing-tiers > div:last-child { grid-column: auto; border-top: 3px solid #9cab9f; }
  #stage-3 > #pricing-tiers > div[data-selected=true] { border-top-color: var(--gold); }
}

.survey-question { padding-block: 22px; border-bottom: 1px solid var(--line); }
.survey-question legend { font-size: 17px; line-height: 1.45; margin-bottom: 14px; display: flex; align-items: baseline; gap: 12px; padding-top: 18px; }
.question-number { color: #9a6a17; font-family: Consolas, monospace; font-size: 13px; flex: 0 0 18px; }
.survey-answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 300px; gap: 10px; margin-left: 30px; }
.survey-answers label { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 10px 16px; margin: 0; border: 1px solid #98ab9d; border-radius: 4px; cursor: pointer; }
.survey-answers label:has(input:checked) { background: var(--forest); color: #fff; border-color: var(--forest); }
.survey-answers input { width: 16px; height: 16px; flex-basis: 16px; margin: 0; accent-color: var(--gold); }
#survey-note { margin-top: 18px; }
#survey-note:empty { display: none; }
#survey-form > .primary { margin-top: 22px; background: var(--gold); color: var(--ink); border-color: #d6ad40; width: 100%; }
#result-context:empty { display: none; }
.storm-video-panel { scroll-margin-top: var(--storm-video-offset, 110px); margin: 20px 0; background: #10271b; color: #fff; border: 1px solid #577361; border-radius: 6px; overflow: hidden; }
.storm-video-panel video { display: block; width: 100%; max-height: min(65vh, max(80px, calc(100svh - var(--storm-video-offset, 110px) - 200px))); aspect-ratio: 16 / 9; object-fit: contain; background: #08170e; }
.storm-video-controls { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; }
.storm-video-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.storm-video-panel .secondary { background: #fff; color: #173c26; }
.storm-video-panel .primary { background: #edc643; border-color: #edc643; color: #152b1d; }
#storm-video-status { margin: 0; padding: 0 16px 16px; }
@media(max-width:480px) { .storm-video-actions { width: 100%; } .storm-video-actions button { flex: 1 1 auto; } }

/* Keep the completed report's map ahead of supporting detail. */
body[data-roof-stage="3"] .progress { padding-block: 10px; gap: 12px; }
body[data-roof-stage="3"] .progress li { padding-bottom: 6px; }
#stage-3.content-shell { padding-top: 4px; }
#stage-3 > .section-heading { padding-block: 8px; margin-bottom: 4px; gap: 8px 16px; align-items: center; }
#stage-3 > .section-heading .eyebrow { margin-bottom: 4px; }
#stage-3 h1 { font-size: 24px; margin-bottom: 6px; }
#stage-3 .property-address { margin-bottom: 0; }
#stage-3 #result-context { margin-block: 6px; }
#stage-3 #result-context:empty { display: none; }
#stage-3 .report-nav { margin-bottom: 12px; }
#stage-3 #storm-experience > .section-heading { margin-bottom: 8px; }
#stage-3 #storm-experience > .section-heading .eyebrow { display: none; }
#stage-3 #storm-experience > .section-heading h2 { font-size: 18px; margin-bottom: 0; }
@media(max-width:600px) {
  body[data-roof-stage="3"] .progress { gap: 8px; padding-block: 8px; }
  body[data-roof-stage="3"] .progress li { flex-direction: row; align-items: center; font-size: 11px; }
  body[data-roof-stage="3"] .progress li span { display: none; }
  #stage-3 > .section-heading { align-items: flex-start; }
  #stage-3 h1 { font-size: 22px; }
  #stage-3 .report-nav { gap: 0 20px; margin-bottom: 10px; }
}
.inspection-recommendation { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 6px 20px; padding: 12px 0; border-top: 1px solid #cad5cf; }
.inspection-recommendation h3 { margin: 0; font-size: 18px; }
.inspection-recommendation p { grid-column: 1; margin: 0; font-size: 14px; }
.inspection-recommendation button { grid-column: 2; grid-row: 1 / 3; }

.aging-takeoff-experience { margin: 8px 0 24px; padding: 20px 0 24px; border-bottom: 1px solid var(--line); }
.aging-takeoff-experience > .section-heading { align-items: end; margin-bottom: 14px; }
.aging-takeoff-experience > .section-heading p { max-width: 760px; margin-bottom: 0; }
.aging-diagnostic-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(260px, .72fr); gap: 18px; align-items: stretch; }
#aging-takeoff-map-slot { min-width: 0; }
#aging-takeoff-map-slot #map-panel { height: 100%; min-height: 520px; margin: 0; }
#aging-takeoff-map-slot #roof-map { min-height: 430px; }
.aging-takeoff-sidebar { background: #102318; color: #fff; border-top: 4px solid var(--gold); padding: 18px; min-width: 0; }
.aging-session-badge { color: #f7cc5d; font-size: 11px; font-weight: 800; letter-spacing: 0; margin: 0 0 12px; }
.aging-takeoff-sidebar [data-aging-trace-status] { min-height: 44px; margin: 0 0 12px; font-weight: 700; line-height: 1.45; }
.aging-trace-progress { height: 8px; overflow: hidden; background: #44554b; margin-bottom: 16px; }
.aging-trace-progress span { display: block; height: 100%; width: 0; background: var(--gold); transition: width 80ms linear; }
.aging-edge-list { margin: 0 0 16px; padding-left: 22px; max-height: 190px; overflow: auto; color: #ced8d1; font: 12px/1.55 Consolas, monospace; }
.aging-edge-list li[data-state=complete] { color: #fff; }
.aging-takeoff-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: #496052; margin: 0 0 14px; }
.aging-takeoff-metrics div { background: #173626; padding: 11px; min-width: 0; }
.aging-takeoff-metrics dt { color: #b8c8bd; font-size: 10px; font-weight: 750; text-transform: uppercase; }
.aging-takeoff-metrics dd { margin: 6px 0 0; color: #fff; font-size: 17px; font-weight: 800; overflow-wrap: anywhere; }
.aging-takeoff-sidebar .muted { color: #b8c8bd; margin-bottom: 0; }
.aging-edge-label { background: rgba(255,255,255,.94); border: 1px solid #102318; border-radius: 2px; padding: 1px 3px; }
.roof-edit-edge-label { position:absolute;z-index:6;transform:translate(-50%,-50%);background:rgba(255,255,255,.96);border:1px solid #16873a;border-radius:2px;padding:1px 3px;color:#102318;font-size:11px;font-weight:800;line-height:1.2;white-space:nowrap;pointer-events:none; }
#map-panel.is-roof-editing .aging-edge-label,
#map-panel.is-roof-editing .roof-edit-edge-label,
#map-panel.is-roof-editing .roof-edit-measurements,
#aging-takeoff-experience.is-roof-editing .aging-edge-label { display:none !important; }
#aging-takeoff-experience.is-roof-editing .aging-diagnostic-layout { grid-template-columns:minmax(0,1fr); }
#aging-takeoff-experience.is-roof-editing .aging-takeoff-sidebar { display:none; }
.aging-protection-matrix { margin: 24px 0 8px; padding: 22px 0; border-block: 1px solid var(--line); }
.aging-protection-matrix h2 { font-size: 22px; }
.aging-protection-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); }
.aging-protection-grid article { padding: 18px; min-width: 0; }
.aging-protection-grid article + article { border-left: 1px solid var(--line); }
.aging-protection-grid h3 { font-size: 16px; }
.aging-protection-grid ul { padding-left: 18px; margin-bottom: 0; }
@media(max-width: 860px) {
  .aging-diagnostic-layout { grid-template-columns: 1fr; }
  #aging-takeoff-map-slot #map-panel { min-height: 430px; }
  #aging-takeoff-map-slot #roof-map { min-height: 350px; }
}
@media(max-width: 600px) {
  .aging-takeoff-experience { padding-top: 12px; }
  .aging-takeoff-experience > .section-heading { align-items: start; }
  .aging-takeoff-experience > .section-heading button { width: 100%; }
  .aging-takeoff-sidebar { padding: 14px; }
  .aging-protection-grid { grid-template-columns: 1fr; }
  .aging-protection-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
}
.report-warranty-guidance h4 { margin: 12px 0 6px; }
.warranty-details { margin-block: 4px 8px; font-size: 13px; }
.warranty-details > summary { min-height: 44px; padding-block: 10px; font-weight: 650; }
.warranty-details p { font-size: 13px; }
@media(max-width:600px) {
  .inspection-recommendation { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .inspection-recommendation button { grid-column: 1; grid-row: auto; justify-self: start; }
}
.account-overlay { width:min(580px,calc(100% - 24px)); max-height:90dvh; overflow-y:auto; border:1px solid #698575; border-radius:8px; padding:24px; color:var(--ink); background:#fff; }
.account-overlay::backdrop { background:#09241488; }
.account-overlay .save-shell { padding:0; width:100%; max-width:none; }
.account-overlay h1 { font-size:24px; }
.account-overlay fieldset { padding:0; border:0; margin:0; }
.account-overlay-close { float:right; width:44px; height:44px; min-height:44px; padding:0; font-size:28px; background:transparent; border:0; }
.account-overlay #account-status:empty,.account-overlay #account-purpose:empty { display:none; }
.account-overlay #account-purpose { margin-right:48px; }
.account-overlay input[readonly] { background:#eef3ef; }
.inspection-overlay { position: fixed; inset: auto 16px 16px auto; z-index: 1200; width: min(440px, calc(100% - 32px)); max-height: 75dvh; overflow-y: auto; overscroll-behavior: contain; padding: 20px; background: #fff; color: #14291e; border: 1px solid #698575; border-radius: 8px; box-shadow: 0 8px 36px #09241430; }
.inspection-overlay .section-heading { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.inspection-overlay h2 { font-size: 22px; margin: 0; }
.inspection-overlay fieldset { padding: 0; margin: 0; border: 0; min-width: 0; }
.inspection-date-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.inspection-date-row > div { min-width: 0; }
.inspection-overlay input, .inspection-overlay select { min-width: 0; max-width: 100%; }
@media (max-width: 480px) { .inspection-overlay { inset: auto 8px 8px; width: auto; padding: 16px; max-height: 70dvh; } .inspection-date-row { grid-template-columns: 1fr; } }


.roof-map-frame { position:relative; min-width:0; }
.roof-confirm-overlay { position:absolute; top:16px; right:16px; z-index:80; min-width:190px; min-height:60px; padding:14px 22px; border:3px solid #b42318; border-radius:7px; background:#f7c948; color:#251a00; box-shadow:0 8px 22px rgb(31 20 0 / 28%); font-size:18px; font-weight:900; line-height:1.15; text-align:center; cursor:pointer; }
.roof-confirm-overlay:hover,.roof-confirm-overlay:focus-visible { background:#ffd85a; border-color:#8f1810; box-shadow:0 0 0 4px rgb(180 35 24 / 20%),0 8px 22px rgb(31 20 0 / 28%); }
.roof-confirm-overlay span { display:block; }
.roof-confirm-overlay[hidden] { display:none; }
#roof-map {position:relative;}
.roof-outline-layers { position:absolute; z-index:12; right:12px; bottom:28px; width:min(190px,calc(100% - 24px)); margin:0; padding:10px 12px; border:1px solid #6d8174; border-radius:6px; background:rgb(255 255 255 / 94%); box-shadow:0 5px 18px rgb(8 35 20 / 18%); color:#153725; }
.roof-outline-layers[hidden] { display:none; }
.roof-outline-layers legend { padding:0 4px; font-size:12px; font-weight:800; text-transform:uppercase; }
.roof-outline-layers label { display:flex; align-items:center; min-height:32px; gap:8px; margin:0; font-size:13px; font-weight:750; cursor:pointer; }
.roof-outline-layers input { width:18px; height:18px; margin:0; accent-color:#176444; }
.roof-outline-layers span { display:flex; align-items:center; gap:7px; }
.roof-outline-layers i { display:inline-block; width:19px; height:4px; border-radius:1px; }
.roof-outline-layers [data-layer-swatch=automatic] { background:#f1c35b; }
.roof-outline-layers [data-layer-swatch=manual] { background:#16873a; }
@media(max-width:480px){.roof-confirm-overlay{top:10px;right:10px;min-width:172px;min-height:56px;padding:12px 16px;font-size:17px}.roof-outline-layers{right:8px;bottom:24px;width:min(168px,calc(100% - 16px));padding:8px 10px}.roof-outline-layers label{font-size:12px}}
.roof-update-progress { scroll-margin-top:120px; padding:16px 0; border-block:1px solid var(--line); margin-bottom:16px; }
.roof-update-progress h2 { font-size:20px; margin:0 0 8px; }
.roof-update-progress p { margin:8px 0; }
.roof-update-progress ol { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding:0; margin:12px 0; list-style:none; font-size:13px; }
.roof-update-progress li { border-top:3px solid #c6cec8; padding-top:8px; overflow-wrap:anywhere; }
.roof-update-progress li[data-state=complete] { border-color:#188a3a; }
.roof-update-progress li[aria-current=step] { border-color:#ac7810; font-weight:700; }
.roof-update-progress .work-track { background:#dce5df; }
.roof-update-progress .work-track span { background:#175b36; }
.roof-edit-surface {position:absolute;inset:0;z-index:5;overflow:hidden;}
.roof-edit-corner,.roof-edit-midpoint {position:absolute;transform:translate(-50%,-50%);padding:0;min-height:0;min-width:0;width:8px;height:8px;border-radius:50%;border:1.5px solid #f1c35b;background:#fff;touch-action:none;}
.roof-edit-corner[data-selected=true] {border-color:#16873a;background:#b8efcc;}
.roof-edit-midpoint {width:22px;height:22px;font-size:10px;line-height:1;color:#173b28;border:0;background:transparent;isolation:isolate;}
/* Keep the midpoint's click area separate from its small visible marker. */
.roof-edit-midpoint::before {content:'';position:absolute;box-sizing:border-box;inset:6px;border:1px solid #173b28;border-radius:50%;background:#fff;z-index:-1;}
.roof-edit-alignment {position:absolute;background:#16873a;pointer-events:none;z-index:7;}
#roof-outline-editor .roof-snap-toggle {margin:0;align-items:center;min-height:44px;}
.roof-edit-crosshair {position:absolute;width:32px;height:32px;transform:translate(-50%,-50%);border:2px solid #f1c35b;border-radius:50%;pointer-events:none;z-index:8;}
.roof-edit-crosshair::before,.roof-edit-crosshair::after {content:'';position:absolute;background:#f1c35b;}
.roof-edit-crosshair::before {height:2px;width:42px;left:-7px;top:13px;}
.roof-edit-crosshair::after {width:2px;height:42px;left:13px;top:-7px;}
.roof-edit-crosshair[data-acquired=true] {border-color:#16873a;}
.roof-edit-crosshair[data-acquired=true]::before,.roof-edit-crosshair[data-acquired=true]::after {background:#16873a;}
#roof-outline-editor {padding:12px 0;}
#roof-outline-editor .roof-edit-measurements {display:block;margin:10px 0 4px;padding:10px 12px;border-left:4px solid #16873a;background:#edf6f0;color:#143b27;font-weight:750;line-height:1.45;overflow-wrap:anywhere;}
#roof-outline-editor .actions {display:flex;flex-wrap:wrap;gap:8px;}
#roof-outline-editor [aria-pressed=true] {background:#175b36;color:#fff;}
#roof-outline-editor label {max-width:250px;margin:12px 0;}

@media(max-width:480px) { .survey-question legend { font-size: 16px; } .survey-answers { max-width: none; margin-left: 0; } }
.pricing-tier-grid div{align-content:start}.pricing-tier-grid small{display:block;margin-top:7px;color:var(--muted);font-size:12px;font-weight:500;line-height:1.35}.roof-photo-refinement{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,340px);gap:22px;align-items:start;margin:24px 0;padding:22px 0;border-block:1px solid var(--line)}.roof-photo-refinement[hidden]{display:none}.roof-photo-refinement h2{font-size:22px}.roof-photo-refinement .actions{display:flex;flex-wrap:wrap;gap:8px}.roof-photo-picker{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}.roof-photo-refinement img{display:block;width:100%;max-height:310px;object-fit:contain;background:#edf2ee;border:1px solid var(--line)}#roof-front-photo-status{font-weight:700}#roof-front-photo-findings{font-size:13px;padding-left:20px}@media(max-width:680px){.roof-photo-refinement{grid-template-columns:1fr;padding:18px 0}.roof-photo-refinement .actions>*{width:100%;text-align:center}.roof-photo-refinement img{max-height:260px}}
.storm-return{padding-top:14px;padding-bottom:14px}
.storm-roof-file{display:flex;align-items:center;justify-content:space-between;gap:16px;border:1px solid #c5d2c9;border-left:4px solid #176444;border-radius:4px;padding:16px;margin:12px 0;background:#f7faf8}
.storm-roof-file h3{font-size:18px;margin:4px 0;letter-spacing:0}
.storm-roof-file p{margin:4px 0}
.storm-roof-file button{flex-shrink:0;min-height:44px}
.storm-roof-file[hidden],.storm-return[hidden]{display:none}
@media(max-width:600px){.storm-roof-file{align-items:stretch;flex-direction:column}.storm-roof-file button{width:100%}}
.roof-contractor-match{scroll-margin-top:120px;margin:28px 0;padding:24px 0;border-block:1px solid var(--line)}
.roof-contractor-match>.section-heading{max-width:860px}
.roof-contractor-match>.section-heading h2{font-size:26px}
.contractor-program-boundary{margin:16px 0 20px;padding:16px;border-left:4px solid var(--gold);background:#f5f8f5}
.contractor-program-boundary h3{margin:0 0 8px;font-size:18px}.contractor-program-boundary p{margin:0 0 12px}
.contractor-finance-readiness{padding:10px 12px;border-left:4px solid var(--gold);background:#f7f4e8;font-weight:700;color:#244535}
.contractor-match-status{padding:12px 14px;border-left:4px solid var(--gold);background:#fff8df}
.contractor-warranty-paths{margin:8px 0 12px;padding:10px 0 0;border-top:1px solid var(--line);background:transparent;overflow:visible}
.contractor-warranty-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.contractor-warranty-heading h3{margin:1px 0 0;font-size:16px}.contractor-warranty-heading .eyebrow{margin:0;font-size:10px}.contractor-warranty-heading .text-button{min-height:34px;padding:5px 9px}
.contractor-warranty-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:2px 2px 8px}.warranty-recommendation-summary{grid-column:1/-1;padding:10px 12px;border-left:5px solid var(--gold);background:#f5f8f5}.warranty-recommendation-summary strong{display:block;color:var(--forest);font-size:15px}.warranty-recommendation-summary p{margin:3px 0 0;font-size:12px;line-height:1.4;color:#435b4b}.warranty-rail-item{position:relative;min-width:0}.contractor-warranty-option{position:relative;display:grid;width:100%;height:100%;align-content:start;gap:2px;min-height:104px;padding:9px 34px 9px 10px;text-align:left;border:2px solid var(--forest);border-left-width:5px;background:#edf7f1;color:var(--ink);transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}.contractor-warranty-option:hover,.contractor-warranty-option:focus-visible{border-color:#1e754d;box-shadow:0 5px 14px rgba(14,49,30,.16);transform:translateY(-1px)}
.contractor-warranty-option strong,.contractor-warranty-option span{display:block}.contractor-warranty-option .warranty-value-badge{font-size:9px;font-weight:900;line-height:1.2;text-transform:uppercase;color:#745100}.contractor-warranty-option .warranty-brand{font-size:10px;font-weight:850;line-height:1.2;text-transform:uppercase;color:var(--forest)}.contractor-warranty-option .warranty-name{font-size:13px;line-height:1.2}.contractor-warranty-option .warranty-coverage{margin-top:2px;font-size:10px;line-height:1.25;color:#435b4b}.contractor-warranty-option .warranty-contractor-count{align-self:end;margin-top:5px;font-size:10px;font-weight:850;color:var(--forest)}.contractor-warranty-option.is-recommended:not([aria-checked=true]){box-shadow:inset 0 0 0 2px rgba(247,201,72,.8)}.warranty-details-toggle{position:absolute;top:5px;right:5px;z-index:3;display:grid;place-items:center;width:26px;height:26px;min-height:26px;padding:0;border:1px solid #64816e;background:#fff;color:var(--forest)}.warranty-details-toggle:hover,.warranty-details-toggle:focus-visible,.warranty-details-toggle[aria-expanded="true"]{border-color:#b42318;background:#fff8df}.warranty-details-chevron{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)}.warranty-details-toggle[aria-expanded="true"] .warranty-details-chevron{transform:translateY(2px) rotate(225deg)}
.contractor-warranty-option[aria-checked=true]{border-color:#b42318;border-left-color:#b42318;background:#f7c948;color:#1c281f;box-shadow:0 0 0 3px rgba(180,35,24,.16)}.contractor-warranty-option[aria-checked=true] .warranty-brand{color:#213c2d}.contractor-warranty-option:disabled{cursor:not-allowed;opacity:.5;background:#f1f3f1;transform:none}
.warranty-floating-overview{position:fixed;z-index:1000;width:min(360px,calc(100vw - 16px));padding:13px 14px;border:2px solid var(--forest);border-top:5px solid var(--gold);background:#fff;color:var(--ink);box-shadow:0 12px 30px rgba(6,31,17,.28);pointer-events:none}.warranty-floating-overview[hidden]{display:none}.warranty-floating-overview h4{margin:3px 0 8px;font-size:17px}.warranty-floating-overview>strong{font-size:10px;text-transform:uppercase;color:#745100}.warranty-floating-overview p{margin:5px 0;font-size:12px;line-height:1.4}.warranty-floating-overview .warranty-popover-count{margin-top:8px;font-weight:850;color:var(--forest)}
.contractor-selected-warranty{padding:10px 12px;border-left:4px solid var(--gold);background:#fff8df;font-weight:700}
.contractor-match-filters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0;padding:12px;border:1px solid var(--line);background:#f7faf8}
.contractor-match-filters[hidden]{display:none}
.contractor-filter-guide{grid-column:1/-1}
.contractor-filter-guide h3{margin:0 0 4px;font-size:20px;color:var(--ink)}
.contractor-filter-guide p{margin:0;color:var(--muted);font-size:13px;line-height:1.45;font-weight:500}
.contractor-match-filters label{display:grid;gap:5px;margin:0;font-size:12px;font-weight:800;color:var(--forest)}
.contractor-match-filters select{width:100%;min-width:0;min-height:42px;padding:8px;background:#fff}
.roof-contractor-layout{display:grid;grid-template-columns:minmax(320px,1.05fr) minmax(0,1fr);gap:20px;align-items:start}.contractor-quick-picker{display:grid;grid-template-columns:minmax(220px,auto) minmax(260px,520px);align-items:center;gap:12px;margin:16px 0;padding:14px 16px;border:1px solid var(--line);border-left:4px solid var(--gold,#f2c84b);background:#f7faf8}.contractor-quick-picker>span{font-weight:800;color:var(--forest,#0b4027)}.contractor-quick-picker select{min-height:46px;border:1px solid #8da194;background:#fff;padding:9px 12px;font:inherit;color:#12251a}.contractor-quick-picker[hidden]{display:none}
.contractor-map-shell{position:relative;min-width:0}.roof-contractor-map{height:420px;border:1px solid var(--line);background:var(--paper)}.contractor-map-destination-key{position:absolute;top:10px;left:10px;z-index:4;display:flex;align-items:center;gap:8px;margin:0;padding:7px 10px;border:2px solid #f7c948;background:rgba(255,255,255,.96);color:var(--ink);box-shadow:0 4px 12px rgba(14,35,23,.2);font-size:11px;line-height:1.2;pointer-events:none}.contractor-map-destination-key i{width:18px;height:18px;border:4px solid #f7c948;border-radius:50%;background:#b42318}.contractor-map-destination-key span,.contractor-map-destination-key strong{display:block}.contractor-map-destination-key strong{font-size:12px;color:#8f1810}.contractor-home-marker-label{letter-spacing:0!important}
.roof-contractor-list{display:grid;gap:10px}
.roof-contractor-card{padding:16px;border:1px solid #c5d2c9;border-left:4px solid var(--forest);border-radius:4px;background:#fff}
.roof-contractor-card.is-map-selected{border-color:#d99c00;border-left-color:#d99c00;background:#fffdf4;box-shadow:0 0 0 3px rgba(239,189,50,.34)}
.contractor-map-selection{font-weight:800;color:#714f00}
.contractor-map-selection[hidden]{display:none}

.roof-contractor-card h3{margin:0 0 4px;font-size:19px}
.roof-contractor-card p{margin:6px 0}
.roof-contractor-card ul{margin:8px 0 12px;padding-left:20px;font-size:14px}
.roof-contractor-card>button{width:auto;min-height:38px;padding:8px 12px;font-size:13px}
.contractor-selection-footer{position:fixed;left:50%;bottom:max(8px,env(safe-area-inset-bottom));z-index:850;display:flex;align-items:center;justify-content:space-between;gap:16px;width:min(720px,calc(100% - 20px));padding:11px 12px 11px 16px;border:2px solid var(--forest);border-top:5px solid var(--gold);background:rgba(255,255,255,.98);box-shadow:0 10px 30px rgba(5,28,15,.3);transform:translateX(-50%)}.contractor-selection-footer[hidden]{display:none}.contractor-selection-footer p{margin:0;font-size:13px;font-weight:750;color:var(--ink)}.contractor-selection-footer button{flex:0 0 auto;min-height:38px;padding:8px 13px;font-size:13px}
.contractor-request-tray{margin:16px 0;padding:16px;border:2px solid var(--forest);border-top:5px solid var(--gold);background:#f7faf8}.contractor-request-tray[hidden]{display:none}.contractor-request-tray-heading{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:12px}.contractor-request-tray-heading h3{margin:0;font-size:20px}.contractor-request-tray-heading p{margin:2px 0 0;font-weight:750;color:var(--forest)}.contractor-request-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.contractor-request-slot{position:relative;min-height:132px;padding:12px;border:1px solid #a9baaf;border-radius:4px;background:#fff}.contractor-request-slot.is-filled{border-left:5px solid var(--forest)}.contractor-request-slot.is-open{border-style:dashed;background:#f1f4f2;color:#53665a}.contractor-request-slot h4{margin:0 0 7px;font-size:15px}.contractor-request-slot p{margin:0 0 7px;font-size:13px;font-weight:750;line-height:1.35}.contractor-request-slot small{display:block;margin-bottom:8px;color:#53665a}.contractor-request-slot .text-button{min-height:32px;padding:4px 7px;font-size:11px}.contractor-request-note{margin:12px 0 0;font-size:13px;font-weight:700}.contractor-request-account{margin-top:10px}
.contractor-proximity{font-weight:750;color:var(--forest)}
.roof-contractor-card h3{display:flex;align-items:center;gap:8px}
.contractor-route-key{display:inline-block;flex:0 0 auto;width:14px;height:14px;border:2px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #173b28}
.contractor-route-distance-label{background:rgba(255,255,255,.96);border:1px solid #173b28;border-radius:3px;padding:2px 4px;white-space:nowrap}
.roof-contractor-match[aria-busy=true] .roof-contractor-list{opacity:.6}
@media(max-width:760px){.contractor-warranty-heading{align-items:center}.contractor-warranty-options{grid-template-columns:repeat(2,minmax(0,1fr))}.roof-contractor-layout{grid-template-columns:1fr}.roof-contractor-map{height:270px}.roof-contractor-match{padding:20px 0}.roof-contractor-match>.section-heading h2{font-size:22px}.contractor-match-filters{grid-template-columns:1fr}}
.storm-exit-offer{width:min(680px,calc(100% - 24px));max-height:calc(100dvh - 24px);overflow:auto;border:1px solid #85958a;border-top:4px solid #efbd32;border-radius:6px;padding:24px;color:#183b29;background:#fff}
.storm-exit-offer::backdrop{background:rgba(6,21,12,.66)}
.storm-exit-offer h2{font-size:24px;line-height:1.2;padding-right:20px;margin:8px 0 12px}
.exit-estimate-preview{display:block;position:relative;height:280px;border:1px solid #ced9d2;overflow:hidden;background:#f3f6f4}
.exit-estimate-preview iframe{border:0;width:100%;height:100%;pointer-events:none}
.storm-exit-offer [aria-disabled=true]{opacity:.65;cursor:wait}
.storm-exit-offer progress{display:block;width:100%;height:6px;accent-color:#176444;margin-bottom:16px}
.storm-exit-offer progress[hidden]{display:none}
.storm-exit-offer .actions{display:flex;flex-wrap:wrap;gap:10px}
body[data-estimate-embed] header,body[data-estimate-embed] footer,body[data-estimate-embed] main>:not(#map-panel){display:none!important}
body[data-estimate-embed] main{margin:0;padding:0;max-width:none}
body[data-estimate-embed] #map-panel{position:fixed;inset:0;margin:0;padding:0;width:100%;max-width:none;border:0}
body[data-estimate-embed] #map-panel>:not(.roof-map-frame){display:none!important}
body[data-estimate-embed] .roof-map-frame{height:100dvh}
body[data-estimate-embed] #roof-outline-layers{display:none!important}
body[data-estimate-embed] #roof-map{height:100dvh;min-height:0;width:100%}
@media(max-width:600px){.storm-exit-offer{padding:18px}.storm-exit-offer h2{font-size:21px}.exit-estimate-preview{height:220px}.storm-exit-offer .primary{width:100%;text-align:center}}
/* Remains available while the current step's form is waiting on the server. */
.journey-back-bar{position:sticky;top:0;z-index:60;display:flex;align-items:center;gap:12px;max-width:1440px;margin:auto;padding:8px 20px;background:#fff;border-bottom:1px solid #d7dfda;min-width:0}
.journey-back-bar:has(#journey-back[hidden]){display:none}
.journey-back-bar button{min-height:44px;flex:none}
.journey-back-bar>span{font-size:14px;color:#445b4b;min-width:0}
.journey-back-bar .path-tutorial-tab{margin-left:auto;background:#f4cc3e;border-color:#a98911;color:#132519;white-space:normal}
#roof-outline-editor [role="group"]{display:flex;flex-wrap:wrap;gap:6px;min-width:0}
#roof-outline-editor .actions{flex-wrap:wrap;min-width:0}
#roof-outline-editor button{min-height:44px;white-space:normal;max-width:100%}
#roof-outline-editor [data-roof-redraw][aria-pressed="true"]{background:#f1c35b;color:#09130c}
@media(max-width:600px){.journey-back-bar{padding:6px 12px}#roof-outline-editor [role="group"]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%}}
.journey-back-bar{min-height:61px;box-sizing:border-box}
body:has(#journey-back:not([hidden])) .work-bar{top:61px}

.path-tutorial-dialog{width:min(900px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:calc(100dvh - 32px);overflow:auto;overscroll-behavior:contain;border:1px solid #698575;border-top:4px solid var(--gold);border-radius:8px;padding:20px;color:var(--ink);background:#fff}
.path-tutorial-dialog::backdrop{background:rgb(5 20 12 / 72%)}
.path-tutorial-dialog>.account-overlay-close{position:sticky;top:0;z-index:2;float:right;margin:0 0 -44px;background:#fff;color:var(--forest);border:1px solid #9daf9f;border-radius:4px}
.path-tutorial-layout{display:grid;grid-template-columns:minmax(260px,360px) minmax(0,1fr);align-items:center;gap:28px;min-width:0}
.path-tutorial-layout video{display:block;width:100%;max-height:calc(100dvh - 80px);aspect-ratio:888 / 1920;object-fit:contain;background:#09130c;border-radius:4px}
.path-tutorial-copy{min-width:0;padding:20px 20px 20px 0}
.path-tutorial-copy h2{font-size:28px;margin-right:36px}
.path-tutorial-copy .actions{align-items:stretch}
.path-tutorial-copy .actions>*{width:100%}
@media(max-width:680px){
  .journey-back-bar{flex-wrap:wrap}
  .journey-back-bar .path-tutorial-tab{flex:1 1 100%;margin-left:0}
  .path-tutorial-dialog{width:calc(100% - 16px);max-width:calc(100% - 16px);max-height:calc(100dvh - 16px);padding:12px}
  .path-tutorial-layout{grid-template-columns:1fr;gap:14px}
  .path-tutorial-layout video{width:auto;max-width:100%;height:min(58dvh,540px);justify-self:center}
  .path-tutorial-copy{padding:0}
  .path-tutorial-copy h2{font-size:22px;margin-right:44px}
  .path-tutorial-copy p{margin-bottom:10px}
  .path-tutorial-copy .actions{margin-block:12px}
}

@media(max-width:760px){.contractor-quick-picker{grid-template-columns:1fr;margin:12px 0;padding:12px}.contractor-quick-picker select{width:100%}}

@media(max-width:600px){.contractor-request-tray{padding:12px}.contractor-request-tray-heading{display:block}.contractor-request-tray-heading p{font-size:12px}.contractor-request-slots{grid-template-columns:1fr}.contractor-request-slot{min-height:0;padding:10px}.contractor-request-account{width:100%}.roof-contractor-card{padding:12px}.roof-contractor-card>button{width:100%;min-height:36px;padding:7px 9px;font-size:12px}.contractor-selection-footer{gap:9px;padding:9px 9px 9px 12px}.contractor-selection-footer p{font-size:11px;line-height:1.3}.contractor-selection-footer button{min-height:36px;padding:7px 9px;font-size:11px}.roof-result-decision{grid-template-columns:1fr;gap:12px}.roof-result-decision-actions{grid-template-columns:1fr 1fr;min-width:0;padding:0 12px 0 16px}.roof-result-decision-actions .text-button{grid-column:1/-1}.roof-protection-qualifier{grid-template-columns:1fr;gap:14px}.roof-protection-launch{width:100%}.roof-protection-result{grid-template-columns:1fr}.roof-protection-result-badge{width:max-content;min-height:38px}.roof-protection-dialog{width:calc(100% - 12px);max-height:calc(100dvh - max(12px,env(safe-area-inset-top)) - max(12px,env(safe-area-inset-bottom)))}.roof-protection-dialog-head{padding:14px 16px 10px}.roof-protection-dialog-head h2{font-size:20px}.roof-protection-question{padding-inline:14px}.roof-protection-counter{margin-inline:14px}.roof-protection-dialog-actions{padding-inline:14px}.roof-protection-dialog-actions button{flex:1;min-width:0}}



.contractor-map-fallback{display:grid;grid-template-rows:auto auto auto 1fr;height:100%;padding:12px;background:#e8f3e9;color:var(--forest);overflow:hidden}.contractor-map-fallback strong{font-size:14px}.contractor-map-fallback p{margin:3px 0 8px;font-size:11px;line-height:1.35;color:#435b4b}.contractor-map-fallback-retry{justify-self:start;margin:0 0 8px;padding:6px 10px;font-size:12px}.contractor-map-fallback svg{width:100%;height:100%;min-height:180px;border:1px solid #a9c6ad}.contractor-map-fallback-surface{fill:#d9efd9}.contractor-map-fallback-route{stroke-width:5;stroke-dasharray:10 7;stroke-opacity:.78}.contractor-map-fallback-marker{cursor:pointer;outline:none}.contractor-map-fallback-marker circle{stroke:#fff;stroke-width:4}.contractor-map-fallback-marker text{fill:#fff;font:900 14px sans-serif;pointer-events:none}.contractor-map-fallback-marker:focus circle,.contractor-map-fallback-marker:hover circle{stroke:#f7c948;stroke-width:7}.contractor-map-fallback-home circle{fill:#b42318;stroke:#f7c948;stroke-width:5}.contractor-map-fallback-home text{fill:#fff;font:900 10px sans-serif;pointer-events:none}
@media(max-width:760px){.contractor-map-fallback{padding:8px}.contractor-map-fallback p{font-size:10px}.contractor-map-fallback svg{min-height:170px}}
/* Estimate overlay: the single primary modal above the Roof Checker page. */
html[data-estimate-scroll-lock="true"]{overflow:hidden}
.estimate-overlay-dialog{position:fixed;inset:0;width:min(1120px,calc(100vw - 32px));max-width:calc(100vw - 32px);height:auto;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid #698575;border-top:5px solid var(--gold);border-radius:8px;background:#fff;color:var(--ink);overflow:hidden;box-shadow:0 20px 70px rgba(4,25,14,.45)}
.estimate-overlay-dialog::backdrop{background:rgb(5 20 12 / 72%)}
.estimate-overlay-dialog:not([open]){display:none}
.estimate-overlay-head{position:sticky;top:0;z-index:3;display:flex;align-items:flex-start;gap:16px;padding:18px 20px 14px;border-bottom:1px solid var(--line);background:#fff}
.estimate-overlay-head h2{margin:2px 0 6px;font-size:26px;line-height:1.2}
.estimate-overlay-head .muted{margin:0;max-width:760px;font-size:13px}
.estimate-overlay-head .account-overlay-close{margin-left:auto;flex:0 0 44px}
.estimate-overlay-body{max-height:calc(100dvh - 136px);overflow:auto;overscroll-behavior:contain;padding:0 20px max(24px,env(safe-area-inset-bottom))}
.estimate-summary-strip{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px;margin:18px 0;padding:16px 18px;border:1px solid var(--line);border-left:5px solid var(--gold);background:#fffdf6}
.estimate-summary-strip[hidden]{display:none}
.estimate-summary-strip h3{margin:3px 0 6px;font-size:20px}
.estimate-summary-strip p{margin:0}
.estimate-summary-strip button{min-height:48px;white-space:nowrap}
@media(max-width:680px){.estimate-overlay-dialog{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0;border-inline:0}.estimate-overlay-head{padding:13px 14px 10px}.estimate-overlay-head h2{font-size:20px;margin-right:44px}.estimate-overlay-head .muted{display:none}.estimate-overlay-body{max-height:calc(100dvh - 108px);padding:0 14px max(20px,env(safe-area-inset-bottom))}.estimate-summary-strip{grid-template-columns:1fr;gap:12px;padding:14px}.estimate-summary-strip button{width:100%}}

/* Contractor request completion: the yellow/red action pops up the moment a contractor is
   selected so it is never hunted for. Layer scale in this file: .contractor-selection-footer
   850, .contractor-complete 900, .warranty-floating-overview 1000, .inspection-overlay 1200,
   .work-bar 1300. The bottom offset is measured from the rendered footer at runtime; the
   fallbacks here are the witnessed desktop 8px + 67px footer + 10px gap = 85px and the
   mobile 8px + 61px footer + 10px gap = 79px. */
.contractor-complete{position:fixed;left:50%;bottom:calc(max(8px,env(safe-area-inset-bottom)) + 77px);z-index:900;box-sizing:border-box;display:flex;align-items:center;gap:16px;width:min(640px,calc(100vw - 20px));max-width:100%;margin:0;padding:12px 14px;border:2px solid var(--forest);border-top:5px solid var(--gold);background:#fffdf6;box-shadow:0 14px 34px rgba(5,28,15,.34);pointer-events:none;animation:contractor-complete-rise .24s ease-out both}
.contractor-complete[hidden]{display:none}
.contractor-complete-copy{flex:1 1 auto;min-width:0;margin:0;font-size:13px;font-weight:750;line-height:1.35;color:#21352a;overflow-wrap:anywhere}
.contractor-complete-button{flex:0 0 auto;pointer-events:auto;min-height:52px;padding:13px 22px;border:3px solid #b42318;border-radius:6px;background:#f7c948;color:#16231b;font-size:18px;font-weight:850;line-height:1.2;box-shadow:0 4px 0 #8f1b13;cursor:pointer}
.contractor-complete-button:hover{background:#ffda64;transform:translateY(-1px)}
.contractor-complete-button:focus-visible{outline:4px solid #102318;outline-offset:3px}
.contractor-complete-button:active{transform:translateY(2px);box-shadow:0 1px 0 #8f1b13}
.contractor-complete-button:disabled{background:#e6eae6;border-color:#9cab9f;color:#4b5b51;box-shadow:none;cursor:not-allowed;transform:none}
@keyframes contractor-complete-rise{from{opacity:0;transform:translate(-50%,16px)}to{opacity:1;transform:translate(-50%,0)}}
@media(prefers-reduced-motion:reduce){.contractor-complete{animation:none}}
@media(max-width:600px){.contractor-complete{flex-direction:column;align-items:stretch;gap:9px;width:calc(100vw - 16px);max-width:calc(100vw - 16px);bottom:calc(max(8px,env(safe-area-inset-bottom)) + 71px);padding:10px 12px}.contractor-complete-copy{font-size:12px}.contractor-complete-button{width:100%;min-height:52px;font-size:17px}}

/* Protection-path video sound control. One control, shared by the Good/Better/Best intro video
   and the contractor handoff video, because protection-video-sound.mjs drives both. Solid yellow
   with a strong red outline while muted so it reads against light and dark video frames; calm
   green once the sound is already on. No gradients. */
.protection-sound-button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 14px;border:3px solid #b42318;border-radius:6px;background:#f7c948;color:#16231b;font-size:14px;font-weight:850;line-height:1.2;box-shadow:0 3px 0 #8f1b13;cursor:pointer}
.protection-sound-button.is-sound-off{border-color:#2f5b41;background:#eef4ef;color:#102318;box-shadow:none}
.protection-sound-button:hover{background:#ffda64}
.protection-sound-button.is-sound-off:hover{background:#dcefe3}
.protection-sound-button:active{transform:translateY(2px);box-shadow:0 1px 0 #8f1b13}
.protection-sound-button.is-sound-off:active{box-shadow:none;transform:translateY(1px)}
.protection-sound-button:focus-visible{outline:3px solid #ffffff;outline-offset:2px;box-shadow:0 0 0 6px #102318}
.protection-sound-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px}
.protection-sound-icon svg{display:block;width:20px;height:20px}
.protection-sound-label{white-space:nowrap}
/* Beats .roof-protection-video-controls button in roof-protection-overlay.css (which is loaded
   after this file) so the touch target and sizing survive. */
.roof-protection-video-controls .protection-sound-button{flex:0 0 auto;width:auto;min-height:44px;margin:0}
/* The controls sit above the video and any later sibling, so map or list layers cannot cover them. */
.roof-protection-video-controls{position:relative;z-index:2}
@media(max-width:600px){.roof-protection-video-controls .protection-sound-button{flex:1 1 100%;min-height:48px}}

/* Progressive contractor-selection confirmation. A native <dialog>, so Escape, focus and the
   backdrop are scoped to the dialog that is actually open - the estimate overlay keeps its own
   Escape behaviour. The Complete button reuses .contractor-complete-button for the yellow/red CTA. */
.contractor-confirmation{width:min(520px,calc(100% - 24px));max-width:calc(100% - 24px);max-height:calc(100dvh - 32px);box-sizing:border-box;overflow:auto;overscroll-behavior:contain;padding:22px;border:1px solid #698575;border-top:5px solid var(--gold);border-radius:8px;background:#fffdf6;color:var(--ink)}
.contractor-confirmation::backdrop{background:rgb(5 20 12 / 68%)}
.contractor-confirmation:not([open]){display:none}
.contractor-confirmation h2{margin:6px 0 10px;padding-right:44px;font-size:24px;line-height:1.25}
.contractor-confirmation p{margin:0 0 12px}
.contractor-confirmation .actions{display:grid;gap:10px;margin:16px 0 0}
.contractor-confirmation .contractor-complete-button{width:100%;min-height:52px;font-size:18px}
.contractor-confirmation .secondary{min-height:46px}
#contractor-confirmation-status:empty{display:none}
@media(max-width:600px){.contractor-confirmation{width:calc(100% - 16px);max-width:calc(100% - 16px);padding:16px}.contractor-confirmation h2{font-size:20px}}



/* Roof price range and plain-language questions (owner, 2026-10-02) */
.roof-pricebook-questions{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px 18px;margin:12px 0}
.roof-pricebook-question{display:grid;gap:6px;font-weight:700}
.roof-pricebook-question select{font:inherit;padding:9px;border-radius:8px;min-width:0}
.roof-pricebook-question small{font-weight:400;color:#5b6660;line-height:1.4}
.roof-pricebook-included{margin-top:12px}
.roof-pricebook-included summary{cursor:pointer;font-weight:700}
.roof-pricebook-included-list{margin:8px 0;padding-left:20px}
.roof-pricebook-included-list li{margin:3px 0;overflow-wrap:anywhere}
.roof-pricebook-state strong{display:block;font-size:30px;line-height:1.15}
.roof-pricebook-answers{display:block}
