:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --sidebar: #f1f5f9;
  --hover: #e2e8f0;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --ai-color: #ef4444;
  --mixed-color: #f59e0b;
  --human-color: #10b981;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

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

/* Sidebar */
.sidebar {
  width: 250px;
  background: var(--sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 14px;
  flex-shrink: 0;
}

.new-chat-btn {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.new-chat-btn:hover {
  background: var(--hover);
}

.history-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
  padding: 16px 8px 8px;
}

.chat-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chat-item {
  border: 0;
  background: transparent;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.chat-item span:first-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.scan-pill {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  background: #e2e8f0;
  flex-shrink: 0;
}

.chat-item:hover,
.chat-item.active {
  background: var(--hover);
}

.sidebar-footer {
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.clear-btn {
  width: 100%;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
}

.clear-btn:hover {
  background: var(--hover);
  color: #dc2626;
}

.creator-tag {
  font-size: 11px;
  color: var(--muted);
  padding: 6px 8px 2px;
}

/* Main */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.topbar {
  height: 58px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 10px;
}

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  color: var(--text);
}

.model-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
}

.top-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.badge {
  font-size: 11px;
  font-weight: 700;
  background: #eff6ff;
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 99px;
}

/* Workspace */
.workspace {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

.hero {
  text-align: center;
  margin-bottom: 24px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 800;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.detector-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: stretch;
}

.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.panel-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--muted);
}

.sample-btns {
  display: flex;
  gap: 6px;
}

.sample-btn {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 9px;
  border-radius: 7px;
  cursor: pointer;
}

.sample-btn:hover {
  background: var(--hover);
}

#textInput {
  width: 100%;
  min-height: 340px;
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  font: inherit;
  font-size: 15px;
  line-height: 1.65;
  resize: vertical;
  outline: none;
  color: var(--text);
}

#textInput:focus {
  border-color: var(--primary);
}

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

.counters {
  font-size: 12px;
  color: var(--muted);
}

.input-actions {
  display: flex;
  gap: 8px;
}

.secondary-btn {
  padding: 9px 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

.secondary-btn:hover {
  background: var(--bg);
}

.primary-btn {
  padding: 9px 18px;
  border: 0;
  background: var(--primary);
  color: #ffffff;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.primary-btn:hover {
  background: var(--primary-hover);
}

.primary-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

/* Result States */
.state-box {
  margin: auto;
  text-align: center;
  padding: 40px 20px;
  max-width: 320px;
}

.state-icon {
  font-size: 40px;
  margin-bottom: 10px;
}

.state-box h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.state-box p {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.state-box.error h3 {
  color: #dc2626;
}

.spinner {
  width: 44px;
  height: 44px;
  border: 4px solid #e2e8f0;
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 14px;
  animation: spin 0.8s linear infinite;
}

.scan-timer {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}

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

/* Result Output */
.score-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.gauge {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(var(--human-color) 0deg, #e2e8f0 0deg);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.gauge-inner {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gauge-num {
  font-size: 24px;
  font-weight: 800;
}

.gauge-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.6px;
}

.verdict-info {
  flex: 1;
}

.confidence-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f1f5f9;
  color: var(--muted);
  margin-bottom: 6px;
}

.verdict-info h2 {
  margin: 0 0 12px;
  font-size: 22px;
}

.split-bars {
  display: grid;
  gap: 6px;
}

.split-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.bar-track {
  height: 7px;
  background: #e2e8f0;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 4px;
}

.bar-fill {
  height: 100%;
  border-radius: 99px;
  transition: width 0.5s ease;
}

.ai-fill {
  background: var(--ai-color);
}

.human-fill {
  background: var(--human-color);
}

.result-section {
  margin-top: 16px;
}

.result-section h4 {
  margin: 0 0 8px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--muted);
}

.result-section p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.signals-list {
  margin: 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text);
}

.legend-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.legend {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--muted);
}

.dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-right: 3px;
}

