.prototype-switcher {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 80;
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(5, 10, 20, 0.86);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.44), 0 0 0 1px rgba(52, 211, 153, 0.10);
  backdrop-filter: blur(16px);
}

.prototype-switcher__button {
  border: 0;
  border-radius: 11px;
  padding: 11px 15px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.prototype-switcher__button--active {
  background: linear-gradient(180deg, rgba(52, 211, 153, 0.22), rgba(38, 190, 204, 0.16));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  color: #fff;
}

.dashboard-view {
  min-height: 100dvh;
  background: #f7f4ee;
  color: #1c1917;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.dashboard-shell {
  height: 100dvh;
  display: grid;
  grid-template-columns: 168px 248px minmax(420px, 1fr) minmax(320px, 29vw);
  overflow: hidden;
  background: #f9f7f2;
}

.dashboard-rail {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 10px 8px;
  border-right: 1px solid #e7e2d8;
  background: #fbfaf6;
}

.dashboard-rail__brand,
.dashboard-rail__item {
  width: 100%;
  height: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  border-radius: 10px;
  color: #78716c;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.dashboard-rail__brand {
  margin-bottom: 4px;
  border-radius: 8px;
  text-decoration: none;
  color: #1c1917;
  font-weight: 800;
}

.dashboard-rail__brand img {
  width: 25px;
  height: 25px;
  object-fit: contain;
  filter: brightness(0);
}

.dashboard-rail__brand span,
.dashboard-rail__item span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

.dashboard-rail__item .ui-icon {
  flex: 0 0 18px;
}

.dashboard-rail__item--active {
  background: #d83a28;
  color: #fff;
}

.dashboard-sessions {
  min-width: 0;
  border-right: 1px solid #e7e2d8;
  background: #f7f4ee;
  display: flex;
  flex-direction: column;
}

.dashboard-sessions__title {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #e7e2d8;
}

.dashboard-sessions__title h2 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.dashboard-search {
  position: relative;
  display: block;
  padding: 9px 8px;
  border-bottom: 1px solid #e7e2d8;
}

.dashboard-search .ui-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  color: #a8a29e;
}

.dashboard-search input {
  width: 100%;
  height: 36px;
  border: 1px solid #e7e2d8;
  border-radius: 8px;
  background: #fff;
  color: #44403c;
  outline: none;
  padding: 0 10px 0 34px;
  font-size: 13px;
}

.dashboard-session-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px 8px;
}

.dashboard-session {
  width: 100%;
  min-height: 66px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #44403c;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 8px;
  text-align: left;
  cursor: pointer;
}

.dashboard-session:hover,
.dashboard-session--active {
  background: #fff;
}

.dashboard-session__main {
  min-width: 0;
}

.dashboard-session__title,
.dashboard-session__context,
.dashboard-session__preview {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-session__title {
  color: #292524;
  font-size: 13px;
  font-weight: 650;
}

.dashboard-session__context {
  margin-top: 4px;
  color: #57534e;
  font-size: 11px;
  font-weight: 650;
}

.dashboard-session__preview {
  margin-top: 5px;
  color: #78716c;
  font-size: 11px;
}

.dashboard-session__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 7px;
}

.dash-pill,
.dash-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  border: 1px solid #e7e2d8;
  border-radius: 999px;
  background: #fffdf9;
  color: #78716c;
  font-size: 10px;
  font-weight: 650;
  line-height: 1;
  padding: 4px 7px;
  text-transform: uppercase;
}

.dash-pill--active {
  border-color: #f4cf85;
  background: #fff7df;
  color: #925c09;
}

.dash-pill--danger {
  border-color: #f2b7ad;
  background: #fff0ee;
  color: #b42318;
}

.dashboard-chat {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #fbfaf7;
}

.dashboard-chat-header {
  min-height: 104px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 28px 16px;
  border-bottom: 1px solid #e7e2d8;
  background: #fbfaf7;
}

.dashboard-back {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid #e7e2d8;
  border-radius: 8px;
  background: #fff;
  color: #78716c;
}

