/* Portfolio holdings only; existing global and homepage styles are unchanged. */
#holdings .holdings-table .holding-profit { color:#277c69; }
#holdings .holdings-table .holding-loss { color:var(--negative); }

/* Business summaries sit below the existing company links. */
#holdings .holdings-with-gain th:first-child { width:27%; }
#holdings .holdings-with-gain .holding-description {
  display:block;
  max-width:29em;
  margin-top:6px;
  font:400 11px/1.6 var(--sans);
  color:var(--muted);
  white-space:normal;
}

/* Keep the two return figures together on narrow screens. */
@media (max-width:560px) {
  #holdings .holdings-with-gain tr { grid-template-columns:repeat(2,minmax(0,1fr)); }
  #holdings .holdings-with-gain th:first-child { width:auto; }
  #holdings .holdings-with-gain .holding-description { max-width:none; }
  #holdings .holdings-with-gain td[data-label="Value"] { grid-column:1; grid-row:2; }
  #holdings .holdings-with-gain td[data-label="Weight"] { grid-column:2; grid-row:2; }
  #holdings .holdings-with-gain td[data-label="Gain / loss"] { grid-column:1; grid-row:3; }
  #holdings .holdings-with-gain td[data-label="Return"] { grid-column:2; grid-row:3; }
}
