/* ============ AI 电话员 设计系统 ============ */
:root {
  --brand: #ff7a1e;
  --brand-deep: #ff5b04;
  --grad: linear-gradient(135deg, #ffb056 0%, #ff8a3c 45%, #ff6a00 100%);
  --grad-soft: linear-gradient(135deg, #fff4e8 0%, #ffe9d6 55%, #ffdcbe 100%);
  --text: #242b38;
  --text-2: #5b6572;
  --muted: #98a1af;
  --line: #f1e8dd;
  --card: #ffffff;
  --green: #12b76a;
  --red: #f04438;
  --blue: #2e90fa;
  --amber: #f79009;
  --shadow: 0 6px 24px rgba(190, 120, 40, .08), 0 1px 3px rgba(190, 120, 40, .05);
  --radius: 16px;
  --side-w: 216px;
  --top-h: 60px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  color: var(--text);
  background: #fdf6ee;
  font-size: 14px;
  overflow: hidden;
}
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 14px; color: var(--text); outline: none; }
a { text-decoration: none; color: inherit; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #ecdccb; border-radius: 8px; }
::-webkit-scrollbar-track { background: transparent; }

#app { display: flex; height: 100vh; }

/* ============ 侧栏 ============ */
#sidebar {
  width: var(--side-w); flex-shrink: 0; background: #fff;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 14px 12px;
  transition: margin .25s;
}
#sidebar.collapsed { margin-left: calc(-1 * var(--side-w)); }
.logo { display: flex; align-items: center; gap: 10px; padding: 6px 6px 18px; }
.logo-icon {
  width: 42px; height: 42px; border-radius: 12px; background: var(--grad);
  display: flex; align-items: center; justify-content: center; color: #fff;
  box-shadow: 0 6px 14px rgba(255, 106, 0, .35);
  flex-shrink: 0;
}
.logo-text b { display: block; font-size: 16.5px; letter-spacing: .5px; }
.logo-text span { font-size: 11px; color: var(--muted); }
#nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
#nav a {
  display: flex; align-items: center; gap: 11px; padding: 0 14px; height: 42px;
  border-radius: 12px; color: var(--text-2); font-size: 14.5px; font-weight: 500;
  transition: all .15s;
}
#nav a:hover { background: #fff4ea; color: var(--brand-deep); }
#nav a.active {
  background: var(--grad); color: #fff; font-weight: 600;
  box-shadow: 0 6px 16px rgba(255, 106, 0, .32);
}
.nav-ic { display: flex; width: 18px; height: 18px; }
.nav-ic svg { width: 18px; height: 18px; }

