.energy-layout{
 display:grid;
 grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 gap:28px;
 align-items:start;
 margin-top:30px;
}
.energy-panel{
 background:#fff;
 border:1px solid #dce1e3;
 padding:28px;
 min-width:0;
}
.energy-panel h2{
 font-size:25px;
 margin-bottom:22px;
}
.energy-field{
 margin-bottom:22px;
}
.energy-field label{
 display:block;
 font-weight:650;
 margin-bottom:8px;
}
.energy-field input{
 width:100%;
 border:1px solid #bccbd1;
 padding:12px;
 font:inherit;
 color:#11191f;
 background:#f8fafb;
 border-radius:4px;
}
.energy-field small{
 display:block;
 color:#53636e;
 margin-top:6px;
 font-size:12px;
}
.energy-results{
 display:grid;
 grid-template-columns:1fr 1fr;
 gap:16px;
}
.energy-result{
 background:#edf3f4;
 border-left:3px solid #08778a;
 padding:18px;
}
.energy-result span{
 display:block;
 color:#53636e;
 font-size:13px;
}
.energy-result strong{
 display:block;
 font-size:clamp(20px,2.3vw,29px);
 margin-top:7px;
 overflow-wrap:anywhere;
}
.energy-chart{
 margin-top:26px;
}
.energy-track{
 height:16px;
 background:#e4ebee;
 border-radius:4px;
 overflow:hidden;
 margin:8px 0 18px;
}
.energy-bar{
 height:100%;
 width:0;
 background:#08778a;
 transition:width .2s;
}
.energy-bar.demand{
 background:#53636e;
}
.energy-message{
 margin-top:20px;
 padding:16px;
 background:#edf3f4;
 border-left:3px solid #08778a;
}
.energy-message.warning{
 background:#fff3dd;
 border-color:#bc891d;
}
.energy-note{
 margin-top:22px;
 font-size:13px;
 line-height:1.65;
}
.energy-actions{
 display:flex;
 flex-wrap:wrap;
 gap:12px;
 margin-top:25px;
}
.energy-actions button{
 cursor:pointer;
 font-family:inherit;
}
.energy-invalid{
 color:#a32431;
 font-weight:650;
 padding:15px 0;
}
@media(max-width:850px){
 .energy-layout{
  grid-template-columns:1fr;
 }
}
@media(max-width:480px){
 .energy-panel{
  padding:18px;
 }
 .energy-results{
  grid-template-columns:1fr;
 }
}
@media(prefers-reduced-motion:reduce){
 .energy-bar{transition:none}
}
