/* Energy workspace V78. All rules scoped to the energy module and home summary. */
#energyModule,.en-home{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-variant-numeric:tabular-nums;-webkit-font-smoothing:antialiased}
#energyModule{--em-blue:#2866e8;--em-ink:#20324b;--em-muted:#8996a8;--em-line:#e9edf4;background:transparent;border:0;padding:0}
.em77{border:1px solid #e6ebf2;border-radius:20px;padding:0;background:#fff;box-shadow:0 6px 24px #24447404;overflow:hidden;color:var(--em-ink)}
.em77 svg,.en-home svg{width:18px;height:18px;flex-shrink:0;vertical-align:middle}
.em77 .em-head{padding:28px 30px 22px;align-items:center;position:relative;background:linear-gradient(110deg,#fcfdff,#fff 70%)}
.em-title{display:flex;align-items:center;gap:15px}.em-logo{display:grid;place-items:center;width:48px;height:48px;border-radius:15px;color:#fff;background:linear-gradient(140deg,#3983ff,#275ed9);box-shadow:0 6px 14px #3377ee20}.em-logo svg{width:27px;height:27px}.em77 .em-eyebrow,.em-section-label{display:block;letter-spacing:1.8px;color:#93a0b2;font-size:9px;line-height:1.5;font-weight:600}.em77 .em-head h3{font-size:21px;font-weight:650;letter-spacing:.3px;line-height:1.5;margin:2px 0}.em77 .em-head p{font-size:12px;margin:3px 0 0;color:#97a2b3}
.em77 button{font-family:inherit;font-size:13px;line-height:20px;transition:background .18s,border-color .18s,box-shadow .18s,transform .18s;display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:500;white-space:nowrap;border-color:#e2e8f0;color:#59708f;background:#fff;padding:10px 15px;border-radius:9px}
.em77 button:hover:not(:disabled){background:#f5f8ff;border-color:#bed1f7}.em77 button:focus-visible,.en-home button:focus-visible{outline:3px solid #a5c6ff;outline-offset:3px}.em77 button:disabled{opacity:.6}.em77 .em-export{border-color:#dfe7f4;font-size:12px;box-shadow:0 2px 4px #20324b03}
.em77 .em-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin:0;padding:0 30px 24px}.em77 .em-tabs button{justify-content:flex-start;text-align:left;padding:18px 20px;min-width:0;gap:13px;position:relative;border:1px solid #e7ebf2;background:#fff;border-radius:13px;color:#34465e}.em-tabs b{display:block;font-size:15px;font-weight:600;margin-bottom:3px}.em-tabs small{font-size:11px;color:#97a4b5;display:block;line-height:1.5}.em-type-icon,.en-symbol,.em-row-icon{display:grid;place-items:center;flex-shrink:0;background:var(--tint,#ecf5ff);color:var(--tone,#3686df);border-radius:12px}.tone-water{--tone:#3686df;--tint:#ecf5ff}.tone-gas{--tone:#d88b43;--tint:#fff4e7}.tone-electric{--tone:#8a72d9;--tint:#f1edfc}.tone-solar{--tone:#2caa8a;--tint:#eaf8f3}.em-type-icon{width:42px;height:42px}.em-type-icon svg{width:23px;height:23px}.em77 .em-tabs button.active{background:#f6f9ff;border:1.5px solid #7fa9f4;padding:17.5px 19.5px;box-shadow:0 4px 12px #3277ed08;color:#234d8e}.em-tabs button.active small{color:#7694bd}.em-type-dot{width:6px;height:6px;margin-left:auto;border-radius:50%;background:#d6e0ed}.em-tabs .active .em-type-dot{background:#3378ee;box-shadow:0 0 0 4px #e7effe}
.em77 .em-modes{padding:0 30px;gap:32px;margin:0;border-top:1px solid #f0f3f7;border-bottom:1px solid var(--em-line);height:60px;align-items:stretch;flex-wrap:nowrap}.em77 .em-modes button,.em77 .em-modes button.active{border:0;background:transparent;color:#8c99ac;position:relative;padding:0 1px;border-radius:0;box-shadow:none;font-size:14px}.em77 .em-modes button.active{color:#2866e8;font-weight:600}.em77 .em-modes button.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:#3279ee;border-radius:3px 3px 0 0}.em77 .em-modes button:hover{color:#2866e8;background:transparent}
.em77 .em-filters{margin:24px 30px 0;padding:14px 16px;background:#f7f9fc;border:1px solid #edf1f6;border-radius:12px;gap:10px;align-items:center}.em77 input,.em77 select{height:40px;line-height:20px;padding:9px 12px;border:1px solid #e1e7f0;border-radius:8px;background:#fff;outline:none;color:#415775;font-size:13px;transition:border-color .16s,box-shadow .16s}.em77 input::placeholder{color:#adb8c7;font-size:12px}.em77 input:focus,.em77 select:focus{border-color:#8cb2f7;box-shadow:0 0 0 3px #eaf1ff}.em77 select{min-width:112px}.em77 input[type=date],.em77 input[type=month]{width:150px}.em77 .em-query{height:40px;background:#fff;border-color:#dbe4f3;color:#4773b0}.em77 .em-add{margin-left:auto;background:#2e70ec;border-color:#2e70ec;color:#fff;height:40px;box-shadow:0 4px 9px #3379ee14}.em77 .em-add:hover:not(:disabled){background:#2364d9;color:#fff}.em-search{display:flex;align-items:center;position:relative;flex:0 1 250px;min-width:150px}.em-search svg{position:absolute;left:11px;color:#a5b1c1;width:16px;height:16px}.em77 .em-search input{padding-left:35px;width:100%;background:white}
.em77 [data-message]{margin:0 30px;color:#c56551;font-size:12px}.em77 [data-message]:not(:empty){padding-top:15px}.em77 [data-body]{padding:0 30px 24px}.em-entry-head{display:flex;align-items:center;justify-content:space-between;margin:28px 0 14px;gap:24px}.em-entry-head h4{font-size:16px;letter-spacing:.2px;margin:5px 0 0;font-weight:600}.em-entry-head h4>span{font-size:11px;font-weight:400;letter-spacing:0;color:#99a6b8;margin-left:10px}.em-progress{min-width:150px;text-align:right;font-size:11px;color:#91a0b4}.em-progress b{color:#3972cb;font-size:17px;font-weight:600}.em-progress>div{height:4px;display:block;background:#edf1f7;border-radius:5px;margin-top:9px;overflow:hidden}.em-progress i{display:block;height:100%;background:#4a8af6;border-radius:5px;transition:width .25s}.em-help{font-size:11px;display:flex;align-items:center;gap:6px;color:#a0adbe;margin:0 0 18px;line-height:1.8}.em-help svg{width:13px;height:13px;color:#9cabc0}
.em77 .em-scroll{border:1px solid #e9eef5;border-radius:12px;overflow:auto}.em77 .em-table{table-layout:fixed;margin:0;width:100%}.em77 .em-table th{background:#f8faff;padding:15px 18px;font-size:11px;color:#91a0b5;font-weight:500;line-height:20px;border-bottom:1px solid #e9eef6}.em77 .em-table td{padding:22px 18px;height:98px;font-size:13px;border-bottom:1px solid #edf1f6;line-height:1.6;overflow-wrap:anywhere}.em77 .em-table tr:last-child td{border-bottom:0}.em77 .em-table tbody tr:hover{background:#fcfdff}.em77 td.em-meter-title{display:table-cell}.em-meter-title>.em-row-icon{display:inline-grid;vertical-align:middle;width:31px;height:35px;border-radius:9px;margin-right:10px}.em-row-icon svg{width:16px;height:16px}.em-meter-title>div{display:inline-block;vertical-align:middle;max-width:calc(100% - 45px)}.em77 .em-table .em-meter-title b{font-size:13px;font-weight:600;color:#344c6c}.em77 .em-table small{font-size:10px;color:#a2aec0;line-height:1.7;margin-top:3px}.em-meter-title small i{display:inline-block;width:3px;height:3px;border-radius:50%;background:#c2ccda;margin:0 5px 2px}.em-prior strong{font-size:16px;letter-spacing:.2px;font-weight:500;color:#536783}.em77 .em-table input{width:100%;max-width:180px;height:42px;background:#fbfcff;border-color:#dce5f3;font-size:16px;letter-spacing:.2px;padding:9px 12px;color:#2b5f9f}.em77 .em-table td:nth-child(4) input{width:100%;max-width:100px;font-size:13px;background:#fff;color:#7f91a9}.em77 .em-table [data-field=note]{font-size:12px;letter-spacing:0;background:#fff;border-color:#edf1f6}.em77 .em-table [data-save]{background:#eef4ff;color:#3474d6;border-color:#d9e6fc;font-size:12px;padding:9px 13px;min-width:84px}.em77 .em-table [data-save]:hover{background:#3477eb;color:#fff;border-color:#3477eb;box-shadow:0 4px 10px #3377ee1a}.em-estimate{font-size:12px!important;color:#7491b6;font-weight:500}.em-saved{display:inline-flex;align-items:center;gap:5px;font-size:11px;color:#31a58a;background:#eef9f5;border-radius:7px;padding:7px 10px}.em-saved svg{width:13px;height:13px}.em77 [data-error]{color:#c45d5d!important;font-size:11px!important}.em77 .em-empty{padding:55px 20px;font-size:13px;color:#a1aec0}
.em77 .em-analysis{margin:24px 0 0;padding:24px;border:1px solid #e6edf6;border-radius:14px;box-shadow:0 4px 18px #24447403}.em77 .em-analysis h3{font-size:16px;font-weight:600}.em77 .em-analysis h3 small{margin-left:6px;font-size:11px;color:#9aa8bb}.em77 .em-stats{gap:16px;margin-top:24px}.em77 .em-stats>div{border:1px solid #edf1f7;background:linear-gradient(140deg,#f9fbff,#fff);border-radius:12px;padding:20px}.em77 .em-stats span{font-size:11px}.em77 .em-stats strong{font-size:29px;font-weight:500;color:#34547d;letter-spacing:-.6px}.em77 .em-caption{font-size:11px;line-height:1.9;color:#97a5b9;margin-top:20px}.em77 .em-chart{height:230px;gap:28px;margin:32px 0 45px}.em77 .em-bar{border-radius:6px 6px 0 0;box-shadow:inset 0 1px 0 #ffffff50;max-width:34px}.em77 .em-legend{font-size:12px;justify-content:flex-end;color:#7e90a8}.em77 .em-record{border:1px solid #e8edf5;padding:20px 22px;border-radius:12px;margin-top:16px}.em77 .em-record>b{font-size:13px}.em77 .em-record>span{font-size:11px}.em77 .em-record p{font-size:12px}.em77 .em-new{margin:24px 30px;padding:22px;background:#fcfdff}.em77 .em-new .em-filters{margin:18px 0;padding:0;border:0;background:transparent}.em77 .em-new button[type=submit]{background:#3279ee;color:#fff}.em77 [data-archives]{padding:0 30px 25px;display:flex;gap:10px}
/* Home overview: show each actual meter without mixing reading totals or units. */
.en-home{border:1px solid #e6edf5;border-radius:18px;background:#fff;margin:20px 0;padding:26px 28px;color:#2a405e;box-shadow:0 5px 20px #24447403}.en-home *{box-sizing:border-box}.en-home .en-head{gap:16px;margin-bottom:22px}.en-eyebrow{font-size:9px;color:#a4b0c1;letter-spacing:1.7px}.en-home h3{margin:5px 0 6px;font-size:18px;font-weight:600;letter-spacing:.2px}.en-home .en-head p{font-size:11px;color:#98a6b9;margin:0}.en-home button{font-family:inherit;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff;border:1px solid #e1e9f5;border-radius:8px;padding:9px 12px;color:#5377a6;cursor:pointer;font-size:12px;transition:background .18s}.en-home button:hover{background:#f5f9ff}.en-home .en-open svg{width:13px;height:13px}.en-home .en-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;align-items:stretch;margin:0}.en-home .en-stat{padding:0;overflow:hidden;display:flex;flex-direction:column;border:1px solid #e7edf5;border-radius:13px;background:#fff}.en-card-head{display:flex;align-items:center;gap:10px;padding:18px 18px 15px;background:linear-gradient(130deg,var(--tint),#fff 95%);border-bottom:1px solid #f0f3f8}.en-symbol{width:35px;height:35px;border:1px solid #ffffffbd;border-radius:10px;background:#ffffffa8}.en-symbol svg{width:20px;height:20px}.en-card-head b{font-size:13px;font-weight:600;color:#3b516d}.en-card-head p{font-size:10px!important;margin:3px 0 0!important;color:#98a6b7!important}.en-count{font-size:9px;color:#a1afc1;margin-left:auto;white-space:nowrap}.en-meters{flex:1;padding:0 18px}.en-home .en-meter{display:flex;justify-content:space-between;gap:10px;margin:0;padding:15px 0;border-bottom:1px solid #f0f3f8;align-items:center}.en-home .en-meter:last-child{border-bottom:0}.en-meter-name{font-size:11px;color:#5c708b;display:block;overflow-wrap:anywhere}.en-home .en-meter small{display:block;font-size:9px;color:#a6b1c0;line-height:1.6;margin-top:3px}.en-home .en-meter-value{text-align:right;flex-shrink:0}.en-home .en-meter-value strong{font-size:20px;letter-spacing:-.4px;font-weight:500;color:#344f73;line-height:1.3}.en-home .en-card-link{border:0;border-top:1px solid #eef2f7;border-radius:0;justify-content:space-between;margin:0;padding:12px 18px;color:#91a3bb;background:#fcfdff;font-size:10px;width:100%}.en-card-link svg{width:12px;height:12px}.en-zero{padding:28px 0;text-align:center;font-size:12px;color:#99a8bd}.en-zero small{display:block;font-size:10px;color:#bdc6d2;margin-top:8px}
@media(min-width:1600px){.em77 .em-table td{padding-top:27px;padding-bottom:27px}.em77 .em-table [data-field=current_value]{max-width:220px}.em77 .em-table [data-field=note]{max-width:none}.em77 .em-head{padding-top:30px;padding-bottom:26px}}
@media(max-width:1150px){.em77 .em-tabs{gap:10px}.em77 .em-tabs button{padding:16px 14px;gap:9px}.em77 .em-tabs button.active{padding:15.5px 13.5px}.em-type-icon{width:35px;height:35px}.em77 .em-tabs small{font-size:10px}.em77 .em-table{min-width:900px}.en-home .en-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.em77 .em-head{padding:20px 18px}.em-logo{width:40px;height:40px}.em77 .em-head h3{font-size:18px}.em77 .em-head p{font-size:10px}.em77 .em-eyebrow{font-size:8px}.em77 .em-tabs{padding:0 18px 18px;grid-template-columns:repeat(2,minmax(0,1fr))}.em77 .em-modes{padding:0 18px;gap:26px;height:54px}.em77 .em-modes button{font-size:12px}.em77 .em-filters{margin:18px 18px 0;padding:12px;gap:8px}.em77 .em-filters>*{flex:1 1 130px}.em77 .em-filters button{flex:1 1 80px}.em77 .em-add{margin-left:0}.em77 [data-body]{padding:0 18px 18px}.em-entry-head{margin-top:23px}.em-entry-head h4{font-size:14px}.em-entry-head h4>span{display:block;font-size:10px;margin:4px 0}.em-progress{min-width:120px}.em-help{font-size:10px;align-items:flex-start}.em-help svg{margin-top:3px}.em77 .em-analysis{padding:16px}.em77 .em-stats{gap:10px}.em77 .em-stats>div{padding:14px}.em77 .em-stats strong{font-size:22px}.em77 .em-new{margin:18px}.en-home{padding:20px 16px}.en-home .en-head{align-items:flex-start}.en-home h3{font-size:16px}.en-home .en-open{font-size:10px;padding:7px 9px}.en-home .en-grid{gap:12px}.en-card-head{padding:13px 12px;gap:8px}.en-count{display:none}.en-meters{padding:0 12px}.en-home .en-meter{flex-direction:column;align-items:flex-start;padding:12px 0;gap:8px}.en-home .en-meter-value{text-align:left}.en-home .en-meter-value strong{font-size:19px}.en-home .en-card-link{padding:11px 12px}.en-card-head b{font-size:12px}.en-card-head p{font-size:9px!important}}
@media(prefers-reduced-motion:reduce){.em77 button,.em77 input,.em77 .em-progress i,.en-home button{transition:none}}
.em77 .em-analysis .em-table td{height:auto;padding:15px 18px;font-size:12px}.em77 .em-analysis .em-table th{padding:13px 18px}.em77 .em-record small{font-size:11px}.em77 .em-type-icon svg,.en-home .en-symbol svg{color:var(--tone,#3686df)}
.em77 .em-analysis .em-table{min-width:0}
@media(max-width:760px){.em77 .em-analysis .em-table th,.em77 .em-analysis .em-table td{padding:12px 6px;font-size:10px}.em77 .em-analysis .em-chart{gap:8px}.em77 .em-analysis .em-bar span{font-size:8px}}