.dashboard-chat-title {
  min-width: 0;
}

.dashboard-eyebrow {
  margin: 0;
  color: #a8a29e;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dashboard-chat h1,
.dashboard-card h2 {
  margin: 5px 0 0;
  color: #111;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.25;
}

.dashboard-chat-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
}

.dashboard-chat-id {
  color: #78716c;
  font-size: 11px;
}

.dashboard-timeline {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 28px 24px;
}

.timeline-date {
  margin: 10px 0;
  text-align: center;
  color: #a8a29e;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.timeline-row {
  display: flex;
  margin: 12px 0;
}

.timeline-row--left {
  justify-content: flex-start;
}

.timeline-row--right {
  justify-content: flex-end;
}

.timeline-item {
  width: min(78%, 780px);
}

.timeline-sender {
  margin: 0 0 5px;
  color: #a8a29e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.timeline-row--right .timeline-sender {
  text-align: right;
}

.timeline-bubble {
  border: 1px solid #e7e2d8;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.timeline-bubble p {
  margin: 0;
  color: #292524;
  font-size: 13px;
  line-height: 1.62;
  white-space: pre-wrap;
}

.timeline-bubble--customer {
  border-bottom-left-radius: 4px;
  background: #fff;
}

.timeline-bubble--ai {
  border-color: #bdebd2;
  border-bottom-right-radius: 4px;
  background: #ecf9f1;
}

.timeline-bubble--team {
  border-bottom-right-radius: 4px;
  background: #f5f5f4;
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 10px;
  color: #78716c;
  font-size: 10px;
}

.dashboard-details {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  border-left: 1px solid #e7e2d8;
  background: #f7f4ee;
}

.dashboard-human-composer {
  flex: 0 0 auto;
  position: sticky;
  bottom: 0;
  z-index: 8;
  border-top: 1px solid #e7e2d8;
  background: rgba(251, 250, 247, 0.96);
  padding: 12px 28px 14px;
  box-shadow: 0 -18px 30px rgba(120, 113, 108, 0.08);
}

.dashboard-human-composer__label {
  margin-bottom: 7px;
  color: #a8a29e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dashboard-human-composer__row {
  display: flex;
  gap: 8px;
}

.dashboard-human-composer input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 1px solid #e7e2d8;
  border-radius: 11px;
  background: #fff;
  color: #292524;
  outline: none;
  padding: 0 13px;
  font-size: 13px;
}

.dashboard-human-composer input:focus {
  border-color: #d83a28;
  box-shadow: 0 0 0 3px rgba(216, 58, 40, 0.10);
}

.dashboard-human-composer button {
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-radius: 11px;
  background: #d83a28;
  color: #fff;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.dashboard-human-composer button .ui-icon {
  width: 17px;
  height: 17px;
}

.dashboard-card {
  border: 1px solid #e7e2d8;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  padding: 14px;
}

.dashboard-muted,
.detail-summary {
  color: #78716c;
  font-size: 13px;
  line-height: 1.65;
}

.details-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.details-heading h2 {
  margin: 0;
  font-size: 15px;
}

.details-heading p {
  margin: 4px 0 0;
  color: #78716c;
  font-size: 11px;
}

.details-avatar {
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.details-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
}

.driver-profile-card {
  border-color: #d8ecf4;
  background: linear-gradient(180deg, #ffffff 0%, #f4fbfd 100%);
}

.driver-profile-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.driver-profile-close {
  width: 34px;
  height: 34px;
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8ecf4;
  border-radius: 50%;
  background: #fff;
  color: #334155;
  cursor: pointer;
}

.driver-profile-close .ui-icon {
  width: 16px;
  height: 16px;
}

.driver-profile-head {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}

.driver-profile-avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
}

.driver-profile-head h2,
.driver-profile-head p {
  margin: 0;
}

.driver-profile-head h2 {
  color: #111827;
  font-size: 18px;
  line-height: 1.2;
}

