:root {
  --bg: #f4f6f8;
  --surface: #ffffff;
  --surface-soft: #f7f9fb;
  --ink: #17202a;
  --muted: #66717b;
  --line: #d7dee4;
  --line-strong: #c1cbd4;
  --nav: #1f2937;
  --nav-soft: #334155;
  --green: #0f766e;
  --green-soft: #ddf3ee;
  --blue: #2563eb;
  --blue-soft: #e8effd;
  --amber: #c98917;
  --amber-soft: #fff3d7;
  --red: #b4232f;
  --red-soft: #ffe9e7;
  --coral: #2563eb;
  --coral-soft: #e8effd;
  --shadow: 0 12px 30px rgba(31, 41, 55, .08);
}

body { background: var(--bg); }

@media (min-width: 901px) {
  .app-shell { grid-template-columns: 264px minmax(0, 1fr); }
  .sidebar {
    padding: 24px 18px 16px 26px;
    color: var(--ink);
    background: #ffffff;
    border-right: 1px solid var(--line);
    box-shadow: 8px 0 26px rgba(31, 41, 55, .05);
  }
  .sidebar::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 7px;
    background: var(--coral);
  }
  .brand { min-height: 64px; padding: 0 8px 20px; color: var(--ink); border-color: var(--line); }
  .brand-mark { width: 40px; height: 40px; color: #fff; background: var(--coral); border-radius: 4px; font-family: Georgia, "Times New Roman", serif; font-size: 25px; font-weight: 700; line-height: 1; }
  .brand strong { font-size: 20px; }
  .brand small { color: var(--muted); font-size: 10px; }
  .sidebar nav { height: auto; display: grid; align-content: start; gap: 6px; margin-top: 18px; }
  .nav-link { min-height: 40px; color: #66726c; border-radius: 4px; font-size: 13px; }
  .nav-link:hover { color: var(--ink); background: #eef2f5; }
  .nav-link.active { color: #fff; background: var(--ink); box-shadow: inset 4px 0 var(--coral); }
  .nav-badge { background: var(--coral); }
  .sidebar-policy {
    color: #6e7973;
    background: #f1f4f7;
    border-color: var(--line);
    border-radius: 4px;
  }
  .sidebar-policy span { color: var(--coral); font-weight: 800; }
  .sidebar-policy strong { color: var(--ink); }
  .sidebar-user { min-height: 58px; margin-top: auto; grid-template-columns: 32px 1fr auto; padding: 8px 8px 2px; color: var(--ink); border-color: var(--line); }
  .sidebar .icon-btn { color: #6a7771; }
  .avatar, .contact-avatar { color: #fff; background: var(--green); }
  .sidebar-user small { color: var(--muted); }
  .topbar { height: 62px; padding: 0 36px; background: transparent; border: 0; }
  body[data-page="msg"] .topbar.message-topbar {
    height: 88px;
    display: grid;
    grid-template-columns: minmax(330px, 330px) minmax(620px, 1fr) 42px;
    align-items: center;
    gap: 20px;
    padding: 0 28px;
  }
  body[data-page="msg"] .message-topbar .workspace-toolbar {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(300px, 520px) auto;
    align-items: center;
    justify-content: end;
    gap: 54px;
    margin: 0;
  }
  body[data-page="msg"] .message-topbar .search-box { width: 100%; max-width: 520px; }
  body[data-page="msg"] .message-topbar .toolbar-actions { justify-content: flex-end; }
  .page-title h1 { font-size: 23px; }
  .page-title p { margin-top: 0; font-size: 12px; }
  body[data-page="msg"] .page-title h1 { font-size: 28px; }
  .content { max-width: 1760px; padding: 10px 36px 28px; }
  body[data-page="msg"] .content { padding: 0 28px 28px; }
  .metric-grid { gap: 10px; }
  .metric-card { min-height: 98px; padding: 14px 16px; }
  body[data-page="msg"] .message-workspace { height: calc(100vh - 122px); min-height: 680px; grid-template-columns: 330px minmax(600px, 1fr) 330px; }
  .login-screen { grid-template-columns: minmax(0, 1.1fr) 500px; }
}

/* Obsidian blue-gray surface hierarchy. */
@media (min-width: 901px) {
  .sidebar {
    color: #e7ecff;
    background: #172554;
    border-right-color: #26396e;
  }
  .sidebar::before { background: #2563eb; }
  .brand { color: #f5f7ff; border-color: #33447d; }
  .brand small { color: #aab8e0; }
  .nav-link { color: #cbd5f3; }
  .nav-link:hover { color: #ffffff; background: #293a72; }
  .nav-link.active { color: #ffffff; background: #293a72; box-shadow: inset 4px 0 #60a5fa; }
  .nav-badge { background: #e76f51; }
  .sidebar-policy { color: #cbd5f3; background: #1d2d60; border-color: #33447d; }
  .sidebar-policy span { color: #93c5fd; }
  .sidebar-policy strong { color: #f5f7ff; }
  .sidebar-user { color: #f5f7ff; border-color: #33447d; }
  .sidebar-user small { color: #aab8e0; }
  .sidebar .icon-btn { color: #cbd5f3; }

  .topbar,
  body[data-page="msg"] .topbar.message-topbar {
    background: #e8eef7;
    border-bottom: 1px solid #d1dbea;
  }
  .page-title h1 { color: #172554; }
  .page-title p { color: #5f6f89; }
}

.critical-banner { background: #ffe7e3; }
.risk-banner { color: #8b2e2c; background: #fff0ee; border-color: #f1c6c1; border-left-color: var(--red); }
.receipt-banner { color: #8b2e2c; background: #fff6f4; border-color: #f1d5d1; border-left-color: var(--red); }
.critical-banner,
.risk-banner,
.receipt-banner { border-top: 1px solid rgba(31, 41, 55, .06); border-bottom: 1px solid rgba(31, 41, 55, .06); }

.date-chip, .scope-chip { background: #fff; border-color: var(--line); box-shadow: 0 5px 16px rgba(34,54,45,.05); }
.alert-trigger { position: relative; color: #fff; background: var(--red); border-color: var(--red); }
.alert-trigger b {
  position: absolute;
  top: -9px;
  right: -9px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  color: #fff;
  background: var(--ink);
  border: 2px solid var(--bg);
  border-radius: 11px;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}
.btn { border-radius: 4px; }
.logout-btn { min-height: 30px; padding: 0 10px; color: var(--muted); background: #fff; border-color: var(--line); font-size: 11px; white-space: nowrap; }
.logout-btn:hover { color: var(--coral); background: var(--coral-soft); border-color: var(--coral); }
.btn-primary { background: var(--ink); border-color: var(--ink); }
.btn-primary:hover { background: var(--coral); border-color: var(--coral); }
.field, .search-box { border-radius: 4px; }
.field:focus { border-color: var(--coral); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.readonly-field,
.field[readonly] {
  color: #6b7280;
  background: #f3f4f6;
  border-color: #d1d5db;
  cursor: not-allowed;
}
.readonly-field:focus,
.field[readonly]:focus {
  border-color: #d1d5db;
  box-shadow: none;
}

.metric-card {
  border: 0;
  border-radius: 5px;
  box-shadow: var(--shadow);
}
.metric-card.green { color: #063d37; background: #dff4ee; }
.metric-card.blue { color: #18398c; background: #e8edff; }
.metric-card.amber { color: #6f430e; background: #fff0d8; }
.metric-card.red { color: #8b2e2c; background: #ffe6e2; }
.metric-card span, .metric-card small { color: inherit; opacity: .72; }
.metric-card strong { font-size: 28px; }

.critical-banner {
  color: #842f2c;
  background: #ffe7e3;
  border: 0;
  border-left: 6px solid var(--red);
  border-radius: 4px;
  box-shadow: var(--shadow);
}
.critical-icon { background: var(--red); border-radius: 4px; }
.risk-banner .risk-icon,
.receipt-banner .receipt-icon { color: #fff; background: var(--red); }
.warning-outline { color: #8b2e2c; background: #fff6f4; border-color: #e7aaa4; }
.warning-outline:hover { color: #762522; background: #ffe7e3; border-color: var(--red); }
.status.warning,
.text-warning { color: var(--red) !important; background: var(--red-soft); }
.conversation-number-notice.risk { color: var(--red) !important; }
.conversation-risk-notice { color: #8b2e2c; background: #fff0ee; border-bottom-color: #f1c6c1; }
.conversation-risk-notice > span { background: var(--red); }
.number-status-notice.risk { color: #8b2e2c; background: #fff0ee; border-color: #f1c6c1; }
.dot.warning { background: var(--red); }
.panel, .provider-card, .ownership-strip, .pool-principle {
  border-color: #dbe3df;
  border-radius: 5px;
  box-shadow: var(--shadow);
}
.panel-head { min-height: 48px; padding-inline: 15px; background: #fff; }
.panel-head h3 { font-size: 15px; }
.panel-body { padding: 14px 15px; }
th { color: #566474; background: #edf1f5; }
tbody tr:hover td { background: #f1f5f9; }
.cost-cell { min-width: 118px; }
.allocation-cell { min-width: 190px; }
.allocation-state-wrap {
  display: grid;
  grid-template-columns: minmax(76px, 1fr) 82px;
  align-items: center;
  gap: 10px;
}
.allocation-state {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 82px;
}
.allocation-state .status {
  min-width: 54px;
  text-align: center;
}
.provider-code { background: var(--coral); border-radius: 4px; }
.score, .status { border-radius: 3px; }
.adapter-flow span { color: #064f46; background: var(--green-soft); border-color: #b7e4d7; border-radius: 4px; }

.workspace-toolbar { min-height: 54px; }
.api-page-actions { display: flex; justify-content: flex-end; margin-bottom: 14px; }
.search-box { width: min(520px, 48%); height: 40px; box-shadow: var(--shadow); }
.archive-customer-btn { display: inline-flex; align-items: center; gap: 7px; background: #fff; }
.archive-customer-btn b { min-width: 20px; height: 20px; padding: 0 5px; color: #fff; background: var(--coral); border-radius: 10px; font-size: 10px; line-height: 20px; text-align: center; }
.archive-customer-btn.active { color: #fff; background: var(--ink); border-color: var(--ink); }
.message-workspace { --conversation-header-height: 56px; grid-template-rows: minmax(0, 1fr); border: 0; border-radius: 5px; box-shadow: 0 18px 50px rgba(35,55,46,.10); }
.conversation-column { height: 100%; min-height: 0; background: #fbfcfd; }
.chat-column { height: 100%; min-height: 0; grid-template-rows: auto minmax(0, 1fr) auto; overflow: hidden; }
.conversation-heading { height: 54px; padding-inline: 18px; }
.conversation-heading strong { font-size: 14px; }
.conversation-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  height: var(--conversation-header-height);
  min-height: var(--conversation-header-height);
  flex: 0 0 var(--conversation-header-height);
  border-block: 1px solid var(--line);
  background: #fff;
}
.conversation-tabs a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  color: var(--muted);
  border-bottom: 3px solid transparent;
  font-size: 11px;
  white-space: nowrap;
}
.conversation-tabs a.active { color: var(--ink); border-bottom-color: var(--coral); font-weight: 800; }
.conversation-tabs b { color: inherit; font-size: 10px; }
.conversation-bulk-toolbar {
  height: 42px;
  min-height: 42px;
  flex: 0 0 42px;
  box-sizing: border-box;
  padding: 6px 10px;
  overflow: hidden;
}
.conversation-bulk-actions {
  flex-wrap: nowrap;
  min-width: 0;
}
.conversation-bulk-actions .btn { white-space: nowrap; }
.conversation-list { flex: 1 1 auto; min-height: 0; height: auto; max-height: none; overflow-y: auto; }
.conversation-item { height: 10%; min-height: 0; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 7px; padding: 7px 10px; align-items: center; }
.conversation-item:hover { background: #f1f5f3; }
.conversation-item.active { background: var(--coral-soft); box-shadow: inset 5px 0 var(--coral); }
.conversation-copy { min-width: 0; }
.conversation-copy strong { font-size: 14px; }
.conversation-copy small { margin-top: 3px; font-size: 11px; }
.conversation-meta { display: flex; flex-direction: row; align-items: center; gap: 6px; color: var(--muted); font-size: 9px; white-space: nowrap; }
.conversation-meta b { min-width: 20px; height: 20px; padding: 0 5px; color: #fff; background: var(--green); border-radius: 10px; line-height: 20px; text-align: center; }
.chat-head {
  display: grid;
  grid-template-columns: minmax(180px, auto) minmax(0, 1fr) 180px;
  align-items: center;
  gap: 14px;
  min-height: 88px;
  padding: 12px 18px;
}
.chat-head h2 { font-size: 16px; }
.chat-head.no-note { grid-template-columns: minmax(0, 1fr) 180px; }
.chat-head.compact-chat-head {
  height: 56px;
  min-height: 56px;
  display: flex;
  align-items: center;
  padding: 0 18px;
}
.chat-summary-row {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: nowrap;
}
.chat-customer-phone, .chat-sticky-number { color: var(--ink); font-size: 14px; }
.chat-carrier, .chat-sticky-label { color: var(--muted); font-size: 11px; }
.chat-note-link {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 9px;
  color: var(--green);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 11px;
}
.chat-note-link:hover { background: var(--green-soft); border-color: #b7e4d7; }
.chat-note-link.has-note {
  max-width: 520px;
  flex: 1 1 280px;
  justify-content: flex-start;
  color: var(--ink);
  background: var(--surface-soft);
  border-color: var(--line);
}
.chat-note-link.has-note span { flex: 0 0 auto; color: var(--green); }
.chat-note-link.has-note strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.chat-sticky-number { margin-left: auto; }
.chat-identity, .customer-note, .sticky-route { min-width: 0; }
.chat-identity-title { display: flex; align-items: center; gap: 7px; }
.note-icon { width: 28px; height: 28px; flex: 0 0 28px; color: var(--muted); background: transparent; border: 1px solid transparent; border-radius: 4px; cursor: pointer; }
.note-icon:hover { color: var(--coral); border-color: var(--line); background: #fff; }
.customer-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-height: 52px;
  padding: 8px 10px;
  color: var(--ink);
  text-align: left;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}
.customer-note:hover { border-color: var(--coral); }
.customer-note span, .sticky-route span { color: var(--muted); font-size: 10px; }
.customer-note strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.sticky-route { grid-column: 3; text-align: right; }
.chat-head.no-note .sticky-route { grid-column: 2; }
.sticky-route strong { display: block; margin: 3px 0; font-size: 13px; }
.sticky-route small { color: var(--green); font-size: 10px; }
.messages { padding: 28px; background: #eef2f5; }
.bubble { max-width: min(680px, 78%); padding: 13px 15px; border-radius: 5px; }
.bubble p { font-size: 12px; }
.bubble .message-meta {
  display: inline;
  margin: 0 0 0 9px;
  color: var(--muted);
  text-align: inherit;
  font-size: 10px;
  white-space: nowrap;
}
.translation-block {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin-top: 4px;
  padding: 6px 9px;
  color: #1f4d43;
  background: #f4fbf8;
  border: 1px solid #cfe7dd;
  border-radius: 4px;
}
.translation-block span {
  display: inline-flex;
  flex: 0 0 auto;
  color: var(--green);
  font-size: 10px;
  font-weight: 800;
}
.translation-block strong {
  display: inline;
  flex: 0 1 auto;
  min-width: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}
.translation-block.muted {
  color: #6f7b75;
  background: #f6f8f6;
  border-color: var(--line);
}
.translation-block.failed {
  color: #842f2c;
  background: var(--red-soft);
  border-color: #efc3c7;
}
.message-row.out .bubble { color: #06453d; background: #dff4ee; border-color: #bce3d8; }
.composer { padding: 9px 14px 10px; }
.composer > div { justify-content: flex-end; margin-top: 5px; }
.composer textarea { min-height: 72px; max-height: 96px; padding: 9px 11px; border-radius: 4px; font-size: 11px; line-height: 1.5; resize: vertical; }
.composer .btn { min-height: 30px; padding: 0 12px; font-size: 11px; }
.composer textarea:focus { border-color: var(--coral); }
.contact-panel { padding: 20px; background: #fbfcfd; }
.contact-title { text-align: center; }
.contact-title h3 { font-size: 17px; }
.contact-title p { margin: 0; color: var(--ink); font-size: 14px; font-weight: 800; }
.chat-empty { display: grid; place-items: center; height: 100%; padding: 40px; color: var(--muted); text-align: center; background: var(--surface-soft); }
.modal-intro, .field-help, .allocation-summary { margin: 0 0 14px; color: var(--muted); font-size: 11px; line-height: 1.7; }
.allocation-summary { padding: 10px 12px; color: var(--ink); background: var(--green-soft); border-left: 4px solid var(--green); }
.provider-config { color: var(--muted); font-size: 11px; }
.connection-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px 16px; }
.connection-form-grid label { min-width: 0; }
.connection-form-grid .full { grid-column: 1 / -1; }
.integration-summary, .integration-test-result { margin-top: 15px; padding: 12px 14px; border: 1px solid var(--line); background: var(--surface-soft); }
.integration-summary strong, .integration-summary span, .integration-test-result strong, .integration-test-result span { display: block; }
.integration-summary span, .integration-test-result span { margin-top: 5px; color: var(--muted); font-size: 11px; line-height: 1.6; }
.integration-test-result { color: var(--muted); }
.integration-test-result strong { color: var(--green); }

.settings-account { width: 100%; max-width: none; }
.form-actions { display: flex; justify-content: flex-end; margin-top: 16px; }
.three-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.password-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; align-items: end; gap: 12px; }
.audit-toolbar { min-width: 0; display: grid; grid-template-columns: minmax(210px, .85fr) 155px 160px minmax(180px, 1fr) auto; gap: 8px; align-items: center; padding: 0; border-bottom: 0; }
.audit-head { min-height: 58px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 22px; padding: 10px 15px; }
.audit-head > div:first-child { padding: 0; }
.audit-toolbar .field { margin: 0; }
.compact-search { min-width: 0; }
.audit-detail-cell { max-width: 520px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.audit-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.audit-detail div { padding: 12px; background: var(--surface-soft); border: 1px solid var(--line); }
.audit-detail .full { grid-column: 1 / -1; }
.audit-detail span { display: block; margin-bottom: 6px; color: var(--muted); font-size: 10px; }
.audit-detail p { margin: 0; line-height: 1.7; }
.member-manage { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.member-manage .full { grid-column: 1 / -1; }

.modal { border-radius: 5px; }
.modal-head { min-height: 64px; padding-inline: 20px; }
.modal-body { padding: 20px; }
.modal-foot { padding-inline: 20px; }
.provider-reconcile { display: grid; gap: 16px; }
.reconcile-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--surface-soft); }
.reconcile-meta > div { display: grid; gap: 5px; padding: 14px 16px; border-right: 1px solid var(--line); }
.reconcile-meta > div:last-child { border-right: 0; }
.reconcile-meta span { color: var(--muted); font-size: 12px; }
.reconcile-meta strong { color: var(--ink); }
.reconcile-table table { min-width: 620px; }
.reconcile-table .muted { color: var(--muted); }
@media (max-width: 760px) { .reconcile-meta { grid-template-columns: 1fr; } .reconcile-meta > div { border-right: 0; border-bottom: 1px solid var(--line); } .reconcile-meta > div:last-child { border-bottom: 0; } }
.toast { background: var(--ink); border-radius: 4px; }

.login-brand {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-items: flex-start;
  justify-content: flex-start;
  padding: clamp(58px, 6.8vh, 84px) clamp(58px, 5.2vw, 100px) clamp(38px, 7vw, 110px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5,12,24,.72) 0%, rgba(7,14,25,.48) 48%, rgba(7,14,25,.18) 100%),
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.08)),
    url("../images/login-entrepreneurs-cover-0718.png") 52% center / cover no-repeat;
  border-right: 12px solid var(--ink);
}
.login-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 30%, rgba(255,255,255,.11), transparent 24%),
    radial-gradient(circle at 75% 70%, rgba(247,183,73,.22), transparent 26%);
  pointer-events: none;
}
.login-brand > * { position: relative; z-index: 1; }
.login-copy {
  min-width: 0;
  display: grid;
  gap: 14px;
}
.login-title-row {
  display: flex;
  align-items: center;
  gap: 18px;
}
.login-logo {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  margin: 0;
  display: block;
  overflow: hidden;
  border-radius: 50%;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.login-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}
.login-brand > div p { color: #f2c66d; }
.login-brand h1 {
  color: #fff2d2;
  text-shadow: 0 2px 18px rgba(0,0,0,.48), 0 0 24px rgba(217,171,83,.16);
  line-height: .98;
}
.login-brand h2 {
  max-width: 720px;
  color: #f2d99a;
  text-shadow: 0 1px 18px rgba(0,0,0,.44);
}
.login-principles { background: rgba(255,255,255,.18); box-shadow: 0 18px 55px rgba(0,0,0,.22); }
.login-principles span { color: #fff; background: rgba(6,18,34,.72); backdrop-filter: blur(8px); }
.login-principles b { color: #f2c66d; }
.login-panel { background: #eef2f5; }
.login-panel form { padding: 34px; background: #fff; border: 1px solid #cbdad3; border-radius: 5px; box-shadow: 0 22px 60px rgba(30,72,54,.12); }
.form-heading span { color: var(--coral); }

@media (min-width: 901px) and (max-width: 1540px) {
  .app-shell { grid-template-columns: 246px minmax(0, 1fr); }
  body[data-page="msg"] .message-workspace { --conversation-header-height: 106px; min-height: 540px; grid-template-columns: 320px minmax(0, 1fr); }
  .contact-panel { display: none; }
  .chat-head { grid-template-columns: minmax(160px, 1fr) 165px; min-height: 106px; }
  .chat-identity { grid-column: 1; grid-row: 1; }
  .customer-note { grid-column: 1; grid-row: 2; }
  .chat-head.compact-chat-head {
    height: auto;
    min-height: 106px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
  }
  .chat-head.compact-chat-head .chat-summary-row { grid-column: 1; grid-row: 1; }
  .sticky-route { grid-column: 2; grid-row: 1; }
  .composer textarea { min-height: 78px; max-height: 96px; }
  .audit-head { grid-template-columns: 1fr; gap: 8px; }
  .audit-toolbar { grid-template-columns: minmax(210px, 1fr) 150px 150px minmax(190px, 1fr) auto; }
  .audit-toolbar .compact-search { grid-column: auto; }
}
