.building-lookup{border:0;border-radius:24px;padding:0;width:min(720px,calc(100% - 32px));max-height:90dvh;margin:auto;color:#1E3260;background:#fff;box-shadow:0 24px 90px #153b3340;overflow:auto}
.address-search-wrap{position:relative;width:100%;max-width:720px;margin-top:28px}
#main .address-search-wrap .address-form{margin:0}
.closing .address-search-wrap{margin-left:auto;margin-right:auto}
#main .hero{overflow:visible;z-index:3}.hero-visual{overflow:hidden;pointer-events:none}
.address-results{position:absolute;left:0;top:calc(100% + 8px);z-index:20;width:100%;max-width:720px;margin:0;background:#fff;border:1px solid #D3D8E4;border-radius:14px;box-shadow:0 12px 28px #143b3330;overflow:auto;max-height:min(430px,60dvh);overscroll-behavior:contain;text-align:left;color:#1E3260}
@media(min-width:768px){.address-search-wrap{margin-top:32px}}
.address-results[hidden],.lookup-edit [hidden]{display:none!important}.closing .address-results{margin-left:auto;margin-right:auto}
.address-results-note{font-size:13px;line-height:1.5;padding:13px 18px;margin:0;background:#F4F6FA;color:#535D73}
.address-results [role=option]{display:block;width:100%;border:0;border-top:1px solid #EEEFF3;background:#fff;padding:14px 18px;text-align:left;cursor:pointer;color:#233663}
.address-results [role=option]:hover,.address-results [aria-selected=true]{background:#E9EDF6}.address-results strong{display:block;font-size:15px;line-height:1.45}.address-results [role=option] span{display:block;font-size:12px;color:#717681;margin-top:5px;line-height:1.5}
.address-results-actions{display:flex;align-items:center;gap:14px;flex-wrap:wrap;padding:10px 18px;border-top:1px solid #E6E8EE}.address-results-actions button{border:0;background:none;color:#0040D6;text-decoration:underline;font-size:12px;cursor:pointer;padding:5px 0}.address-results-actions small{font-size:10px;color:#888C96;margin-left:auto}
.lookup-estimate{background:#0035B0;color:#fff;border-radius:16px;padding:24px;margin-bottom:24px}.lookup-estimate>span{display:block;font-size:13px;color:#C4D0EB}.lookup-estimate>strong{display:block;font-size:27px;letter-spacing:-.5px;margin:9px 0}.lookup-estimate p{margin:0;font-size:12px;line-height:1.6;color:#D0D8E9}
.lookup-edit{margin:0 0 24px}.lookup-edit-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.lookup-edit-head h3{font-size:17px;margin:0}.lookup-edit-head button{font-size:11px;white-space:nowrap}.lookup-edit-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.lookup-edit-grid label{display:block;font-size:12px;font-weight:650;color:#535D74}.lookup-edit-grid label:first-child{grid-column:1/-1}.lookup-edit-grid input,.lookup-edit-grid select{display:block;width:100%;box-sizing:border-box;min-width:0;border:1px solid #CDD2DE;border-radius:9px;padding:12px;margin-top:7px;color:#253863;font-size:16px;background:#fff;min-height:46px}.lookup-edit-grid input:focus,.lookup-edit-grid select:focus{outline:2px solid #0040D6;outline-offset:1px}.lookup-edit-grid input::placeholder{font-size:13px;color:#8b978f}#lookup-edit-note{font-size:13px;color:#0038BB;background:#F1F3F8;border-radius:8px;padding:12px}
.lookup-register{border-top:1px solid #E0E3E9;padding-top:18px}.lookup-register>summary{font-size:14px;color:#535D74;cursor:pointer;margin-bottom:16px}
.lookup-scope h3{font-size:17px;margin:0 0 14px}.lookup-scope ul{list-style:none;margin:0;padding:0}.lookup-scope li{display:grid;grid-template-columns:100px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid #EDEEF2;font-size:13px;line-height:1.6}.lookup-scope li strong{color:#23304D}.lookup-scope li span{color:#666D7C}
.lookup-extra-cost{padding:13px 15px;background:#F7F7F8;border-radius:10px;font-size:12px;line-height:1.7;color:#6B6F79;margin:16px 0 6px}.lookup-extra-cost strong{color:#41495C;margin-right:8px}.lookup-estimate-note{font-size:12px;line-height:1.7;color:#758276;margin:16px 0}
.lookup-conversion{margin:18px 0 24px}.lookup-conversion .btn{width:100%;min-height:54px;font-size:17px;border-radius:12px}.lookup-conversion p{text-align:center;color:#7b897f;font-size:12px;margin:9px 0 0}
.lookup-edit-disclosure{margin:0 0 24px}.lookup-edit-disclosure>summary{cursor:pointer;font-size:13px;color:#7B7F8A;list-style:none;padding:6px 0}.lookup-edit-disclosure>summary strong{color:#0040D6;font-weight:600;margin-left:8px;text-decoration:underline}.lookup-edit-disclosure[open]>summary{margin-bottom:18px}.lookup-edit-disclosure .lookup-edit{margin-bottom:0;background:#F8F9FB;padding:18px;border-radius:12px}
.lookup-content .lookup-address-card{padding:14px 16px;background:#F7F8FA;border:1px solid #E7E9EE;border-radius:10px;margin-bottom:8px}.lookup-content .lookup-address-card h3{font-size:14px;margin:0 0 5px}.lookup-content .lookup-address-card p{font-size:12px;margin:0 0 3px}.lookup-content .lookup-address-card small{font-size:11px}.lookup-content .lookup-badge{background:none;padding:0;font-size:10px;color:#838894;margin-bottom:8px}.lookup-content .lookup-address-card .lookup-summary{font-size:12px;color:#4F5B78;margin-top:8px}
.quote [hidden]{display:none!important}.consult-call{display:block;text-align:center;margin-top:12px}.quote button:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:600px){.lookup-scope li{grid-template-columns:80px 1fr;gap:8px;font-size:12px}.lookup-content .lookup-address-card h3{font-size:13px}.lookup-edit-disclosure .lookup-edit{padding:12px}.lookup-estimate>strong{font-size:28px}}
@media(max-width:600px){.lookup-estimate{padding:20px}.lookup-estimate>strong{font-size:24px}.lookup-edit-head{align-items:flex-start}.lookup-edit-head h3{font-size:15px;line-height:1.6}.lookup-edit-grid{gap:12px}.address-results-note{font-size:12px}}
.building-lookup::backdrop{background:rgba(22, 35, 64,.58);backdrop-filter:blur(3px)}
.building-lookup [hidden]{display:none!important}
.lookup-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:26px 30px 20px;border-bottom:1px solid #E7E9EE;background:#fff;position:sticky;top:0;z-index:2}
.lookup-head .quote-close{flex-shrink:0}.lookup-eyebrow{display:block;color:#0040D6;font-size:12px;font-weight:700;margin-bottom:8px;letter-spacing:.02em}
.lookup-head h2{font-size:24px;line-height:1.35;letter-spacing:-.6px;font-weight:750;margin:0}
.lookup-content{padding:22px 30px 30px}.lookup-intro{font-size:14px;color:#646974;margin:0 0 16px}
.lookup-status{font-size:15px;line-height:1.6;margin:0 0 16px;white-space:pre-line}.lookup-status:empty{display:none}.lookup-status.is-error{padding:16px;border-radius:12px;background:#fff5ee;color:#934519}
.lookup-status.is-loading{display:flex;gap:12px;align-items:center;padding:28px 0}.lookup-status.is-loading::before{content:"";width:22px;height:22px;flex-shrink:0;border:3px solid #D5DDEF;border-top-color:#0040D6;border-radius:50%;animation:lookup-spin 1s linear infinite}@keyframes lookup-spin{to{transform:rotate(360deg)}}
.lookup-postcode{height:440px;width:100%;border:1px solid #DADDE6;border-radius:12px;overflow:hidden}.lookup-caption{font-size:12px;color:#737883;line-height:1.6;margin:14px 0}.lookup-section-label{font-size:15px;font-weight:700;margin:8px 0 14px}
.lookup-buildings{display:grid;gap:10px}.lookup-building-option{text-align:left;border:1px solid #DCDFE6;border-radius:14px;padding:18px 20px;background:#fff;cursor:pointer;width:100%;color:#233663}.lookup-building-option:hover{background:#F0F3FA;border-color:#0040D6}.lookup-building-option strong{display:block;font-size:16px;margin-bottom:7px}.lookup-building-option span{display:block;font-size:13px;line-height:1.5;color:#6e7b76}
.lookup-address-card{padding:24px;background:#F1F3F8;border:1px solid #DEE3EE;border-radius:16px;margin-bottom:20px}.lookup-badge{display:inline-block;background:#DBE2F2;color:#0040D6;padding:5px 9px;border-radius:6px;font-size:11px;font-weight:750;margin-bottom:12px}.lookup-address-card h3{font-size:22px;line-height:1.4;margin:0 0 8px;overflow-wrap:anywhere}.lookup-address-card p{font-size:15px;line-height:1.5;margin:0 0 4px}.lookup-address-card small{font-size:12px;color:#77837d}
.lookup-metrics{display:grid;grid-template-columns:1.2fr 1fr 1fr;border:1px solid #E2E4EA;border-radius:14px;padding:20px 8px;margin-bottom:18px}.lookup-metric{padding:0 14px;min-width:0}.lookup-metric+.lookup-metric{border-left:1px solid #E2E4EA}.lookup-metric span{display:block;color:#6C727F;font-size:12px;margin-bottom:8px}.lookup-metric strong{display:block;color:#203462;font-size:22px;font-weight:750;line-height:1.3;letter-spacing:-.5px}.lookup-metric small{display:block;font-size:11px;color:#79867f;margin-top:6px}
.lookup-detail{display:flex;justify-content:space-between;gap:20px;font-size:14px;padding:2px 0}.lookup-detail span{color:#748079;white-space:nowrap}.lookup-detail strong{text-align:right;font-weight:600}
.lookup-floors{border-top:1px solid #E2E4EA;margin-top:22px;padding-top:18px}.lookup-floors summary{cursor:pointer;font-size:15px;font-weight:700}.lookup-table-wrap{overflow-x:auto;margin-top:14px}.lookup-floors table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}.lookup-floors th{font-weight:600;color:#676F80;background:#F5F6F8;padding:11px}.lookup-floors td{padding:12px 11px;border-bottom:1px solid #EDEEF0}.lookup-floors th:last-child,.lookup-floors td:last-child{text-align:right;white-space:nowrap}.lookup-floors td:first-child{white-space:nowrap}.lookup-floors td small{display:block;color:#829087;font-size:11px;margin-top:3px}
.lookup-next{background:#F7F8F9;border-radius:12px;padding:18px 20px;margin-top:22px}.lookup-next strong{font-size:15px}.lookup-next p{font-size:13px;line-height:1.7;color:#758078;margin:6px 0 0}.lookup-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.lookup-secondary{padding:13px 18px;border:1px solid #D9DCE5;border-radius:9px;background:#fff;color:#303D5A;cursor:pointer;font-size:14px;font-weight:600}.lookup-text-button{background:none;border:0;padding:8px 0;color:#0040D6;text-decoration:underline;cursor:pointer;font-size:13px}
.building-lookup button:focus-visible,.building-lookup summary:focus-visible{outline:3px solid #8097CE;outline-offset:3px}body:has(#building-lookup[open]){overflow:hidden}
@media(max-width:600px){.building-lookup{width:calc(100% - 20px);max-height:94dvh;border-radius:18px}.lookup-head{padding:20px 18px 16px}.lookup-head h2{font-size:21px}.lookup-content{padding:18px}.lookup-postcode{height:410px;max-height:58dvh}.lookup-address-card{padding:18px}.lookup-address-card h3{font-size:20px}.lookup-metrics{grid-template-columns:1fr;padding:4px 16px}.lookup-metric{padding:14px 0;display:grid;grid-template-columns:1fr auto;align-items:center;gap:4px 12px}.lookup-metric+.lookup-metric{border-left:0;border-top:1px solid #E2E4EA}.lookup-metric span{margin:0}.lookup-metric strong{font-size:21px;text-align:right}.lookup-metric small{grid-column:2;text-align:right;margin:0}.lookup-actions>*{flex:1}.lookup-intro{font-size:13px}}
@media(prefers-reduced-motion:reduce){.lookup-status.is-loading::before{animation:none}}
/* The address provider requires at least 300px; give it the full narrow viewport. */
@media(max-width:380px){.building-lookup{width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0}.lookup-postcode{width:calc(100% + 36px);margin-left:-18px;border-radius:0;border-left:0;border-right:0}.lookup-head h2{font-size:19px}.lookup-eyebrow{font-size:11px}}


/* Price-first quotation modal. */
.building-lookup{width:min(900px,calc(100% - 32px));color:#161F33}
.lookup-head{position:relative;border-bottom:0;padding:32px 32px 12px;align-items:flex-start}
.lookup-head h2{font-size:34px;letter-spacing:-1px;color:#1D2C4E}
.lookup-eyebrow{font-size:14px}.lookup-content{padding:8px 32px 32px}
.lookup-intro{line-height:1.7;margin-bottom:20px}
.lookup-estimate{padding:28px 30px;border-radius:20px;background:linear-gradient(120deg,#274DA6,#143583);color:#fff;position:relative;overflow:hidden}
.lookup-estimate::after{content:"";position:absolute;inset:0 0 0 60%;background:url('icons/building.svg') center/70% no-repeat;opacity:.08;pointer-events:none}
.lookup-estimate>span{font-size:17px;font-weight:700}.lookup-estimate>strong{display:block;font-size:52px;letter-spacing:-1.5px;line-height:1.3;margin:10px 0;color:#fff}
.lookup-estimate>p{margin:4px 0 0;color:#D2D9EA;font-size:14px;line-height:1.7;position:relative;z-index:1}
.lookup-price-tags{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0 0;padding:0;list-style:none;position:relative;z-index:1}
.lookup-price-tags li{font-size:12px;padding:7px 10px;border:1px solid #ffffff30;border-radius:30px;background:#ffffff12}
.lookup-price-tags li::before{content:"✓";margin-right:6px;color:#B4C6F0}
.lookup-conversion{margin:16px 0 0}.lookup-conversion .btn{min-height:58px;font-size:18px;white-space:normal;text-align:center;line-height:1.5}
.lookup-search-again{display:block;margin:4px auto 16px;font-size:13px;padding:10px;color:#515A6F}
.lookup-content .lookup-address-card{padding:20px 22px;border-radius:14px;margin:0;background:#F5F6F9}
.lookup-content .lookup-address-card h3{font-size:17px}.lookup-content .lookup-address-card p{font-size:14px}.lookup-content .lookup-address-card .lookup-badge{font-size:12px;margin-bottom:8px}
.lookup-edit-disclosure{margin:0 0 26px}.lookup-edit-disclosure>summary{text-align:right;padding:12px 3px;color:#636976}
.lookup-scope h3{font-size:21px}.lookup-scope ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.lookup-scope li{display:flex;flex-direction:column;gap:7px;padding:16px 13px;border:1px solid #E4E6EC;border-radius:12px;font-size:13px;line-height:1.5;min-width:0}
.lookup-scope li img{box-sizing:content-box;padding:10px;border-radius:50%;background:#E6EAF5;margin-bottom:5px}.lookup-scope li strong{font-size:16px;color:#161F35}
.lookup-notice{background:#fffaf0;border:1px solid #f4e5c8;border-radius:14px;padding:18px 20px;margin-top:20px;color:#604c2c;font-size:13px;line-height:1.7}
.lookup-notice>strong{font-size:15px}.lookup-notice ul{padding-left:18px;margin:8px 0 0;color:#69746d}
.lookup-register{margin-top:16px;padding:16px;border:1px solid #E2E4EA;border-radius:12px}.lookup-register>summary{margin:0;color:#24304B;font-weight:650}.lookup-register[open]>summary{margin-bottom:18px}

.lookup-unit-row{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:14px 0;border-bottom:1px solid #E0E3E9}.lookup-unit-row label{font-size:12px;font-weight:600;color:#515A6D}.lookup-unit-row input,.lookup-unit-row select{width:100%;border:1px solid #CBD1DE;border-radius:8px;padding:11px;font:inherit;font-size:16px;margin-top:5px;min-width:0}.lookup-unit-row input:focus{outline:2px solid #0040D6;outline-offset:2px}
.lookup-unit-row .lookup-row-title{grid-column:1/-1;margin:0;font-size:14px;font-weight:700}.lookup-input-note{font-size:12px;line-height:1.6;color:#696E7B}
.lookup-own-label{font-size:13px;display:block;margin-top:14px}.lookup-own-label select{display:block;width:100%;padding:10px;border:1px solid #CBD1DE;border-radius:8px;font-size:15px;margin-top:6px;background:#fff}
@media(max-width:600px){.building-lookup{width:calc(100% - 16px);max-height:95dvh}.lookup-head{padding:22px 18px 8px}.lookup-head h2{font-size:25px;letter-spacing:-.7px}.lookup-eyebrow{font-size:12px}.lookup-content{padding:6px 18px 22px}.lookup-estimate{padding:22px 20px}.lookup-estimate>strong{font-size:36px}.lookup-estimate>span{font-size:15px}.lookup-estimate>p{font-size:13px}.lookup-price-tags{gap:5px;margin-top:14px}.lookup-price-tags li{font-size:10px;padding:5px 7px}.lookup-conversion .btn{font-size:15px;min-height:54px;padding:12px}.lookup-scope ul{grid-template-columns:repeat(2,minmax(0,1fr))}.lookup-scope li{padding:14px 12px}.lookup-scope h3{font-size:19px}.lookup-content .lookup-address-card{padding:16px}.lookup-content .lookup-address-card h3{font-size:15px}.lookup-content .lookup-address-card p{font-size:13px}.lookup-notice{padding:16px}.lookup-unit-row{gap:10px}}

/* Keep consultation prominent beside the preliminary estimate. */
.lookup-conversion{padding:20px;border:1px solid #D2D9E9;border-radius:16px;background:#F1F3F9;text-align:center}
.lookup-conversion-title{display:block;font-size:19px;line-height:1.5;color:#223563}
.lookup-conversion p{margin:5px 0 15px;font-size:14px;color:#475169;line-height:1.6}
.lookup-conversion .btn.btn-primary{background:#ffdc67;color:#1F315D;border:2px solid #f5ca42;font-size:21px;font-weight:800;min-height:64px;box-shadow:0 4px 0 #d7af35}
.lookup-conversion .btn.btn-primary:hover{background:#ffcf3f;transform:translateY(-1px)}
.lookup-conversion .btn.btn-primary:focus-visible{outline:3px solid #003BC5;outline-offset:4px}
.lookup-conversion-bottom{margin-top:24px}.lookup-estimate>strong{font-size:46px}
@media(max-width:600px){.lookup-conversion{padding:17px 14px}.lookup-conversion-title{font-size:17px}.lookup-conversion p{font-size:13px}.lookup-conversion .btn.btn-primary{font-size:19px;min-height:60px}.lookup-estimate>strong{font-size:34px}.lookup-price-tags{display:none}}


/* Compact building summary and count-only correction. */
.lookup-content .lookup-address-card{margin-top:16px;padding:20px;background:#fff;border-color:#DCDFE7}
.lookup-building-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.lookup-content .lookup-building-head .lookup-badge{margin:0;font-size:12px;color:#535C71}
.lookup-building-head .lookup-text-button{font-size:12px;padding:4px 0}
.lookup-content .lookup-address-card h3{font-size:15px;margin-bottom:5px}
.lookup-content .lookup-address-card #lookup-address{font-size:13px;color:#656B78}
.lookup-size{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0 12px;padding:18px;border-radius:12px;background:#F3F4F8}
.lookup-size-item{min-width:0}.lookup-size-item+ .lookup-size-item{border-left:1px solid #DCDFE8;padding-left:18px}
.lookup-size-item>span{font-size:12px;font-weight:600;color:#636B7C}.lookup-size-item>strong{display:block;font-size:30px;line-height:1.3;color:#213D7D;letter-spacing:-.6px;margin:6px 0}
.lookup-size-item>strong small{font-size:15px;margin-left:5px;color:inherit;font-weight:600}
.lookup-content .lookup-size-item p{font-size:12px;color:#586073;margin:0;line-height:1.6}
.lookup-content .lookup-address-card .lookup-summary{font-size:12px;line-height:1.6;color:#6A707D;margin:0}
.lookup-address-card .lookup-edit-disclosure{margin:10px 0 0;border-top:1px solid #E6E8EE}
.lookup-address-card .lookup-edit-disclosure>summary{padding:13px 0 0;font-size:13px}
.lookup-address-card .lookup-edit-disclosure[open]>summary{margin-bottom:12px}
.lookup-count-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.lookup-count-grid label{font-size:13px;font-weight:650;color:#303D5A}
.lookup-count-input{display:flex;align-items:center;margin-top:8px;border:1px solid #CBD1DE;border-radius:9px;background:#fff;padding-right:12px}
.lookup-count-input:focus-within{outline:2px solid #0040D6;outline-offset:2px}
.lookup-count-input input{width:100%;min-width:0;border:0;outline:none;background:transparent;padding:12px;font-size:20px;font-weight:700;color:#253863}
.lookup-count-input span{font-size:13px;font-weight:400;white-space:nowrap}.lookup-count-total{font-size:14px!important;font-weight:700;margin-top:12px!important;color:#224AAA!important}
#lookup-edit-done{width:100%;background:#003DCB;color:white;border:0;min-height:48px}#lookup-edit-done:disabled{opacity:.55;cursor:wait}
@media(max-width:600px){.lookup-content .lookup-address-card{padding:16px}.lookup-size{padding:14px 12px;gap:10px}.lookup-size-item+ .lookup-size-item{padding-left:12px}.lookup-size-item>strong{font-size:26px}.lookup-content .lookup-size-item p{font-size:11px}.lookup-count-grid{gap:10px}.lookup-edit-head{flex-wrap:wrap}.lookup-edit-head h3{font-size:14px}.lookup-count-input input{font-size:18px;padding:11px 8px}.lookup-count-input{padding-right:8px}}
.field .field-optional{font-weight:400;color:#737883}.field-help{font-size:12px;line-height:1.6;color:#737883}

#lookup-edit-note.is-error{color:#a63228;background:#fff1ee;border:1px solid #f0c5be}.lookup-count-input:has([aria-invalid="true"]){border-color:#bd493c}

.lookup-size{grid-template-columns:1fr 1fr 1.3fr}.lookup-metrics{grid-template-columns:1.2fr 1fr 1.15fr .9fr}#lookup-count-note{white-space:pre-line}
@media(max-width:600px){.lookup-size{grid-template-columns:1fr 1fr}.lookup-size-item:last-child{grid-column:1/-1;border-left:0;border-top:1px solid #DCDFE8;padding:12px 0 0}.lookup-metrics{grid-template-columns:1fr}}

/* Quotation result: service context, building basis, then consultation. */
.lookup-content:has(#lookup-result:not([hidden]))>.lookup-intro{display:none}
#lookup-result{color:#161F33}
#lookup-result .lookup-service-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:4px 0 16px}
#lookup-result .lookup-service-option{min-width:0;border:1px solid #DCE0E9;border-radius:14px;padding:20px;background:#fff;display:flex;flex-direction:column;justify-content:center}
#lookup-result .lookup-service-option.is-current{background:#EDF0F8;border-color:#EDF0F8}
#lookup-result .lookup-current-badge{align-self:flex-start;display:inline-block;padding:5px 10px;margin-bottom:13px;border-radius:20px;background:#0035B0;color:#fff;font-size:12px;font-weight:700;line-height:1.4}
#lookup-result .lookup-option-body{display:flex;align-items:flex-start;gap:14px;min-width:0}
#lookup-result .lookup-option-icon{width:42px;height:42px;flex:0 0 42px;object-fit:contain;margin-top:3px}
#lookup-result .lookup-option-body>div{min-width:0;flex:1}
#lookup-result .lookup-option-body h3{font-size:19px;line-height:1.45;letter-spacing:-.5px;margin:0 0 8px;color:#161F33}
#lookup-result .lookup-option-body p{font-size:14px;line-height:1.75;color:#646974;margin:0;word-break:keep-all;overflow-wrap:anywhere}
#lookup-result .lookup-service-link{align-self:flex-start;border:0;background:none;padding:3px 0;margin-top:12px;font:inherit;font-size:14px;font-weight:700;color:#0035B0;cursor:pointer;text-align:left;text-decoration:underline;text-underline-offset:4px;line-height:1.5}
#lookup-result .lookup-service-option>.lookup-service-link{margin-left:56px}
#lookup-result .lookup-service-link:hover{color:#00267E}
#lookup-result .lookup-estimate{padding:23px 26px;margin:0 0 18px;border-radius:14px;background:linear-gradient(115deg,#0035B0,#002886)}
#lookup-result .lookup-estimate::after{content:none}
#lookup-result .lookup-estimate>span{font-size:16px;line-height:1.5;font-weight:650;color:#E0E5F0}
#lookup-result .lookup-price-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;margin:6px 0 4px}
#lookup-result #lookup-price{font-size:44px;line-height:1.2;letter-spacing:-1.4px;font-weight:750;color:#fff;margin:0;overflow-wrap:anywhere}
#lookup-result .lookup-price-scope{display:inline-block;border:1px solid #ffffff35;border-radius:24px;padding:6px 12px;font-size:12px;line-height:1.5;font-weight:500;background:#ffffff12;color:#EDF0F8;white-space:nowrap}
#lookup-result #lookup-price-note{font-size:15px;font-weight:600;line-height:1.65;margin:6px 0 0;color:#F0F2F8}
#lookup-result .lookup-price-disclaimer{font-size:13px;line-height:1.7;margin:6px 0 0;color:#D0D8E9}
#lookup-result .lookup-address-card{padding:19px 20px;margin:0 0 20px;border:1px solid #DCDFE7;border-radius:14px;background:#fff}
#lookup-result .lookup-building-head{margin-bottom:12px}
#lookup-result .lookup-building-head .lookup-badge{color:#263149;font-size:13px;font-weight:700}
#lookup-result .lookup-address-card>h3{font-size:18px;line-height:1.45;margin-bottom:4px;letter-spacing:-.3px}
#lookup-result .lookup-address-card #lookup-address{font-size:13px;line-height:1.6;color:#6B707B;margin-bottom:8px}
#lookup-result .lookup-building-scale{display:flex;gap:9px;flex-wrap:wrap;align-items:baseline;font-size:13px;line-height:1.6;color:#414A5F;margin:6px 0 10px}
#lookup-result .lookup-building-scale>strong{font-weight:650;color:#27324B}
#lookup-result .lookup-size{grid-template-columns:1fr 1fr 1.3fr;gap:0;padding:14px 6px;background:#EDF0F7;margin:10px 0;border-radius:11px}
#lookup-result .lookup-size-item{padding:0 15px;min-width:0}
#lookup-result .lookup-size-item+.lookup-size-item{border-left:1px solid #D7DCE8;border-top:0;padding:0 15px;grid-column:auto}
#lookup-result .lookup-size-item>span{font-size:12px;line-height:1.5;color:#656D7E;font-weight:500;display:block}
#lookup-result .lookup-size-item>strong{font-size:30px;line-height:1.25;letter-spacing:-.8px;margin:5px 0 0;color:#233765;overflow-wrap:anywhere}
#lookup-result .lookup-size-item>strong small{display:inline;font-size:13px;margin-left:4px;font-weight:600;color:inherit}
#lookup-result .lookup-size-item p{font-size:11px;line-height:1.6;color:#737986;margin:3px 0 0;word-break:keep-all;overflow-wrap:anywhere}
#lookup-result .lookup-estimated-badge{display:inline-block;vertical-align:middle;white-space:nowrap;padding:4px 7px;margin-left:6px;background:#D7DEEF;border-radius:14px;font-size:11px;font-weight:500;letter-spacing:0;line-height:1.3;color:#0037B6}
#lookup-result .lookup-address-card .lookup-summary{font-size:12px;line-height:1.7;color:#737883;margin:8px 0;word-break:keep-all;overflow-wrap:anywhere}
#lookup-result .lookup-address-card .lookup-edit-disclosure{margin:10px 0 0}
#lookup-result .lookup-address-card .lookup-edit-disclosure>summary{line-height:1.6;padding:11px 0 0}
#lookup-result .lookup-services{margin:0 0 18px}
#lookup-result .lookup-services-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:14px}
#lookup-result .lookup-services-head h3{font-size:24px;line-height:1.4;letter-spacing:-.7px;margin:0;color:#161F33}
#lookup-result .lookup-services-head p{font-size:12px;line-height:1.6;color:#737883;margin:0}
#lookup-result .lookup-service-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
#lookup-result .lookup-service-card{min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;padding:18px 8px;min-height:110px;box-sizing:border-box;border-radius:12px;background:#EDF0F8;text-align:center}
#lookup-result .lookup-service-card img{width:40px;height:40px;object-fit:contain;flex-shrink:0}
#lookup-result .lookup-service-card span{font-size:13px;font-weight:650;line-height:1.5;color:#222F4C;white-space:nowrap;letter-spacing:-.3px}
#lookup-result .lookup-extra-cost{display:flex;gap:10px;align-items:flex-start;border-radius:9px;padding:11px 14px;background:#f5f6f5;color:#738076;font-size:12px;line-height:1.65;margin:10px 0 7px}
#lookup-result .lookup-extra-cost img{flex:0 0 20px;width:20px;height:20px;object-fit:contain;margin-top:1px}
#lookup-result .lookup-extra-cost strong{flex-shrink:0;font-size:13px;color:#0035B0;font-weight:700;margin:0;padding-right:12px;border-right:1px solid #DCDFE5;line-height:1.65}
#lookup-result .lookup-extra-cost>span{min-width:0;word-break:keep-all;overflow-wrap:anywhere}
#lookup-result .lookup-operating-note{font-size:12px;line-height:1.7;color:#748278;margin:0 3px 16px;word-break:keep-all;overflow-wrap:anywhere}
#lookup-result .lookup-conversion{padding:20px 24px;border:0;border-radius:14px;background:#EDF0F8;margin:16px 0 0;text-align:center}
#lookup-result .lookup-conversion-title{font-size:20px;line-height:1.5;letter-spacing:-.5px;color:#161F33}
#lookup-result .lookup-conversion>p{font-size:13px;line-height:1.6;color:#6A6F7C;margin:3px 0 12px}
#lookup-result .lookup-conversion .btn.lookup-consult-action{display:flex;align-items:center;justify-content:center;gap:10px;max-width:400px;width:100%;margin:0 auto;min-height:52px;padding:12px 18px;box-sizing:border-box;background:#ffd54a;border:1px solid #ffd54a;border-radius:9px;color:#161F33;box-shadow:none;font-size:18px;font-weight:750;line-height:1.5;transform:none}
#lookup-result .lookup-consult-action>img{width:23px;height:23px;object-fit:contain;flex-shrink:0;filter:brightness(.35)}
#lookup-result .lookup-conversion .btn.lookup-consult-action:hover{background:#ffcc2e;border-color:#ffcc2e;transform:none}
#lookup-result .lookup-conversion>.lookup-contact{font-size:12px;line-height:1.6;color:#727782;margin:7px 0 0}
#lookup-result .lookup-contact a{color:inherit;text-decoration:none;white-space:nowrap}
#lookup-result .lookup-contact a:hover{text-decoration:underline;text-underline-offset:3px}
#lookup-result .lookup-consult-steps{display:flex;align-items:flex-start;justify-content:center;gap:16px;margin:12px 0 0;padding:0;list-style:none}
#lookup-result .lookup-consult-steps li{display:flex;align-items:center;gap:8px;color:#27375D;font-size:12px;font-weight:600;line-height:1.5}
#lookup-result .lookup-consult-steps li>span{display:flex;align-items:center;justify-content:center;flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:#3E5790;color:#fff;font-size:11px;font-weight:500}
#lookup-result .lookup-register{margin-top:18px}
@media(max-width:760px){
  #lookup-result .lookup-service-options{grid-template-columns:1fr}
  #lookup-result .lookup-service-option{padding:18px 20px}
  #lookup-result .lookup-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #lookup-result .lookup-service-card{min-height:82px;gap:10px;padding:14px 10px}
  #lookup-result .lookup-service-card span{font-size:13px}
}
@media(max-width:600px){
  #lookup-result .lookup-service-options{gap:10px;margin:4px 0 12px}
  #lookup-result .lookup-service-option{padding:16px}
  #lookup-result .lookup-current-badge{font-size:11px;margin-bottom:11px;padding:4px 9px}
  #lookup-result .lookup-option-body{gap:12px}
  #lookup-result .lookup-option-icon{width:34px;height:34px;flex-basis:34px}
  #lookup-result .lookup-option-body h3{font-size:17px;margin-bottom:5px;letter-spacing:-.4px}
  #lookup-result .lookup-option-body p{font-size:13px;line-height:1.7}
  #lookup-result .lookup-service-link{font-size:13px;margin-top:8px}
  #lookup-result .lookup-service-option>.lookup-service-link{margin-left:46px}
  #lookup-result .lookup-estimate{padding:18px;margin-bottom:14px;border-radius:12px}
  #lookup-result .lookup-estimate>span{font-size:14px}
  #lookup-result .lookup-price-heading{gap:8px 12px;margin:6px 0}
  #lookup-result #lookup-price{font-size:clamp(26px,6.2vw,36px);letter-spacing:-1px}
  #lookup-result .lookup-price-scope{font-size:11px;padding:4px 9px}
  #lookup-result #lookup-price-note{font-size:13px;line-height:1.6}
  #lookup-result .lookup-price-disclaimer{font-size:12px;line-height:1.7}
  #lookup-result .lookup-address-card{padding:16px;margin-bottom:18px;border-radius:12px}
  #lookup-result .lookup-building-head{margin-bottom:9px}
  #lookup-result .lookup-building-head .lookup-badge{font-size:12px}
  #lookup-result .lookup-building-head .lookup-text-button{font-size:11px;white-space:nowrap}
  #lookup-result .lookup-address-card>h3{font-size:16px}
  #lookup-result .lookup-address-card #lookup-address{font-size:12px}
  #lookup-result .lookup-building-scale{font-size:12px;gap:7px;margin:5px 0 8px}
  #lookup-result .lookup-size{grid-template-columns:1fr 1fr 1.3fr;gap:0;padding:12px 2px;margin:8px 0}
  #lookup-result .lookup-size-item,#lookup-result .lookup-size-item+.lookup-size-item{padding:0 9px;border-top:0;grid-column:auto}
  #lookup-result .lookup-size-item>span{font-size:11px;line-height:1.45}
  #lookup-result .lookup-size-item>strong{font-size:clamp(18px,4.3vw,26px);letter-spacing:-.5px;margin:5px 0 0}
  #lookup-result .lookup-size-item>strong small{font-size:11px;margin-left:3px}
  #lookup-result .lookup-size-item p{font-size:10px;line-height:1.6}
  #lookup-result .lookup-estimated-badge{font-size:10px;margin-left:4px;padding:3px 5px}
  #lookup-result .lookup-address-card .lookup-summary{font-size:11px}
  #lookup-result .lookup-address-card .lookup-edit-disclosure>summary{font-size:12px}
  #lookup-result .lookup-services-head{gap:4px;margin-bottom:11px}
  #lookup-result .lookup-services-head h3{font-size:20px;letter-spacing:-.6px}
  #lookup-result .lookup-services-head p{font-size:11px;width:100%}
  #lookup-result .lookup-service-grid{gap:8px}
  #lookup-result .lookup-service-card{min-height:94px;padding:12px 6px;gap:8px}
  #lookup-result .lookup-service-card img{width:32px;height:32px}
  #lookup-result .lookup-service-card span{font-size:12px;letter-spacing:-.5px}
  #lookup-result .lookup-extra-cost{gap:8px;padding:10px;font-size:11px;flex-wrap:wrap}
  #lookup-result .lookup-extra-cost img{width:18px;height:18px;flex-basis:18px}
  #lookup-result .lookup-extra-cost strong{font-size:12px;padding-right:0;border-right:0}
  #lookup-result .lookup-extra-cost>span{flex-basis:100%;padding-left:26px}
  #lookup-result .lookup-operating-note{font-size:11px;margin:0 1px 14px}
  #lookup-result .lookup-conversion{padding:17px 14px;margin-top:14px;border-radius:12px}
  #lookup-result .lookup-conversion-title{font-size:17px;word-break:keep-all}
  #lookup-result .lookup-conversion>p{font-size:12px;margin-bottom:10px;word-break:keep-all}
  #lookup-result .lookup-conversion .btn.lookup-consult-action{max-width:none;font-size:16px;min-height:50px;padding:11px 10px}
  #lookup-result .lookup-conversion>.lookup-contact{font-size:11px;margin:7px 0 0}
  #lookup-result .lookup-consult-steps{gap:8px;margin-top:12px}
  #lookup-result .lookup-consult-steps li{flex:1;flex-direction:column;gap:5px;font-size:11px;word-break:keep-all}
  #lookup-result .lookup-consult-steps li>span{width:21px;height:21px;flex-basis:21px}
}
@media(max-width:380px){
  #building-lookup:has(#lookup-result:not([hidden])){width:100%;max-width:100%;height:100dvh;max-height:100dvh;margin:0;border-radius:0}
  #lookup-result .lookup-service-option{padding:14px}
  #lookup-result .lookup-option-body{gap:10px}
  #lookup-result .lookup-option-icon{width:30px;height:30px;flex-basis:30px}
  #lookup-result .lookup-option-body h3{font-size:16px}
  #lookup-result .lookup-service-option>.lookup-service-link{margin-left:40px}
  #lookup-result .lookup-estimate{padding:16px}
  #lookup-result .lookup-address-card{padding:13px}
  #lookup-result .lookup-size-item,#lookup-result .lookup-size-item+.lookup-size-item{padding:0 6px}
  #lookup-result .lookup-size-item>strong{font-size:18px}
  #lookup-result .lookup-size-item>strong small{font-size:10px;margin-left:2px}
  #lookup-result .lookup-estimated-badge{font-size:9px;padding:3px 4px;margin-left:3px}
  #lookup-result .lookup-service-card span{font-size:11px;letter-spacing:-.5px}
}

/* Carry the quotation context into the existing consultation form. */
.quote.is-consultation .consult-quote-context{padding:14px 16px;margin:0;border:1px solid #DCE0EB;border-radius:10px;background:#F0F2F8;color:#303D5A;text-align:left}
.quote.is-consultation .consult-quote-context>strong{display:block;font-size:14px;line-height:1.5;color:#22479E;margin:0 0 5px}
.quote.is-consultation .consult-quote-context>p{font-size:13px;line-height:1.7;color:#475169;margin:0;word-break:keep-all;overflow-wrap:anywhere}
.quote.is-consultation .consult-quote-context>small{display:block;font-size:12px;line-height:1.65;color:#6C727F;margin-top:7px;word-break:keep-all;overflow-wrap:anywhere}
.consult-quote-context[hidden],#consult-quote-notice[hidden]{display:none!important}

/* Keep a failed floor lookup and its retry visible beside the estimate. */
#lookup-result .lookup-floor-notice{display:flex;align-items:center;flex-wrap:wrap;gap:12px 16px;padding:14px 16px;margin:0 0 18px;border:1px solid #e7e2d7;border-radius:11px;background:#fcfaf5;color:#595F6C}
#lookup-result .lookup-floor-notice>p{flex:1 1 280px;min-width:0;font-size:13px;line-height:1.7;margin:0;word-break:keep-all;overflow-wrap:anywhere}
#lookup-result .lookup-floor-notice>.lookup-secondary{flex:0 0 auto;max-width:100%;min-height:42px;padding:10px 14px;font-size:13px;line-height:1.5;white-space:normal}
@media(max-width:600px){
  #lookup-result .lookup-floor-notice{flex-direction:column;align-items:stretch;gap:10px;padding:13px 14px;margin-bottom:14px}
  #lookup-result .lookup-floor-notice>p{flex:0 1 auto;font-size:12px}
  #lookup-result .lookup-floor-notice>.lookup-secondary{width:100%;min-height:44px;text-align:center}
}