.driver-profile-head p {
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
}

.driver-profile-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.driver-profile-tags span {
  padding: 4px 7px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.driver-profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.driver-profile-grid--compact {
  margin-top: 10px;
}

.driver-profile-field,
.driver-profile-metrics div,
.driver-profile-current {
  border: 1px solid #e7e5e4;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.76);
}

.driver-profile-field {
  min-width: 0;
  padding: 10px;
}

.driver-profile-field span,
.driver-profile-field strong,
.driver-profile-metrics span,
.driver-profile-metrics strong,
.driver-profile-current span,
.driver-profile-current strong,
.driver-profile-current p {
  display: block;
}

.driver-profile-field span,
.driver-profile-metrics span,
.driver-profile-current span {
  color: #78716c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.driver-profile-field strong {
  margin-top: 4px;
  overflow: hidden;
  color: #292524;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.driver-profile-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.driver-profile-metrics div {
  padding: 10px 8px;
}

.driver-profile-metrics strong {
  margin-top: 5px;
  color: #0f172a;
  font-size: 15px;
}

.driver-profile-current {
  margin-top: 12px;
  padding: 12px;
  border-color: #bae6fd;
  background: #f0f9ff;
}

.driver-profile-current strong {
  margin-top: 5px;
  color: #075985;
  font-size: 14px;
}

.driver-profile-current p {
  margin: 7px 0 0;
  color: #475569;
  font-size: 12px;
  line-height: 1.5;
}

.driver-history-list {
  display: grid;
  gap: 8px;
}

.driver-history-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: start;
  padding: 9px;
  border: 1px solid #eee9df;
  border-radius: 9px;
  background: #fff;
}

.driver-history-item > span {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 24px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 10px;
  font-weight: 800;
}

.driver-history-item strong,
.driver-history-item p,
.driver-history-item em {
  display: block;
  margin: 0;
}

.driver-history-item strong {
  overflow: hidden;
  color: #1c1917;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.driver-history-item p {
  display: -webkit-box;
  margin-top: 3px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: #78716c;
  font-size: 11px;
  line-height: 1.35;
}

.driver-history-item em {
  color: #a8a29e;
  font-size: 10px;
  font-style: normal;
  white-space: nowrap;
}

.detail-summary {
  margin: 14px 0 0;
  border: 1px solid #e7e2d8;
  border-radius: 10px;
  background: #fbfaf7;
  padding: 10px;
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.detail-stats div {
  border: 1px solid #e7e2d8;
  border-radius: 10px;
  background: #fbfaf7;
  padding: 9px;
}

.detail-stats span {
  display: block;
  color: #a8a29e;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.detail-stats strong {
  display: block;
  margin-top: 5px;
  color: #292524;
  font-size: 12px;
}

.bot-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  border: 1px solid #e7e2d8;
  border-radius: 10px;
  background: #fbfaf7;
  padding: 10px;
  text-align: left;
  cursor: pointer;
}

.bot-toggle strong,
.bot-toggle em {
  display: block;
}

.bot-toggle strong {
  color: #292524;
  font-size: 12px;
}

.bot-toggle em {
  margin-top: 3px;
  color: #78716c;
  font-size: 11px;
  font-style: normal;
  line-height: 1.4;
}

.switch {
  position: relative;
  width: 38px;
  height: 22px;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #d6d3d1;
}

.switch span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 180ms ease;
}

.switch--on {
  background: #d83a28;
}

.switch--on span {
  transform: translateX(16px);
}

.member-list {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.member-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid #e7e2d8;
  border-radius: 12px;
  background: #fbfaf7;
  padding: 9px;
}

.member-row img,
.member-initials {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #111;
  color: #fff;
}

.member-row img {
  object-fit: cover;
  object-position: left center;
}

