:root {
  --ink: #15201d;
  --muted: #68736f;
  --line: #e3e8e5;
  --paper: #f4f6f3;
  --surface: #ffffff;
  --forest: #173d32;
  --forest-2: #245d4d;
  --lime: #c9f36a;
  --lime-soft: #edfad0;
  --danger: #b04444;
  --danger-soft: #fff0ef;
  --shadow: 0 18px 45px rgba(23, 61, 50, .08);
  --radius: 20px;
}

* { box-sizing: border-box; }

html { color-scheme: light; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select { font: inherit; }
button { color: inherit; }
.hidden { display: none !important; }

.eyebrow {
  margin: 0 0 8px;
  color: var(--forest-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #61c792;
  box-shadow: 0 0 0 4px rgba(97, 199, 146, .14);
}

/* Login */
.login-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 15%, rgba(201, 243, 106, .18), transparent 28%),
    var(--forest);
}

.login-shell {
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  margin: auto;
  display: grid;
  grid-template-columns: 1.05fr .85fr;
  gap: 9vw;
  align-items: center;
}

.login-brand { color: #fff; }
.login-brand .eyebrow { color: var(--lime); }

.brand-mark {
  width: 52px;
  height: 52px;
  display: flex;
  gap: 5px;
  align-items: flex-end;
  justify-content: center;
  padding: 12px;
  margin-bottom: 42px;
  border-radius: 16px;
  color: var(--forest);
  background: var(--lime);
}

.brand-mark span {
  width: 6px;
  border-radius: 4px;
  background: currentColor;
}
.brand-mark span:nth-child(1) { height: 14px; opacity: .65; }
.brand-mark span:nth-child(2) { height: 27px; }
.brand-mark span:nth-child(3) { height: 20px; opacity: .8; }

.login-brand h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(46px, 6vw, 78px);
  line-height: .98;
  letter-spacing: -.055em;
}

.login-lead {
  max-width: 510px;
  margin: 28px 0 42px;
  color: rgba(255,255,255,.67);
  font-size: 18px;
  line-height: 1.6;
}

.login-signal {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}

.login-card {
  width: min(440px, 100%);
  justify-self: end;
  padding: 46px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(2, 20, 15, .28);
}

.login-card-head { margin-bottom: 30px; }
.login-card h2 { margin: 0 0 10px; font-size: 30px; letter-spacing: -.035em; }
.login-card-head p { margin: 0; color: var(--muted); }
.mobile-brand { display: none; }

.login-card label {
  display: block;
  margin: 18px 0 8px;
  font-size: 13px;
  font-weight: 700;
}

.login-card input,
.dialog-filters input,
.dialog-filters select,
.tenant-picker select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  background: #fafbfa;
  transition: border .2s, box-shadow .2s, background .2s;
}

.login-card input { padding: 0 14px; }
.login-card input:focus,
.dialog-filters input:focus,
.dialog-filters select:focus,
.tenant-picker select:focus {
  border-color: var(--forest-2);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(36, 93, 77, .1);
}

.password-field { position: relative; }
.password-field input { padding-right: 90px; }
.show-password {
  position: absolute;
  right: 11px;
  top: 50%;
  border: 0;
  color: var(--forest-2);
  background: transparent;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.primary-button {
  min-height: 52px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--forest);
  cursor: pointer;
  transition: transform .18s, background .18s;
}
.primary-button:hover { background: var(--forest-2); transform: translateY(-1px); }
.primary-button:disabled { opacity: .58; cursor: wait; transform: none; }
.login-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding: 0 18px;
  font-weight: 800;
}
.form-error { min-height: 20px; margin: 12px 0 0; color: var(--danger); font-size: 13px; }
.login-footnote { margin: 24px 0 0; color: #89928f; font-size: 12px; line-height: 1.5; }

/* App shell */
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 230px minmax(0, 1fr); }
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 28px 18px 20px;
  color: #fff;
  background: var(--forest);
}

