:root {
  color-scheme: light;
  --bg: #eef6fb;
  --panel: #ffffff;
  --panel-soft: #f7fbff;
  --panel-tint: #eff7ff;
  --line: #d8e4ee;
  --line-strong: #bdd2e4;
  --ink: #061734;
  --text: #15233a;
  --muted: #65748a;
  --blue: #004f8f;
  --blue-strong: #003f78;
  --blue-soft: #e9f4ff;
  --blue-soft-2: #f3f9ff;
  --green: #31b879;
  --amber: #a76200;
  --red: #b42318;
  --radius: 8px;
  --shadow: 0 24px 60px rgba(28, 54, 78, 0.16);
  --shadow-soft: 0 12px 28px rgba(28, 54, 78, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 255, 255, 0.95) 0 18%, transparent 46%),
    linear-gradient(135deg, #f7fbff 0%, #eaf4fb 48%, #e4f0f8 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  letter-spacing: 0;
}

button,
textarea,
input {
  font: inherit;
}

button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

a {
  color: inherit;
}

i[data-lucide] {
  width: 22px;
  height: 22px;
  display: inline-flex;
  flex: 0 0 auto;
  stroke-width: 1.9;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.support-shell {
  width: min(100% - 28px, 1435px);
  height: calc(100dvh - 28px);
  min-height: min(560px, calc(100dvh - 28px));
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 14px auto;
  overflow: hidden;
  border: 1px solid rgba(204, 222, 236, 0.9);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.support-sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 252, 255, 0.94));
  padding: 30px 22px;
}

.sidebar-header,
.support-topbar,
.title-row,
.brand-lockup,
.warranty-card,
.human-card,
.guide-link,
.quick-help button,
.composer-card,
.toggle-control {
  display: flex;
  align-items: center;
}

.sidebar-header {
  justify-content: space-between;
  gap: 14px;
}

.brand-lockup {
  min-width: 0;
  gap: 10px;
  color: var(--ink);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 38px;
  color: var(--blue);
}

.brand-mark i {
  width: 34px;
  height: 38px;
}

.sidebar-collapse {
  width: 34px;
  height: 34px;
  color: #596b81;
}

.product-card {
  min-height: 350px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  padding: 22px 24px 16px;
  box-shadow: var(--shadow-soft);
}

.product-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: 26px;
  line-height: 1.1;
  font-weight: 760;
}

.product-copy p {
  margin: 6px 0 0;
  color: #53637a;
  font-size: 15px;
  line-height: 1.3;
}

.product-card img {
  width: min(78%, 230px);
  height: 255px;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  margin: 12px auto 0;
  filter: drop-shadow(0 18px 18px rgba(20, 36, 56, 0.13));
}

.support-nav {
  display: grid;
  gap: 8px;
}

.support-nav button {
  min-height: 52px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  padding: 0 18px;
  cursor: pointer;
  text-align: left;
}

.support-nav button i {
  width: 23px;
  height: 23px;
  color: #07162b;
}

.support-nav button span {
  min-width: 0;
  font-size: 16px;
  font-weight: 580;
}

.support-nav button:hover,
.support-nav button.active {
  border-color: #c7dff4;
  background: #f0f7ff;
  color: #06499a;
}

.support-nav button:hover i,
.support-nav button.active i {
  color: #06499a;
}

.warranty-card {
  min-height: 75px;
  gap: 13px;
  margin-top: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  padding: 14px 16px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(28, 54, 78, 0.05);
}

.warranty-icon {
  width: 37px;
  height: 37px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0753a0;
}

.warranty-card strong,
.warranty-card small {
  display: block;
}

.warranty-card strong {
  font-size: 14px;
  line-height: 1.2;
}

.warranty-card small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.warranty-card > i:last-child {
  margin-left: auto;
  color: #51647a;
}

.support-main {
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(251, 253, 255, 0.98));
}

.support-topbar {
  flex: 0 0 auto;
  min-height: 100px;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  padding: 24px 31px 20px 41px;
}

.title-row {
  gap: 9px;
}

.brand-logo-mark {
  display: block;
  width: 42px;
  height: 29px;
  object-fit: contain;
  flex: 0 0 auto;
}

.title-row h1 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.05;
  font-weight: 760;
}

.verified-icon {
  width: 20px !important;
  height: 20px !important;
  color: #2489ec;
  fill: #2489ec;
  stroke: #ffffff;
}

