/* ASA OS calls to follow up (108) on #/calls: missed and unbooked calls, one row each. Shop tokens (shop.css). */
.cb2-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.cb2-head h2 { margin: 0; margin-right: auto; }
.cb2-seg { display: inline-flex; background: var(--fill); border-radius: 10px; padding: 2px; }
.cb2-seg button { min-height: 32px; padding: 0 12px; border: 0; background: transparent; border-radius: 8px; font-size: 14px; color: var(--ink-2); box-shadow: none; }
.cb2-seg button.is-on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); font-weight: 600; }
.cb2-reh { font-size: 14px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }

.cb2-show { display: inline-flex; gap: 4px; margin: 4px 0 6px; flex-wrap: wrap; }
.cb2-show button { min-height: 32px; padding: 0 12px; border-radius: 999px; font-size: 14px; background: var(--fill); border: 0; box-shadow: none; color: var(--ink-2); }
.cb2-show button.is-on { background: var(--ink); color: var(--surface); font-weight: 600; }
.cb2-rules { margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.cb2-rules p { margin: 4px 0; max-width: 72ch; }
.cb2-rule { font-size: 13px; color: var(--ink-2); margin: 4px 0 10px; max-width: 72ch; }

.cb2-list { list-style: none; margin: 0; padding: 0; }
.cb2-row { display: grid; grid-template-columns: 86px minmax(0, 1fr) auto; gap: 4px 14px; padding: 12px 0; border-top: 1px solid var(--hair); align-items: start; }
.cb2-when { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; padding-top: 2px; }
.cb2-main { min-width: 0; }
.cb2-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.cb2-who { font-weight: 600; font-size: 16px; }
.cb2-chip { font-size: 12px; font-weight: 600; padding: 1px 8px; border-radius: 999px; background: var(--fill); color: var(--ink); }
.cb2-chip.is-missed, .cb2-chip.is-lost { background: var(--red-soft); color: var(--red); }
.cb2-chip.is-not_booked { background: var(--fill); color: var(--ink); }
.cb2-chip.is-open, .cb2-chip.is-guess { background: var(--amber-soft); color: var(--amber); }
.cb2-chip.is-recovered { background: var(--green-soft); color: var(--green); }
.cb2-chip.is-dim { color: var(--ink-3); }
.cb2-what { font-size: 14px; margin-top: 2px; }
.cb2-sub, .cb2-text { font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.cb2-miss { color: var(--ink-3); }
.cb2-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.cb2-acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.cb2-acts button { min-height: 36px; padding: 0 12px; font-size: 14px; }
.cb2-acts input { min-height: 36px; width: 220px; max-width: 100%; }

@media (max-width: 640px) {
  .cb2-row { grid-template-columns: minmax(0, 1fr); }
  .cb2-when { padding-top: 0; }
  .cb2-side { align-items: flex-start; }
  .cb2-acts { justify-content: flex-start; }
}
/* Oct 20: texts not delivered */
.cb2-fb { font-size: 0.9em; margin-top: 2px; }
.cb2-chip.is-warn { background: var(--amber-soft); color: var(--amber); }
.cb2-chip.is-bad { background: var(--red-soft); color: var(--red); }
/* Oct 20: search what was said */
.cb2-search-bar { display: flex; gap: 8px; flex-wrap: wrap; }
.cb2-search-bar input { flex: 1 1 260px; min-width: 0; }
.cb2-line mark { background: var(--amber-soft); color: inherit; border-radius: 3px; padding: 0 2px; }
/* Batch 30 (the approved look): the chosen filter is the solid accent with white text (it was dark on dark under the new tokens) */
body.shop-on .cb2-show button.is-on { background: var(--accent); color: var(--accent-ink, #fff); }
/* Batch 31: the texts panel grows with its rows (every row and its buttons reachable at every width; "Show N more" opens in place) */
body.shop-on .cb2-texts { height: auto; max-height: none; overflow: visible; }
/* Batch 32 (Clay's review): on the accent band every label reads white: the Today / 7 days / 30 days chips are white text on a
   faint white outline, the chosen one white with accent text; "Include rehearsals" reads white. */
body.shop-on .cd-page > .panel > .cb2-head .cb2-seg { background: rgba(255, 255, 255, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45); border-radius: 6px; }
body.shop-on .cd-page > .panel > .cb2-head .cb2-seg button { color: var(--accent-ink, #fff); background: transparent; border-radius: 5px; }
body.shop-on .cd-page > .panel > .cb2-head .cb2-seg button.is-on { background: #fff; color: var(--accent); }
body.shop-on .cd-page > .panel > .cb2-head .cb2-reh { color: var(--accent-ink, #fff); }
body.shop-on .cd-page > .panel > .cb2-head :focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
/* U38-B (474): texts not delivered: the open fallbacks, escalated, "Record what you did", Handled */
.cb2-chip.is-ok { background: var(--green-soft); color: var(--green); }
.cb2-fbs { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.cb2-esc { color: var(--red); }
.cb2-row[data-escalated] { box-shadow: inset 3px 0 0 var(--red); padding-left: 12px; }
.cb2-mx { margin-top: 6px; font-size: 13px; }
.cb2-mx-form { display: grid; gap: 6px; margin-top: 6px; max-width: 420px; }
.cb2-mx-form select, .cb2-mx-form input { min-height: 34px; font-size: 14px; width: 100%; box-sizing: border-box; }
.cb2-mx-form button { justify-self: start; }
.cb2-mx-msg:empty { display: none; }
.cb2-done .cb2-who { color: var(--ink-2); }
