:root {
  color-scheme: light;
  --ink: #18201e;
  --muted: #6c7874;
  --muted-2: #919c98;
  --line: #dfe7e3;
  --line-soft: #ecf1ef;
  --paper: #ffffff;
  --canvas: #f4f7f5;
  --canvas-deep: #eef3f0;
  --brand: #0d735c;
  --brand-dark: #075544;
  --brand-light: #dff4ec;
  --brand-pale: #f0faf6;
  --blue: #2563eb;
  --danger: #c43c3c;
  --warning: #a56712;
  --shadow: 0 18px 50px rgba(15, 40, 34, 0.09);
  --shadow-small: 0 8px 24px rgba(15, 40, 34, 0.08);
  font-family:
    "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Segoe UI",
    sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
}

body {
  background: var(--canvas);
  color: var(--ink);
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(13, 115, 92, 0.19);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

svg {
  display: block;
}

.is-hidden {
  display: none !important;
}

.eyebrow {
  color: var(--brand);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.login-view {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(420px, 0.9fr);
  background: #f8faf9;
}

.login-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 15% 18%, rgba(59, 211, 167, 0.3), transparent 25%),
    radial-gradient(circle at 88% 82%, rgba(233, 191, 98, 0.18), transparent 28%),
    linear-gradient(145deg, #073d32 0%, #0a5b49 48%, #0b7560 100%);
}

.login-art::before,
.login-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 50%;
}

.login-art::before {
  width: 620px;
  height: 620px;
  left: -290px;
  top: -280px;
}

.login-art::after {
  width: 540px;
  height: 540px;
  right: -330px;
  bottom: -250px;
}

.login-art-inner {
  position: relative;
  z-index: 1;
  width: min(560px, 76%);
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 14px;
  color: white;
  background: linear-gradient(140deg, #1ea27f, #075544);
  box-shadow: 0 8px 20px rgba(5, 71, 56, 0.2);
  font-size: 20px;
  font-weight: 850;
}

.brand-mark.large {
  width: 58px;
  height: 58px;
  margin-bottom: 38px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  backdrop-filter: blur(9px);
  font-size: 25px;
}

.login-art .eyebrow {
  color: #8ee4c9;
}

.login-art h1 {
  margin-top: 13px;
  font-family: "STSong", "Songti SC", Georgia, serif;
  font-size: clamp(38px, 4.2vw, 62px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.login-lead {
  max-width: 440px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.8;
}

.login-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 62px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.login-metrics div {
  padding: 20px 16px;
  background: rgba(4, 54, 44, 0.24);
}

.login-metrics strong,
.login-metrics span {
  display: block;
}

.login-metrics strong {
  font-size: 19px;
}

.login-metrics span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
}

.login-panel {
  display: grid;
  place-items: center;
  padding: 40px;
}

.login-card {
  width: min(390px, 100%);
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-lockup strong,
.brand-lockup span {
  display: block;
}

.brand-lockup strong {
  font-size: 16px;
}

.brand-lockup span {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.login-copy {
  margin: 78px 0 34px;
}

.login-copy h2 {
  margin: 10px 0 9px;
  font-family: "STSong", "Songti SC", Georgia, serif;
  font-size: 34px;
  font-weight: 600;
}

.login-copy p:last-child {
  color: var(--muted);
  font-size: 13px;
}

.login-card label {
  display: block;
  margin-top: 18px;
}

.login-card label span {
  display: block;
  margin-bottom: 8px;
  color: #3f4c48;
  font-size: 12px;
  font-weight: 700;
}

.login-card input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: white;
  color: var(--ink);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.login-card input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(13, 115, 92, 0.08);
}

.primary-button,
.secondary-button,
.ghost-button,
.icon-button {
  border: 0;
  cursor: pointer;
}

.primary-button {
  padding: 13px 18px;
  border-radius: 10px;
  color: white;
  background: var(--brand);
  font-weight: 750;
  transition: transform 150ms ease, background 150ms ease;
}

.primary-button:hover {
  background: var(--brand-dark);
}

.primary-button:active {
  transform: translateY(1px);
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.login-button {
  width: 100%;
  margin-top: 24px;
}

.login-hint {
  margin-top: 15px;
  color: var(--muted-2);
  font-size: 11px;
  text-align: center;
}

.form-error,
.composer-error {
  min-height: 18px;
  margin-top: 9px;
  color: var(--danger);
  font-size: 11px;
}

.app-shell {
  display: grid;
  height: 100%;
  grid-template-rows: 66px minmax(0, 1fr);
}

.topbar {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto minmax(240px, 1fr);
  align-items: center;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.91);
  backdrop-filter: blur(15px);
}

.topbar-brand {
  display: flex;
  align-items: center;
  gap: 11px;
}

.brand-mark.small {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 15px;
}

.topbar-brand strong,
.topbar-brand span {
  display: block;
}

.topbar-brand strong {
  font-size: 14px;
  letter-spacing: -0.01em;
}

.topbar-brand span {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.08em;
}

.topbar-center {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 10px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b7c0bd;
}

.live-dot.is-live {
  background: #18a46f;
  box-shadow: 0 0 0 4px rgba(24, 164, 111, 0.11);
}

.live-dot.is-error {
  background: #cf7b31;
  box-shadow: 0 0 0 4px rgba(207, 123, 49, 0.11);
}

.topbar-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.agent-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-left: 4px;
  font-size: 12px;
  font-weight: 650;
}

.agent-avatar,
.conversation-avatar,
.large-avatar {
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  color: var(--brand-dark);
  background: var(--brand-light);
  font-weight: 750;
}

.agent-avatar {
  width: 29px;
  height: 29px;
  font-size: 11px;
}

.icon-button {
  display: grid;
  width: 33px;
  height: 33px;
  place-items: center;
  border-radius: 9px;
  background: transparent;
}

.icon-button:hover {
  background: var(--canvas-deep);
}

.icon-button svg,
.mobile-back svg,
.send-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ghost-button {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font-size: 10px;
  font-weight: 700;
}

.ghost-button:hover {
  border-color: #bed0c9;
  background: var(--brand-pale);
}

.workspace {
  display: grid;
  min-height: 0;
  grid-template-columns: 318px minmax(0, 1fr) 274px;
}

.inbox-pane,
.details-pane {
  min-height: 0;
  background: var(--paper);
}

.inbox-pane {
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
}

.inbox-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 23px 22px 16px;
}

.inbox-heading h2 {
  margin-top: 5px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.count-badge {
  display: grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  padding: 0 7px;
  border-radius: 8px;
  color: var(--brand);
  background: var(--brand-light);
  font-size: 10px;
  font-weight: 750;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  margin: 0 18px;
  padding: 0 11px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--canvas);
}

.search-box:focus-within {
  border-color: #a9c5ba;
  background: white;
}

.search-box svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: var(--muted-2);
  stroke-width: 1.8;
}

