:root {
  --blue: #3563ed;
  --blue-soft: #edf2ff;
  --ink: #202c41;
  --muted: #8892a5;
  --line: #e9edf3;
  --surface: #fff;
  --canvas: #f5f7fb;
  --nav: #18243e;
  --green: #249b79;
  --amber: #d4992f;
  --radius: 12px;
  --font: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  --mono: 'SFMono-Regular', Consolas, monospace;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  font: 13px/1.65 var(--font);
  background: var(--canvas);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
button {
  color: inherit;
}
a {
  text-decoration: none;
  color: inherit;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #99b0ff;
  outline-offset: 3px;
}
input,
textarea,
select {
  outline: none;
}
input:focus,
textarea:focus,
select:focus {
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px #3563ed12;
}
textarea {
  resize: vertical;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h2 {
  font-size: 15px;
  font-weight: 600;
}
h3 {
  font-size: 14px;
}
button {
  border: 0;
  background: none;
}
.icon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  vertical-align: middle;
}
#app {
  display: flex;
  min-height: 100dvh;
}
.sidebar {
  width: 212px;
  position: fixed;
  inset: 0 auto 0 0;
  background: var(--nav);
  color: #a3aec4;
  display: flex;
  flex-direction: column;
  padding: 28px 15px 0;
  z-index: 20;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 12px 27px;
  color: #fff;
  font-size: 21px;
  font-weight: 650;
  letter-spacing: 1px;
}
.brand-icon {
  display: flex;
  width: 39px;
  height: 39px;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  border-radius: 12px;
  color: white;
}
.brand-icon .icon {
  width: 24px;
  height: 24px;
}
.brand small {
  display: block;
  font-size: 8px;
  letter-spacing: 1.8px;
  font-weight: 400;
  opacity: 0.55;
  margin-top: 1px;
}
.workspace-chip {
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 11px 8px;
  border: 1px solid #ffffff13;
  background: #ffffff04;
  border-radius: 8px;
  font-size: 12px;
  color: #e1e7f4;
}
.workspace-avatar {
  display: grid;
  place-items: center;
  background: #3b4862;
  width: 30px;
  height: 30px;
  border-radius: 7px;
}
.workspace-chip small {
  display: block;
  color: #8792a9;
  font-size: 10px;
}
.pro-tag {
  font-size: 8px;
  letter-spacing: 0.7px;
  color: #b4c6ff;
  background: #3563ed30;
  padding: 0 4px;
  margin-left: auto;
  border-radius: 3px;
}
.nav-label {
  font-size: 10px;
  color: #707e99;
  margin: 27px 14px 9px;
  letter-spacing: 1px;
}
.nav-label.second {
  margin-top: 27px;
}
.nav-item {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 11px;
  padding: 12px 13px;
  margin: 4px 0;
  text-align: left;
  border-radius: 8px;
  color: #a4afc5;
  font-size: 12px;
  transition: background 0.15s;
}
.nav-item:hover {
  background: #ffffff0a;
  color: #fff;
}
.nav-item.active {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 4px 12px #0b153029;
}
.nav-item b {
  margin-left: auto;
  font-size: 10px;
  padding: 0 6px;
  line-height: 19px;
  min-width: 19px;
  border-radius: 4px;
  background: #ffffff25;
}
.sidebar-bottom {
  margin-top: auto;
}
.mobile-promo {
  background: #ffffff05;
  border: 1px solid #ffffff0a;
  border-radius: 9px;
  padding: 15px 12px;
  margin: 20px 0 13px;
}
.promo-icon {
  display: flex;
  margin-bottom: 9px;
  color: #94b4ff;
}
.mobile-promo strong {
  font-size: 12px;
  font-weight: 500;
  color: #d4def2;
}
.mobile-promo p {
  font-size: 10px;
  color: #7d8ba8;
  margin: 6px 0 12px;
}
.mobile-promo button {
  font-size: 10px;
  color: #a9c1ff;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mobile-promo .icon {
  width: 14px;
}
.account {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 20px 0;
  border-top: 1px solid #ffffff0b;
  margin-top: 14px;
  font-size: 11px;
  color: #d1d8e7;
}
.account-avatar,
.mini-avatar {
  background: #e4eafa;
  color: #5972a8;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 12px;
}
.account small {
  display: block;
  font-size: 9px;
  color: #8d9ab3;
  margin-top: 2px;
}
.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #36b28d;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.account .icon-button {
  margin-left: auto;
  width: 28px;
  color: #8a99b5;
}
.main-shell {
  width: calc(100% - 212px);
  margin-left: 212px;
  min-width: 0;
}
.topbar {
  height: 68px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.breadcrumb {
  font-size: 11px;
  color: #9199a9;
}
.breadcrumb span {
  margin: 0 15px;
  color: #c1c7d2;
}
.breadcrumb strong {
  font-weight: 500;
  color: #435069;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.live-indicator {
  font-size: 10px;
  color: #7e889b;
}
.live-indicator.offline {
  color: #dc7542;
}
.live-indicator.offline .dot {
  background: #dc7542;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue);
  font-size: 11px;
  padding: 0;
}
.text-link .icon {
  width: 13px;
  height: 13px;
}
.icon-button {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: #8c96a9;
  position: relative;
  padding: 0;
}
.icon-button:hover {
  background: #edf2fc;
  color: var(--blue);
}
.notification-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  background: #ec8d70;
  border: 1px solid white;
  border-radius: 50%;
  top: 6px;
  right: 7px;
}
.main {
  padding: 27px 30px 32px;
  max-width: 1800px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 23px;
}
.eyebrow {
  font-size: 8px;
  color: #99a5b8;
  letter-spacing: 2px;
  margin-bottom: 6px;
  font-weight: 600;
}
.page-heading h1 {
  font-size: 23px;
  font-weight: 650;
  letter-spacing: -0.5px;
}
.page-heading p {
  font-size: 11px;
  color: #8c96a8;
  margin-top: 7px;
}
.heading-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}
.date-chip {
  font-size: 10px;
  color: #919aaa;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 35px;
  padding: 8px 13px;
  border: 1px solid #dfe5ed;
  background: white;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background 0.15s,
    transform 0.15s;
}
.button:hover {
  background: #f4f7ff;
  border-color: #bbcbf9;
}
.button .icon {
  width: 15px;
  height: 15px;
}
.button.primary {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
  box-shadow: 0 3px 6px #3563ed10;
}
.button.primary:hover {
  background: #2754d5;
}
.button.compact {
  min-height: 30px;
  padding: 5px 9px;
  font-size: 10px;
}
.button.resolve {
  color: #657187;
}
.metrics {
  display: grid;
  grid-template-columns: 1fr 1.3fr 1.3fr 1.1fr;
  gap: 15px;
  margin-bottom: 23px;
}
.metric {
  display: flex;
  align-items: center;
  gap: 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 17px 19px;
}
.metric-icon {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border-radius: 10px;
}
.blue {
  background: #edf2ff;
  color: #4870e9;
}
.amber {
  background: #fff6e5;
  color: #d9a43e;
}
.violet {
  background: #f0edfe;
  color: #8b74d8;
}
.green {
  background: #e9f7f1;
  color: #389b7e;
}
.metric > div > span {
  font-size: 10px;
  color: #8791a4;
}
.metric strong {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 27px;
  font-weight: 650;
  line-height: 1.6;
  font-family: 'Avenir Next', var(--font);
}
.metric small {
  font-family: var(--font);
  font-size: 9px;
  font-weight: 400;
  color: #9ba4b4;
}
.metric small.amber-text {
  color: #bf9b65;
}
.inbox-layout {
  display: grid;
  grid-template-columns: 280px minmax(300px, 1fr) 235px;
  border: 1px solid #e3e8f0;
  border-radius: 11px;
  overflow: hidden;
  background: white;
  height: calc(100dvh - 310px);
  min-height: 510px;
  box-shadow: 0 3px 12px #18243e03;
}
.conversation-panel {
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 17px 8px;
}
.panel-title h2 {
  font-size: 13px;
}
.panel-title h2 span {
  font-size: 10px;
  font-weight: 500;
  color: #93a0b4;
  padding: 2px 6px;
  margin-left: 4px;
  background: #f3f5f9;
  border-radius: 4px;
}
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 5px 17px 13px;
  background: #f6f8fb;
  border: 1px solid #edf0f5;
  border-radius: 7px;
  padding: 7px 10px;
  color: #9ba5b6;
}
.search-field .icon {
  width: 14px;
  height: 14px;
}
.search-field input {
  background: none;
  border: 0;
  width: 100%;
  font-size: 10px;
  min-width: 0;
  box-shadow: none;
}
.search-field input::placeholder {
  color: #a4adbc;
}
.filter-tabs {
  display: flex;
  justify-content: space-between;
  gap: 3px;
  padding: 0 13px;
  border-bottom: 1px solid var(--line);
}
.filter-tabs button {
  font-size: 10px;
  padding: 8px 4px 11px;
  position: relative;
  color: #8c95a6;
  white-space: nowrap;
}
.filter-tabs button.active {
  color: var(--blue);
  font-weight: 600;
}
.filter-tabs button.active:after {
  content: '';
  height: 2px;
  background: var(--blue);
  position: absolute;
  bottom: -1px;
  left: 5px;
  right: 5px;
  border-radius: 2px;
}
.filter-tabs em {
  font-style: normal;
  font-size: 8px;
  background: #fff1e5;
  color: #d49356;
  padding: 0 4px;
  margin-left: 3px;
  border-radius: 3px;
}
.source-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 17px;
  font-size: 9px;
  color: #a3acba;
}
.source-filter select {
  border: 0;
  color: #94a0b3;
  background: white;
  max-width: 95px;
  font-size: 9px;
}
.source-filter .dot {
  width: 4px;
  height: 4px;
  background: #95a8cb;
}
#conversation-list {
  flex: 1;
  overflow: auto;
}
.conversation-item {
  width: 100%;
  display: flex;
  padding: 17px 15px;
  gap: 10px;
  text-align: left;
  border-left: 3px solid transparent;
  min-height: 104px;
}
.conversation-item:hover {
  background: #fafbfe;
}
.conversation-item.selected {
  background: #f0f4ff;
  border-left-color: var(--blue);
}
.avatar {
  width: 35px;
  height: 35px;
  border-radius: 11px;
  background: #edf0f7;
  color: #94a0b4;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-family: 'Avenir Next', var(--font);
  font-weight: 500;
}
.avatar.tone-1 {
  background: #e5ebff;
  color: #6480cb;
}
.avatar.tone-2 {
  background: #f6e9ed;
  color: #bc8493;
}
.avatar.tone-3 {
  background: #e9f1ed;
  color: #7d9c8a;
}
.avatar.tone-4 {
  background: #f5efe6;
  color: #b79b75;
}
.avatar.small {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  font-size: 10px;
}
.conversation-copy {
  min-width: 0;
  flex: 1;
}
.conversation-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
}
.conversation-title strong {
  font-size: 11px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.conversation-title time {
  font-size: 9px;
  color: #9ba6b9;
  flex-shrink: 0;
}
.conversation-copy > p {
  font-size: 10px;
  color: #95a0b2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 5px 0 9px;
}
.conversation-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 8px;
}
.status-label {
  font-size: 9px;
  white-space: nowrap;
}
.status-label:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  margin-right: 4px;
}
.status-label.waiting {
  color: #d7a34c;
}
.status-label.ai {
  color: #8b79ce;
}
.status-label.human {
  color: #5d88d3;
}
.status-label.resolved {
  color: #419d83;
}
.source-name {
  color: #a1abbd;
  font-size: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.unread {
  margin-left: auto;
  color: white;
  font-size: 8px;
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--blue);
}
.list-footer {
  font-size: 8px;
  color: #a8b0bf;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 13px;
  border-top: 1px solid var(--line);
}
.list-footer .icon {
  width: 12px;
  height: 12px;
}
.chat-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: #fcfdff;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  background: white;
  border-bottom: 1px solid var(--line);
}
.chat-person {
  min-width: 0;
  flex: 1;
}
.chat-person h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
}
.demo-label {
  font-size: 8px;
  color: #9cabc0;
  font-weight: 400;
  border: 1px solid #e4e9f1;
  padding: 0 4px;
  border-radius: 3px;
}
.chat-person > span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #98a3b6;
  font-size: 8px;
  margin-top: 4px;
  white-space: nowrap;
  overflow: hidden;
}
.chat-person > span .icon {
  width: 10px;
  height: 10px;
}
.chat-person i {
  font-style: normal;
}
.ai-banner {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 17px;
  background: #f0f4ff;
  border-bottom: 1px solid #e9efff;
  color: #8191bd;
  font-size: 9px;
}
.ai-banner .icon {
  width: 13px;
  height: 13px;
  color: #6989e9;
}
.ai-banner > span {
  flex: 1;
}
.ai-banner button {
  font-size: 9px;
  color: #6280d8;
  white-space: nowrap;
  padding: 0;
}
.messages {
  padding: 19px 20px 25px;
  overflow: auto;
  flex: 1;
  min-height: 150px;
  scroll-behavior: smooth;
}
.chat-date,
.conversation-origin,
.system-message {
  text-align: center;
  color: #a9b2c2;
  font-size: 9px;
  margin: 0 0 19px;
}
.conversation-origin {
  font-size: 8px;
  margin-bottom: 25px;
}
.conversation-origin .icon {
  width: 10px;
  height: 10px;
  margin-right: 3px;
}
.message-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 24px;
}
.message-row.outgoing {
  justify-content: flex-end;
}
.message-content {
  max-width: 80%;
  min-width: 0;
}
.message-label {
  font-size: 9px;
  color: #8995aa;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 7px;
}
.message-label time {
  font-size: 8px;
  color: #b1bac9;
}
.message-label .icon {
  width: 10px;
  height: 10px;
}
.outgoing .message-label {
  justify-content: flex-end;
}
.bubble {
  font-size: 11px;
  line-height: 1.9;
  padding: 11px 14px;
  white-space: normal;
  overflow-wrap: anywhere;
  border: 1px solid #e8ecf3;
  background: white;
  border-radius: 0 10px 10px 10px;
  color: #566177;
  box-shadow: 0 2px 3px #172e5202;
}
.outgoing .bubble {
  background: #edf2ff;
  border-color: #e4ebff;
  border-radius: 10px 0 10px 10px;
  color: #536da6;
}
.reply-avatar {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: #e8efff;
  color: #6487e8;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.reply-avatar .icon {
  width: 16px;
  height: 16px;
}
.reply-avatar.ai {
  background: #ebefff;
  color: #7b87d5;
}
.ai-footnote {
  text-align: right;
  color: #a7b3cb;
  font-size: 8px;
  margin-top: 5px;
}
.ai-footnote .icon {
  width: 9px;
  height: 9px;
  margin-right: 4px;
}
.composer {
  border-top: 1px solid var(--line);
  padding: 11px 17px 12px;
  background: white;
}
.composer-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}
.composer-tools .icon-button {
  width: 24px;
  height: 24px;
}
.composer-tools .icon {
  width: 15px;
  height: 15px;
}
.quick-reply {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  color: #8996ae;
  padding: 0;
}
.quick-reply .icon {
  width: 12px;
}
.composer-tools > span {
  margin-left: auto;
  font-size: 8px;
  color: #aab3c1;
}
.composer textarea {
  display: block;
  width: 100%;
  border: 0;
  box-shadow: none;
  background: transparent;
  resize: none;
  min-height: 65px;
  padding: 9px 0;
  font-size: 11px;
  color: #495873;
}
.composer textarea::placeholder {
  color: #b1b9c7;
}
.composer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.composer-bottom > span {
  font-size: 8px;
  color: #b3bac6;
}
.composer-bottom .button {
  min-height: 30px;
  font-size: 10px;
  padding: 5px 11px;
}
.detail-panel {
  border-left: 1px solid var(--line);
  overflow: auto;
}
.detail-title {
  padding: 22px 18px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
}
.detail-title .icon {
  width: 15px;
  height: 15px;
  color: #99a5ba;
}
.visitor-profile {
  text-align: center;
  padding: 24px 15px 23px;
}
.visitor-profile > .avatar {
  width: 47px;
  height: 47px;
  font-size: 18px;
  border-radius: 15px;
}
.visitor-profile h3 {
  font-size: 12px;
  margin: 10px 0 3px;
}
.visitor-id {
  font-size: 8px;
  color: #a9b1bf;
  font-family: var(--mono);
}
.visitor-profile > div {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.pill {
  display: inline-block;
  background: #edf3ff;
  color: #7794c5;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 400;
  white-space: nowrap;
}
.pill.muted {
  background: #f3f5f8;
  color: #9fa9b9;
}
.detail-section {
  margin: 0 17px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.detail-section h4 {
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 13px;
}
.detail-section h4 .icon {
  width: 12px;
  height: 12px;
  color: #899bb9;
}
.detail-section h4 button {
  margin-left: auto;
  font-size: 9px;
}
.detail-section dl {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 12px 8px;
  font-size: 9px;
  margin: 0;
}
.detail-section dt {
  color: #a0aabb;
}
.detail-section dd {
  margin: 0;
  color: #738199;
  overflow-wrap: anywhere;
}
.page-visit {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f8faff;
  padding: 10px 8px;
  border-radius: 6px;
}
.site-icon {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  background: #eef3ff;
  color: #849ed6;
  border-radius: 6px;
}
.site-icon .icon {
  width: 13px;
}
.page-visit strong {
  display: block;
  font-size: 9px;
  color: #73849f;
  font-weight: 500;
}
.page-visit small {
  display: block;
  max-width: 145px;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  font-size: 8px;
  color: #aab6cb;
}
.note {
  font-size: 9px;
  line-height: 1.9;
  color: #a0adbf;
  overflow-wrap: anywhere;
}
.sync-card {
  margin: 3px 17px 18px;
  padding: 12px 10px;
  border-radius: 7px;
  background: #f7f9fc;
  display: flex;
  gap: 8px;
  color: #91a4c3;
}
.sync-card > .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}
.sync-card strong {
  font-size: 9px;
  font-weight: 500;
  color: #7a8daa;
}
.sync-card p {
  font-size: 8px;
  color: #9cabc1;
  margin-top: 2px;
}
.sync-card span {
  display: block;
  font-size: 8px;
  color: #a5b3c9;
  margin-top: 6px;
}
.environment-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #a8b1c1;
  font-size: 9px;
  padding: 0 31px 16px;
}
.inbox-page {
  padding-bottom: 15px;
}
.mobile-back {
  display: none;
}
.empty-state {
  padding: 60px 20px;
  text-align: center;
  color: #9ba8bc;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex: 1;
}
.empty-state > .icon {
  width: 30px;
  height: 30px;
  color: #b4c3e4;
}
.empty-state strong {
  font-weight: 500;
}
.empty-state p {
  font-size: 11px;
}
.overview-hero {
  position: relative;
  background: #edf2ff;
  border: 1px solid #dfe7fb;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 45px 55px;
  overflow: hidden;
}
.overview-hero .eyebrow {
  color: #8ca1cf;
}
.overview-hero h2 {
  font-size: 33px;
  line-height: 1.65;
  font-weight: 600;
  color: #324d86;
  letter-spacing: -1px;
}
.overview-hero p {
  font-size: 12px;
  color: #8497bc;
  margin: 16px 0 25px;
}
.connection-art {
  width: 350px;
  height: 220px;
  position: relative;
  display: grid;
  place-items: center;
}
.art-core {
  width: 84px;
  height: 84px;
  background: var(--blue);
  border-radius: 26px;
  color: white;
  display: grid;
  place-items: center;
  z-index: 1;
  box-shadow: 0 18px 40px #3563ed22;
  transform: rotate(-8deg);
}
.art-core .icon {
  width: 42px;
  height: 42px;
}
.art-node {
  position: absolute;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  background: white;
  border: 1px solid #e2e9f8;
  border-radius: 10px;
  padding: 12px 17px;
  font-size: 11px;
  box-shadow: 0 8px 20px #3563ed08;
  color: #7f96c4;
}
.art-node.one {
  left: 0;
  top: 20px;
}
.art-node.two {
  right: 0;
  top: 55px;
}
.art-node.three {
  bottom: 0;
  left: 30px;
}
.orbit {
  position: absolute;
  width: 300px;
  height: 200px;
  border: 1px dashed #c2d0ef;
  border-radius: 50%;
  transform: rotate(-20deg);
}
.orbit.small {
  width: 215px;
  height: 130px;
  transform: rotate(25deg);
}
.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 24px 0;
}
.overview-number {
  text-align: left;
  padding: 23px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
}
.overview-number > .icon {
  grid-column: 2;
  grid-row: 1;
  color: #8ba4df;
}
.overview-number > span {
  grid-row: 1;
  font-size: 12px;
  color: #8591a9;
}
.overview-number strong {
  grid-column: 1/-1;
  font-size: 32px;
  font-weight: 600;
}
.overview-number small {
  grid-column: 1/-1;
  font-size: 10px;
  color: #9badcf;
}
.overview-number small .icon {
  width: 13px;
}
.section-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 25px;
  margin-bottom: 23px;
}
.section-card > h2 {
  font-size: 16px;
  margin-bottom: 8px;
}
.muted-text {
  font-size: 12px;
  line-height: 1.9;
  color: #8e9bb0;
}
.distribution {
  display: flex;
  align-items: center;
  gap: 30px;
  padding-top: 25px;
  font-size: 11px;
  color: #8290a9;
}
.distribution strong {
  min-width: 130px;
  font-weight: 500;
}
.distribution > div {
  height: 9px;
  border-radius: 6px;
  background: #f2f5fb;
  flex: 1;
  overflow: hidden;
}
.distribution i {
  display: block;
  height: 100%;
  background: #7b9bed;
  border-radius: 6px;
}
.distribution span {
  min-width: 35px;
  text-align: right;
}
.info-banner {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #e4ebff;
  background: #eff4ff;
  padding: 15px 19px;
  border-radius: 9px;
  color: #7a92c0;
  font-size: 12px;
  margin-bottom: 25px;
}
.info-banner .icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}
.site-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
  margin: 25px 0;
}
.site-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  min-width: 0;
}
.site-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.large-site-icon {
  display: inline-grid;
  place-items: center;
  background: #edf3ff;
  color: #7293e6;
  width: 43px;
  height: 43px;
  border-radius: 12px;
}
.site-card h2 {
  font-size: 17px;
}
.site-card > p {
  font-size: 11px;
  color: #a0aabe;
  margin: 4px 0 25px;
}
.site-card-detail {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #91a0b8;
  margin-bottom: 14px;
  gap: 10px;
}
.site-card-detail code {
  font-size: 10px;
  color: #677c9e;
  overflow-wrap: anywhere;
}
.site-card-detail strong {
  font-weight: 500;
  color: #677c9e;
}
.site-card-actions {
  display: flex;
  gap: 9px;
  border-top: 1px solid var(--line);
  padding-top: 19px;
  margin-top: 23px;
}
.site-card-actions > .primary {
  flex: 1;
}
.add-site-card {
  border-style: dashed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: #8c9dbc;
  background: #f9fbff;
  min-height: 260px;
}
.add-site-card > .icon {
  width: 35px;
  height: 35px;
  margin-bottom: 14px;
  color: #a7b8d8;
}
.add-site-card h3 {
  font-size: 14px;
}
.add-site-card p {
  margin: 8px 0;
  font-size: 11px;
}
.install-guide > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 24px;
}
.install-guide > div > div {
  position: relative;
  padding-left: 43px;
}
.install-guide > div span {
  position: absolute;
  left: 0;
  color: #bcc9e4;
  font-size: 22px;
  font-family: var(--mono);
}
.install-guide strong {
  font-size: 12px;
  font-weight: 500;
}
.install-guide p {
  font-size: 10px;
  color: #9eabc1;
  margin-top: 4px;
}
.ai-config-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  gap: 23px;
}
.section-card-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 15px;
}
.section-card-heading h2 {
  font-size: 16px;
}
.section-card-heading p {
  font-size: 11px;
  color: #96a2b9;
  margin-top: 4px;
}
.section-card-heading > .status-label {
  margin-left: auto;
}
.setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.setting-row strong {
  font-weight: 500;
}
.setting-row p {
  font-size: 10px;
  color: #9ba6b9;
  margin-top: 4px;
}
.setting-row > code {
  font-size: 11px;
  color: #7c91b9;
}
.setting-row > span {
  color: #96a3ba;
}
.switch {
  width: 36px;
  height: 21px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #d6deed;
  padding: 3px;
}
.switch span {
  display: block;
  width: 15px;
  height: 15px;
  background: white;
  border-radius: 50%;
  transition: transform 0.15s;
}
.switch.on {
  background: var(--blue);
}
.switch.on span {
  transform: translateX(15px);
}
.field-label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  margin: 22px 0 9px;
}
form input,
form textarea,
form select,
.modal > input,
.modal > textarea {
  width: 100%;
  border: 1px solid #dfe6f1;
  border-radius: 7px;
  background: #fcfdff;
  padding: 11px 12px;
  color: #667691;
  font-size: 12px;
}
form input::placeholder,
form textarea::placeholder {
  color: #b1bccf;
}
form > .button {
  margin-top: 22px;
}
.field-hint {
  font-size: 10px;
  color: #9ba8bd;
  line-height: 1.9;
  margin: 10px 0;
}
.blue-guide {
  background: #edf3ff;
  border-color: #e2ebfd;
  padding: 32px;
}
.blue-guide h2 {
  color: #5976a9;
  font-size: 20px;
  margin: 5px 0 30px;
}
.blue-guide > p {
  font-size: 11px;
  line-height: 1.9;
  color: #889cc1;
  margin-top: 23px;
}
.flow-step {
  background: white;
  border: 1px solid #e1e9f9;
  border-radius: 9px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 12px;
  color: #7890ba;
}
.flow-line {
  width: 1px;
  height: 20px;
  background: #c9d6f0;
  margin-left: 27px;
}
.knowledge-card {
  display: flex;
  gap: 19px;
  padding: 25px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 11px;
  margin-bottom: 18px;
}
.knowledge-card > div {
  flex: 1;
  min-width: 0;
}
.knowledge-title {
  display: flex;
  align-items: center;
  gap: 13px;
}
.knowledge-title h2 {
  font-size: 15px;
}
.knowledge-card p {
  color: #8d9bb2;
  font-size: 12px;
  line-height: 2;
  margin-top: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.danger {
  color: #bc6666;
}
.channel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.channel-grid article {
  position: relative;
  padding: 30px;
}
.channel-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  margin-bottom: 23px;
}
.channel-icon .icon {
  width: 27px;
  height: 27px;
}
.channel-grid .status-label {
  position: absolute;
  top: 35px;
  right: 30px;
}
.channel-grid h2 {
  font-size: 19px;
}
.channel-grid p {
  font-size: 12px;
  color: #91a0b7;
  line-height: 2;
  margin: 15px 0 24px;
  max-width: 400px;
}
.channel-flow {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 15px;
  margin: 30px 0;
}
.channel-flow > span {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f4f7fc;
  padding: 17px 25px;
  border-radius: 8px;
  color: #7e92b5;
  font-size: 12px;
}
.channel-flow > .icon {
  color: #b2c1dc;
}
.settings-card {
  max-width: 850px;
}
.settings-card > .button {
  margin-top: 17px;
}
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: #111e3a55;
  backdrop-filter: blur(4px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}