.support-topbar p,
#modeSubtitle {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.3;
}

.support-topbar p span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
}

.support-topbar p b {
  color: #263650;
  font-weight: 650;
}

.chat-workspace {
  min-width: 0;
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  padding: 18px 48px 22px 41px;
}

.chat-feed {
  min-height: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scroll-behavior: smooth;
  padding: 4px 10px 14px 0;
  scrollbar-color: rgba(95, 124, 151, 0.34) transparent;
  scrollbar-width: thin;
}

.chat-feed::-webkit-scrollbar {
  width: 8px;
}

.chat-feed::-webkit-scrollbar-track {
  background: transparent;
}

.chat-feed::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(95, 124, 151, 0.28);
}

.quick-help,
.composer-card,
.input-footnote,
.support-fallback,
.ai-gate,
.feedback-box,
.meta-grid,
.regression-panel {
  flex: 0 0 auto;
}

.chat-message {
  max-width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.chat-message[hidden] {
  display: none;
}

.assistant-avatar {
  width: 45px;
  height: 45px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid #d8e4ee;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 9px 18px rgba(28, 54, 78, 0.1);
}

.assistant-avatar i {
  width: 27px;
  height: 27px;
}

.assistant-avatar img {
  width: 34px;
  height: 22px;
  object-fit: contain;
  display: block;
}

.bubble {
  border: 1px solid #d2e4f5;
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 9px 24px rgba(28, 54, 78, 0.05);
}

.intro-bubble {
  width: min(100%, 480px);
  padding: 23px 22px;
}

.intro-bubble p {
  margin: 0;
  color: var(--text);
  font-size: 18px;
  line-height: 1.35;
}

.intro-bubble h2 {
  margin: 14px 0 8px;
  color: var(--ink);
  font-size: 22px;
  line-height: 1.14;
  font-weight: 760;
}

.chat-message time {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #64748b;
  font-size: 14px;
}

.user-message {
  justify-content: flex-end;
  margin-top: 2px;
}

.user-message > div {
  max-width: min(420px, 72%);
}

.user-bubble {
  background: #eaf4ff;
  border-color: #bad7f4;
  padding: 17px 20px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.user-message time {
  justify-content: flex-end;
  color: #506176;
}

.user-message time i {
  width: 18px;
  height: 18px;
  color: #0878dd;
}

.answer-message {
  margin-top: 2px;
}

.answer-bubble {
  width: min(100%, 482px);
  padding: 12px 18px 8px;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
}

.answer-text,
#questionEcho {
  white-space: pre-wrap;
}

.answer-text {
  color: var(--text);
  font-size: 18px;
  line-height: 1.45;
}

.answer-bubble.is-pending .answer-text {
  color: #66758a;
}

.guide-link {
  width: 100%;
  min-height: 55px;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  padding: 0 18px;
  cursor: pointer;
  text-align: left;
}

.guide-link span {
  min-width: 0;
  flex: 1 1 auto;
  font-size: 16px;
  font-weight: 630;
}

.guide-link i:first-child {
  color: #51647a;
}

.guide-link i:last-child {
  width: 19px;
  height: 19px;
  color: #526273;
}

.human-card {
  min-height: 48px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(248, 252, 255, 0.78);
  padding: 9px 12px;
}

.human-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c7dff7;
  border-radius: 999px;
  background: #ffffff;
  color: #0756ac;
}

.human-icon i {
  width: 15px;
  height: 15px;
}

.human-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.15;
  font-weight: 700;
}

.human-card p {
  margin: 2px 0 0;
  color: #617087;
  font-size: 12px;
  line-height: 1.2;
}

.human-card a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: var(--radius);
  border: 1px solid #b8d2eb;
  background: #ffffff;
  color: #0756ac;
  box-shadow: none;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.human-card a i {
  width: 15px;
  height: 15px;
}

.human-card small {
  color: #718195;
  font-size: 11px;
  white-space: nowrap;
}

.support-fallback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #eed28b;
  border-radius: var(--radius);
  background: #fff9e8;
  padding: 15px 18px;
}

.support-fallback[hidden] {
  display: none;
}

.support-fallback strong,
.support-fallback span {
  display: block;
}

.support-fallback strong {
  color: var(--ink);
  font-size: 15px;
}