.search-box input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 11px;
}

.filter-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  margin: 13px 18px 10px;
  padding: 3px;
  border-radius: 9px;
  background: var(--canvas);
}

.filter-button {
  padding: 7px 3px;
  border: 0;
  border-radius: 7px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
}

.filter-button.is-active {
  color: var(--ink);
  background: white;
  box-shadow: 0 2px 8px rgba(20, 40, 34, 0.07);
  font-weight: 700;
}

.conversation-list {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
  padding: 0 10px 18px;
  scrollbar-width: thin;
  scrollbar-color: #d5dfdb transparent;
}

.conversation-item {
  position: relative;
  display: grid;
  width: 100%;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  padding: 13px 11px;
  border: 0;
  border-radius: 11px;
  text-align: left;
  background: transparent;
  cursor: pointer;
  transition: background 140ms ease;
}

.conversation-item:hover {
  background: var(--canvas);
}

.conversation-item.is-active {
  background: var(--brand-pale);
}

.conversation-item.is-active::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: var(--brand);
}

.conversation-avatar {
  width: 42px;
  height: 42px;
  font-size: 13px;
}

.conversation-item.is-group .conversation-avatar {
  color: #37526d;
  background: #e5edf5;
}

.conversation-main {
  min-width: 0;
  padding-top: 1px;
}

.conversation-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.conversation-row strong {
  overflow: hidden;
  flex: 1;
  font-size: 12px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-tag {
  flex: none;
  padding: 2px 5px;
  border-radius: 4px;
  color: var(--muted);
  background: var(--canvas-deep);
  font-size: 8px;
}

.conversation-preview {
  overflow: hidden;
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-side {
  padding-top: 2px;
  text-align: right;
}

.conversation-time {
  display: block;
  color: var(--muted-2);
  font-size: 8px;
  white-space: nowrap;
}

.unread-badge {
  display: inline-grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  margin-top: 7px;
  padding: 0 5px;
  border-radius: 9px;
  color: white;
  background: var(--brand);
  font-size: 8px;
  font-weight: 750;
}

.chat-pane {
  position: relative;
  display: grid;
  min-width: 0;
  min-height: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.69), rgba(255, 255, 255, 0.69)),
    radial-gradient(circle at 15% 20%, #dcece5, transparent 35%),
    var(--canvas);
}

.empty-state {
  align-self: center;
  justify-self: center;
  max-width: 330px;
  padding: 50px 20px;
  text-align: center;
}

.empty-orbit {
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  margin: 0 auto 24px;
  border: 1px solid #d7e4df;
  border-radius: 50%;
}

.empty-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  color: var(--brand);
  background: white;
  box-shadow: var(--shadow-small);
}