.modal {
  background: white;
  border: 1px solid #fff8;
  border-radius: 17px;
  padding: 27px 30px;
  max-width: 540px;
  width: 100%;
  max-height: 90dvh;
  overflow: auto;
  box-shadow: 0 30px 100px #10234130;
}
.modal-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.modal-heading h2 {
  font-size: 18px;
}
.modal > p {
  font-size: 12px;
  color: #8798b3;
  line-height: 2;
  margin: 12px 0;
}
.modal > .button {
  margin-top: 15px;
}
.modal > textarea {
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.9;
}
.modal .info-banner {
  font-size: 11px;
}
.modal-illustration {
  text-align: center;
  color: #7398ef;
  margin: 25px;
}
.modal-illustration .icon {
  width: 58px;
  height: 58px;
}
.requirements {
  font-size: 12px;
  color: #8798b3;
  padding-left: 20px;
  line-height: 2.1;
}
.requirements li {
  margin: 10px 0;
}
.quick-options {
  display: grid;
  gap: 10px;
}
.quick-options button {
  padding: 15px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #7f91af;
  background: #f5f8ff;
  border: 1px solid #e5edfb;
  border-radius: 7px;
  font-size: 12px;
}
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  font-size: 12px;
  color: #8192ad;
}
.checkbox-row input {
  width: 17px;
  height: 17px;
}
form input[type='color'] {
  width: 65px;
  height: 43px;
  padding: 5px;
}
.login-page {
  min-height: 100dvh;
  width: 100%;
  display: grid;
  place-items: center;
  background: #edf2fc;
}
.login-card {
  width: min(430px, 92%);
  border: 1px solid #dfe7f6;
  background: white;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 20px 80px #1833650d;
}
.login-card h1 {
  font-size: 23px;
  margin: 22px 0 8px;
}
.login-card > p {
  font-size: 12px;
  color: #98a6bc;
  margin-bottom: 25px;
}
.login-card .button {
  width: 100%;
  margin-top: 20px;
}
#toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 15px);
  background: #24334deb;
  color: white;
  padding: 12px 22px;
  border-radius: 9px;
  box-shadow: 0 8px 30px #14264420;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  z-index: 200;
  max-width: 90vw;
  text-align: center;
}
#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.initial-loading {
  padding: 45px;
  color: #8e9cb3;
}
::-webkit-scrollbar {
  width: 4px;
  height: 4px;
}
::-webkit-scrollbar-thumb {
  background: #dce3f0;
  border-radius: 4px;
}
@media (min-width: 1600px) {
  .inbox-layout {
    grid-template-columns: 310px minmax(360px, 1fr) 270px;
  }
  .conversation-item {
    padding: 20px;
  }
  .chat-panel {
    font-size: 14px;
  }
  .bubble {
    font-size: 13px;
  }
  .messages {
    padding: 25px 30px;
  }
  .detail-section dl {
    font-size: 11px;
  }
  .detail-section h4 {
    font-size: 12px;
  }
  .note {
    font-size: 11px;
  }
}
@media (max-width: 1250px) {
  .sidebar {
    width: 185px;
    padding-left: 11px;
    padding-right: 11px;
  }
  .main-shell {
    width: calc(100% - 185px);
    margin-left: 185px;
  }
  .main {
    padding-left: 22px;
    padding-right: 22px;
  }
  .topbar {
    padding: 0 22px;
  }
  .inbox-layout {
    grid-template-columns: 260px minmax(300px, 1fr);
  }
  .detail-panel {
    display: none;
  }
  .metrics {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  .metric {
    padding: 13px 12px;
    gap: 10px;
  }
  .metric small {
    display: none;
  }
  .page-heading h1 {
    font-size: 21px;
  }
  .date-chip {
    display: none;
  }
  .site-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 950px) {
  .sidebar {
    width: 72px;
    padding: 22px 9px 0;
  }
  .brand {
    padding: 0 7px 20px;
  }
  .brand > span:nth-child(2),
  .workspace-chip,
  .nav-label,
  .nav-item span,
  .nav-item b,
  .sidebar .mobile-promo,
  .account > div,
  .account .icon-button {
    display: none;
  }
  .nav-item {
    justify-content: center;
    padding: 14px;
    margin: 7px 0;
  }
  .nav-item .icon {
    width: 21px;
    height: 21px;
  }
  .account {
    justify-content: center;
  }
  .main-shell {
    width: calc(100% - 72px);
    margin-left: 72px;
  }
  .topbar-right {
    gap: 14px;
  }
  .topbar .live-indicator {
    display: none;
  }
  .site-grid {
    gap: 15px;
  }
  .overview-hero {
    padding: 35px;
  }
  .connection-art {
    width: 270px;
  }
  .ai-config-grid {
    grid-template-columns: 1fr;
  }
  .channel-flow > span {
    padding: 12px;
    font-size: 10px;
  }
  .overview-grid {
    gap: 12px;
  }
  .overview-number {
    padding: 16px;
  }
  .knowledge-title {
    flex-wrap: wrap;
    gap: 6px;
  }
}
@media (max-width: 700px) {
  .sidebar {
    height: 62px;
    width: 100%;
    top: auto;
    bottom: 0;
    padding: 0;
    background: white;
    color: #7a8baa;
    border-top: 1px solid var(--line);
    flex-direction: row;
  }
  .sidebar .brand,
  .sidebar-bottom,
  .nav-label {
    display: none;
  }
  .sidebar nav {
    display: flex;
    width: 100%;
    justify-content: space-around;
    align-items: center;
  }
  .nav-item {
    width: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 8px 2px;
    border-radius: 0;
    box-shadow: none !important;
    background: none !important;
    color: #9aa7bd;
  }
  .nav-item span {
    display: block;
    font-size: 8px;
  }
  .nav-item .icon {
    width: 19px;
    height: 19px;
  }
  .nav-item.active {
    color: var(--blue);
  }
  .sidebar .nav-item[data-nav='overview'],
  .sidebar .nav-item[data-nav='knowledge'] {
    display: none;
  }
  .main-shell {
    margin: 0;
    width: 100%;
    padding-bottom: 62px;
  }
  .topbar {
    height: 54px;
    padding: 0 18px;
  }
  .topbar-right {
    gap: 10px;
  }
  .topbar .text-link {
    font-size: 9px;
  }
  .topbar .mini-avatar {
    display: none;
  }
  .breadcrumb {
    font-size: 10px;
  }
  .breadcrumb span {
    margin: 0 8px;
  }
  .main {
    padding: 20px 15px;
  }
  .page-heading {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
  }
  .page-heading h1 {
    font-size: 21px;
    line-height: 1.5;
  }
  .page-heading p {
    font-size: 10px;
    margin-top: 9px;
  }
  .eyebrow {
    font-size: 7px;
  }
  .heading-actions {
    display: none;
  }
  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 15px;
  }
  .metric {
    padding: 11px 15px;
    gap: 12px;
  }
  .metric-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }
  .metric strong {
    font-size: 22px;
    line-height: 1.3;
  }
  .metric > div > span {
    font-size: 9px;
  }
  .inbox-layout {
    display: block;
    height: calc(100dvh - 334px);
    min-height: 370px;
    border-radius: 9px;
  }
  .conversation-panel {
    height: 100%;
    border: 0;
  }
  .conversation-item {
    padding: 16px;
    min-height: 99px;
  }
  .conversation-title strong {
    font-size: 13px;
  }
  .conversation-title time {
    font-size: 10px;
  }
  .conversation-copy > p {
    font-size: 12px;
  }
  .source-name,
  .conversation-meta,
  .status-label {
    font-size: 10px;
  }
  .filter-tabs button {
    font-size: 11px;
    padding: 12px 8px;
    min-height: 44px;
  }
  .source-filter {
    font-size: 10px;
  }
  .source-filter select {
    font-size: 11px;
    min-height: 36px;
    max-width: 130px;
  }
  .search-field input {
    font-size: 12px;
    min-height: 25px;
  }
  .chat-panel {
    display: none;
  }
  .inbox-layout.mobile-chat {
    position: fixed;
    inset: 0 0 62px;
    height: auto;
    min-height: 0;
    border: 0;
    border-radius: 0;
    z-index: 25;
  }
  .mobile-chat .conversation-panel {
    display: none;
  }
  .mobile-chat .chat-panel {
    height: 100%;
    display: flex;
  }
  .mobile-back {
    display: inline-flex;
    min-width: 35px;
  }
  .chat-header {
    padding: 12px 10px;
    min-height: 72px;
  }
  .chat-person h2 {
    font-size: 14px;
  }
  .chat-person > span {
    font-size: 9px;
  }
  .chat-header .button {
    min-height: 38px;
  }
  .ai-banner {
    font-size: 10px;
    padding: 11px 13px;
  }
  .ai-banner button {
    min-height: 35px;
    font-size: 10px;
  }
  .messages {
    padding: 22px 15px;
  }
  .bubble {
    font-size: 13px;
    line-height: 1.9;
    padding: 12px;
  }
  .message-content {
    max-width: 82%;
  }
  .message-label {
    font-size: 10px;
  }
  .chat-date,
  .conversation-origin,
  .system-message {
    font-size: 10px;
  }
  .composer {
    padding-bottom: max(15px, env(safe-area-inset-bottom));
    padding-top: 10px;
  }
  .composer textarea {
    min-height: 68px;
    font-size: 14px;
  }
  .composer-tools .icon-button {
    width: 38px;
    height: 38px;
  }
  .quick-reply {
    font-size: 11px;
    min-height: 40px;
  }
  .composer-bottom .button {
    min-height: 42px;
    font-size: 12px;
  }
  .composer-bottom > span {
    font-size: 9px;
  }
  .environment-bar {
    padding: 4px 15px 13px;
    font-size: 8px;
  }
  .environment-bar > span {
    display: none;
  }
  .overview-hero {
    padding: 30px 25px;
  }
  .overview-hero h2 {
    font-size: 26px;
  }
  .overview-hero p {
    font-size: 10px;
  }
  .connection-art {
    display: none;
  }
  .overview-grid {
    grid-template-columns: 1fr 1fr;
  }
  .distribution {
    gap: 12px;
  }
  .distribution strong {
    min-width: 90px;
  }
  .section-card {
    padding: 22px 18px;
  }
  .site-grid {
    grid-template-columns: 1fr;
  }
  .add-site-card {
    min-height: 170px;
  }
  .site-card .button {
    min-height: 42px;
  }
  .install-guide > div {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .page-heading > .button {
    font-size: 10px;
    margin-top: 8px;
  }
  .channel-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .channel-flow {
    flex-direction: column;
    gap: 12px;
  }
  .channel-flow > .icon {
    transform: rotate(90deg);
  }
  .channel-flow > span {
    width: 100%;
    justify-content: center;
    font-size: 13px;
  }
  .knowledge-card {
    padding: 20px 15px;
    gap: 12px;
  }
  .knowledge-card > .large-site-icon {
    width: 32px;
    height: 32px;
  }
  .knowledge-title h2 {
    font-size: 14px;
  }
  .knowledge-card p {
    font-size: 11px;
  }
  .section-card-heading {
    flex-wrap: wrap;
  }
  .section-card-heading > .status-label {
    margin-left: 0;
  }
  .section-card-heading h2 {
    font-size: 14px;
  }
  .setting-row {
    gap: 12px;
  }
  .setting-row p {
    max-width: 220px;
  }
  .setting-row > span {
    font-size: 10px;
    max-width: 160px;
    text-align: right;
  }
  .info-banner {
    font-size: 11px;
    align-items: flex-start;
  }
  .modal {
    padding: 22px;
  }
  .modal-backdrop {
    padding: 15px;
  }
  .modal-heading h2 {
    font-size: 17px;
  }
  .modal .button {
    min-height: 44px;
  }
  form input,
  form textarea,
  form select {
    font-size: 16px;
  }
  .icon-button {
    min-width: 36px;
    min-height: 36px;
  }
  .topbar .icon-button {
    min-width: 36px;
  }
  .settings-card .setting-row strong {
    font-size: 11px;
  }
  .ai-config-grid {
    gap: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
/* Reading contrast and viewport fit, verified on desktop and mobile. */
@media (min-width: 701px) {
  .inbox-layout {
    height: calc(100dvh - 370px);
  }
  .bubble {
    font-size: 12px;
  }
  .conversation-title strong {
    font-size: 12px;
  }
  .conversation-copy > p {
    font-size: 11px;
  }
  .conversation-meta,
  .source-name {
    font-size: 9px;
  }
  .detail-section dl,
  .detail-section h4 {
    font-size: 10px;
  }
  .note {
    font-size: 10px;
  }
  .composer textarea {
    font-size: 12px;
  }
  .metric small {
    font-size: 10px;
  }
  .detail-title {
    font-size: 12px;
  }
}
.page-heading p,
.metric > div > span,
.conversation-copy > p,
.message-label,
.note,
.detail-section dt,
.chat-person > span,
.source-name,
.muted-text {
  color: #75839b;
}
.conversation-title time,
.composer textarea::placeholder,
.search-field input::placeholder {
  color: #8291aa;
}
.environment-bar {
  color: #8290a7;
}

/* Contact information remains reachable on narrow desktops and phones. */
.visitor-details {
  display: none;
}
.list-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.history-more {
  display: block;
  margin: 0 auto 16px;
}
@media (max-width: 1300px) {
  .visitor-details {
    display: inline-flex;
    flex-shrink: 0;
  }
  .mobile-details .detail-title {
    display: none;
  }
  .mobile-details .detail-section {
    padding: 18px 0;
  }
}
@media (max-width: 760px) {
  .icon-button,
  .button,
  .quick-reply,
  .ai-banner button,
  .text-link,
  .filter-tabs button {
    min-height: 44px;
  }
  .icon-button {
    min-width: 44px;
    width: 44px;
    height: 44px;
  }
  .chat-header {
    gap: 6px;
    padding-left: 8px;
    padding-right: 8px;
  }
  .chat-header .avatar {
    display: none;
  }
  .chat-header .chat-person {
    min-width: 0;
  }
  .chat-person h2 {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .chat-header .compact {
    padding: 6px 8px;
    font-size: 12px;
    flex-shrink: 0;
  }
  .chat-header .compact svg {
    display: none;
  }
  .mobile-details select {
    min-height: 44px;
    max-width: 160px;
  }
  .composer-bottom .primary {
    min-height: 44px;
  }
}
@media (max-width: 760px) {
  .chat-header .button,
  .button.compact,
  .composer-bottom .button {
    min-height: 44px;
  }
  .composer-tools .icon-button {
    width: 44px;
    height: 44px;
  }
}
@media (max-width: 760px) {
  .mobile-details .visitor-profile h3 {
    font-size: 16px;
  }
  .mobile-details .visitor-id,
  .mobile-details dl,
  .mobile-details dd,
  .mobile-details dt,
  .mobile-details .page-visit small,
  .mobile-details .sync-card p,
  .mobile-details .sync-card span {
    font-size: 12px;
    line-height: 1.7;
  }
  .mobile-details .note,
  .mobile-details .detail-section h4 {
    font-size: 14px;
  }
  .mobile-details dd {
    overflow-wrap: anywhere;
  }
}
