.tel-workspace { position: relative; width: 100%; height: 100%; overflow: hidden; background: #f1f3f5; color: #101828; font-family: Inter, sans-serif; }
.tel-workspace * { box-sizing: border-box; }
.tel-scroll { height: 100%; overflow-y: auto; }
.tel-scroll { scrollbar-width: none; }.tel-scroll::-webkit-scrollbar { display: none; }
.tel-content { width: 100%; max-width: 1480px; margin: 0 auto; padding: 20px 28px; }
.tel-summary { padding: 20px; border-radius: 18px; background: #fff; box-shadow: 0 18px 44px -36px #0f172a8c; border: 1px solid #10182809; }
.tel-summary-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.tel-heading { display: flex; align-items: center; gap: 14px; min-width: 0; }
.tel-heading-icon { display: grid; flex: 0 0 44px; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #f0fdf4; color: #39a769; font-size: 24px; font-weight: 400; }
.tel-heading-icon svg,.tel-card-icon svg { width: 20px; height: 20px; }
.tel-heading h1 { margin: 0; color: #101828; font-size: 20px; font-weight: 600; line-height: 28px; }
.tel-heading p { margin: 2px 0 0; color: #667085; font-size: 13px; line-height: 20px; }
.tel-stats { display: grid; grid-template-columns: repeat(4, minmax(118px, 1fr)); gap: 8px; }
.tel-stat { min-width: 118px; padding: 10px 14px; border-radius: 12px; background: #f8f9fa; }
.tel-stat span { display: block; color: #98a2b3; font-size: 11px; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.tel-stat strong { display: block; margin-top: 4px; color: #344054; font-size: 18px; font-weight: 600; font-variant-numeric: tabular-nums; }
.tel-stat.is-answered { background: #f1faf5; }.tel-stat.is-answered span,.tel-stat.is-answered strong { color: #317c50; }
.tel-stat.is-missed { background: #fdf5f5; }.tel-stat.is-missed span,.tel-stat.is-missed strong { color: #cc4850; }
.tel-stat.is-talk { background: #f4f7fd; }.tel-stat.is-talk span,.tel-stat.is-talk strong { color: #3867b9; }
.tel-toolbar { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #eaecf0; }
.tel-tabs { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 12px; background: #f1f3f5; }
.tel-tabs button { min-height: 36px; padding: 8px 16px; border: 0; border-radius: 8px; background: transparent; color: #667085; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .16s, color .16s; }
.tel-tabs button:hover { color: #344054; }.tel-tabs button.is-active { background: #fff; color: #101828; box-shadow: 0 1px 3px #1018281a; }
.tel-agent-label { position: relative; width: 230px; }
.tel-agent-label .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.tel-agent-label::after { position: absolute; top: 50%; right: 14px; content: '⌄'; color: #98a2b3; transform: translateY(-58%); pointer-events: none; }
.tel-agent { width: 100%; height: 40px; padding: 0 36px 0 14px; appearance: none; border: 0; border-radius: 12px; background: #f1f3f5; color: #475467; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.tel-count { margin-left: auto; color: #98a2b3; font-size: 12px; font-weight: 500; white-space: nowrap; }
.tel-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.tel-card { display: grid; grid-template-columns: 44px minmax(220px,1fr) 220px 166px; align-items: center; gap: 20px; min-height: 82px; padding: 14px 20px; border: 1px solid #10182809; border-radius: 18px; background: #fff; box-shadow: 0 16px 28px -26px #0f172aa6; cursor: pointer; transition: transform .16s, box-shadow .16s; }
.tel-card:hover { transform: translateY(-1px); box-shadow: 0 20px 34px -24px #0f172a73; }
.tel-card:focus-visible { outline: 2px solid #677cd4; outline-offset: 2px; }
.tel-card-icon { display: grid; place-items: center; flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; font-weight: 400; }
.tel-card-icon.is-missed { position: relative; }.tel-card-icon.is-missed::after { position: absolute; top: 8px; right: 8px; content: '×'; color: inherit; font-size: 10px; font-weight: 700; }
.tel-card-icon.is-missed { background: #fdf2f2; color: #e35a5d; }.tel-card-icon.is-incoming { background: #f0fdf4; color: #2fa65c; }.tel-card-icon.is-outgoing { background: #f0f4ff; color: #4671df; }
.tel-card-person { min-width: 0; }.tel-card-title { display: flex; align-items: center; gap: 8px; min-width: 0; }.tel-card-title strong { overflow: hidden; color: #101828; font-size: 15px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.tel-status { flex: 0 0 auto; padding: 2px 8px; border-radius: 999px; background: #f1f3f5; color: #667085; font-size: 11px; font-weight: 600; }.tel-status.is-missed { background: #fef3f2; color: #dc484e; }.tel-status.is-answered { background: #ecfdf3; color: #25834b; }
.tel-card-sub { overflow: hidden; margin-top: 4px; color: #848b98; font-size: 12px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }.tel-dot { margin: 0 6px; color: #98a2b3; }
.tel-card-direction { display: flex; align-items: center; gap: 8px; }.tel-card-direction span { padding: 5px 10px; border-radius: 999px; background: #f1f3f5; color: #667085; font-size: 12px; font-weight: 600; }.tel-card-direction small { color: #667085; font-size: 12px; }
.tel-card-end { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }.tel-card-date { display: flex; flex-direction: column; align-items: flex-end; min-width: 104px; }.tel-card-date strong { color: #667085; font-size: 12px; font-weight: 600; white-space: nowrap; }.tel-card-date span { margin-top: 2px; color: #98a2b3; font-size: 11px; }.tel-card-end button,.tel-card-end i { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 36px; border: 0; border-radius: 50%; background: #f1f3f5; color: #667085; font-size: 13px; font-style: normal; cursor: pointer; }.tel-card-end i { background: transparent; cursor: default; }
.tel-empty { display: grid; place-content: center; min-height: 260px; padding: 24px; border-radius: 18px; background: #fff; color: #848b98; text-align: center; font-size: 13px; }.tel-empty h2 { margin: 0 0 6px; color: #101828; font-size: 16px; }.tel-empty p { margin: 0 0 12px; }.tel-empty button { justify-self: center; padding: 8px 16px; border-radius: 8px; background: #f1f3f5; }
.tel-more { padding: 10px 0; text-align: center; }.tel-more[hidden] { display: none; }.tel-more button { border: 0; background: transparent; color: #98a2b3; font: inherit; font-size: 12px; cursor: pointer; }
.tel-player { position: absolute; right: 0; bottom: 0; left: 0; padding: 12px 24px; border-top: 1px solid #eaecf0; background: #fff; box-shadow: 0 -12px 30px -26px #0f172a80; }.tel-player[hidden] { display: none; }.tel-player > div { display: flex; justify-content: space-between; align-items: center; max-width: 1480px; margin: 0 auto 6px; font-size: 12px; }.tel-player button { border: 0; background: none; font-size: 20px; cursor: pointer; }.tel-player audio { display: block; width: 100%; max-width: 1480px; height: 36px; margin: 0 auto; }
.tel-modal-backdrop { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; background: #10182880; }.tel-modal-backdrop[hidden] { display: none; }.tel-modal { width: min(512px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow: auto; border-radius: 16px; background: #fff; box-shadow: 0 18px 48px #1018283b; }.tel-modal header { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid #eaecf0; }.tel-modal h2 { margin: 0; font-size: 18px; font-weight: 600; }.tel-modal header button { border: 0; background: transparent; color: #667085; font-size: 24px; cursor: pointer; }.tel-modal-body { padding: 22px; }.tel-detail-heading { display: flex; align-items: center; gap: 12px; }.tel-detail-heading div { display: flex; flex-direction: column; gap: 3px; }.tel-detail-heading strong { font-size: 16px; }.tel-detail-heading span:not(.tel-card-icon) { color: #667085; font-size: 12px; }.tel-detail-chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0; }.tel-detail-chips span { padding: 6px 10px; border-radius: 7px; background: #f1f3f5; color: #667085; font-size: 12px; }.tel-modal dl { margin: 0; }.tel-modal dl div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #eaecf0; font-size: 12px; }.tel-modal dt { color: #98a2b3; }.tel-modal dd { margin: 0; color: #344054; text-align: right; }
@media (max-width: 1000px) { .tel-summary-top { align-items: flex-start; flex-direction: column; }.tel-stats { width: 100%; }.tel-card { grid-template-columns: 44px minmax(160px,1fr) 140px 140px; gap: 12px; } }
@media (max-width: 700px) { .tel-content { padding: 16px; }.tel-stats { grid-template-columns: repeat(2,1fr); }.tel-toolbar { flex-wrap: wrap; }.tel-count { width: 100%; margin: 0; }.tel-card { grid-template-columns: 44px minmax(0,1fr); }.tel-card-direction { grid-column: 2; }.tel-card-end { grid-column: 2; justify-content: space-between; }.tel-card-date { align-items: flex-start; }.tel-tabs { flex-wrap: wrap; } }