.empty-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.empty-state h2 {
  font-family: "STSong", "Songti SC", Georgia, serif;
  font-size: 23px;
  font-weight: 600;
}

.empty-state p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.chat-content {
  display: grid;
  min-width: 0;
  min-height: 0;
  grid-template-rows: 72px minmax(0, 1fr) auto;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 21px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
}

.conversation-avatar.large {
  width: 39px;
  height: 39px;
  flex: none;
}

.chat-title {
  min-width: 0;
  flex: 1;
}

.chat-title > div {
  display: flex;
  align-items: center;
  gap: 7px;
}

.chat-title h2 {
  overflow: hidden;
  max-width: min(450px, 45vw);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-title p {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 9px;
}

.type-pill,
.session-status {
  padding: 3px 7px;
  border-radius: 5px;
  color: var(--brand);
  background: var(--brand-light);
  font-size: 8px;
  font-weight: 750;
}

.session-status.is-closed {
  color: #7b5a2c;
  background: #f5ebd9;
}

.chat-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-back {
  display: none;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
}

.message-area {
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd7d2 transparent;
}

.message-list {
  width: min(820px, 100%);
  min-height: 100%;
  margin: 0 auto;
  padding: 26px 28px 34px;
}

.date-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 24px;
  color: var(--muted-2);
  font-size: 8px;
}

.date-divider::before,
.date-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--line);
}

.message-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 18px;
}

.message-row.is-outbound {
  justify-content: flex-end;
}

.message-avatar {
  display: grid;
  width: 28px;
  height: 28px;
  flex: none;
  place-items: center;
  margin-top: 17px;
  border-radius: 50%;
  color: var(--brand-dark);
  background: var(--brand-light);
  font-size: 9px;
  font-weight: 750;
}

.message-stack {
  max-width: min(72%, 540px);
}

.message-meta {
  display: flex;
  gap: 7px;
  align-items: center;
  margin-bottom: 5px;
  color: var(--muted-2);
  font-size: 8px;
}

.message-meta strong {
  color: var(--muted);
  font-size: 9px;
  font-weight: 650;
}

.message-row.is-outbound .message-meta {
  justify-content: flex-end;
}

.message-bubble {
  padding: 10px 13px;
  border: 1px solid var(--line-soft);
  border-radius: 4px 13px 13px 13px;
  background: white;
  box-shadow: 0 4px 11px rgba(20, 42, 35, 0.04);
  font-size: 12px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.message-row.is-outbound .message-bubble {
  border-color: #94c9b9;
  border-radius: 13px 4px 13px 13px;
  color: #113e33;
  background: #dff4ec;
}

.message-status {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  align-items: center;
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 8px;
}

.message-status.is-failed {
  color: var(--danger);
}

.retry-button {
  padding: 0;
  border: 0;
  color: var(--danger);
  background: transparent;
  cursor: pointer;
  font-size: 8px;
  font-weight: 700;
}

.system-message {
  margin: 16px auto;
  color: var(--muted-2);
  font-size: 8px;
  text-align: center;
}

.composer {
  padding: 10px 20px 14px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.95);
}

.composer-meta {
  display: flex;
  justify-content: space-between;
  width: min(820px, 100%);
  margin: 0 auto 7px;
  color: var(--muted-2);
  font-size: 8px;
}

.connector-inline.is-offline {
  color: var(--warning);
}

.composer-box {
  display: grid;
  width: min(820px, 100%);
  grid-template-columns: minmax(0, 1fr) 38px;
  gap: 9px;
  align-items: end;
  margin: 0 auto;
  padding: 9px 9px 9px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  box-shadow: 0 6px 22px rgba(20, 42, 35, 0.04);
}

.composer-box:focus-within {
  border-color: #9abfb2;
  box-shadow: 0 0 0 4px rgba(13, 115, 92, 0.06);
}

.composer textarea {
  width: 100%;
  max-height: 140px;
  padding: 5px 0;
  border: 0;
  outline: 0;
  resize: none;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
  line-height: 1.6;
}