.dot.human { background: #a7f3d0; }
.dot.mixed { background: #fde68a; }
.dot.ai { background: #fecaca; }

.highlighted-text {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
  line-height: 1.7;
  max-height: 220px;
  overflow-y: auto;
}

.sent-span {
  padding: 2px 4px;
  border-radius: 4px;
  margin-right: 4px;
}

.sent-human { background: #d1fae5; }
.sent-mixed { background: #fef3c7; }
.sent-ai { background: #fee2e2; }

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

@media (max-width: 760px) {
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 30;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .menu-btn {
    display: block;
  }
}:root {
  --bg: #ffffff;
  --sidebar: #f9f9f9;
  --hover: #ececec;
  --border: #e5e5e5;
  --text: #0d0d0d;
  --muted: #6e6e80;
  --user-bubble: #f4f4f4;
  --accent: #10a37f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.app {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* Sidebar */
.sidebar {
  width: 260px;
  background: var(--sidebar);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  padding: 12px;
  flex-shrink: 0;
}

.new-chat-btn {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.new-chat-btn:hover {
  background: var(--hover);
}

.history-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  padding: 16px 8px 8px;
}

.chat-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-item {
  border: 0;
  background: transparent;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-item:hover,
.chat-item.active {
  background: var(--hover);
}

.sidebar-footer {
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.clear-btn {
  width: 100%;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  border-radius: 8px;
  cursor: pointer;
  text-align: left;
}

.clear-btn:hover {
  background: var(--hover);
  color: #dc2626;
}

.creator-tag {
  font-size: 11px;
  color: var(--muted);
  padding: 6px 8px 2px;
}

/* Main */
.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--bg);
}

.topbar {
  height: 54px;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 10px;
}

.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  color: var(--text);
}

.model-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
}

.top-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

/* Chat Area */
.chat-area {
  flex: 1;
  overflow-y: auto;
  padding: 20px 16px;
}

.welcome {
  max-width: 720px;
  margin: 8vh auto 0;
  text-align: center;
}

.welcome-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 12px;
}

.welcome h1 {
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 28px;
}

.suggestions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  text-align: left;
}

.suggestion {
  padding: 14px 16px;
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.15s;
}

.suggestion:hover {
  background: #f9f9f9;
}

.suggestion strong {
  display: block;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 4px;
}

.suggestion span {
  font-size: 12px;
  color: var(--muted);
}

/* Messages */
.messages {
  max-width: 760px;
  margin: 0 auto;
}

.message {
  display: flex;
  gap: 12px;
  margin: 22px 0;
}

.message.user {
  justify-content: flex-end;
}

.avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 13px;
  flex-shrink: 0;
  background: #ffffff;
}

.message.user .avatar {
  display: none;
}

.bubble {
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.message.user .bubble {
  background: var(--user-bubble);
  padding: 11px 16px;
  border-radius: 20px;
  max-width: 75%;
}

.message.assistant .bubble {
  max-width: calc(100% - 42px);
  padding-top: 2px;
}

.message.error .bubble {
  color: #dc2626;
}

.msg-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.msg-attachments img {
  max-width: 240px;
  max-height: 200px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.msg-file-tag {
  display: inline-block;
  background: #ffffff;
  border: 1px solid var(--border);
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
}

/* Composer */
.composer-wrap {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: 0 16px 12px;
}

.attachment-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.preview-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #f4f4f4;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px 8px;
  font-size: 12px;
}

.preview-item img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 6px;
}

.preview-remove {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
}

.composer {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  background: #f4f4f4;
  border: 1px solid #e5e5e5;
  border-radius: 26px;
  padding: 8px 10px;
}

.plus-menu-wrap {
  position: relative;
}

.plus-btn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.plus-btn:hover {
  background: #e5e5e5;
}

.plus-menu {
  position: absolute;
  bottom: 44px;
  left: 0;
  width: 190px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  padding: 6px;
  display: none;
  z-index: 20;
}

.plus-menu.open {
  display: grid;
  gap: 2px;
}

.plus-menu button {
  border: 0;
  background: transparent;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.plus-menu button:hover {
  background: #f4f4f4;
}

.composer textarea {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  resize: none;
  font: inherit;
  font-size: 15px;
  padding: 6px 4px;
  max-height: 160px;
}

#sendBtn {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #0d0d0d;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  flex-shrink: 0;
}

#sendBtn:disabled {
  background: #d4d4d4;
  cursor: default;
}

.disclaimer {
  text-align: center;
  font-size: 11px;
  color: var(--muted);
  margin: 8px 0 0;
}

@media (max-width: 760px) {
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 30;
    transform: translateX(-100%);
    transition: transform 0.2s;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .menu-btn {
    display: block;
  }
  .suggestions {
    grid-template-columns: 1fr;
  }
}
:root {
  --bg: #ffffff;
  --panel: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #2563eb;
  --accent-soft: #eff6ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

/* Splash Screen */
.splash-screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, #eff6ff 0%, #ffffff 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.splash-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

.splash-content {
  text-align: center;
  padding: 24px;
  animation: floatUp 0.7s ease-out;
}

.splash-logo {
  width: 145px;
  height: 145px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 14px 24px rgba(37, 99, 235, 0.22));
  animation: pulseFloat 2.2s ease-in-out infinite;
}

.splash-title {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.splash-message {
  margin: 10px 0 22px;
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
}

.splash-message span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
}

.splash-loader {
  width: 160px;
  height: 4px;
  background: #e2e8f0;
  border-radius: 99px;
  margin: 0 auto;
  overflow: hidden;
}

.splash-loader span {
  display: block;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, #2563eb, #0ea5e9);
  border-radius: 99px;
  animation: loadingBar 1.3s ease-in-out infinite;
}

@keyframes floatUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulseFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@keyframes loadingBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(250%); }
}

