.oso-tool{--oso-green:#0d8065;--oso-ink:#163341;--oso-muted:#647887;--oso-line:#dfe9ed;--oso-bg:#f7fafb;--oso-yellow:#ffde43;--oso-east:#ffbb72;--oso-west:#ed954b;--oso-north:#df5b53;font-family:inherit;color:var(--oso-ink);width:100%;max-width:1260px;margin:24px auto 50px;box-sizing:border-box;line-height:1.5}
.oso-tool *{box-sizing:border-box}.oso-tool button,.oso-tool input{font:inherit}.oso-tool button{cursor:pointer}.oso-tool button:focus-visible,.oso-tool input:focus-visible,.oso-roof-facet:focus-visible,.oso-map:focus-visible{outline:3px solid #0d8fbc;outline-offset:3px}
.oso-topline{margin-bottom:21px}.oso-brand{display:flex;align-items:center;gap:17px}.oso-logo{width:72px;height:72px;object-fit:contain;border-radius:16px;background:#fff;border:1px solid var(--oso-line);padding:6px;flex:none}.oso-eyebrow{font-size:11px;letter-spacing:1.5px;font-weight:800;color:var(--oso-green);margin:0 0 5px}.oso-brand h2{font-size:clamp(24px,3.6vw,37px);line-height:1.15;letter-spacing:-.7px;margin:0 0 6px!important;font-weight:800;color:var(--oso-ink)}.oso-intro{font-size:14px;color:var(--oso-muted);margin:0}
.oso-map-card,.oso-roof-card{border:1px solid var(--oso-line);border-radius:20px;background:#fff;overflow:hidden;box-shadow:0 9px 34px rgba(17,50,65,.055)}
.oso-search-form{display:flex;align-items:center;gap:10px;padding:15px;background:#fff}.oso-search-group{display:flex;align-items:stretch;flex:1;min-width:0;gap:8px}.oso-address{height:45px;min-width:0;width:100%;border:1px solid #d5e1e5!important;border-radius:10px!important;padding:0 15px!important;font-size:14px!important;background:#fbfdfe!important;color:var(--oso-ink)!important;box-shadow:none!important}.oso-search-button,.oso-locate{border:0!important;border-radius:10px!important;padding:0 18px!important;height:45px;white-space:nowrap;font-size:13px!important;font-weight:750!important;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important}.oso-search-button{background:var(--oso-green)!important;color:white!important}.oso-search-button:hover{background:#0a694f!important}.oso-locate{color:#135d52!important;background:#e9f6f1!important}.oso-locate:hover{background:#d8f0e7!important}
.oso-map{height:clamp(350px,43vw,535px);position:relative;overflow:hidden;touch-action:none;user-select:none;background:#dfe8ec;cursor:grab;isolation:isolate;outline-offset:-4px}.oso-map.is-dragging{cursor:grabbing}.oso-tile-layer{position:absolute;inset:0;overflow:hidden;z-index:0;pointer-events:none}.oso-tile{position:absolute;width:256px;height:256px;object-fit:cover;max-width:none!important;user-select:none;pointer-events:none}.oso-map-vignette{pointer-events:none;position:absolute;inset:0;background:linear-gradient(180deg,rgba(13,48,64,.09),transparent 19%,transparent 78%,rgba(13,48,64,.08));z-index:1}.oso-center-pin{position:absolute;z-index:5;left:50%;top:50%;transform:translate(-50%,-100%);display:flex;flex-direction:column;align-items:center;pointer-events:none;filter:drop-shadow(0 4px 4px rgba(0,0,0,.32))}.oso-pin-head{height:28px;width:28px;border:6px solid var(--oso-green);border-radius:50%;background:#fff}.oso-pin-tip{width:0;height:0;border-left:9px solid transparent;border-right:9px solid transparent;border-top:15px solid var(--oso-green);margin-top:-3px}.oso-cardinal{position:absolute;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:49px;min-height:49px;line-height:1.1;padding:5px 7px;background:rgba(255,255,255,.96);box-shadow:0 3px 13px rgba(9,36,50,.17);border:1px solid #e1e6e8;border-radius:12px;color:#233946;font-size:19px;font-weight:850;pointer-events:none}.oso-cardinal small{font-weight:750;font-size:8px;letter-spacing:1px;margin-top:3px}.oso-cardinal-n{left:50%;top:15px;transform:translateX(-50%);color:var(--oso-north)}.oso-cardinal-s{left:50%;bottom:28px;transform:translateX(-50%);color:var(--oso-green)}.oso-cardinal-e{right:15px;top:50%;transform:translateY(-50%)}.oso-cardinal-w{left:15px;top:50%;transform:translateY(-50%)}.oso-map-controls{position:absolute;right:15px;bottom:29px;z-index:6;display:flex;flex-direction:column;box-shadow:0 3px 12px #14313b30;border-radius:9px;overflow:hidden}.oso-map-controls button{background:#fff!important;border:0!important;border-bottom:1px solid #e5e9eb!important;color:var(--oso-ink)!important;font-size:23px!important;font-weight:650!important;height:38px;width:38px;padding:0!important;line-height:1!important;box-shadow:none!important}.oso-map-controls button:hover{background:#eef6f4!important}.oso-layer-choice{display:flex;position:absolute;left:15px;top:15px;z-index:6;padding:3px;background:#fff;border-radius:10px;box-shadow:0 3px 14px rgba(9,40,52,.18)}.oso-layer-choice button{border:0!important;background:#fff!important;color:#596d7a!important;padding:8px 11px!important;border-radius:8px!important;font-weight:750!important;font-size:11px!important;line-height:1.1!important;box-shadow:none!important}.oso-layer-choice button.is-current{background:var(--oso-green)!important;color:#fff!important}.oso-map-attribution{position:absolute;z-index:4;bottom:0;right:0;font-size:10px;line-height:1.3;background:rgba(255,255,255,.87);padding:2px 5px}.oso-map-attribution a{color:#1b526b!important;text-decoration:underline!important}.oso-map-foot{padding:13px 17px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f8fbfb}.oso-location-label{font-size:10px;letter-spacing:1.5px;font-weight:850;color:#75909b;margin:0 0 4px}.oso-coordinates{font-size:13px;color:var(--oso-ink)}.oso-status{font-size:12px;color:#607783;text-align:right;max-width:55%}
.oso-roof-card{margin-top:20px;padding:24px}.oso-roof-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:11px}.oso-roof-heading h3{margin:0 0 3px!important;font-weight:800;color:var(--oso-ink);font-size:clamp(19px,2.5vw,26px);line-height:1.2}.oso-roof-heading p:last-child{color:var(--oso-muted);font-size:13px;margin:0}.oso-north-sign{border:1px solid #dfe8e9;border-radius:12px;padding:5px 12px;display:flex;align-items:center;gap:7px;font-weight:800;font-size:12px;flex:none}.oso-north-sign span{font-size:25px;line-height:1;color:var(--oso-north)}.oso-roof-wrap{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(235px,.7fr);gap:21px;align-items:stretch;margin-top:13px}.oso-roof-frame{background:radial-gradient(ellipse at center,#fff 0%,#f7fafb 75%);border:1px solid var(--oso-line);border-radius:15px;min-height:340px;position:relative;padding:28px 32px 16px;display:flex;align-items:center;justify-content:center;flex-direction:column}.oso-roof-svg{width:100%;max-height:390px;overflow:visible;display:block}.oso-roof-facet{stroke:#fff;stroke-width:4;stroke-linejoin:round;cursor:pointer;transition:filter .2s,stroke-width .2s}.oso-roof-facet:hover,.oso-roof-facet.is-active{filter:brightness(1.02);stroke:#204851;stroke-width:5}.oso-roof-n{fill:var(--oso-north)}.oso-roof-e{fill:var(--oso-east)}.oso-roof-s{fill:var(--oso-yellow)}.oso-roof-w{fill:var(--oso-west)}.oso-roof-labels{pointer-events:none}.oso-roof-labels text{text-anchor:middle;dominant-baseline:middle;fill:#273d48;font-family:inherit;font-weight:900}.oso-roof-labels .oso-label-title{font-size:17px;letter-spacing:1.3px}.oso-roof-labels .oso-label-percent{font-size:31px}.oso-roof-labels .oso-label-white{fill:#fff}.oso-roof-direction{position:absolute;color:#76929e;font-weight:850;font-size:10px;letter-spacing:2px}.oso-dir-n{top:11px;left:50%;transform:translateX(-50%)}.oso-dir-s{bottom:31px;left:50%;transform:translateX(-50%)}.oso-dir-e{right:4px;top:48%;writing-mode:vertical-rl}.oso-dir-w{left:4px;top:48%;writing-mode:vertical-rl;transform:rotate(180deg)}.oso-roof-tip{font-size:11px;color:#8295a0;margin:0!important;text-align:center}
.oso-facing-panel{border-radius:15px;background:#f5f9fa;border:1px solid var(--oso-line);padding:24px;display:flex;flex-direction:column;justify-content:center}.oso-selected-name{display:flex;align-items:center;gap:9px;margin-top:6px;font-size:20px}.oso-selected-dot{width:13px;height:13px;border-radius:50%;background:var(--oso-yellow);box-shadow:0 0 0 4px #ffde4340}.oso-selected-efficiency{font-size:clamp(53px,7vw,83px);font-weight:900;letter-spacing:-3px;line-height:1.15;margin-top:10px;color:var(--oso-ink);font-variant-numeric:tabular-nums}.oso-selected-efficiency span{font-size:27px;letter-spacing:0;margin-left:3px;color:var(--oso-green)}.oso-eff-label{color:var(--oso-muted);font-size:13px;margin:0 0 15px}.oso-eff-track{height:10px;border-radius:30px;background:#e1e9e9;overflow:hidden}.oso-eff-fill{height:100%;background:var(--oso-yellow);border-radius:30px;transition:width .25s,background .25s}.oso-facing-note{font-size:13px;color:#354d59;margin:14px 0 0}.oso-disclaimer{font-size:11px;color:#7b8e95;line-height:1.65;margin:18px 0 0}.oso-legend{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:17px}.oso-legend-item{border:1px solid var(--oso-line)!important;display:flex;gap:8px;align-items:center;justify-content:center;background:#fff!important;color:#3a515d!important;border-radius:10px!important;padding:12px 9px!important;font-size:13px!important;line-height:1.3!important;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important}.oso-legend-item:hover,.oso-legend-item.is-active{border-color:#8fc8b7!important;background:#f2faf7!important}.oso-legend-item strong{font-variant-numeric:tabular-nums}.oso-swatch{width:13px;height:13px;border-radius:4px;flex:none}.oso-swatch-s{background:var(--oso-yellow)}.oso-swatch-e{background:var(--oso-east)}.oso-swatch-w{background:var(--oso-west)}.oso-swatch-n{background:var(--oso-north)}.oso-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:800px){.oso-roof-wrap{grid-template-columns:1fr}.oso-facing-panel{padding:21px;display:block}.oso-selected-efficiency{font-size:64px}.oso-roof-frame{min-height:270px}.oso-roof-card{padding:18px}.oso-map{height:420px}}
@media(max-width:560px){.oso-tool{margin:12px auto 30px}.oso-brand{gap:11px}.oso-logo{height:55px;width:55px;border-radius:10px;padding:3px}.oso-brand h2{font-size:25px}.oso-eyebrow{font-size:9px;letter-spacing:1px}.oso-intro{font-size:12px}.oso-search-form{flex-wrap:wrap;padding:10px;gap:8px}.oso-search-group{width:100%;flex:auto}.oso-address{height:43px}.oso-search-button{padding:0 12px!important;height:43px;font-size:11px!important}.oso-locate{height:35px;width:100%;font-size:12px!important}.oso-map{height:395px}.oso-map-foot{align-items:flex-start;flex-direction:column;gap:7px;padding:10px 13px}.oso-status{text-align:left;max-width:none}.oso-cardinal{min-width:41px;min-height:41px;font-size:16px}.oso-cardinal small{font-size:7px}.oso-roof-heading{align-items:flex-start}.oso-roof-heading p:last-child{font-size:12px}.oso-north-sign{font-size:10px;padding:4px 7px}.oso-roof-frame{padding:25px 13px 10px;min-height:230px}.oso-roof-svg{min-height:190px}.oso-dir-e{right:1px}.oso-dir-w{left:1px}.oso-legend{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.oso-legend-item{justify-content:flex-start}.oso-roof-labels .oso-label-title{font-size:18px}.oso-roof-labels .oso-label-percent{font-size:32px}}
@media(prefers-reduced-motion:reduce){.oso-tool *{transition:none!important}}

/* Versiunea 1.1: strat satelit permanent și acoperiș mobil peste imagini. */
.oso-house-overlay{position:absolute;z-index:7;width:150px;aspect-ratio:180 / 118;transform:translate(-50%,-50%);cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none;filter:drop-shadow(0 4px 2px #fff) drop-shadow(0 6px 10px rgba(0,0,0,.65));outline-offset:5px}
.oso-house-overlay.is-dragging{cursor:grabbing;filter:drop-shadow(0 5px 3px #fff) drop-shadow(0 8px 14px rgba(0,0,0,.75))}
.oso-house-overlay:focus-visible{outline:3px solid #15debd;outline-offset:4px;border-radius:5px}
.oso-mini-roof{width:100%;height:100%;display:block;overflow:visible;pointer-events:auto}
.oso-mini-facet{stroke:#fff;stroke-width:2.8;stroke-linejoin:round;cursor:inherit}
.oso-mini-n{fill:var(--oso-north)}.oso-mini-e{fill:var(--oso-east)}.oso-mini-s{fill:var(--oso-yellow)}.oso-mini-w{fill:var(--oso-west)}
.oso-mini-labels{pointer-events:none}.oso-mini-labels text{font:900 12px/1 Arial,sans-serif;text-anchor:middle;dominant-baseline:middle;fill:#18313b;paint-order:stroke fill;stroke:rgba(255,255,255,.6);stroke-width:1px}
.oso-mini-labels text:first-child{fill:#fff;stroke:rgba(51,19,19,.35)}
.oso-satellite-label{position:absolute;left:15px;top:15px;z-index:6;display:flex;align-items:center;gap:8px;padding:10px 12px;border-radius:10px;background:rgba(255,255,255,.95);box-shadow:0 3px 14px rgba(9,40,52,.18);font-weight:850;font-size:11px;letter-spacing:.4px;color:#20514b;pointer-events:none}
.oso-satellite-dot{height:8px;width:8px;background:#16a474;border-radius:50%;box-shadow:0 0 0 3px rgba(22,164,116,.13)}
.oso-house-size-control{display:flex;align-items:center;gap:10px;color:#456470;font-size:12px;font-weight:750;white-space:nowrap}
.oso-house-size-control input[type=range]{width:98px;min-width:76px;cursor:pointer;accent-color:var(--oso-green);padding:0!important;margin:0!important}
.oso-map-foot{gap:18px}
.oso-map-foot>.oso-status{flex:1;max-width:43%}
@media(max-width:800px){.oso-map-foot{flex-wrap:wrap}.oso-map-foot>.oso-status{max-width:none;flex:1 1 100%;text-align:left}}
@media(max-width:560px){.oso-map-foot{flex-direction:row;align-items:center;gap:10px}.oso-house-size-control{font-size:11px}.oso-house-size-control input[type=range]{width:86px}.oso-satellite-label{left:10px;top:10px;font-size:10px;padding:9px 10px}.oso-map-foot>.oso-status{flex:1 1 100%}}

/* v1.2 – formular proiectare / poziționare independentă */
.oso-tool [hidden]{display:none!important}
.oso-cta-card{margin-top:20px;border:1px solid #cfe6dc;border-radius:20px;background:linear-gradient(120deg,#f0faf5 0%,#fff 78%);overflow:hidden;box-shadow:0 9px 30px rgba(10,70,53,.055)}
.oso-cta-summary{padding:24px 26px;display:flex;justify-content:space-between;align-items:center;gap:20px}
.oso-cta-summary h3{font-size:clamp(21px,2.7vw,29px);line-height:1.23;margin:0 0 8px!important;color:var(--oso-ink);font-weight:800}
.oso-cta-summary p:last-child{margin:0;max-width:680px;color:#5d7680;font-size:14px}
.oso-cta-toggle,.oso-contact-submit{background:var(--oso-green)!important;border:0!important;border-radius:12px!important;color:#fff!important;padding:15px 22px!important;font-weight:800!important;font-size:14px!important;line-height:1.3!important;text-transform:none!important;letter-spacing:0!important;white-space:nowrap;box-shadow:0 8px 16px rgba(15,128,101,.14)!important}
.oso-cta-toggle span{margin-left:8px;font-size:19px;vertical-align:-1px}
.oso-cta-toggle:hover,.oso-contact-submit:hover{background:#0a664f!important}
.oso-tool button:disabled{opacity:.65;cursor:wait}
.oso-contact-form{padding:0 26px 26px;border-top:1px solid #dceee5;display:grid;gap:18px}
.oso-contact-address-block{margin-top:22px;border:1px solid #d1e9e1;background:#fff;border-radius:12px;padding:14px 16px;display:grid;gap:4px}
.oso-contact-address-label{font-size:10px;font-weight:800;letter-spacing:1.2px;color:#0d8065}
.oso-contact-address{color:#183c45;font-size:14px;font-weight:700;overflow-wrap:anywhere}
.oso-contact-address-block small{font-size:11px;color:#738a93}
.oso-contact-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.oso-contact-fields label{display:grid;gap:7px;color:#314d58;font-size:13px;font-weight:800}
.oso-contact-fields input{width:100%;height:46px;border:1px solid #cfdddf!important;border-radius:10px!important;background:#fff!important;color:#163341!important;padding:0 12px!important;box-shadow:none!important;font-size:14px!important}
.oso-contact-fields input::placeholder{color:#a2b0b5}
.oso-anti-spam{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.oso-contact-action{display:flex;justify-content:space-between;align-items:center;gap:18px}
.oso-contact-action p{margin:0;max-width:660px;font-size:11px;color:#718692;line-height:1.55}
.oso-contact-action a{color:var(--oso-green)!important;text-decoration:underline!important}
.oso-contact-feedback{font-size:13px;font-weight:750}
.oso-contact-feedback:empty{display:none}
.oso-contact-feedback.is-success{color:#107a54}.oso-contact-feedback.is-error{color:#a42828}
@media(max-width:700px){.oso-cta-summary{align-items:flex-start;flex-direction:column;padding:20px}.oso-cta-toggle{width:100%}.oso-contact-form{padding:0 20px 20px}.oso-contact-fields{grid-template-columns:1fr}.oso-contact-action{flex-direction:column;align-items:stretch}.oso-contact-submit{width:100%}}

/* v1.3 – rotire 360° fără a deplasa centrul casei */
.oso-mini-roof{transform-origin:center center;will-change:transform}
.oso-rotate-handle{position:absolute!important;right:-19px;top:-23px;z-index:8;width:35px!important;height:35px!important;padding:0!important;border-radius:50%!important;background:#fff!important;color:#08775c!important;border:2px solid #0a8c6a!important;box-shadow:0 2px 9px #0008!important;cursor:crosshair!important;touch-action:none;display:flex;align-items:center;justify-content:center;font-size:26px!important;font-weight:700!important;line-height:1!important}
.oso-rotate-handle:hover,.oso-rotate-handle:focus-visible{background:#e2fcf2!important;outline:2px solid #0a8c6a;outline-offset:3px}
.oso-roof-controls{display:flex;align-items:center;gap:17px;flex-wrap:wrap}
.oso-rotation-control{display:flex;align-items:center;gap:8px;min-width:250px;color:#456470;font-size:12px;font-weight:750}
.oso-rotation-control label{white-space:nowrap;display:flex;align-items:center;gap:5px;margin:0}
.oso-rotation-value{font-weight:900;color:var(--oso-ink);min-width:36px;text-align:right;font-variant-numeric:tabular-nums}
.oso-rotation-range{width:130px;accent-color:var(--oso-green);cursor:pointer;padding:0!important;margin:0!important;min-width:70px}
.oso-rotation-reset{padding:5px 7px!important;min-width:33px;height:30px!important;background:#fff!important;border:1px solid #b9d2cc!important;border-radius:7px!important;color:var(--oso-ink)!important;font-weight:800!important;font-size:11px!important;line-height:1!important}
.oso-map-foot>.oso-status{max-width:35%}
@media(max-width:1120px){.oso-map-foot{flex-wrap:wrap}.oso-map-foot>.oso-status{flex:1 1 100%;text-align:left;max-width:none}}
@media(max-width:560px){.oso-map-foot{align-items:flex-start}.oso-roof-controls{gap:11px;width:100%}.oso-rotation-control{width:100%;min-width:0;justify-content:space-between}.oso-rotation-range{flex:1;max-width:200px}.oso-house-size-control{width:100%;justify-content:space-between}.oso-house-size-control input[type=range]{width:160px}.oso-rotate-handle{right:-16px;top:-20px;width:32px!important;height:32px!important}}
