:root {
  color-scheme: light;
  --bg: #f2f5f9;
  --card: #ffffff;
  --card-2: #f8fafc;
  --ink: #10243a;
  --muted: #607083;
  --line: #dbe3ec;
  --blue: #0694f2;
  --blue-dark: #071b2f;
  --cyan: #23c4ff;
  --green: #14a05a;
  --whatsapp: #24a859;
  --amber: #c2760b;
  --red: #e3392c;
  --shadow: 0 18px 40px rgba(10, 36, 61, .09);
  --radius: 18px;
  font-family: "Inter", "SF Pro Text", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(35,196,255,.12), transparent 30%),
    radial-gradient(circle at 100% 10%, rgba(6,148,242,.09), transparent 32%),
    var(--bg);
  color: var(--ink);
}
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(35,196,255,.7); outline-offset: 2px; }

.topbar {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 28px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.brand img { height: 36px; display: block; }
.brand > span { font-size: 21px; font-weight: 750; letter-spacing: -.3px; }
.brand span span { color: var(--muted); font-weight: 550; }
.top-status {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 12px; border: 1px solid #bdeac9; border-radius: 999px;
  background: #edfff4; color: #166438; font-size: 13px;
}
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: #1f9d55; box-shadow: 0 0 0 5px rgba(31,157,85,.13); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 10px rgba(31,157,85,0); } }
.top-actions { display: flex; align-items: center; gap: 10px; }
.user-chip { font-size: 13px; color: var(--muted); }
.ghost-button {
  border: 1px solid var(--line); background: #fff; border-radius: 999px;
  padding: 8px 14px; font-size: 13px; font-weight: 650;
}
.ghost-button:hover { border-color: var(--blue); color: #045cb7; }

.app-shell { display: grid; grid-template-columns: 276px minmax(0,1fr); min-height: calc(100vh - 76px); }
.sidebar {
  background: linear-gradient(180deg, #08223b, #061a2d 42%, #04131f);
  color: #dcebf7; padding: 22px 16px;
  position: sticky; top: 76px; height: calc(100vh - 76px); overflow-y: auto;
  z-index: 15;
}
.sidebar-title { margin: 0 12px 12px; font-size: 12px; letter-spacing: 1.3px; text-transform: uppercase; color: #91a8bb; }
.tabs { display: grid; gap: 7px; }
.tab {
  width: 100%; border: 0; border-radius: 12px; background: transparent; color: inherit;
  padding: 11px 12px; text-align: left; display: flex; align-items: center; gap: 10px;
  position: relative; font-size: 14px; font-weight: 620;
}
.tab:hover { background: rgba(255,255,255,.08); color: #fff; }
.tab.active { background: linear-gradient(90deg, rgba(6,148,242,.35), rgba(35,196,255,.12)); color: #fff; box-shadow: inset 3px 0 0 var(--cyan); }
.tab .tag { margin-left: auto; font-size: 9px; font-weight: 800; color: #9ce7ff; border: 1px solid #37879d; border-radius: 999px; padding: 2px 6px; }
.tab.preview::after {
  content: "🔒"; font-size: 10px; color: #ffb865;
}
.tab-tooltip {
  position: fixed; z-index: 200; width: 270px; padding: 12px 14px; border-radius: 12px;
  background: #fff; color: #152538; border: 1px solid #c8d6e5;
  box-shadow: var(--shadow); font-size: 12px; line-height: 1.45;
  text-align: left; pointer-events: none;
}
.sidebar-note {
  margin: 20px 12px; padding: 14px; border-radius: 14px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  font-size: 12px; line-height: 1.5;
}
.sidebar-note strong { display: block; margin-bottom: 4px; color: #fff; }
.sidebar-note span { color: #a8bcca; }

.view { min-width: 0; padding: 26px; }
.page-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin: 0 0 22px; }
.page-title h1 { margin: 0; font-size: 30px; letter-spacing: -.5px; }
.page-title p { margin: 6px 0 0; color: var(--muted); font-size: 14px; max-width: 720px; }
.primary-button {
  border: 0; border-radius: 12px; padding: 11px 16px; color: #fff; font-weight: 720;
  background: linear-gradient(135deg, var(--blue), #0a65d2); box-shadow: 0 10px 20px rgba(6,148,242,.22);
}
.primary-button:hover { filter: brightness(1.05); }
.secondary-button { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 14px; font-weight: 650; }
.secondary-button:hover { border-color: var(--blue); color: #045cb7; }
.secondary-button.danger { border-color: #f0c5c0; color: #b42318; }

.grid { display: grid; gap: 16px; }
.kpis { grid-template-columns: repeat(4, minmax(0,1fr)); margin-bottom: 18px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow); min-width: 0;
}
.kpi { position: relative; overflow: hidden; }
.kpi::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.kpi-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 650; }
.kpi-value { font-size: 30px; font-weight: 800; margin-top: 10px; letter-spacing: -.5px; }
.kpi-help { margin-top: 8px; font-size: 12px; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; border: 1px solid transparent; }
.chip.blue { background: #eaf6ff; color: #035ba7; border-color: #b8dcff; }
.chip.green { background: #edfff4; color: #126a3e; border-color: #bcebc9; }
.chip.amber { background: #fff5e5; color: #8d5304; border-color: #f4d3a3; }
.chip.red { background: #fff0ee; color: #a72c20; border-color: #f0c5c0; }
.chip.dark { background: #edf1f6; color: #3c4d61; border-color: #d5dde7; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 18px; }
.section-title { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 0 0 16px; }
.section-title h2 { margin: 0; font-size: 18px; }
.metric-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.metric-list li { display: grid; grid-template-columns: 120px minmax(0,1fr) 86px; align-items: center; gap: 12px; font-size: 13px; }
.bar { height: 10px; border-radius: 999px; background: #e8eef5; overflow: hidden; }
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--cyan)); }
.activity { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.activity li { display: grid; grid-template-columns: 34px minmax(0,1fr); gap: 12px; align-items: start; padding: 10px; border-radius: 12px; background: var(--card-2); border: 1px solid #e6edf5; font-size: 13px; }
.activity-icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items:center; background: #e8f5ff; color: #0673c0; font-size: 13px; font-weight: 800; }
.pitch-card { margin-top: 18px; background: linear-gradient(135deg, #071b2f, #0b3355); color: #eef8ff; border: 0; }
.pitch-card h3 { margin: 0 0 10px; font-size: 18px; color: #fff; }
.pitch-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 14px; }
.pitch-item { background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.14); border-radius: 14px; padding: 13px; font-size: 13px; }
.pitch-item strong { display: block; margin-bottom: 5px; color: #fff; }

.inbox-layout { display: grid; grid-template-columns: 330px minmax(0,1fr) 360px; gap: 16px; align-items: start; }
.inbox-controls { display: grid; gap: 10px; margin-bottom: 12px; }
.search { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 10px; font-size: 12px; font-weight: 650; }
.filter.active { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }
.client-list { display: grid; gap: 10px; max-height: calc(100vh - 250px); overflow-y: auto; }
.client-card { text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 15px; padding: 13px; position: relative; }
.client-card:hover, .client-card.active { border-color: rgba(6,148,242,.65); box-shadow: 0 10px 24px rgba(6,148,242,.12); }
.client-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.client-name { font-size: 14px; font-weight: 750; }
.client-last { margin-top: 8px; color: var(--muted); font-size: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.unread { min-width: 24px; height: 24px; border-radius: 999px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.client-meta { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }

.thread-card { display: flex; flex-direction: column; height: calc(100vh - 220px); }
.thread-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.thread-header h2 { margin: 0; font-size: 19px; }
.thread-header p { margin: 4px 0 0; font-size: 12px; color: var(--muted); }
.messages { flex: 1; overflow-y: auto; padding: 18px 4px; display: grid; gap: 14px; align-content: start; }
.message { max-width: 76%; border-radius: 16px; padding: 12px 14px; font-size: 13px; line-height: 1.52; box-shadow: 0 8px 18px rgba(10,36,61,.06); }
.message.inbound { background: #fff; border: 1px solid var(--line); justify-self: start; border-bottom-left-radius: 5px; }
.message.outbound { background: #e6f8ee; border: 1px solid #b9e9cb; justify-self: end; border-bottom-right-radius: 5px; }
.message.system { max-width: 92%; background: #eef4fb; color: #486079; border: 1px solid #d7e4f1; border-radius: 999px; justify-self: center; font-size: 12px; text-align: center; padding: 8px 14px; box-shadow: none; }
.message-head { display: flex; gap: 8px; align-items: center; margin-bottom: 7px; font-size: 11px; color: var(--muted); }
.media-box { margin: 10px 0; border-radius: 13px; overflow: hidden; border: 1px solid var(--line); background: #f6f8fb; }
.media-box img { width: 100%; display: block; aspect-ratio: 4 / 3; object-fit: cover; }
.audio { display: grid; gap: 9px; padding: 10px; border-radius: 13px; background: #f6f8fb; border: 1px solid var(--line); margin: 10px 0; }
.audio-head { display: flex; align-items: center; gap: 9px; font-size: 12px; font-weight: 700; }
.audio audio { width: 100%; height: 34px; }
.ai-result { margin-top: 10px; border-top: 1px dashed #c8d5e3; padding-top: 9px; display: grid; gap: 7px; }
.ai-label { font-size: 11px; color: #07639f; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; }
.approval-note { margin-top: 9px; font-size: 11px; color: #137042; font-weight: 700; }

.draft-panel { display: grid; gap: 14px; }
.draft-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.draft-title h3 { margin: 0; font-size: 17px; }
.confidence { font-size: 12px; color: var(--muted); }
.confidence strong { color: #0f6a12; }
textarea.draft {
  min-height: 180px; border: 1px solid var(--line); background: #fff; border-radius: 13px; padding: 12px;
  font-size: 13px; line-height: 1.55; resize: vertical;
}
.product-list { display: grid; gap: 8px; }
.product { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 10px; background: var(--card-2); border: 1px solid #e4ebf4; border-radius: 11px; font-size: 12px; }
.product strong { display: block; }
.product span { color: var(--muted); }
.draft-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.profile-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.profile-item { background: var(--card-2); border: 1px solid #e4ebf4; border-radius: 12px; padding: 10px; font-size: 12px; }
.profile-item strong { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.notes { margin: 0; font-size: 12px; line-height: 1.55; color: #43566b; }

.customers-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: 16px; }
.customer-card { display: grid; gap: 14px; }
.customer-head { display: flex; justify-content: space-between; gap: 12px; }
.customer-head h3 { margin: 0; font-size: 18px; }
.customer-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.customer-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; text-align: center; }
.stat { background: var(--card-2); border-radius: 11px; padding: 9px; font-size: 12px; color: var(--muted); }
.stat strong { display: block; color: var(--ink); font-size: 17px; margin-bottom: 2px; }
.customer-actions { display: flex; gap: 8px; }

.report-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.report-table th { text-align: left; color: var(--muted); font-weight: 700; text-transform: uppercase; font-size: 10px; letter-spacing: .06em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.report-table td { padding: 9px 10px; border-bottom: 1px solid #eef2f7; }
.report-table tr:last-child td { border-bottom: 0; }

.video-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 16px; }
.video-card { display: grid; gap: 10px; }
.video-card h3 { margin: 0; font-size: 15px; }
.video-thumb {
  height: 96px; border-radius: 12px; background: linear-gradient(135deg, var(--blue-dark), #123a5c);
  color: #fff; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 26px;
}
.video-thumb span { font-size: 12px; font-weight: 700; background: rgba(0,0,0,.35); padding: 3px 8px; border-radius: 999px; }
.video-url { margin: 0; font-size: 11px; color: var(--muted); word-break: break-all; }
.video-received { padding: 10px; border-radius: 13px; background: #f6f8fb; border: 1px solid var(--line); margin: 10px 0; display: grid; gap: 8px; }
.video-received .video-thumb { height: 64px; font-size: 20px; }
.call-received { padding: 10px 12px; border-radius: 13px; background: #f6f8fb; border: 1px solid var(--line); margin: 10px 0; font-size: 13px; font-weight: 700; }
.call-received p { margin: 6px 0 0; font-weight: 500; color: #43566b; font-size: 12px; }
.followup-note { margin: 12px 0 0; font-size: 12px; color: #07639f; font-weight: 700; }
.followup-button { margin-top: 12px; width: 100%; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(6,20,35,.72); }
.modal[hidden] { display: none; }
.modal-card { width: min(680px,100%); background: #fff; border-radius: 20px; padding: 26px; box-shadow: 0 30px 80px rgba(3,17,30,.38); }
.modal h2 { margin: 0; font-size: 24px; }
.modal p { color: #486079; line-height: 1.6; }
.modal .close { margin-top: 18px; }
.modal-metrics { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.modal-metrics li { padding-left: 26px; position: relative; font-size: 13px; color: #33485f; }
.modal-metrics li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.preview-badge { display: inline-block; margin-bottom: 12px; padding: 5px 9px; border-radius: 999px; background: #fff5e5; color: #8d5304; border: 1px solid #f4d3a3; font-size: 12px; font-weight: 800; }
.empty { padding: 30px; text-align:center; color: var(--muted); }

@media (max-width: 1250px) {
  .inbox-layout { grid-template-columns: 300px minmax(0,1fr); }
  .draft-panel { grid-column: 1 / -1; }
}
@media (max-width: 1000px) {
  .app-shell { grid-template-columns: minmax(0,1fr); }
  .sidebar { position: static; height: auto; }
  .tabs { grid-template-columns: repeat(auto-fit,minmax(180px,1fr)); }
  .dashboard-grid { grid-template-columns: minmax(0,1fr); }
  .kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .pitch-grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 780px) {
  .topbar { height: auto; align-items: flex-start; flex-direction: column; padding: 14px; gap: 10px; }
  .app-shell { min-height: 0; }
  .view { padding: 16px; }
  .inbox-layout { grid-template-columns: minmax(0,1fr); }
  .thread-card { height: auto; min-height: 620px; }
  .profile-grid, .customer-stats { grid-template-columns: minmax(0,1fr); }
  .message { max-width: 90%; }
  .metric-list li { grid-template-columns: 90px minmax(0,1fr); }
  .metric-list li span:last-child { grid-column: 2; }
  .tab-tooltip { display: none; }
  .assistant-panel { right: 12px; left: 12px; width: auto; bottom: 84px; }
  .theme-fab span:last-child { display: none; }
}

/* --- Floating widgets: theme switcher + AI assistant --- */
.theme-fab {
  position: fixed; right: 24px; bottom: 92px; z-index: 210;
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 10px 16px; font-size: 13px; font-weight: 700;
  box-shadow: var(--shadow); cursor: pointer;
}
.theme-fab:hover { border-color: var(--blue); color: #045cb7; }
.assistant-fab {
  position: fixed; right: 24px; bottom: 24px; z-index: 210;
  width: 56px; height: 56px; border-radius: 50%; border: 0;
  background: linear-gradient(135deg, var(--blue), var(--cyan)); color: #fff;
  font-size: 22px; box-shadow: 0 16px 32px rgba(6,148,242,.35); cursor: pointer;
  display: grid; place-items: center;
}
.assistant-fab:hover { filter: brightness(1.06); }
.assistant-panel {
  position: fixed; right: 24px; bottom: 92px; z-index: 220;
  width: 360px; max-height: min(560px, 70vh); display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 30px 70px rgba(3,17,30,.28); overflow: hidden;
}
.assistant-panel[hidden] { display: none; }
.assistant-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
  padding: 14px 14px 12px; border-bottom: 1px solid var(--line); background: var(--card-2);
}
.assistant-head strong { display: block; font-size: 14px; }
.assistant-head span { font-size: 11px; color: var(--muted); }
.assistant-log { flex: 1; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.assistant-empty { margin: 0; font-size: 12px; color: var(--muted); }
.assistant-msg { font-size: 13px; line-height: 1.5; padding: 9px 11px; border-radius: 12px; max-width: 92%; }
.assistant-msg.question { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 3px; }
.assistant-msg.answer { align-self: flex-start; background: var(--card-2); border: 1px solid var(--line); border-bottom-left-radius: 3px; }
.assistant-citation {
  display: block; margin-top: 8px; border: 1px solid #c8d6e5; background: #fff; color: #045cb7;
  border-radius: 999px; padding: 5px 10px; font-size: 11px; font-weight: 700; cursor: pointer;
}
.assistant-citation:hover { border-color: var(--blue); }
.assistant-questions { border-top: 1px solid var(--line); padding: 10px 14px 14px; max-height: 40%; overflow-y: auto; }
.assistant-section-title { margin: 8px 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); }
.assistant-chip-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.assistant-chip {
  border: 1px solid var(--line); background: #fff; color: var(--ink);
  border-radius: 999px; padding: 6px 11px; font-size: 12px; font-weight: 620; cursor: pointer; text-align: left;
}
.assistant-chip:hover { border-color: var(--blue); color: #045cb7; background: #f2f9ff; }

/* --- Alternate theme: "Carbon" (IBM Carbon Design inspired) --- */
:root[data-theme="carbon"] {
  --bg: #ffffff;
  --card: #ffffff;
  --card-2: #f4f4f4;
  --ink: #161616;
  --muted: #525252;
  --line: #e0e0e0;
  --blue: #0f62fe;
  --blue-dark: #161616;
  --cyan: #0f62fe;
  --green: #24a148;
  --whatsapp: #24a148;
  --amber: #b28600;
  --red: #da1e28;
  --shadow: none;
  font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
}
:root[data-theme="carbon"] body { background: var(--bg); }
:root[data-theme="carbon"] .topbar { background: #fff; backdrop-filter: none; box-shadow: none; }
:root[data-theme="carbon"] .sidebar { background: #161616; }
:root[data-theme="carbon"] .tab.active { background: var(--blue); box-shadow: inset 3px 0 0 #fff; }
:root[data-theme="carbon"] .primary-button { box-shadow: none; }
:root[data-theme="carbon"] .card,
:root[data-theme="carbon"] .kpi,
:root[data-theme="carbon"] .primary-button,
:root[data-theme="carbon"] .secondary-button,
:root[data-theme="carbon"] .ghost-button,
:root[data-theme="carbon"] .tab,
:root[data-theme="carbon"] .client-card,
:root[data-theme="carbon"] .search,
:root[data-theme="carbon"] .draft-panel,
:root[data-theme="carbon"] .modal-card,
:root[data-theme="carbon"] .media-box,
:root[data-theme="carbon"] .media-box img,
:root[data-theme="carbon"] .audio,
:root[data-theme="carbon"] .ai-result,
:root[data-theme="carbon"] .sidebar-note,
:root[data-theme="carbon"] .activity li,
:root[data-theme="carbon"] .message,
:root[data-theme="carbon"] .pitch-item,
:root[data-theme="carbon"] .customer-card,
:root[data-theme="carbon"] .stat,
:root[data-theme="carbon"] textarea.draft,
:root[data-theme="carbon"] .top-status,
:root[data-theme="carbon"] .assistant-panel,
:root[data-theme="carbon"] .assistant-msg,
:root[data-theme="carbon"] .theme-fab,
:root[data-theme="carbon"] .video-card,
:root[data-theme="carbon"] .video-thumb,
:root[data-theme="carbon"] .video-received,
:root[data-theme="carbon"] .call-received {
  border-radius: 2px;
}
:root[data-theme="carbon"] .card,
:root[data-theme="carbon"] .kpi,
:root[data-theme="carbon"] .draft-panel,
:root[data-theme="carbon"] .client-card,
:root[data-theme="carbon"] .customer-card,
:root[data-theme="carbon"] .assistant-panel {
  box-shadow: none; border: 1px solid var(--line);
}
:root[data-theme="carbon"] .assistant-fab { border-radius: 4px; box-shadow: none; }
:root[data-theme="carbon"] .chip,
:root[data-theme="carbon"] .filter,
:root[data-theme="carbon"] .assistant-chip,
:root[data-theme="carbon"] .assistant-citation { border-radius: 4px; }
