/* ===== Tali by Vision Hill — App Styles ===== */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #1a1714;
  --warm: #2c2620;
  --amber: #c4873b;
  --amber-light: #e8a84c;
  --amber-glow: rgba(196, 135, 59, 0.15);
  --cream: #faf6f0;
  --stone: #e8e0d4;
  --mist: #b8afa3;
  --body-text: #4a4440;
  --success: #5a8a5c;
  --error: #b35a5a;
  --sidebar-width: 280px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--body-text);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ===== APP LAYOUT ===== */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ===== SIDEBAR ===== */
.sidebar {
  width: var(--sidebar-width);
  background: var(--ink);
  color: var(--stone);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 50;
  transition: transform 0.3s ease;
}

.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.sidebar-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--cream);
  letter-spacing: -0.02em;
  text-decoration: none;
  display: block;
}

.sidebar-logo span { color: var(--amber); }

.sidebar-subtitle {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mist);
  margin-top: 0.3rem;
}

.sidebar-nav {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
}

.nav-section {
  padding: 0.5rem 1.5rem;
  margin-top: 0.5rem;
}

.nav-section-title {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  margin: 0.15rem 0.5rem;
  border-radius: 6px;
  color: var(--stone);
  text-decoration: none;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}

.nav-item:hover {
  background: rgba(255,255,255,0.06);
  color: var(--cream);
}

.nav-item.active {
  background: var(--amber-glow);
  color: var(--amber-light);
}

.nav-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.7;
}

.nav-item.active svg { opacity: 1; }

/* Conversation list */
.convo-list {
  padding: 0.5rem;
  max-height: 40vh;
  overflow-y: auto;
}

.convo-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  margin: 0.1rem 0;
  border-radius: 6px;
  color: var(--mist);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.convo-item:hover { background: rgba(255,255,255,0.06); color: var(--cream); }
.convo-item.active { background: rgba(196,135,59,0.12); color: var(--amber-light); }

.new-convo-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  margin: 0.5rem;
  border: 1px dashed rgba(255,255,255,0.15);
  border-radius: 6px;
  background: none;
  color: var(--mist);
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
  width: calc(100% - 1rem);
}

.new-convo-btn:hover {
  border-color: var(--amber);
  color: var(--amber-light);
  background: rgba(196,135,59,0.05);
}

/* Sidebar footer */
.sidebar-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--amber-glow);
  border: 1px solid var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--amber);
  font-weight: 600;
}

.user-name {
  font-size: 0.85rem;
  color: var(--cream);
  flex: 1;
}

.user-email {
  font-size: 0.7rem;
  color: var(--mist);
}

.logout-btn {
  background: none;
  border: none;
  color: var(--mist);
  cursor: pointer;
  font-size: 0.75rem;
  padding: 0.3rem;
  transition: color 0.2s;
}

.logout-btn:hover { color: var(--error); }

/* ===== MAIN CONTENT ===== */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ===== CHAT VIEW ===== */
.chat-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  max-width: 820px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

.chat-header {
  padding: 1.5rem 0 1rem;
  border-bottom: 1px solid var(--stone);
  margin-bottom: 1rem;
}

.chat-header h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}

.messages-area {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0 2rem;
  scroll-behavior: smooth;
}

.message {
  margin-bottom: 1.5rem;
  animation: messageIn 0.4s ease;
}

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

.message-assistant {
  max-width: 90%;
}

.message-user {
  max-width: 80%;
  margin-left: auto;
}

.message-content {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-size: 0.92rem;
  line-height: 1.75;
}

.message-assistant .message-content {
  background: white;
  border: 1px solid rgba(200, 190, 175, 0.3);
  color: var(--body-text);
}

.message-user .message-content {
  background: var(--warm);
  color: var(--cream);
  border: 1px solid transparent;
}

.message-content p { margin-bottom: 0.8rem; }
.message-content p:last-child { margin-bottom: 0; }
.message-content strong { color: var(--ink); font-weight: 600; }
.message-user .message-content strong { color: var(--amber-light); }
.message-content em { font-style: italic; color: var(--amber); }
.message-content hr {
  border: none;
  height: 1px;
  background: var(--stone);
  margin: 1.5rem 0;
}
.message-content ul, .message-content ol {
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}
.message-content li { margin-bottom: 0.3rem; }
.message-content h1, .message-content h2, .message-content h3 {
  font-family: 'Syne', sans-serif;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.message-user .message-content h1,
.message-user .message-content h2,
.message-user .message-content h3 {
  color: var(--cream);
}

/* Streaming indicator */
.typing-indicator {
  display: inline-flex;
  gap: 4px;
  padding: 0.5rem 0;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.8); }
  30% { opacity: 1; transform: scale(1); }
}

