:root {
  color-scheme: dark;
  --bg: #060816;
  --bg-2: #0b1022;
  --bg-3: #101735;
  --card: rgba(10, 17, 39, 0.72);
  --card-strong: rgba(13, 20, 46, 0.9);
  --line: rgba(110, 230, 255, 0.14);
  --line-strong: rgba(110, 230, 255, 0.3);
  --text: #ecf5ff;
  --muted: #8fa5c7;
  --cyan: #55dfff;
  --lime: #c8ff6f;
  --amber: #ffc86f;
  --red: #ff6d93;
  --violet: #7e7dff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shell: min(1440px, calc(100vw - 32px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(94, 156, 255, 0.12), transparent 30%),
    radial-gradient(circle at top right, rgba(85, 223, 255, 0.12), transparent 32%),
    radial-gradient(circle at bottom left, rgba(126, 125, 255, 0.08), transparent 28%),
    linear-gradient(180deg, var(--bg) 0%, #050812 40%, #03050d 100%);
  color: var(--text);
  font-family: "BIZ UDPGothic", "Yu Gothic UI", "Hiragino Sans", "Meiryo", sans-serif;
  overflow-x: hidden;
}

.chat-page {
  position: relative;
}

.noise-layer,
.grid-layer,
.orb {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.noise-layer {
  opacity: 0.08;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 5px 5px, 7px 7px;
  mix-blend-mode: soft-light;
}

.grid-layer {
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(85, 223, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(85, 223, 255, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent 92%);
}

.orb {
  filter: blur(80px);
  opacity: 0.42;
}

.orb-a {
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: rgba(85, 223, 255, 0.24);
}

.orb-b {
  top: 44vh;
  left: -120px;
  width: 280px;
  height: 280px;
  border-radius: 999px;
  background: rgba(126, 125, 255, 0.18);
}

.shell {
  width: var(--shell);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

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

.skip-link:focus {
  position: fixed;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  clip: auto;
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  z-index: 30;
}

.topbar {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.95fr);
  gap: 18px;
  padding: 28px 0 14px;
}

.brand-lockup h1,
.auth-hero h2,
.auth-console h2,
.rail-panel h2,
.trust-panel h2,
.stage-panel h2 {
  margin: 0;
  font-family: "Orbitron", "Aptos Display", "Yu Gothic UI", sans-serif;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lead,
.console-copy,
.hero-stack p,
.feature-card p,
.hero-band p,
.conversation-meta,
.stage-empty p,
.subtle-copy,
.section-heading p {
  color: var(--muted);
}

.chat-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.chat-quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: rgba(8, 14, 32, 0.54);
  text-decoration: none;
  font-size: 0.88rem;
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.chat-quick-links a:hover,
.chat-quick-links a:focus-visible {
  border-color: var(--line-strong);
  color: var(--cyan);
  transform: translateY(-1px);
}

.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.status-card,
.glass-panel {
  position: relative;
  overflow: hidden;
}

.status-card::before,
.glass-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(85, 223, 255, 0.42), rgba(126, 125, 255, 0.16), rgba(200, 255, 111, 0.18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.status-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(8, 14, 32, 0.88), rgba(7, 12, 28, 0.72));
  box-shadow: var(--shadow);
}

.status-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status-card strong {
  font-size: 1rem;
  color: var(--text);
}

.status-card[data-tone="success"] strong {
  color: var(--lime);
}

.status-card[data-tone="info"] strong {
  color: var(--cyan);
}

.status-card[data-tone="warning"] strong {
  color: var(--amber);
}

.status-card[data-tone="error"] strong {
  color: var(--red);
}

.app-shell {
  padding-bottom: 40px;
}

.glass-panel {
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(10, 17, 39, 0.94), rgba(8, 13, 30, 0.78)),
    linear-gradient(135deg, rgba(85, 223, 255, 0.04), transparent 30%);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.banner {
  margin-bottom: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background: rgba(255, 200, 111, 0.12);
  border: 1px solid rgba(255, 200, 111, 0.26);
}

.banner p {
  margin: 0;
  color: var(--amber);
}

.banner[data-tone="success"] {
  background: rgba(200, 255, 111, 0.1);
  border-color: rgba(200, 255, 111, 0.24);
}

.banner[data-tone="success"] p {
  color: var(--lime);
}

.banner[data-tone="error"] {
  background: rgba(255, 109, 147, 0.1);
  border-color: rgba(255, 109, 147, 0.24);
}

.banner[data-tone="error"] p {
  color: var(--red);
}

.config-panel {
  padding: 24px;
  margin-bottom: 16px;
}

.config-panel h2 {
  margin: 0 0 8px;
}

.config-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
  gap: 18px;
}

.auth-hero,
.auth-console,
.rail-panel,
.stage-panel,
.trust-panel {
  padding: 24px;
}

.hero-stack {
  margin-bottom: 22px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.feature-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(8, 14, 32, 0.72);
  border: 1px solid var(--line);
}

.feature-kicker {
  color: var(--lime);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
}

.feature-card h3 {
  margin: 8px 0 6px;
  font-size: 1.04rem;
}

.hero-band {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(85, 223, 255, 0.08);
  border: 1px solid rgba(85, 223, 255, 0.18);
}

.band-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.76rem;
  color: var(--cyan);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.console-head {
  margin-bottom: 16px;
}

.step-strip {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.step-chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(8, 14, 32, 0.58);
  font-size: 0.84rem;
}

.step-chip.is-active {
  color: var(--bg);
  background: linear-gradient(135deg, var(--lime), #9bff88);
  border-color: rgba(200, 255, 111, 0.72);
}

.mode-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 8px;
  padding: 6px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.mode-button,
.filter-chip,
.primary-button,
.secondary-button,
.ghost-button,
.warning-button,
.message-retry {
  font: inherit;
}

.mode-button,
.filter-chip {
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  border-radius: 999px;
  min-height: 42px;
  padding: 0 16px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background-color 160ms ease;
}

.mode-button.is-active,
.mode-button:hover,
.mode-button:focus-visible,
.filter-chip.is-active,
.filter-chip:hover,
.filter-chip:focus-visible {
  color: var(--text);
  background: rgba(85, 223, 255, 0.08);
  border-color: rgba(85, 223, 255, 0.28);
  outline: none;
  transform: translateY(-1px);
}

.console-form,
.stack-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span,
.strength-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(143, 165, 199, 0.2);
  background: rgba(4, 9, 23, 0.84);
  color: var(--text);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font: inherit;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

textarea {
  resize: vertical;
  min-height: 104px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible,
summary:focus-visible,
.conversation-button:focus-visible {
  outline: none;
  border-color: rgba(85, 223, 255, 0.48);
  box-shadow: 0 0 0 4px rgba(85, 223, 255, 0.16);
}

.strength-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.meter-track {
  position: relative;
  overflow: hidden;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.meter-track span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red), var(--amber), var(--lime));
  transition: width 180ms ease;
}

.capability-row,
.button-row,
.mobile-actions,
.head-actions,
.composer-footer,
.composer-meta,
.filter-strip,
.meta-badge-row,
.conversation-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.capability-chip,
.mode-chip,
.meta-badge,
.conversation-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(85, 223, 255, 0.08);
  color: var(--cyan);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
}

.capability-chip-hybrid,
.mode-chip.is-hybrid,
.conversation-badge.is-hybrid,
.meta-badge.is-hybrid {
  color: var(--lime);
  border-color: rgba(200, 255, 111, 0.3);
  background: rgba(200, 255, 111, 0.08);
}

.conversation-badge.is-warning,
.meta-badge.is-warning {
  color: var(--amber);
  border-color: rgba(255, 200, 111, 0.28);
  background: rgba(255, 200, 111, 0.1);
}

.conversation-badge.is-error,
.meta-badge.is-error {
  color: var(--red);
  border-color: rgba(255, 109, 147, 0.28);
  background: rgba(255, 109, 147, 0.1);
}

.primary-button,
.secondary-button,
.ghost-button,
.warning-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 18px;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.primary-button {
  color: #06101f;
  background: linear-gradient(135deg, var(--cyan), #8ef0ff);
  box-shadow: 0 10px 24px rgba(85, 223, 255, 0.24);
}

.secondary-button {
  color: #041018;
  background: linear-gradient(135deg, var(--lime), #e4ff8b);
  box-shadow: 0 10px 24px rgba(200, 255, 111, 0.18);
}

.ghost-button {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(143, 165, 199, 0.18);
}

.warning-button {
  color: #220510;
  background: linear-gradient(135deg, var(--amber), #ffd998);
  box-shadow: 0 10px 22px rgba(255, 200, 111, 0.18);
}

.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover,
.warning-button:hover,
.primary-button:focus-visible,
.secondary-button:focus-visible,
.ghost-button:focus-visible,
.warning-button:focus-visible,
.message-retry:hover,
.message-retry:focus-visible {
  transform: translateY(-1px);
}

.feedback {
  min-height: 1.5em;
  margin: 0;
  color: var(--amber);
}

.feedback.is-success {
  color: var(--lime);
}

.feedback.is-error {
  color: var(--red);
}

.feedback.is-info {
  color: var(--cyan);
}

.unlock-card {
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.unlock-card h3 {
  margin: 0 0 8px;
}

.chat-shell {
  position: relative;
}

.mobile-actions {
  display: none;
  margin-bottom: 14px;
}

.chat-grid {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr) minmax(280px, 340px);
  gap: 16px;
  align-items: start;
}

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

.rail-summary {
  color: var(--muted);
  font-size: 0.88rem;
}

.search-field input {
  padding-left: 14px;
}

.action-block {
  margin-bottom: 14px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(143, 165, 199, 0.12);
}

.action-block summary {
  cursor: pointer;
  padding: 14px 16px;
  font-weight: 700;
}

.action-block form {
  padding: 0 16px 16px;
}

.conversation-section + .conversation-section {
  margin-top: 22px;
}

.section-heading h3 {
  margin: 0 0 4px;
}

.section-heading p {
  margin: 0 0 12px;
  font-size: 0.9rem;
}

.conversation-list {
  display: grid;
  gap: 10px;
}

.conversation-empty-note {
  margin: 0;
  color: var(--muted);
}

.conversation-button {
  width: 100%;
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid rgba(143, 165, 199, 0.15);
  background:
    linear-gradient(180deg, rgba(12, 18, 38, 0.96), rgba(10, 14, 30, 0.86)),
    linear-gradient(135deg, rgba(85, 223, 255, 0.04), transparent 40%);
  color: var(--text);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.conversation-button:hover,
.conversation-button.is-active {
  transform: translateY(-1px);
  border-color: rgba(85, 223, 255, 0.34);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.conversation-button strong {
  display: block;
  margin-bottom: 6px;
}

.conversation-button p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.88rem;
}

.conversation-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}

.conversation-time {
  color: var(--muted);
  font-size: 0.78rem;
}

.stage-panel {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
}

.stage-empty {
  min-height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 48px 24px;
  background:
    linear-gradient(180deg, rgba(85, 223, 255, 0.04), transparent 42%),
    repeating-linear-gradient(0deg, rgba(85, 223, 255, 0.06), rgba(85, 223, 255, 0.06) 1px, transparent 1px, transparent 28px);
  border-radius: calc(var(--radius-xl) - 6px);
}

.stage-view {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  height: 100%;
}

.stage-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
}

.head-actions {
  justify-content: flex-end;
  align-items: center;
}

.message-list {
  flex: 1;
  display: grid;
  gap: 12px;
  min-height: 360px;
  max-height: 58vh;
  overflow: auto;
  padding-right: 2px;
}

.message-bubble {
  max-width: min(82%, 700px);
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid rgba(143, 165, 199, 0.16);
  background: rgba(11, 17, 38, 0.88);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24);
  animation: bubble-in 220ms ease;
}

.message-bubble.is-self {
  margin-left: auto;
  background: linear-gradient(135deg, rgba(85, 223, 255, 0.18), rgba(32, 92, 155, 0.3));
  border-color: rgba(85, 223, 255, 0.22);
}

.message-bubble.is-peer {
  background: linear-gradient(180deg, rgba(11, 17, 38, 0.96), rgba(8, 13, 28, 0.88));
}

.message-bubble.is-system {
  max-width: 100%;
  background: rgba(200, 255, 111, 0.08);
  border-color: rgba(200, 255, 111, 0.18);
}

.message-bubble.is-failed {
  border-color: rgba(255, 109, 147, 0.3);
  background: rgba(255, 109, 147, 0.08);
}

.message-bubble strong {
  display: block;
  margin-bottom: 6px;
}

.message-bubble p {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}

.message-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 10px;
}

.message-time {
  color: var(--muted);
  font-size: 0.78rem;
}

.message-state {
  color: var(--cyan);
  font-size: 0.78rem;
}

.message-state.is-warning {
  color: var(--amber);
}

.message-state.is-error {
  color: var(--red);
}

.message-retry {
  min-height: 34px;
  border-radius: 999px;
  padding: 0 12px;
  border: 1px solid rgba(255, 109, 147, 0.26);
  background: rgba(255, 109, 147, 0.1);
  color: var(--red);
  cursor: pointer;
}

.composer {
  display: grid;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(143, 165, 199, 0.14);
}

.composer-field textarea {
  min-height: 96px;
}

.composer-footer {
  justify-content: space-between;
  align-items: center;
}

.composer-meta {
  color: var(--muted);
  font-size: 0.86rem;
}

.stage-feedback {
  min-height: 1.2em;
}

.trust-panel {
  position: sticky;
  top: 18px;
}

.trust-close {
  display: none;
}

.trust-section + .trust-section {
  margin-top: 22px;
}

.trust-section h3 {
  margin: 0 0 12px;
}

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

.trust-card {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(143, 165, 199, 0.14);
}

.trust-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trust-card strong {
  display: block;
  word-break: break-word;
}

.trust-card-wide {
  grid-column: 1 / -1;
}

.member-list {
  display: grid;
  gap: 10px;
}

.member-item {
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(143, 165, 199, 0.14);
}

.member-item strong {
  display: block;
  margin-bottom: 4px;
}

.member-item span {
  color: var(--muted);
  font-size: 0.88rem;
}

.mobile-scrim {
  position: fixed;
  inset: 0;
  background: rgba(1, 4, 10, 0.64);
  backdrop-filter: blur(4px);
  z-index: 8;
}

[hidden] {
  display: none !important;
}

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1220px) {
  .topbar {
    grid-template-columns: 1fr;
  }

  .chat-grid {
    grid-template-columns: 300px minmax(0, 1fr);
  }

  .trust-panel {
    grid-column: 1 / -1;
    position: static;
  }
}