/* ============ 主区 ============ */
#main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
#topbar {
  height: var(--top-h); flex-shrink: 0; display: flex; align-items: center; gap: 16px;
  padding: 0 20px; background: rgba(255, 251, 246, .85); backdrop-filter: blur(8px);
  border-bottom: 1px solid #f6ecdf; z-index: 30; position: relative;
}
.icon-btn {
  width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: #6b7482; position: relative; transition: background .15s;
}
.icon-btn:hover { background: #f6ede2; color: var(--brand-deep); }
.icon-btn svg { width: 19px; height: 19px; }
.search-box {
  flex: 0 1 460px; position: relative; display: flex; align-items: center;
  background: #fff; border: 1px solid #f0e4d5; border-radius: 999px; height: 38px; padding: 0 12px;
}
.search-box:focus-within { border-color: #ffb988; box-shadow: 0 0 0 3px rgba(255, 138, 60, .12); }
.search-ic { color: #b3aab8; display: flex; margin-right: 8px; }
.search-ic svg { width: 16px; height: 16px; }
.search-box input { flex: 1; border: none; background: none; font-size: 13.5px; }
.kbd {
  font-size: 11px; color: #a89f93; border: 1px solid #eee2d2; border-radius: 6px; padding: 2px 7px; background: #fbf6ef;
}
.search-drop {
  display: none; position: absolute; top: 46px; left: 0; right: 0; background: #fff;
  border-radius: 14px; box-shadow: 0 14px 40px rgba(80, 50, 20, .16); padding: 8px; max-height: 380px; overflow: auto; z-index: 60;
}
.search-drop.open { display: block; }
.sd-group { padding: 6px 8px 2px; font-size: 11px; color: var(--muted); }
.sd-item { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; cursor: pointer; }
.sd-item:hover { background: #fff3e7; }
.sd-item .dot { width: 7px; height: 7px; border-radius: 50%; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.bell-badge {
  position: absolute; top: 3px; right: 3px; background: #f04438; color: #fff; font-style: normal;
  font-size: 10px; min-width: 16px; height: 16px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
  padding: 0 4px; border: 2px solid #fffbf6;
}
.bell-wrap { position: relative; }
.notice-drop {
  display: none; position: absolute; top: 44px; right: 0; width: 320px; background: #fff;
  border-radius: 14px; box-shadow: 0 14px 40px rgba(80, 50, 20, .16); padding: 8px; max-height: 420px; overflow: auto; z-index: 60;
}
.notice-drop.open { display: block; }
.notice-item { display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; border-radius: 10px; }
.notice-item:hover { background: #fff3e7; }
.notice-item .tile { width: 26px; height: 26px; border-radius: 8px; flex-shrink: 0; }
.notice-item .tile svg { width: 13px; height: 13px; }
.notice-body div { font-size: 12.5px; line-height: 1.5; }
.notice-body span { font-size: 11px; color: var(--muted); }

#view {
  flex: 1; overflow-y: auto; padding: 16px 22px 30px; position: relative;
  background:
    radial-gradient(900px 300px at 78% -60px, rgba(255, 190, 130, .35), transparent 65%),
    radial-gradient(700px 260px at 10% -80px, rgba(255, 210, 160, .28), transparent 60%),
    linear-gradient(180deg, #fdf3e7 0%, #fdf7f0 340px, #fbf4ec 100%);
}

/* ============ 通用组件 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 34px; padding: 0 16px; border-radius: 10px; font-size: 13.5px; font-weight: 500;
  background: #fff; color: var(--text-2); border: 1px solid #eee1d1; transition: all .15s; white-space: nowrap;
}
.btn:hover { border-color: #ffcf9e; color: var(--brand-deep); }
.btn.primary { background: var(--grad); color: #fff; border: none; font-weight: 600; box-shadow: 0 5px 14px rgba(255, 106, 0, .3); }
.btn.primary:hover { filter: brightness(1.05); }
.btn.sm { height: 28px; padding: 0 12px; font-size: 12.5px; border-radius: 8px; }
.btn.danger { color: var(--red); }
.btn.danger:hover { border-color: #ffc7c2; background: #fff5f4; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn svg { width: 15px; height: 15px; }

.panel {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
  border: 1px solid #f7efe5; padding: 16px 18px;
}
.panel-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.panel-head .tile { width: 34px; height: 34px; }
.panel-title b { font-size: 15.5px; display: block; }
.panel-title span { font-size: 11.5px; color: var(--muted); }
.panel-head .spacer { flex: 1; }

.tile {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0;
}
.tile svg { width: 20px; height: 20px; }
.tile.red { background: linear-gradient(135deg, #ff7a5c, #f5483b); box-shadow: 0 4px 10px rgba(245, 72, 59, .3); }
.tile.green { background: linear-gradient(135deg, #4cc38a, #12b76a); box-shadow: 0 4px 10px rgba(18, 183, 106, .3); }
.tile.purple { background: linear-gradient(135deg, #a78bfa, #7c5cfc); box-shadow: 0 4px 10px rgba(124, 92, 252, .3); }
.tile.blue { background: linear-gradient(135deg, #53b1fd, #2e90fa); box-shadow: 0 4px 10px rgba(46, 144, 250, .3); }
.tile.orange { background: linear-gradient(135deg, #ffb056, #ff7a1e); box-shadow: 0 4px 10px rgba(255, 122, 30, .3); }
.tile.amber { background: linear-gradient(135deg, #ffc53d, #f79009); box-shadow: 0 4px 10px rgba(247, 144, 9, .3); }
.tile.teal { background: linear-gradient(135deg, #3cc9b0, #0e9f8a); box-shadow: 0 4px 10px rgba(14, 159, 138, .3); }
.tile.sm { width: 30px; height: 30px; border-radius: 9px; }
.tile.sm svg { width: 15px; height: 15px; }

.delta { display: inline-flex; align-items: center; gap: 2px; font-size: 11.5px; font-weight: 600; padding: 2px 7px; border-radius: 999px; }
.delta svg { width: 11px; height: 11px; }
.delta.up { color: var(--green); background: #e7f8f0; }
.delta.down { color: var(--red); background: #fdeeed; }
.delta.hot { color: var(--red); background: #fdeeed; }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; padding: 3px 10px; border-radius: 999px; }
.pill i { width: 6px; height: 6px; border-radius: 50%; font-style: normal; }
.pill.green { color: #0e9f5d; background: #e7f8f0; } .pill.green i { background: #12b76a; }
.pill.blue { color: #1570ef; background: #e9f3ff; } .pill.blue i { background: #2e90fa; }
.pill.orange { color: #d9700d; background: #fff2df; } .pill.orange i { background: #f79009; }
.pill.gray { color: #8792a1; background: #f1f3f6; } .pill.gray i { background: #98a1af; }

.bar { height: 6px; border-radius: 4px; background: #f5ede2; overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 4px; background: var(--grad); transition: width .4s; }

.progress-mini { display: flex; align-items: center; gap: 8px; }
.progress-mini .bar { flex: 1; }

/* 表格 */
.table { width: 100%; border-collapse: collapse; }
.table th {
  text-align: left; font-size: 12px; color: var(--muted); font-weight: 500;
  padding: 8px 10px; border-bottom: 1px solid #f6efe5; white-space: nowrap;
}
.table td { padding: 11px 10px; border-bottom: 1px solid #f8f2e9; font-size: 13.5px; vertical-align: middle; }
.table tr:last-child td { border-bottom: none; }
.table tbody tr { transition: background .12s; }
.table tbody tr:hover { background: #fffaf4; }
.table .num { font-variant-numeric: tabular-nums; font-weight: 600; }
.table .sub { font-size: 11px; color: var(--muted); margin-top: 2px; }
.cell-main { display: flex; align-items: center; gap: 9px; }

.carrier {
  width: 26px; height: 26px; border-radius: 8px; color: #fff; font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.carrier.dl { background: linear-gradient(135deg, #4aa7f5, #1668dc); }
.carrier.lt { background: linear-gradient(135deg, #ff7a6b, #e63c31); }
.carrier.yd { background: linear-gradient(135deg, #3ecfa2, #0e9f6e); }
.carrier.xn { background: linear-gradient(135deg, #b3bcc9, #8592a4); }


select.sel, .input {
  height: 32px; border: 1px solid #eee1d1; border-radius: 9px; background: #fff; padding: 0 10px; font-size: 13px;
}
.input { width: 100%; }
textarea.input { height: auto; padding: 9px 10px; line-height: 1.6; resize: vertical; }
select.sel:focus, .input:focus { border-color: #ffb988; box-shadow: 0 0 0 3px rgba(255, 138, 60, .12); }

/* ============ 工作台 ============ */
.wb-hero {
  border-radius: 18px; padding: 22px 26px; display: flex; align-items: center; gap: 20px;
  background:
    radial-gradient(500px 200px at 88% 0%, rgba(255, 255, 255, .55), transparent 60%),
    radial-gradient(700px 260px at 55% 120%, rgba(255, 122, 30, .18), transparent 60%),
    linear-gradient(100deg, #fff7ef 0%, #ffe8d2 48%, #ffcf9e 100%);
  border: 1px solid #ffe4c8; margin-bottom: 16px; position: relative; overflow: hidden;
}
.wb-hero::after {
  content: ""; position: absolute; right: -60px; top: -80px; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255, 138, 60, .25), transparent 65%); border-radius: 50%;
}
.hero-title-wrap { display: flex; align-items: center; gap: 12px; }
.hero-chevron {
  width: 34px; height: 52px; border-radius: 10px; background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800;
  box-shadow: 0 8px 18px rgba(255, 106, 0, .35);
}
.hero-title h1 { font-size: 25px; letter-spacing: .5px; }
.hero-title p { color: #8a6b4d; font-size: 13px; margin-top: 5px; }
.hero-mid { flex: 1; display: flex; align-items: center; justify-content: flex-end; gap: 4px; padding-right: 8px; }
.slogan {
  font-size: 21px; font-weight: 800; font-style: italic; line-height: 1.35; text-align: right;
  color: #e2570e; text-shadow: 0 1px 0 #fff; font-family: "Kaiti SC", "STKaiti", "KaiTi", serif; letter-spacing: 2px;
}
.slogan small { display: block; font-size: 12px; font-style: normal; font-weight: 500; color: #b97b45; letter-spacing: 4px; margin-top: 4px; }
.hero-robot { width: 108px; height: 92px; flex-shrink: 0; filter: drop-shadow(0 10px 16px rgba(210, 100, 20, .25)); animation: float 3.2s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.hero-right { display: flex; align-items: center; gap: 14px; position: relative; z-index: 2; }
.hero-dt b { display: block; font-size: 19px; font-variant-numeric: tabular-nums; }
.hero-dt span { font-size: 11.5px; color: #a3764a; }
.hero-dt { text-align: right; }

.stat-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.stat-card {
  background: #fff; border-radius: 14px; padding: 13px 14px; box-shadow: var(--shadow); border: 1px solid #f7efe5;
  min-width: 0;
}
.stat-head { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--text-2); white-space: nowrap; }
.stat-head .tile { width: 30px; height: 30px; border-radius: 9px; }
.stat-head .tile svg { width: 15px; height: 15px; }
.stat-num { display: flex; align-items: baseline; gap: 6px; margin: 9px 0 7px; }
.stat-num b { font-size: 23px; font-variant-numeric: tabular-nums; letter-spacing: -.3px; }
.stat-num .delta { transform: translateY(-2px); }
.stat-sub { font-size: 11px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stat-sub b { color: var(--text-2); }

.wb-grid { display: grid; grid-template-columns: minmax(0, 1fr) 396px; gap: 16px; align-items: start; }
.wb-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

.seg { display: inline-flex; background: #f7efe4; border-radius: 10px; padding: 3px; gap: 2px; }
.seg button { height: 28px; padding: 0 13px; border-radius: 8px; font-size: 12.5px; color: #8a7f6f; font-weight: 500; }
.seg button.active { background: #fff; color: var(--brand-deep); font-weight: 600; box-shadow: 0 2px 6px rgba(160, 100, 30, .15); }
.seg.solid button.active { background: var(--grad); color: #fff; box-shadow: 0 3px 8px rgba(255, 106, 0, .25); }

.line-name b { font-size: 13.5px; }
.line-sub { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); margin-top: 3px; }
.used-cell b { font-variant-numeric: tabular-nums; font-size: 13px; }
.used-cell .bar { margin-top: 5px; width: 110px; }
.task-cell b { font-size: 12.5px; font-weight: 500; }
.task-cell .progress-mini { margin-top: 5px; width: 130px; font-size: 11px; color: var(--muted); }
.dots-btn { width: 28px; height: 28px; border-radius: 8px; color: #a09a90; display: flex; align-items: center; justify-content: center; }
.dots-btn:hover { background: #f6ede2; color: var(--brand-deep); }
.live-strip { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.live-chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12px; padding: 4px 10px; border-radius: 999px;
  background: #fff4ea; border: 1px solid #ffe0c2; color: #b25e00;
}
.live-chip i { width: 7px; height: 7px; border-radius: 50%; background: #f5483b; animation: blink 1.1s infinite; font-style: normal; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* 账户 */
.acct-tag { margin-top: 9px; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: #b25e00; background: #fff2df; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }

/* 任务摘要 */
.sum-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sum-tile {
  border: 1px solid #f6efe5; border-radius: 12px; padding: 11px 12px; background: linear-gradient(180deg, #fffdfb, #fdf7ef);
}
.sum-head { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--text-2); }
.sum-head .tile { width: 26px; height: 26px; border-radius: 8px; }
.sum-head .tile svg { width: 13px; height: 13px; }
.sum-tile b { display: block; font-size: 21px; margin: 7px 0 3px; font-variant-numeric: tabular-nums; }
.sum-sub { font-size: 11px; color: var(--muted); }

/* 意向分布 */
.dist-body { display: flex; align-items: center; gap: 8px; }
.dist-list { flex: 1; display: flex; flex-direction: column; gap: 11px; }
.dist-row { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.dist-row .dot { width: 9px; height: 9px; border-radius: 3px; flex-shrink: 0; }
.dist-row .name { color: var(--text-2); }
.dist-row .cnt { margin-left: auto; font-weight: 700; font-variant-numeric: tabular-nums; }
.dist-row .pc { width: 42px; text-align: right; color: var(--muted); font-size: 11.5px; }
.donut-wrap { position: relative; width: 132px; height: 132px; flex-shrink: 0; }
.donut-center { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.donut-center b { font-size: 21px; }
.donut-center span { font-size: 10.5px; color: var(--muted); }

/* 漏斗 */
.funnel { display: flex; align-items: center; padding: 8px 0 2px; }
.funnel-step { flex: 1; display: flex; align-items: center; gap: 10px; min-width: 0; }
.funnel-arrow { color: #e8b98a; display: flex; flex-shrink: 0; }
.funnel-arrow svg { width: 20px; height: 20px; }
.funnel-num b { font-size: 20px; font-variant-numeric: tabular-nums; display: block; }
.funnel-num .lbl { font-size: 11.5px; color: var(--text-2); margin: 3px 0 2px; white-space: nowrap; }
.funnel-num .rate { font-size: 11.5px; color: #f79009; font-weight: 700; }

/* 页面头 */
.page-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.page-head h2 { font-size: 20px; }
.page-head p { color: var(--muted); font-size: 12.5px; }
.page-head .spacer { flex: 1; }

/* 弹窗 & 提示 */
.modal-mask {
  position: fixed; inset: 0; background: rgba(40, 26, 12, .38); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; z-index: 100; animation: fade .18s;
}
@keyframes fade { from { opacity: 0; } }
.modal {
  width: min(560px, 92vw); max-height: 86vh; overflow: auto; background: #fff; border-radius: 18px;
  box-shadow: 0 24px 70px rgba(80, 45, 10, .3); animation: pop .2s cubic-bezier(.2, .9, .3, 1.2);
}
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.modal-head { display: flex; align-items: center; padding: 16px 20px; border-bottom: 1px solid #f6efe5; }
.modal-head b { font-size: 16px; }
.modal-head .x { margin-left: auto; }
.modal-body { padding: 18px 20px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid #f6efe5; }
.form-row { margin-bottom: 13px; }
.form-row label { display: block; font-size: 12.5px; color: var(--text-2); margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

#toast-root { position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; }
.toast {
  background: #2a2f3a; color: #fff; padding: 9px 18px; border-radius: 12px; font-size: 13px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25); animation: pop .2s;
}
.toast.ok { background: #0e9f6e; }
.toast.err { background: #e02d1f; }

/* 其余页面通用 */
.kpi-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 16px; }
.filters { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pager { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding-top: 12px; font-size: 12.5px; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; font-size: 13px; }
.transcript { background: #fbf6ef; border-radius: 10px; padding: 10px 12px; font-size: 12.5px; line-height: 1.7; max-height: 260px; overflow: auto; }
.transcript .t-ai { color: #b25e00; }
.transcript .t-cu { color: #445; }
.tag-chip { display: inline-block; font-size: 11px; background: #fff2df; color: #b25e00; border-radius: 6px; padding: 1px 7px; margin-right: 4px; }
.board-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; margin-bottom: 16px; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--text-2); }
.legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; }

/* 联系人工作区：来源与地区分列，电话始终完整显示。 */
.contact-workspace { display:inline-block; color:#a75b0c; background:#fff0d9; border:1px solid #f5d8ac; border-radius:6px; padding:3px 8px; font-size:11px; margin-bottom:7px; }
.contact-workspace.crm { color:#246396; background:#eaf4ff; border-color:#cde5fa; }
.contact-kpis { grid-template-columns:repeat(5,minmax(0,1fr)); }
.contact-panel { padding:16px; }
.contact-filters .input { width:245px; }
.contact-filters .sel { max-width:230px; }
.contact-result { display:flex; align-items:center; gap:6px; color:var(--text-2); font-size:12px; padding:16px 0 12px; }
.contact-result span { margin-left:auto; color:var(--muted); }
.contact-table-scroll { overflow-x:auto; }
.contact-table { min-width:1040px; }
.contact-table td { vertical-align:middle; }
.contact-phone { font-family:Consolas,monospace; font-size:14px; margin-top:5px; white-space:nowrap; color:#25364a; font-variant-numeric:tabular-nums; }
.contact-actions { white-space:nowrap; }
.contact-text-btn { background:none; border:0; padding:4px 0; color:#2771a5; font-size:11px; cursor:pointer; }
.contact-note { max-width:210px; white-space:normal; line-height:1.6; }
.contact-source-path { max-width:500px; overflow-wrap:anywhere; white-space:normal; line-height:1.7; }
.contact-source-summary { font-size:13px; color:var(--text-2); margin:0 0 14px; }
.contact-dnd { display:flex; align-items:center; gap:8px; font-size:13px; }
.contact-dnd input { width:16px; height:16px; }
@media(max-width:900px) { .contact-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); } .contact-result { flex-wrap:wrap; } .contact-result span { margin-left:0; width:100%; } }

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