.member-initials {
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.member-row strong,
.member-row p {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-row strong {
  color: #292524;
  font-size: 12px;
}

.member-row p {
  margin: 3px 0 0;
  color: #78716c;
  font-size: 11px;
}

.dashboard-empty,
.dashboard-empty-card {
  color: #78716c;
  font-size: 13px;
  line-height: 1.55;
}

.dashboard-empty-card {
  border: 1px solid #e7e2d8;
  border-radius: 14px;
  background: #fff;
  padding: 22px;
  text-align: center;
}

.dashboard-outbound {
  grid-column: 2 / -1;
  min-width: 0;
  overflow-y: auto;
  padding: 28px;
  background: #fbfaf7;
}

.dashboard-overview,
.dashboard-cases {
  grid-column: 2 / -1;
  min-width: 0;
  overflow-y: auto;
  padding: 28px;
  background: #fbfaf7;
}

.ops-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 0 22px;
  border-bottom: 1px solid #e7e2d8;
}

.ops-header h1 {
  margin: 7px 0 0;
  color: #111;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
}

.ops-header p:not(.dashboard-eyebrow) {
  max-width: 760px;
  margin: 10px 0 0;
  color: #57534e;
  font-size: 14px;
  line-height: 1.6;
}

.ops-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.ops-stat {
  min-height: 112px;
  border: 1px solid #e7e2d8;
  border-radius: 16px;
  background: #fff;
  padding: 15px;
}

.ops-stat span,
.ops-stat em {
  display: block;
}

.ops-stat span {
  color: #a8a29e;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ops-stat strong {
  display: block;
  margin-top: 10px;
  color: #111;
  font-size: 26px;
  line-height: 1.12;
}

.ops-stat em {
  margin-top: 9px;
  color: #78716c;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.ops-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 14px;
  margin-top: 14px;
}

.ops-panel {
  border: 1px solid #e7e2d8;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
}

.ops-panel__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.ops-panel h2 {
  margin: 5px 0 0;
  color: #111;
  font-size: 16px;
}

.ops-panel__copy {
  max-width: 560px;
  margin: 8px 0 0;
  color: #78716c;
  font-size: 12px;
  line-height: 1.55;
}

.issue-mix,
.overview-case-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.issue-row,
.outcome-row {
  border: 1px solid #efeae1;
  border-radius: 12px;
  background: #fbfaf7;
  padding: 12px;
}

.issue-row div:first-child,
.outcome-row div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.issue-row strong,
.outcome-row strong {
  color: #292524;
  font-size: 13px;
}

.issue-row span,
.outcome-row span {
  color: #78716c;
  font-size: 12px;
}

.issue-bar {
  height: 7px;
  overflow: hidden;
  margin-top: 10px;
  border-radius: 999px;
  background: #eee8de;
}

.issue-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #d83a28;
}

.overview-case {
  width: 100%;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #efeae1;
  border-radius: 12px;
  background: #fbfaf7;
  padding: 10px 12px;
  text-align: left;
}

.overview-case strong,
.overview-case em {
  display: block;
}

.overview-case strong {
  color: #292524;
  font-size: 13px;
}

.overview-case em {
  margin-top: 3px;
  color: #78716c;
  font-size: 12px;
  font-style: normal;
}

.case-status {
  flex: 0 0 auto;
  border: 1px solid #e7e2d8;
  border-radius: 999px;
  background: #fff;
  color: #57534e;
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 700;
}

.kanban-board {
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 18px;
  align-items: start;
}

.kanban-column {
  min-width: 0;
  border: 1px solid #e7e2d8;
  border-radius: 16px;
  background: #f7f4ee;
  padding: 10px;
}

.kanban-column__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 4px 10px;
}

.kanban-column__top h2 {
  margin: 0;
  color: #292524;
  font-size: 13px;
}

.kanban-column__top span {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid #e7e2d8;
  border-radius: 999px;
  background: #fff;
  color: #78716c;
  font-size: 11px;
  font-weight: 750;
}

.kanban-list {
  display: grid;
  gap: 9px;
}

.case-card {
  width: 100%;
  display: block;
  border: 1px solid #e7e2d8;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  text-align: left;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.case-card__id {
  display: inline-flex;
  margin-bottom: 8px;
  color: #a8a29e;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
}