.support-fallback span {
  margin-top: 4px;
  color: #6c5b24;
  font-size: 13px;
}

.support-fallback a {
  flex: 0 0 auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--blue);
  color: #ffffff;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 680;
  text-decoration: none;
}

.quick-help h2 {
  margin: 0 0 6px;
  color: #25364d;
  font-size: 12px;
  line-height: 1.25;
  font-weight: 640;
}

.quick-help {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  margin-left: 0;
}

.quick-help-select-wrap {
  position: relative;
  min-width: 0;
  width: 100%;
}

.quick-help select {
  width: 100%;
  height: 48px;
  appearance: none;
  border: 1px solid #e2ebf3;
  border-radius: var(--radius);
  background: rgba(250, 253, 255, 0.72);
  color: var(--ink);
  padding: 0 42px 0 16px;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  box-shadow: none;
}

.quick-help select:hover,
.guide-link:hover {
  border-color: #d2e0eb;
  background: rgba(255, 255, 255, 0.92);
}

.quick-help-select-wrap > i,
.quick-help-select-wrap > svg {
  position: absolute;
  right: 13px;
  top: 50%;
  width: 17px;
  height: 17px;
  color: #66758a;
  pointer-events: none;
  transform: translateY(-50%);
}

.composer-card {
  min-height: 77px;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  padding: 12px 14px 12px 20px;
}

.attach-button,
.clear-button {
  width: 38px;
  height: 38px;
  border-color: transparent;
  color: #53647a;
  box-shadow: none;
}

.clear-button {
  width: 36px;
  height: 36px;
  opacity: 0.72;
}

.composer-card textarea {
  min-width: 0;
  min-height: 42px;
  max-height: 120px;
  flex: 1 1 auto;
  resize: none;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--ink);
  overflow-y: hidden;
  padding: 10px 4px;
  font-size: 16px;
  line-height: 1.35;
}

.composer-card textarea::placeholder,
input::placeholder {
  color: #8796a8;
}

.send-button {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(180deg, #07599d, #004781);
  color: #ffffff;
  box-shadow: 0 14px 25px rgba(0, 79, 143, 0.24);
  cursor: pointer;
}

.send-button i {
  width: 25px;
  height: 25px;
}

.send-button:disabled,
.quick-help select:disabled {
  cursor: not-allowed;
  opacity: 0.68;
}

.input-footnote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -9px 2px 0 16px;
  color: #66758a;
  font-size: 12px;
}

.input-footnote a {
  color: #0756ac;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.input-footnote a:hover {
  text-decoration: underline;
}

.ai-gate {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 13px 16px;
}

.gate-locked .chat-feed,
.gate-locked .support-fallback,
.gate-locked .quick-help,
.gate-locked .composer-card,
.gate-locked .input-footnote,
.gate-locked .feedback-box,
.gate-locked .meta-grid,
.gate-locked .regression-panel {
  display: none;
}

.gate-locked .ai-gate {
  width: min(100%, 460px);
  margin: 110px auto 0;
}

.ai-gate[hidden],
.ai-gate-row[hidden] {
  display: none !important;
}

.ai-gate-row {
  display: grid;
  grid-template-columns: minmax(130px, 1fr) auto auto;
  align-items: center;
  gap: 8px;
}

.ai-gate-row input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  outline: none;
  padding: 10px 12px;
}

.ai-gate-row button,
.button-row button,
.secondary {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--ink);
  padding: 10px 15px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 720;
}

.ai-gate-row span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.feedback-box {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.92);
  padding: 14px;
}

.feedback-box h2 {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.2;
}

.feedback-box p {
  margin: 4px 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.feedback-box input {
  width: 100%;
  min-height: 40px;
  margin-top: 12px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  outline: none;
  padding: 10px 12px;
}

.engineer-only {
  display: none !important;
}

body.engineer-mode .engineer-only {
  display: block !important;
}

body.engineer-mode button.engineer-only {
  display: inline-flex !important;
}

body.engineer-mode .meta-grid {
  display: grid !important;
}

.status-strip {
  margin: 14px 48px 0 41px;
  border: 1px solid #c4e1e7;
  border-radius: var(--radius);
  background: #eaf8fa;
  color: #045f67;
  padding: 8px 10px;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.meta-grid div {
  min-height: 70px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: var(--panel-soft);
}

.meta-grid span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 780;
  text-transform: uppercase;
}

.meta-grid strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.chip-green {
  color: var(--green) !important;
}

.chip-amber {
  color: var(--amber) !important;
}

.chip-red {
  color: var(--red) !important;
}

.regression-panel {
  display: grid;
  gap: 10px;
}

.section-title.compact h2 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
}