/* Artifact notification */
.artifact-notification {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(90, 138, 92, 0.1);
  border: 1px solid rgba(90, 138, 92, 0.3);
  border-radius: 8px;
  font-size: 0.8rem;
  color: var(--success);
  margin-top: 0.5rem;
  animation: messageIn 0.4s ease;
}

/* Chat input */
.chat-input-container {
  padding: 1rem 0 1.5rem;
  position: sticky;
  bottom: 0;
  background: linear-gradient(transparent, var(--cream) 20%);
}

.chat-input-wrapper {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
  background: white;
  border: 1px solid var(--stone);
  border-radius: 12px;
  padding: 0.75rem;
  transition: border-color 0.2s;
}

.chat-input-wrapper:focus-within {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-glow);
}

.chat-input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  resize: none;
  max-height: 150px;
  min-height: 24px;
  line-height: 1.5;
  background: transparent;
}

.chat-input::placeholder { color: var(--mist); }

.send-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: none;
  background: var(--amber);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.send-btn:hover { background: var(--amber-light); }
.send-btn:disabled { opacity: 0.4; cursor: not-allowed; }

/* ===== ONBOARDING VIEW ===== */
.onboarding-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.onboarding-content {
  text-align: center;
}

.onboarding-symbol {
  font-size: 3rem;
  margin-bottom: 2rem;
  animation: gentlePulse 3s ease infinite;
}

@keyframes gentlePulse {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.onboarding-title {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.onboarding-subtitle {
  font-size: 0.95rem;
  color: var(--mist);
  margin-bottom: 3rem;
}

.begin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.5rem;
  background: var(--amber);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 0.02em;
}

.begin-btn:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(196, 135, 59, 0.3);
}

/* ===== JOURNEY VIEW ===== */
.journey-container {
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.journey-header {
  margin-bottom: 2rem;
}

.journey-header h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ink);
}

