/* VELIONA Site Intelligence — roof polygon location and measurement */
.site-map-entry{display:flex;align-items:center;justify-content:space-between;gap:25px;margin:5px 0 22px;padding:22px 24px;border:1px solid #cfdfcd;background:#f0f5ea}
.site-map-eyebrow{display:block;color:#6b896c;font-size:9px;letter-spacing:.12em;font-weight:790;margin-bottom:6px}
.site-map-entry strong{display:block;font-size:16px;font-weight:730;letter-spacing:-.028em;color:#284c36}
.site-map-entry p{font-size:11px;color:#6b806e;margin:3px 0 0;line-height:1.75;max-width:420px}
.site-map-open{display:flex;justify-content:space-between;align-items:center;gap:16px;color:#fff;background:#214430;border:1px solid #214430;border-radius:2px;font-size:11px;font-weight:770;line-height:1.4;white-space:nowrap;min-height:48px;padding:0 14px;transition:background .15s}
.site-map-open:hover{background:#376447}.site-map-open span{font-size:17px;font-weight:400}
.site-map-panel{background:#fff;border:1px solid #ccdacc;margin-bottom:25px;padding:25px 22px;box-shadow:0 16px 32px #233b2811}
.site-map-panel-title{display:flex;gap:20px;align-items:flex-start;justify-content:space-between;margin-bottom:19px}
.site-map-panel-title h3{font-size:25px;letter-spacing:-.04em;font-weight:630;line-height:1.2;color:#21412e;margin:4px 0 7px}
.site-map-panel-title p{font-size:11px;line-height:1.8;color:#66806b;max-width:660px;margin:0}
.site-map-close{border:1px solid #cfdece;background:#f4f8f1;color:#315039;font-size:23px;font-weight:400;line-height:1;width:35px;height:35px;flex-shrink:0}
.site-map-toolbar{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.site-map-tool{min-height:37px;padding:7px 11px;background:#f0f5ec;border:1px solid #d7e1d3;color:#47704f;font-size:11px;font-weight:700;line-height:1.3}
.site-map-tool.active{background:#234732;color:#fff;border-color:#234732}
.site-map-canvas-wrap{height:420px;max-height:65vh;position:relative;background:#dfe9dc;overflow:hidden}
#site-map-canvas{height:100%;width:100%;z-index:0}
.site-map-overlay-help{position:absolute;top:13px;left:13px;right:13px;max-width:390px;background:#fbfcf6eF;padding:11px 14px;font-size:11px;line-height:1.6;color:#23432f;z-index:1;pointer-events:none;box-shadow:0 4px 16px #122d181f}
.site-map-canvas-wrap .maplibregl-ctrl-bottom-left,.site-map-canvas-wrap .maplibregl-ctrl-bottom-right{z-index:2}
.site-map-canvas-wrap .maplibregl-ctrl-attrib{font-size:9px;background:#fffc!important}
.site-map-feedback{min-height:37px;font-size:11px;color:#58725c;background:#f3f7f1;padding:10px 13px;line-height:1.7}
.site-map-feedback.error{color:#8a4836;background:#fff4ee;border:0}
.site-map-edit-actions{display:flex;flex-wrap:wrap;gap:10px;border-bottom:1px solid #dce6dc;padding:14px 0}
.site-map-edit-actions button{background:transparent;border:0;border-bottom:1px solid #8da890;padding:5px 0;font-size:11px;font-weight:720;color:#3d6347}
.site-map-edit-actions button:hover{color:#22432b}
.site-map-output{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:18px 0}
.site-map-output>div{border:1px solid #dbe6d9;background:#f6f9f4;padding:14px 12px;display:flex;flex-direction:column;gap:8px}
.site-map-output span{font-size:9px;letter-spacing:.07em;color:#6a856d;font-weight:760}
.site-map-output strong{font:600 22px var(--display);letter-spacing:-.045em;color:#244630}
.site-map-confirm{display:flex;align-items:flex-start;gap:10px;color:#536f5a;font-size:11px;font-weight:650;line-height:1.65;cursor:pointer;margin-bottom:17px}
.site-map-confirm input{width:17px;height:17px;accent-color:#2b5a38;flex-shrink:0;margin-top:2px}
.site-map-actions{display:flex;flex-wrap:wrap;gap:9px;justify-content:flex-end}
.site-map-actions button{border-radius:2px;min-height:43px;font-size:11px;font-weight:750;padding:0 14px}
.site-map-action-secondary{background:transparent;border:1px solid #a8bdab;color:#386046}
.site-map-action-primary{background:#1f412e;border:1px solid #1f412e;color:#fff;display:inline-flex;align-items:center;gap:22px;justify-content:space-between}
.site-map-actions button:hover{filter:brightness(1.08)}
.site-map-legal{border-top:1px solid #dce5da;font-size:10px;color:#78917b;line-height:1.85;margin-top:18px;padding-top:13px}
.site-map-applied{background:#e9f3e5;border-left:3px solid #6b9874;margin:10px 0 20px;color:#335d3f;padding:14px 18px;font-size:12px;line-height:1.7;font-weight:650}
.site-map-panel[hidden],.site-map-applied[hidden]{display:none!important}
@media(max-width:980px){.site-map-panel{padding:20px 17px}.site-map-canvas-wrap{height:375px}.site-map-output strong{font-size:19px}}
@media(max-width:650px){
.site-map-entry{display:block;padding:18px 18px}
.site-map-open{width:100%;margin-top:17px}
.site-map-panel{padding:17px 12px;margin-top:9px}
.site-map-panel-title h3{font-size:21px}
.site-map-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.site-map-tool{font-size:10px;min-height:40px}
.site-map-tool:last-child{grid-column:1/-1}
.site-map-canvas-wrap{height:330px}
.site-map-overlay-help{font-size:10px;left:9px;right:9px;top:9px;max-width:280px}
.site-map-output{gap:5px}
.site-map-output>div{padding:9px 7px;min-width:0}
.site-map-output span{font-size:8px}
.site-map-output strong{font-size:16px}
.site-map-actions{display:grid;grid-template-columns:1fr 1fr}
.site-map-actions button{padding:0 8px;font-size:10px;white-space:normal}
.site-map-edit-actions{gap:12px}
.site-map-edit-actions button{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.site-map-open{transition:none}}
@media print{.site-map-entry,.site-map-panel,.site-map-applied{display:none!important}}