.case-card > strong {
  display: block;
  color: #292524;
  font-size: 13px;
}

.case-card p {
  margin: 7px 0 0;
  color: #57534e;
  font-size: 12px;
  line-height: 1.5;
}

.case-card__outcome {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 10px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  background: #eff6ff;
  color: #1d4ed8;
  padding: 5px 8px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.case-card__meta span {
  border: 1px solid #e7e2d8;
  border-radius: 999px;
  background: #fffdf9;
  color: #57534e;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: 750;
}

.case-card__reporters {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 2px 8px;
  align-items: center;
  margin-top: 12px;
  border: 1px solid #efeae1;
  border-radius: 10px;
  background: #fbfaf7;
  padding: 9px;
}

.case-card__reporters strong {
  grid-row: span 2;
  color: #d83a28;
  font-size: 26px;
  line-height: 1;
}

.case-card__reporters span,
.case-card__reporters em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-card__reporters span {
  color: #292524;
  font-size: 12px;
  font-weight: 750;
}

.case-card__reporters em {
  color: #78716c;
  font-size: 11px;
  font-style: normal;
}

.case-card__driver-list {
  display: grid;
  gap: 7px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #efeae1;
}

.case-link {
  width: 100%;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid #efeae1;
  border-radius: 10px;
  background: #fffdf9;
  padding: 8px;
  text-align: left;
}

.case-link > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.case-link strong,
.case-link em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-link strong {
  color: #292524;
  font-size: 12px;
}

.case-link em {
  margin-top: 2px;
  color: #78716c;
  font-size: 11px;
  font-style: normal;
}

.case-link b {
  color: #d83a28;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.case-card__driver {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #efeae1;
}

.case-card__driver > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.case-card__driver strong,
.case-card__driver em {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-card__driver strong {
  color: #292524;
  font-size: 12px;
}

.case-card__driver em {
  margin-top: 2px;
  color: #78716c;
  font-size: 11px;
  font-style: normal;
}

.outbound-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 12px 0 22px;
  border-bottom: 1px solid #e7e2d8;
}

.outbound-header h1 {
  margin: 7px 0 0;
  color: #111;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 800;
}

.outbound-header p:not(.dashboard-eyebrow) {
  max-width: 720px;
  margin: 10px 0 0;
  color: #57534e;
  font-size: 14px;
  line-height: 1.6;
}

.outbound-header__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
  padding-top: 2px;
}

.outbound-primary,
.outbound-secondary,
.row-action {
  height: 36px;
  border-radius: 9px;
  padding: 0 13px;
  font-size: 12px;
  font-weight: 750;
  cursor: default;
}

.outbound-primary {
  border: 0;
  background: #d83a28;
  color: #fff;
  box-shadow: 0 10px 22px rgba(216, 58, 40, 0.18);
}

.outbound-secondary {
  border: 1px solid #e7e2d8;
  background: #fff;
  color: #44403c;
}

.outbound-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.outbound-stat {
  min-height: 116px;
  border: 1px solid #e7e2d8;
  border-radius: 16px;
  background: #fff;
  padding: 15px;
}

.outbound-stat span,
.outbound-stat em {
  display: block;
}

.outbound-stat span {
  color: #a8a29e;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.outbound-stat strong {
  display: block;
  margin-top: 10px;
  color: #111;
  font-size: 34px;
  line-height: 1;
}

.outbound-stat em {
  margin-top: 9px;
  color: #78716c;
  font-size: 12px;
  font-style: normal;
}

.outbound-stat--ready strong {
  color: #15803d;
}

.outbound-stat--locked strong {
  color: #b42318;
}

.outbound-grid {
  display: block;
  margin-top: 14px;
}

.outbound-panel {
  border: 1px solid #e7e2d8;
  border-radius: 16px;
  background: #fff;
  padding: 16px;
}

.outbound-panel h2 {
  margin: 5px 0 0;
  color: #111;
  font-size: 16px;
  line-height: 1.25;
}

