/* Collections figure: quarter bar over an aging grid. Colour is #6E9EF2 only; money moved to Collected is a dashed outline, not a second colour. */
.co { display: grid; grid-template-columns: minmax(9.5em, 13em) minmax(0, 1fr) 3.2em; column-gap: 16px; row-gap: 8px; font-size: 15px; align-items: center; }
.co-row { display: contents; }
.co-l { color: var(--ink); line-height: 1.25; transition: color .3s; }
.co-t { position: relative; height: 22px; background: linear-gradient(var(--line), var(--line)) 0 100% / 100% 1px no-repeat; }
.co-a, .co-m { position: absolute; top: 0; height: 20px; transition: width .3s var(--q4), left .3s var(--q4); }
.co-a { left: 0; background: var(--accent); }
.co-row:not(.co-q) .co-a { background: var(--hatch); border-right: 1px solid var(--accent); }
.co-m { border: 1px dashed var(--accent); box-sizing: border-box; background: rgba(110,158,242,.35); }
.co-q .co-t { height: 30px; margin-top: 22px; }
.co-q .co-a, .co-q .co-m { height: 28px; }
.co-q .co-l { margin-top: 22px; }
.co-q .co-n { margin-top: 22px; }
.co-tick { position: absolute; top: -6px; bottom: -2px; width: 0; border-left: 1px solid var(--ink); }
.co-tick em { position: absolute; bottom: 100%; left: 0; transform: translateX(-50%); font: 13px/1 var(--mono); font-style: normal; color: var(--ink); white-space: nowrap; padding-bottom: 4px; }
.co-n { text-align: right; font: 500 17px/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--ink); }
.co-q.met .co-n { color: var(--accent); }
.co-row.dim .co-l { color: var(--ink-3); }
.co-row.dim .co-t, .co-row.dim .co-n { opacity: .25; }
.co-chips-l { font-size: 14px; color: var(--ink-2); margin: 20px 0 8px; }
.co-chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; transition: opacity .3s; }
.co-pre .co-chips, .co-pre .co-chips-l { opacity: .45; }
.co-chip { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 0 12px; font: 500 15px var(--font); color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 2px; cursor: pointer; text-align: left; transition: background .2s, color .2s, border-color .2s; }
.co-chip i { font: 500 14px var(--mono); font-style: normal; color: var(--ink-2); }
.co-chip:hover { border-color: var(--accent); }
.co-chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.co-chip[aria-pressed="true"] { background: var(--accent); color: #0E1420; border-color: var(--accent); }
.co-chip[aria-pressed="true"] i { color: #0E1420; }
.co-reset { min-height: 44px; padding: 0 14px; font: 500 14px var(--font); color: var(--accent); background: none; border: 1px solid var(--line); border-radius: 2px; cursor: pointer; }
.co-reset:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.ax-key .k-owed { background: var(--hatch); }
.ax-key .k-moved { background: rgba(110,158,242,.35); border: 1px dashed var(--accent); box-sizing: border-box; }
.ax-hub .co-q .co-t { margin-top: 22px; }
@media (max-height: 780px) and (min-width: 901px) {
  .co { row-gap: 5px; } .co-chips-l { margin: 12px 0 6px; } .co-chip { min-height: 40px; } .co-q .co-t, .co-q .co-l, .co-q .co-n { margin-top: 18px; }
  .scrolly__fig .ax-foot { margin-top: 10px; } .scrolly__fig .fig-cap { display: none; }
}
@media (max-width: 900px) {
  .co { grid-template-columns: minmax(0, 1fr) 3em; column-gap: 12px; }
  .co-l { grid-column: 1 / -1; padding-top: 6px; font-size: 14px; }
  .co-t { grid-column: 1; } .co-n { grid-column: 2; }
  .co-q .co-l { margin-top: 18px; } .co-q .co-t, .co-q .co-n { margin-top: 0; }
  .co-q .co-t { margin-top: 20px; }
  .co-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .co-a, .co-m, .co-chip, .co-chips, .co-l { transition: none !important; } }
