:root {
    --sky: #f4f8fd;
    --ink: #152032;
    --soft-ink: #526176;
    --edge: #e8eef4;
    --blue: #116ae9;
    --green: #119858;
    --orange: #e98413;
    --card: #fff;
    color: var(--ink);
    font: 15px/1.45 Inter, 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
.reference-body { margin: 0; min-height: 100vh; background: var(--sky); }
.reference-body.live-view { background: radial-gradient(ellipse at 86% 107%, #d8e8fc 0, #e2eefe 31%, transparent 31.3%), radial-gradient(ellipse at 26% 110%, #e8f2fe 3%, transparent 53%), #f4f8fd; }
.reference-body h1, .reference-body p, .reference-body dl, .reference-body figure { margin: 0; }
.reference-body a { color: inherit; }
.reference-body button, .reference-body select, .reference-body summary { font: inherit; }
.reference-body :is(a, button, select, summary):focus-visible { outline: 2px solid #146df4; outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.reference-nav { max-width: 1320px; padding: 12px 22px; min-height: 59px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.reference-brand { display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0; font-weight: 725; text-decoration: none; letter-spacing: -.02em; }
.reference-brand span { display: grid; place-items: center; min-width: 28px; min-height: 28px; border-radius: 7px; color: white; background: #2174ee; font-size: .77rem; }
.reference-nav nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.reference-nav nav a { font-size: .84rem; font-weight: 650; color: #47566a; padding: 5px 9px; border-radius: 6px; text-decoration: none; white-space: nowrap; }
.reference-nav nav a[aria-current='page'], .reference-nav nav a:hover { color: #0c59c5; background: #e6f0ff; }
.reference-session { display: flex; align-items: center; gap: 9px; margin: 0; }
.reference-session span { color: var(--soft-ink); font-size: .81rem; white-space: nowrap; }
.reference-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; min-height: 39px; padding: 7px 12px; border: 1px solid #e1e8f0; border-radius: 7px; background: #fff; color: #252f3f; box-shadow: 0 2px 4px #1d3d5b05; font-size: .86rem !important; font-weight: 650 !important; white-space: nowrap; }
.reference-button:hover { background: #f7faff; }
.reference-session button { min-height: 31px; padding: 4px 9px; }
.reference-main { max-width: 1320px; padding: 4px 22px 70px; margin: auto; }
.reference-card { border: 1px solid #e9eef3; background: #fff; border-radius: 17px; box-shadow: 0 5px 20px #244b7220; }
.reference-header { display: flex; justify-content: space-between; align-items: center; gap: 17px; padding: 25px 25px 26px; }
.reference-title, .reference-actions { display: flex; align-items: center; gap: 12px; }
.reference-title h1 { font-size: 1.52rem; color: #142032; line-height: 1.15; letter-spacing: -.035em; }
.reference-title p { margin-top: 4px; color: #526071; font-size: .86rem; line-height: 1.35; }
.title-icon { flex: 0 0 43px; height: 43px; display: grid; place-content: center; border-radius: 9px; color: #fff; background: #2877ed; }
.waveform-icon { display: flex; align-items: center; justify-content: center; gap: 2px; }
.waveform-icon i { display: block; width: 2px; height: 5px; border-radius: 2px; background: #fff; transform: rotate(10deg); }
.waveform-icon i:nth-child(2) { height: 12px; }
.waveform-icon i:nth-child(3) { height: 18px; }
.waveform-icon i:nth-child(4) { height: 9px; }
.reference-body .live-metrics { display: flex; align-items: flex-start; margin-left: auto; font-variant-numeric: tabular-nums; }
.live-metrics > div { padding: 0 13px; border-left: 1px solid #eef2f7; display: flex; align-items: flex-start; gap: 7px; white-space: nowrap; }
.live-metrics > div > div { display: flex; flex-direction: column; }.live-metrics dd { order: -1; }
.live-metrics dt { color: #5e6b7d; font-size: .72rem; margin-top: 3px; }
.live-metrics dd { margin: 0; color: #176ddf; font-weight: 750; font-size: 1.08rem; line-height: 1.1; }
.metric-icon { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 7px; color: #2675df; background: #eaf3ff; font-size: 1.1rem; }
.handset-icon { position: relative; display: block; height: 15px; width: 15px; transform: rotate(4deg); border-left: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; border-bottom-left-radius: 13px; }
.handset-icon::before, .handset-icon::after { content: ''; position: absolute; border: 1.3px solid currentColor; border-radius: 2px; background: #eaf3ff; }
.handset-icon::before { top: -1px; left: -1px; width: 5px; height: 6px; transform: rotate(-20deg); }.handset-icon::after { bottom: -1px; right: -1px; width: 6px; height: 5px; transform: rotate(-20deg); }
.agents-icon { position: relative; display: block; width: 11px; height: 6px; margin-top: 7px; border: 1.5px solid currentColor; border-radius: 5px 5px 2px 2px; }
.agents-icon::before, .agents-icon::after { content: ''; position: absolute; width: 6px; height: 6px; top: -8px; left: 1px; border: 1.4px solid currentColor; border-radius: 50%; }.agents-icon::after { left: 7px; opacity: .5; }
.filter { position: relative; }
.filter summary { list-style: none; }
.filter summary::-webkit-details-marker { display: none; }
.filter-icon { width: 14px; height: 13px; background: currentColor; clip-path: polygon(0 0, 100% 0, 67% 56%, 67% 83%, 39% 100%, 39% 56%, 16% 20%, 28% 20%, 48% 51%, 48% 82%, 56% 77%, 56% 51%, 77% 15%, 9% 15%); }
.filter-panel { display: grid; gap: 9px; position: absolute; right: 0; top: calc(100% + 7px); width: 220px; padding: 13px; border: 1px solid #dfe8f2; background: #fff; border-radius: 9px; box-shadow: 0 9px 24px #20375820; z-index: 3; }
.filter-panel label { display: grid; gap: 4px; color: #3a495c; font-size: .82rem; font-weight: 650; }
.filter-panel select { width: 100%; border: 1px solid #d5e1ee; background: white; color: var(--ink); border-radius: 5px; padding: 6px; }
.filter-panel .apply { margin-top: 7px; color: white; background: var(--blue); border-color: var(--blue); }
.filter-panel a { color: #105ab9; text-decoration: none; font-size: .85rem; }
.icon-button { min-width: 38px; font-size: 1.1rem !important; min-height: 37px; padding-inline: 6px; }
.reference-table-wrap { margin: 0 21px 32px; border-radius: 9px; overflow: auto; }
.reference-body table { width: 100%; border-collapse: separate; border-spacing: 0; text-align: left; }
.live-table { min-width: 690px; }
.live-table th { height: 43px; padding: 9px 15px; background: #f3f7fb; color: #556276; font-size: .78rem; font-weight: 650; white-space: nowrap; }
.live-table th button { padding: 0; background: transparent; color: inherit; border: none; cursor: pointer; font-size: inherit; font-weight: inherit; }
.live-table td { height: 65px; padding: 8px 15px; font-size: .81rem; border-bottom: 1px solid #edf0f5; vertical-align: middle; }
.live-table tr:hover td { background: #fafcfe; }
.live-table strong { color: #202b3b; display: block; font-weight: 700; }
.live-table small { color: #617084; font-size: .75rem; line-height: 1.3; }
.agent-person { display: flex; align-items: center; gap: 9px; }
.avatar { display: inline-grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; position: relative; border-radius: 50%; background: #d7ebfb; color: #225482; font-size: .77rem; font-weight: 730; }
.avatar.present::after { content: ''; width: 8px; height: 8px; border: 2px solid #fff; border-radius: 50%; background: #21a863; position: absolute; right: -1px; bottom: -1px; }
.shade-1 { background: #d7eff4; color: #2e5b6a; }.shade-2 { background: #eee4fb; color: #674893; }.shade-3 { background: #fff0cf; color: #7d5a17; }.shade-4 { background: #e1ecfd; color: #345f94; }.shade-5 { background: #fbe3ed; color: #8b4668; }
.phone-cell, .timer, .call-type { white-space: nowrap; font-variant-numeric: tabular-nums; }
.flag-india { display: inline-block; width: 14px; height: 10px; margin-right: 7px; border: 1px solid #e7ebf3; border-radius: 2px; vertical-align: -1px; background: radial-gradient(circle at center, #224da5 0 1.2px, transparent 1.35px), linear-gradient(#ff9f46 0 33.3%, #fff 33.3% 66.6%, #2ca05c 66.6%); }
.outbound-icon { margin-right: 8px; color: #1eae72; font-size: 1.05rem; font-weight: 700; }
.call-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; border-radius: 6px; font-size: .72rem; font-weight: 690; white-space: nowrap; }
.call-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.call-pill.green { color: #128850; background: #e7f8ef; }.call-pill.blue { color: #216ce0; background: #e8f1ff; }.call-pill.orange { color: #c46d10; background: #fff2df; }.call-pill.gray { color: #5f6f82; background: #edf2f7; }
.row-menu { cursor: pointer; border: 0; background: transparent; padding: 2px 6px; border-radius: 5px; color: #39485a; font-weight: 750 !important; }
.row-menu:hover { background: #e8f1ff; }
.live-table .empty-live { height: 180px; text-align: center; color: #667587; }
.empty-link { display: block; margin-top: 6px; color: #1061cc !important; font-weight: 650; }
.reference-notice { padding: 9px 14px; margin: 0 22px 13px !important; border-radius: 7px; background: #e9f5ff; color: #164775; }
.reference-notice.error { background: #ffeff0; color: #9c3942; }
.call-preview { position: fixed; right: max(15px, calc((100vw - 1340px) / 2)); bottom: 23px; z-index: 2; width: 253px; max-width: calc(100vw - 30px); padding: 13px 14px; border: 1px solid #e5edf6; background: #fff; border-radius: 13px; box-shadow: 0 8px 21px #34547723; }
.preview-heading, .preview-person { display: flex; align-items: center; gap: 8px; }
.preview-heading { justify-content: space-between; color: #566679; font-size: .72rem; font-variant-numeric: tabular-nums; }
.preview-heading .call-pill { margin-right: auto; text-transform: uppercase; }
.preview-heading button { border: 0; background: transparent; cursor: pointer; font-size: 1rem; color: #596a7d; }
.preview-person { padding: 11px 0 10px; }
.preview-person strong, .preview-person span:not(.avatar) { display: block; }
.preview-person strong { font-size: .88rem; }
.preview-person span:not(.avatar) { font-size: .75rem; color: #5e6a7c; }
.preview-person .avatar { width: 46px; height: 46px; flex-basis: 46px; }
.preview-meter { display: flex; align-items: center; justify-content: center; gap: 2px; height: 24px; border-bottom: 1px solid #f1f5f8; }
.preview-meter i { width: 2px; height: 2px; background: #a5c4b5; border-radius: 2px; }
.preview-meter.connected i { background: #65b691; height: 4px; }.preview-meter.connected i:nth-child(5n) { height: 8px; }.preview-meter.connected i:nth-child(7n) { height: 13px; }.preview-meter.connected i:nth-child(9n) { height: 17px; }
.preview-buttons { display: flex; justify-content: space-between; gap: 2px; margin-top: 10px; }
.preview-buttons div { text-align: center; color: #667385; }
.preview-buttons div span { display: block; font-size: .65rem; }
.preview-buttons button { border: 1px solid #ebf0f5; border-radius: 50%; height: 36px; width: 36px; background: white; color: #526476; box-shadow: 0 2px 5px #384d6513; }
.preview-buttons button:disabled { opacity: .54; cursor: default; }
.preview-buttons .end-call { background: #ed3444; color: white; border-color: #ed3444; cursor: pointer; }
.report-card { padding-bottom: 26px; }
.report-card .reference-header { padding: 25px 30px 18px; }
.phone-icon { color: #246ce9; background: #eaf1ff; font-size: 1.45rem; }
.phone-icon .handset-icon { transform: rotate(4deg) scale(1.35); }
.period-control { display: flex; align-items: center; position: relative; }
.period-control select { padding-left: 34px; min-width: 142px; }
.calendar-icon { pointer-events: none; position: absolute; left: 12px; width: 15px; height: 14px; border: 1.5px solid #53627a; border-radius: 3px; border-top-width: 3px; }
.report-content { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 34px; align-items: center; padding: 5px 30px 22px; }
.report-content .donut { position: relative; width: min(100%, 430px); margin-inline: auto; }
.donut canvas { display: block; width: 100%; height: auto; }
.donut figcaption { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; }
.donut strong { color: #111a29; font-size: clamp(1.6rem, 4vw, 2.34rem); line-height: 1.1; letter-spacing: -.035em; }
.donut figcaption span { color: #53667d; font-size: .98rem; margin-top: 5px; }
.disposition-table th, .disposition-table td { padding: 11px 2px; border-bottom: 1px solid #edf0f4; }
.disposition-table th { font-size: .87rem; color: #48586d; font-weight: 650; }
.disposition-table td { font-size: .91rem; color: #202a38; }
.disposition-table :is(th, td):not(:first-child) { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.disposition-dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 13px; vertical-align: -1px; background: #99a9b4; }
.disposition-dot.connected { background: #0967ef; }.disposition-dot.not-interested { background: #00b563; }.disposition-dot.follow-up { background: #ff9800; }.disposition-dot.busy { background: #7d4bcb; }.disposition-dot.no-answer { background: #00afc4; }.disposition-dot.wrong-number { background: #ff4149; }
.reference-body .report-totals { display: grid; grid-template-columns: repeat(4, 1fr); padding: 17px 11px; background: #f3f7fc; border: 1px solid #eef3fa; border-radius: 10px; margin: 0 30px; }
.report-totals div { padding: 0 14px; }
.report-totals div + div { border-left: 1px solid #e0e8f3; }
.connected-kpi { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; }
.bars-icon { display: flex; align-items: flex-end; justify-content: center; gap: 3px; grid-row: span 2; align-self: center; width: 45px; height: 45px; padding-bottom: 11px; border-radius: 9px; color: #116be8; background: #e6f0ff; }
.bars-icon i { background: currentColor; width: 4px; height: 9px; border-radius: 3px; }.bars-icon i:nth-child(2) { height: 15px; }.bars-icon i:nth-child(3) { height: 21px; }
.report-totals dt { color: #43566e; font-size: .86rem; }
.report-totals dd { margin: 4px 0 0; color: #1268e6; font-size: 1.44rem; font-weight: 730; font-variant-numeric: tabular-nums; }
.report-totals div:nth-child(2) dd, .report-totals div:nth-child(4) dd { color: #159f5a; }.report-totals div:nth-child(3) dd { color: #e68113; }

.support-view { --accent: #156ce4; --line: #e8eef4; }
.support-view .workspace { display: block; }
.support-view .main-shell { max-width: 1320px; margin-inline: auto; }
.support-view .card, .support-view .metrics { border-radius: 15px; box-shadow: 0 3px 13px #244b720c; }
.support-view .call-display { background: #eff6ff; border-color: #e2edfc; }
.support-view .call-display.needs-review { background: #fff7e8; border-color: #fae7c3; }
.support-view :is(button, .button):not(.secondary):not(.reference-button):hover { background: #0b56bd; }
.support-view .call-dot { background: #8bb4e7; box-shadow: 0 0 0 5px #e4effd; }
.support-view .call-display.is-active .call-dot { background: var(--blue); }
.support-view .sign-in { background: radial-gradient(ellipse at 93% 100%, #dcecff 0, transparent 65%), #f3f8ff; }
.support-view .sign-in-panel { border-color: #e3edf8; box-shadow: 0 14px 35px #18355516; }
.support-view .brand-mark { color: #fff; background: #2275ef; }

@media (max-width: 980px) {
    .reference-header { flex-wrap: wrap; }.reference-title { flex: 1 0 100%; }
    .reference-body .live-metrics { margin-right: auto; margin-left: 0; }.live-metrics > div:first-child { border-left: 0; padding-left: 0; }
    .report-card .reference-title { flex: 1 1 auto; }
}
@media (min-width: 711px) and (max-width: 1100px) {
    .report-card .reference-header { padding-block: 19px 11px; }
    .report-content { padding-bottom: 16px; }
    .report-content .donut { width: min(100%, 394px); }
    .report-card { padding-bottom: 21px; }
}
@media (max-width: 710px) {
    .reference-nav { flex-wrap: wrap; }.reference-nav nav { order: 3; width: 100%; }.reference-nav, .reference-main { padding-inline: 12px; }
    .reference-header, .report-card .reference-header { padding: 17px 15px; }
    .reference-table-wrap { margin-inline: 12px; }
    .report-content { grid-template-columns: 1fr; padding: 7px 17px 19px; gap: 13px; }
    .report-content .donut { width: min(100%, 345px); }.reference-body .report-totals { grid-template-columns: 1fr 1fr; margin-inline: 16px; gap: 11px 0; padding: 12px 2px; }.report-totals div:nth-child(3) { border-left: 0; }
    .live-metrics > div { padding-inline: 9px; }.live-metrics dd { font-size: .98rem; }
}
@media (max-width: 480px) { .bars-icon { display: none; }.connected-kpi { display: block; } }