.sidebar-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 0 10px 30px;
}
.brand-mark.compact { width: 38px; height: 38px; margin: 0; padding: 9px; border-radius: 11px; }
.brand-mark.compact span { width: 4px; }
.brand-mark.compact span:nth-child(1) { height: 10px; }
.brand-mark.compact span:nth-child(2) { height: 20px; }
.brand-mark.compact span:nth-child(3) { height: 15px; }
.sidebar-brand strong, .sidebar-brand small { display: block; }
.sidebar-brand strong { font-size: 17px; }
.sidebar-brand small { margin-top: 2px; color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

.main-nav { display: grid; gap: 6px; }
.nav-item {
  width: 100%;
  display: flex;
  gap: 13px;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  color: rgba(255,255,255,.62);
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.nav-item:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-item.active { color: var(--forest); background: var(--lime); font-weight: 800; }
.nav-icon { width: 18px; font-size: 18px; text-align: center; }

.sidebar-bottom { margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.owner-mini { display: flex; gap: 10px; align-items: center; padding: 0 8px 16px; }
.owner-avatar {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--forest);
  background: var(--lime);
  font-size: 13px;
  font-weight: 900;
}
.owner-copy { min-width: 0; }
.owner-copy strong, .owner-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.owner-copy strong { font-size: 12px; }
.owner-copy small { margin-top: 3px; color: rgba(255,255,255,.48); font-size: 10px; }
.logout-button {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  color: rgba(255,255,255,.68);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}
.logout-button:hover { color: #fff; background: rgba(255,255,255,.06); }

.main-content { min-width: 0; padding: 32px 42px 54px; }
.topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 34px; }
.topbar h1 { margin: 0; font-size: 29px; letter-spacing: -.035em; }
.topbar-actions { display: flex; gap: 16px; align-items: center; }
.tenant-picker { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; }
.tenant-picker select { width: auto; min-width: 155px; min-height: 40px; padding: 0 34px 0 12px; color: var(--ink); font-weight: 700; }
.live-pill { display: flex; gap: 9px; align-items: center; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; }
.mobile-menu { display: none; }

.summary-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.summary-card {
  min-height: 156px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 3px 14px rgba(23, 61, 50, .025);
}
.summary-card p { margin: 0 0 22px; color: var(--muted); font-size: 13px; font-weight: 700; }
.summary-card strong { display: block; margin-bottom: 5px; font-size: 38px; letter-spacing: -.05em; }
.summary-card span { color: #8a9490; font-size: 11px; }
.summary-card.accent-card { color: #fff; border-color: var(--forest); background: var(--forest); }
.summary-card.accent-card p, .summary-card.accent-card span { color: rgba(255,255,255,.58); }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin: 38px 0 16px; }
.section-heading h2, .section-intro h2, .dialogs-toolbar h2 { margin: 0; font-size: 24px; letter-spacing: -.035em; }
.text-button {
  border: 0;
  color: var(--forest-2);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
}
.text-button span { margin-left: 5px; }

.agent-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.agent-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 3px 14px rgba(23, 61, 50, .025);
}
.agent-top { display: flex; align-items: center; justify-content: space-between; }
.channel-mark {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border-radius: 12px;
  color: #fff;
  background: #4d78aa;
  font-size: 11px;
  font-weight: 900;
}
.channel-mark.whatsapp { background: #3da86d; }
.channel-mark.max { color: #282a31; background: #d3d5e8; }
.agent-status { display: flex; gap: 7px; align-items: center; color: var(--muted); font-size: 11px; font-weight: 700; }
.agent-status span { width: 7px; height: 7px; border-radius: 50%; background: #a7afac; }
.agent-status.online span { background: #61c792; box-shadow: 0 0 0 4px rgba(97,199,146,.12); }
.agent-card h3 { margin: 20px 0 5px; font-size: 18px; }
.agent-card > p { min-height: 32px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.agent-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.agent-stats div { padding: 12px; border-radius: 12px; background: var(--paper); }
.agent-stats strong, .agent-stats span { display: block; }
.agent-stats strong { font-size: 18px; }
.agent-stats span { margin-top: 3px; color: var(--muted); font-size: 9px; }
.agent-dialogs-button {
  width: 100%;
  min-height: 39px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}
.agent-dialogs-button:hover { border-color: var(--forest-2); color: var(--forest-2); }
.empty-card { grid-column: 1 / -1; padding: 36px; border: 1px dashed #cad2ce; border-radius: var(--radius); text-align: center; }
.empty-card h3 { margin: 0 0 6px; }
.empty-card p { margin: 0; color: var(--muted); }

.conversation-preview, .panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.conversation-item {
  width: 100%;
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 15px 17px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  text-align: left;
}
.conversation-item:last-child { border-bottom: 0; }
.conversation-item:hover, .conversation-item.selected { background: #f7faf7; }
.conversation-item.selected { box-shadow: inset 3px 0 var(--forest-2); }
.conversation-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  color: var(--forest);
  background: var(--lime-soft);
  font-size: 12px;
  font-weight: 900;
}
.conversation-avatar.large { width: 44px; height: 44px; font-size: 14px; }
.conversation-copy { min-width: 0; flex: 1; }
.conversation-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.conversation-title strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.conversation-title time { flex: 0 0 auto; color: #929b98; font-size: 9px; }
.conversation-meta { display: flex; gap: 5px; align-items: center; margin: 4px 0; color: var(--muted); font-size: 9px; }
.conversation-snippet { display: block; overflow: hidden; color: #7e8884; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.blocked-badge { padding: 2px 6px; border-radius: 999px; color: var(--danger); background: var(--danger-soft); font-size: 8px; font-weight: 800; }

.section-intro { display: flex; justify-content: space-between; margin: 4px 0 24px; }
.section-intro p:not(.eyebrow) { max-width: 580px; margin: 10px 0 0; color: var(--muted); line-height: 1.6; }
.agent-grid.expanded { grid-template-columns: repeat(3, minmax(240px, 1fr)); }

.dialogs-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin: 4px 0 20px; }
.dialog-filters { display: grid; grid-template-columns: minmax(220px, 1fr) 170px; gap: 10px; }
.dialog-filters input, .dialog-filters select { min-height: 42px; padding: 0 12px; background: #fff; font-size: 11px; }
.dialogs-layout { min-height: calc(100vh - 175px); display: grid; grid-template-columns: minmax(290px, .7fr) minmax(420px, 1.3fr); gap: 14px; }
.conversation-list { max-height: calc(100vh - 175px); overflow-y: auto; }
.conversation-detail { min-height: 560px; display: flex; flex-direction: column; }
.empty-detail, .list-empty, .detail-loading { margin: auto; padding: 38px; color: var(--muted); text-align: center; }
.empty-detail h3, .list-empty strong { display: block; margin: 14px 0 5px; color: var(--ink); }
.empty-detail p, .list-empty span { margin: 0; font-size: 12px; }
.empty-glyph { font-size: 30px; opacity: .45; }
.detail-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 17px 20px; border-bottom: 1px solid var(--line); }
.detail-client { min-width: 0; display: flex; gap: 11px; align-items: center; }
.detail-client h3 { margin: 0 0 4px; font-size: 14px; }
.detail-client p { margin: 0; color: var(--muted); font-size: 10px; }
.block-button { min-height: 36px; padding: 0 12px; border: 1px solid #efc2bf; border-radius: 9px; color: var(--danger); background: var(--danger-soft); cursor: pointer; font-size: 10px; font-weight: 800; }
.block-button.unblock { color: var(--forest-2); border-color: #b8d6ca; background: #edf8f3; }
.block-button:disabled { opacity: .4; cursor: not-allowed; }
.block-notice { display: flex; gap: 8px; align-items: center; padding: 10px 20px; color: #813838; background: var(--danger-soft); font-size: 10px; }
.block-notice span { color: #a05c5c; }
.message-history { flex: 1; overflow-y: auto; padding: 23px; background: #f8faf8; }
.message-row { display: flex; margin-bottom: 12px; }
.message-row.outgoing { justify-content: flex-end; }
.message-bubble { max-width: min(76%, 540px); padding: 10px 12px 8px; border: 1px solid var(--line); border-radius: 14px 14px 14px 4px; background: #fff; box-shadow: 0 3px 10px rgba(23,61,50,.03); }
.message-row.outgoing .message-bubble { color: #fff; border-color: var(--forest); border-radius: 14px 14px 4px 14px; background: var(--forest); }
.message-author { display: block; margin-bottom: 5px; color: var(--forest-2); font-size: 8px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.message-row.outgoing .message-author { color: var(--lime); }
.message-bubble p { margin: 0; font-size: 12px; line-height: 1.5; }
.message-bubble time { display: block; margin-top: 5px; color: #9aa29f; font-size: 8px; text-align: right; }
.message-row.outgoing .message-bubble time { color: rgba(255,255,255,.45); }

.operators-intro { margin-bottom: 24px; }
.operator-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(310px, .65fr); gap: 16px; align-items: start; }
.operator-list { display: grid; gap: 10px; }
.operator-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.operator-card.disabled { opacity: .65; }
.operator-avatar {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 14px;
  color: #fff;
  background: var(--forest-2);
  font-weight: 900;
}
.operator-info { min-width: 0; flex: 1; }
.operator-name-line { display: flex; gap: 12px; align-items: center; }
.operator-name-line h3 { margin: 0; font-size: 14px; }
.operator-info > p { margin: 5px 0 9px; color: var(--muted); font-size: 10px; }
.operator-stats { display: flex; gap: 16px; color: var(--muted); font-size: 9px; }
.operator-stats strong { color: var(--ink); }
.operator-toggle {
  min-height: 34px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  cursor: pointer;
  font-size: 9px;
  font-weight: 800;
}
.operator-form { padding: 24px; }
.operator-form h3 { margin: 0 0 20px; font-size: 18px; }
.operator-form label { display: flex; justify-content: space-between; margin: 13px 0 7px; font-size: 11px; font-weight: 800; }
.operator-form label span { color: var(--muted); font-size: 9px; font-weight: 500; }
.operator-form input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  outline: 0;
  background: #fafbfa;
  font-size: 11px;
}
.operator-form input:focus { border-color: var(--forest-2); box-shadow: 0 0 0 4px rgba(36,93,77,.1); }
.field-hint { margin: 7px 0 0; color: var(--muted); font-size: 9px; line-height: 1.45; }
.operator-submit { width: 100%; margin-top: 8px; font-size: 11px; font-weight: 800; }
.handoff-explainer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}
.handoff-explainer div { display: flex; gap: 12px; padding: 16px; border-radius: 14px; background: var(--lime-soft); }
.handoff-explainer strong { width: 24px; height: 24px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; color: #fff; background: var(--forest); font-size: 10px; }
.handoff-explainer span { color: #40524c; font-size: 10px; line-height: 1.5; }

.handoff-queue {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.handoff-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(26, 48, 39, .04);
}
.handoff-card.overdue { border-color: #e7b7ae; background: #fffafa; }
.handoff-card-status, .handoff-card-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.handoff-card-status { margin-bottom: 16px; color: var(--muted); font-size: 10px; }
.handoff-card-status span {
  padding: 5px 8px;
  border-radius: 999px;
  color: #865b13;
  background: #fff3d6;
}
.handoff-card.assigned .handoff-card-status span { color: #285f40; background: #e8f6ec; }
.handoff-card.resolved .handoff-card-status span { color: #5e6964; background: #edf0ee; }
.handoff-card.overdue .handoff-card-status span { color: #9b352c; background: #fee8e5; }
.handoff-card-main { justify-content: flex-start; }
.handoff-card-main h3 { margin: 0 0 3px; font-size: 15px; }
.handoff-card-main p, .handoff-card-copy p { margin: 0; color: var(--muted); font-size: 10px; }
.handoff-card-main .subtle-action { margin-left: auto; }
.subtle-action {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #31473e;
  background: #fff;
  font-size: 10px;
  cursor: pointer;
}
.handoff-card-copy { margin-top: 16px; padding-top: 14px; border-top: 1px solid #edf0ee; }
.handoff-card-copy strong { display: block; margin-bottom: 5px; font-size: 11px; }

.toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 100;
  padding: 13px 17px;
  border-radius: 12px;
  color: #fff;
  background: var(--forest);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: .2s ease;
  font-size: 12px;
  font-weight: 700;
}
.toast.visible { opacity: 1; transform: translateY(0); }
.toast.error { background: var(--danger); }

@media (max-width: 1050px) {
  .agent-grid, .agent-grid.expanded { grid-template-columns: repeat(2, 1fr); }
  .dialogs-layout { grid-template-columns: 320px minmax(390px, 1fr); }
  .summary-grid { grid-template-columns: repeat(3, 1fr); }
  .main-content { padding: 28px; }
}

@media (max-width: 800px) {
  .login-shell { width: min(460px, calc(100% - 32px)); grid-template-columns: 1fr; gap: 0; padding: 34px 0; }
  .login-brand { display: none; }
  .login-card { justify-self: center; padding: 34px 26px; }
  .mobile-brand { display: block; margin: 0 0 24px !important; color: var(--forest-2) !important; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }

  .app-shell { display: block; }
  .sidebar {
    position: fixed;
    z-index: 50;
    left: 0;
    transform: translateX(-105%);
    width: 230px;
    transition: transform .22s ease;
    box-shadow: 20px 0 60px rgba(0,0,0,.18);
  }
  .sidebar.mobile-open { transform: translateX(0); }
  .main-content { padding: 22px 18px 40px; }
  .mobile-menu { width: 40px; height: 40px; display: block; margin-right: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; }
  .topbar { align-items: center; }
  .topbar > div:nth-child(2) { margin-right: auto; }
  .topbar h1 { font-size: 21px; }
  .live-pill { display: none; }
  .tenant-picker span { display: none; }
  .tenant-picker select { min-width: 120px; max-width: 150px; }
  .dialogs-toolbar { align-items: stretch; flex-direction: column; }
  .dialog-filters { grid-template-columns: 1fr 1fr; }
  .dialogs-layout { min-height: 0; grid-template-columns: 1fr; }
  .conversation-list { max-height: 390px; }
  .conversation-detail { min-height: 520px; }
  .operator-layout { grid-template-columns: 1fr; }
  .handoff-explainer { grid-template-columns: 1fr; }
  .handoff-queue { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
  .summary-grid, .agent-grid, .agent-grid.expanded { grid-template-columns: 1fr; }
  .summary-card { min-height: 136px; }
  .topbar-actions { max-width: 130px; }
  .tenant-picker { width: 100%; }
  .tenant-picker select { width: 100%; min-width: 0; }
  .dialog-filters { grid-template-columns: 1fr; }
  .message-bubble { max-width: 88%; }
  .section-heading { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
