.smart-tabs{display:flex;border-bottom:1px solid #d6decb;margin-bottom:10px}.smart-tabs button{flex:1;background:none;font-size:10px;padding:9px;color:#7f8a71;border-bottom:2px solid transparent}.smart-tabs button.active{color:#3b5834;border-color:#648552}.smart-devices[hidden],.energy-card[hidden]{display:none}.smart-toggle{font-size:11px;background:#304e3a;color:#fff;border-radius:22px;padding:11px 17px;margin-left:auto;white-space:nowrap}.evidence-badge{margin-left:0}.smart-toggle:not(.active){background:#f6f5ed;color:#4a6145;border:1px solid #d6dccc}header{gap:25px}.project-title{font-size:9px}
#smart-panel{position:absolute;left:28px;top:112px;bottom:156px;width:300px;padding:22px 20px;background:rgba(248,247,238,.95);backdrop-filter:blur(18px);border:1px solid #fff9;border-radius:5px;overflow:auto;scrollbar-width:thin;scrollbar-color:#c7d0bd transparent;box-shadow:0 10px 30px #273a3212}.smart-heading{display:flex;align-items:flex-start;gap:8px;justify-content:space-between}.smart-heading .eyebrow{font-size:8px;letter-spacing:1.4px}.smart-heading h2{font-family:Georgia,SimSun,serif;font-weight:400;font-size:23px;letter-spacing:.5px;margin:11px 0 0;line-height:1.35}.simulation-tag{border:1px solid #cfd8c5;background:#e6ebdc;color:#5d7851;border-radius:4px;padding:4px 6px;font-size:8px;white-space:nowrap;margin-top:3px}.smart-intro{font-size:10px;line-height:1.7;color:#7b8473;margin:12px 0 16px}.smart-presets{display:flex;border:1px solid #d3d9cb;border-radius:4px;padding:3px;margin-bottom:17px;gap:2px}.smart-presets button{flex:1;background:transparent;font-size:10px;color:#718167;padding:8px 2px;border-radius:2px}.smart-presets button.active{background:#3c5941;color:#fff}.smart-locations{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-bottom:17px}.smart-locations button{padding:10px 7px;text-align:left;border:1px solid #dce1d3;border-radius:3px;color:#56674c;background:#eff0e7;font-size:9px}.smart-locations button span{margin-right:4px;color:#86977c}.smart-locations button.selected{background:#d5dfca;border-color:#a5b897}.smart-devices{border-top:1px solid #d9dfd2}.device-control{width:100%;display:flex;align-items:center;gap:8px;text-align:left;padding:11px 0;background:none;border-bottom:1px solid #d9dfd2;color:#43563b}.device-control b{display:block;font-size:11px;font-weight:500;line-height:1.4}.device-control small{display:block;font-size:8px;color:#8a927f;line-height:1.5;margin-top:3px}.device-control em{font-style:normal;font-size:8px;margin-left:auto;white-space:nowrap;color:#91a183}.device-control i{width:25px;height:14px;border-radius:9px;background:#c6ccbc;position:relative;flex:none}.device-control i::after{content:'';position:absolute;width:10px;height:10px;left:2px;top:2px;border-radius:50%;background:#fffef8;transition:.2s}.device-control[aria-pressed=true] i{background:#62805a}.device-control[aria-pressed=true] i::after{left:13px}.device-control:hover{background:#f0f2e7}.energy-card{margin-top:18px;border-radius:5px;background:#e6ecde;padding:13px;color:#375033}.energy-heading{display:flex;align-items:center;gap:7px}.energy-heading b{font-size:11px;font-weight:500}.energy-heading span{font-size:8px;color:#859378;margin-left:auto}.energy-heading button{font-size:9px;color:#6f8461;border:1px solid #9dae90;background:none;border-radius:50%;width:16px;height:16px;padding:0}.power-flow{display:flex;align-items:center;justify-content:space-between;padding:15px 0 16px}.power-flow small{font-size:8px;color:#819273;display:block;margin-bottom:5px}.power-flow strong{font-size:19px;letter-spacing:-.5px;font-weight:400}.power-flow>span{color:#9aaf89;margin:0 12px}.battery-line{display:flex;justify-content:space-between;font-size:9px}.battery-line b{font-weight:500}.battery-meter{height:5px;background:#cbd5bf;border-radius:4px;margin:8px 0}.battery-meter i{display:block;width:72%;height:100%;background:#69865a;border-radius:4px;transition:width .5s}.energy-detail{display:flex;justify-content:space-between;color:#77906b;font-size:8px;margin-bottom:10px}#energy-status{font-size:9px;border-top:1px solid #ccd7c0;padding-top:10px;line-height:1.7}#energy-status.warning{color:#a5693d}#grid-button{font-size:9px;padding:9px;background:#d6e1ca;color:#536f45;width:100%;border-radius:3px;margin-top:10px}#grid-button[aria-pressed=false]{background:#eadbc6;color:#8d6741}.asset-status{display:flex;align-items:center;gap:7px;font-size:8px;color:#8b987e;margin:15px 0 0;line-height:1.5}.asset-status i{width:5px;height:5px;border-radius:50%;background:#8ca471;flex:none}.smart-open #story{display:none}#smart-panel[hidden]{display:none}.walking #smart-panel{display:none}.energy-parameters{display:grid;grid-template-columns:1fr 1fr;gap:14px}.energy-parameters label{font-size:11px;line-height:1.7;color:#697860}.energy-parameters input{width:100%;display:block;margin-top:5px;border:1px solid #cbd5bf;background:#fffef8;border-radius:3px;padding:9px;color:#42573a;font:inherit}#tools{max-height:calc(100vh - 282px);overflow-y:auto;scrollbar-width:thin}
@media(max-width:1000px){#smart-panel{left:20px;top:108px;width:270px;padding:18px 16px}.smart-heading h2{font-size:21px}header{gap:12px}.evidence-badge{font-size:10px}}
#shed-notice{font-size:10px;line-height:1.7;color:#97663b;background:#efe1cf;padding:9px;border-radius:3px;margin-bottom:12px}.device-control.shed i{background:#b58b55}.device-control.shed em{color:#a06b3d}
@media(min-width:651px){#smart-panel{max-height:810px}}
@media(max-width:650px){.smart-open #tools{display:none}}
@media(max-width:650px){#smart-panel{left:12px;top:86px;bottom:156px;width:222px;padding:15px 13px}.smart-heading h2{font-size:19px}.simulation-tag{display:none}.smart-heading .eyebrow{font-size:7px}.smart-locations{gap:5px}.smart-locations button{font-size:8px;padding:9px 4px}.device-control b{font-size:10px}.device-control small{font-size:7px}.device-control em{display:none}.smart-toggle{font-size:9px;padding:9px 10px}.evidence-badge{display:none}#tools{right:12px;width:106px;top:86px;padding:12px 8px;max-height:calc(100vh - 265px)}.smart-intro{font-size:9px}.smart-presets button{font-size:9px}.power-flow strong{font-size:16px}.energy-card{padding:10px}.energy-detail{font-size:7px}}
