.roof-estimator { background: #f5f8fb; }
.estimator-heading { display: flex; justify-content: space-between; gap: 32px; align-items: end; margin-bottom: 28px; }
.estimator-heading > div { max-width: 760px; }
.estimator-heading h2 { margin-bottom: 18px; }
.estimator-heading p { margin: 0; }
.estimator-step { flex: 0 0 auto; padding: 10px 14px; border-radius: 999px; background: #e8ad2f; color: #0b2b45; font-weight: 900; }
.estimator-shell { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(300px, .75fr); overflow: hidden; border: 1px solid #ccd8e3; border-radius: 24px; background: #fff; box-shadow: 0 22px 60px rgba(7, 27, 51, .12); }
.estimator-map-column { min-width: 0; }
.address-panel { display: grid; gap: 8px; padding: 20px 22px; border-bottom: 1px solid #d8e1e9; }
.address-panel label, .estimate-panel label { font-weight: 700; }
.address-panel input, .address-panel gmp-place-autocomplete, .estimate-panel select { width: 100%; min-height: 48px; border: 1px solid #aebdcc; border-radius: 10px; background: #fff; color: #071b33; font: inherit; }
.address-panel input { padding: 0 14px; }
.address-panel #roof-address-control { position: relative; }
.address-panel #roof-address-control > input { min-height: 60px; padding-left: 18px; font-size: 17px; }
.address-suggestions { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; right: 0; overflow: hidden; border: 1px solid #aebdcc; border-radius: 12px; background: #fff; box-shadow: 0 16px 34px rgba(7, 27, 51, .2); }
.address-suggestions:empty { display: none; }
.address-suggestions button { display: block; width: 100%; min-height: 54px; padding: 12px 18px; border: 0; border-bottom: 1px solid #d8e1e9; background: #fff; color: #071b33; font: inherit; font-weight: 600; line-height: 1.35; text-align: left; cursor: pointer; }
.address-suggestions button:hover, .address-suggestions button:focus-visible { outline: 0; background: #eaf3fb; color: #0b4f8f; }
.address-attribution { display: block; padding: 8px 18px; background: #f5f8fb; color: #526579; font-size: 12px; font-weight: 700; text-align: right; }
.address-panel p { margin: 0; color: #667787; font-size: 13px; }
.roof-map { position: relative; height: 540px; overflow: hidden; background: #263849; }
.roof-map > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) brightness(.72); }
.map-setup-message { position: absolute; inset: 50% auto auto 50%; display: grid; width: min(420px, calc(100% - 40px)); gap: 8px; padding: 22px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 16px; background: rgba(7, 27, 51, .9); color: #fff; text-align: center; transform: translate(-50%, -50%); backdrop-filter: blur(8px); }
.map-setup-message strong { font-size: 20px; }
.map-setup-message span { color: #d9e4ee; }
.map-tools { display: flex; flex-wrap: wrap; gap: 10px; padding: 16px 20px; border-top: 1px solid #d8e1e9; }
.map-tools button { min-height: 44px; padding: 9px 14px; border: 1px solid #155da8; border-radius: 8px; background: #fff; color: #155da8; font: inherit; font-weight: 700; cursor: pointer; }
.map-tools button:first-child, .map-tools button:nth-child(3) { background: #155da8; color: #fff; }
.map-tools button:disabled { border-color: #cbd4dc; background: #eef2f5; color: #8795a1; cursor: not-allowed; }
.drawing-help { margin: 0; padding: 0 20px 18px; color: #526579; font-size: 14px; }
.estimate-panel { display: grid; align-content: start; gap: 18px; padding: 28px; background: #0b2b45; color: #fff; }
.estimate-panel h3 { margin: 0; color: #fff; font-size: 28px; }
.estimate-panel label { display: grid; gap: 8px; }
.estimate-panel select { padding: 0 12px; }
.estimate-stat, .estimate-total, .estimate-price { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.estimate-stat strong { font-size: 20px; }
.estimate-total { display: grid; gap: 5px; padding: 18px; border: 1px solid rgba(232, 173, 47, .55); border-radius: 14px; background: rgba(232, 173, 47, .09); }
.estimate-total strong { color: #f0bd51; font-size: 36px; }
.estimate-price { display: grid; gap: 5px; }
.estimate-price strong { font-size: 22px; }
.estimate-panel > p { margin: 0; color: #c8d4df; font-size: 14px; line-height: 1.55; }
.estimate-panel .btn { width: 100%; background: #e8ad2f; color: #0b2b45; text-align: center; }
@media (max-width: 900px) { .estimator-heading { align-items: start; } .estimator-shell { grid-template-columns: 1fr; } .roof-map { height: 470px; } }
@media (max-width: 640px) { .estimator-heading { flex-direction: column; align-items: flex-start; } .roof-map { height: 390px; } .map-tools { display: grid; grid-template-columns: 1fr 1fr; } .estimate-panel { padding: 24px 20px; } .estimate-total strong { font-size: 32px; } }
