:root {
  --bg: #f6fbff;
  --panel: rgba(255, 255, 255, 0.76);
  --panel-strong: #ffffff;
  --line: rgba(14, 165, 233, 0.2);
  --text: #eef8ff;
  --muted: #637588;
  --blue: #28c7ff;
  --green: #34d399;
  --amber: #f4b84a;
  --danger: #ff6b6b;
  --light-text: #102033;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 114, 119, 0.16), transparent 26%),
    radial-gradient(circle at 82% 20%, rgba(40, 199, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5fbff 52%, #edf7ff 100%);
}

body {
  overflow-x: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled,
textarea:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

a {
  text-decoration: none;
}

.screen {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 40px 20px 96px;
  isolation: isolate;
}

.screen::before {
  position: absolute;
  top: 36px;
  left: 50%;
  z-index: -2;
  width: min(740px, 94vw);
  aspect-ratio: 1;
  content: "";
  background: url("/assets/service-bg.png") center / contain no-repeat;
  opacity: 0.66;
  transform: translateX(-50%);
  filter: saturate(1.12);
}

.screen::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    radial-gradient(circle at 50% 39%, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.06) 32%, transparent 58%),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.32), rgba(246, 251, 255, 0.24));
}

.hero {
  width: min(780px, 100%);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--green);
  font-size: 14px;
  letter-spacing: 1px;
}

.eyebrow.compact {
  margin: 0 0 8px;
  font-size: 12px;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(52, 211, 153, 0.12);
}

h1 {
  margin: 0 0 16px;
  color: #111827;
  font-size: clamp(40px, 8vw, 74px);
  line-height: 1.04;
  letter-spacing: 0;
  text-shadow: 0 10px 32px rgba(15, 35, 55, 0.08);
}

.admin-head h1 {
  margin: 0;
  font-size: 26px;
}

.subtitle {
  max-width: 650px;
  margin: 0 auto 34px;
  color: var(--muted);
  font-size: clamp(16px, 2.4vw, 20px);
  line-height: 1.8;
}

.service-subtitle {
  margin-bottom: 44px;
  color: #8493a4;
  font-size: clamp(15px, 2vw, 19px);
  letter-spacing: 6px;
  text-transform: uppercase;
}

.loader-hub {
  position: relative;
  width: 82px;
  height: 82px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 46px rgba(40, 199, 255, 0.1);
  filter: drop-shadow(0 0 18px rgba(40, 199, 255, 0.12));
  backdrop-filter: blur(2px);
}

.outer-ring,
.inner-ring {
  position: absolute;
  border-radius: 50%;
}

.outer-ring {
  inset: 0;
  border: 2px solid rgba(40, 199, 255, 0.18);
  border-top-color: var(--blue);
  animation: ring-rotate 3s linear infinite;
}

.inner-ring {
  inset: 20%;
  border: 2px solid rgba(52, 211, 153, 0.16);
  border-left-color: var(--green);
  animation: ring-rotate-rev 2.2s linear infinite;
}

@keyframes ring-rotate {
  to { transform: rotate(360deg); }
}

@keyframes ring-rotate-rev {
  to { transform: rotate(-360deg); }
}

.status-text {
  margin: 0 0 24px;
  color: #51677c;
  font-size: clamp(17px, 2.4vw, 22px);
  letter-spacing: 2px;
}

