/* V51 keeps the existing green/cyan instrument palette and inherited typeface.
   Every layout override belongs to the live panel; the source graph continues
   to have measurable geometry for the existing PDF capture pipeline. */
.roi-panel:not(.pdf-snapshot-copy-v2) #roiViewResults .roi-charts[data-equipment-categories-v50="true"] {
  position:relative;
  grid-template-columns:minmax(0,1fr);
  align-items:stretch;
  gap:20px;
}
.roi-panel:not(.pdf-snapshot-copy-v2) #roiViewResults .roi-charts[data-equipment-categories-v50="true"] > .roi-chart.energy {
  position:absolute;
  grid-column:1;
  grid-row:1;
  inset:0 0 auto;
  width:100%;
  min-width:0;
  visibility:hidden;
  pointer-events:none;
}
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-categories-v50 {
  display:contents;
  min-width:0;
}
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50 {
  min-width:0;
  align-self:stretch;
  padding:24px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(69,222,210,.035),transparent 42%),repeating-linear-gradient(90deg,transparent 0 54px,rgba(69,222,210,.025) 55px,transparent 56px);
}
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-heading {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:space-between;
  gap:6px 16px;
  margin:0 0 22px;
}
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-name {
  margin:0;
  color:var(--text);
  font-size:21px;
  font-weight:700;
  line-height:1.35;
}
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-count {
  color:var(--muted);
  font-size:16px;
  line-height:1.4;
}
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-body {
  display:grid;
  grid-template-columns:184px minmax(0,1fr);
  align-items:center;
  gap:24px;
}
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-ring {
  position:relative;
  width:184px;
  height:184px;
  border-radius:50%;
  background:rgba(9,23,20,.65);
  box-shadow:0 0 28px rgba(114,237,133,.09);
  animation:equipmentGaugeBreathV51 3.8s ease-in-out infinite;
}
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v51-orbit {
  position:absolute;
  inset:-9px;
  border-radius:50%;
  background:repeating-conic-gradient(from 0deg,rgba(144,255,243,.72) 0 1deg,transparent 1deg 10deg);
  -webkit-mask:radial-gradient(transparent 68%,#000 69% 73%,transparent 74%);
  mask:radial-gradient(transparent 68%,#000 69% 73%,transparent 74%);
  animation:equipmentOrbitV51 18s linear infinite;
  pointer-events:none;
}
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-svg { display:block; width:100%; height:100%; transform:rotate(-90deg); }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-ring-track,
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-ring-value { fill:none; stroke-width:10; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-ring-track { stroke:rgba(126,190,178,.16); }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-ring-value {
  stroke:var(--green);
  stroke-linecap:round;
  filter:drop-shadow(0 0 5px rgba(114,237,133,.42));
  transition:stroke-dasharray 600ms cubic-bezier(.2,.8,.2,1),opacity 180ms ease;
}
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-ring-copy {
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:7px;
  text-align:center;
}
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-percent {
  display:block;
  color:var(--green);
  font-size:40px;
  font-weight:700;
  line-height:1;
  letter-spacing:0;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-rate-label { color:var(--muted); font-size:16px; line-height:1.3; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-ring.is-empty { box-shadow:none; animation:none; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-ring.is-empty .equipment-category-v51-orbit { display:none; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-ring.is-empty .equipment-category-v50-percent { color:var(--muted); }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-metrics { display:grid; min-width:0; gap:20px; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-metric { display:grid; min-width:0; gap:6px; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-label { color:var(--muted); font-size:16px; font-weight:650; line-height:1.35; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-value {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:0 7px;
  min-width:0;
  margin:0;
  color:var(--cyan-2);
  font-size:20px;
  font-weight:700;
  line-height:1.3;
  font-variant-numeric:tabular-nums;
}
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-number { min-width:0; overflow-wrap:anywhere; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-unit { font-size:16px; font-weight:500; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-saving .equipment-category-v50-value { color:var(--green); }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-after .equipment-category-v50-value { color:#a9ccc4; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-track { position:relative; height:11px; overflow:hidden; background:rgba(255,255,255,.06); }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-track::before {
  content:"";
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(105deg,transparent 0 18px,rgba(255,255,255,.06) 19px,transparent 21px);
  animation:equipmentTrackCurrentV51 2.8s linear infinite;
  pointer-events:none;
}
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-fill {
  display:block;
  position:relative;
  width:0;
  height:100%;
  background:linear-gradient(90deg,var(--cyan),var(--cyan-2));
  background-size:180% 100%;
  transition:width 550ms cubic-bezier(.2,.8,.2,1);
  animation:equipmentEnergyCurrentV51 2.2s linear infinite;
}
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-fill::before {
  content:"";
  position:absolute;
  inset:0;
  background:repeating-linear-gradient(105deg,transparent 0 22px,rgba(255,255,255,.22) 23px,transparent 26px);
  animation:equipmentTrackCurrentV51 1.9s linear infinite;
  pointer-events:none;
}
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-fill::after {
  content:"";
  position:absolute;
  inset:0 0 0 auto;
  width:20px;
  background:linear-gradient(90deg,transparent,#e5fff7);
  opacity:.9;
  animation:equipmentEndpointV51 1.75s ease-in-out infinite;
  pointer-events:none;
}
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-fill[data-empty="true"]::before,
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-fill[data-empty="true"]::after { display:none; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-saving .equipment-category-v50-fill { background-image:linear-gradient(90deg,var(--cyan),var(--green)); }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-after .equipment-category-v50-fill { background-image:linear-gradient(90deg,rgba(69,222,210,.24),rgba(122,201,190,.58)); }
.roi-panel:not(.pdf-snapshot-copy-v2) #roiViewResults .roi-charts[data-equipment-categories-v50="true"] > .roi-chart.finance {
  grid-column:auto;
  grid-row:auto;
  align-self:stretch;
  min-width:0;
  min-height:390px;
  height:auto;
}
.roi-panel:not(.pdf-snapshot-copy-v2) #roiViewResults .roi-charts[data-equipment-categories-v50="true"] .roi-finance-bars { width:100%; max-width:640px; min-height:300px !important; margin-inline:auto; align-items:stretch; }
.roi-panel:not(.pdf-snapshot-copy-v2) #roiViewResults .roi-charts[data-equipment-categories-v50="true"] .roi-finance-bar {
  grid-template-rows:220px auto auto !important;
  height:auto !important;
  min-height:300px;
  align-items:end;
}
.roi-panel:not(.pdf-snapshot-copy-v2) #roiViewResults .roi-charts[data-equipment-categories-v50="true"] .roi-finance-value {
  font-size:23px !important;
  line-height:1.3 !important;
  white-space:normal !important;
  overflow:visible !important;
  overflow-wrap:anywhere;
}
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-categories-v50[hidden] { display:none; }

/* V52e keeps two equal mobile columns and three desktop columns. English
   categories share the Chinese horizontal layout with content-sized columns.
   Only live cards change; independent PDF instances keep all six
   original fields, their order and the overall saving-rate value. */
.roi-panel:not(.pdf-snapshot-copy-v2) .emc-dashboard-v2[data-emc-v2-pdf="false"] .emc-v2-parameters,
.roi-panel:not(.pdf-snapshot-copy-v2) .buyout-dashboard[data-buyout-pdf="false"] .buyout-parameters { grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:auto; align-items:stretch; }
.roi-panel:not(.pdf-snapshot-copy-v2) .emc-dashboard-v2[data-emc-v2-pdf="false"] .emc-v2-parameter,
.roi-panel:not(.pdf-snapshot-copy-v2) .buyout-dashboard[data-buyout-pdf="false"] .buyout-parameter { height:auto; align-self:stretch; align-content:start; overflow:visible; }
.roi-panel:not(.pdf-snapshot-copy-v2) .emc-dashboard-v2[data-emc-v2-pdf="false"] .emc-v2-parameter,
.roi-panel:not(.pdf-snapshot-copy-v2) .buyout-dashboard[data-buyout-pdf="false"] .buyout-parameter { grid-column:auto; }
/* The classification detail moves, not the six-card frame. Keep the existing
   value/chart motion while suppressing legacy sequential card/border reveals. */
.roi-panel:not(.pdf-snapshot-copy-v2) .emc-dashboard-v2[data-emc-v2-pdf="false"] .emc-v2-parameter,
.roi-panel:not(.pdf-snapshot-copy-v2) .buyout-dashboard[data-buyout-pdf="false"] .buyout-parameter { animation:none !important; transform:none !important; }
.roi-panel:not(.pdf-snapshot-copy-v2) .emc-dashboard-v2[data-emc-v2-pdf="false"] .emc-v2-parameter::before,
.roi-panel:not(.pdf-snapshot-copy-v2) .emc-dashboard-v2[data-emc-v2-pdf="false"] .emc-v2-parameter::after,
.roi-panel:not(.pdf-snapshot-copy-v2) .buyout-dashboard[data-buyout-pdf="false"] .buyout-parameter::before,
.roi-panel:not(.pdf-snapshot-copy-v2) .buyout-dashboard[data-buyout-pdf="false"] .buyout-parameter::after { animation:none !important; }
.roi-panel:not(.pdf-snapshot-copy-v2) .emc-dashboard-v2[data-emc-v2-pdf="false"] .emc-v2-parameter[data-equipment-saving-v52="true"],
.roi-panel:not(.pdf-snapshot-copy-v2) .buyout-dashboard[data-buyout-pdf="false"] .buyout-parameter[data-equipment-saving-v52="true"] { grid-template-rows:minmax(24px,max-content) auto; min-height:122px; }
.roi-panel:not(.pdf-snapshot-copy-v2) .emc-dashboard-v2[data-emc-v2-pdf="false"] .emc-v2-parameter[data-equipment-saving-v52="true"] > .emc-v2-parameter-field,
.roi-panel:not(.pdf-snapshot-copy-v2) .buyout-dashboard[data-buyout-pdf="false"] .buyout-parameter[data-equipment-saving-v52="true"] > .buyout-parameter-value { display:none !important; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-breakdown-v51 { display:grid; grid-row:2; grid-template-columns:minmax(0,1fr); min-width:0; align-content:start; gap:16px; padding-top:6px; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-breakdown-v51:is([data-category-count="2"],[data-category-count="3"],[data-category-count="4"]) { grid-template-columns:repeat(2,minmax(0,1fr)); }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-breakdown-v51[hidden] { display:none; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-row-v51 { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:minmax(1.35em,auto) auto 4px; min-width:0; align-content:start; align-items:baseline; gap:6px; font-size:16px; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-name-v51 { min-width:0; min-height:1.35em; color:var(--muted); font-size:16px; font-weight:500; line-height:1.35; white-space:normal; overflow-wrap:break-word; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-name-short-v52 { display:none; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-percent-v51 { color:var(--green); font-size:24px; font-weight:700; line-height:1.2; white-space:nowrap; font-variant-numeric:tabular-nums; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-track-v51 { position:relative; grid-column:1 / -1; width:100%; max-width:80px; justify-self:start; height:4px; min-width:0; overflow:hidden; background:rgba(126,190,178,.16); }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-fill-v51 { display:block; position:relative; width:0; height:100%; background:linear-gradient(90deg,var(--cyan),var(--green)); transition:width 550ms cubic-bezier(.2,.8,.2,1); }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-fill-v51::after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,transparent 30%,rgba(236,255,245,.8) 50%,transparent 70%); background-size:200% 100%; animation:equipmentMiniCurrentV51 3.2s linear infinite; pointer-events:none; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-fill-v51[data-empty="true"]::after { display:none; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-empty-v52 { grid-column:1 / -1; margin:0; color:var(--muted); font-size:16px; line-height:1.45; }

.roi-panel:not(.pdf-snapshot-copy-v2) .roi-view.is-replaying .equipment-category-v50-ring-value { animation:equipmentRingDrawV51 620ms cubic-bezier(.2,.8,.2,1) both; }
.roi-panel:not(.pdf-snapshot-copy-v2) .roi-view.is-replaying .equipment-category-v50-fill { transform-origin:left center; animation:equipmentFillReplayV51 680ms cubic-bezier(.2,.8,.2,1) both; }
@keyframes equipmentGaugeBreathV51 { 0%,100% { box-shadow:0 0 28px rgba(114,237,133,.09),inset 0 0 18px rgba(69,222,210,.04); } 50% { box-shadow:0 0 42px rgba(114,237,133,.19),inset 0 0 28px rgba(69,222,210,.07); } }
@keyframes equipmentOrbitV51 { to { transform:rotate(360deg); } }
@keyframes equipmentTrackCurrentV51 { to { background-position:120px 0; } }
@keyframes equipmentEnergyCurrentV51 { to { background-position:180% 0; } }
@keyframes equipmentEndpointV51 { 50% { opacity:.55; filter:brightness(1.45); } }
@keyframes equipmentMiniCurrentV51 { from { background-position:200% 0; } to { background-position:0 0; } }
@keyframes equipmentRingDrawV51 { from { stroke-dasharray:0 100; } }
@keyframes equipmentFillReplayV51 { from { transform:scaleX(0); filter:brightness(1.7); } to { transform:scaleX(1); filter:brightness(1); } }

/* State comes from the existing view/export lifecycle; no CSS animation
   continues offscreen, in a hidden document, or while capture is active. */
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-categories-v50[data-motion-paused="true"] *,
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-categories-v50[data-motion-paused="true"] *::before,
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-categories-v50[data-motion-paused="true"] *::after,
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-breakdown-v51[data-motion-paused="true"] *,
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-breakdown-v51[data-motion-paused="true"] *::before,
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-breakdown-v51[data-motion-paused="true"] *::after { animation-play-state:paused !important; transition:none !important; }

/* Portalled dropdowns retain the established power-menu scroll treatment. */
body[data-page="project"] > .equipment-type-options.equipment-menu-v50,
body[data-page="project"] > .power-options.equipment-menu-v50 {
  box-sizing:border-box;
  max-width:calc(100vw - 16px);
  margin:0;
  overflow-x:hidden;
  overflow-y:auto;
  overscroll-behavior:contain;
  scroll-padding-block:6px;
  scrollbar-width:thin;
  scrollbar-color:rgba(88,232,223,.55) rgba(3,15,13,.75);
}
body[data-page="project"] > .equipment-type-options.equipment-menu-v50 { min-width:172px; max-height:205px; }
body[data-page="project"] > .equipment-menu-v50.is-floating { position:fixed; z-index:10050; }
body[data-page="project"] > .equipment-type-options.equipment-menu-v50 button { min-height:40px; white-space:normal; line-height:1.3; }
body[data-page="project"] > .equipment-menu-v50::-webkit-scrollbar { width:6px; }
body[data-page="project"] > .equipment-menu-v50::-webkit-scrollbar-track { background:rgba(3,15,13,.75); }
body[data-page="project"] > .equipment-menu-v50::-webkit-scrollbar-thumb { background:rgba(88,232,223,.55); border-radius:3px; }
.roi-panel:not(.pdf-snapshot-copy-v2) #roiViewInputs .equipment-row.power-open { min-height:150px; padding-bottom:16px !important; }
.roi-panel:not(.pdf-snapshot-copy-v2) #roiViewInputs .equipment-rows:has(.equipment-row.power-open) { max-height:none; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-power-helper-v50 { display:block; margin:5px 0 0; color:var(--muted); font-size:12px; font-weight:400; line-height:1.45; white-space:normal; overflow-wrap:break-word; }
.roi-panel:not(.pdf-snapshot-copy-v2) .equipment-power-helper-v50[hidden] { display:none !important; }
body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewInputs .power-field:has(> .equipment-power-helper-v50:not([hidden])) { grid-template-rows:44px 48px auto !important; }

@media (min-width:1200px) {
  .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewResults .roi-charts[data-equipment-categories-v50="true"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewResults .roi-charts[data-equipment-categories-v50="true"][data-equipment-category-count="2"] > .roi-chart.finance,
  .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewResults .roi-charts[data-equipment-categories-v50="true"][data-equipment-category-count="4"] > .roi-chart.finance { grid-column:1 / -1; }
  .roi-panel:not(.pdf-snapshot-copy-v2) .emc-dashboard-v2[data-emc-v2-pdf="false"] .emc-v2-parameters,
  .roi-panel:not(.pdf-snapshot-copy-v2) .buyout-dashboard[data-buyout-pdf="false"] .buyout-parameters { grid-template-columns:repeat(12,minmax(0,1fr)); }
  .roi-panel:not(.pdf-snapshot-copy-v2) .emc-dashboard-v2[data-emc-v2-pdf="false"] .emc-v2-parameter:is([data-emc-v2-field="originalAnnualCost"],[data-emc-v2-field="newSystemAnnualCost"],[data-emc-v2-field="annualSaving"]),
  .roi-panel:not(.pdf-snapshot-copy-v2) .buyout-dashboard[data-buyout-pdf="false"] .buyout-parameter:is([data-buyout-field="originalAnnualCost"],[data-buyout-field="newSystemAnnualCost"],[data-buyout-field="annualSaving"]) { grid-column:span 4; }
  .roi-panel:not(.pdf-snapshot-copy-v2) .emc-dashboard-v2[data-emc-v2-pdf="false"] .emc-v2-parameter:is([data-emc-v2-field="totalInvestment"],[data-emc-v2-field="contractYears"]),
  .roi-panel:not(.pdf-snapshot-copy-v2) .buyout-dashboard[data-buyout-pdf="false"] .buyout-parameter:is([data-buyout-field="totalInvestmentBase"],[data-buyout-field="analysisYears"]) { grid-column:span 4; }
  .roi-panel:not(.pdf-snapshot-copy-v2) .emc-dashboard-v2[data-emc-v2-pdf="false"] .emc-v2-parameter[data-emc-v2-field="savingRate"],
  .roi-panel:not(.pdf-snapshot-copy-v2) .buyout-dashboard[data-buyout-pdf="false"] .buyout-parameter[data-buyout-field="savingRate"] { grid-column:span 4; }
  .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-breakdown-v51 { column-gap:10px; }
  .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-breakdown-v51[data-category-count="2"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-breakdown-v51[data-category-count="3"] { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-breakdown-v51[data-category-count="4"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (min-width:1001px) {
  body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewInputs .equipment-row.power-open { padding-bottom:11px !important; }
}
@media (max-width:720px) {
  .roi-panel:not(.pdf-snapshot-copy-v2) .emc-dashboard-v2[data-emc-v2-pdf="false"] .emc-v2-parameters,
  .roi-panel:not(.pdf-snapshot-copy-v2) .buyout-dashboard[data-buyout-pdf="false"] .buyout-parameters { grid-template-columns:repeat(2,minmax(0,1fr)); }
  body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewInputs .equipment-row.power-open { min-height:0; padding-bottom:18px !important; }
  .roi-panel:not(.pdf-snapshot-copy-v2) .emc-dashboard-v2[data-emc-v2-pdf="false"] .emc-v2-parameter[data-equipment-saving-v52="true"],
  .roi-panel:not(.pdf-snapshot-copy-v2) .buyout-dashboard[data-buyout-pdf="false"] .buyout-parameter[data-equipment-saving-v52="true"] { min-height:112px; }
}
/* Keep categories side by side, but let long English names claim their actual
   width instead of giving Air conditioning the same narrow lane as Fan. */
.roi-panel:not(.pdf-snapshot-copy-v2) .emc-dashboard-v2[data-emc-v2-pdf="false"][data-emc-language="en"] .equipment-saving-breakdown-v51,
.roi-panel:not(.pdf-snapshot-copy-v2) .buyout-dashboard[data-buyout-pdf="false"][data-buyout-language="en"] .equipment-saving-breakdown-v51 { column-gap:6px; max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; }
.roi-panel:not(.pdf-snapshot-copy-v2) .emc-dashboard-v2[data-emc-v2-pdf="false"][data-emc-language="en"] .equipment-saving-breakdown-v51:is([data-category-count="2"],[data-category-count="4"]),
.roi-panel:not(.pdf-snapshot-copy-v2) .buyout-dashboard[data-buyout-pdf="false"][data-buyout-language="en"] .equipment-saving-breakdown-v51:is([data-category-count="2"],[data-category-count="4"]) { grid-template-columns:repeat(2,minmax(max-content,1fr)); }
.roi-panel:not(.pdf-snapshot-copy-v2) .emc-dashboard-v2[data-emc-v2-pdf="false"][data-emc-language="en"] .equipment-saving-breakdown-v51[data-category-count="3"],
.roi-panel:not(.pdf-snapshot-copy-v2) .buyout-dashboard[data-buyout-pdf="false"][data-buyout-language="en"] .equipment-saving-breakdown-v51[data-category-count="3"] { grid-template-columns:repeat(3,minmax(max-content,1fr)); }
.roi-panel:not(.pdf-snapshot-copy-v2) .emc-dashboard-v2[data-emc-v2-pdf="false"][data-emc-language="en"] .equipment-saving-name-v51,
.roi-panel:not(.pdf-snapshot-copy-v2) .buyout-dashboard[data-buyout-pdf="false"][data-buyout-language="en"] .equipment-saving-name-v51 { white-space:nowrap; overflow-wrap:normal; }
/* Phone cards stay two across. Short display names allow the usual three
   categories to share one compact row without reducing the financial amounts.
   A rare long fractional rate may scroll inside this card, never over its edge. */
@media (max-width:720px) {
  .roi-panel:not(.pdf-snapshot-copy-v2) .emc-dashboard-v2[data-emc-v2-pdf="false"] .emc-v2-parameter,
  .roi-panel:not(.pdf-snapshot-copy-v2) .buyout-dashboard[data-buyout-pdf="false"] .buyout-parameter { padding-inline:8px; }
  body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-breakdown-v51 { column-gap:3px; row-gap:12px; max-width:100%; overflow-x:auto; overscroll-behavior-x:contain; scrollbar-width:thin; padding-bottom:2px; }
  body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) .emc-dashboard-v2[data-emc-v2-pdf="false"] .equipment-saving-breakdown-v51[data-category-count="3"],
  body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) .buyout-dashboard[data-buyout-pdf="false"] .equipment-saving-breakdown-v51[data-category-count="3"] { grid-template-columns:repeat(3,minmax(max-content,1fr)); column-gap:3px; }
  body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-row-v51 { font-size:13px; gap:5px; }
  body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-name-v51 { font-size:13px; white-space:nowrap; }
  body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-name-full-v52 { display:none; }
  body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-name-short-v52 { display:block; }
  body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-percent-v51 { font-size:18px; }
  body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-track-v51 { max-width:32px; }
}
@media (max-width:600px) {
  .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50 { padding:20px 18px; }
  .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-heading { gap:5px 12px; margin-bottom:18px; }
  .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-body { grid-template-columns:minmax(0,1fr); gap:24px; }
  .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-ring { width:174px; height:174px; justify-self:center; }
  .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-percent { font-size:34px; }
  .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-category-v50-metrics { gap:22px; }
  .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewResults .roi-charts[data-equipment-categories-v50="true"] .roi-finance-value { font-size:20px !important; }
}
@media (prefers-reduced-motion:reduce) {
  .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-categories-v50 *,
  .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-categories-v50 *::before,
  .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-categories-v50 *::after,
  .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-breakdown-v51 *,
  .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-breakdown-v51 *::before,
  .roi-panel:not(.pdf-snapshot-copy-v2) .equipment-saving-breakdown-v51 *::after { animation:none !important; transition:none !important; }
}
.pdf-snapshot-copy-v2 .equipment-categories-v50,
.pdf-snapshot-copy-v2 .equipment-saving-breakdown-v51,
.pdf-snapshot-shell-v2 .equipment-categories-v50,
.pdf-snapshot-shell-v2 .equipment-saving-breakdown-v51 { display:none !important; }
@media print {
  .equipment-categories-v50,
  .equipment-saving-breakdown-v51,
  .equipment-menu-v50 { display:none !important; }
}
