/* Clients > Board: every client's proof on one row, gaps visible and fillable in place. */
.cb-summary { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 14px; }
.cb-sum-t { flex-basis: 100%; font-size: 13px; color: var(--muted); }
.cb-chip { background: var(--panel); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 12.5px; cursor: pointer; transition: border-color 120ms ease, background 120ms ease; }
.cb-chip b { color: var(--muted); font-variant-numeric: tabular-nums; margin-left: 4px; }
.cb-chip:hover { border-color: var(--muted); }
.cb-chip:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.cb-chip.on { background: var(--red); border-color: var(--red); color: #fff; }
.cb-chip.on b { color: #fff; }
.cb-chip.clear { background: none; color: var(--muted); }
.cb-sort { margin-left: auto; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.cb-sort select { width: auto; margin: 0; }

.cb-board { border: 1px solid var(--line); border-radius: 12px; background: var(--panel); overflow: hidden; }
.cb-headrow, .cb-row { display: grid; grid-template-columns: 176px 236px minmax(0, 1fr); gap: 0 20px; padding: 0 16px; }
.cb-headrow { position: sticky; top: 0; z-index: 3; background: var(--panel2); border-bottom: 1px solid var(--line); padding-top: 10px; padding-bottom: 10px; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.cb-headrow span { margin-right: 18px; white-space: nowrap; }
.cb-headrow small { color: var(--ink); font-size: 10.5px; letter-spacing: 0.04em; margin-left: 4px; }
.cb-row { position: relative; padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); align-items: start; }
.cb-row:last-child { border-bottom: 0; }
.cb-row:hover { background: rgba(255, 255, 255, 0.015); }

.cb-name { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cb-name h3 { margin: 0; font-family: "Avenir Next Condensed", "Arial Narrow", -apple-system, sans-serif; font-size: 20px; line-height: 1.05; text-transform: uppercase; letter-spacing: 0.01em; }
.cb-name h3 small { font-size: 10px; letter-spacing: 0.08em; color: var(--muted); }
.cb-meta { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.cb-pips { display: flex; align-items: center; gap: 4px; margin-top: 10px; }
.cb-pips i { width: 14px; height: 6px; border-radius: 2px; background: var(--line); }
.cb-pips i.on { background: var(--ink); }
.cb-pips span { margin-left: 6px; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }
.cb-miss { margin: 6px 0 8px; font-size: 11.5px; color: var(--muted); }
.cb-btns { display: flex; gap: 6px; margin-top: 2px; }

.cb-story { min-width: 0; }
.cb-story-body { cursor: pointer; border-radius: 6px; padding: 2px 4px; margin: -2px -4px; }
.cb-story-body:hover, .cb-story-body:focus-visible { background: var(--panel2); outline: none; }
.cb-head { margin: 0 0 4px; font-size: 12.5px; font-weight: 700; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cb-text { margin: 0; font-size: 12.5px; line-height: 1.45; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cb-nostory { color: var(--muted); font-style: italic; }
.cb-quote { margin: 8px 0 0; padding: 0; font-size: 12.5px; line-height: 1.4; font-style: italic; color: rgba(242, 237, 231, 0.82); cursor: pointer; }
.cb-qt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cb-quote small { display: block; font-style: normal; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.cb-quote:hover { color: var(--ink); }
.cb-addq, .cb-write { margin-top: 8px; background: none; border: 0; color: var(--muted); padding: 2px 0; font: inherit; font-size: 12.5px; cursor: pointer; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.cb-write { margin-top: 0; }
.cb-addq:hover, .cb-write:hover { color: var(--ink); text-decoration-color: var(--muted); }

.cb-strip { display: flex; flex-wrap: wrap; gap: 10px 20px; min-width: 0; }
.cb-lane { display: flex; flex-direction: column; gap: 5px; }
.cb-lab { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.cb-tiles { display: flex; gap: 6px; position: relative; }
.cb-th { position: relative; width: 62px; height: 84px; flex: none; padding: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--panel2); cursor: pointer; transition: transform 140ms ease, border-color 140ms ease; }
.cb-th[data-lane="progress"] { width: 76px; }
.cb-th img, .cb-th video { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.cb-th:hover { transform: translateY(-2px); border-color: var(--muted); }
.cb-th:focus-visible, .cb-th.no-consent { border-color: var(--warn); opacity: 0.7; }
.cb-th.broken { background: repeating-linear-gradient(135deg, var(--panel2), var(--panel2) 6px, var(--panel) 6px, var(--panel) 12px); }
.cb-k { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 5px 4px; font-size: 8.5px; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(242, 237, 231, 0.9); background: linear-gradient(0deg, rgba(17, 13, 11, 0.85), rgba(17, 13, 11, 0)); text-align: left; }
.cb-vid { width: 96px; background: #0e0c0a; }
.cb-play { position: absolute; inset: 0; margin: auto; width: 30px; height: 30px; border-radius: 50%; background: rgba(17, 13, 11, 0.7); border: 1px solid rgba(242, 237, 231, 0.5); color: #fff; font-size: 11px; display: flex; align-items: center; justify-content: center; padding-left: 2px; }

.cb-more { width: 38px; height: 84px; flex: none; border: 1px solid var(--line); border-radius: 8px; background: var(--panel2); color: var(--ink); font: inherit; font-size: 13px; cursor: pointer; }
.cb-more:hover { border-color: var(--muted); }

.cb-lane[data-lane="progress"] 
.cb-lb { position: fixed; inset: 0; z-index: 200; background: rgba(8, 6, 5, 0.9); display: flex; align-items: center; justify-content: center; padding: 28px 70px; }
.cb-lb-fig { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cb-lb-fig img, .cb-lb-fig video { max-width: min(92vw, 1100px); max-height: calc(100vh - 150px); border-radius: 10px; display: block; background: #000; }
.cb-lb-fig figcaption { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; font-size: 13px; color: var(--muted); }
.cb-lb-fig figcaption strong { color: var(--ink); }
.cb-lb-fig figcaption select { width: auto; margin: 0; font-size: 12.5px; padding: 4px 8px; }
.cb-lb-fig figcaption a.mini { text-decoration: none; }
.cb-lb-x { position: absolute; top: 16px; right: 20px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-size: 24px; cursor: pointer; }
.cb-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-size: 28px; line-height: 1; cursor: pointer; }
.cb-lb-nav.prev { left: 14px; } .cb-lb-nav.next { right: 14px; }
.cb-lb-x:hover, .cb-lb-nav:hover { border-color: var(--muted); }

@media (max-width: 1100px) {
  .cb-headrow { display: none; }
  .cb-row { grid-template-columns: 1fr; gap: 12px; }
  .cb-sort { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { .cb-th, .cb-chip { transition: none; } }

/* drag and drop import: the whole row is the target, shown by a quiet outline and one line of text */
.cb-none { margin: 0; align-self: center; font-size: 12.5px; color: var(--muted); }
.cb-drop { position: absolute; inset: 4px 8px; border: 1px dashed var(--muted); border-radius: 10px; background: rgba(21, 18, 16, 0.82); display: none; align-items: center; justify-content: center; pointer-events: none; z-index: 4; }
.cb-drop span { font-size: 13px; color: var(--ink); letter-spacing: 0.02em; }
.cb-row.dropping .cb-drop { display: flex; }
.cb-row.dropping { background: var(--panel2); }
.cb-chooser { position: absolute; z-index: 5; right: 16px; top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; max-width: min(640px, calc(100% - 32px)); background: var(--panel2); border: 1px solid var(--muted); border-radius: 10px; padding: 8px 10px; box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5); }
.cb-chooser span { font-size: 12.5px; color: var(--muted); margin-right: 4px; }
.cb-chooser button { background: var(--panel); border: 1px solid var(--line); color: var(--ink); border-radius: 999px; padding: 5px 11px; font: inherit; font-size: 12.5px; cursor: pointer; }
.cb-chooser button:hover, .cb-chooser button:focus-visible { border-color: var(--muted); outline: none; background: var(--bg); }
.cb-chooser .cb-cancel { border: 0; background: none; color: var(--muted); font-size: 18px; line-height: 1; padding: 2px 6px; }
