:root {
  color-scheme: dark;
  --bg: #080d1b;
  --panel: #121a30;
  --panel-2: #18223c;
  --line: #2a3655;
  --text: #f7f8ff;
  --muted: #93a2c7;
  --accent: #8a73ff;
  --accent-2: #6d53ff;
  --green: #2ed39a;
  --red: #ff667c;
  --yellow: #f1c75b;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--text); background: radial-gradient(circle at 10% 0, #18224a 0, transparent 30%), var(--bg); }
button, input, select, textarea { font: inherit; }
button { border: 0; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .45; }
a { color: inherit; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.error { min-height: 22px; color: #ff8a9b; font-size: 14px; margin-top: 10px; }
.success { color: var(--green); }
.shell { width: min(1480px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 60px; }
.auth-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-card { width: min(430px, 100%); padding: 38px; background: rgba(18,26,48,.94); border: 1px solid var(--line); border-radius: 26px; box-shadow: 0 28px 80px rgba(0,0,0,.42); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(135deg, var(--accent), #4d9cff); font-weight: 900; }
h1,h2,h3,p { margin-top: 0; }
h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.05; margin-bottom: 12px; }
h2 { font-size: 24px; margin-bottom: 6px; }
h3 { font-size: 17px; }
.eyebrow { margin-bottom: 7px; color: #b2a5ff; font-weight: 800; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
label { display: grid; gap: 8px; color: #b9c5e2; font-size: 13px; }
input, select, textarea { width: 100%; color: var(--text); background: #0d1428; border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; outline: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(138,115,255,.14); }
textarea { min-height: 84px; resize: vertical; }
.form-stack { display: grid; gap: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.form-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.check { display: flex; align-items: center; gap: 9px; }
.check input { width: 18px; height: 18px; }
.primary, .secondary, .danger, .ghost { min-height: 44px; padding: 10px 16px; border-radius: 12px; font-weight: 800; color: white; }
.primary { background: linear-gradient(135deg, #9a85ff, var(--accent-2)); }
.secondary { background: #202c49; border: 1px solid #34415f; }
.danger { background: #54243b; color: #ffb1bd; }
.ghost { background: transparent; color: var(--muted); }
.small { min-height: 34px; padding: 7px 11px; font-size: 12px; border-radius: 9px; }
.topbar { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 24px; }
.topbar-actions { display: flex; gap: 10px; align-items: center; }
.theme-select { width: auto; min-width: 132px; min-height: 38px; padding: 8px 34px 8px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; }
.pill { display: inline-flex; align-items: center; gap: 7px; min-height: 30px; padding: 5px 10px; border-radius: 99px; background: #1f2941; color: var(--muted); font-size: 12px; font-weight: 800; }
.pill.online { background: rgba(46,211,154,.12); color: var(--green); }
.pill.blocked { background: rgba(255,102,124,.12); color: var(--red); }
.pill.pending { background: rgba(241,199,91,.12); color: var(--yellow); }
.layout { display: grid; grid-template-columns: 230px minmax(0,1fr); gap: 22px; align-items: start; }
.sidebar { position: sticky; top: 20px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(18,26,48,.92); }
.nav-button { width: 100%; padding: 12px 14px; text-align: left; color: var(--muted); background: transparent; border-radius: 10px; }
.nav-button.active { color: white; background: #222e4e; }
.content { min-width: 0; }
.view { display: none; }
.view.active { display: block; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); }
.panel { padding: 22px; background: rgba(18,26,48,.94); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 18px 45px rgba(0,0,0,.14); }
.panel-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.metric { font-size: 34px; font-weight: 900; margin: 7px 0 0; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 16px; }
.toolbar > input, .toolbar > select { width: auto; min-width: 180px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 13px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
th, td { padding: 12px 13px; border-bottom: 1px solid #232e49; text-align: left; vertical-align: top; }
th { color: #9fadd0; background: #10182d; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
tr:last-child td { border-bottom: 0; }
.row-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.empty { padding: 32px; text-align: center; color: var(--muted); }
.credentials { padding: 16px; margin-top: 15px; border-radius: 13px; background: rgba(46,211,154,.09); border: 1px solid rgba(46,211,154,.35); }
.credentials code { display: block; margin-top: 7px; user-select: all; font-size: 15px; }
.operator-grid { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(420px, 1.22fr); gap: 18px; align-items: start; }
.steps { display: grid; gap: 0; }
.step { padding: 18px 0; border-bottom: 1px solid var(--line); }
.step:first-child { padding-top: 0; }
.step:last-child { border-bottom: 0; padding-bottom: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }
.transcript { height: 360px; overflow: auto; display: flex; flex-direction: column; gap: 10px; padding: 14px; background: #0c1326; border: 1px solid var(--line); border-radius: 14px; }
.bubble { max-width: 82%; padding: 11px 13px; border-radius: 13px; background: #1c2948; color: #f2f5ff; font-size: 15px; font-weight: 600; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble.user { align-self: flex-end; background: #3a2f74; }
.bubble.operator { align-self: flex-start; background: #17454a; border: 1px solid #26747a; }
.bubble.partial { opacity: .65; }
.bubble small { display: block; color: #b4bfda; margin-bottom: 4px; font-size: 11px; font-weight: 700; }
.call-chat-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 20px; }
.call-chat-head h3 { margin: 0; }
.transcript-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.call-chat { height: 210px; overflow: auto; display: flex; flex-direction: column; gap: 9px; margin-top: 10px; padding: 12px; background: #0a1121; border: 1px solid var(--line); border-radius: 14px; }
.chat-message { max-width: 88%; padding: 9px 11px; border-radius: 12px; background: #202c49; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-message.own { align-self: flex-end; background: #40357a; }
.chat-message small { display: block; color: #aab5d1; margin-bottom: 3px; font-size: 11px; }
.chat-message-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.chat-message-head small { flex: 1; }
.chat-message-head .delete-chat-message { min-height: 0; padding: 0 5px; line-height: 1.2; }
.call-chat-form { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; margin-top: 9px; }
.history-chat { height: auto; max-height: 300px; }
.contact-list { max-height: 440px; overflow: auto; }
.contact-card, .transfer-card { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 13px; border-bottom: 1px solid #25304b; }
.contact-card:last-child, .transfer-card:last-child { border-bottom: 0; }
.modal { position: fixed; inset: 0; z-index: 20; display: grid; place-items: center; padding: 20px; background: rgba(3,6,15,.8); }
.modal-card { width: min(860px, 100%); max-height: 90vh; overflow: auto; padding: 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 20px; }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 30; max-width: 420px; padding: 14px 16px; background: #253253; border: 1px solid #445174; border-radius: 12px; box-shadow: 0 15px 40px rgba(0,0,0,.3); }
.contacts-panel { grid-column: 1 / -1; }
.call-state { display: grid; justify-items: end; gap: 8px; }
.call-timer { font-size: 26px; font-variant-numeric: tabular-nums; letter-spacing: .04em; }
.call-diagnostics { margin: 12px 0; padding: 12px 14px; border: 1px solid rgba(241,199,91,.38); border-radius: 12px; background: rgba(241,199,91,.08); color: #f6dda0; line-height: 1.45; }
.contact-main { min-width: 220px; flex: 1; display: grid; gap: 8px; }
.contact-name-edit { padding: 9px 10px; font-weight: 800; }
.contact-details { min-height: 18px; }
.contact-gender-label { display:flex; flex-wrap:wrap; align-items:center; gap:8px; color:var(--muted); font-size:12px; }
.contact-gender-edit { width:130px; padding:6px 10px; font-size:13px; font-weight:700; }
#chatToggleBtn { white-space:nowrap; }
.trunk-diagnostic { display: grid; gap: 5px; }
.trunk-diagnostic .row-actions { align-items: center; }
.latency-good { color: var(--green); }
.latency-warn { color: var(--yellow); }
.latency-bad { color: var(--red); }
.contact-board { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.contact-column { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #0c1326; }
.contact-column-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 14px; border-bottom: 1px solid var(--line); background: #10182d; }
.contact-column-head h3 { margin: 0; }
.contact-column .contact-list { max-height: 560px; }
.attention-alert { position: fixed; top: 20px; right: 22px; z-index: 35; width: min(380px,calc(100% - 32px)); display: grid; gap: 10px; padding: 16px; border: 1px solid rgba(241,199,91,.65); border-radius: 14px; background: #332b18; box-shadow: 0 18px 55px rgba(0,0,0,.45); }
.attention-alert strong { color: #ffe295; }
.assignment-group { border: 1px solid var(--line); border-radius: 13px; overflow: hidden; }
.assignment-group + .assignment-group { margin-top: 12px; }
.admin-chat { height: min(56vh, 560px); }
.assignment-group > summary { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 13px; cursor: pointer; background: #10182d; }
.assignment-group > .table-wrap { border: 0; border-radius: 0; }

@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; display: flex; overflow: auto; }
  .nav-button { width: auto; white-space: nowrap; }
  .operator-grid, .grid, .grid.three { grid-template-columns: 1fr; }
  .contact-board { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .shell { width: min(100% - 18px, 1480px); padding-top: 12px; }
  .panel { padding: 16px; }
  .form-grid, .form-grid.three { grid-template-columns: 1fr; }
  .topbar { align-items: flex-start; }
  .topbar-actions { flex-wrap: wrap; justify-content: flex-end; }
  .call-chat-form { grid-template-columns: 1fr; }
  .assignment-group > summary { align-items: flex-start; flex-direction: column; }
  .attention-alert { top: 10px; right: 9px; }
}
.stats-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
.stats-metric { position: relative; overflow: hidden; min-height: 120px; }
.stats-metric::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent); }
.stats-metric[data-tone="green"]::after { background: var(--green); }
.stats-metric[data-tone="purple"]::after { background: #b08cff; }
.stats-metric[data-tone="yellow"]::after { background: var(--yellow); }
.stats-metric[data-tone="red"]::after { background: var(--red); }
.statistics-summary { margin: 14px 2px 18px; }
.statistics-charts { align-items: stretch; }
.statistics-charts > .panel { min-height: 350px; }
.stats-bars { display: grid; gap: 18px; padding-top: 8px; }
.stats-bar-row { display: grid; gap: 8px; }
.stats-bar-label, .stats-operator-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.stats-bar-label strong, .stats-operator-head span { font-size: 13px; }
.stats-bar-track, .stats-operator-track { height: 12px; overflow: hidden; border-radius: 99px; background: #0a1121; border: 1px solid #263250; }
.stats-bar-track > span, .stats-operator-track > span { display: block; height: 100%; min-width: 3px; border-radius: inherit; background: linear-gradient(90deg,var(--accent),#6ba5ff); }
.stats-bar-track > span[data-tone="green"] { background: linear-gradient(90deg,#20b982,var(--green)); }
.stats-bar-track > span[data-tone="purple"] { background: linear-gradient(90deg,#745cff,#b08cff); }
.stats-bar-track > span[data-tone="yellow"] { background: linear-gradient(90deg,#d59b31,var(--yellow)); }
.stats-bar-track > span[data-tone="red"] { background: linear-gradient(90deg,#dc4f68,var(--red)); }
.stats-timeline { height: 250px; display: flex; align-items: stretch; gap: 7px; overflow-x: auto; padding: 8px 2px 0; }
.stats-timeline-item { flex: 1 0 38px; min-width: 38px; display: grid; grid-template-rows: 22px minmax(130px,1fr) 34px; gap: 6px; text-align: center; align-items: end; }
.stats-timeline-item > strong { font-size: 11px; color: #cbd5ef; }
.stats-timeline-track { width: 100%; height: 100%; display: flex; align-items: flex-end; overflow: hidden; border-radius: 8px 8px 3px 3px; background: #0a1121; }
.stats-timeline-track > span { display: block; width: 100%; min-height: 3px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg,#a794ff,var(--accent-2)); }
.stats-timeline-item > small { align-self: start; color: var(--muted); font-size: 10px; white-space: nowrap; transform: rotate(-35deg); transform-origin: center; }
.stats-operators { display: grid; gap: 16px; }
.stats-operator-row { display: grid; gap: 7px; }
.stats-operator-track { height: 9px; }
.stats-operator-row small { font-size: 11px; }
@media (max-width: 1180px) { .stats-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }
@media (max-width: 700px) { .stats-grid { grid-template-columns: 1fr 1fr; } .stats-bar-label, .stats-operator-head { align-items: flex-start; flex-direction: column; gap: 3px; } }
@media (max-width: 430px) { .stats-grid { grid-template-columns: 1fr; } }

.call-head-side { display: flex; align-items: flex-start; justify-content: flex-end; gap: 16px; }
.mic-controls { width: min(330px,42vw); display: grid; gap: 8px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 13px; background: #0c1326; }
.mic-controls.is-inactive > :not(.listening-volume) { opacity: .58; filter: saturate(.55); }
.mic-controls.is-inactive .mic-meter > span { width: 0 !important; }
.mic-controls.is-inactive button:disabled, .mic-controls.is-inactive input:disabled { cursor: not-allowed; }
.mic-control-row, .mic-sensitivity { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mic-control-row .muted { white-space: nowrap; font-size: 11px; font-variant-numeric: tabular-nums; }
.mic-meter { height: 9px; overflow: hidden; border: 1px solid #31405f; border-radius: 99px; background: #080e1c; }
.mic-meter > span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--green),var(--yellow),var(--red)); transition: width .08s linear; }
.mic-sensitivity { grid-template-columns: auto minmax(90px,1fr) 42px; font-size: 11px; }
.mic-sensitivity input { min-width: 0; padding: 0; border: 0; background: transparent; box-shadow: none; accent-color: var(--accent); }
.mic-sensitivity output { text-align: right; color: #cbd5ef; font-variant-numeric: tabular-nums; }
@media (max-width: 820px) {
  .call-panel-head, .call-head-side { flex-direction: column; align-items: stretch; }
  .call-head-side { width: 100%; }
  .mic-controls { width: 100%; }
  .call-state { justify-items: start; }
}

.lead-toolbar { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; align-items:center; }
.lead-toolbar input { min-width:230px; }
.lead-toolbar select { min-width:180px; }
.lead-status-pill { border-color:color-mix(in srgb,var(--lead-color) 65%,#fff 10%); background:color-mix(in srgb,var(--lead-color) 20%,#0f172a); color:color-mix(in srgb,var(--lead-color) 60%,#fff); }
.section-divider { height:1px; margin:18px 0; background:var(--line); }
.summary-text { white-space:pre-wrap; line-height:1.65; padding:16px; border:1px solid var(--line); border-radius:14px; background:#0b1223; }
.call-detail-head { align-items:start; }
.call-summary-inline { margin-top:18px; }
.vapi-call-id { display:flex; flex-wrap:wrap; align-items:center; gap:7px; margin-top:7px; color:var(--muted); }
.vapi-call-id code { max-width:100%; overflow-wrap:anywhere; user-select:all; }
.modal-card-wide { width:min(1180px,100%); }
.transcript.transcript-popup { height:min(55vh,620px); }
.call-filters label { display:flex; flex-direction:column; gap:6px; color:var(--muted); }
.call-filters select { min-width:210px; }
.transcript .bubble, .transcript .bubble * { -webkit-user-select:text; user-select:text; }
.transcript-seek { display:block; text-align:left; cursor:text; border:1px solid transparent; font-family:inherit; }
.transcript-seek:hover, .transcript-seek:focus-visible { outline:2px solid #8c7cff; outline-offset:1px; }
.transcript-seek.is-playing { border-color:#8c7cff; box-shadow:0 0 0 1px #8c7cff; }
.transcript-recording { margin-bottom:16px; }
.transcript-recording audio { width:100%; }
#topLeads { display:grid; gap:10px; margin-top:10px; max-height:460px; overflow:auto; }
#topLeadSearchWrap input { width:100%; }
.status-manager { display:grid; gap:12px; }
.status-manager-row { display:grid; grid-template-columns:54px minmax(180px,1fr) auto auto; gap:10px; align-items:center; padding:12px; border:1px solid var(--line); border-radius:14px; background:#0d1528; }
.status-color-preview { width:38px; height:38px; border-radius:10px; border:1px solid rgba(255,255,255,.18); background:var(--status-color); }
.stats-breakdown { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.stats-breakdown-list { display:grid; gap:9px; }
.stats-operator-times { display:flex; flex-wrap:wrap; gap:8px 20px; margin:12px 0; font-size:13px; color:var(--muted); }
.stats-operator-times strong { color:var(--text); }
.stats-operator-statuses { display:flex; flex-wrap:wrap; gap:7px; margin:10px 0; }
.stats-status-count { display:inline-flex; align-items:center; gap:6px; padding:5px 8px; border:1px solid var(--line); border-radius:8px; font-size:12px; }
.stats-status-count i { width:8px; height:8px; border-radius:50%; background:var(--status-color); flex:none; }
.admin-call-status { white-space:normal; max-width:220px; }
.trunk-period-stats { display:flex; flex-wrap:wrap; gap:6px 16px; margin:10px 0 4px; }
.trunk-statistics-filters { display:flex; flex-wrap:wrap; gap:12px; margin:12px 0; }
.trunk-statistics-filters label { display:flex; flex-direction:column; gap:6px; color:var(--muted); }
.trunk-statistics-filters select { min-width:170px; }
.stats-breakdown-row { display:grid; grid-template-columns:minmax(120px,1fr) auto auto; gap:10px; align-items:center; padding:9px 10px; border:1px solid var(--line); border-radius:11px; }
@media (max-width:820px) { .lead-toolbar { justify-content:stretch; } .lead-toolbar > * { flex:1 1 180px; } .stats-breakdown { grid-template-columns:1fr; } .status-manager-row { grid-template-columns:44px 1fr; } }

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f6fb;
  --panel: #ffffff;
  --panel-2: #f6f8fc;
  --line: #d7deeb;
  --text: #172033;
  --muted: #68758f;
  --accent: #765ee8;
  --accent-2: #6046d9;
  --green: #138a63;
  --red: #d9415b;
  --yellow: #9a6a0b;
}
:root[data-theme="light"] body { background: radial-gradient(circle at 10% 0, #e4e9ff 0, transparent 30%), var(--bg); }
:root[data-theme="light"] .auth-card,
:root[data-theme="light"] .sidebar,
:root[data-theme="light"] .panel { background: rgba(255,255,255,.96); box-shadow: 0 16px 38px rgba(35,49,80,.08); }
:root[data-theme="light"] .eyebrow { color: #6046c7; }
:root[data-theme="light"] label { color: #4e5d77; }
:root[data-theme="light"] input,
:root[data-theme="light"] select,
:root[data-theme="light"] textarea { color: var(--text); background: #ffffff; }
:root[data-theme="light"] input::placeholder,
:root[data-theme="light"] textarea::placeholder { color: #8995aa; }
:root[data-theme="light"] .secondary { color: #26334d; background: #edf1f7; border-color: #cfd7e5; }
:root[data-theme="light"] .danger { color: #a51f38; background: #ffe8ed; }
:root[data-theme="light"] .ghost { color: #56647f; }
:root[data-theme="light"] .pill { background: #edf1f7; }
:root[data-theme="light"] .nav-button.active { color: #25324a; background: #e8edf6; }
:root[data-theme="light"] th,
:root[data-theme="light"] td { border-bottom-color: #dfe5ef; }
:root[data-theme="light"] th { color: #56647f; background: #f1f4f9; }
:root[data-theme="light"] .transcript,
:root[data-theme="light"] .call-chat,
:root[data-theme="light"] .contact-column,
:root[data-theme="light"] .mic-controls { background: #f6f8fc; }
:root[data-theme="light"] .bubble { color: #1f2b43; background: #e7edf7; }
:root[data-theme="light"] .bubble.user { color: #2d2255; background: #e7ddff; }
:root[data-theme="light"] .bubble.operator { color: #17434a; background: #dff4f0; border-color: #a8d8d1; }
:root[data-theme="light"] .bubble small { color: #65728b; }
:root[data-theme="light"] .chat-message { color: #23314a; background: #e7edf7; }
:root[data-theme="light"] .chat-message.own { color: #30255c; background: #e4dbfb; }
:root[data-theme="light"] .chat-message small { color: #65728b; }
:root[data-theme="light"] .contact-card,
:root[data-theme="light"] .transfer-card { border-bottom-color: #dfe5ef; }
:root[data-theme="light"] .modal { background: rgba(24,34,54,.48); }
:root[data-theme="light"] .toast { color: #1f2b43; background: #ffffff; border-color: #cfd7e5; box-shadow: 0 15px 40px rgba(35,49,80,.18); }
:root[data-theme="light"] .call-diagnostics { color: #71500c; background: #fff8df; border-color: #e7c768; }
:root[data-theme="light"] .contact-column-head,
:root[data-theme="light"] .assignment-group > summary { background: #f1f4f9; }
:root[data-theme="light"] .attention-alert { color: #5b450e; background: #fff5d6; box-shadow: 0 18px 50px rgba(68,51,15,.18); }
:root[data-theme="light"] .attention-alert strong { color: #72520b; }
:root[data-theme="light"] .stats-bar-track,
:root[data-theme="light"] .stats-operator-track,
:root[data-theme="light"] .stats-timeline-track { background: #e8edf5; border-color: #d2d9e6; }
:root[data-theme="light"] .stats-timeline-item > strong,
:root[data-theme="light"] .mic-sensitivity output { color: #4c5b74; }
:root[data-theme="light"] .mic-meter { background: #e3e8f0; border-color: #cbd4e2; }
:root[data-theme="light"] .lead-status-pill { background: color-mix(in srgb,var(--lead-color) 14%,#fff); color: color-mix(in srgb,var(--lead-color) 72%,#172033); }
:root[data-theme="light"] .summary-text,
:root[data-theme="light"] .status-manager-row { background: #f6f8fc; }
:root[data-theme="light"] .status-color-preview { border-color: rgba(23,32,51,.18); }