/* Auth Overlay */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}

.auth-card {
  width: 100%;
  max-width: 410px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 10px;
}

.auth-brand strong {
  display: block;
  font-size: 18px;
  color: var(--text);
}

.auth-brand small {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: var(--muted);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.auth-tab {
  border: 0;
  background: transparent;
  padding: 9px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: bold;
  color: var(--muted);
  cursor: pointer;
}

.auth-tab.active {
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.field-group label {
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: #334155;
  margin-bottom: 6px;
}

.field-group input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  background: #ffffff;
  color: var(--text);
}

.field-group input:focus {
  border-color: var(--accent);
}

.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrap input {
  padding-right: 40px;
}

.toggle-pw {
  position: absolute;
  right: 10px;
  background: none;
  border: 0;
  cursor: pointer;
  font-size: 15px;
  color: var(--muted);
}

.auth-status {
  margin: 0;
  font-size: 12px;
  min-height: 16px;
  font-weight: 600;
}

.auth-status.error {
  color: #dc2626;
}

.auth-status.success {
  color: #059669;
}

.auth-submit {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}

/* Main App Layout */
.app {
  display: flex;
  min-height: 100vh;
  background: #ffffff;
}

.sidebar {
  width: 260px;
  background: var(--panel);
  border-right: 1px solid var(--line);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 5px 20px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  color: var(--text);
}

.brand small {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-top: 3px;
}

.new-chat-btn {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 18px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 13px;
  font-weight: bold;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.new-chat-btn:hover {
  background: #f1f5f9;
}

.nav-label,
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: var(--muted);
  font-weight: bold;
}

.nav-label {
  padding: 0 10px 10px;
}

nav {
  display: grid;
  gap: 4px;
}

.nav-btn {
  border: 0;
  background: transparent;
  color: #475569;
  text-align: left;
  padding: 11px 11px;
  border-radius: 9px;
  font-size: 13px;
  cursor: pointer;
}

.nav-btn span {
  margin-left: 8px;
}

.nav-btn:hover,
.nav-btn.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: bold;
}

.nav-btn.active {
  box-shadow: inset 3px 0 var(--accent);
}

.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: bold;
  font-size: 14px;
}

.user-info strong {
  display: block;
  font-size: 13px;
  color: var(--text);
}

.user-info small {
  font-size: 11px;
  color: var(--muted);
}

.sidebar-actions {
  display: flex;
  gap: 6px;
}

.small-btn {
  flex: 1;
  padding: 7px 8px;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 8px;
  font-size: 11px;
  color: #475569;
  cursor: pointer;
}

.small-btn:hover {
  background: #f1f5f9;
}

.small-btn.danger {
  color: #dc2626;
}