.outbound-panel--table {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0;
}

.outbound-panel__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px;
  border-bottom: 1px solid #e7e2d8;
}

.outbound-filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
}

.outbound-filter {
  display: inline-flex;
  align-items: center;
  height: 27px;
  border: 1px solid #e7e2d8;
  border-radius: 999px;
  background: #fffdf9;
  color: #78716c;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 700;
}

.outbound-filter--active {
  border-color: #f1b7ae;
  background: #fff0ee;
  color: #b42318;
}

.outbound-table {
  min-width: 820px;
}

.outbound-table__head,
.outbound-row {
  display: grid;
  grid-template-columns: 1.25fr 1.16fr 1fr 0.85fr 104px;
  gap: 12px;
  align-items: center;
}

.outbound-table__head {
  padding: 10px 16px;
  background: #f7f4ee;
  color: #a8a29e;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.outbound-row {
  min-height: 78px;
  padding: 13px 16px;
  border-top: 1px solid #efeae1;
}

.outbound-row:first-of-type {
  border-top: 0;
}

.outbound-row strong,
.outbound-row p {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.outbound-row strong {
  color: #292524;
  font-size: 13px;
  font-weight: 760;
}

.outbound-row p {
  margin: 5px 0 0;
  color: #78716c;
  font-size: 12px;
}

.reason-chip,
.state-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 27px;
  border-radius: 999px;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 720;
  white-space: nowrap;
}

.reason-chip {
  border: 1px solid #d6d3d1;
  background: #fafaf9;
  color: #57534e;
}

.state-chip--ready {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #15803d;
}

.state-chip--locked,
.state-chip--sent {
  border: 1px solid #fed7aa;
  background: #fff7ed;
  color: #9a3412;
}

.state-chip--cooldown {
  border: 1px solid #e9d5ff;
  background: #faf5ff;
  color: #6b21a8;
}

.state-chip--review {
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.row-action {
  border: 1px solid #e7e2d8;
  background: #111;
  color: #fff;
}

.row-action--disabled {
  background: #f5f5f4;
  color: #a8a29e;
}

.outbound-side {
  display: grid;
  gap: 14px;
}

.guardrail-list {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.guardrail-list div {
  border: 1px solid #e7e2d8;
  border-radius: 12px;
  background: #fbfaf7;
  padding: 12px;
}

.guardrail-list strong {
  display: block;
  color: #292524;
  font-size: 13px;
}

.guardrail-list p {
  margin: 5px 0 0;
  color: #78716c;
  font-size: 12px;
  line-height: 1.5;
}

.template-preview {
  display: grid;
  gap: 7px;
  margin-top: 14px;
}

.template-preview p {
  width: fit-content;
  max-width: 100%;
  margin: 0;
  border: 1px solid #d8f3df;
  border-radius: 11px;
  border-bottom-right-radius: 4px;
  background: #eaf9ee;
  color: #292524;
  padding: 9px 10px;
  font-size: 13px;
  line-height: 1.45;
}

.template-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 12px;
}

.template-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border: 1px solid #e7e2d8;
  border-radius: 999px;
  background: #fffdf9;
  color: #78716c;
  padding: 0 9px;
  font-size: 11px;
  font-weight: 700;
}

.ui-icon--home {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='m3 10 9-7 9 7'/%3E%3Cpath d='M5 10v10h14V10'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/g%3E%3C/svg%3E");
}

.ui-icon--broadcast {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='m3 11 18-7-7 18-3-8z'/%3E%3Cpath d='m11 14 10-10'/%3E%3C/g%3E%3C/svg%3E");
}

.ui-icon--board {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='16' rx='2'/%3E%3Cpath d='M9 4v16M15 4v16'/%3E%3C/g%3E%3C/svg%3E");
}

.ui-icon--chat {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linejoin='round' stroke-width='2' d='M4 5h16v11H9l-5 4z'/%3E%3C/svg%3E");
}

