/* Match the approved input typography without changing calculation, gauge
   geometry, motion, or the independent PDF layouts. */
body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewBusiness {
  --business-copy:#c6dcd3;
  --business-label:#e0eee8;
}
body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewBusiness .business-heading .eyebrow {
  font-size:18px;
  font-weight:700;
  line-height:1.45;
}
body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewBusiness :is(.business-heading > p,.business-status,.business-kpis small) {
  color:var(--business-copy);
  font-size:16px;
  line-height:1.55;
  overflow-wrap:break-word;
}
body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewBusiness .business-status.is-error {
  color:var(--amber);
}
body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewBusiness .business-year-row {
  align-items:end;
}
body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewBusiness .business-year-row .field label {
  color:var(--business-label);
  font-family:var(--sx-input-face,"Segoe UI","Microsoft YaHei",Arial,sans-serif);
  font-size:18px;
  font-weight:700;
  line-height:1.4;
}
body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewBusiness .business-year-row :is(input,.money-input > span) {
  font-family:var(--sx-input-face,"Segoe UI","Microsoft YaHei",Arial,sans-serif);
  font-size:18px;
  font-weight:700;
  font-variant-numeric:tabular-nums;
  letter-spacing:normal;
}
/* The existing heading and legend used fixed, short text boxes. Let them
   grow for English and larger copy while retaining the same card order. */
body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewBusiness .margin-card-head {
  height:auto !important;
  min-height:54px !important;
  gap:4px !important;
}
body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewBusiness .margin-card-head :is(span,small) {
  display:block;
  width:100%;
  max-width:100%;
  text-align:left;
  white-space:normal;
  overflow-wrap:break-word;
}
body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewBusiness .margin-card-head > span {
  color:var(--business-label);
  font-size:18px;
  font-weight:700;
  line-height:1.4;
}
body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewBusiness .margin-card-head > small {
  color:var(--business-copy);
  font-size:16px;
  line-height:1.45;
}
body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewBusiness :is(.margin-donut,.combined-margin-donut) > div:not(.arc-label) > span {
  color:var(--business-copy);
  width:calc(var(--margin-gauge-size,200px) * .62) !important;
  font-size:16px !important;
  line-height:1.25 !important;
  white-space:normal !important;
  overflow-wrap:normal !important;
}
body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewBusiness .margin-legend {
  height:auto !important;
  min-height:68px !important;
  gap:8px !important;
  padding-top:10px !important;
}
body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewBusiness .margin-legend > span {
  min-height:26px !important;
}
body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewBusiness .margin-legend > span b {
  color:var(--business-copy);
  font-size:16px !important;
  font-weight:500;
  line-height:1.4 !important;
}
body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewBusiness .margin-legend > span strong {
  font-size:calc(var(--margin-legend-font,14px) + 4px) !important;
  line-height:1.25 !important;
}
body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewBusiness :is(.business-kpis article > span,.revenue-bridge-row > div:first-child > span) {
  min-width:0;
  max-width:100%;
  color:var(--business-label);
  font-size:18px;
  font-weight:600;
  line-height:1.45;
  white-space:normal;
  overflow-wrap:break-word;
}
body[data-page="project"] .roi-panel:not(.pdf-snapshot-copy-v2) #roiViewBusiness .revenue-bridge-row > div:first-child > b {
  min-width:0;
  max-width:100%;
  font-size:23px;
  line-height:1.3;
  overflow-wrap:anywhere;
  white-space:normal;
}