/* Main Area */
.main {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #ffffff;
}

.topbar {
  height: 70px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 5%;
  background: #ffffff;
}

.topbar strong {
  display: block;
  font-size: 15px;
  margin-top: 4px;
  color: var(--text);
}

.status {
  margin-left: auto;
  font-size: 9px;
  letter-spacing: 1px;
  color: #334155;
  border: 1px solid var(--line);
  background: #f8fafc;
  padding: 7px 11px;
  border-radius: 30px;
}

.status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  margin-right: 6px;
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 21px;
  cursor: pointer;
}

.chat-area {
  flex: 1;
  overflow: auto;
  padding: 36px 20px 25px;
  background: #ffffff;
}

.welcome,
.messages {
  max-width: 760px;
  margin: 0 auto;
}

.welcome-mascot {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 12px;
}

.hero-quote {
  margin: 14px 0 18px;
  padding: 20px 22px;
  background: #f8fafc;
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
}

.hero-quote span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--accent);
}

.intro {
  color: var(--muted);
  line-height: 1.6;
  max-width: 540px;
  font-size: 14px;
}

.suggestions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-top: 26px;
}

.suggestion {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  padding: 15px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.suggestion:hover {
  border-color: var(--accent);
  background: #f8fafc;
}

.suggestion b {
  font-size: 19px;
  color: var(--accent);
}

.suggestion strong,
.suggestion small {
  display: block;
}

.suggestion strong {
  font-size: 13px;
}

.suggestion small {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.suggestion i {
  margin-left: auto;
  color: var(--muted);
}

/* Messages */
.message {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  align-items: flex-start;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: bold;
  font-size: 13px;
}

.message.user .avatar {
  background: #e0f2fe;
  color: #0284c7;
}

.bubble {
  max-width: calc(100% - 45px);
  line-height: 1.65;
  font-size: 14px;
  color: var(--text);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.message.user .bubble {
  background: #f1f5f9;
  border: 1px solid var(--line);
  padding: 11px 15px;
  border-radius: 4px 14px 14px 14px;
}

.message.assistant .bubble {
  padding: 3px 0;
}

.message.error .bubble {
  color: #dc2626;
}

.msg-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.msg-attachments img {
  max-width: 220px;
  max-height: 180px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.msg-file-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: #334155;
}

/* Composer & + Button */
.composer-wrap {
  padding: 0 20px 18px;
  max-width: 850px;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
}

.mode-note {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 8px 5px;
}

.attachment-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  padding: 8px 10px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.preview-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 12px;
}

.preview-item img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 5px;
}

.preview-remove {
  border: 0;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.composer {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.composer-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.plus-menu-wrap {
  position: relative;
}

.plus-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  background: #f8fafc;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.plus-btn:hover {
  background: #e2e8f0;
}

.plus-menu {
  position: absolute;
  bottom: 46px;
  left: 0;
  width: 235px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  padding: 6px;
  display: none;
  z-index: 20;
}

.plus-menu.open {
  display: grid;
  gap: 2px;
}

.plus-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.plus-menu button:hover {
  background: #f1f5f9;
}

.composer textarea {
  flex: 1;
  resize: none;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font: 14px Arial, sans-serif;
  padding: 7px 0;
  min-height: 34px;
  max-height: 150px;
}

.composer textarea::placeholder {
  color: #94a3b8;
}

#sendBtn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  font-size: 19px;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
  flex-shrink: 0;
}

#sendBtn:disabled {
  opacity: 0.5;
}

.composer-bottom {
  margin-top: 6px;
  padding-left: 46px;
  color: #94a3b8;
  font-size: 10px;
}

footer {
  text-align: center;
  color: #94a3b8;
  font-size: 9px;
  letter-spacing: 1.2px;
  margin-top: 12px;
}

footer span {
  padding: 0 5px;
  color: var(--accent);
}