.send-button {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: white;
  background: var(--brand);
  cursor: pointer;
}

.send-button:hover {
  background: var(--brand-dark);
}

.send-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.composer-error {
  width: min(820px, 100%);
  min-height: 14px;
  margin: 5px auto 0;
}

.composer.is-disabled {
  opacity: 0.72;
}

.details-pane {
  overflow-y: auto;
  border-left: 1px solid var(--line);
}

.details-placeholder {
  padding: 27px 22px;
}

.details-placeholder h3 {
  margin-top: 6px;
  font-size: 15px;
}

.details-placeholder p:last-child {
  margin-top: 9px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.details-content {
  padding: 25px 20px;
}

.profile-card {
  text-align: center;
}

.large-avatar {
  width: 62px;
  height: 62px;
  margin: 0 auto 11px;
  font-size: 20px;
}

.profile-card h3 {
  font-size: 15px;
}

.profile-card p {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: 9px;
}

.detail-section {
  margin-top: 27px;
  padding-top: 19px;
  border-top: 1px solid var(--line-soft);
}

.detail-section h4 {
  margin-bottom: 13px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-list {
  margin: 0;
}

.detail-list div {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.detail-list dt {
  color: var(--muted-2);
  font-size: 9px;
}

.detail-list dd {
  overflow: hidden;
  margin: 0;
  color: var(--ink);
  font-size: 9px;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.connector-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: var(--canvas);
}

.connector-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b9c3bf;
}

.connector-card.is-online .connector-indicator {
  background: #1aa675;
  box-shadow: 0 0 0 4px rgba(26, 166, 117, 0.11);
}

.connector-card.is-offline .connector-indicator {
  background: #c78532;
  box-shadow: 0 0 0 4px rgba(199, 133, 50, 0.1);
}

.connector-card strong {
  display: block;
  font-size: 10px;
}

.connector-card p {
  margin-top: 3px;
  color: var(--muted-2);
  font-size: 8px;
}

.secondary-button {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  font-size: 10px;
  font-weight: 650;
}

.secondary-button:hover {
  border-color: #abc6bb;
  background: var(--brand-pale);
}

.full-width {
  width: 100%;
}

.list-empty {
  padding: 40px 20px;
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.8;
  text-align: center;
}

.toast-stack {
  position: fixed;
  z-index: 20;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 9px;
}

.toast {
  min-width: 220px;
  max-width: 360px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: 9px;
  color: var(--ink);
  background: white;
  box-shadow: var(--shadow);
  font-size: 10px;
  line-height: 1.5;
  animation: toast-in 180ms ease-out;
}

.toast.is-error {
  border-left-color: var(--danger);
}

@keyframes toast-in {
  from {
    transform: translateY(7px);
    opacity: 0;
  }
}

@media (max-width: 1180px) {
  .workspace {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .details-pane {
    display: none;
  }
}

@media (max-width: 760px) {
  .login-view {
    display: block;
    overflow-y: auto;
  }

  .login-art {
    min-height: 290px;
    padding: 40px 0;
  }

  .login-art-inner {
    width: calc(100% - 50px);
  }

  .brand-mark.large {
    display: none;
  }

  .login-art h1 {
    font-size: 36px;
  }

  .login-metrics {
    display: none;
  }

  .login-panel {
    padding: 38px 24px 50px;
  }

  .login-copy {
    margin: 38px 0 28px;
  }

  .topbar {
    grid-template-columns: 1fr auto;
    padding: 0 13px;
  }

  .topbar-center,
  .topbar-brand span,
  .agent-chip span:last-child,
  .demo-only {
    display: none;
  }

  .workspace {
    display: block;
  }

  .inbox-pane {
    width: 100%;
    height: 100%;
    border-right: 0;
  }

  .chat-pane {
    display: none;
    width: 100%;
    height: 100%;
  }

  .app-shell.show-chat .inbox-pane {
    display: none;
  }

  .app-shell.show-chat .chat-pane {
    display: grid;
  }

  .mobile-back {
    display: grid;
  }

  .chat-header {
    padding: 0 12px;
  }

  .chat-header-actions .session-status {
    display: none;
  }

  .chat-header-actions .ghost-button {
    padding: 7px 8px;
  }

  .message-list {
    padding: 18px 14px 25px;
  }

  .message-stack {
    max-width: 82%;
  }

  .composer {
    padding: 8px 10px 10px;
  }

  .composer-meta span:first-child {
    display: none;
  }

  .composer-meta {
    justify-content: flex-end;
  }
}