.ui-icon--document {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M8 13h8M8 17h6'/%3E%3C/g%3E%3C/svg%3E");
}

.ui-icon--settings {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Cpath d='M12 15.5A3.5 3.5 0 1 0 12 8a3.5 3.5 0 0 0 0 7.5z'/%3E%3Cpath d='M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 1 1-2.83 2.83l-.06-.06A1.65 1.65 0 0 0 15 19.4a1.65 1.65 0 0 0-1 .6 1.65 1.65 0 0 0-.4 1.08V21a2 2 0 1 1-4 0v-.09A1.65 1.65 0 0 0 8.6 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 1 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.6 15a1.65 1.65 0 0 0-.6-1 1.65 1.65 0 0 0-1.08-.4H3a2 2 0 1 1 0-4h.09A1.65 1.65 0 0 0 4.6 8.6a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 1 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.6a1.65 1.65 0 0 0 1-.6A1.65 1.65 0 0 0 10.4 2.91V3a2 2 0 1 1 4 0v-.09A1.65 1.65 0 0 0 15.4 4.6a1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 1 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9c.26.3.6.51 1 .6.34.07.69.07 1.03.07A2 2 0 1 1 21 13.6h-.09a1.65 1.65 0 0 0-1.51 1.4z'/%3E%3C/g%3E%3C/svg%3E");
}

.ui-icon--search {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/g%3E%3C/svg%3E");
}

.ui-icon--chevron-left {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m15 18-6-6 6-6'/%3E%3C/svg%3E");
}

.ui-icon--x {
  --icon-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E");
}

@media (max-width: 1040px) {
  .dashboard-shell {
    grid-template-columns: 46px 236px minmax(360px, 1fr);
  }

  .dashboard-details {
    display: none;
  }

  .dashboard-details.dashboard-details--open {
    width: min(380px, calc(100vw - 28px));
    max-height: calc(100dvh - 28px);
    display: flex;
    position: fixed;
    z-index: 30;
    top: 14px;
    right: 14px;
    bottom: 14px;
    border: 1px solid #e7e2d8;
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(28, 25, 23, 0.24);
  }

  .driver-profile-close {
    display: inline-flex;
  }

  .dashboard-outbound,
  .dashboard-overview,
  .dashboard-cases {
    grid-column: 2 / -1;
  }

  .outbound-grid {
    grid-template-columns: 1fr;
  }

  .ops-stats,
  .ops-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kanban-board {
    overflow-x: auto;
    grid-template-columns: repeat(4, minmax(240px, 1fr));
    padding-bottom: 8px;
  }

  .outbound-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .prototype-switcher {
    left: 10px;
    top: 10px;
    transform: none;
    max-width: calc(100vw - 20px);
  }

  .prototype-switcher__button {
    padding: 9px 10px;
    font-size: 11px;
  }

  .dashboard-shell {
    grid-template-columns: 154px 1fr;
    grid-template-areas:
      "rail sessions"
      "rail chat";
  }

  .dashboard-rail { grid-area: rail; }
  .dashboard-rail {
    align-items: stretch;
    padding: 10px 8px;
  }
  .dashboard-rail__brand,
  .dashboard-rail__item {
    width: 100%;
    justify-content: flex-start;
    padding: 0 9px;
  }
  .dashboard-sessions {
    grid-area: sessions;
    max-height: 34dvh;
  }
  .dashboard-chat { grid-area: chat; min-height: 0; }

  .dashboard-outbound,
  .dashboard-overview,
  .dashboard-cases {
    grid-area: sessions / sessions / chat / chat;
    padding: 74px 14px 18px;
  }

  .outbound-header,
  .ops-header,
  .outbound-panel__top {
    display: grid;
  }

  .outbound-header__actions,
  .outbound-filter-row {
    justify-content: flex-start;
  }

  .outbound-header h1 {
    font-size: 24px;
  }

  .outbound-stats,
  .ops-stats,
  .ops-overview-grid,
  .outbound-side {
    grid-template-columns: 1fr;
  }
}