@media (max-width: 760px) {
  .sidebar {
    position: fixed;
    z-index: 15;
    inset: 0 auto 0 0;
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: 15px 0 40px rgba(0, 0, 0, 0.12);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .menu-btn {
    display: block;
  }
  .topbar {
    padding: 0 17px;
  }
  .chat-area {
    padding-top: 24px;
  }
  .suggestions {
    grid-template-columns: 1fr;
  }
  .composer-wrap {
    padding: 0 12px 14px;
  }
}
:root {
  --bg: #ffffff;
  --panel: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --accent: #4f46e5;
  --accent-soft: #eef2ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

/* Auth Overlay */
.auth-overlay {
  position: fixed;
  inset: 0;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 32px 28px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.auth-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.auth-brand strong {
  display: block;
  font-size: 18px;
  color: var(--text);
}

.auth-brand small {
  font-size: 10px;
  letter-spacing: 1.2px;
  color: var(--muted);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.auth-tab {
  border: 0;
  background: transparent;
  padding: 9px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: bold;
  color: var(--muted);
  cursor: pointer;
}

.auth-tab.active {
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.auth-form {
  display: grid;
  gap: 14px;
}

.field-group label {
  display: block;
  font-size: 12px;
  font-weight: bold;
  color: #334155;
  margin-bottom: 6px;
}

.field-group input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
  background: #ffffff;
  color: var(--text);
}

.field-group input:focus {
  border-color: var(--accent);
}

.auth-error {
  margin: 0;
  font-size: 12px;
  color: #dc2626;
  min-height: 16px;
}

.auth-submit {
  width: 100%;
  padding: 12px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #4f46e5, #0ea5e9);
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}

/* Main App Layout */
.app {
  display: flex;
  min-height: 100vh;
  background: #ffffff;
}

.sidebar {
  width: 260px;
  background: var(--panel);
  border-right: 1px solid var(--line);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0 5px 20px;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #4f46e5, #0ea5e9);
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 22px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  color: var(--text);
}

.brand small {
  font-size: 9px;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-top: 3px;
}

.new-chat-btn {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 18px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 13px;
  font-weight: bold;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.new-chat-btn:hover {
  background: #f1f5f9;
}

.nav-label,
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: var(--muted);
  font-weight: bold;
}

.nav-label {
  padding: 0 10px 10px;
}

nav {
  display: grid;
  gap: 4px;
}

.nav-btn {
  border: 0;
  background: transparent;
  color: #475569;
  text-align: left;
  padding: 11px 11px;
  border-radius: 9px;
  font-size: 13px;
  cursor: pointer;
}

.nav-btn span {
  margin-left: 8px;
}

.nav-btn:hover,
.nav-btn.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: bold;
}

.nav-btn.active {
  box-shadow: inset 3px 0 var(--accent);
}

.sidebar-footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: bold;
  font-size: 14px;
}

.user-info strong {
  display: block;
  font-size: 13px;
  color: var(--text);
}

.user-info small {
  font-size: 11px;
  color: var(--muted);
}

.sidebar-actions {
  display: flex;
  gap: 6px;
}

.small-btn {
  flex: 1;
  padding: 7px 8px;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 8px;
  font-size: 11px;
  color: #475569;
  cursor: pointer;
}

.small-btn:hover {
  background: #f1f5f9;
}

.small-btn.danger {
  color: #dc2626;
}

/* Main Area */
.main {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #ffffff;
}

.topbar {
  height: 70px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 0 5%;
  background: #ffffff;
}

.topbar strong {
  display: block;
  font-size: 15px;
  margin-top: 4px;
  color: var(--text);
}

.status {
  margin-left: auto;
  font-size: 9px;
  letter-spacing: 1px;
  color: #334155;
  border: 1px solid var(--line);
  background: #f8fafc;
  padding: 7px 11px;
  border-radius: 30px;
}

.status i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
  margin-right: 6px;
}

.menu-btn {
  display: none;
  background: none;
  border: 0;
  color: var(--text);
  font-size: 21px;
  cursor: pointer;
}

.chat-area {
  flex: 1;
  overflow: auto;
  padding: 36px 20px 25px;
  background: #ffffff;
}

.welcome,
.messages {
  max-width: 760px;
  margin: 0 auto;
}

.welcome-icon {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #4f46e5, #0ea5e9);
  margin-bottom: 20px;
}

.hero-quote {
  margin: 14px 0 18px;
  padding: 20px 22px;
  background: #f8fafc;
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 800;
  line-height: 1.35;
  color: #0f172a;
}

.hero-quote span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--accent);
}

