/* v1.0.54 Energy/Layout/System Truth Fix */
body .nv-workspace-v0801:has(.buildings-page-v0823){overflow:hidden!important;padding:8px!important;}
body .buildings-page-v0823{height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;display:grid!important;grid-template-rows:minmax(0,1fr) 172px!important;gap:8px!important;}
body .buildings-five-panel-v1054{height:172px!important;min-height:172px!important;max-height:172px!important;overflow:hidden!important;display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;gap:8px!important;padding:10px 12px!important;}
body .buildings-five-head-v1054{display:flex!important;align-items:center!important;justify-content:space-between!important;margin:0!important;min-height:18px!important;}
body .buildings-five-head-v1054 span{letter-spacing:.22em!important;text-transform:uppercase!important;color:#9ddcff!important;font-size:.72rem!important;font-weight:800!important;}
body .buildings-five-head-v1054 small{color:var(--muted)!important;font-size:.72rem!important;}
body .building-strip-controls-v1052,body .building-strip-controls-v1053,body .building-strip-controls-v1054{display:none!important;}
body .building-five-grid-v1054{min-width:0!important;min-height:0!important;height:100%!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-template-rows:1fr!important;gap:10px!important;overflow:hidden!important;scrollbar-width:none!important;}
body .building-five-grid-v1054::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;}
body .building-five-grid-v1054 .building-thumb-card-v0712,body .building-five-grid-v1054 .salvage-select-card-v113{width:100%!important;min-width:0!important;max-width:none!important;height:100%!important;min-height:92px!important;max-height:112px!important;display:grid!important;grid-template-columns:78px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;padding:9px 10px!important;overflow:hidden!important;}
body .building-five-grid-v1054 .building-thumb-card-v0712 img,body .building-five-grid-v1054 .salvage-select-card-v113 img{width:78px!important;height:56px!important;border-radius:12px!important;object-fit:cover!important;}
body .building-five-grid-v1054 .building-thumb-card-v0712 div,body .building-five-grid-v1054 .salvage-select-card-v113 div{min-width:0!important;overflow:hidden!important;}
body .building-five-grid-v1054 .building-thumb-card-v0712 b,body .building-five-grid-v1054 .building-thumb-card-v0712 small,body .building-five-grid-v1054 .building-thumb-card-v0712 em,body .building-five-grid-v1054 .salvage-select-card-v113 b,body .building-five-grid-v1054 .salvage-select-card-v113 small,body .building-five-grid-v1054 .salvage-select-card-v113 em{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
body .buildings-six-panel-v1053,body .building-six-grid-v1053,body .building-card-strip-v1052,body .building-card-grid-v1046,body .building-card-pager-v1046{overflow:hidden!important;scrollbar-width:none!important;}
body .buildings-six-panel-v1053::-webkit-scrollbar,body .building-six-grid-v1053::-webkit-scrollbar,body .building-card-strip-v1052::-webkit-scrollbar,body .building-card-grid-v1046::-webkit-scrollbar,body .building-card-pager-v1046::-webkit-scrollbar{display:none!important;}
body .nv-resource-chip-v0801.pos strong{color:#dcfff1!important;}body .nv-resource-chip-v0801.neg strong{color:#ffd4d4!important;}body .nv-resource-chip-v0801:has(b){min-width:0!important;}
body .system-planet-card-v1054{min-height:236px!important;align-items:center!important;}body .system-planet-card-v1054 .city-site-mini-v0756{display:none!important;}body .system-city-hint-v1054{margin-top:8px!important;color:var(--muted)!important;font-size:.76rem!important;line-height:1.35!important;opacity:.82!important;}body .systems-colony-inline-v1054{border-color:rgba(112,227,255,.16)!important;background:rgba(5,13,28,.64)!important;}body .systems-colony-inline-v1054 .panel-title{align-items:center!important;}