.info-box {
  width: min(560px, 100%);
  margin: 0 auto 24px;
  padding: 24px 28px;
  border: 1px solid rgba(14, 165, 233, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 48px rgba(15, 35, 55, 0.1);
  backdrop-filter: blur(12px);
}

.info-box p {
  margin: 0;
  color: #435a70;
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.8;
}

.info-box p + p {
  color: var(--blue);
}

.compact-actions {
  margin-bottom: 0;
}

.compact-actions .primary {
  min-width: 122px;
  padding: 0 22px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 42px;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.primary {
  color: #03111d;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 14px 30px rgba(40, 199, 255, 0.2);
}

.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.secondary.small {
  min-height: 36px;
  padding: 0 12px;
  font-size: 13px;
}

.primary:hover,
.secondary:hover {
  transform: translateY(-1px);
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  width: min(720px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
  box-shadow: var(--shadow);
}

.metric {
  min-width: 0;
  padding: 18px 12px;
  background: rgba(8, 20, 36, 0.86);
}

.metric strong,
.metric span {
  display: block;
}

.metric strong {
  color: var(--text);
  font-size: 20px;
  line-height: 1.3;
}

.metric span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.support-launcher {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 30;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  color: #02121d;
  background: linear-gradient(135deg, var(--blue), var(--green));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35), 0 0 0 8px rgba(40, 199, 255, 0.12);
}

.support-launcher svg {
  width: 29px;
  height: 29px;
}

.support-launcher .badge {
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border: 2px solid var(--bg);
  border-radius: 999px;
  color: #06101b;
  background: var(--amber);
  font-size: 12px;
  font-weight: 800;
}

.chat-panel {
  position: fixed;
  right: 22px;
  bottom: 98px;
  z-index: 40;
  display: none;
  width: min(500px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid rgba(125, 214, 255, 0.24);
  border-radius: 8px;
  background: #f7fbff;
  color: var(--light-text);
  box-shadow: var(--shadow);
}

.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.challenge-modal {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(5, 15, 27, 0.68);
  backdrop-filter: blur(7px);
}

.challenge-modal[hidden] {
  display: none;
}

.challenge-card {
  display: grid;
  width: min(390px, 100%);
  max-height: calc(100% - 10px);
  overflow: auto;
  gap: 12px;
  padding: 24px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--light-text);
  box-shadow: var(--shadow);
}

.challenge-card strong {
  font-size: 19px;
}

.challenge-card p {
  margin: 0;
  color: #637588;
  font-size: 13px;
  line-height: 1.6;
}

.challenge-question {
  padding: 13px 14px;
  border-radius: 8px;
  color: #0a2438;
  background: #edf7fd;
  font-weight: 800;
  font-size: 18px;
  text-align: center;
}

.challenge-card input {
  height: 44px;
  padding: 0 11px;
  border: 1px solid rgba(16, 32, 51, 0.16);
  border-radius: 8px;
  outline: none;
}

.challenge-card input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(40, 199, 255, 0.16);
}

.challenge-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.secondary.light {
  min-height: 44px;
  color: #19364e;
  background: #eef5fa;
  border-color: rgba(16, 32, 51, 0.12);
}

.chat-panel.is-open {
  display: block;
}

.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  color: var(--text);
  background: linear-gradient(135deg, #0b2036, #10334d);
}

.agent {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
}

.avatar {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: #051522;
  background: linear-gradient(135deg, var(--blue), var(--green));
  font-weight: 900;
}

.agent strong,
.agent span {
  display: block;
}

.agent strong {
  overflow: hidden;
  font-size: 15px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.agent span {
  color: #aee8ff;
  font-size: 12px;
  line-height: 1.5;
}

.icon-btn {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
}

.chat-body,
.workspace-messages {
  display: flex;
  flex-direction: column;
  gap: 11px;
  overflow: auto;
}

.chat-body {
  max-height: 540px;
  min-height: 430px;
  padding: 18px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)),
    linear-gradient(135deg, rgba(40, 199, 255, 0.12), rgba(52, 211, 153, 0.12));
}

.message {
  width: fit-content;
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.message-image {
  display: block;
  width: min(220px, 100%);
  max-height: 260px;
  border-radius: 7px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.05);
}

.message.agent-msg {
  color: var(--light-text);
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(17, 34, 51, 0.08);
}

.message.user-msg {
  align-self: flex-end;
  color: #03111d;
  background: #c9f7e6;
}

.chat-form,
.agent-form {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(16, 32, 51, 0.1);
  background: #fff;
}

.attach-btn {
  display: grid;
  width: 42px;
  min-height: 42px;
  place-items: center;
  border-radius: 8px;
  color: #1b3a52;
  background: #edf5fb;
}

.attach-btn svg {
  width: 22px;
  height: 22px;
}

.chat-form textarea,
.agent-form textarea {
  width: 100%;
  min-height: 42px;
  max-height: 96px;
  resize: vertical;
  padding: 10px 11px;
  border: 1px solid rgba(16, 32, 51, 0.16);
  border-radius: 8px;
  outline: none;
}

.chat-form textarea:focus,
.agent-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(40, 199, 255, 0.16);
}

.send-btn {
  min-width: 70px;
  border-radius: 8px;
  color: #03111d;
  background: var(--green);
  font-weight: 800;
}

.admin-body {
  min-height: 100dvh;
  overflow: hidden;
  background: #edf2f7;
  color: var(--light-text);
}

.admin-shell {
  display: grid;
  grid-template-columns: clamp(300px, 24vw, 380px) minmax(0, 1fr);
  height: 100dvh;
  min-height: 0;
}

.admin-body .secondary {
  color: #1b3348;
  background: #f4f7fb;
  border-color: #d8e2ec;
}

