/* Advisory, partner compensation and credit. One data colour; a loss of credit is hatched, never a second colour. */
.cr-rule { margin-top: 8px; }
.cr-rule button { min-height: 44px; font-size: 14px; }
.cr-matter { margin-top: 24px; }
.cr-cap { max-width: none; display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.cr-cap span:last-child { font: 500 14px var(--mono); color: var(--ink); }
.cr-bar { display: flex; gap: 2px; height: 28px; }
.cr-bar i { display: block; height: 100%; background: var(--accent); transition: width var(--dur, 300ms) var(--q4); }
.cr-bar i:nth-child(2) { background: rgba(110,158,242,.62); }
.cr-bar i:nth-child(3) { background: var(--loss); }
.cr-key { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ink-2); }
.cr-key i { display: inline-block; width: 18px; height: 12px; margin-right: 8px; vertical-align: -1px; background: var(--accent); }
.cr-key li:nth-child(2) i { background: rgba(110,158,242,.62); } .cr-key li:nth-child(3) i { background: var(--loss); }
.cr-key b { font: 500 14px var(--mono); color: var(--ink); margin-left: 6px; font-variant-numeric: tabular-nums; }
.cr-pool { display: grid; grid-template-columns: minmax(7.5em, 10em) minmax(0, 1fr) 3em; column-gap: 16px; row-gap: 4px; margin-top: 32px; font-size: 15px; transition: opacity .3s; }
.cr-head { max-width: none; grid-column: 1 / -1; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.cr-row { display: contents; }
.cr-n { grid-column: 1; align-self: center; color: var(--ink); padding: 6px 0; transition: color .3s; }
.cr-t { grid-column: 2; position: relative; height: 32px; }
.cr-z { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(186,195,209,.55); }
.cr-d { position: absolute; top: 7px; height: 18px; background: var(--accent); transition: left var(--dur, 300ms) var(--q4), width var(--dur, 300ms) var(--q4); }
.cr-row.neg .cr-d { background: var(--hatch); }
.cr-v { grid-column: 3; align-self: center; text-align: right; font: 500 17px/1 var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.cr-axis { grid-column: 2; display: flex; justify-content: space-between; font: 13px/1 var(--mono); color: var(--ink-3); padding-top: 6px; }
.f-matter .cr-pool { opacity: .45; }
.f-smith .cr-row:not(.me) .cr-n, .f-smith .cr-row:not(.me) .cr-v { color: var(--ink-3); }
.f-smith .cr-row:not(.me) .cr-d { opacity: .45; }
.ax-hub .cr-matter { margin-top: 20px; }
@media (max-width: 900px) {
  .cr-rule { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cr-rule button { white-space: normal; line-height: 1.2; padding: 6px 8px; }
  .cr-pool { grid-template-columns: minmax(0, 1fr) 3em; column-gap: 12px; }
  .cr-n { grid-column: 1 / -1; padding: 8px 0 0; font-size: 14px; }
  .cr-t { grid-column: 1; height: 26px; }
  .cr-d { top: 5px; height: 16px; }
  .cr-v { grid-column: 2; }
  .cr-axis { grid-column: 1; }
  .f-matter .cr-pool { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .cr-bar i, .cr-d, .cr-pool, .cr-n { transition: none !important; } }
