:root {
  --bg: #0b0d12;
  --bg-soft: #11141b;
  --panel: #151922;
  --panel-2: #1b202b;
  --panel-3: #232938;
  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.13);
  --text: #e9ecf5;
  --muted: #8b93a7;
  --muted-2: #6b7385;
  --accent: #6c7bff;
  --accent-2: #8b5cf6;
  --accent-soft: rgba(108, 123, 255, 0.14);
  --green: #39d98a;
  --red: #ff6b81;
  --amber: #f5b84b;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font: 14px/1.45 var(--font);
  background:
    radial-gradient(1100px 650px at 12% -10%, #1b2450 0%, transparent 55%),
    radial-gradient(900px 600px at 100% 0%, #2a1747 0%, transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(108, 123, 255, 0.65);
  outline-offset: 2px;
}

.hidden {
  display: none !important;
}

.muted {
  color: var(--muted);
}

.app {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.app.hidden {
  display: none;
}

/* ---------- system auth ---------- */

.auth-screen {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(900px 550px at 20% 0%, #1b2450 0%, transparent 55%),
    radial-gradient(700px 500px at 100% 100%, #2a1747 0%, transparent 55%),
    var(--bg);
}

.auth-screen.hidden {
  display: none;
}

.auth-card {
  width: min(420px, 92vw);
  padding: 24px;
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  background: rgba(21, 25, 34, 0.92);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.auth-brand {
  margin-bottom: 18px;
}

.auth-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.auth-tabs .tab {
  flex: 1;
}

.auth-form .field {
  margin-bottom: 12px;
}

.auth-submit {
  width: 100%;
  margin-top: 6px;
  padding: 11px 14px;
}

.auth-step-title {
  margin: 0 0 6px;
  font-size: 18px;
}

.auth-step-text {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.auth-step-text strong {
  color: var(--text);
}

.auth-row {
  justify-content: space-between;
  margin-top: 8px;
}

.auth-error {
  margin-bottom: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 107, 129, 0.35);
  border-radius: 8px;
  background: rgba(255, 107, 129, 0.08);
  color: var(--red);
  font-size: 12px;
}

.account-select {
  max-width: 220px;
  height: 34px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  background: var(--panel);
  color: var(--text);
  font-size: 12px;
}

.account-select:focus {
  border-color: rgba(108, 123, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(108, 123, 255, 0.12);
}

/* ---------- top bar ---------- */

.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 60px;
  flex: 0 0 60px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 16, 23, 0.78);
  backdrop-filter: blur(16px);
  z-index: 20;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 6px 18px rgba(108, 123, 255, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 14px;
  letter-spacing: 0.2px;
}

.brand-text span {
  color: var(--muted-2);
  font-size: 11px;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  min-width: 0;
}

.account {
  max-width: 230px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.pill .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted-2);
}

.pill.ok {
  color: var(--green);
  border-color: rgba(57, 217, 138, 0.28);
}

.pill.ok .dot {
  background: var(--green);
  box-shadow: 0 0 9px rgba(57, 217, 138, 0.75);
}

.pill.bad {
  color: var(--red);
  border-color: rgba(255, 107, 129, 0.28);
}

.pill.bad .dot {
  background: var(--red);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  color: var(--muted);
  font-size: 15px;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.icon-btn:hover {
  background: var(--panel-2);
  color: var(--text);
  border-color: var(--border-strong);
}

.icon-btn.spinning {
  animation: spin 0.8s linear infinite;
}

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

/* ---------- layout ---------- */

.layout {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr) 366px;
  flex: 1;
  min-height: 0;
}

/* ---------- sidebar ---------- */

.sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-right: 1px solid var(--border);
  background: rgba(17, 20, 27, 0.58);
}

.sidebar-head {
  display: flex;
  gap: 8px;
  padding: 12px;
}

.search {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 7px;
  min-width: 0;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.search:focus-within {
  border-color: rgba(108, 123, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(108, 123, 255, 0.12);
}

.search-icon {
  color: var(--muted-2);
  font-size: 17px;
  line-height: 1;
}

.search input {
  flex: 1;
  min-width: 0;
  padding: 9px 0;
  border: 0;
  outline: none;
  background: transparent;
}

.search input::placeholder {
  color: var(--muted-2);
}

.chat-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 8px 8px;
}

.chat-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: transparent;
  color: inherit;
  text-align: left;
  transition: background 0.15s, border-color 0.15s;
}

.chat-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.chat-item.active {
  border-color: rgba(108, 123, 255, 0.35);
  background: linear-gradient(135deg, rgba(108, 123, 255, 0.18), rgba(139, 92, 246, 0.1));
}

.avatar {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.avatar-lg {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  font-size: 14px;
}

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

.chat-name {
  overflow: hidden;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.chat-last {
  overflow: hidden;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.chat-badge {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.sidebar-foot {
  padding: 8px 14px 12px;
  border-top: 1px solid var(--border);
  font-size: 11px;
}

/* ---------- chat ---------- */

.chat {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  background: linear-gradient(180deg, rgba(15, 18, 26, 0.25), rgba(15, 18, 26, 0.72));
}

.chat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 68px;
  flex: 0 0 68px;
  padding: 0 18px;
  border-bottom: 1px solid var(--border);
}

.chat-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.chat-title-text {
  min-width: 0;
}

.chat-head h1 {
  overflow: hidden;
  margin: 0;
  font-size: 16px;
  font-weight: 650;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.chat-head .muted {
  margin-top: 2px;
  font-size: 11.5px;
}

.messages {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  overflow-y: auto;
  padding: 18px 20px 10px;
  scroll-behavior: smooth;
}

.msg {
  align-self: flex-start;
  max-width: min(680px, 78%);
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--panel);
}

.msg.outgoing {
  align-self: flex-end;
  border-color: rgba(108, 123, 255, 0.28);
  background: linear-gradient(135deg, rgba(108, 123, 255, 0.22), rgba(139, 92, 246, 0.18));
}

.msg-meta {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10.5px;
}

.msg-meta strong {
  color: var(--muted);
  font-weight: 600;
}

.msg-text {
  overflow-wrap: anywhere;
  font-size: 13.5px;
  white-space: pre-wrap;
}

.msg-attach {
  margin-top: 5px;
  color: var(--muted);
  font-size: 11.5px;
}

.date-sep {
  align-self: center;
  margin: 6px 0;
  padding: 3px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 10.5px;
}

.composer {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  padding: 14px 18px 18px;
  border-top: 1px solid var(--border);
}

.composer textarea {
  flex: 1;
  min-height: 44px;
  max-height: 160px;
  padding: 11px 13px;
  resize: none;
  border: 1px solid var(--border);
  border-radius: 12px;
  outline: none;
  background: var(--panel);
  line-height: 1.4;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.composer textarea:focus {
  border-color: rgba(108, 123, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(108, 123, 255, 0.12);
}

.composer textarea:disabled {
  opacity: 0.55;
}

.send-btn {
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 650;
  box-shadow: 0 8px 20px rgba(108, 123, 255, 0.28);
  transition: filter 0.15s, transform 0.1s, opacity 0.15s;
}

.send-btn:hover:not(:disabled) {
  filter: brightness(1.08);
}

.send-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.send-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

/* ---------- tools ---------- */

.tools {
  display: flex;
  flex-direction: column;
  min-height: 0;
  border-left: 1px solid var(--border);
  background: rgba(17, 20, 27, 0.72);
}

.tools-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
}

.tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.tab {
  padding: 7px 12px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--muted);
  font-size: 12.5px;
  transition: background 0.15s, color 0.15s;
}

.tab:hover {
  color: var(--text);
}

.tab.active {
  background: var(--panel-2);
  color: var(--text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}

.panels {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.panel {
  display: none;
  height: 100%;
  overflow-y: auto;
  padding: 16px;
}

.panel.active {
  display: block;
}

.panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.panel-head h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
}

.panel-head p {
  margin: 3px 0 0;
  font-size: 11.5px;
}

.subhead {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.divider {
  height: 1px;
  margin: 16px 0;
  background: var(--border);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.field > span {
  color: var(--muted);
  font-size: 11.5px;
}

.field > span small {
  color: var(--muted-2);
}

.input,
.panel textarea,
.code {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  background: var(--panel);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.panel textarea {
  resize: vertical;
}

.code {
  min-height: 230px;
  resize: vertical;
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.5;
}

.code.small {
  min-height: 110px;
}

.input:focus,
.panel textarea:focus,
.code:focus {
  border-color: rgba(108, 123, 255, 0.5);
  box-shadow: 0 0 0 3px rgba(108, 123, 255, 0.12);
}

.btn {
  padding: 8px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: var(--panel-2);
  color: var(--text);
  font-size: 12.5px;
  font-weight: 500;
  transition: background 0.15s, border-color 0.15s, opacity 0.15s;
}

.btn:hover:not(:disabled) {
  background: var(--panel-3);
}

.btn.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 650;
}

.btn.primary:hover:not(:disabled) {
  filter: brightness(1.08);
}

.btn.danger {
  border-color: rgba(255, 107, 129, 0.32);
  color: var(--red);
}

.btn.ghost {
  background: transparent;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn.small {
  padding: 6px 10px;
  font-size: 12px;
}

.login-dialog {
  width: min(440px, 92vw);
}

.login-body {
  padding: 20px;
}

.login-qr-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: 280px;
  height: 280px;
  max-width: 100%;
  margin: 14px auto;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
}

.login-qr-wrap img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.login-qr-wrap img.ready {
  display: block;
}

.login-placeholder {
  position: absolute;
  color: #6b7385;
  font-size: 13px;
}

.login-status {
  min-height: 20px;
  margin: 6px 0 14px;
  text-align: center;
  font-size: 12.5px;
}

.login-status.error {
  color: var(--red);
}

.login-status.ok {
  color: var(--green);
}

.hint {
  margin: 12px 0 0;
  color: var(--muted-2);
  font-size: 11.5px;
  text-align: center;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.row.nowrap {
  flex-wrap: nowrap;
}

.row.end {
  justify-content: flex-end;
}

.row.nowrap .input {
  min-width: 0;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 8px 0;
  color: var(--muted);
  font-size: 12.5px;
}

.check input {
  margin-top: 2px;
  accent-color: var(--accent);
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex: 0 0 auto;
}

.switch input {
  width: 0;
  height: 0;
  opacity: 0;
}

.slider {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #2a3040;
  transition: 0.2s;
}

.slider::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: 0.2s;
}

.switch input:checked + .slider {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.switch input:checked + .slider::before {
  transform: translateX(20px);
}

.progress {
  margin-top: 14px;
}

.bar {
  height: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
}

.bar span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.25s ease;
}

#bulk-status {
  margin-top: 7px;
  font-size: 11.5px;
}

.result {
  max-height: 220px;
  margin-top: 12px;
  padding: 10px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #0d1017;
  font-family: var(--mono);
  font-size: 11px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.event-log {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.log-item {
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  font-size: 12px;
}

.log-time {
  color: var(--muted-2);
  font-size: 10.5px;
}

.log-type {
  color: var(--accent);
  font-weight: 650;
}

.log-body {
  margin-top: 3px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

/* ---------- empty / dialog / toast ---------- */

.empty {
  padding: 18px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.empty.small {
  padding: 14px 8px;
  font-size: 12px;
}

.empty-state {
  max-width: 330px;
  margin: auto;
  padding: 30px 10px;
  color: var(--muted);
  text-align: center;
}

.empty-icon {
  margin-bottom: 8px;
  font-size: 38px;
}

.empty-state h2 {
  margin: 0 0 5px;
  color: var(--text);
  font-size: 16px;
}

.empty-state p {
  margin: 0;
  font-size: 12.5px;
}

.empty-state .btn {
  margin-top: 14px;
}

.backdrop {
  position: fixed;
  inset: 60px 0 0;
  z-index: 39;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.toasts {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  max-width: 380px;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #1b2130;
  box-shadow: var(--shadow);
  font-size: 12.5px;
  animation: slide-in 0.18s ease;
}

.toast.error {
  border-color: rgba(255, 107, 129, 0.45);
}

.toast.ok {
  border-color: rgba(57, 217, 138, 0.45);
}

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

.dialog {
  width: min(420px, 92vw);
  padding: 0;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: var(--panel);
  color: var(--text);
  box-shadow: var(--shadow);
}

.dialog::backdrop {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
}

.dialog form {
  padding: 20px;
}

.dialog h2 {
  margin: 0 0 6px;
  font-size: 18px;
}

.dialog p {
  margin: 0 0 14px;
  font-size: 12.5px;
}

.dialog .input {
  margin-bottom: 14px;
}

/* ---------- scrollbars ---------- */

* {
  scrollbar-width: thin;
  scrollbar-color: #2a3142 transparent;
}

*::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

*::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 999px;
  background: #2a3142;
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
  background: #38415a;
  background-clip: padding-box;
}

/* ---------- responsive ---------- */

.tools-toggle,
#toggle-chats,
#close-tools {
  display: none;
}

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

  .tools {
    position: fixed;
    top: 60px;
    right: 0;
    bottom: 0;
    z-index: 42;
    width: min(380px, 92vw);
    transform: translateX(105%);
    transition: transform 0.25s ease;
    box-shadow: var(--shadow);
  }

  .tools.open {
    transform: none;
  }

  .tools-toggle,
  #close-tools {
    display: inline-flex;
  }
}

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

  .sidebar {
    position: fixed;
    top: 60px;
    bottom: 0;
    left: 0;
    z-index: 43;
    width: min(320px, 90vw);
    transform: translateX(-105%);
    background: #11141b;
    transition: transform 0.25s ease;
    box-shadow: var(--shadow);
  }

  .sidebar.open {
    transform: none;
  }

  #toggle-chats {
    display: inline-flex;
  }

  .account {
    display: none;
  }

  .account-select {
    max-width: 132px;
  }

  .chat-head {
    height: 62px;
    flex-basis: 62px;
    padding: 0 12px;
  }

  .messages {
    padding: 14px 12px 8px;
  }

  .composer {
    padding: 10px 12px 14px;
  }

  .msg {
    max-width: 88%;
  }

  .brand-text span {
    display: none;
  }
}
