@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
  color-scheme: light;
  --bg: #f4f5f7;
  --panel: #ffffff;
  --accent: #f7941d;
  --accent-soft: #ffe7c5;
  --ink: #0f2b3a;
  --muted: #5f6b76;
  --line: #e4e8ee;
  --shadow: 0 18px 45px rgba(15, 43, 58, 0.08);
  --radius: 28px;
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
}

.app {
  min-height: 100vh;
  padding: 32px 24px 48px;
}

.topbar {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 18px 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--muted);
  margin: 0 0 8px;
}

h1 {
  font-family: var(--font-head);
  font-size: 34px;
  margin: 0 0 8px;
}

.subhead {
  margin: 0;
  color: var(--muted);
}


.workspace {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.chat {
  background: var(--panel);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 70vh;
  max-height: 70vh;
}

.chat-window {
  flex: 1;
  overflow-y: auto;
  padding-right: 6px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message {
  max-width: 78%;
  padding: 14px 16px;
  border-radius: 18px;
  position: relative;
  animation: rise 0.3s ease;
}

.message.user {
  align-self: flex-end;
  background: var(--accent);
  color: white;
}

.message.bot {
  align-self: flex-start;
  background: #f7fafc;
  border: 1px solid var(--line);
  color: var(--ink);
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.hidden {
  display: none;
}

.quick-actions button {
  border: none;
  background: var(--accent-soft);
  color: #9a5b08;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  font-weight: 600;
}

.chat-input {
  display: flex;
  gap: 12px;
}

.chat-input input {
  flex: 1;
  border-radius: 14px;
  border: 1px solid var(--line);
  padding: 12px 16px;
  font-size: 15px;
}

.chat-input button {
  border: none;
  background: var(--accent);
  color: white;
  padding: 12px 24px;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 600;
}

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

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

  .topbar {
    flex-direction: column;
  }
}