.conversation-list {
  display: flex;
  height: 100dvh;
  min-height: 0;
  flex-direction: column;
  border-right: 1px solid #dce5ee;
  background: #f8fbfe;
  color: #172638;
}

.admin-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  border-bottom: 1px solid #dce5ee;
  background: #ffffff;
}

.admin-head h1 {
  color: #102033;
}

.header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.list {
  min-height: 0;
  padding: 12px;
  overflow: auto;
}

.conversation-item {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  border: 1px solid #dde7f0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(17, 34, 51, 0.04);
}

.conversation-item.has-unread {
  border-color: rgba(239, 68, 68, 0.45);
  box-shadow: inset 4px 0 0 #ef4444, 0 8px 22px rgba(17, 34, 51, 0.05);
}

.conversation-item.is-active {
  border-color: rgba(37, 99, 235, 0.5);
  background: #eff6ff;
}

.conversation-main {
  min-width: 0;
  padding: 12px;
  color: #172638;
  background: transparent;
  text-align: left;
}

.conversation-top {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.online-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #94a3b8;
}

.online-dot.is-online {
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.16);
}

.online-dot.is-offline {
  background: #94a3b8;
}

.conversation-top strong {
  min-width: 0;
  overflow: hidden;
  color: #0f2235;
  font-size: 14px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.unread-badge {
  display: inline-flex;
  flex: 0 0 auto;
  min-width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  border-radius: 999px;
  color: #ffffff;
  background: #ef4444;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.conversation-time,
.conversation-last {
  display: block;
  overflow: hidden;
  color: #64778a;
  font-size: 12px;
  line-height: 1.5;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-time {
  margin-top: 4px;
}

.conversation-last {
  color: #31465a;
}

.conversation-delete {
  align-self: stretch;
  min-width: 54px;
  margin: 8px 8px 8px 0;
  padding: 0 10px;
  border: 1px solid #fecdd3;
  border-radius: 8px;
  color: #dc2626;
  background: #fff1f2;
  font-size: 12px;
  font-weight: 700;
}

.conversation-delete:hover {
  background: #ffe4e6;
}

.conversation-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 4px;
}

.conversation-tags em {
  max-width: 100%;
  padding: 2px 6px;
  overflow: hidden;
  border-radius: 999px;
  color: #466176;
  background: #eef4f8;
  font-size: 11px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.conversation-tags em.blacklist-tag {
  color: #b91c1c;
  background: #fee2e2;
  font-weight: 800;
}

.agent-workspace {
  display: grid;
  min-width: 0;
  height: 100dvh;
  min-height: 0;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  background: #f4f7fb;
}

.workspace-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-bottom: 1px solid #dce5ee;
  background: #ffffff;
}

.workspace-head > div {
  min-width: 0;
}

.workspace-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.danger-action {
  border-color: #fecaca;
  color: #b91c1c;
  background: #fff1f2;
}

.danger-action:hover:not(:disabled) {
  background: #ffe4e6;
}

.danger-action.is-blocked {
  border-color: #fed7aa;
  color: #c2410c;
  background: #fff7ed;
}

.visitor-card {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-bottom: 1px solid #dce5ee;
  background: #ffffff;
}

.visitor-card[hidden] {
  display: none;
}

.visitor-card div {
  min-width: 0;
  padding: 11px 16px;
  border-right: 1px solid #edf1f5;
  background: #fff;
}

.visitor-card span,
.visitor-card strong {
  display: block;
}

.online-value.is-online {
  color: #15803d;
}

.online-value.is-offline {
  color: #64748b;
}

.visitor-card span {
  margin-bottom: 4px;
  color: #6b7c8d;
  font-size: 12px;
}

.visitor-card strong {
  overflow: hidden;
  color: #142538;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.workspace-head strong,
.workspace-head span {
  display: block;
}

.workspace-head strong {
  font-size: 17px;
}

.workspace-head span {
  margin-top: 4px;
  color: #637588;
  font-size: 13px;
}

.workspace-messages {
  min-height: 0;
  padding: 22px 26px;
  background:
    linear-gradient(rgba(246, 249, 252, 0.9), rgba(246, 249, 252, 0.9)),
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(20, 184, 166, 0.08));
}

.workspace-messages .message {
  max-width: min(680px, 72%);
}

.workspace-messages .user-msg {
  align-self: flex-start;
  color: #172638;
  background: #ffffff;
  border: 1px solid #e1e9f1;
  box-shadow: 0 8px 20px rgba(17, 34, 51, 0.06);
}

.workspace-messages .agent-msg {
  align-self: flex-end;
  color: #ffffff;
  background: #2563eb;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.18);
}

.message-text {
  display: block;
}

.message-read {
  display: block;
  margin-top: 5px;
  font-size: 12px;
  line-height: 1.3;
  text-align: right;
}

.message-read.is-unread {
  color: rgba(255, 255, 255, 0.72);
}

.message-read.is-read {
  color: #bbf7d0;
}

.agent-form {
  grid-template-columns: 44px minmax(0, 1fr) 78px;
  padding: 14px 18px;
  border-top-color: #dce5ee;
}

.empty {
  padding: 20px;
  color: #8798aa;
  text-align: center;
}

.empty.large {
  margin: auto;
  font-size: 18px;
}

.blocked-page {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #142538;
  background: #f4f7fb;
}

.blocked-card {
  width: min(420px, 100%);
  padding: 24px;
  border: 1px solid #fecaca;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(15, 34, 53, 0.12);
  text-align: center;
}

.blocked-card strong {
  display: block;
  margin-bottom: 8px;
  color: #991b1b;
  font-size: 20px;
}

.blocked-card p {
  margin: 0;
  color: #53677c;
  line-height: 1.7;
}

@media (max-width: 780px) {
  html,
  body {
    min-height: 100dvh;
  }

  .screen {
    min-height: 100dvh;
    padding: 28px 14px 94px;
  }

  .service-strip,
  .admin-shell,
  .visitor-card {
    grid-template-columns: 1fr;
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary,
  .secondary {
    width: 100%;
  }

  .compact-actions .primary {
    width: auto;
    min-width: 112px;
    align-self: center;
    padding: 0 20px;
  }

  .compact-actions {
    align-items: center;
  }

  .hero {
    align-self: start;
    padding-top: 26px;
  }

  .subtitle {
    margin-bottom: 24px;
    font-size: 15px;
    line-height: 1.7;
  }

  .service-subtitle {
    margin-bottom: 34px;
    letter-spacing: 4px;
  }

  .loader-hub {
    width: 68px;
    height: 68px;
    margin-bottom: 20px;
  }

  .status-text {
    margin-bottom: 18px;
    font-size: 17px;
  }

  .info-box {
    margin-bottom: 20px;
    padding: 18px 16px;
  }

  .actions {
    margin-bottom: 28px;
  }

  .support-launcher {
    right: 16px;
    bottom: 16px;
    width: 58px;
    height: 58px;
  }

  .chat-panel {
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    width: auto;
    height: calc(100dvh - 20px - env(safe-area-inset-bottom));
    max-height: calc(100dvh - 20px);
  }

  .chat-panel.is-open {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
  }

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

  .chat-body {
    min-height: 0;
    max-height: none;
    padding: 14px;
    overscroll-behavior: contain;
  }

  .message {
    max-width: 92%;
    font-size: 13px;
  }

  .message-image {
    width: min(240px, 100%);
    max-height: 230px;
  }

  .chat-form {
    grid-template-columns: 40px minmax(0, 1fr) 64px;
    gap: 7px;
    padding: 10px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }

  .chat-form textarea {
    min-height: 40px;
    max-height: 84px;
    padding: 9px 10px;
  }

  .attach-btn {
    width: 40px;
    min-height: 40px;
  }

  .send-btn {
    min-width: 64px;
  }

  .challenge-modal {
    padding: 14px;
  }

  .challenge-card {
    width: 100%;
    max-width: 380px;
    align-self: center;
  }

  .conversation-list {
    height: auto;
    min-height: 42vh;
    max-height: 45dvh;
    border-right: 0;
    border-bottom: 1px solid #dce5ee;
  }

  .admin-body {
    overflow: auto;
  }

  .admin-shell {
    height: auto;
    min-height: 100dvh;
  }

  .admin-body .secondary {
    width: auto;
  }

  .admin-head {
    padding: 14px;
  }

  .conversation-item {
    grid-template-columns: minmax(0, 1fr) 52px;
  }

  .agent-workspace {
    height: auto;
    min-height: 55dvh;
    grid-template-rows: auto auto minmax(360px, 1fr) auto;
  }

  .workspace-head {
    align-items: flex-start;
    padding: 14px;
  }

  .workspace-actions {
    justify-content: flex-start;
  }

  .workspace-messages {
    padding: 14px;
  }

  .workspace-messages .message {
    max-width: 88%;
  }

  .agent-form {
    grid-template-columns: 40px minmax(0, 1fr) 64px;
    gap: 7px;
    padding: 10px;
    padding-bottom: max(10px, env(safe-area-inset-bottom));
  }
}