.intro {
  color: var(--muted);
  line-height: 1.6;
  max-width: 520px;
  font-size: 14px;
}

.suggestions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin-top: 26px;
}

.suggestion {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  padding: 15px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.suggestion:hover {
  border-color: var(--accent);
  background: #f8fafc;
}

.suggestion b {
  font-size: 19px;
  color: var(--accent);
}

.suggestion strong,
.suggestion small {
  display: block;
}

.suggestion strong {
  font-size: 13px;
}

.suggestion small {
  font-size: 11px;
  color: var(--muted);
  margin-top: 4px;
}

.suggestion i {
  margin-left: auto;
  color: var(--muted);
}

/* Messages */
.message {
  display: flex;
  gap: 12px;
  margin: 20px 0;
  align-items: flex-start;
}

.avatar {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: bold;
  font-size: 13px;
}

.message.user .avatar {
  background: #e0f2fe;
  color: #0284c7;
}

.bubble {
  max-width: calc(100% - 45px);
  line-height: 1.65;
  font-size: 14px;
  color: var(--text);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.message.user .bubble {
  background: #f1f5f9;
  border: 1px solid var(--line);
  padding: 11px 15px;
  border-radius: 4px 14px 14px 14px;
}

.message.assistant .bubble {
  padding: 3px 0;
}

.message.error .bubble {
  color: #dc2626;
}

.msg-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.msg-attachments img {
  max-width: 180px;
  max-height: 140px;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.msg-file-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
  color: #334155;
}

/* Composer & + Button */
.composer-wrap {
  padding: 0 20px 18px;
  max-width: 850px;
  width: 100%;
  margin: 0 auto;
  background: #ffffff;
}

.mode-note {
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 8px 5px;
}

.attachment-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
  padding: 8px 10px;
  background: #f8fafc;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.preview-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 12px;
}

.preview-item img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 5px;
}

.preview-remove {
  border: 0;
  background: #fee2e2;
  color: #dc2626;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 11px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.composer {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  border-radius: 16px;
  padding: 10px 12px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.composer-row {
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.plus-menu-wrap {
  position: relative;
}

.plus-btn {
  width: 36px;
  height: 36px;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  background: #f8fafc;
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.plus-btn:hover {
  background: #e2e8f0;
}

.plus-menu {
  position: absolute;
  bottom: 46px;
  left: 0;
  width: 210px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  padding: 6px;
  display: none;
  z-index: 20;
}

.plus-menu.open {
  display: grid;
  gap: 2px;
}

.plus-menu button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text);
  text-align: left;
  cursor: pointer;
}

.plus-menu button:hover {
  background: #f1f5f9;
}

.composer textarea {
  flex: 1;
  resize: none;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font: 14px Arial, sans-serif;
  padding: 7px 0;
  min-height: 34px;
  max-height: 150px;
}

.composer textarea::placeholder {
  color: #94a3b8;
}

#sendBtn {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #4f46e5, #0ea5e9);
  font-size: 19px;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
  flex-shrink: 0;
}

#sendBtn:disabled {
  opacity: 0.5;
}

.composer-bottom {
  margin-top: 6px;
  padding-left: 46px;
  color: #94a3b8;
  font-size: 10px;
}

footer {
  text-align: center;
  color: #94a3b8;
  font-size: 9px;
  letter-spacing: 1.2px;
  margin-top: 12px;
}

footer span {
  padding: 0 5px;
  color: var(--accent);
}

@media (max-width: 760px) {
  .sidebar {
    position: fixed;
    z-index: 15;
    inset: 0 auto 0 0;
    transform: translateX(-100%);
    transition: transform 0.2s;
    box-shadow: 15px 0 40px rgba(0, 0, 0, 0.12);
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .menu-btn {
    display: block;
  }
  .topbar {
    padding: 0 17px;
  }
  .chat-area {
    padding-top: 24px;
  }
  .suggestions {
    grid-template-columns: 1fr;
  }
  .composer-wrap {
    padding: 0 12px 14px;
  }
}