@media (max-width: 980px) {
  .auth-shell,
  .hero-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .mobile-actions {
    display: flex;
  }

  .chat-grid {
    grid-template-columns: 1fr;
  }

  .rail-panel,
  .trust-panel {
    position: fixed;
    z-index: 12;
    top: 0;
    bottom: 0;
    width: min(92vw, 380px);
    max-height: 100vh;
    overflow: auto;
    border-radius: 0;
  }

  .rail-panel {
    left: 0;
    transform: translateX(-104%);
    transition: transform 220ms ease;
  }

  .trust-panel {
    right: 0;
    transform: translateX(104%);
    transition: transform 220ms ease;
  }

  body.rail-open .rail-panel {
    transform: translateX(0);
  }

  body.trust-open .trust-panel {
    transform: translateX(0);
  }

  .trust-close {
    display: inline-flex;
  }

  .stage-panel {
    min-height: calc(100vh - 220px);
  }

  .message-list {
    max-height: none;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100vw - 20px, 100%);
  }

  .topbar {
    padding-top: 20px;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }

  .auth-hero,
  .auth-console,
  .rail-panel,
  .stage-panel,
  .trust-panel {
    padding: 18px;
  }

  .button-row,
  .composer-footer,
  .head-actions {
    align-items: stretch;
  }

  .button-row > *,
  .composer-footer > *,
  .head-actions > * {
    width: 100%;
  }

  .stage-head {
    flex-direction: column;
  }

  .message-bubble {
    max-width: 94%;
  }
}
