/* "What's moving" on Today (in flight and crew capacity in one list), plus its small counterpart in the side rail.
   Only transform, opacity and colours animate. */
.cs { display: flex; flex-direction: column; gap: 12px; }

/* The slots themselves: one dot per slot, filled while busy, then what is parked. */
.cs-room { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; font-size: 13px; color: var(--ink-3); }
.cs-room b { font-size: 14px; font-weight: 600; color: var(--ink); }
.cs-dots { display: flex; gap: 4px; }
.cs-dots i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px dashed var(--line-2); transition: background-color .4s var(--ease), border-color .4s var(--ease); }
.cs-dots i.on { border: 0; background: var(--violet); }
.cs-counts { margin-left: auto; font-size: 12px; font-weight: 500; }

/* One row per job; the whole row opens its task. */
.cs-list { display: flex; flex-direction: column; margin: 0 -8px; }
.cs-row { position: relative; display: flex; align-items: center; gap: 10px; padding: 9px 8px; border-radius: 12px; color: var(--ink); text-decoration: none; transition: background-color .25s var(--ease); }
.cs-row + .cs-row::before { content: ''; position: absolute; top: 0; left: 46px; right: 8px; border-top: 1px solid var(--line); }
a.cs-row:hover { background: var(--paper); }
a.cs-row:hover::before, a.cs-row:hover + .cs-row::before { opacity: 0; }
a.cs-row:focus-visible { outline: 2px solid var(--pen); outline-offset: -2px; }
.cs-row .av { transition: transform .3s var(--ease); }
a.cs-row:hover .av { transform: scale(1.06); }
.cs-row.k-queued .av { opacity: .55; }
.cs-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cs-title { font-size: 13.5px; font-weight: 600; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-row.k-queued .cs-title { font-weight: 500; color: var(--ink-2); }
.cs-ref { font-family: var(--mono); font-size: 11px; font-weight: 400; color: var(--ink-3); }
.cs-meta { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: 12px; color: var(--ink-3); }
.cs-dot { width: 7px; height: 7px; border-radius: 2px; flex: none; }
.cs-where { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs-note { flex: none; padding-left: 6px; border-left: 1px solid var(--line-2); white-space: nowrap; }

/* The state word on the right. */
.cs-state { flex: none; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 600; line-height: 1; padding: 5px 9px; border-radius: 999px; white-space: nowrap; }
.cs-state.st-working { color: var(--lilac-ink); background: var(--lilac); }
.cs-state.st-working .pulse { color: var(--violet); }
.cs-state.st-checking { color: var(--lilac-ink); box-shadow: inset 0 0 0 1px var(--lilac-line); }
.cs-state.st-waiting { color: var(--on-butter); background: var(--butter); }
.cs-state.st-queued { color: var(--ink-3); box-shadow: inset 0 0 0 1px var(--line-2); }

.cs-empty { margin: 0; padding: 12px 14px; border-radius: 14px; background: var(--paper); font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.cs-over { margin: 0; align-self: flex-start; font-size: 12px; font-weight: 600; background: var(--butter-soft); color: var(--butter-ink); padding: 5px 10px; border-radius: 999px; }
.cs-more { align-self: flex-start; min-height: 32px; margin: -4px 0 0 -10px; padding: 0 10px; border: 0; border-radius: 999px; background: none; font-size: 13px; color: var(--ink-2); }
.cs-more:hover { color: var(--ink); background: var(--paper); }
.cs-more:focus-visible { outline: 2px solid var(--pen); outline-offset: 1px; }

/* The plan, last and quiet: whether more can start, the reading, and what finished. */
.cs-foot { display: flex; flex-direction: column; gap: 7px; padding-top: 12px; border-top: 1px solid var(--line); }
.cs-plan { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.cs-plan-detail { font-family: var(--mono); font-size: 11px; color: var(--ink-3); white-space: nowrap; }
.cap-meter { height: 5px; border-radius: 999px; background: var(--line); overflow: hidden; }
.cap-meter i { display: block; height: 100%; border-radius: inherit; background: currentColor; transform-origin: left center; transition: transform .6s var(--ease); }
.cs-done { font-size: 12px; color: var(--mint-ink); }

@media (max-width: 860px) {
  .cs-row { padding: 11px 8px; }
  .cs-more { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-row, .cs-row .av, .cs-dots i, .cap-meter i { transition: none; }
}