.section-title.compact p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.summary-line {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px;
  background: var(--panel-soft);
  color: var(--muted);
  font-size: 13px;
}

.table-wrap {
  max-height: 310px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  background: var(--panel-tint);
  color: var(--text);
  font-size: 11px;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

.status-pass {
  color: var(--green);
  font-weight: 800;
}

.status-fail {
  color: var(--red);
  font-weight: 800;
}

button:focus-visible,
a:focus-visible,
textarea:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(0, 79, 143, 0.18);
  outline-offset: 2px;
}

.loading {
  cursor: progress;
}

.loading .send-button {
  opacity: 0.72;
}

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

  .chat-workspace {
    padding-right: 30px;
  }

  .human-card {
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }

  .human-card small {
    display: none;
  }
}

@media (max-width: 900px) {
  .support-shell {
    width: min(100% - 20px, 720px);
    grid-template-columns: 1fr;
  }

  .support-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-card {
    min-height: 220px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    align-items: end;
  }

  .product-card img {
    width: 150px;
    height: 165px;
    margin: 0 auto;
  }

  .support-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .support-topbar {
    padding: 22px;
  }

  .chat-workspace {
    padding: 22px;
  }

  .quick-help {
    width: 100%;
    margin-left: 0;
  }

  .quick-help select {
    height: 48px;
    font-size: 13px;
  }

  .status-strip {
    margin: 12px 22px 0;
  }
}

@media (max-width: 620px) {
  .support-shell {
    width: 100%;
    height: 100dvh;
    min-height: 0;
    margin: 0;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .support-sidebar {
    padding: 18px 14px;
    gap: 14px;
  }

  .brand-lockup {
    font-size: 25px;
  }

  .product-card {
    min-height: 156px;
    grid-template-columns: minmax(0, 1fr) 104px;
    padding: 16px;
  }

  .product-copy h2 {
    font-size: 22px;
  }

  .product-copy p {
    font-size: 13px;
  }

  .product-card img {
    width: 104px;
    height: 118px;
  }

  .support-nav {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .support-nav button {
    min-height: 44px;
    padding: 0 12px;
  }

  .warranty-card {
    min-height: 64px;
  }

  .support-topbar {
    align-items: flex-start;
    padding: 18px 14px;
  }

  .title-row h1 {
    font-size: 23px;
  }

  .brand-logo-mark {
    width: 36px;
    height: 25px;
  }

  .support-topbar p {
    font-size: 13px;
  }

  .chat-workspace {
    gap: 15px;
    padding: 16px 14px 20px;
  }

  .assistant-avatar {
    width: 36px;
    height: 36px;
  }

  .assistant-avatar i {
    width: 22px;
    height: 22px;
  }

  .intro-bubble,
  .answer-bubble {
    width: 100%;
    padding: 17px 15px;
  }

  .intro-bubble h2 {
    margin-top: 14px;
    font-size: 20px;
  }

  .intro-bubble p,
  .answer-text,
  .user-bubble {
    font-size: 15px;
  }

  .user-message > div {
    max-width: 82%;
  }

  .human-card {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    padding: 9px 10px;
  }

  .human-icon {
    width: 26px;
    height: 26px;
  }

  .human-icon i {
    width: 14px;
    height: 14px;
  }

  .human-card h2 {
    font-size: 12px;
  }

  .human-card p {
    font-size: 11px;
  }

  .human-card a {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 32px;
  }

  .quick-help {
    width: 100%;
    margin-left: 0;
  }

  .composer-card {
    gap: 8px;
    padding: 9px;
  }

  .attach-button,
  .clear-button {
    width: 32px;
    height: 32px;
  }

  .composer-card textarea {
    min-height: 40px;
    font-size: 14px;
  }

  .quick-help select {
    height: 46px;
  }

  .send-button {
    width: 44px;
    height: 44px;
  }

  .ai-gate-row {
    grid-template-columns: 1fr;
  }

  .ai-gate-row span {
    white-space: normal;
  }

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

  .meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
