:root {
  color-scheme: light;
  --bg: #f6f7f9;
  --panel: #ffffff;
  --text: #18212f;
  --muted: #667085;
  --line: #d9dee7;
  --accent: #2557d6;
  --agent: #eef5ff;
  --user: #f8f2e8;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 14px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #111827;
  color: white;
}
.brand { color: white; text-decoration: none; font-weight: 700; }
.topnav { display: flex; align-items: center; gap: 16px; }
.topnav a { color: white; text-decoration: none; }
.userbar { display: flex; align-items: center; gap: 12px; }
.userbar a { color: white; }
.userbar form { margin: 0; }

.page { padding: 18px; }
.toolbar {
  display: flex;
  gap: 14px;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.toolbar-note {
  color: var(--muted);
  font-size: 12px;
  padding: 8px 0;
}
label { display: grid; gap: 6px; font-weight: 600; }
select, textarea, button, input {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 8px 10px;
  background: white;
}
textarea, input { width: 100%; }
textarea { resize: vertical; }
button { cursor: pointer; }
button.primary { background: var(--accent); border-color: var(--accent); color: white; }
button.secondary {
  background: white;
  border-color: #cbd5e1;
  color: #334155;
}
button.danger {
  border-color: #fecaca;
  color: #991b1b;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(420px, 1.25fr);
  gap: 16px;
  align-items: start;
}
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}
.narrow { max-width: 760px; }
.agent-panel, .review-panel { grid-column: span 1; }
.agent-lead { grid-column: 1 / -1; }
h1, h2, h3 { margin: 0 0 12px; }
h1 { font-size: 22px; }
h2 { font-size: 17px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
h3 { font-size: 15px; }
.muted { color: var(--muted); font-size: 12px; }
.pill {
  display: inline-flex;
  align-items: center;
  border: 1px solid #b8cdfb;
  border-radius: 999px;
  color: #244ba8;
  background: #edf4ff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  margin-left: 6px;
}
.pill.warn {
  border-color: #fedf89;
  color: #8a4b0f;
  background: #fffaeb;
}
.notice, .error {
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.notice { background: #e9f8ef; color: #17653a; }
.error { background: #fdecec; color: #9f1b1b; }
.empty { color: var(--muted); }

pre {
  white-space: pre-wrap;
  word-break: break-word;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  padding: 10px;
  max-height: 360px;
  overflow: auto;
}
.markdown-body {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 7px;
  padding: 12px;
  max-height: 520px;
  overflow: auto;
}
.markdown-body.compact { max-height: 260px; }
.markdown-body h1,
.markdown-body h2,
.markdown-body h3 {
  border: 0;
  padding: 0;
  margin: 14px 0 8px;
}
.markdown-body h1:first-child,
.markdown-body h2:first-child,
.markdown-body h3:first-child {
  margin-top: 0;
}
.markdown-body h1 { font-size: 20px; }
.markdown-body h2 { font-size: 17px; }
.markdown-body h3 { font-size: 15px; }
.markdown-body p { margin: 8px 0; }
.markdown-body ul,
.markdown-body ol {
  margin: 8px 0 8px 22px;
  padding: 0;
}
.markdown-body li { margin: 4px 0; }
.markdown-body code {
  background: #eef2f7;
  border-radius: 4px;
  padding: 1px 4px;
}
.markdown-body pre {
  max-height: none;
  margin: 10px 0;
}
.markdown-body pre code {
  background: transparent;
  padding: 0;
}
.kv dt { font-weight: 700; margin-top: 10px; }
.kv dd { margin: 4px 0 0; }
details { margin-top: 10px; }
summary { cursor: pointer; font-weight: 650; }
.scoreline { margin: 10px 0; }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 8px;
  margin: 10px 0;
}
.metric-grid div {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcff;
  padding: 9px 10px;
}
.metric-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}
.metric-grid strong {
  display: block;
  font-size: 16px;
  margin-top: 3px;
}
.metric-notes {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.alignment-card {
  border: 1px solid #cbd5e1;
  border-left: 4px solid #64748b;
  border-radius: 8px;
  background: #fbfcff;
  padding: 13px;
  margin: 12px 0;
}
.alignment-card.verdict-pass {
  border-left-color: #16a34a;
}
.alignment-card.verdict-fail {
  border-left-color: #dc2626;
}
.alignment-head,
.alignment-step-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.alignment-head h3 {
  margin: 3px 0 4px;
  line-height: 1.35;
}
.alignment-verdict {
  border-radius: 999px;
  font-size: 11px;
  font-weight: 850;
  padding: 4px 9px;
  text-transform: uppercase;
  white-space: nowrap;
}
.alignment-verdict.pass {
  background: #dcfce7;
  color: #166534;
}
.alignment-verdict.fail {
  background: #fee2e2;
  color: #991b1b;
}
.alignment-verdict.unknown {
  background: #f1f5f9;
  color: #475569;
}
.alignment-metrics {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}
.alignment-deviations {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.alignment-deviations h4 {
  margin: 0;
}
.alignment-deviation,
.alignment-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 10px;
}
.alignment-deviation {
  border-color: #fecaca;
  background: #fff7f7;
}
.alignment-deviation p,
.alignment-step p {
  margin: 6px 0;
}
.alignment-step-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.alignment-step-head span {
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 11px;
  font-weight: 850;
  padding: 2px 7px;
  text-transform: uppercase;
}
.alignment-step.status-met .alignment-step-head span {
  background: #dcfce7;
  color: #166534;
}
.alignment-step.status-unmet .alignment-step-head span,
.alignment-step.status-failed .alignment-step-head span {
  background: #fee2e2;
  color: #991b1b;
}
.alignment-step ul {
  margin: 6px 0 0;
  padding-left: 18px;
}
.alignment-step li {
  margin: 4px 0;
}
.protocol-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.protocol-grid article {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fbfcff;
  padding: 10px;
  max-height: 220px;
  overflow: auto;
}
.protocol-grid h3 {
  margin-bottom: 6px;
}
.protocol-grid ul {
  margin: 0;
  padding-left: 18px;
}
.protocol-grid li {
  margin: 5px 0;
  color: #344054;
  font-size: 12px;
}

.conversation {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  max-height: 620px;
  overflow: auto;
}
.turn {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px;
}
.turn.agent { background: var(--agent); }
.turn.user, .turn.customer { background: var(--user); }
.speaker { text-transform: uppercase; font-weight: 800; font-size: 11px; color: var(--muted); }

.source-warning {
  border: 1px solid #fde68a;
  border-radius: 7px;
  background: #fffbeb;
  color: #713f12;
  padding: 9px 10px;
  margin: 12px 0 8px;
}
.source-warning code { color: #713f12; }
.source-notes {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 10px;
  padding-left: 18px;
}
.source-conversation {
  max-height: 520px;
}

.assistant-panel {
  border-color: #b8cdfb;
  border-left: 4px solid var(--accent);
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 72%);
}
.copilot-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: start;
  border-bottom: 1px solid #dbe7ff;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.copilot-header h2 {
  border-bottom: 0;
  padding-bottom: 0;
  margin-bottom: 0;
}
.copilot-header-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
  min-width: 0;
}
.copilot-kicker {
  color: #244ba8;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.copilot-case {
  border: 1px solid #b8cdfb;
  border-radius: 999px;
  background: #edf4ff;
  color: #244ba8;
  font-size: 12px;
  font-weight: 750;
  padding: 5px 9px;
  max-width: 100%;
  overflow-wrap: anywhere;
  text-align: right;
}
.copilot-clear-form button {
  padding: 6px 9px;
  font-size: 12px;
}
.copilot-note {
  color: #3b4a62;
  margin: 0 0 12px;
}
.copilot-thread {
  display: grid;
  gap: 12px;
  max-height: 560px;
  overflow: auto;
  margin: 12px 0;
  border: 1px solid #dbe7ff;
  border-radius: 8px;
  background: #f5f9ff;
  padding: 12px;
}
.copilot-turn {
  display: grid;
  gap: 8px;
  border-bottom: 1px solid #dbe7ff;
  padding-bottom: 12px;
}
.copilot-turn:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.copilot-turn.pending-delete {
  display: none;
}
.copilot-turn-delete-form {
  display: flex;
  justify-content: flex-end;
  margin: 0;
}
.copilot-turn-delete-form button {
  padding: 4px 7px;
  font-size: 11px;
}
.copilot-message {
  display: grid;
  gap: 4px;
  max-width: 88%;
}
.copilot-message.user {
  justify-self: end;
  text-align: right;
}
.copilot-message.assistant {
  justify-self: start;
}
.copilot-message-label {
  color: #244ba8;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}
.copilot-bubble {
  border: 1px solid #c8d9fb;
  border-radius: 13px;
  background: white;
  padding: 11px 13px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
  text-align: left;
}
.copilot-message.user .copilot-bubble {
  border-color: #2557d6;
  background: #2557d6;
  color: white;
}
.copilot-user-text {
  white-space: pre-wrap;
}
.copilot-answer.markdown-body {
  border: 0;
  background: transparent;
  padding: 0;
  max-height: none;
  overflow: visible;
}
.copilot-answer.markdown-body p:first-child {
  margin-top: 0;
}
.copilot-answer.markdown-body p:last-child {
  margin-bottom: 0;
}
.copilot-meta {
  color: var(--muted);
  font-size: 11px;
}
.copilot-delete-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #b8cdfb;
  border-radius: 7px;
  background: #edf4ff;
  color: #244ba8;
  font-size: 13px;
  font-weight: 700;
  margin: 10px 0;
  padding: 8px 10px;
}
.copilot-delete-status.hidden {
  display: none;
}
.copilot-undo-delete {
  flex: 0 0 auto;
  padding: 4px 8px;
}
.copilot-composer {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  border: 1px solid #dbe7ff;
  border-radius: 8px;
  background: #fbfdff;
  padding: 12px;
}
.copilot-composer textarea {
  border-color: #b8cdfb;
  background: white;
}
.copilot-composer h3 {
  margin-bottom: 4px;
}
.copilot-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.data-update-proposals,
.tool-change-proposals {
  margin-top: 16px;
  border-top: 1px solid #dbe7ff;
  padding-top: 14px;
}
.proposal-list {
  display: grid;
  gap: 10px;
}
.proposal-card {
  border: 1px solid #d0d9e8;
  border-left: 4px solid #64748b;
  border-radius: 8px;
  background: white;
  padding: 12px;
}
.proposal-card.risk-low {
  border-left-color: #22c55e;
}
.proposal-card.risk-medium {
  border-left-color: #f59e0b;
}
.proposal-card.risk-high {
  border-left-color: #ef4444;
}
.proposal-card p {
  margin: 8px 0;
}
.proposal-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}
.proposal-pills,
.proposal-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.operation-pill {
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 11px;
  font-weight: 850;
  padding: 3px 8px;
  text-transform: uppercase;
}
.tool-proposal-card {
  background: #fcfdff;
}
.tool-proposal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 10px;
}
.tool-proposal-grid article {
  border: 1px solid #dbe7ff;
  border-radius: 8px;
  background: #fbfdff;
  padding: 10px;
}
.tool-proposal-grid h4 {
  color: #1e3a8a;
  font-size: 12px;
  margin: 0 0 6px;
}
.tool-proposal-grid ul {
  margin: 0;
  padding-left: 18px;
}
.tool-proposal-grid li {
  margin: 4px 0;
}
.proposal-action-row {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.section-head-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.section-head-row h3 {
  margin-bottom: 0;
}
.inline-action-form {
  margin: 0;
}
.risk-pill {
  border-radius: 999px;
  background: #eef2ff;
  color: #3730a3;
  font-size: 11px;
  font-weight: 850;
  padding: 3px 8px;
  text-transform: uppercase;
}
.json-diff {
  background: #0f172a;
  border-color: #1e293b;
  color: #dbeafe;
  max-height: 460px;
}
.proposal-apply-form {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.proposal-apply-form > button {
  margin-top: 10px;
}
.proposal-delete-form {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}
.editable-diff-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}
.editable-diff-list h4 {
  margin: 10px 0 0;
  color: #1e3a8a;
  font-size: 13px;
}
.editable-diff-row {
  border: 1px solid #dbe7ff;
  border-radius: 8px;
  background: #fbfdff;
  padding: 10px;
}
.editable-diff-row.agent-diff-row {
  border-color: #c4b5fd;
  background: #fbfaff;
}
.diff-path {
  color: #244ba8;
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 8px;
}
.diff-values {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(220px, 1fr);
  gap: 10px;
  align-items: start;
}
.diff-values span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}
.diff-values pre,
.diff-values textarea {
  min-height: 78px;
  max-height: 260px;
  margin: 0;
}
.diff-values textarea {
  border-color: #b8cdfb;
  background: white;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
}
.voice-preview-panel {
  border-color: #c7d7fe;
  background: #fbfdff;
}
.voice-preview-form {
  margin: 12px 0;
}
.voice-preview-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}
.voice-preview-job {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 11px 12px;
}
.voice-preview-job.status-running {
  border-color: #93c5fd;
  background: #eff6ff;
}
.voice-preview-job.status-completed {
  border-color: #86efac;
  background: #f0fdf4;
}
.voice-preview-job.status-failed {
  border-color: #fecaca;
  background: #fff7f7;
}
.voice-preview-job-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 6px;
}
.voice-preview-job-head strong {
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.voice-preview-live {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 10px;
}
.voice-preview-live-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 6px;
}
.voice-preview-live-head strong {
  color: #173b7a;
}
.voice-preview-live-status {
  color: var(--muted);
  font-size: 12px;
}
.live-conversation {
  max-height: 360px;
  margin-bottom: 8px;
}
.voice-preview-log-details {
  margin-top: 8px;
}
.voice-preview-log {
  max-height: 260px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
}
.agent-provision-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.agent-provision-job {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  padding: 10px;
}
.agent-provision-job.status-running {
  border-color: #93c5fd;
  background: #eff6ff;
}
.agent-provision-job.status-completed {
  border-color: #86efac;
  background: #f0fdf4;
}
.agent-provision-job.status-failed {
  border-color: #fecaca;
  background: #fff7f7;
}
.compact-kv {
  margin: 8px 0 0;
}
.compact-kv dt {
  margin-top: 5px;
}
.compact-kv dd {
  margin-left: 0;
}

