:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #f9fafc;
  --surface-3: #f1f4f9;
  --text: #111827;
  --muted: #667085;
  --muted-2: #98a2b3;
  --border: #e4e7ec;
  --border-strong: #d0d5dd;
  --accent: #3157d5;
  --accent-2: #2445b8;
  --accent-soft: #eef2ff;
  --success: #15803d;
  --success-soft: #ecfdf3;
  --warning: #b54708;
  --warning-soft: #fffaeb;
  --danger: #b42318;
  --danger-soft: #fef3f2;
  --nav: #101828;
  --nav-muted: #98a2b3;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --shadow-md: 0 10px 30px rgba(16, 24, 40, .08);
  --radius: 16px;
  --radius-sm: 10px;
  --sidebar: 244px;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body { margin: 0; min-height: 100vh; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: var(--sidebar) minmax(0,1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; background: var(--nav); color: #fff; padding: 20px 14px; display: flex; flex-direction: column; gap: 18px; z-index: 20; }
.brand { display: flex; align-items: center; gap: 11px; padding: 5px 7px 16px; border-bottom: 1px solid rgba(255,255,255,.08); }
.brand-mark { width: 38px; height: 38px; border-radius: 11px; background: linear-gradient(145deg,#6d87ff,#3157d5); display:grid; place-items:center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.brand-mark svg { width: 22px; height: 22px; }
.brand-copy strong { display:block; font-size: 14px; letter-spacing:.01em; }
.brand-copy span { display:block; color: var(--nav-muted); font-size: 11px; margin-top: 2px; }
.nav-group { display: grid; gap: 5px; }
.nav-label { color: #667085; text-transform: uppercase; font-size: 10px; letter-spacing: .12em; font-weight: 700; padding: 3px 11px 7px; }
.nav-item { border: 0; width: 100%; background: transparent; color: #d0d5dd; display:flex; align-items:center; gap: 10px; padding: 10px 11px; border-radius: 9px; text-align:left; font-size: 13px; transition: .16s ease; }
.nav-item svg { width: 17px; height: 17px; opacity:.9; }
.nav-item:hover { color:#fff; background: rgba(255,255,255,.06); }
.nav-item.active { color:#fff; background: rgba(109,135,255,.18); box-shadow: inset 0 0 0 1px rgba(109,135,255,.12); }
.sidebar-foot { margin-top:auto; display:grid; gap: 10px; }
.sidebar-workspace { padding: 11px; border: 1px solid rgba(255,255,255,.09); border-radius: 11px; background: rgba(255,255,255,.035); }
.sidebar-workspace strong { font-size:12px; display:block; }
.sidebar-workspace span { font-size:11px; color:var(--nav-muted); display:block; margin-top:2px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }

.main { min-width:0; }
.topbar { min-height: 70px; display:flex; align-items:center; justify-content:space-between; gap:18px; padding: 0 30px; background: rgba(255,255,255,.88); backdrop-filter: blur(18px); border-bottom:1px solid var(--border); position:sticky; top:0; z-index:15; }
.topbar-left { min-width:0; }
.topbar-left h1 { margin:0; font-size:17px; letter-spacing:-.02em; }
.topbar-left p { margin:4px 0 0; font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.topbar-actions { display:flex; align-items:center; gap:8px; }
.content { width:min(1380px,100%); margin:0 auto; padding: 30px; }

.btn { min-height:38px; border-radius:9px; border:1px solid var(--border-strong); background:#fff; color:var(--text); padding:8px 13px; display:inline-flex; align-items:center; justify-content:center; gap:8px; font-size:12px; font-weight:650; box-shadow:var(--shadow-sm); }
.btn:hover { background:#f9fafb; }
.btn.primary { background:var(--accent); color:#fff; border-color:var(--accent); }
.btn.primary:hover { background:var(--accent-2); }
.btn.ghost { background:transparent; border-color:transparent; box-shadow:none; }
.btn.danger { color:var(--danger); border-color:#fecdca; background:#fff; }
.btn.small { min-height:32px; padding:6px 10px; font-size:11px; }
.btn svg { width:16px; height:16px; }
.icon-btn { width:36px; height:36px; padding:0; border:1px solid var(--border); background:#fff; border-radius:9px; display:grid; place-items:center; }
.icon-btn svg { width:17px; height:17px; }

.page-head { display:flex; align-items:flex-start; justify-content:space-between; gap:22px; margin-bottom:24px; }
.page-head h2 { margin:0; font-size:25px; letter-spacing:-.035em; }
.page-head p { margin:7px 0 0; color:var(--muted); font-size:13px; line-height:1.55; max-width:720px; }
.page-actions { display:flex; gap:8px; flex-wrap:wrap; }

.grid { display:grid; gap:16px; }
.grid.metrics { grid-template-columns:repeat(4,minmax(0,1fr)); }
.grid.two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.grid.three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.card { background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); box-shadow:var(--shadow-sm); }
.card.pad { padding:20px; }
.card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:15px; margin-bottom:16px; }
.card-head h3 { margin:0; font-size:14px; letter-spacing:-.015em; }
.card-head p { margin:5px 0 0; color:var(--muted); font-size:12px; line-height:1.5; }
.metric { padding:18px; }
.metric-top { display:flex; align-items:center; justify-content:space-between; }
.metric-icon { width:36px; height:36px; border-radius:10px; display:grid; place-items:center; background:var(--surface-3); color:var(--accent); }
.metric-icon svg { width:18px; height:18px; }
.metric-value { font-size:27px; font-weight:750; letter-spacing:-.04em; margin-top:16px; }
.metric-label { font-size:11px; color:var(--muted); margin-top:4px; }
.section { margin-top:22px; }
.section-title { display:flex; justify-content:space-between; align-items:end; gap:15px; margin-bottom:12px; }
.section-title h3 { margin:0; font-size:15px; }
.section-title p { margin:3px 0 0; color:var(--muted); font-size:11px; }

.agent-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:15px; }
.agent-card { background:#fff; border:1px solid var(--border); border-radius:15px; padding:17px; transition:.16s ease; }
.agent-card:hover { transform:translateY(-1px); box-shadow:var(--shadow-md); border-color:#d7dcf7; }
.agent-card-top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.agent-avatar { width:42px; height:42px; border-radius:12px; display:grid; place-items:center; background:linear-gradient(145deg,#eef2ff,#e0e7ff); color:var(--accent); font-size:22px; line-height:1; letter-spacing:-.02em; font-weight:850; }
.agent-card h3 { margin:13px 0 2px; font-size:14px; }
.agent-role { color:var(--muted); font-size:11px; }
.agent-card p { color:var(--muted); font-size:11px; line-height:1.55; min-height:35px; }
.agent-stats { display:flex; gap:15px; border-top:1px solid var(--border); padding-top:12px; margin-top:13px; }
.agent-stat strong { display:block; font-size:12px; }
.agent-stat span { display:block; color:var(--muted); font-size:10px; margin-top:2px; }

.badge, .status-pill { display:inline-flex; align-items:center; gap:6px; min-height:24px; padding:4px 8px; border-radius:999px; font-size:10px; font-weight:700; border:1px solid var(--border); background:#fff; }
.badge.success, .status-pill.success { color:var(--success); border-color:#abefc6; background:var(--success-soft); }
.badge.warning { color:var(--warning); border-color:#fedf89; background:var(--warning-soft); }
.badge.neutral { color:var(--muted); background:var(--surface-2); }
.badge.blue { color:var(--accent); border-color:#c7d7fe; background:var(--accent-soft); }
.dot { width:7px; height:7px; border-radius:50%; background:currentColor; }

.agent-hero { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; margin-bottom:18px; }
.agent-identity { display:flex; gap:14px; align-items:center; min-width:0; }
.agent-identity .agent-avatar { width:52px; height:52px; border-radius:15px; font-size:27px; line-height:1; letter-spacing:-.03em; font-weight:850; flex:0 0 auto; }
.agent-identity h2 { margin:0; font-size:22px; letter-spacing:-.03em; }
.agent-identity p { margin:4px 0 0; font-size:12px; color:var(--muted); }
.tabs { display:flex; gap:4px; overflow-x:auto; scrollbar-width:none; padding:4px; background:#eef1f6; border-radius:11px; margin-bottom:18px; }
.tabs::-webkit-scrollbar { display:none; }
.tab { flex:0 0 auto; border:0; background:transparent; color:var(--muted); padding:8px 11px; border-radius:8px; font-size:11px; font-weight:650; white-space:nowrap; }
.tab.active { background:#fff; color:var(--text); box-shadow:var(--shadow-sm); }

.form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.field { display:grid; gap:6px; }
.field.full { grid-column:1/-1; }
.field label { font-size:11px; font-weight:700; color:#344054; }
.field small { color:var(--muted); font-size:10px; line-height:1.45; }
.input, .textarea, .select { width:100%; border:1px solid var(--border-strong); border-radius:9px; background:#fff; color:var(--text); padding:9px 10px; outline:none; font-size:12px; transition:.15s ease; }
.input:focus, .textarea:focus, .select:focus { border-color:#8098f9; box-shadow:0 0 0 3px rgba(49,87,213,.08); }
.textarea { resize:vertical; min-height:150px; line-height:1.55; }
.textarea.code { min-height:260px; font:11px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; background:#0f172a; color:#e5e7eb; border-color:#1e293b; }
.field-row { display:flex; align-items:center; gap:8px; }
.form-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:15px; }

.toggle-row { display:flex; justify-content:space-between; align-items:center; gap:16px; padding:13px 0; border-bottom:1px solid var(--border); }
.toggle-row:last-child { border-bottom:0; }
.toggle-copy strong { display:block; font-size:12px; }
.toggle-copy span { display:block; color:var(--muted); font-size:10px; margin-top:3px; line-height:1.45; }
.switch { width:38px; height:22px; border-radius:999px; background:#d0d5dd; padding:2px; border:0; transition:.16s ease; flex:0 0 auto; }
.switch::after { content:""; display:block; width:18px; height:18px; border-radius:50%; background:#fff; box-shadow:0 1px 2px rgba(0,0,0,.14); transition:.16s ease; }
.switch.on { background:var(--accent); }
.switch.on::after { transform:translateX(16px); }

.list { display:grid; }
.list-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; align-items:center; padding:13px 0; border-bottom:1px solid var(--border); }
.list-row:last-child { border-bottom:0; }
.list-primary { min-width:0; }
.list-primary strong { display:block; font-size:12px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.list-primary span { display:block; color:var(--muted); font-size:10px; margin-top:4px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.empty { border:1px dashed var(--border-strong); border-radius:13px; padding:28px; text-align:center; color:var(--muted); background:var(--surface-2); }
.empty svg { width:28px; height:28px; margin:0 auto 10px; color:var(--muted-2); }
.empty strong { display:block; color:#344054; font-size:12px; }
.empty p { margin:5px auto 0; font-size:10px; max-width:440px; line-height:1.55; }

.conversation-list { display:grid; gap:9px; }
.conversation-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:14px; padding:14px 15px; border:1px solid var(--border); border-radius:12px; background:#fff; transition:.15s ease; }
.conversation-row:hover { border-color:#c7d7fe; box-shadow:var(--shadow-sm); }
.conversation-main { display:flex; gap:11px; min-width:0; }
.channel-icon { width:34px; height:34px; border-radius:9px; display:grid; place-items:center; background:var(--surface-3); color:var(--accent); flex:0 0 auto; }
.channel-icon svg { width:17px; height:17px; }
.conversation-title { font-size:12px; font-weight:700; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.conversation-summary { font-size:10px; color:var(--muted); margin-top:4px; line-height:1.4; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.conversation-meta { display:flex; align-items:center; gap:7px; flex-wrap:wrap; margin-top:7px; color:var(--muted); font-size:9px; }
.conversation-side { text-align:right; color:var(--muted); font-size:9px; min-width:70px; }

.detail-layout { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr); gap:18px; align-items:start; }
.detail-stack { display:grid; gap:15px; }
.summary-copy { font-size:12px; line-height:1.65; color:#344054; white-space:pre-wrap; }
.key-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.key-item { border:1px solid var(--border); background:var(--surface-2); border-radius:10px; padding:10px; }
.key-item span { display:block; color:var(--muted); font-size:9px; margin-bottom:4px; }
.key-item strong { display:block; font-size:11px; line-height:1.35; overflow-wrap:anywhere; }
.action-list { display:grid; gap:8px; }
.action-item { display:flex; align-items:flex-start; gap:9px; padding:9px 10px; border:1px solid var(--border); border-radius:10px; font-size:11px; line-height:1.45; }
.action-check { width:16px; height:16px; border-radius:5px; border:1px solid var(--border-strong); flex:0 0 auto; margin-top:1px; }
.action-item.completed { color:var(--muted); text-decoration:line-through; background:var(--surface-2); }
.transcript { display:grid; gap:10px; }
.turn { max-width:86%; padding:10px 12px; border-radius:12px; font-size:11px; line-height:1.55; }
.turn.user { justify-self:start; background:#f2f4f7; }
.turn.assistant { justify-self:end; background:var(--accent-soft); color:#243b89; }
.turn .speaker { display:block; font-size:8px; text-transform:uppercase; letter-spacing:.08em; font-weight:800; opacity:.62; margin-bottom:4px; }

.voice-studio { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr); gap:16px; align-items:start; }
.voice-console { min-height:540px; display:flex; flex-direction:column; }
.voice-stage { padding:26px; display:grid; place-items:center; border-bottom:1px solid var(--border); background:radial-gradient(circle at 50% 30%,#f6f8ff,#fff 62%); }
.voice-orb { width:116px; height:116px; border-radius:50%; display:grid; place-items:center; background:linear-gradient(145deg,#eef2ff,#dfe7ff); box-shadow:0 20px 50px rgba(49,87,213,.13), inset 0 0 0 1px rgba(49,87,213,.12); position:relative; }
.voice-orb::after { content:""; position:absolute; inset:-9px; border:1px solid rgba(49,87,213,.13); border-radius:50%; opacity:0; }
.voice-orb.listening::after, .voice-orb.speaking::after, .voice-orb.thinking::after { opacity:1; animation:pulse 1.8s infinite; }
.voice-orb.speaking { background:linear-gradient(145deg,#e0e7ff,#c7d7fe); }
.voice-orb.thinking { background:linear-gradient(145deg,#f4ebff,#e9d7fe); }
.voice-orb svg { width:35px; height:35px; color:var(--accent); }
@keyframes pulse { 0%{transform:scale(.96);opacity:.65} 65%{transform:scale(1.13);opacity:0} 100%{opacity:0} }
.voice-status { text-align:center; margin-top:15px; }
.voice-status strong { display:block; font-size:15px; }
.voice-status span { display:block; color:var(--muted); font-size:10px; margin-top:4px; }
.meter { width:180px; height:5px; background:#e4e7ec; border-radius:999px; overflow:hidden; margin-top:16px; }
.meter > span { display:block; height:100%; width:0; background:var(--accent); border-radius:inherit; transition:width .08s linear; }
.voice-controls { display:flex; gap:8px; margin-top:17px; }
.voice-transcript { flex:1; min-height:220px; max-height:340px; overflow:auto; padding:16px; display:grid; align-content:start; gap:8px; }
.live-side { display:grid; gap:14px; }
.live-summary { min-height:90px; }
.live-details { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
.live-details .key-item { background:#fff; }

.activity-list { display:grid; }
.activity-row { display:grid; grid-template-columns:28px minmax(0,1fr) auto; gap:10px; align-items:start; padding:12px 0; border-bottom:1px solid var(--border); }
.activity-row:last-child { border-bottom:0; }
.activity-icon { width:28px; height:28px; border-radius:8px; background:var(--surface-3); display:grid; place-items:center; color:var(--muted); }
.activity-icon svg { width:14px; height:14px; }
.activity-copy strong { font-size:11px; display:block; }
.activity-copy span { color:var(--muted); font-size:9px; line-height:1.4; display:block; margin-top:3px; }
.activity-time { color:var(--muted-2); font-size:9px; white-space:nowrap; }

.integration-card { padding:18px; }
.integration-top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }
.integration-logo { width:38px; height:38px; border-radius:10px; background:var(--surface-3); display:grid; place-items:center; color:var(--accent); }
.integration-logo svg { width:19px; height:19px; }
.integration-card h3 { font-size:12px; margin:12px 0 4px; }
.integration-card p { font-size:10px; line-height:1.5; color:var(--muted); margin:0; min-height:30px; }

.code-block { background:#0f172a; color:#d1d5db; border-radius:12px; padding:14px; font:10px/1.6 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace; overflow:auto; white-space:pre-wrap; overflow-wrap:anywhere; }
.notice { border:1px solid #c7d7fe; background:#f5f8ff; color:#344054; padding:11px 12px; border-radius:10px; font-size:10px; line-height:1.5; }
.notice.warning { border-color:#fedf89; background:var(--warning-soft); }

.dialog { width:min(560px,calc(100vw - 28px)); border:0; border-radius:16px; padding:0; box-shadow:0 30px 80px rgba(16,24,40,.25); }
.dialog::backdrop { background:rgba(16,24,40,.45); backdrop-filter:blur(3px); }
.dialog-inner { padding:20px; }
.dialog-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; margin-bottom:16px; }
.dialog-head h3 { margin:0; font-size:16px; }
.dialog-head p { margin:5px 0 0; color:var(--muted); font-size:10px; }

.toast-stack { position:fixed; right:18px; bottom:18px; display:grid; gap:8px; z-index:100; }
.toast { min-width:240px; max-width:360px; background:#101828; color:#fff; padding:11px 13px; border-radius:10px; box-shadow:var(--shadow-md); font-size:10px; line-height:1.45; animation:toastIn .18s ease; }
@keyframes toastIn { from{transform:translateY(6px);opacity:0} }

.mobile-nav { display:none; }
.hidden { display:none !important; }
.muted { color:var(--muted); }
.mini { font-size:10px; }
.mt-0 { margin-top:0 !important; }

@media (max-width: 1100px) {
  .grid.metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .agent-grid, .grid.three { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .voice-studio { grid-template-columns:1fr; }
  .detail-layout { grid-template-columns:1fr; }
}

@media (max-width: 760px) {
  :root { --sidebar: 0px; }
  .app-shell { display:block; padding-bottom:70px; }
  .sidebar { display:none; }
  .topbar { padding:0 16px; min-height:62px; }
  .topbar-left p { max-width:220px; }
  .content { padding:18px 14px 24px; }
  .page-head { flex-direction:column; margin-bottom:18px; }
  .page-head h2 { font-size:22px; }
  .grid.metrics, .grid.two, .grid.three, .agent-grid, .form-grid { grid-template-columns:1fr; }
  .field.full { grid-column:auto; }
  .metric { padding:15px; }
  .agent-hero { flex-direction:column; }
  .tabs { margin-left:-4px; margin-right:-4px; }
  .key-grid, .live-details { grid-template-columns:1fr; }
  .turn { max-width:94%; }
  .conversation-row { grid-template-columns:1fr; }
  .conversation-side { text-align:left; }
  .mobile-nav { position:fixed; display:grid; grid-template-columns:repeat(4,1fr); left:8px; right:8px; bottom:max(8px,env(safe-area-inset-bottom)); min-height:54px; background:rgba(16,24,40,.96); border:1px solid rgba(255,255,255,.08); border-radius:15px; padding:4px; z-index:50; box-shadow:0 18px 50px rgba(16,24,40,.3); }
  .mobile-nav button { border:0; background:transparent; color:#98a2b3; display:grid; place-items:center; align-content:center; gap:2px; border-radius:10px; font-size:8px; }
  .mobile-nav button.active { color:#fff; background:rgba(109,135,255,.18); }
  .mobile-nav svg { width:18px; height:18px; }
}

/* V.0.03 readability and live-conversation refinements */
body { font-size: 15px; }
.brand-copy strong { font-size: 15px; }
.brand-copy span { font-size: 12px; }
.nav-label { font-size: 11px; }
.nav-item { font-size: 14px; padding-top: 11px; padding-bottom: 11px; }
.sidebar-workspace strong { font-size: 13px; }
.sidebar-workspace span { font-size: 12px; }
.topbar-left h1 { font-size: 19px; }
.topbar-left p { font-size: 13px; }
.btn { font-size: 13px; }
.btn.small { font-size: 12px; }
.page-head h2 { font-size: 27px; }
.page-head p { font-size: 14px; }
.card-head h3 { font-size: 16px; }
.card-head p { font-size: 13px; }
.metric-label { font-size: 12px; }
.section-title h3 { font-size: 17px; }
.section-title p { font-size: 12px; }
.agent-card h3 { font-size: 16px; }
.agent-role, .agent-card p { font-size: 12px; }
.agent-stat strong { font-size: 13px; }
.agent-stat span { font-size: 11px; }
.badge, .status-pill { font-size: 11px; }
.agent-identity h2 { font-size: 24px; }
.agent-identity p { font-size: 13px; }
.tab { font-size: 13px; padding: 9px 12px; }
.field label { font-size: 12px; }
.field small { font-size: 11px; }
.input, .textarea, .select { font-size: 14px; padding: 10px 11px; }
.textarea.code { font-size: 12px; }
.toggle-copy strong { font-size: 13px; }
.toggle-copy span { font-size: 12px; }
.list-primary strong { font-size: 14px; }
.list-primary span { font-size: 12px; }
.empty strong { font-size: 14px; }
.empty p { font-size: 12px; }
.conversation-title { font-size: 14px; }
.conversation-summary { font-size: 12px; }
.conversation-meta, .conversation-side { font-size: 11px; }
.summary-copy { font-size: 14px; }
.key-item span { font-size: 11px; }
.key-item strong { font-size: 13px; }
.action-item { font-size: 13px; }
.turn { font-size: 14px; line-height: 1.55; padding: 11px 13px; }
.turn .speaker { display:flex; align-items:center; justify-content:space-between; gap:12px; font-size:10px; letter-spacing:.055em; margin-bottom:5px; }
.turn .speaker .turn-time { font-weight:700; letter-spacing:0; text-transform:none; opacity:.8; white-space:nowrap; }
.voice-status strong { font-size: 17px; }
.voice-status span { font-size: 12px; }
.activity-copy strong { font-size: 13px; }
.activity-copy span, .activity-time { font-size: 11px; }
.integration-card h3 { font-size: 14px; }
.integration-card p { font-size: 12px; }
.code-block { font-size: 11px; }
.notice { font-size: 12px; }
.dialog-head h3 { font-size: 18px; }
.dialog-head p { font-size: 12px; }
.toast { font-size: 12px; }
.mini { font-size: 11px; }

.live-transcript-wrap { position:relative; flex:1; min-height:220px; }
.live-transcript-wrap .voice-transcript { height:100%; }
.jump-latest { position:absolute; left:50%; bottom:14px; transform:translateX(-50%); border:1px solid var(--border-strong); background:#fff; color:var(--text); border-radius:999px; padding:8px 12px; box-shadow:var(--shadow-md); font-size:12px; font-weight:700; z-index:4; }
.jump-latest:hover { background:var(--surface-2); }
.knowledge-title-line { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.danger-zone { border-color:#fecdca; background:linear-gradient(180deg,#fff,#fffafa); }
.danger-note { color:var(--danger); font-size:12px; line-height:1.55; }
.changelog-list { display:grid; gap:16px; }
.changelog-entry { padding:20px; }
.version-line { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; padding-bottom:14px; border-bottom:1px solid var(--border); margin-bottom:14px; }
.version-line h3 { margin:0; font-size:18px; }
.version-line span { color:var(--muted); font-size:12px; }
.changelog-entry ul { margin:0; padding-left:20px; display:grid; gap:8px; color:#344054; font-size:13px; line-height:1.5; }
.changelog-mini { display:flex; gap:8px; align-items:flex-start; color:#344054; font-size:12px; line-height:1.45; padding:5px 0; }
.changelog-mini svg { flex:0 0 auto; margin-top:2px; color:var(--success); }
code { font-size:.92em; background:var(--surface-3); padding:1px 5px; border-radius:5px; }

@media (max-width: 760px) {
  .topbar-left h1 { font-size:18px; }
  .topbar-left p { font-size:12px; }
  .page-head h2 { font-size:24px; }
  .nav-item, .btn, .tab { font-size:13px; }
  .turn { font-size:13px; }
  .mobile-nav button { font-size:9px; }
}

.call-status { margin-top:10px; min-height:22px; padding:8px 10px; border-radius:9px; background:var(--surface-2); border:1px solid var(--border); color:var(--muted); font-size:11px; line-height:1.4; }
.call-status.connected { color:var(--success); background:var(--success-soft); border-color:#abefc6; }
.call-status.failed { color:#b42318; background:#fef3f2; border-color:#fecdca; }
.call-status.dialing,.call-status.ringing { color:var(--accent); background:var(--accent-soft); border-color:#c7d7fe; }
.call-status.ending,.call-status.ended { color:var(--text); background:#f8fafc; border-color:var(--border); }
