html:has(.emls-body){margin-top:0!important}.emls-body{margin:0;background:#edf2f5;color:#20333c;font:14px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI","Malgun Gothic",sans-serif}.emls-body #wpadminbar{display:none}.emls{max-width:1800px;margin:auto;padding:0 24px 22px}.emls *{box-sizing:border-box}.emls [hidden]{display:none!important}.emls-header{display:flex;gap:24px;align-items:center;padding:24px 0 16px}.emls-header h1{font-size:25px;line-height:1.3;margin:3px 0;font-weight:750}.emls-brand{font-size:10px;letter-spacing:.14em;color:#60787f}.emls a{color:#215e67}.emls-back{font-size:13px;text-decoration:none}.emls-badge{margin-left:auto;border:1px solid #c9b88e;background:#fff8e8;padding:5px 12px;border-radius:30px;font-size:12px}.emls-search{display:flex;align-items:center;gap:12px;background:white;padding:14px 18px;border:1px solid #d8e3e8;border-radius:12px}.emls-search label{white-space:nowrap;font-weight:600}.emls-search input{flex:1;min-width:0}.emls input,.emls select,.emls button{font:inherit;border:1px solid #c5d3db;border-radius:7px;min-height:38px;padding:8px 10px;color:#20333c;background:white;max-width:100%}.emls button{cursor:pointer;font-weight:600;line-height:1.4}.emls button:hover{background:#e9f3f3;border-color:#6e969a}.emls button:disabled{opacity:.5;cursor:wait}.emls button:focus-visible,.emls input:focus-visible,.emls select:focus-visible{outline:3px solid #4cb4ba;outline-offset:2px}.emls-search button,#shadow-apply,#shadow-done{background:#195865;color:white;border-color:#195865}.emls-status{font-size:13px;min-height:22px;margin:10px 2px;color:#576b72}.emls-workspace{display:grid;grid-template-columns:310px minmax(0,1fr);gap:16px;align-items:start}.emls-sidebar{background:white;border:1px solid #d8e3e8;border-radius:12px;padding:18px;max-height:690px;overflow-y:auto}.emls-sidebar section,.emls-sidebar details{border:0;border-bottom:1px solid #e2e9ed;margin:0 0 18px;padding:0 0 18px}.emls-sidebar section:last-child{border:0}.emls-sidebar h2{font-size:14px;margin:0 0 12px}.emls-sidebar label{display:block;font-size:12px;margin:0 0 10px}.emls-sidebar label input,.emls-sidebar label select{display:block;width:100%;margin-top:4px;font-size:13px}.emls-sidebar button{font-size:12px;margin:3px 0}.emls-sidebar summary{font-size:13px;font-weight:650;cursor:pointer;list-style-position:inside;margin-bottom:12px}.emls-pair{display:grid;grid-template-columns:1fr 1fr;gap:10px}.emls-note{font-size:11px;line-height:1.7;color:#64777f;margin:8px 0;overflow-wrap:anywhere}.emls-scene-wrap{min-width:0;background:#f9fbfc;border:1px solid #d8e3e8;border-radius:12px;overflow:hidden}.emls-scene-toolbar{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:12px 16px;border-bottom:1px solid #e1e8ec;background:white}.emls-scene-toolbar>span{font-size:13px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.emls-scene-toolbar>div{display:flex;gap:6px;flex-shrink:0}.emls-scene-toolbar button{font-size:11px;min-height:32px;padding:5px 9px}#shadow-scene{height:530px;position:relative;touch-action:none;overflow:hidden}#shadow-scene canvas{display:block;width:100%;height:100%}.emls-empty{position:absolute;inset:0;display:grid;place-content:center;text-align:center;color:#7c919c;font-size:20px;background:radial-gradient(ellipse at center,#fff,#e4edf2)}.emls-legend{display:flex;gap:15px;flex-wrap:wrap;padding:10px 16px;font-size:11px;border-top:1px solid #dde7eb}.emls-legend span{display:flex;gap:5px;align-items:center}.emls-legend i{width:10px;height:10px;border-radius:2px;background:#aebdca}.emls-legend .target{background:#2e949c}.emls-legend .estimated{background:#d69b55}.emls-legend .blocked{background:#724268}.emls-legend .clear{background:#f3bf39}.emls-canvas-note{margin:0;padding:0 16px 8px;color:#6d8189;font-size:11px}#shadow-map-note{padding:0 16px;margin:0 0 10px}.emls-time{margin-top:16px;background:white;border:1px solid #d8e3e8;border-radius:12px;padding:20px}.emls-time-top{display:flex;gap:18px;align-items:end;flex-wrap:wrap}.emls-time-top label{font-size:12px}.emls-time-top input{display:block;margin-top:5px}.emls-metric{min-width:140px;margin-left:auto}.emls-metric span{display:block;font-size:11px;color:#6a7f87}.emls-metric strong{font-size:23px;line-height:1.4;font-weight:700;color:#235d68}.emls-slider-label{display:block;font-size:12px;margin-top:20px}.emls-slider-label input{display:block;width:100%;padding:0;accent-color:#267783;min-height:30px}.emls-hours{display:flex;justify-content:space-between;font-size:10px;color:#6a7e86}.emls-footer{font-size:11px;color:#778b95;text-align:center;padding-top:18px}#shadow-chart{display:flex;gap:4px;align-items:end;margin-top:15px;overflow-x:auto;padding:5px 0 8px}#shadow-chart button{flex:1;min-width:34px;padding:0 2px;font-size:9px;background:transparent;border:0;height:108px;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:3px}#shadow-chart .bar{width:100%;min-height:2px;background:#724268;border-radius:3px 3px 0 0}#shadow-chart .night{background:#c9d2d9}.emls-draw-actions{display:flex;gap:5px;flex-wrap:wrap}
@media(min-width:1500px){#shadow-scene{height:590px}.emls-sidebar{max-height:750px}}@media(max-width:900px){.emls{padding:0 12px 20px}.emls-workspace{grid-template-columns:250px minmax(0,1fr)}.emls-sidebar{padding:14px}.emls-scene-toolbar{flex-wrap:wrap}.emls-metric{margin-left:0}#shadow-scene{height:490px}.emls-header{gap:14px}.emls-header h1{font-size:21px}}@media(max-width:650px){.emls-header{flex-wrap:wrap;padding:16px 0 12px}.emls-back{width:100%}.emls-brand{font-size:9px}.emls-header h1{font-size:20px}.emls-search{flex-wrap:wrap;padding:12px}.emls-search label{width:100%}.emls-search input{flex-basis:100%}.emls-search button{width:100%}.emls-workspace{display:flex;flex-direction:column}.emls-scene-wrap{order:0;width:100%}.emls-sidebar{order:1;max-height:none;width:100%}#shadow-scene{height:360px}.emls-time{padding:14px}.emls-time-top{gap:12px}.emls-time-top label{flex:1}.emls-time-top input{width:100%}.emls-metric{flex:1;min-width:120px}.emls-metric strong{font-size:20px}.emls-legend{gap:8px}.emls-status{font-size:12px}}

.emls-modules{background:#f5f9fc;padding:12px!important;border:1px solid #d9e5ec!important;border-radius:8px}.emls-module-count{font-weight:700;font-size:14px;color:#185e71}.emls-checks{display:flex;gap:12px;flex-wrap:wrap}.emls-checks label{display:flex;align-items:center;gap:5px}.emls-checks input{width:16px!important;min-height:16px;margin:0!important}.emls-module-actions{display:flex;gap:6px;flex-wrap:wrap}#shadow-module-review,#shadow-module-return{width:100%;background:#195865;color:#fff;border-color:#195865}#shadow-module-exclude{background:#a5412c;color:#fff;border-color:#a5412c}.emls-legend .module{background:#2267b5}.emls-legend .candidate{background:#d95637}.emls-sidebar{max-height:850px}@media(max-width:650px){.emls-sidebar{max-height:none}}

.emls-module-angles{border-bottom:1px solid #d1e0e8;margin:12px 0;padding-bottom:12px}.emls-module-angles #shadow-module-apply{width:100%;color:#195865;border-color:#65929b}.emls-module-angles .emls-note{margin:5px 0 8px}

/* The core workflow stays visible; optional modelling controls share one drawer. */
.emls-workspace{grid-template-columns:340px minmax(0,1fr)}
.emls-sidebar{max-height:850px;padding:18px}.emls-sidebar h2{display:flex;align-items:center;gap:8px;font-size:15px}.emls-sidebar h2 b{display:inline-grid;place-items:center;min-width:26px;height:26px;border-radius:50%;background:#195865;color:#fff;font-size:13px}.emls-sidebar h3{font-size:13px;margin:0 0 12px}.emls-sidebar label{font-size:13px}.emls-sidebar button{font-size:12px;min-height:38px}.emls button:disabled{opacity:1;background:#e7edf1!important;color:#60747f!important;border-color:#ced9df!important;cursor:not-allowed}.emls-help{padding:10px 12px;background:#eaf4f5;border-left:3px solid #287c86;border-radius:5px;font-size:12px;line-height:1.7;color:#244e57;margin:8px 0 12px}.emls-note{font-size:12px;color:#526b77}.emls-quickstart{font-size:13px;color:#47606d;margin:12px 0 5px}.emls-quickstart strong{font-weight:600;color:#195865}.emls-status{color:#344f5b;padding:6px 0}.emls-scene-help{background:#e4f1f1;color:#174f59;border-bottom:1px solid #c4dada;padding:10px 16px;margin:0;font-size:13px;min-height:42px}.emls-inline{display:flex;gap:6px;flex-wrap:wrap}.emls-selection-count{font-weight:700;color:#195865;font-size:13px;margin:12px 0 6px}.emls-selected-list{max-height:130px;overflow-y:auto}.emls-selected-list>div{display:flex;align-items:center;gap:8px;padding:4px 8px;border:1px solid #d6e5e6;border-radius:6px;background:#f2f8f8;margin:4px 0}.emls-selected-list span{flex:1;overflow-wrap:anywhere;font-size:12px}.emls-selected-list button{padding:3px 7px;min-height:28px;font-size:11px}.emls-draw-actions{display:block;padding:10px;border:2px solid #23818d;border-radius:8px;margin:8px 0}.emls-draw-actions .emls-help{padding:0;border:0;background:none;margin:0 0 8px}.emls-module-angles{background:#fff;border:1px solid #d9e5ec!important;border-radius:8px;padding:10px!important}.emls-module-angles summary{margin-bottom:0}.emls-module-angles[open] summary{margin-bottom:12px}.emls-checks{gap:8px}.emls-checks label{padding:7px 8px;border-radius:6px;border:1px solid #cbdbe5;background:#fff;margin:0 0 6px;font-weight:600}.emls-checks .emls-excluded-toggle{border-color:#b7a0e6;background:#f0e9ff;color:#5425a0}.emls-checks input{accent-color:#195865}.emls-excluded-toggle input{accent-color:#6d28d9}.emls-legend .excluded{background:#7c3aed}.emls-review #shadow-module-review,.emls-review #shadow-module-exclude,.emls-review #shadow-module-return{width:100%;padding:10px 8px}.emls-module-actions{margin-top:6px}.emls-module-actions #shadow-module-restore{width:100%}.emls-advanced{padding:10px 0!important}.emls-advanced>summary{font-size:13px;color:#486472}.emls-advanced section{padding-top:14px}.emls-advanced section:last-child{border:0;margin-bottom:0}.emls-advanced .emls-pair{gap:8px}.emls-scene-wrap{position:sticky;top:12px}.emls-module-count{font-size:15px}.emls-module-actions button[disabled]{color:#5b6e79!important}.emls-pair input{min-width:0;width:100%}
@media(max-width:1100px){.emls-workspace{grid-template-columns:300px minmax(0,1fr)}}
@media(max-width:760px){.emls-workspace{display:flex;flex-direction:column}.emls-scene-wrap{position:static;order:0;width:100%}.emls-sidebar{order:1;width:100%;max-height:none}.emls-quickstart{line-height:1.9}.emls-scene-toolbar{flex-wrap:wrap}#shadow-scene{height:380px}.emls-scene-help{font-size:12px}.emls-pair input{font-size:12px}}

.emls-job{display:flex;align-items:center;gap:12px;flex-wrap:wrap;background:#fff;border:1px solid #bed6dd;border-radius:9px;padding:10px 14px;margin:8px 0 16px}.emls-job p{flex:1 1 320px;margin:0;color:#195865;font-size:13px}.emls-job progress{accent-color:#195865;max-width:100%;width:180px}.emls-job button{font-size:12px;min-height:40px}@media(max-width:760px){.emls-job{gap:8px}.emls-job p{flex-basis:100%}.emls-job progress{flex:1}.emls-job button{min-height:44px}}
.emls-job{min-height:112px}@media(max-width:760px){.emls-job{min-height:154px}}

.emls-body [hidden]{display:none!important}#shadow-module-array{margin:12px 0;padding:12px;border:1px solid #bfd1dc;border-radius:8px}#shadow-module-array legend{font-weight:700}

.emls-zone-editor{margin:20px 0;padding:12px;border:2px solid #228594;border-radius:8px;background:#f1faf9}.emls-zone-editor summary{font-weight:700;color:#165865;cursor:pointer}.emls-zone-editor button{margin-top:8px}.emls-zone-editor #zone-apply,.emls-zone-editor #zone-split{background:#1d6371;color:white}.emls-zone-editor fieldset{margin:14px 0;padding:10px;border:1px solid #b8ced5}.emls-zone-editor [hidden]{display:none!important}

.emls-roof-editor{padding:12px!important;background:#fff;border:1px solid #94bec5!important;border-radius:8px;margin:14px 0!important}.emls-roof-editor summary{color:#195865;font-weight:700}.emls-roof-editor #shadow-apply{width:100%}.emls [aria-pressed="true"]#shadow-roof-pick,.emls [aria-pressed="true"]#shadow-roof-tool{background:#fff2c2;border-color:#b68a18;color:#654c10}.emls-scene-toolbar>div{flex-wrap:wrap}

.emls-ground-tools{margin:14px 0;padding:12px;border:1px solid #b8d4ca;border-radius:8px;background:#f2f8f5}.emls-ground-tools h3{color:#245f51}.emls-ground-tools button{width:100%;margin:0 0 6px}.emls-ground-tools [aria-pressed="true"]{background:#fff3ce;border-color:#c89727;color:#654c10}#shadow-ground-angles{margin:12px 0;padding:10px;border:1px solid #b8d4ca;border-radius:7px}#shadow-ground-angles legend{font-weight:700;color:#245f51}
