:root { --ink:#14243a; --muted:#65748a; --line:#dde5ee; --paper:#fff; --bg:#f4f7fb; --teal:#296ccf; --teal-soft:#e4efff; --orange:#eb8a3e; --blue:#296ccf; --navy:#13263d; --red:#c64b4b; }
* { box-sizing:border-box; }
[hidden] { display:none!important; }
.employee-label { display:grid;gap:6px;margin:0 0 12px;color:#526278;font-size:12px;font-weight:700; }.employee-label select { width:100%; }
.settings-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px; }.settings-grid .table-card { margin:0; }.settings-grid h2 { margin:0 0 15px;font-size:17px; }.settings-grid form { display:flex;flex-wrap:wrap;gap:8px; }.settings-grid form input { flex:1 1 170px; }.settings-grid form select { flex:1 1 140px; }.settings-grid form .button { min-height:39px; }.settings-list { display:grid;gap:7px;margin-top:15px; }.setting-row { display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-top:1px solid #edf1f6; }.setting-row span { display:grid;gap:2px; }.setting-row small,.settings-empty { color:#738197;font-size:12px; }.settings-empty { margin:0;padding:8px 0; }
@media (max-width:760px) { .settings-grid { grid-template-columns:1fr; } }
body { margin:0; color:var(--ink); background:var(--bg); font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size:14px; }
.login-screen { min-height:100vh;padding:24px;display:grid;place-items:center;background:radial-gradient(circle at 20% 15%,#dff7f3 0,transparent 32%),radial-gradient(circle at 85% 80%,#dfeafd 0,transparent 32%),#f5f8fc; }.login-card { width:min(100%,400px);display:grid;gap:14px;padding:34px;border:1px solid #dce6ef;border-radius:20px;background:#fff;box-shadow:0 20px 55px #13263d1a; }.login-mark { width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:var(--teal);color:#fff;font-size:23px;font-weight:800; }.login-card h1 { margin:0;color:#13263d;font-size:27px;letter-spacing:-.045em; }.login-card>p:not(.eyebrow):not(.login-error) { margin:-4px 0 7px;color:var(--muted);line-height:1.5; }.login-card label { display:grid;gap:7px;color:#506178;font-size:12px;font-weight:750; }.login-card .button { margin-top:5px; }.login-error { margin:0;padding:10px 12px;border-radius:8px;background:#fff0f0;color:#a33d3d;font-size:12px;line-height:1.4; }.logout-button { display:block;margin-top:8px;padding:0;border:0;background:transparent;color:#9fc3df;font-size:12px;font-weight:700; }.logout-button:hover { color:#fff; }
.login-link { justify-self:start;padding:0;border:0;background:transparent;color:#087970;font-size:12px;font-weight:750; }
.call-summary { margin-top:22px; }.call-timeline { display:grid;gap:9px; }.call-timeline-row { display:grid;grid-template-columns:45px minmax(0,1fr) 120px;align-items:center;gap:10px;color:#435972;font-size:12px; }.call-timeline-row>b { color:#1d3854; }.call-timeline-row>span { overflow:hidden;height:15px;border-radius:99px;background:#eef3f7; }.call-timeline-row i { display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0e8e86,#55c7ba); }.call-timeline-row em { color:#708197;font-style:normal;text-align:right; }.call-hours { display:flex;align-items:end;gap:9px;min-height:170px;padding:13px 0 0;overflow:auto; }.call-hour { min-width:68px;display:grid;grid-template-rows:auto 92px auto auto;gap:5px;text-align:center;color:#60738a;font-size:11px; }.call-hour>b { color:#29435f; }.call-hour>span { display:flex;align-items:end;justify-content:center;border-bottom:1px solid #dae4ed; }.call-hour i { width:24px;border-radius:6px 6px 0 0;background:linear-gradient(#42bfb2,#0e8e86); }.call-hour strong { color:#18324d;font-size:15px; }.call-hour small { color:#8190a4;white-space:nowrap; }
button,input,select { font:inherit; } button { cursor:pointer; } .app-shell { min-height:100vh; }
.sidebar { position:fixed; inset:0 auto 0 0; width:264px; padding:25px 16px 18px; color:#dbe7f6; background:var(--navy); display:flex; flex-direction:column; z-index:5; }
.brand { display:flex; align-items:center; gap:10px; color:inherit; text-decoration:none; line-height:1; }.brand-mark { width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:#50c6b7;color:#123048;font-weight:800;font-size:17px; }.brand b { display:block;font-size:17px;letter-spacing:-.03em; }.brand small { color:#88a2bf;font-size:12px; }
.nav-caption { margin:45px 11px 8px; color:#6f89a6; text-transform:uppercase; font-size:10px; letter-spacing:.12em; font-weight:700; }.nav-caption-bottom { margin-top:auto; }
.navigation { display:grid; gap:4px; }.navigation a { display:flex;align-items:center;gap:11px;padding:11px;border-radius:9px;color:#c8d5e5;text-decoration:none;transition:.15s; }.navigation a span { width:17px;text-align:center;color:#8aa7c4;font-size:18px; }.navigation a:hover,.navigation a.active { background:#1e3a59;color:#fff; }.navigation a.active span { color:#62d2c4; }.sidebar-foot { margin:26px 11px 0; color:#8aa2bb;font-size:11px;line-height:1.55; }.sidebar-foot span { color:#597794; }
.content { margin-left:264px; padding:42px 48px 64px; max-width:1600px; }.mobile-head { display:none; }.page { animation:appear .2s ease-out; }.hidden { display:none!important; } @keyframes appear { from { opacity:0;transform:translateY(4px);} to {opacity:1;transform:none;} }
.page-heading { display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:29px; }.eyebrow { margin:0 0 7px;color:var(--teal);font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:800; }.page-heading h1,.coming-soon h1 { margin:0;color:#102138;letter-spacing:-.045em;font-size:34px;line-height:1.1; }.page-heading p:not(.eyebrow) { margin:8px 0 0;color:var(--muted);font-size:15px; }.primary-link,.button { min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:0 16px;border:0;border-radius:9px;background:var(--teal);color:#fff;text-decoration:none;font-weight:700;box-shadow:0 5px 14px #0e8e8624; }.primary-link:hover,.button:hover { background:#087970; }
.filter-panel { display:flex;align-items:end;gap:13px;padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:var(--paper);box-shadow:0 3px 12px #13263d08; }.filter-panel label { display:grid;gap:7px;color:#526278;font-size:12px;font-weight:700; }.date-range { display:flex;align-items:center;gap:7px; }.date-range i { font-style:normal;color:#94a3b8; } input,select { height:39px;border:1px solid #cfd9e5;border-radius:7px;background:#fff;color:var(--ink);padding:0 10px;outline:none; } input:focus,select:focus { border-color:var(--teal);box-shadow:0 0 0 3px #0e8e8618; }.filter-panel select { min-width:188px; }.filter-panel .button { min-height:39px; }
.period-shortcuts { display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:11px 0 0;color:#6b7b90;font-size:12px;font-weight:700; }.period-shortcuts button { border:1px solid #d9e3ed;border-radius:999px;background:#fff;color:#53657a;padding:6px 10px;font-size:12px;font-weight:700; }.period-shortcuts button:hover,.period-shortcuts button.active { border-color:#a8ded7;background:var(--teal-soft);color:#087970; }
.first-line-pulse { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:24px 0 0; }.pulse-card { min-height:118px;display:grid;align-content:center;gap:5px;padding:17px 18px;border:1px solid #dce7ef;border-radius:15px;background:linear-gradient(145deg,#fff,#f9fbfd);box-shadow:0 8px 20px #13263d09; }.pulse-card span,.pulse-card small { color:#718198;font-size:12px; }.pulse-card strong { color:#142f4b;font-size:29px;letter-spacing:-.055em; }.pulse-card small { line-height:1.35; }.pulse-0 { border-top:3px solid var(--teal); }.pulse-1 { border-top:3px solid var(--blue); }.pulse-2 { border-top:3px solid var(--orange); }.pulse-3 { border-top:3px solid #7558b3; }
.view-switch { display:flex;gap:4px;width:max-content;margin:24px 0 19px;padding:4px;border-radius:9px;background:#e9eef5; }.view-switch button { border:0;background:transparent;color:#526278;border-radius:6px;padding:8px 12px;font-weight:700;font-size:13px; }.view-switch button.active { color:var(--ink);background:#fff;box-shadow:0 1px 4px #13263d1c; }.report-note { margin:-7px 0 17px;padding:10px 13px;border-radius:8px;background:#fff8e6;color:#79591f;font-size:13px; }
.metric-groups { display:grid;gap:23px; }.metric-group h2 { margin:0 0 11px;font-size:14px;letter-spacing:-.015em; }.metric-grid { display:grid;grid-template-columns:repeat(4,minmax(160px,1fr));gap:11px; }.metric { min-height:112px;padding:16px;border:1px solid var(--line);border-radius:11px;background:var(--paper);box-shadow:0 2px 9px #13263d06; }.metric .metric-label { display:block;color:var(--muted);font-size:12px;line-height:1.35; }.metric strong { display:block;margin-top:12px;color:#11243a;font-size:24px;letter-spacing:-.04em; }.metric small { display:block;margin-top:4px;color:#8190a4;font-size:11px; }.metric small.above-average { color:#198754;font-weight:700; }.metric small.below-average { color:var(--red);font-weight:700; }.metric.teal { border-top:3px solid var(--teal); }.metric.orange { border-top:3px solid var(--orange); }.metric.blue { border-top:3px solid var(--blue); }.metric.navy { border-top:3px solid var(--navy); }
.charts-card,.table-card { margin-top:28px;padding:21px;border:1px solid var(--line);border-radius:12px;background:var(--paper);box-shadow:0 3px 12px #13263d07; }.card-heading { display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:17px; }.card-heading h2 { margin:0;font-size:17px;letter-spacing:-.025em; }.card-heading p { margin:5px 0 0;color:var(--muted);font-size:12px; }.chart-period { padding:6px 9px;border-radius:6px;background:#edf3f8;color:#607087;font-size:11px;white-space:nowrap; }.charts-grid { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:19px; }.chart-wrap { min-height:220px;border:1px solid #e7edf4;border-radius:9px;padding:14px; }.chart-wrap h3 { margin:0 0 8px;font-size:12px;color:#53647b; }.chart-wrap canvas { width:100%;height:170px;display:block; }.table-scroll { overflow:auto; } table { border-collapse:collapse;width:100%;min-width:760px; } th { padding:10px 11px;color:#7a899d;background:#f7f9fc;text-align:right;font-size:11px;text-transform:uppercase;letter-spacing:.04em;white-space:nowrap; } th:first-child,td:first-child { text-align:left; } td { padding:11px;border-bottom:1px solid #edf1f6;text-align:right;white-space:nowrap;color:#2d4057; } tr:last-child td { border-bottom:0; }.employee-detail-table table { min-width:1500px; }.employee-detail-table th { text-align:center;vertical-align:middle; }.employee-detail-table td { font-size:12px; }.plan-table { min-width:1510px; }.plan-table th { text-align:center;vertical-align:middle; }.plan-table td { font-size:12px; }.plan-table td small { display:block;margin-top:3px;color:#738197;font-size:10px; }.quality-input { display:flex;align-items:center;gap:6px; }.quality-input input { width:68px;height:33px; }.quality-input .button,.plan-target-row .button { min-height:33px;padding:0 9px;font-size:11px; }.achievement-good { background:#dff7e5!important;color:#13793a!important;font-weight:800; }.achievement-warning { background:#fff5d9!important;color:#805c14!important;font-weight:800; }.achievement-low { background:#ffe7e7!important;color:#a23b3b!important;font-weight:800; }.plan-target-row label { display:flex;align-items:center;gap:6px; }.plan-target-row input { width:88px;height:33px; } #plan-settings-form label { display:grid;gap:5px;color:#526278;font-size:11px;font-weight:700; } #plan-settings-form input { width:120px; }
.upload-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px; }.upload-card { min-height:276px;padding:22px;border:1px solid var(--line);border-radius:13px;background:var(--paper); }.upload-card.ready { border-color:#a8ded7;background:linear-gradient(145deg,#fff 0%,#f0fbf9 100%); }.upload-icon { width:38px;height:38px;display:grid;place-items:center;margin-bottom:24px;border-radius:10px;background:#e4f5f2;color:var(--teal);font-size:22px;font-weight:700; }.waiting .upload-icon { background:#f6efe6;color:#b77a42; }.upload-card h2 { margin:0;font-size:19px;letter-spacing:-.03em; }.upload-card>p:not(.eyebrow):not(.upload-status) { min-height:58px;margin:9px 0 18px;color:var(--muted);line-height:1.5; }.upload-button,.outline-button { display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 13px;border-radius:7px;font-weight:700;font-size:13px; }.upload-button { background:var(--teal);color:#fff;cursor:pointer; }.outline-button { border:1px solid #d8e0e9;background:#f8fafc;color:#8996a7;cursor:not-allowed; }.upload-status { margin:12px 0 0;color:#718197;font-size:12px; }.imports-card { margin-top:21px; }.empty-state { padding:18px;border-radius:8px;background:#f8fafc;color:#7c8ba0;text-align:center; }.imports-list { display:grid;gap:8px; }.import-row { display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #edf1f6; }.import-row:last-child { border-bottom:0; }.import-name { font-weight:700; }.import-meta { margin-top:4px;color:#738197;font-size:12px; }.delete-button { border:0;background:#fff0f0;color:var(--red);border-radius:7px;padding:7px 10px;font-weight:700;font-size:12px; }.delete-button:hover { background:#ffe4e4; }
.coming-soon { min-height:65vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center; }.coming-soon>span { display:grid;place-items:center;width:62px;height:62px;margin-bottom:21px;border-radius:19px;background:var(--teal-soft);color:var(--teal);font-size:30px; }.coming-soon p:not(.eyebrow) { max-width:390px;color:var(--muted);font-size:15px;line-height:1.6; }.toast { position:fixed;right:22px;bottom:21px;z-index:10;max-width:370px;padding:12px 15px;border-radius:9px;background:#152a43;color:#fff;box-shadow:0 12px 35px #13263d3b;opacity:0;transform:translateY(14px);pointer-events:none;transition:.2s; }.toast.show { opacity:1;transform:none; }.toast.error { background:#9d3e3e; }
@media (max-width:1100px) { .content { padding:31px 28px 55px; }.metric-grid,.first-line-pulse { grid-template-columns:repeat(3,1fr); }.upload-grid { grid-template-columns:1fr; }.upload-card { min-height:auto; }.upload-card>p:not(.eyebrow):not(.upload-status) { min-height:0; } }
@media (max-width:760px) { .sidebar { display:none; }.content { margin:0;padding:0 15px 36px; }.mobile-head { height:68px;display:flex;align-items:center;justify-content:space-between;margin:0 -15px 26px;padding:0 15px;background:var(--navy);color:#fff; }.icon-button { width:37px;height:37px;border:1px solid #3a5775;border-radius:8px;background:transparent;color:#d7e3ef;font-size:18px; }.sidebar.open { display:flex;position:fixed;inset:68px 0 0;width:auto; }.page-heading { margin-bottom:21px; }.page-heading h1,.coming-soon h1 { font-size:29px; }.primary-link { display:none; }.filter-panel { display:grid;grid-template-columns:1fr;padding:15px; }.date-range input { min-width:0;width:100%; }.filter-panel select { min-width:0;width:100%; }.filter-panel .button { width:100%; }.metric-grid,.first-line-pulse { grid-template-columns:repeat(2,minmax(0,1fr));gap:8px; }.metric { min-height:102px;padding:13px; }.metric strong,.pulse-card strong { font-size:21px; }.pulse-card { min-height:103px;padding:13px; }.charts-grid { grid-template-columns:1fr; }.charts-card,.table-card { margin-top:20px;padding:15px; }.chart-wrap { min-height:190px; }.chart-wrap canvas { height:140px; }.view-switch { margin-top:18px;overflow:auto;max-width:100%; }.view-switch button { white-space:nowrap; }.card-heading { align-items:start; }.chart-period { display:none; }.coming-soon { min-height:60vh; }.toast { right:15px;left:15px;bottom:15px; } }

.plan-report-layout { display:grid;grid-template-columns:minmax(0,1.7fr) minmax(290px,.65fr);gap:16px;align-items:start; }.plan-report-list { display:grid;gap:8px; }.plan-list-row { display:grid;grid-template-columns:30px minmax(152px,1.35fr) minmax(82px,.7fr) minmax(110px,.9fr) minmax(98px,.8fr);align-items:center;gap:8px;width:100%;padding:14px 15px;border:1px solid #e2eaf2;border-radius:11px;background:#fff;color:var(--ink);text-align:left;transition:border-color .15s,box-shadow .15s,transform .15s; }.plan-list-row:hover { border-color:#9bd8d2;box-shadow:0 5px 14px #13263d0c;transform:translateY(-1px); }.plan-list-row:focus-visible { outline:3px solid #0e8e8630;outline-offset:2px; }.plan-list-row.selected { border-color:var(--teal);background:linear-gradient(90deg,#edf9f7 0%,#fff 40%);box-shadow:inset 4px 0 var(--teal),0 5px 14px #13263d0d; }.plan-list-rank { display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:var(--navy);color:#fff;font-size:11px;font-weight:800; }.plan-list-person { display:grid;gap:3px;min-width:0; }.plan-list-person b { overflow:hidden;font-size:13px;text-overflow:ellipsis;white-space:nowrap; }.plan-list-person small { overflow:hidden;color:#788aa0;font-size:10px;text-overflow:ellipsis;white-space:nowrap; }.plan-list-total,.plan-list-metric { display:grid;gap:2px;min-width:0; }.plan-list-total small,.plan-list-metric small { overflow:hidden;color:#788aa0;font-size:9px;font-weight:800;letter-spacing:.04em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap; }.plan-list-total b { color:#223b57;font-size:18px;letter-spacing:-.04em; }.plan-list-total em,.plan-list-metric em { overflow:hidden;font-size:10px;font-style:normal;text-overflow:ellipsis;white-space:nowrap; }.plan-list-metric b { overflow:hidden;color:#2a425e;font-size:12px;text-overflow:ellipsis;white-space:nowrap; }.plan-progress { display:block;overflow:hidden;height:5px;margin-top:3px;border-radius:99px;background:#e6edf3; }.plan-progress i { display:block;height:100%;border-radius:inherit;background:var(--teal); }.achievement-good .plan-progress i,.plan-list-metric em.achievement-good + .plan-progress i { background:#2d9b58; }.achievement-warning .plan-progress i,.plan-list-metric em.achievement-warning + .plan-progress i { background:#d89527; }.achievement-low .plan-progress i,.plan-list-metric em.achievement-low + .plan-progress i { background:#c64b4b; }.plan-list-total.achievement-good,.plan-list-total.achievement-warning,.plan-list-total.achievement-low { padding:5px 7px;border-radius:8px; }.plan-list-total.achievement-good { background:#effaf2!important; }.plan-list-total.achievement-warning { background:#fff8e7!important; }.plan-list-total.achievement-low { background:#fff0f0!important; }.plan-employee-detail { position:sticky;top:20px;min-height:250px;padding:18px;border:1px solid #dce7f0;border-radius:12px;background:#fafdff;box-shadow:0 5px 16px #13263d0a; }.plan-detail-header { display:flex;justify-content:space-between;gap:15px;padding-bottom:14px;border-bottom:1px solid #e5edf4; }.plan-detail-header h3 { margin:0;color:#19334f;font-size:19px;letter-spacing:-.035em; }.plan-detail-header p:not(.eyebrow) { margin:4px 0 0;color:#71849a;font-size:11px; }.plan-detail-total { min-width:82px;padding:7px;border-radius:9px;text-align:right; }.plan-detail-total small { display:block;color:#657b94;font-size:9px;font-weight:800;letter-spacing:.04em;text-transform:uppercase; }.plan-detail-total b { display:block;margin-top:2px;color:#1f3854;font-size:21px;letter-spacing:-.05em; }.plan-detail-total.achievement-good { background:#e9f8ee!important; }.plan-detail-total.achievement-warning { background:#fff5db!important; }.plan-detail-total.achievement-low { background:#fee8e8!important; }.plan-detail-summary,.plan-detail-values { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px; }.plan-detail-summary { margin:15px 0;padding-bottom:15px;border-bottom:1px solid #e5edf4; }.plan-detail-values { grid-template-columns:repeat(3,minmax(0,1fr)); }.plan-stat { display:grid;gap:2px;min-width:0; }.plan-stat small { overflow:hidden;color:#7b8ba0;font-size:9px;letter-spacing:.04em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap; }.plan-stat b { overflow:hidden;color:#2e435d;font-size:12px;text-overflow:ellipsis;white-space:nowrap; }.plan-detail-section { padding:13px 0;border-bottom:1px solid #e5edf4; }.plan-detail-section:last-child { border-bottom:0; }.plan-detail-section h4 { margin:0 0 10px;color:#536a84;font-size:11px;letter-spacing:.05em;text-transform:uppercase; }.plan-detail-section .plan-progress { margin-top:10px; }.quality-detail p { margin:10px 0 0;color:#74869d;font-size:11px; }.quality-input { display:flex;align-items:center;gap:6px; }.quality-input input { width:68px;height:33px; }.quality-input .button { min-height:33px;padding:0 10px;font-size:11px; }.plan-list-empty,.plan-detail-empty { padding:21px;border-radius:9px;background:#f4f8fb;color:#74869d;text-align:center; }.plan-detail-empty { min-height:180px;display:grid;place-items:center; }
.plan-report-controls { flex-wrap:wrap; }.plan-report-controls label { min-width:158px; }.outline-control { width:39px;min-height:39px;border:1px solid #cfd9e5;border-radius:8px;background:#fff;color:#2e556f;font-size:19px;font-weight:800; }.outline-control:hover { border-color:#87cfc6;background:#edf9f7;color:#087970; }
@media (max-width:980px) { .plan-report-layout { grid-template-columns:1fr; }.plan-employee-detail { position:static; }.plan-list-row { grid-template-columns:30px minmax(150px,1.35fr) minmax(90px,.75fr) minmax(132px,1fr) minmax(120px,.9fr); } }
@media (max-width:640px) { .plan-list-row { grid-template-columns:28px minmax(0,1fr) 76px;gap:8px;padding:12px; }.plan-list-row .plan-list-metric,.plan-list-row .plan-list-quality { display:none; }.plan-list-total { text-align:right; }.plan-list-total em { display:none; }.plan-detail-summary { grid-template-columns:repeat(2,minmax(0,1fr)); }.plan-detail-values { gap:5px; } }

/* Selected direction: light business dashboard for the first-line report. */
.first-line-page { max-width:1320px; }
.first-line-page .page-heading { margin-bottom:20px; }
.first-line-page .page-heading h1 { font-size:38px; }
.first-line-filter-row { display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:23px; }
.first-line-filter-panel { flex:1;min-width:0;padding:14px 16px;border-radius:16px;box-shadow:0 10px 30px #13263d0a; }
.first-line-filter-panel .button { border-radius:11px; }
.first-line-shortcuts { margin:0;justify-content:flex-end; }
.first-line-shortcuts > span { display:none; }
.first-line-shortcuts button { padding:7px 11px; }
.first-line-pulse { gap:14px;margin:0 0 18px; }
.first-line-pulse .pulse-card { min-height:144px;padding:21px 20px;border:1px solid #e6edf5;border-radius:18px;background:#fff;box-shadow:0 13px 28px #13263d0a;transition:transform .16s ease,box-shadow .16s ease; }
.first-line-pulse .pulse-card:hover { transform:translateY(-2px);box-shadow:0 16px 34px #13263d12; }
.first-line-pulse .pulse-card span { color:#65768d;font-weight:700; }
.first-line-pulse .pulse-card strong { margin-top:4px;font-size:34px;letter-spacing:-.065em; }
.first-line-pulse .pulse-card small { min-height:28px;margin-top:3px; }
.first-line-pulse .pulse-0 { border-top:0;box-shadow:inset 0 3px #276ee8,0 13px 28px #13263d0a; }
.first-line-pulse .pulse-1 { border-top:0;box-shadow:inset 0 3px #19a79b,0 13px 28px #13263d0a; }
.first-line-pulse .pulse-2 { border-top:0;box-shadow:inset 0 3px #9a72e7,0 13px 28px #13263d0a; }
.first-line-pulse .pulse-3 { border-top:0;box-shadow:inset 0 3px #f0a844,0 13px 28px #13263d0a; }
.first-line-workspace { display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:18px;align-items:start; }
.first-line-main-column { display:grid;gap:18px;min-width:0; }
.first-line-workspace .charts-card,.first-line-details,.first-line-insights-card { margin:0;border:1px solid #e4ebf3;border-radius:18px;background:#fff;box-shadow:0 10px 30px #13263d08; }
.first-line-trend-card { padding:23px; }
.first-line-trend-card .card-heading { margin-bottom:15px; }
.first-line-trend-card .card-heading h2,.first-line-details .card-heading h2,.first-line-insights-card .card-heading h2 { font-size:20px; }
.first-line-main-chart { min-height:300px;padding:14px 8px 0;border:0;border-radius:0; }
.first-line-main-chart canvas { height:260px; }
.first-line-details { padding:23px; }
.first-line-details .card-heading { align-items:center;margin-bottom:19px; }
.first-line-details .view-switch { margin:0; }
.first-line-details .metric-groups { gap:19px; }
.first-line-details .metric-group h2 { color:#41546c;font-size:12px;letter-spacing:.065em;text-transform:uppercase; }
.first-line-details .metric-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.first-line-details .metric { min-height:104px;border-radius:13px;background:#fbfcfe;box-shadow:none; }
.first-line-secondary-charts { padding:23px; }
.first-line-secondary-charts .charts-grid { grid-template-columns:repeat(3,minmax(0,1fr));gap:12px; }
.first-line-secondary-charts .chart-wrap { min-height:196px;padding:12px;border-radius:12px;background:#fbfcfe; }
.first-line-secondary-charts .chart-wrap canvas { height:145px; }
.first-line-insights-card { position:sticky;top:24px;padding:22px; }
.first-line-insights-card .card-heading { margin-bottom:12px; }
.first-line-insights-card .card-heading p:not(.eyebrow) { line-height:1.45; }
.first-line-insights { display:grid; }
.first-line-insight { display:grid;grid-template-columns:9px minmax(0,1fr) auto;align-items:center;gap:11px;padding:14px 0;border-top:1px solid #edf1f5; }
.first-line-insight:first-child { border-top:0; }
.insight-mark { width:9px;height:9px;border-radius:50%;background:#2cab81;box-shadow:0 0 0 5px #e7f7f0; }
.first-line-insight.neutral .insight-mark { background:#8d9bac;box-shadow:0 0 0 5px #f0f3f7; }
.first-line-insight.attention .insight-mark { background:#e6a23d;box-shadow:0 0 0 5px #fff5df; }
.first-line-insight.blue .insight-mark { background:#3978e6;box-shadow:0 0 0 5px #e8f0ff; }
.insight-copy { display:grid;gap:4px;min-width:0; }
.insight-copy b { color:#203650;font-size:12px;line-height:1.25; }
.insight-copy small { color:#7a899c;font-size:11px;line-height:1.35; }
.first-line-insight > strong { color:#18324f;font-size:15px;letter-spacing:-.03em;text-align:right; }
.first-line-page #daily-section { margin-top:18px; }
@media (min-width:1550px) { .first-line-filter-row { grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:16px; }.first-line-shortcuts { justify-content:flex-end; } }
@media (max-width:1180px) { .first-line-workspace { grid-template-columns:1fr; }.first-line-insights-card { position:static; }.first-line-insights { grid-template-columns:repeat(2,minmax(0,1fr));column-gap:18px; }.first-line-insight:nth-child(2) { border-top:0; } }
@media (max-width:920px) { .first-line-shortcuts { justify-content:flex-start; }.first-line-details .metric-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.first-line-secondary-charts .charts-grid { grid-template-columns:1fr; }.first-line-secondary-charts .chart-wrap canvas { height:165px; } }
@media (max-width:640px) { .first-line-page .page-heading h1 { font-size:31px; }.first-line-filter-panel { display:grid; }.first-line-pulse .pulse-card { min-height:124px;padding:16px; }.first-line-pulse .pulse-card strong { font-size:27px; }.first-line-trend-card,.first-line-details,.first-line-secondary-charts,.first-line-insights-card { padding:16px; }.first-line-main-chart { min-height:225px;padding:5px 0 0; }.first-line-main-chart canvas { height:205px; }.first-line-details .card-heading { align-items:flex-start;flex-direction:column; }.first-line-insights { grid-template-columns:1fr; }.first-line-insight:nth-child(2) { border-top:1px solid #edf1f5; }.first-line-insight > strong { font-size:14px; } }

/* Shared navigation follows the selected light dashboard direction. */
.auth-screen { background:radial-gradient(circle at 18% 18%,#e5f8f5 0,transparent 28%),radial-gradient(circle at 86% 82%,#e6efff 0,transparent 30%),#f4f7fb; }
.auth-card { border-radius:24px;box-shadow:0 22px 58px #13263d14; }
.dashboard-page { max-width:1320px; }
.teams-page,.employees-page,.call-analysis-page { display:grid;gap:18px; }
.teams-page .page-heading,.employees-page .page-heading,.call-analysis-page .page-heading { margin-bottom:0; }
.teams-filter-panel,.employee-filter-panel,.call-analysis-filter { margin:0;border-radius:16px;box-shadow:0 10px 30px #13263d0a; }
.team-report-workspace { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px; }
.team-filter-panel { margin:0;border-radius:18px;box-shadow:0 10px 30px #13263d0a; }.team-view-switch { align-self:end;margin-bottom:1px;min-height:56px;padding:4px;background:#edf3fb;border:1px solid #dbe5f2;border-radius:15px; }.team-view-switch button { color:#65748a;font-weight:800; }.team-view-switch button.active { background:#276ee8;color:#fff;box-shadow:none; }.team-overview { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));background:#fff;border:1px solid #e4ebf3;border-radius:18px;box-shadow:0 10px 25px #13263d08; }.team-overview article { display:grid;gap:8px;padding:22px 26px;border-right:1px solid #e4ebf3; }.team-overview article:last-child { border:0; }.team-overview span { color:#65748a;font-weight:700;font-size:13px; }.team-overview strong { color:#142b49;font-size:29px;letter-spacing:-.05em; }.team-dashboard-card { display:grid;gap:17px;padding:22px;border:1px solid #e4ebf3;border-radius:18px;background:#fff;box-shadow:0 10px 25px #13263d08; }.team-dashboard-card header { display:grid;grid-template-columns:1fr auto;gap:12px;align-items:start; }.team-dashboard-card header .eyebrow { margin:0 0 5px; }.team-dashboard-card header h2 { margin:0;color:#203b57;font-size:16px; }.team-dashboard-card header small { color:#7a8ba0; }.team-card-occ { display:grid;text-align:right;gap:4px; }.team-card-occ b { color:#276ee8;font-size:24px; }.team-health { height:7px;background:#e9eff8;border-radius:99px;overflow:hidden; }.team-health i { display:block;height:100%;border-radius:inherit;background:#276ee8; }.team-dashboard-metrics { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-top:1px solid #edf1f6;border-left:1px solid #edf1f6; }.team-dashboard-metrics span { display:grid;gap:5px;padding:12px 9px;border-right:1px solid #edf1f6;border-bottom:1px solid #edf1f6; }.team-dashboard-metrics small { color:#74869c;font-weight:700; }.team-dashboard-metrics b { color:#213d5d;font-size:17px; }.team-detail-button { width:100%;background:#276ee8; }.team-detail { padding:23px;background:#fff;border:1px solid #e4ebf3;border-radius:18px;box-shadow:0 10px 25px #13263d08; }.team-detail .card-heading { display:flex;justify-content:space-between; }.team-detail .card-heading h2 { margin:0;color:#203b57;font-size:20px; }.team-detail-scroll { overflow:auto; }.team-detail table { width:100%;border-collapse:collapse;min-width:700px; }.team-detail th,.team-detail td { padding:13px;border-bottom:1px solid #edf1f6;text-align:right;color:#506680; }.team-detail th:first-child,.team-detail td:first-child { text-align:left;color:#263f5c; }.team-detail thead th { color:#7a8ba0;font-size:11px;text-transform:uppercase; }
.team-card { display:grid;grid-template-columns:minmax(0,1fr) auto;gap:18px;padding:22px;border:1px solid #e4ebf3;border-radius:18px;background:#fff;box-shadow:0 10px 25px #13263d08; }
.team-card h2 { margin:3px 0;color:#18324d;font-size:34px;letter-spacing:-.06em; }.team-card h2 small { color:#71849a;font-size:12px;letter-spacing:0; }.team-card p:not(.eyebrow) { margin:0;color:#71849a; }.team-card-metrics { display:flex;gap:16px;align-items:center; }.team-card-metrics span { display:grid;gap:5px;min-width:76px;padding-left:14px;border-left:1px solid #e7edf4; }.team-card-metrics small { color:#8190a4;font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase; }.team-card-metrics b { color:#28506e;font-size:16px; }
.employee-shortcuts { margin:0; }.employee-report-workspace { display:grid;gap:18px; }.employees-page .metric-groups { gap:18px; }.employees-page .metric-group { padding:22px;border:1px solid #e4ebf3;border-radius:18px;background:#fff;box-shadow:0 10px 25px #13263d08; }.employees-page .metric-group h2 { color:#536a84;font-size:11px;letter-spacing:.07em;text-transform:uppercase; }.employees-page .metric { background:#fbfcfe;border-radius:13px; }.employee-lead-charts,.employee-phone-charts,.employee-daily-card { margin:0;border-radius:18px;box-shadow:0 10px 25px #13263d08; }.employee-lead-charts .card-heading h2,.employee-phone-charts .card-heading h2,.employee-daily-card .card-heading h2 { font-size:20px; }

/* Employee report: compact daily-performance view and an app-owned employee chooser. */
.team-detail{padding:0;overflow:hidden}.team-detail .employee-daily-report{margin:0;border:0;border-radius:0;box-shadow:none}.team-detail-table{min-width:920px}.team-detail-actions{display:flex;align-items:flex-start;gap:12px}.team-detail-actions .icon-button{flex:0 0 auto}.team-detail .employee-daily-table tbody th{min-width:235px}.team-detail .employee-daily-table th,.team-detail .employee-daily-table td{min-width:108px}
.employee-combobox{position:relative;min-width:205px}.employee-combobox-trigger{width:100%;height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 13px;border:1px solid #cddbeb;border-radius:11px;background:#fff;color:#1b3556;font:700 14px/1 Manrope,sans-serif;text-align:left;cursor:pointer;transition:border-color .16s,box-shadow .16s,background-color .16s}.employee-combobox-trigger:hover{border-color:#9fbee9;background:#fbfdff}.employee-combobox-trigger[aria-expanded="true"]{border-color:#6d9ff0;box-shadow:0 0 0 3px #276ee824}.employee-combobox-trigger>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.employee-combobox-menu{position:absolute;z-index:40;top:calc(100% + 8px);left:0;width:100%;min-width:280px;max-height:356px;padding:9px;border:1px solid #d5e1ef;border-radius:14px;background:#fff;box-shadow:0 18px 42px #142b4c24}.employee-combobox-menu input{width:100%;height:38px;margin:0 0 7px;padding:0 10px;border:1px solid #d5e1ef;border-radius:9px;background:#f8fbff;color:#1b3556;font-weight:650}.employee-combobox-menu input:focus{border-color:#6d9ff0;box-shadow:0 0 0 3px #276ee81f}.employee-combobox-menu>div{display:grid;max-height:285px;overflow:auto}.employee-combobox-option{width:100%;min-height:35px;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:#29435f;font:700 13px/1.25 Manrope,sans-serif;text-align:left}.employee-combobox-option:hover,.employee-combobox-option.selected{background:#edf4ff;color:#1f5fd1}.employee-combobox-option.selected::before{content:"✓ ";font-weight:850}.employee-combobox-empty{margin:8px 5px;color:#7a899c;font-size:12px;font-weight:650}.combobox-source{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;opacity:0!important;pointer-events:none!important}
.employee-efficiency-report,.employee-daily-report{padding:20px 22px;border:1px solid #e0e9f3;border-radius:18px;background:#fff;box-shadow:0 10px 25px #13263d08}.employee-efficiency-heading,.employee-daily-report-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.employee-efficiency-heading h2,.employee-daily-report-heading h2{margin:0;color:#172d49;font-size:20px;letter-spacing:-.035em}.employee-efficiency-heading .eyebrow,.employee-daily-report-heading .eyebrow{margin-bottom:5px}.employee-efficiency-heading>span{margin-top:5px;color:#7587a0;font-size:12px;font-weight:700;white-space:nowrap}.employee-efficiency-metrics{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));margin-top:17px}.employee-efficiency-metric{display:grid;gap:7px;min-width:0;padding:0 16px;border-left:1px solid #e6edf5}.employee-efficiency-metric:first-child{padding-left:0;border-left:0}.employee-efficiency-metric:last-child{padding-right:0}.employee-efficiency-metric>span{min-height:30px;color:#667992;font-size:12px;font-weight:700;line-height:1.25}.employee-efficiency-metric strong{color:#142b48;font-size:25px;letter-spacing:-.055em}.employee-efficiency-metric small{font-size:11px;font-weight:750;line-height:1.35;white-space:normal}.employee-efficiency-metric small.positive{color:#198558}.employee-efficiency-metric small.negative{color:#c14b55}.employee-efficiency-metric small.neutral{color:#72849b}
.employee-daily-report-heading{margin-bottom:16px}.employee-daily-report-heading p:not(.eyebrow){margin:5px 0 0;color:#74859c;font-size:12px}.employee-daily-legend{display:grid;grid-template-columns:auto 300px;gap:5px 10px;align-items:center;justify-items:stretch;min-width:430px;color:#6f8198;font-size:11px;font-weight:700}.employee-daily-legend>span{grid-column:1/2;grid-row:1/3;white-space:nowrap}.employee-legend-scale{display:grid;grid-template-columns:repeat(5,1fr);height:7px;overflow:hidden;border-radius:99px}.employee-legend-scale i:nth-child(1){background:#f5c9cd}.employee-legend-scale i:nth-child(2){background:#f9e4e6}.employee-legend-scale i:nth-child(3){background:#edf1f5}.employee-legend-scale i:nth-child(4){background:#b9d3fb}.employee-legend-scale i:nth-child(5){background:#276ee8}.employee-legend-labels{display:grid;grid-template-columns:repeat(5,1fr);gap:0}.employee-legend-labels small{text-align:center;font-size:10px;font-weight:750;white-space:nowrap}.employee-daily-scroll{position:relative;overflow:auto;padding-bottom:4px}.employee-daily-table{width:max-content;min-width:100%;border:1px solid #dfe8f2;border-spacing:0;border-collapse:separate;border-radius:12px;font-variant-numeric:tabular-nums}.employee-daily-table th,.employee-daily-table td{min-width:89px;padding:11px 10px;border-right:1px solid #e7edf4;border-bottom:1px solid #e7edf4;color:#3a5270;font-size:12px;text-align:center;white-space:nowrap}.employee-daily-table thead th{position:sticky;top:0;z-index:2;background:#f8fafd;color:#536985;font-size:11px;font-weight:800}.employee-daily-table thead th:first-child{left:0;z-index:4;background:#f2f6fb;text-align:left}.employee-daily-table tbody th{position:sticky;left:0;z-index:1;min-width:208px;background:#fff;color:#405976;font-size:12px;font-weight:750;text-align:left;box-shadow:8px 0 12px -12px #1e3654}.employee-daily-table th:last-child,.employee-daily-table td:last-child{border-right:0}.employee-daily-table tbody tr:last-child th,.employee-daily-table tbody tr:last-child td{border-bottom:0}.employee-daily-average{background:#f7faff!important;color:#1e4f8e!important;font-weight:850}.employee-heat-negative-strong{background:#f7d6d9!important;color:#a33d47!important;font-weight:800}.employee-heat-negative{background:#fceced!important;color:#ad5961!important}.employee-heat-neutral{background:#f8fafc!important}.employee-heat-positive{background:#e4efff!important;color:#235caa!important}.employee-heat-positive-strong{background:#bed9ff!important;color:#174f98!important;font-weight:800}
.call-summary-grid { grid-template-columns:repeat(4,minmax(0,1fr));margin:0; }.call-analysis-workspace { display:grid;grid-template-columns:minmax(0,1.15fr) minmax(310px,.85fr);gap:18px; }.call-analysis-workspace .charts-card { margin:0;border-radius:18px;box-shadow:0 10px 25px #13263d08; }.call-summary-grid .metric { min-height:126px;border-radius:15px;background:#fff;box-shadow:0 10px 25px #13263d08; }
.plan-report-page { display:grid;gap:18px; }.plan-report-page .page-heading { margin-bottom:0; }.plan-filter-panel,.plan-report-workspace { margin:0;border-radius:18px;box-shadow:0 10px 30px #13263d0a; }.plan-report-workspace { padding:23px; }.plan-report-workspace .card-heading h2 { font-size:21px; }.plan-report-workspace .plan-report-layout { gap:20px; }.plan-report-page .plan-list-row { border-radius:14px;box-shadow:0 4px 12px #13263d06; }.plan-report-page .plan-list-row:hover { box-shadow:0 10px 22px #13263d10; }.plan-report-page .plan-employee-detail { border-radius:16px;background:#fff;box-shadow:0 10px 25px #13263d0a; }
.uploads-page,.exports-page,.settings-page,[data-page="settings"] { display:grid;gap:18px; }.uploads-page .page-heading,.exports-page .page-heading,.settings-page .page-heading,[data-page="settings"] .page-heading { margin-bottom:0; }.exports-placeholder{max-width:720px;padding:28px;border-radius:18px;box-shadow:0 10px 25px #13263d08}.exports-placeholder h2{margin:4px 0 10px;color:#203b57}.exports-placeholder p:not(.eyebrow){max-width:640px;margin:0;color:#657890;line-height:1.55}.upload-workspace { gap:16px; }.uploads-page .upload-card { min-height:318px;border:1px solid #e4ebf3;border-radius:18px;box-shadow:0 10px 25px #13263d08; }.uploads-page .upload-card.ready { background:linear-gradient(145deg,#fff 0%,#f1fbfa 100%); }.uploads-page .upload-icon { margin-bottom:18px;border-radius:13px; }.uploads-page .upload-button { width:100%;border-radius:10px; }.uploads-page .upload-status { min-height:32px;padding-top:2px; }.uploads-page .imports-card { margin:0;border-radius:18px;box-shadow:0 10px 25px #13263d08; }.settings-workspace { gap:16px; }[data-page="settings"] .table-card { border-radius:18px;box-shadow:0 10px 25px #13263d08; }[data-page="settings"] .table-card h2 { color:#203b57; }[data-page="settings"] .settings-grid form { padding:12px;border-radius:12px;background:#f8fafc; }[data-page="settings"] .setting-row { padding:12px 0; }[data-page="settings"] .delete-button { border-radius:9px; }
@media (max-width:1040px) { .team-report-workspace { grid-template-columns:1fr; }.call-analysis-workspace { grid-template-columns:1fr; }.call-summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:640px) { .team-card { grid-template-columns:1fr; }.team-card-metrics { justify-content:space-between;gap:8px; }.team-card-metrics span { min-width:0;padding-left:8px; }.employee-filter-panel,.call-analysis-filter { display:grid; }.employees-page .metric-group { padding:16px; }.call-summary-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.call-analysis-workspace .charts-card,.employee-lead-charts,.employee-phone-charts,.employee-daily-card { padding:16px; } }
.sidebar { background:#fff;color:#334962;border-right:1px solid #e4ebf2;box-shadow:8px 0 30px #13263d08; }
.brand { color:#162c45; }
.brand small { color:#788ba1; }
.brand-mark { background:#e4efff;color:#276ee8; }
.nav-caption { color:#8a9bae; }
.navigation a { color:#53677e; }
.navigation a span { color:#7890a8; }
.navigation a:hover,.navigation a.active { background:#edf4ff;color:#1c4e93; }
.navigation a.active span { color:#276ee8; }
.sidebar-foot { color:#7c8da0; }
.sidebar-foot span { color:#8495a8; }
.logout-button { color:#58708a; }
.logout-button:hover { color:#173a60; }
@media (max-width:760px) { .mobile-head { background:#fff;color:#162c45;border-bottom:1px solid #e4ebf2; }.icon-button { border-color:#d4dfeb;color:#1c4e93; } }

/* First-line report: selected compact filter and column layout. */
:root{--action:#276ee8;--action-hover:#1f5fd1;--action-focus:#276ee833}
.primary-link,.button,.upload-button{background:var(--action);box-shadow:0 7px 18px #276ee829}
.primary-link:hover,.button:hover,.upload-button:hover{background:var(--action-hover)}
.primary-link:focus-visible,.button:focus-visible,.upload-button:focus-visible{outline:3px solid var(--action-focus);outline-offset:2px}
input:focus,select:focus{border-color:var(--action);box-shadow:0 0 0 3px var(--action-focus)}
.period-shortcuts button:hover,.period-shortcuts button.active{background:#eaf2ff;border-color:#bed3ff;color:#1e5fd0}

.first-line-filter-panel{display:grid;gap:14px;padding:18px 20px}
.first-line-filter-main{display:grid;grid-template-columns:minmax(280px,360px) max-content;justify-content:start;gap:14px;align-items:end}
.filter-control-label{display:block;margin-bottom:7px;color:#536985;font-size:12px;font-weight:800;letter-spacing:.02em}
.first-line-date-picker{position:relative;min-width:0}
.first-line-range-trigger{width:100%;height:44px;display:flex;align-items:center;gap:10px;padding:0 13px;background:#fff;border:1px solid #cddbeb;border-radius:11px;color:var(--ink);font:700 14px/1 Manrope,sans-serif;cursor:pointer;text-align:left;transition:border-color .16s,box-shadow .16s,background .16s}
.first-line-range-trigger:hover{border-color:#9fbee9;background:#fbfdff}
.first-line-range-trigger:focus-visible,.traffic-segments button:focus-visible,.calendar-day:focus-visible,.calendar-nav button:focus-visible{outline:3px solid var(--action-focus);outline-offset:2px}
.first-line-range-trigger>span:first-child{color:var(--action);font-size:15px}.first-line-range-trigger #first-line-range-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.range-chevron{color:#71839d;font-size:17px}
.traffic-segments{display:flex;height:44px;padding:3px;background:#edf2f8;border:1px solid #dce6f2;border-radius:12px;gap:3px}
.traffic-segments button{border:0;border-radius:8px;padding:0 12px;background:transparent;color:#62748d;font:700 13px/1 Manrope,sans-serif;cursor:pointer;white-space:nowrap;transition:background .16s,color .16s,box-shadow .16s}
.traffic-segments button:hover{color:#2359b8}.traffic-segments button[aria-pressed="true"]{background:#fff;color:#225ec7;box-shadow:0 2px 6px #16365f18}
.first-line-shortcuts{justify-content:flex-start;padding-top:2px}.first-line-shortcuts span{color:#7c8ca4;font-size:12px}
.first-line-calendar{position:absolute;z-index:30;top:calc(100% + 10px);left:0;width:min(640px,calc(100vw - 56px));padding:14px;background:#fff;border:1px solid #d8e3f1;border-radius:16px;box-shadow:0 18px 42px #142b4c24}
.calendar-nav{display:grid;grid-template-columns:34px 1fr 34px;align-items:center;margin-bottom:12px;text-align:center;color:#5e718d;font-size:12px;font-weight:800}.calendar-nav button{width:30px;height:30px;border:1px solid #dbe5f1;border-radius:8px;background:#fff;color:#2d5fae;font:700 20px/1 sans-serif;cursor:pointer}.calendar-nav button:last-child{justify-self:end}
.calendar-months{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.calendar-month>strong{display:block;margin:0 0 10px;text-align:center;color:#1b3556;font-size:13px;text-transform:capitalize}.calendar-weekdays,.calendar-days{display:grid;grid-template-columns:repeat(7,1fr);gap:3px}.calendar-weekdays span{padding-bottom:4px;text-align:center;color:#8b9ab0;font-size:10px;font-weight:800}.calendar-day{height:31px;border:0;border-radius:7px;background:transparent;color:#30496a;font:700 12px/1 Manrope,sans-serif;cursor:pointer}.calendar-day:hover{background:#edf4ff;color:#1e5fd0}.calendar-day.in-range{border-radius:3px;background:#e5efff;color:#1e5fd0}.calendar-day.selected{background:var(--action);color:#fff}

.first-line-workspace{display:block}.metric-columns{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.metric-column{overflow:hidden;min-width:0;border:1px solid #e2eaf2;border-top:3px solid var(--group-accent,#276ee8);border-radius:13px;background:#fff}.metric-column.teal{--group-accent:#139a91}.metric-column.blue{--group-accent:#276ee8}.metric-column.orange{--group-accent:#f28a3d}.metric-column.navy{--group-accent:#142b4a}.metric-column h2{margin:0;padding:13px 15px;border-bottom:1px solid #e8eef5;color:#304a6c;font-size:12px;font-weight:800;letter-spacing:.055em;text-transform:uppercase}.metric-list{display:grid}.metric-list .metric-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;min-height:51px;padding:10px 15px;border:0;border-top:1px solid #edf1f6;border-radius:0;background:#fff;box-shadow:none}.metric-list .metric-row:first-child{border-top:0}.metric-list .metric-row .metric-label{color:#5f7188;font-size:12px;line-height:1.3}.metric-list .metric-row strong{margin:0;color:#142c49;font-size:18px;letter-spacing:-.04em;white-space:nowrap}.metric-list .metric-row small{display:none}
.first-line-secondary-charts .first-line-chart-stack{grid-template-columns:1fr;gap:16px}.first-line-secondary-charts .chart-wrap{min-height:300px;padding:22px}.first-line-secondary-charts .chart-wrap canvas{height:240px!important;max-height:240px}.first-line-secondary-charts .first-line-main-chart{min-height:350px;padding:22px;border:1px solid #e2eaf2;border-radius:13px;background:#fbfcfe}.first-line-secondary-charts .first-line-main-chart canvas{height:265px!important;max-height:265px}.chart-inline-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:9px}.chart-inline-heading h3{margin:0}.chart-inline-heading p{margin:5px 0 0;color:#71849a;font-size:12px}

@media(max-width:1120px){.first-line-filter-main{grid-template-columns:1fr auto}.traffic-segment-field{grid-column:1/-1}.traffic-segments{width:max-content;max-width:100%}.metric-columns{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.first-line-filter-panel{padding:16px}.first-line-filter-main{grid-template-columns:1fr}.first-line-filter-main .button{width:100%}.traffic-segments{width:100%;overflow:auto}.traffic-segments button{flex:1;padding:0 9px}.first-line-calendar{position:fixed;left:16px;right:16px;top:calc(50% - 180px);width:auto;max-height:calc(100vh - 48px);overflow:auto}.calendar-months{grid-template-columns:1fr}.metric-columns{grid-template-columns:1fr}.first-line-secondary-charts .chart-wrap{min-height:265px;padding:16px}.first-line-secondary-charts .chart-wrap canvas{height:205px!important;max-height:205px}.chart-inline-heading{align-items:flex-start;flex-direction:column;gap:7px}}

/* Shared report filters: one control language across all analytical pages. */
.unified-filter-panel{display:grid;gap:14px;padding:18px 20px;align-items:stretch}
.unified-filter-main{display:grid;grid-template-columns:minmax(260px,340px) minmax(170px,max-content) auto;justify-content:start;gap:14px;align-items:end}
.unified-date-picker{position:relative;min-width:0}
.unified-range-trigger{width:100%;height:44px;display:flex;align-items:center;gap:10px;padding:0 13px;background:#fff;border:1px solid #cddbeb;border-radius:11px;color:var(--ink);font:700 14px/1 Manrope,sans-serif;cursor:pointer;text-align:left;transition:border-color .16s,box-shadow .16s,background .16s}
.unified-range-trigger:hover{border-color:#9fbee9;background:#fbfdff}.unified-range-trigger:focus-visible,.unified-filter-panel .traffic-segments button:focus-visible,.unified-calendar .calendar-day:focus-visible,.unified-calendar .calendar-nav button:focus-visible{outline:3px solid var(--action-focus);outline-offset:2px}
.unified-range-trigger>span:first-child{color:var(--action);font-size:15px}.unified-range-trigger>span:nth-child(2){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.unified-calendar{position:absolute;z-index:30;top:calc(100% + 10px);left:0;width:min(640px,calc(100vw - 56px));padding:14px;background:#fff;border:1px solid #d8e3f1;border-radius:16px;box-shadow:0 18px 42px #142b4c24}
.unified-calendar .single-month,.single-date-calendar .calendar-months{grid-template-columns:minmax(250px,1fr);max-width:292px;margin:0 auto}.unified-calendar.single-date-calendar{width:min(340px,calc(100vw - 56px))}
.unified-select-field{display:grid;gap:0;min-width:0;margin:0}.unified-select-field .filter-control-label{margin-bottom:7px}select:not([multiple]){-webkit-appearance:none;appearance:none;padding-right:38px;background-color:#fff;background-image:linear-gradient(45deg,transparent 50%,#6f819a 50%),linear-gradient(135deg,#6f819a 50%,transparent 50%);background-position:calc(100% - 17px) 50%,calc(100% - 12px) 50%;background-size:5px 5px,5px 5px;background-repeat:no-repeat}.unified-select-field select{width:100%;min-width:0;height:44px;padding:0 38px 0 13px;border:1px solid #cddbeb;border-radius:11px;background-color:#fff;color:#1b3556;font:700 14px/1 Manrope,sans-serif;cursor:pointer;transition:border-color .16s,box-shadow .16s,background-color .16s}.unified-select-field select:hover{border-color:#9fbee9;background-color:#fbfdff}.unified-select-field select:focus-visible{outline:3px solid var(--action-focus);outline-offset:2px}
.unified-shortcuts{justify-content:flex-start;margin:0;padding-top:2px}.unified-shortcuts span{color:#7c8ca4;font-size:12px}
.employee-filter-main{grid-template-columns:minmax(260px,340px) max-content minmax(205px,250px) auto}.employee-filter-main .traffic-segment-field{min-width:0}.employee-select-field{min-width:205px}.call-analysis-filter-main{grid-template-columns:minmax(230px,300px) minmax(205px,270px) auto}.teams-filter-panel{grid-template-columns:minmax(220px,300px) auto;justify-content:start;align-items:end}.teams-filter-panel .unified-select-field{width:min(300px,100%)}.plan-filter-main{grid-template-columns:minmax(180px,250px) minmax(170px,230px) minmax(210px,270px) 44px auto}.unified-direction-button{width:44px;height:44px;padding:0;border:1px solid #cddbeb;border-radius:11px;background:#fff;color:#276ee8;font-size:19px;font-weight:800;box-shadow:none}.unified-direction-button:hover{border-color:#9fbee9;background:#edf4ff}

@media(max-width:1450px){.employee-filter-main{grid-template-columns:minmax(260px,340px) max-content auto}.employee-filter-main .employee-select-field{grid-column:1/2}.plan-filter-main{grid-template-columns:minmax(180px,250px) minmax(170px,230px) minmax(210px,270px) 44px}.plan-filter-main .button{grid-column:1/2}.unified-filter-main .traffic-segment-field{max-width:100%}}
@media(max-width:820px){.unified-filter-main,.employee-filter-main,.call-analysis-filter-main,.plan-filter-main,.teams-filter-panel{grid-template-columns:1fr}.unified-filter-main .traffic-segment-field,.employee-filter-main .employee-select-field,.plan-filter-main .button{grid-column:auto}.unified-filter-main .button,.teams-filter-panel .button{width:100%}.unified-select-field,.teams-filter-panel .unified-select-field{width:100%}.unified-direction-button{width:100%}.unified-calendar{position:fixed;left:16px;right:16px;top:calc(50% - 180px);width:auto;max-height:calc(100vh - 48px);overflow:auto}.unified-calendar.single-date-calendar{width:auto}.unified-calendar .calendar-months{grid-template-columns:1fr}.unified-calendar.single-date-calendar .calendar-months{max-width:none}.employee-filter-main .traffic-segments{width:100%;overflow:auto}.employee-filter-main .traffic-segments button{flex:1;padding:0 9px}}

/* First-line daily cross-tab, based on the selected grouped-table direction. */
.first-line-filter-footer{display:flex;align-items:center;justify-content:space-between;gap:16px}.first-line-view-switch{margin:0;flex:none}.first-line-view-switch button:disabled{cursor:not-allowed;opacity:.42;filter:grayscale(.75);box-shadow:none}.first-line-view-switch button:disabled:hover{background:transparent;color:#526278}
.report-mode-switch{margin:0 auto;flex:none}.report-mode-switch button{white-space:nowrap}.comparison-report-section{margin-top:24px;padding:22px;border:1px solid #e4ebf3;border-radius:18px;background:#fff;box-shadow:0 10px 30px #13263d08}.comparison-period-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:18px}.comparison-period-card{position:relative;display:grid;gap:9px;padding:15px;border:1px solid #dce7ef;border-radius:14px;background:#fbfcfe}.comparison-period-card>span{color:#566b84;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.comparison-period-card .first-line-range-trigger{width:100%;justify-content:space-between}.comparison-period-card .first-line-calendar{top:calc(100% + 8px);left:0}.comparison-month-shortcuts{display:flex;flex-wrap:wrap;gap:6px}.comparison-month-shortcuts button{padding:6px 8px;border:1px solid #dce7ef;border-radius:8px;background:#fff;color:#53677f;font-size:11px;font-weight:700}.comparison-month-shortcuts button:hover{border-color:#9fbee9;color:#276ee8}.comparison-report-note{margin:18px 0 0;color:#718198}.comparison-report-table .comparison-delta{font-weight:800}.comparison-report-table .comparison-delta.positive{color:#168158}.comparison-report-table .comparison-delta.negative{color:#c34f4f}.comparison-report-table .comparison-delta.neutral{color:#718198}.chart-wrap{position:relative}.chart-tooltip{position:absolute;z-index:2;max-width:190px;padding:7px 9px;border:1px solid #cfddeb;border-radius:9px;background:#13263d;color:#fff;font-size:11px;font-weight:700;line-height:1.25;pointer-events:none;transform:translate(-50%,-115%);box-shadow:0 8px 20px #13263d30}.teams-coming-soon{display:grid;align-content:center;justify-items:start;gap:8px;min-height:330px;margin-top:24px;padding:34px;border:1px solid #e4ebf3;border-radius:18px;background:linear-gradient(145deg,#fff,#f5f9fe);box-shadow:0 10px 30px #13263d08}.teams-coming-soon h2{margin:0;color:#142f4b;font-size:30px}.teams-coming-soon p{margin:0;color:#718198}
.daily-report-section{margin-top:24px;padding:22px;border:1px solid #dfe8f2;border-radius:16px;background:#fff;box-shadow:0 10px 25px #13263d08}.daily-report-section .card-heading{margin-bottom:18px}.daily-report-unavailable{margin:0;padding:12px 14px;border-radius:10px;background:#f3f6fa;color:#74869d;font-size:13px;font-weight:700}.daily-report-scroll{position:relative;overflow-x:auto;padding-bottom:4px}.daily-report-table{width:max-content;min-width:100%;border:1px solid #dfe8f2;border-radius:12px;border-spacing:0;border-collapse:separate;font-variant-numeric:tabular-nums}.daily-report-table thead th{position:sticky;top:0;z-index:2;min-width:96px;padding:12px 10px;border-bottom:1px solid #dfe8f2;background:#f8fafd;color:#536985;font-size:11px;font-weight:800;letter-spacing:.03em;text-align:center;text-transform:none}.daily-report-table thead th:first-child{position:sticky;left:0;z-index:4;min-width:225px;background:#f2f6fb;box-shadow:8px 0 12px -12px #1e3654;text-align:left}.daily-report-table tbody th,.daily-report-table tbody td{padding:11px 12px;border-bottom:1px solid #e7edf4;border-right:1px solid #edf2f7;background:#fff;color:#334b67;font-size:12px;text-align:right;white-space:nowrap}.daily-report-table tbody th{position:sticky;left:0;z-index:1;min-width:225px;background:#fff;box-shadow:8px 0 12px -12px #1e3654;color:#405976;font-weight:700;text-align:left}.daily-report-table tbody td:last-child,.daily-report-table thead th:last-child{border-right:0}.daily-report-table tbody:last-child tr:last-child th,.daily-report-table tbody:last-child tr:last-child td{border-bottom:0}.daily-report-table .daily-group-row th{position:sticky;left:0;z-index:3;padding:9px 12px;border-right:0;border-bottom:1px solid #dce7f2;background:#eef5fd;color:#264e7b;font-size:11px;font-weight:850;letter-spacing:.055em;text-align:left;text-transform:uppercase}.daily-report-table .daily-group-row td{padding:9px 12px;border-right:0;border-bottom:1px solid #dce7f2;background:#eef5fd}.daily-report-table .heat-1{background:#f3f8ff}.daily-report-table .heat-2{background:#e6f0ff}.daily-report-table .heat-3{background:#d6e7ff;color:#244f87}.daily-report-table .heat-4{background:#bed9ff;color:#1d4f91;font-weight:800}.daily-report-table .heat-5{background:#9ec6fb;color:#133f78;font-weight:850}
@media(max-width:820px){.first-line-filter-footer{align-items:stretch;flex-direction:column}.first-line-view-switch,.report-mode-switch{width:100%;margin:0}.first-line-view-switch button,.report-mode-switch button{flex:1;padding:8px 7px;font-size:12px}.comparison-period-grid{grid-template-columns:1fr}.comparison-report-section{padding:16px}.daily-report-section{padding:16px}.daily-report-table thead th,.daily-report-table tbody th,.daily-report-table tbody td{padding:10px 9px}.daily-report-table thead th:first-child,.daily-report-table tbody th{min-width:188px}}

.employee-daily-empty{min-width:420px!important;padding:22px!important;color:#75879e!important;text-align:left!important}
.custom-select-field{position:relative;display:grid;min-width:0}.custom-select-field .filter-control-label{margin-bottom:7px}.custom-select-trigger{width:100%;height:44px;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 13px;border:1px solid #cddbeb;border-radius:11px;background:#fff;color:#1b3556;font:700 14px/1 Manrope,sans-serif;text-align:left;cursor:pointer;transition:border-color .16s,box-shadow .16s,background-color .16s}.custom-select-trigger:hover{border-color:#9fbee9;background:#fbfdff}.custom-select-trigger[aria-expanded="true"]{border-color:#6d9ff0;box-shadow:0 0 0 3px #276ee824}.custom-select-trigger>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.custom-select-menu{position:absolute;z-index:40;top:calc(100% + 8px);left:0;width:100%;min-width:230px;max-height:356px;padding:9px;border:1px solid #d5e1ef;border-radius:14px;background:#fff;box-shadow:0 18px 42px #142b4c24}.custom-select-search{width:100%;height:38px;margin:0 0 7px;padding:0 10px;border:1px solid #d5e1ef;border-radius:9px;background:#f8fbff;color:#1b3556;font:650 13px/1 Manrope,sans-serif}.custom-select-search:focus{border-color:#6d9ff0;box-shadow:0 0 0 3px #276ee81f}.custom-select-options{display:grid;max-height:285px;overflow:auto}.custom-select-option{width:100%;min-height:35px;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:#29435f;font:700 13px/1.25 Manrope,sans-serif;text-align:left}.custom-select-option:hover,.custom-select-option.selected{background:#edf4ff;color:#1f5fd1}.custom-select-option.selected::before{content:"✓ ";font-weight:850}.custom-select-empty{margin:8px 5px;color:#7a899c;font-size:12px;font-weight:650}
@media(max-width:1120px){.employee-efficiency-metrics{grid-template-columns:repeat(4,minmax(0,1fr));row-gap:17px}.employee-efficiency-metric:nth-child(5){padding-left:0;border-left:0}.employee-daily-report-heading{align-items:flex-start;flex-direction:column}.employee-daily-legend{min-width:0}}
@media(max-width:640px){.employee-efficiency-report,.employee-daily-report{padding:16px}.employee-efficiency-heading{align-items:flex-start;flex-direction:column;gap:5px}.employee-efficiency-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 0}.employee-efficiency-metric:nth-child(odd){padding-left:0;border-left:0}.employee-efficiency-metric:nth-child(even){padding-right:0}.employee-efficiency-metric strong{font-size:22px}.employee-efficiency-metric small{white-space:normal}.employee-daily-legend{grid-template-columns:1fr;width:100%;gap:5px}.employee-daily-legend>span{grid-column:auto;grid-row:auto}.employee-daily-table tbody th{min-width:180px}.employee-combobox-menu,.custom-select-menu{min-width:0}}
.team-view-switch { display:flex;height:44px;padding:3px;background:#edf2f8;border:1px solid #dce6f2;border-radius:12px;gap:3px; }
.team-view-switch { min-height:44px;margin:0;align-self:end; }
.team-view-switch button { border:0;border-radius:8px;padding:0 12px;background:transparent;color:#62748d;font:700 13px/1 Manrope,sans-serif;cursor:pointer;white-space:nowrap;transition:background .16s,color .16s,box-shadow .16s; }
.team-view-switch button:hover { color:#2359b8; }
.team-view-switch button.active { background:#fff;color:#225ec7;box-shadow:0 2px 6px #16365f18; }
.team-dashboard-metrics span:nth-child(6) { display:none; }
.team-occ-warning { margin:14px 0 0;padding:12px 15px;border:1px solid #f3d69c;border-radius:13px;background:#fff8e8;color:#80612c;font-size:13px;font-weight:700;line-height:1.45; }

/* Adaptive call analysis: one employee gets hourly scales, several get a shared timeline. */
.call-analysis-filter-main{grid-template-columns:minmax(230px,300px) minmax(235px,320px)}.call-analysis-employee-picker{position:relative;display:grid;min-width:0}.call-analysis-employee-picker .filter-control-label{margin-bottom:7px}.call-analysis-employee-menu{width:min(320px,calc(100vw - 48px));max-height:410px}.call-analysis-select-all{width:100%;min-height:35px;margin:0 0 7px;padding:8px 10px;border:0;border-radius:8px;background:#f3f7fd;color:#285ebe;font:800 13px/1.25 Manrope,sans-serif;text-align:left}.call-analysis-select-all:hover,.call-analysis-select-all.selected{background:#e6f0ff;color:#1d5bc8}.call-analysis-employee-options{max-height:280px}.call-analysis-employee-option{display:flex;width:100%;min-height:36px;align-items:center;gap:9px;padding:8px 10px;border:0;border-radius:8px;background:transparent;color:#29435f;font:700 13px/1.25 Manrope,sans-serif;text-align:left}.call-analysis-employee-option:hover,.call-analysis-employee-option.selected{background:#edf4ff;color:#1f5fd1}.call-analysis-check{display:grid;flex:0 0 16px;width:16px;height:16px;place-items:center;border:1px solid #b9cae0;border-radius:5px;background:#fff;color:#276ee8;font-size:12px;font-weight:850}.call-analysis-employee-option.selected .call-analysis-check{border-color:#276ee8;background:#e4efff}.call-summary-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.call-summary-grid .metric{min-height:112px;padding:18px}.call-analysis-workspace{grid-template-columns:minmax(0,1fr) minmax(330px,.72fr);align-items:start}.call-analysis-workspace .charts-card{padding:21px}.call-personal-ruler{display:grid;grid-template-columns:repeat(13,1fr);margin:21px 0 8px;padding-left:156px;color:#778aa2;font-size:10px;font-weight:800}.call-personal-ruler span:last-child{text-align:right}.call-hour-scales{display:grid;gap:10px}.call-hour-scale{display:grid;grid-template-columns:132px minmax(0,1fr);gap:9px 18px;padding:10px 0;border-bottom:1px solid #e8eef5}.call-hour-scale:last-child{border-bottom:0}.call-hour-scale header{display:grid;align-content:center;gap:3px}.call-hour-scale header strong{color:#233d5c;font-size:12px}.call-hour-scale header span{color:#71849b;font-size:11px;font-weight:700}.call-hour-track,.call-team-track{position:relative;min-height:30px;overflow:hidden;border:1px solid #e2eaf3;border-radius:8px;background-color:#f8fafc;background-image:repeating-linear-gradient(90deg,transparent 0,transparent calc(8.333% - 1px),#e8eef5 calc(8.333% - 1px),#e8eef5 8.333%)}.call-hour-scale .call-hour-track{grid-column:2}.call-hour-scale .call-hour-metrics{grid-column:2}.call-segment{position:absolute;top:7px;display:flex;height:14px;min-width:2px;overflow:hidden;border-radius:4px;background:#79aef8;box-shadow:0 1px 2px #195cb41a}.call-segment-ring{display:block;height:100%;background:#aacafb}.call-segment-talk{display:block;height:100%;background:#276ee8}.call-hour-metrics{display:flex;flex-wrap:wrap;gap:4px 10px;color:#6a7d95;font-size:10px;font-weight:700}.call-hour-metrics span{white-space:nowrap}.call-hour-summary-table{display:grid;gap:8px}.call-hour-summary-table article{display:grid;grid-template-columns:44px 1fr;gap:8px;padding:10px 0;border-bottom:1px solid #e8eef5}.call-hour-summary-table article:last-child{border-bottom:0}.call-hour-summary-table article>b{color:#29435f;font-size:12px}.call-team-lanes{display:grid;gap:9px}.call-team-lane{display:grid;grid-template-columns:160px minmax(0,1fr) 115px;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid #e8eef5}.call-team-lane:last-child{border-bottom:0}.call-team-lane>strong{overflow:hidden;color:#29435f;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.call-team-lane>small{color:#70829a;font-size:10px;font-weight:700;text-align:right}.call-team-track{height:30px}.call-no-activity{position:absolute;top:7px;left:9px;color:#9aa8b9;font-size:10px;font-weight:700}.call-team-track .call-segment{top:7px}.call-analysis-workspace .empty-state{padding:22px;border:1px dashed #d5e1ef;border-radius:12px;background:#f8fafc;color:#718198;font-size:13px}.call-hours-card .card-heading{margin-bottom:15px}
@media(max-width:1180px){.call-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.call-analysis-workspace{grid-template-columns:1fr}.call-hour-summary-table{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 14px}.call-hour-summary-table article{border-top:1px solid #e8eef5;border-bottom:0}.call-hour-summary-table article:nth-child(-n+2){border-top:0}}
@media(max-width:760px){.call-analysis-filter-main{grid-template-columns:1fr}.call-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.call-personal-ruler{padding-left:0}.call-hour-scale{grid-template-columns:1fr;gap:8px}.call-hour-scale .call-hour-track,.call-hour-scale .call-hour-metrics{grid-column:auto}.call-team-lane{grid-template-columns:1fr;gap:5px}.call-team-lane>small{text-align:left}.call-hour-summary-table{grid-template-columns:1fr}.call-hour-summary-table article:nth-child(2){border-top:1px solid #e8eef5}.call-analysis-workspace .charts-card{padding:16px}}

.call-hour-track,.call-team-track{background:#f8fafc}
.call-analysis-workspace.team-call-analysis-view{grid-template-columns:minmax(0,1fr);gap:16px}.call-team-summary-bar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:0 0 18px;overflow:hidden;border:1px solid #dfe8f4;border-radius:16px;background:#fff;box-shadow:0 10px 25px #13263d08}.call-team-summary-bar>span{display:grid;min-height:76px;align-content:center;gap:5px;padding:14px 22px;border-right:1px solid #e6edf6}.call-team-summary-bar>span:last-child{border-right:0}.call-team-summary-bar b{color:#72849b;font-size:12px;font-weight:800}.call-team-summary-bar strong{color:#18314f;font-size:24px;line-height:1.08}.team-timeline-legend{display:flex;flex-wrap:wrap;gap:22px;margin:4px 0 18px;color:#5e728d;font-size:11px;font-weight:750}.team-timeline-legend span{display:inline-flex;align-items:center;gap:7px}.team-timeline-legend i,.team-hours-matrix i{display:inline-block;border-radius:3px}.team-legend-talk,.team-row-talk{width:13px;height:13px;background:#1769ee}.team-legend-ring,.team-row-calls{width:13px;height:13px;background:#9adff2}.team-legend-free,.team-row-free{width:13px;height:13px;background:#e5e8ed}.team-row-gap{width:13px;height:13px;border:2px dotted #7d90a9;border-radius:50%!important}.team-timeline-ruler{display:grid;grid-template-columns:180px minmax(670px,1fr);gap:12px;margin:0 0 8px;overflow:hidden}.team-timeline-ruler>div{display:grid;grid-template-columns:repeat(13,1fr);color:#71839b;font-size:10px;font-weight:800}.team-timeline-ruler b:last-child{text-align:right}.team-timeline-lanes{display:grid;gap:7px;min-width:850px}.team-timeline-lane{display:grid;grid-template-columns:180px minmax(0,1fr);align-items:center;gap:12px;min-height:26px}.team-timeline-lane>strong{overflow:hidden;color:#344d6d;font-size:11px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}.team-timeline-track{position:relative;min-height:16px;overflow:hidden;border-radius:2px;background-color:#e5e8ed;background-image:repeating-linear-gradient(90deg,transparent 0,transparent calc(8.333% - 1px),#f8fafc calc(8.333% - 1px),#f8fafc 8.333%)}.team-timeline-track .call-segment{top:0;height:16px;border-radius:0;box-shadow:none}.team-timeline-track .call-segment-ring{background:#9adff2}.team-timeline-track .call-segment-talk{background:#1769ee}.team-call-analysis-view .call-timeline-card,.team-call-analysis-view .call-hours-card{overflow-x:auto}.team-hours-matrix{display:grid;min-width:940px;border:1px solid #e0e8f2;border-radius:10px;overflow:hidden}.team-hours-row{display:grid;grid-template-columns:150px repeat(12,minmax(65px,1fr)) 86px;min-height:46px;align-items:stretch;border-top:1px solid #e4ebf4}.team-hours-row:first-child{border-top:0}.team-hours-row>*{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 7px;border-left:1px solid #e4ebf4;color:#526983;font-size:11px;font-weight:700;text-align:center}.team-hours-row>*:first-child{justify-content:flex-start;border-left:0;padding-left:14px;color:#38506f}.team-hours-row>*:last-child{background:#f7faff;color:#1763dc;font-weight:850}.team-hours-head>*{background:#f5f8fc;color:#6c809a;font-size:10px;font-weight:850}.team-hours-head>*:last-child{background:#eef5ff;color:#366ed0}.team-hours-row strong{font-size:11px;font-weight:800}@media(max-width:1100px){.call-team-summary-bar{grid-template-columns:repeat(3,minmax(0,1fr))}.call-team-summary-bar>span:nth-child(3){border-right:0}.call-team-summary-bar>span:nth-child(n+4){border-top:1px solid #e6edf6}}@media(max-width:720px){.call-team-summary-bar{grid-template-columns:repeat(2,minmax(0,1fr))}.call-team-summary-bar>span{min-height:68px;padding:13px}.call-team-summary-bar>span:nth-child(2n){border-right:0}.call-team-summary-bar>span:nth-child(n+3){border-top:1px solid #e6edf6}.call-team-summary-bar strong{font-size:20px}.team-timeline-ruler{grid-template-columns:130px minmax(670px,1fr)}.team-timeline-lane{grid-template-columns:130px minmax(0,1fr)}.team-timeline-lane>strong{font-size:10px}}
.personal-day-distribution{padding-top:12px}.personal-hour-columns{display:grid;grid-template-columns:repeat(12,minmax(56px,1fr));align-items:end;gap:10px;overflow-x:auto;padding:0 2px 6px}.personal-hour-column{display:grid;grid-template-rows:auto 290px auto;gap:8px;min-width:56px;text-align:center}.personal-hour-column>b{color:#29435f;font-size:11px}.personal-hour-column>small{color:#74869e;font-size:10px;font-weight:800}.personal-hour-stack{display:flex;min-height:290px;flex-direction:column-reverse;overflow:hidden;border-radius:8px;background:#eef2f6;box-shadow:inset 0 0 0 1px #e1e8f0}.personal-hour-stack>span{position:relative;display:flex;box-sizing:border-box;align-items:center;justify-content:center;min-height:0;color:#fff;transition:height .2s ease}.personal-hour-stack i{padding:0 2px;font-size:10px;font-style:normal;font-weight:800;white-space:nowrap}.personal-hour-talk{background:linear-gradient(180deg,#2f7df0,#1764dd)}.personal-hour-ring{background:#a9e9f5;color:#24506d!important}.personal-hour-free{background:#edf0f4;color:#53667d!important}.personal-day-legend{display:flex;flex-wrap:wrap;gap:14px;margin-top:16px;color:#53677f;font-size:11px;font-weight:750}.personal-day-legend span{display:inline-flex;align-items:center;gap:6px}.personal-day-legend i{width:13px;height:13px;border-radius:3px}.legend-talk{background:#276ee8}.legend-ring{background:#a9e9f5}.legend-free{background:#edf0f4;border:1px solid #dfe6ee}.personal-hour-table{display:grid;min-width:780px;overflow-x:auto;border:1px solid #e2eaf3;border-radius:10px}.personal-hour-table-row{display:grid;grid-template-columns:132px repeat(12,minmax(64px,1fr));border-bottom:1px solid #e8eef5}.personal-hour-table-row:last-child{border-bottom:0}.personal-hour-table-row>*{padding:10px 7px;border-right:1px solid #e8eef5;color:#536980;font-size:10px;text-align:center;white-space:nowrap}.personal-hour-table-row>*:last-child{border-right:0}.personal-hour-table-row>strong{text-align:left;color:#29435f;font-size:11px}.personal-hour-table-head{background:#f4f7fb}.personal-hour-table-head>b{color:#6f8199;font-size:10px}.personal-hour-table-head>b:first-child{text-align:left}

/* Account access management. */
.access-management-grid{display:grid;grid-template-columns:minmax(280px,.8fr) minmax(340px,1.2fr);gap:16px;align-items:start}.access-management-grid .table-card{margin:0}.access-invitations-card{grid-column:1/-1}.access-management-grid form{display:grid;gap:12px}.access-management-grid form>label{display:grid;gap:6px;color:#526278;font-size:12px;font-weight:800}.access-management-grid form input,.access-management-grid form select{width:100%;height:42px}.permission-picker{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:12px;border:1px solid #dce6f1;border-radius:12px;background:#f8fbff}.permission-picker legend{width:100%;padding:0;color:#526278;font-size:11px;font-weight:850;letter-spacing:.04em;text-transform:uppercase}.permission-picker label{display:inline-flex!important;align-items:center;gap:6px;color:#304a6c!important;font-size:12px!important;font-weight:700!important}.permission-picker input{width:15px!important;height:15px!important;accent-color:#276ee8}.access-user-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 0;border-top:1px solid #e7edf4}.access-user-row:first-child{border-top:0}.access-user-row>div:first-child{display:grid;gap:4px;min-width:0}.access-user-row b{overflow:hidden;color:#203a59;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.access-user-row small{color:#738197;font-size:11px;line-height:1.35}.access-user-row.blocked b{color:#9e5252;text-decoration:line-through}.access-user-actions{display:flex;align-items:center;gap:8px;flex:none}.access-user-actions .outline-button{border-color:#cfddec;background:#fff;color:#3c5f86;cursor:pointer}.access-user-actions .outline-button:hover{border-color:#98bae6;background:#edf4ff;color:#1f5fc9}.access-user-actions .outline-button:disabled{opacity:.5;cursor:not-allowed}.access-user-actions details{position:relative}.access-user-actions summary{list-style:none;padding:8px 10px;border:1px solid #cfddec;border-radius:8px;background:#fff;color:#3c5f86;font-size:12px;font-weight:800;cursor:pointer}.access-user-actions summary::-webkit-details-marker{display:none}.access-user-actions details[open] summary{border-color:#83aaea;color:#1f5fc9}.access-user-actions .permission-picker.compact{position:absolute;z-index:10;right:0;top:calc(100% + 7px);width:310px;display:grid;box-shadow:0 14px 32px #152a4320}.access-user-actions .permission-picker .button{min-height:36px;padding:0 12px}.operator-upload-owner{margin:-3px 0 12px!important;padding:8px 10px;border-radius:8px;background:#edf4ff;color:#2860bf!important;font-size:12px!important;font-weight:700;line-height:1.35}.access-invitations-card .setting-row b{color:#29435f}.access-invitations-card .delete-button{flex:none}
.account-credentials{display:grid;gap:9px;margin-top:14px;padding:14px;border:1px solid #bfd5f5;border-radius:12px;background:#f4f8ff}.account-credentials h3,.account-credentials p{margin:0}.account-credentials dl{display:grid;gap:8px;margin:0}.account-credentials dl div{display:grid;gap:2px}.account-credentials dt{color:#7487a0;font-size:11px;font-weight:800;text-transform:uppercase}.account-credentials dd{margin:0;overflow-wrap:anywhere;color:#18385f;font:700 13px/1.45 ui-monospace,SFMono-Regular,Menlo,monospace}
@media(max-width:980px){.access-management-grid{grid-template-columns:1fr}.access-invitations-card{grid-column:auto}}
@media(max-width:640px){.access-user-row{align-items:flex-start;flex-direction:column}.access-user-actions{width:100%;justify-content:space-between}.access-user-actions .permission-picker.compact{right:auto;left:0;width:min(310px,calc(100vw - 60px))}.permission-picker{gap:7px}.permission-picker label{font-size:11px!important}}

/* Анализ звонков: режим нескольких сотрудников — единая шкала, как в референсе. */
.call-analysis-workspace.team-call-analysis-view{grid-template-columns:minmax(0,1fr);gap:16px}
.team-call-analysis-view .call-timeline-card,.team-call-analysis-view .call-hours-card{overflow:hidden}
.call-team-summary-bar{display:flex;align-items:center;min-height:64px;margin:0 0 18px;padding:0 18px;overflow-x:auto;border:1px solid #dfe8f4;border-radius:12px;background:#fff;box-shadow:0 10px 25px #13263d08}
.call-team-summary-bar>span{display:inline-flex;flex:1 1 0;min-width:174px;min-height:30px;align-items:center;gap:8px;padding:0 18px;border-right:1px solid #e6edf6;white-space:nowrap}
.call-team-summary-bar>span:first-child{padding-left:0}.call-team-summary-bar>span:last-child{padding-right:0;border-right:0}
.call-team-summary-bar b{color:#71839c;font-size:12px;font-weight:800}.call-team-summary-bar strong{color:#18385f;font-size:14px;font-weight:850}
.team-timeline-scroll,.team-hours-scroll{overflow-x:auto;overflow-y:hidden;scrollbar-color:#bdcde0 transparent}
.team-timeline-canvas{min-width:1040px;padding-bottom:2px}.team-timeline-ruler{grid-template-columns:160px minmax(0,1fr);gap:12px;margin:0 0 10px;overflow:visible}
.team-timeline-ruler>div{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));color:#627895;font-size:11px;font-weight:800;text-align:center}
.team-timeline-lanes{display:grid;gap:0;min-width:0}.team-timeline-lane{display:grid;grid-template-columns:160px minmax(0,1fr);align-items:center;gap:12px;min-height:35px;padding:3px 0}
.team-timeline-lane>strong{overflow:hidden;color:#314b6b;font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
.team-timeline-track{height:12px;min-height:12px;overflow:hidden;border-radius:1px;background-color:#e5e8ed;background-image:repeating-linear-gradient(90deg,transparent 0,transparent calc(8.333% - 1px),#f8fafc calc(8.333% - 1px),#f8fafc 8.333%)}
.team-timeline-track .call-segment{top:0;height:12px;min-width:1px;border-radius:0;box-shadow:none}.team-timeline-track .call-segment-ring,.team-timeline-track .call-segment-talk{display:block;min-width:1px}
.team-hours-scroll{padding-bottom:2px}.team-hours-matrix{min-width:1040px}.team-hours-matrix>span{min-height:50px;padding:8px 6px;font-size:11px}.team-hours-matrix>span:nth-child(13n+1){justify-content:flex-start;padding-left:16px;font-size:12px}.team-hours-matrix>span:nth-child(13n){background:#edf4ff;color:#1763de;font-weight:850}
@media(max-width:720px){.call-team-summary-bar{padding:8px;align-items:stretch}.call-team-summary-bar>span{min-width:148px;padding:0 10px}.call-team-summary-bar>span:first-child{padding-left:10px}.call-team-summary-bar>span:last-child{padding-right:10px}.team-timeline-canvas,.team-hours-matrix{min-width:900px}.team-timeline-ruler,.team-timeline-lane{grid-template-columns:132px minmax(0,1fr)}.team-timeline-lane>strong{font-size:11px}}

/* Multi-employee call analysis: one shared 09:00–21:00 scale, as in the approved reference. */
.call-analysis-workspace.team-call-analysis-view{grid-template-columns:minmax(0,1fr);gap:16px}
.team-call-analysis-view .call-timeline-card,.team-call-analysis-view .call-hours-card{overflow:hidden}
.call-team-summary-bar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));min-height:64px;margin:0 0 18px;padding:0;overflow:auto;border:1px solid #dfe8f4;border-radius:12px;background:#fff;box-shadow:0 10px 25px #13263d08}
.call-team-summary-bar>span{display:inline-flex;min-width:170px;min-height:64px;align-items:center;gap:8px;padding:0 18px;border-right:1px solid #e6edf6;white-space:nowrap}
.call-team-summary-bar>span:last-child{border-right:0}.call-team-summary-bar b{color:#71839c;font-size:12px;font-weight:800}.call-team-summary-bar strong{color:#18385f;font-size:15px;font-weight:850}
.team-timeline-scroll,.team-hours-scroll{overflow-x:auto;overflow-y:hidden;scrollbar-color:#bdcde0 transparent}
.team-timeline-canvas{min-width:1060px;padding:1px 0 5px}
.team-timeline-ruler{display:grid;grid-template-columns:180px minmax(820px,1fr);gap:12px;margin:0 0 13px;overflow:visible}
.team-timeline-ruler>div{position:relative;display:block;height:18px;color:#71839b;font-size:10px;font-weight:800}
.team-timeline-ruler b{position:absolute;top:0;transform:translateX(-50%);white-space:nowrap}.team-timeline-ruler b:first-child{transform:none}.team-timeline-ruler b:last-child{transform:translateX(-100%)}
.team-timeline-lanes{display:grid;gap:9px;min-width:0}
.team-timeline-lane{display:grid;grid-template-columns:180px minmax(820px,1fr);align-items:center;gap:12px;min-height:22px;padding:0}
.team-timeline-lane>strong{overflow:hidden;color:#344d6d;font-size:11px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}
.team-timeline-track{position:relative;height:12px;min-height:12px;overflow:hidden;border-radius:0;background-color:#e5e8ed;background-image:repeating-linear-gradient(90deg,transparent 0,transparent calc(8.333% - 1px),#f8fafc calc(8.333% - 1px),#f8fafc 8.333%)}
.team-timeline-track .call-segment{position:absolute;top:0;z-index:1;display:flex;height:12px;min-width:1px;overflow:hidden;border-radius:0;box-shadow:none}.team-timeline-track .call-segment-ring,.team-timeline-track .call-segment-talk{display:block;min-width:1px;height:100%}.team-timeline-track .call-segment-ring{background:#9adff2}.team-timeline-track .call-segment-talk{background:#1769ee}
.team-hours-scroll{padding-bottom:2px}.team-hours-matrix{display:grid;min-width:1060px;border:1px solid #e0e8f2;border-radius:10px;overflow:hidden}.team-hours-row{display:grid;grid-template-columns:170px repeat(12,minmax(70px,1fr)) 94px;min-height:50px;align-items:stretch;border-top:1px solid #e4ebf4}.team-hours-row:first-child{border-top:0}.team-hours-row>*{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 6px;border-left:1px solid #e4ebf4;color:#526983;font-size:11px;font-weight:700;text-align:center}.team-hours-row>*:first-child{justify-content:flex-start;border-left:0;padding-left:16px;color:#38506f}.team-hours-row>*:last-child{background:#f1f6ff;color:#1763dc;font-weight:850}.team-hours-head>*{background:#f5f8fc;color:#6c809a;font-size:10px;font-weight:850}.team-hours-head>*:last-child{background:#eaf2ff;color:#366ed0}.team-hours-row strong{font-size:11px;font-weight:800}
@media(max-width:720px){.call-team-summary-bar{grid-template-columns:repeat(2,minmax(0,1fr));padding:0}.call-team-summary-bar>span{min-height:58px;padding:0 12px}.call-team-summary-bar>span:nth-child(2n){border-right:0}.call-team-summary-bar>span:nth-child(n+3){border-top:1px solid #e6edf6}.team-timeline-canvas,.team-hours-matrix{min-width:920px}.team-timeline-ruler,.team-timeline-lane{grid-template-columns:140px minmax(760px,1fr)}.team-timeline-lane>strong{font-size:10px}}
.upload-progress-modal[hidden]{display:none}
.upload-progress-modal{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;padding:24px;background:rgb(17 37 63 / .36);backdrop-filter:blur(5px)}
.upload-progress-dialog{width:min(100%,430px);padding:28px;border:1px solid #dbe7f5;border-radius:20px;background:#fff;box-shadow:0 24px 70px #13263d3d}
.upload-progress-mark{position:relative;display:grid;width:52px;height:52px;place-items:center;margin-bottom:18px}
.upload-progress-spinner{position:absolute;inset:0;border:4px solid #e5eefb;border-top-color:#276ee8;border-radius:50%;animation:upload-progress-spin .85s linear infinite}
.upload-progress-check,.upload-progress-error{display:none;place-items:center;width:52px;height:52px;border-radius:50%;color:#fff;font-size:30px;font-weight:900}
.upload-progress-copy{display:grid;gap:5px}
.upload-progress-copy .eyebrow{margin:0;color:#3577df}
.upload-progress-copy h2{margin:0;color:#17304e;font-size:22px}
.upload-progress-copy p:last-child{margin:0;color:#6d8099;font-size:14px;line-height:1.45}
.upload-progress-track{height:5px;margin-top:22px;overflow:hidden;border-radius:99px;background:#eaf0f8}
.upload-progress-track i{display:block;width:38%;height:100%;border-radius:inherit;background:#2d71e8;animation:upload-progress-slide 1.2s ease-in-out infinite}
.upload-progress-modal[data-state="success"] .upload-progress-spinner,.upload-progress-modal[data-state="error"] .upload-progress-spinner{display:none}
.upload-progress-modal[data-state="success"] .upload-progress-check{display:grid;background:#25a66d}
.upload-progress-modal[data-state="error"] .upload-progress-error{display:grid;background:#c65353}
.upload-progress-modal[data-state="success"] .upload-progress-track i{width:100%;background:#25a66d;animation:none}
.upload-progress-modal[data-state="error"] .upload-progress-track i{width:100%;background:#c65353;animation:none}
@keyframes upload-progress-spin{to{transform:rotate(360deg)}}
@keyframes upload-progress-slide{0%{transform:translateX(-120%)}55%{transform:translateX(210%)}100%{transform:translateX(210%)}}
@media(max-width:640px){.upload-progress-dialog{padding:24px}.upload-progress-modal{padding:16px}}