.talkdesk-agent-grid {
  display: grid;
  grid-template-columns: minmax(520px, 0.9fr) minmax(460px, 1.1fr);
  gap: 14px;
  align-items: start;
  margin-top: 10px;
}
.agent-graph-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
  padding: 10px;
}
.agent-graph {
  display: block;
  width: 100%;
  max-width: 1040px;
  height: auto;
  margin: 0 auto;
}
.agent-graph line { stroke: #98a2b3; stroke-width: 2; }
.graph-node rect { fill: #edf4ff; stroke: #6794e8; stroke-width: 1.5; cursor: pointer; }
.graph-node text { fill: #172554; font-size: 16px; font-weight: 700; pointer-events: none; }
.graph-node text.small { fill: #475467; font-size: 13.5px; font-weight: 500; }
.graph-node text.routing { fill: #344054; font-size: 12.5px; font-weight: 500; }
.agent-detail-column {
  max-height: 760px;
  overflow: auto;
}
.hidden { display: none; }

.radio-stack {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}
.radio-stack label { display: block; font-weight: 500; }
.export-form { margin-top: 14px; }
.stack-form {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}
.account-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.account-table th,
.account-table td {
  border-bottom: 1px solid var(--line);
  padding: 8px;
  text-align: left;
  vertical-align: top;
}
.account-table th {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}
.account-password-form {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto;
  gap: 6px;
  min-width: 240px;
}
.account-password-form button {
  padding: 7px 9px;
}

.dashboard-hero {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}
.dashboard-hero p { margin: 0; }
.dashboard-filters { margin: 0; }
.dashboard-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.domain-cards {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.stat-card {
  padding: 13px 14px;
}
.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.stat-card strong {
  display: block;
  font-size: 24px;
  margin-top: 3px;
}
.preview-loop {
  margin-bottom: 14px;
}
.preview-loop p {
  margin: 8px 0;
}
.preview-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.preview-steps span {
  border: 1px solid #b8cdfb;
  border-radius: 999px;
  background: #edf4ff;
  color: #244ba8;
  font-size: 12px;
  font-weight: 750;
  padding: 5px 9px;
}
.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.dashboard-table {
  width: 100%;
  min-width: 1260px;
  border-collapse: collapse;
  font-size: 13px;
}
.dashboard-table th,
.dashboard-table td {
  border-bottom: 1px solid var(--line);
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
}
.dashboard-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafc;
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
}
.dashboard-table tr:last-child td {
  border-bottom: 0;
}
.dashboard-table tr.run-failed {
  background: #fff8f8;
}
.dashboard-table tr.run-passed {
  background: #fbfffd;
}
.scenario-cell {
  max-width: 340px;
}
.comment-cell {
  max-width: 380px;
  color: #344054;
}
.agent-chip,
.label-badge,
.status-pass,
.status-fail,
.status-unknown,
.status-missing {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
}
.agent-chip {
  background: #eef2ff;
  color: #3730a3;
}
.label-badge {
  background: #f2f4f7;
  color: #344054;
}
.label-good {
  background: #e9f8ef;
  color: #17653a;
}
.label-agent-definition-issue,
.label-tool-definition-issue,
.label-task-definition-issue,
.label-user-simulator-issue,
.label-other-issue {
  background: #fff4e5;
  color: #8a4b0f;
}
.label-unreviewed {
  background: #f2f4f7;
  color: #667085;
}
.label-labeled {
  background: #e9f8ef;
  color: #17653a;
}
.status-pass {
  background: #e9f8ef;
  color: #17653a;
}
.status-fail {
  background: #fdecec;
  color: #9f1b1b;
}
.status-unknown,
.status-missing {
  background: #f2f4f7;
  color: #667085;
}
.open-link {
  font-weight: 750;
  color: var(--accent);
  text-decoration: none;
}

@media (max-width: 1100px) {
  .layout { grid-template-columns: 1fr; }
  .talkdesk-agent-grid { grid-template-columns: 1fr; }
  .dashboard-hero { align-items: start; flex-direction: column; }
  .copilot-header { flex-direction: column; }
  .copilot-header-actions { justify-items: start; width: 100%; }
  .copilot-case { text-align: left; }
}
