.louwman-dashboard-screen { --louwman-neutral: var(--body-fg); --louwman-teal: #0f9d8a; }

.louwman-dashboard-screen > .body { display: flex; flex-direction: column; gap: 16px; padding: 16px; overflow: hidden; }

@media (max-width: 1000px) { .louwman-dashboard-screen > .body { overflow: auto; } }

.louwman-dashboard-screen h3 { display: flex; align-items: center; gap: 8px; margin: 0; font-size: var(--font-size-lg); }

.louwman-dashboard-screen h3 svg { width: 20px; height: 20px; }

.louwman-dashboard-screen h4 { margin: 16px 0 8px; font-size: var(--font-size-sm); text-transform: uppercase; color: var(--table-muted-color); }

.louwman-dashboard-screen small { color: var(--table-muted-color); }

.louwman-dashboard-screen .neutral { --louwman-color: var(--louwman-neutral); }

.louwman-dashboard-screen .primary { --louwman-color: var(--primary); }

.louwman-dashboard-screen .success, .louwman-dashboard-screen .free { --louwman-color: var(--success); }

.louwman-dashboard-screen .error { --louwman-color: var(--error); }

.louwman-dashboard-screen .warning, .louwman-dashboard-screen .paused { --louwman-color: var(--warning); }

.louwman-dashboard-screen .info { --louwman-color: var(--info); }

.louwman-dashboard-screen .teal, .louwman-dashboard-screen .in_call { --louwman-color: var(--louwman-teal); }

.louwman-dashboard-screen .offline { --louwman-color: var(--table-muted-color); }

.louwman-dashboard-kpis { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }

@media (max-width: 1500px) { .louwman-dashboard-kpis { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (max-width: 600px) { .louwman-dashboard-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.louwman-dashboard-kpi { padding: 12px 16px; border-radius: var(--border-radius); border-left: 4px solid var(--louwman-color); background: var(--panel-bg); box-shadow: var(--panel-shadow); }

.louwman-dashboard-kpi-title { font-size: var(--font-size-xs); font-weight: var(--font-weight-bolder); text-transform: uppercase; color: var(--table-muted-color); }

.louwman-dashboard-kpi-value { margin: 4px 0; font-size: 2rem; font-weight: var(--font-weight-bolder); line-height: 1.1; color: var(--louwman-color); }

.louwman-dashboard-kpi-note { font-size: var(--font-size-sm); color: var(--table-muted-color); }

.louwman-dashboard-columns { display: grid; flex: 1; min-height: 0; grid-template-columns: minmax(320px, 1fr) minmax(560px, 1.7fr) minmax(300px, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); grid-template-areas: 'calls queues agents' 'callbacks queues agents'; gap: 16px; }

@media (max-width: 1500px) { .louwman-dashboard-columns { grid-template-columns: minmax(320px, 1fr) minmax(0, 1.7fr); grid-template-areas: 'calls queues' 'callbacks agents'; } }

@media (max-width: 1000px) { .louwman-dashboard-columns { flex: none; grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-template-areas: 'calls' 'callbacks' 'queues' 'agents'; } .louwman-dashboard-columns .louwman-dashboard-panel { max-height: 70vh; } }

.louwman-dashboard-panel { min-width: 0; min-height: 0; padding: 0 16px 16px; border-radius: var(--border-radius); border-top: 3px solid var(--primary); background: var(--panel-bg); box-shadow: var(--panel-shadow); overflow: auto; }

.louwman-dashboard-calls { grid-area: calls; }

.louwman-dashboard-callbacks { grid-area: callbacks; }

.louwman-dashboard-queues, .louwman-dashboard-agents { align-self: start; max-height: 100%; }

.louwman-dashboard-queues { grid-area: queues; }

.louwman-dashboard-agents { grid-area: agents; }

.louwman-dashboard-panel-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; padding-top: 16px; padding-bottom: 4px; background: var(--panel-bg); }

.louwman-dashboard-panel-header-note { font-size: var(--font-size-sm); font-weight: var(--font-weight-bold); color: var(--primary); }

.louwman-dashboard-empty { padding: 12px 0; color: var(--table-muted-color); }

.louwman-dashboard-count-box { padding: 8px; border: var(--border-default-width) solid var(--border-default-color); border-top: 3px solid var(--louwman-color); border-radius: var(--border-radius-sm); text-align: center; }

.louwman-dashboard-count-box-title { font-size: var(--font-size-xs); font-weight: var(--font-weight-bolder); text-transform: uppercase; color: var(--table-muted-color); }

.louwman-dashboard-count-box-value { font-size: var(--font-size-xl); font-weight: var(--font-weight-bolder); color: var(--louwman-color); }

.louwman-dashboard-count-box-note { font-size: var(--font-size-xs); color: var(--table-muted-color); }

.louwman-dashboard-progress { height: 8px; border-radius: 4px; background: var(--table-alternation-bg); overflow: hidden; }

.louwman-dashboard-progress > div { height: 100%; background: var(--warning); }

.louwman-dashboard-calls { border-top-color: var(--success); }

.louwman-dashboard-call { --louwman-color: var(--louwman-neutral); margin-bottom: 10px; padding: 10px 12px; border-left: 4px solid var(--louwman-color); border-radius: var(--border-radius-sm); background: color-mix(in srgb, var(--louwman-color) 7%, var(--panel-bg)); }

.louwman-dashboard-call.in { --louwman-color: var(--success); }

.louwman-dashboard-call.out { --louwman-color: var(--primary); }

.louwman-dashboard-call.waiting { --louwman-color: var(--warning); }

.louwman-dashboard-call-header { display: flex; justify-content: space-between; gap: 8px; font-size: var(--font-size-xs); }

.louwman-dashboard-call-direction { display: flex; align-items: center; gap: 4px; font-weight: var(--font-weight-bolder); text-transform: uppercase; color: var(--louwman-color); }

.louwman-dashboard-call-direction svg { width: 14px; height: 14px; }

.louwman-dashboard-call-queue { color: var(--table-muted-color); }

.louwman-dashboard-call-peers { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; margin: 6px 0; }

.louwman-dashboard-call-peers > svg { width: 16px; height: 16px; }

.louwman-dashboard-call-peer { display: flex; flex-direction: column; min-width: 0; }

.louwman-dashboard-call-peer:last-child { text-align: right; }

.louwman-dashboard-call-peer strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: var(--font-size-lg); }

.louwman-dashboard-call-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: var(--font-size-sm); }

.louwman-dashboard-call-did { margin-top: 6px; font-size: var(--font-size-xs); color: var(--table-muted-color); }

.louwman-dashboard-callbacks { border-top-color: var(--error); }

.louwman-dashboard-callback-counts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }

