/* V86 estimate and callback entry points */
.sr-purple-cta{background:linear-gradient(120deg,#7656ef,#a34bed)!important;color:#fff!important;border:1px solid #c2aaff!important;box-shadow:0 6px 24px #6e42df40;font-weight:800;text-align:center}
.sr-purple-cta:hover{filter:brightness(1.12)}
.sr-quick-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:0;padding-bottom:12px;flex-wrap:wrap}
.sr-quick-actions .btn{padding:10px 18px;font-size:14px;min-height:42px}
.sr-callback-trigger{border:1px solid #8e7ecc;color:#e5ddff;background:#171935}
#roof-estimate,#request-callback{scroll-margin-top:160px}
#services-offered{scroll-margin-top:180px}
.sr-callback-section{background:linear-gradient(135deg,#101831,#22163f);text-align:center;color:#fff}
#callback-calendar iframe{width:100%;height:780px;max-width:1100px;border:0;border-radius:20px;background:#071533}
@media(max-width:1100px){#services-offered{scroll-margin-top:220px}}
@media(max-width:700px){.sr-quick-actions{justify-content:center;flex-wrap:nowrap;gap:8px;padding:0 14px 10px}.sr-quick-actions .btn{font-size:12px;padding:9px 11px;flex:1}.hero-actions .sr-purple-cta{width:100%}#roof-estimate,#request-callback{scroll-margin-top:150px}#services-offered{scroll-margin-top:250px}}
#roof-estimate [hidden]{display:none!important}.estimate-steps{display:flex;gap:10px;list-style:none;margin:28px 0;padding:0;counter-reset:none}.estimate-steps li{flex:1;padding:14px;border:1px solid #655691;border-radius:12px;background:#171b35;color:#e7dcff;font-weight:700}.estimate-panel{background:#0c182ceF;border:1px solid #445571;border-radius:24px;padding:30px}.estimate-panel label{display:block;font-weight:600;margin-bottom:10px}.estimate-panel input:not([type=checkbox]):not([type=radio]),.estimate-panel select{display:block;width:100%;min-height:50px;padding:12px;border:1px solid #708099;border-radius:10px;background:#0a1426;color:#fff;font:inherit;margin-top:8px;box-sizing:border-box}.address-row{display:flex;gap:12px;align-items:stretch}.address-row input{flex:1;min-width:0;margin:0!important}.address-row button{width:auto;white-space:nowrap}.estimate-panel button:disabled{opacity:.55;cursor:wait}.estimate-panel :focus-visible{outline:3px solid #c3b5ff;outline-offset:3px}#estimate-status{padding:12px 0;color:#bedaf2}.is-error{color:#ffd3b3!important}#roof-map{height:460px;margin:20px 0;border-radius:14px;overflow:hidden;color:#152031}#roof-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:20px 0}.roof-choice{border:1px solid #53617b;border-radius:14px;padding:18px;min-width:0}.roof-selected{border-color:#b193ff;background:#201c3e}.roof-choice legend{padding:0 8px;font-weight:800}.roof-choice small{display:block;color:#b5c6df}.roof-include{display:flex!important;align-items:center;gap:8px}.slope-options{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:16px}.slope-options label{display:flex;position:relative;flex-direction:column;align-items:center;gap:6px;text-align:center;border:1px solid #616f8b;border-radius:10px;padding:10px 2px;font-size:13px;cursor:pointer}.slope-options label:has(input:checked){background:#6d49cf;border-color:#dfcaff}.slope-options label:has(input:disabled){opacity:.45}.slope-options input{position:absolute;top:5px;left:5px;accent-color:#9b73ff}.slope-options svg{width:44px;height:30px;margin-top:8px}.estimate-two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.estimate-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:stretch}.estimate-three label{display:flex;flex-direction:column;justify-content:flex-end;min-width:0}.estimate-three label>span{display:flex;align-items:flex-end;min-height:2.8em;line-height:1.35}.estimate-three input[readonly]{font-variant-numeric:tabular-nums}.estimate-three+ p{margin-top:4px}#roof-list>.estimate-three,#roof-list>.sr-est-note{grid-column:1/-1}.estimate-check{display:flex!important;gap:12px;align-items:flex-start;font-size:14px;line-height:1.6;margin:20px 0!important}.estimate-check input{width:20px;height:20px;flex:none;accent-color:#a67aff;margin-top:3px}.estimate-honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}#estimate-contact,#estimate-success{border-top:1px solid #4a5870;margin-top:30px;padding-top:24px}#estimate-verification{margin:16px 0}#roof-estimate .sr-est-submit{background:linear-gradient(115deg,#7953ee,#a14cda);color:white;border:1px solid #baa0ff;border-radius:12px;padding:15px 22px;font-weight:800;font-size:16px;cursor:pointer}#estimate-fallback{display:flex;flex-wrap:wrap;gap:10px}@media(max-width:700px){.estimate-panel{padding:18px}.estimate-steps{gap:5px}.estimate-steps li{padding:10px 6px;font-size:12px}.address-row{flex-direction:column}#roof-list,.estimate-two,.estimate-three{grid-template-columns:1fr}#roof-map{height:350px}.estimate-panel .sr-est-submit{width:100%}.estimate-panel{border-radius:16px}.slope-options label{font-size:12px}}

/* Restore original V85 estimator: form beside satellite map, existing photo and title. */
#roof-estimate .estimate-panel{background:none;border:0;border-radius:0;padding:0}
#roof-estimate .address-row{display:flex;flex-direction:column;gap:18px}
#roof-estimate .address-row button{width:100%;white-space:normal}
#roof-estimate #roof-map{height:370px;margin:0;border:1px solid #527393;border-radius:20px;background:#112a43}
#roof-estimate .sr-est-map iframe{height:370px;width:100%}
#roof-estimate .sr-est-submit{background:linear-gradient(110deg,#1768a6,#5848bd);border:0;border-radius:30px}
#roof-estimate .estimate-panel input:not([type=checkbox]):not([type=radio]),#roof-estimate .estimate-panel select{background-color:#112a43;border-color:#56718c}
#roof-estimate input[type=checkbox],#roof-estimate input[type=radio]{width:20px;height:20px;min-height:20px;padding:0;flex:none}
#roof-estimate #roof-options,#roof-estimate #estimate-contact{margin-top:24px}
@media(max-width:700px){#roof-estimate #roof-map,#roof-estimate .sr-est-map iframe{height:280px}}
/* V88: consistently aligned navigation and an on-demand callback calendar. */
.nav .nav-inner{height:auto;min-height:82px;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:20px;padding-top:10px;padding-bottom:10px}
.nav .nav-links{display:flex;align-items:stretch;justify-content:center;gap:4px;min-width:0}
.nav .nav-links a{display:flex;align-items:center;justify-content:center;min-height:44px;padding:8px 9px;text-align:center;line-height:1.25;border-radius:8px;font-size:13px;box-sizing:border-box}
.nav .nav-links a:hover{background:#ffffff0d}.nav .nav-links a:after{bottom:0}
.nav .sr-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding-bottom:12px;align-items:stretch}
.nav .sr-quick-actions .btn{display:flex!important;align-items:center;justify-content:center;margin:0;width:100%;min-height:46px;padding:10px 14px;box-sizing:border-box;border-radius:10px;font-size:14px;line-height:1.25}
#callback-dialog{padding:0;width:min(960px,calc(100vw - 24px));max-height:calc(100dvh - 24px);border:1px solid #655780;border-radius:18px;background:#071533;color:#fff;box-shadow:0 25px 100px #0009;overflow:auto}
#callback-dialog::backdrop{background:#020615c9;backdrop-filter:blur(5px)}
.callback-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 20px;position:sticky;top:0;background:#071533;z-index:1}
.callback-dialog-heading h2{font-size:20px;margin:0}.callback-dialog-heading button{width:44px;height:44px;border:1px solid #68718c;border-radius:10px;background:#172445;color:#fff;font-size:28px;cursor:pointer}
#callback-dialog #callback-calendar iframe{display:block;width:100%;height:min(700px,calc(100dvh - 145px));min-height:340px;border:0;border-radius:0}
.callback-direct{padding:10px 20px;margin:0;text-align:center;font-size:13px}.callback-direct a{color:#c8b8ff;text-decoration:underline}.callback-open{overflow:hidden}
@media(max-width:1100px){.nav .nav-inner{grid-template-columns:1fr auto;gap:8px}.nav .brand{grid-column:1}.nav .lang-toggle{grid-column:2;grid-row:1}.nav .nav-links{grid-column:1/-1;grid-row:2;justify-content:space-between}.nav .nav-links a{flex:1;font-size:12px;padding:8px 5px}}
@media(max-width:700px){.nav .nav-inner{padding-top:6px;padding-bottom:4px;min-height:0}.nav .nav-links{justify-content:flex-start;overflow-x:auto;scrollbar-width:none}.nav .nav-links a{flex:none;white-space:nowrap;min-height:36px;padding:6px 10px}.nav .sr-quick-actions{gap:6px;padding:4px 14px 8px}.nav .sr-quick-actions .btn{font-size:11px;min-height:45px;padding:7px 5px}.nav .site-logo{max-width:180px}#roof-estimate{scroll-margin-top:195px}}

#roof-map{height:440px;min-height:360px;z-index:0;background:#142232;border-radius:16px}.roof-address-pin-wrap{background:transparent;border:0}.roof-address-pin-wrap svg{display:block;filter:drop-shadow(0 2px 4px #000b)}.roof-address-label{max-width:220px;padding:5px 8px;border:1px solid #ff7181;border-radius:8px;background:#8f182a;color:#fff;font-size:12px;font-weight:750;line-height:1.35;text-align:center;white-space:normal;box-shadow:0 3px 12px #0008}.roof-address-label.leaflet-tooltip:before{display:none}.roof-corner{background:#754fe7;color:white;border:2px solid white;border-radius:50%;text-align:center;font:bold 12px/20px Arial;box-shadow:0 1px 4px #000}.trace-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.trace-tools button{background:#6846dc;color:#fff;border:1px solid #b6a0ff;border-radius:9px;padding:10px 12px;font:600 14px inherit;cursor:pointer}.leaflet-container .leaflet-control-attribution{font-size:10px}.leaflet-container .leaflet-control-attribution a{color:#244a72}#planning-area[readonly]{opacity:.9}@media(max-width:700px){#roof-map{height:400px}.trace-tools button{flex:1 0 40%}}

.estimate-price{margin:24px 0;padding:24px;border:2px solid #9e8cff;border-radius:18px;background:#13263c;color:#fff}.estimate-price-value{font-size:clamp(1.8rem,5vw,3rem);font-weight:800;margin:12px 0}.estimate-price[hidden]{display:none}

#estimate-price-breakdown li{margin:12px 0;line-height:1.55}#estimate-price-breakdown h4{font-size:1.25rem;margin-top:22px}

/* Separate buildings: keep the estimate scope explicit. */
.roof-building-panel{margin:24px 0;padding:24px;border:1px solid #426bba;border-radius:22px;background:#0b1b36;color:#f3f7ff;grid-column:1/-1}
.roof-building-panel[hidden]{display:none!important}.roof-building-panel h3{margin:0 0 8px}.roof-building-panel>p{color:#c5d4ed;font-size:14px;line-height:1.6;margin:0 0 16px}
.roof-building-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:14px;border:1px solid #34507f;border-radius:14px;margin:10px 0;background:#101f3d}.roof-building-row.is-active{border-color:#73afff;box-shadow:0 0 0 1px #73afff30}.roof-building-row>label{display:flex;align-items:center;gap:10px;flex:1 1 210px;font-weight:750;margin:0}.roof-building-row input[type=checkbox]{width:20px;height:20px;accent-color:#347dff;flex:none}.roof-building-row small{flex:1 1 190px;color:#bdcee9;line-height:1.5}.roof-building-panel button{padding:10px 13px;border:1px solid #648ef1;border-radius:10px;color:#fff;background:#234b9c;font:700 13px/1.3 system-ui;cursor:pointer}.roof-building-panel button:hover{background:#3064cc}.roof-building-panel button:focus-visible,.roof-building-panel select:focus-visible{outline:3px solid #99caff;outline-offset:3px}.roof-building-add{display:flex;align-items:end;gap:12px;margin-top:18px;flex-wrap:wrap}.roof-building-add>label{display:grid;gap:6px;flex:1 1 250px;font-weight:700;font-size:14px}.roof-building-add select{width:100%;padding:12px;border:1px solid #5576ab;border-radius:10px;color:#fff;background:#10284c;font:inherit}.roof-building-add>button{padding:13px 18px;background:linear-gradient(135deg,#0d2f72,#2168ff)}#roof-editing-building{margin:8px 0 16px;color:#e7f0ff}
@media(max-width:600px){.roof-building-panel{padding:16px}.roof-building-row>label,.roof-building-row>small{flex-basis:100%}.roof-building-row>button{flex:1}.roof-building-add>button{width:100%}}
#roof-map.roof-splitting,#roof-map.roof-splitting .leaflet-interactive{cursor:crosshair}
#roof-locate-manually{margin:12px 0}#roof-locate-manually[hidden]{display:none!important}#roof-map.roof-locating,#roof-map.roof-locating .leaflet-interactive{cursor:crosshair}