.journey-header p {
  color: var(--mist);
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.layer-card {
  background: white;
  border: 1px solid var(--stone);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.2s;
}

.layer-card:hover {
  border-color: var(--amber);
  box-shadow: 0 2px 12px rgba(196, 135, 59, 0.08);
}

.layer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.layer-num {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
}

.layer-progress {
  font-size: 0.8rem;
  color: var(--mist);
  font-weight: 500;
}

.layer-name {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.progress-bar {
  height: 4px;
  background: var(--stone);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.progress-fill {
  height: 100%;
  background: var(--amber);
  border-radius: 2px;
  transition: width 0.5s ease;
}

.layer-modules {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.module-tag {
  font-size: 0.75rem;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  background: var(--cream);
  color: var(--body-text);
  border: 1px solid var(--stone);
}

.module-tag.completed {
  background: rgba(90, 138, 92, 0.1);
  border-color: rgba(90, 138, 92, 0.3);
  color: var(--success);
}

.module-tag.in-progress {
  background: var(--amber-glow);
  border-color: var(--amber);
  color: var(--amber);
}

/* ===== ARTIFACTS VIEW ===== */
.artifacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.artifact-card {
  background: white;
  border: 1px solid var(--stone);
  border-radius: 12px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.artifact-card:hover {
  border-color: var(--amber);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.artifact-type {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.artifact-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.artifact-date {
  font-size: 0.75rem;
  color: var(--mist);
}

.artifact-version {
  font-size: 0.7rem;
  color: var(--amber);
  margin-left: 0.5rem;
}

/* ===== ADMIN VIEW ===== */
.admin-container {
  padding: 2rem;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.admin-header h1 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--ink);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  border: 1px solid var(--stone);
  border-radius: 10px;
  padding: 1.25rem;
  text-align: center;
}

.stat-value {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 2rem;
  color: var(--amber);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--mist);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* Tool table */
.tools-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--stone);
}

.tools-table th {
  text-align: left;
  padding: 0.8rem 1rem;
  background: var(--cream);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mist);
  font-weight: 500;
  border-bottom: 1px solid var(--stone);
}

.tools-table td {
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(232, 224, 212, 0.5);
}

.tools-table tr:hover td { background: rgba(250, 246, 240, 0.5); }

.badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 500;
}

.badge-active { background: rgba(90, 138, 92, 0.1); color: var(--success); }
.badge-draft { background: rgba(196, 135, 59, 0.1); color: var(--amber); }
.badge-archived { background: rgba(184, 175, 163, 0.2); color: var(--mist); }

/* ===== AUTH PAGES ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--cream);
}

.auth-card {
  background: white;
  border: 1px solid var(--stone);
  border-radius: 16px;
  padding: 3rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}

.auth-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--ink);
  text-align: center;
  margin-bottom: 0.3rem;
}

.auth-logo span { color: var(--amber); }

.auth-tagline {
  text-align: center;
  font-size: 0.85rem;
  color: var(--mist);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.form-input {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--stone);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  background: var(--cream);
  transition: all 0.2s;
}

.form-input:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 0 3px var(--amber-glow);
}

.auth-btn {
  width: 100%;
  padding: 0.8rem;
  background: var(--amber);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 0.5rem;
}

.auth-btn:hover { background: var(--amber-light); }
.auth-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.auth-switch {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--mist);
}

.auth-switch a {
  color: var(--amber);
  text-decoration: none;
  font-weight: 500;
}

.auth-switch a:hover { text-decoration: underline; }

.auth-error {
  background: rgba(179, 90, 90, 0.1);
  border: 1px solid rgba(179, 90, 90, 0.3);
  border-radius: 8px;
  padding: 0.7rem 1rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--error);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--amber);
  color: white;
}

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

.btn-outline {
  background: transparent;
  border-color: var(--stone);
  color: var(--body-text);
}

.btn-outline:hover { border-color: var(--amber); color: var(--amber); }

.btn-sm { padding: 0.3rem 0.7rem; font-size: 0.75rem; }

/* ===== EMPTY STATE ===== */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.empty-icon { font-size: 2.5rem; margin-bottom: 1rem; opacity: 0.5; }

.empty-title {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.empty-text {
  font-size: 0.88rem;
  color: var(--mist);
  max-width: 400px;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(26, 23, 20, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  width: 90%;
  max-width: 500px;
  max-height: 85vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}

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

.modal h2 {
  font-family: 'Syne', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

/* ===== MOBILE ===== */
.mobile-header {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0.75rem 1rem;
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--stone);
  justify-content: space-between;
  align-items: center;
}

.mobile-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--ink);
}

.mobile-logo span { color: var(--amber); }

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--ink);
}

.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 45;
}

@media (max-width: 768px) {
  .mobile-header { display: flex; }

  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open { display: block; }

  .main-content {
    margin-left: 0;
    padding-top: 3.5rem;
  }

  .chat-container { padding: 0 1rem; }
  .journey-container, .admin-container { padding: 1rem; }
  .artifacts-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--stone); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--mist); }

/* ===== RATE LIMIT / DAILY LIMIT ===== */
.rate-limit-card {
  text-align: center;
  padding: 1.5rem 1rem;
  background: linear-gradient(135deg, rgba(90, 138, 92, 0.06), rgba(184, 157, 105, 0.08));
  border: 1px solid rgba(184, 157, 105, 0.2);
  border-radius: 12px;
}

.rate-limit-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.rate-limit-text {
  font-size: 0.95rem;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.rate-limit-subtext {
  font-size: 0.82rem;
  color: var(--mist);
  line-height: 1.5;
  margin: 0;
}

.limit-banner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: rgba(184, 157, 105, 0.1);
  border: 1px solid rgba(184, 157, 105, 0.25);
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--body-text);
  margin-bottom: 0.5rem;
  animation: fadeIn 0.3s ease;
}

.limit-banner-icon {
  font-size: 0.9rem;
}

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

.chat-input-wrapper.disabled {
  opacity: 0.6;
  border-color: var(--stone);
}

.chat-input-wrapper.disabled:focus-within {
  border-color: var(--stone);
  box-shadow: none;
}

/* ===== UTILITY ===== */
.hidden { display: none !important; }
.text-amber { color: var(--amber); }
.text-mist { color: var(--mist); }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
