/* 2026-11-26 v2.9.0 The Call centre (calls.js). The dashboard's own tokens: light and dark follow. */
.cc-h { margin: 0 0 6px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cc-h .sub { font-weight: 400; }
.cc-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.cc-grow { flex: 1; min-width: 200px; }
.cc-grow input { width: 100%; }
.cc-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
.cc-bar2 { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; margin-bottom: 10px; }
.cc-state { font-size: 14px; }
.cc-wait { margin-bottom: 12px; }
.cc-phone { margin: 12px 0; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink-2); }
.cc-phone.cc-ok { border-color: #a6f4c5; background: rgba(18, 183, 106, .08); color: inherit; }
.cc-phone.cc-amber { border-color: #fedf89; background: rgba(247, 144, 9, .08); color: inherit; }
.cc-phone.cc-bad { border-color: #fda29b; background: rgba(240, 68, 56, .08); color: inherit; }
.cc-tiles { margin-bottom: 0; }
#cdOwed { cursor: pointer; }
.tile.cc-bad .v { color: #d92d20; }
.cc-redtx { color: #d92d20; font-weight: 700; }
.cc-call { border-left: 6px solid #12b76a; }
.cc-call.cc-ringing { border-left-color: #f79009; animation: cc-pulse 1.4s ease-in-out infinite; }
@keyframes cc-pulse { 50% { box-shadow: 0 0 0 6px rgba(247, 144, 9, .22); } }
@media (prefers-reduced-motion: reduce) { .cc-call.cc-ringing { animation: none; } }
.cc-number { font-size: 34px; font-weight: 800; letter-spacing: .5px; line-height: 1.2; }
.cc-timer { font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.cc-btns { margin: 14px 0 6px; }
.btn.cc-big { font-size: 17px; padding: 12px 22px; }
.cc-tools { margin: 10px 0; padding: 10px; border: 1px dashed var(--axis); border-radius: 10px; align-items: center; }
.cc-keys { display: grid; grid-template-columns: repeat(3, 44px); gap: 6px; }
.cc-list { margin-top: 12px; }
.cc-list > div { padding: 6px 0; border-top: 1px solid var(--line); }
.cc-wrap { border-left: 6px solid #1570ef; }
.cc-bar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 900; padding: 14px 22px; border: 0; border-radius: 999px; background: #b54708; color: #fff; font: inherit; font-weight: 700; font-size: 16px;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .28); cursor: pointer; max-width: calc(100vw - 32px); }
.cc-agents { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.cc-agent { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.cc-table tbody tr { cursor: pointer; }
.cc-table tbody tr:hover, .cc-table tr.cc-sel { background: rgba(21, 112, 239, .08); }
.cc-file { border-left: 5px solid #1570ef; }
.cc-kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 12px 0; }
.cc-rec { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 10px 0; }
.cc-rec audio, .cc-file audio { height: 38px; max-width: 100%; }
.cc-step { margin: 12px 0 4px; padding: 12px; border: 1px dashed var(--axis); border-radius: 10px; }
.cc-log { margin-top: 10px; }
.cc-log summary { cursor: pointer; font-weight: 600; }
.cc-logline { padding: 4px 0; border-top: 1px solid var(--line); }
.cc-marks select { min-width: 64px; }
.cc-rep td, .cc-rep th { white-space: nowrap; }
.cc-hours { display: flex; gap: 6px; align-items: flex-end; overflow-x: auto; padding: 6px 0; }
.cc-hour { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 34px; font-size: 12px; }
.cc-hour span { color: var(--muted); }
.cc-hbar { height: 110px; width: 22px; display: flex; align-items: flex-end; background: var(--grid); border-radius: 4px; overflow: hidden; }
.cc-hbar i { display: block; width: 100%; background: #026aa2; border-radius: 4px 4px 0 0; }
.cc-status { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 12px 0; }
.cc-off { opacity: .55; }
.cc-desks { max-height: 150px; overflow: auto; }
.cc-hoursf { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; margin: 10px 0; }
.cc-hoursf .cc-row { gap: 6px; flex-wrap: nowrap; }
@media (max-width: 700px) { .cc-number { font-size: 26px; } }