.louwman-dashboard-callback-ratio { margin-top: 12px; padding: 8px 12px; border: var(--border-default-width) solid var(--border-default-color); border-radius: var(--border-radius-sm); }

.louwman-dashboard-callback-ratio-label { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: var(--font-size-sm); }

.louwman-dashboard-callback-ratio-label strong { color: var(--warning); }

.louwman-dashboard-callback-queue { display: flex; justify-content: space-between; gap: 8px; padding: 6px 8px; border-bottom: var(--border-default-width) solid var(--border-default-color); font-size: var(--font-size-sm); }

.louwman-dashboard-callback-queue strong { color: var(--success); white-space: nowrap; }

.louwman-dashboard-table-wrap { overflow-x: auto; }

.louwman-dashboard-table { width: 100%; border-collapse: collapse; font-size: var(--font-size-sm); }

.louwman-dashboard-table th { padding: 8px 6px; font-size: var(--font-size-xs); text-transform: uppercase; text-align: center; color: var(--table-muted-color); background: var(--table-alternation-bg); }

.louwman-dashboard-table th:first-child { text-align: left; }

.louwman-dashboard-table td { padding: 6px; border-bottom: var(--border-default-width) solid var(--border-default-color); text-align: center; }

.louwman-dashboard-table td.number { font-weight: var(--font-weight-bold); white-space: nowrap; }

.louwman-dashboard-table td.success { color: var(--success); }

.louwman-dashboard-table td.error { color: var(--error); }

.louwman-dashboard-table td small { display: block; font-weight: var(--font-weight-normal); }

.louwman-dashboard-queue-name { text-align: left !important; }

.louwman-dashboard-ratio-ring { --louwman-ring: conic-gradient(var(--success) calc(var(--ratio) * 1%), var(--error) 0); display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--louwman-ring); }

.louwman-dashboard-ratio-ring span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--panel-bg); font-size: 0.65rem; font-weight: var(--font-weight-bolder); }

.louwman-dashboard-level { display: inline-block; padding: 2px 8px; border-radius: var(--border-radius-sm); font-size: var(--font-size-xs); font-weight: var(--font-weight-bolder); white-space: nowrap; color: var(--louwman-color, var(--table-muted-color)); background: color-mix(in srgb, var(--louwman-color, transparent) 12%, var(--panel-bg)); }

.louwman-dashboard-agents { border-top-color: var(--warning); }

.louwman-dashboard-agent-counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 6px; }

.louwman-dashboard-agent-bar { display: flex; height: 8px; margin-top: 10px; border-radius: 4px; overflow: hidden; background: var(--table-alternation-bg); }

.louwman-dashboard-agent-bar > div { flex-basis: 0; background: var(--louwman-color); }

.louwman-dashboard-agent-group h4 { color: var(--louwman-color); }

.louwman-dashboard-agent-chips { display: flex; flex-wrap: wrap; gap: 6px; }

.louwman-dashboard-agent-chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border: var(--border-default-width) solid var(--louwman-color); border-radius: 999px; font-size: var(--font-size-sm); background: color-mix(in srgb, var(--louwman-color) 8%, var(--panel-bg)); }

.louwman-dashboard-agent-pause { padding: 0 6px; border-radius: var(--border-radius-sm); font-size: var(--font-size-xs); background: color-mix(in srgb, var(--warning) 25%, var(--panel-bg)); }

/*# sourceMappingURL=style.css.map */