@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300..700;1,9..40,300..700&family=DM+Mono:wght@400;500&display=swap");

:root {
  --brand: #a6be38;
  --brand-dark: #8da02e;
  --brand-subtle: #eef3d6;
  --bg: #f5f4f0;
  --bg-warm: #eceae4;
  --surface: #fff;
  --surface-raised: #fff;
  --text: #2a2a28;
  --text-secondary: #74736e;
  --text-tertiary: #a09f9a;
  --border: #dfddd8;
  --border-light: #eceae6;
  --radius: 8px;
  --radius-sm: 5px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --font: "DM Sans", system-ui, sans-serif;
  --mono: "DM Mono", "SF Mono", monospace;
  --blue: #2563eb;
  --amber: #d97706;
  --red: #dc2626;
  --transition: 0.15s ease;
  --odin: #4a6fa5;
  --odin-dark: #3a5a8a;
  --odin-subtle: #e8eef6;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
}

/* ═══════ HEADER ═══════ */

header {
  background: var(--text);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  position: sticky;
  top: 0;
  z-index: 100;
}

header h1 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

header h1 span {
  color: var(--text-tertiary);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  margin-left: 0.3rem;
}

nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

nav a {
  text-decoration: none;
  color: #a09f9a;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  transition:
    color var(--transition),
    background var(--transition);
}

nav a:hover {
  color: #e0dfda;
}

nav a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

main {
  max-width: 1000px;
  margin: 1.5rem auto;
  padding: 0 1.25rem;
}

main.wide {
  max-width: 1200px;
}

/* ═══════ BUTTONS ═══════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.45rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 550;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand-dark);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--brand-dark);
  box-shadow: var(--shadow);
}

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-secondary {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

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

.btn-small {
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.btn-small:hover {
  background: var(--bg);
  border-color: var(--border);
  color: var(--text);
}

.btn-danger {
  color: var(--red);
  border-color: #fecaca;
}

.btn-danger:hover {
  background: #fef2f2;
  border-color: var(--red);
}

.btn-odin {
  background: var(--odin);
  color: #fff;
  border-color: var(--odin-dark);
}

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

.btn-odin:disabled {
  opacity: 0.5;
  cursor: wait;
}

#logout-btn {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.15);
  color: #a09f9a;
  box-shadow: none;
}

#logout-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #e0dfda;
}

/* ═══════ FORMS ═══════ */

.login-container {
  max-width: 340px;
  margin: 12vh auto 0;
  padding: 2rem;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.login-container h1 {
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.75rem;
  color: var(--brand-dark);
  text-align: center;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.login-container p {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  text-align: center;
  margin-top: -1rem;
  margin-bottom: 1.25rem;
}

.form-group {
  margin-bottom: 0.85rem;
  flex: 1;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 550;
  margin-bottom: 0.3rem;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: var(--font);
  background: var(--surface);
  color: var(--text);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand-subtle);
}

.form-group textarea {
  resize: vertical;
  line-height: 1.55;
}

.form-row {
  display: flex;
  gap: 0.85rem;
}

.form-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.error {
  color: var(--red);
  font-size: 0.8rem;
  margin-top: 0.5rem;
}

.field-hint {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.save-status {
  font-size: 0.8rem;
  color: var(--brand-dark);
  font-family: var(--mono);
}

/* ═══════ LOADER ═══════ */

.loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 0;
  gap: 1.25rem;
}

.loader-blocks {
  display: flex;
  gap: 5px;
  align-items: flex-end;
  height: 40px;
}

.loader-block {
  width: 8px;
  background: var(--brand);
  border-radius: 2px;
  animation: buildUp 1.2s ease-in-out infinite;
}

.loader-block:nth-child(1) {
  height: 12px;
  animation-delay: 0s;
}
.loader-block:nth-child(2) {
  height: 20px;
  animation-delay: 0.1s;
}
.loader-block:nth-child(3) {
  height: 28px;
  animation-delay: 0.2s;
}
.loader-block:nth-child(4) {
  height: 20px;
  animation-delay: 0.3s;
}
.loader-block:nth-child(5) {
  height: 12px;
  animation-delay: 0.4s;
}

@keyframes buildUp {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.4;
  }
  40% {
    transform: scaleY(1.8);
    opacity: 1;
  }
  60% {
    transform: scaleY(1.8);
    opacity: 1;
  }
}

.loader-text {
  font-size: 0.75rem;
  font-family: var(--mono);
  color: var(--text-tertiary);
  letter-spacing: 0.03em;
}

.empty-state {
  color: var(--text-tertiary);
  font-size: 0.85rem;
  padding: 2rem 0;
  text-align: center;
}

/* ═══════ TOOLBAR ═══════ */

.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 1rem;
}

.filters {
  display: flex;
  gap: 0.4rem;
}

.filters select,
.filters input[type="search"] {
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-family: var(--font);
  background: var(--surface);
  color: var(--text-secondary);
  box-shadow: var(--shadow-sm);
}

.filters select:focus,
.filters input[type="search"]:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 2px var(--brand-subtle);
}

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

.page-header h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

/* ═══════ PANEL ═══════ */

.panel {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.panel h3 {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.panel + .panel {
  margin-top: 0.5rem;
}

/* ═══════ DASHBOARD GRID ═══════ */

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 1rem;
  align-items: start;
}

.briefing-panel {
  border-left: 3px solid var(--odin);
  background: #fafbfe;
}

.briefing-panel h3 {
  color: var(--odin-dark) !important;
}

.briefing-content {
  font-size: 0.85rem;
  line-height: 1.7;
  white-space: pre-wrap;
  color: var(--text);
}

.briefing-meta {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--text-tertiary);
  margin-top: 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-light);
}

.sidebar-section h3 {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.sidebar-list li:last-child {
  border-bottom: none;
}

.sidebar-list a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition);
}

.sidebar-list a:hover {
  color: var(--brand-dark);
}

.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  font-size: 0.8rem;
}

.stat-label {
  color: var(--text-secondary);
}

.stat-value {
  font-family: var(--mono);
  font-weight: 500;
  color: var(--text);
}

/* ═══════ CARDS ═══════ */

.card {
  background: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  margin-bottom: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition:
    border-color var(--transition),
    box-shadow var(--transition);
}

.card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
}

.card-clickable {
  cursor: pointer;
}

.card h3 {
  font-size: 0.88rem;
  font-weight: 550;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin-bottom: 0.15rem;
}

.card-meta {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  font-family: var(--mono);
}

.card-body {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  line-height: 1.5;
}

/* Status badges */
.badge {
  font-family: var(--mono);
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 3px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.5;
  display: inline-block;
}

.badge-active {
  color: var(--brand-dark);
  background: var(--brand-subtle);
}
.badge-on_hold {
  color: var(--amber);
  background: #fef9ee;
}
.badge-complete {
  color: var(--text-tertiary);
  background: var(--bg-warm);
}
.badge-draft {
  color: var(--blue);
  background: #eff5ff;
}
.badge-final {
  color: var(--brand-dark);
  background: var(--brand-subtle);
}
.badge-playbook {
  color: var(--odin-dark);
  background: var(--odin-subtle);
}
.badge-lesson {
  color: var(--amber);
  background: #fef9ee;
}
.badge-template {
  color: var(--brand-dark);
  background: var(--brand-subtle);
}
.badge-reference {
  color: var(--text-secondary);
  background: var(--bg-warm);
}

/* ═══════ PROJECT VIEW ═══════ */

.project-header {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.project-header h2 {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1rem;
  align-items: start;
}

.budget-bar {
  height: 6px;
  background: var(--bg-warm);
  border-radius: 3px;
  overflow: hidden;
  margin: 0.4rem 0;
}

.budget-bar-fill {
  height: 100%;
  background: var(--brand);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.budget-bar-fill.over {
  background: var(--red);
}

.cost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.cost-table th {
  text-align: left;
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--text-tertiary);
  letter-spacing: 0.06em;
  font-weight: 600;
  padding: 0.3rem 0.5rem;
  border-bottom: 1px solid var(--border);
}

.cost-table td {
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.cost-table .amount {
  font-family: var(--mono);
  text-align: right;
}

.cost-delete {
  background: none;
  border: none;
  color: var(--text-tertiary);
  cursor: pointer;
  font-size: 0.7rem;
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  opacity: 0;
  transition:
    opacity 0.15s,
    color 0.15s;
}

tr:hover .cost-delete {
  opacity: 1;
}

.cost-delete:hover {
  color: var(--red);
}

/* ═══════ AGENDA VIEW ═══════ */

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

.agenda-controls {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.agenda-section {
  margin-bottom: 1rem;
}

.agenda-section h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-bottom: 0.4rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--border-light);
}

.task-list {
  list-style: none;
}

.task-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.85rem;
}

.task-item:last-child {
  border-bottom: none;
}

.task-checkbox {
  margin-top: 0.2rem;
  cursor: pointer;
  accent-color: var(--brand);
}

.task-text {
  flex: 1;
  color: var(--text);
}

.task-text.done {
  text-decoration: line-through;
  color: var(--text-tertiary);
}

.task-weeks {
  font-family: var(--mono);
  font-size: 0.65rem;
  color: var(--text-tertiary);
  white-space: nowrap;
}

.task-weeks.stale {
  color: var(--red);
  font-weight: 600;
}

.task-assignee {
  font-size: 0.72rem;
  color: var(--text-tertiary);
  font-family: var(--mono);
  white-space: nowrap;
}

.flag-item {
  padding: 0.4rem 0.65rem;
  background: #fef9ee;
  border-left: 3px solid var(--amber);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

/* ═══════ ASK ODIN ═══════ */

.ask-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 1rem;
  align-items: start;
  min-height: calc(100vh - 120px);
}

.conversation-sidebar {
  position: sticky;
  top: 64px;
}

.conversation-list {
  list-style: none;
}

.conversation-list li {
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.conversation-list li:hover {
  background: var(--bg-warm);
}

.conversation-list li.active {
  background: var(--brand-subtle);
  color: var(--brand-dark);
  font-weight: 550;
}

.chat-area {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 120px);
}

.chat-messages {
  flex: 1;
  padding-bottom: 1rem;
}

.chat-msg {
  margin-bottom: 0.75rem;
  max-width: 85%;
}

.chat-msg.user {
  margin-left: auto;
}

.chat-msg-content {
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  line-height: 1.6;
  white-space: pre-wrap;
}

.chat-msg.user .chat-msg-content {
  background: var(--brand-subtle);
  color: var(--text);
  border-bottom-right-radius: 2px;
}

.chat-msg.assistant .chat-msg-content {
  background: var(--surface);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  border-bottom-left-radius: 2px;
}

.chat-msg-meta {
  font-size: 0.65rem;
  color: var(--text-tertiary);
  font-family: var(--mono);
  margin-top: 0.2rem;
}

.chat-msg.user .chat-msg-meta {
  text-align: right;
}

.chat-input {
  position: sticky;
  bottom: 0;
  background: var(--bg);
  padding: 0.75rem 0;
  display: flex;
  gap: 0.5rem;
}

.chat-input textarea {
  flex: 1;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-family: var(--font);
  resize: none;
  min-height: 42px;
  max-height: 120px;
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}

.chat-input textarea:focus {
  outline: none;
  border-color: var(--odin);
  box-shadow: 0 0 0 2px var(--odin-subtle);
}

/* ═══════ LIBRARY ═══════ */

.library-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.5rem;
}

.library-card {
  cursor: pointer;
}

.library-card-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.library-card-preview {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.5;
  max-height: 4.5em;
  overflow: hidden;
  position: relative;
}

.library-card-preview::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2em;
  background: linear-gradient(transparent, var(--surface));
}

.library-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  color: var(--text-tertiary);
  font-family: var(--mono);
}

/* ═══════ SETTINGS ═══════ */

.settings-grid {
  display: grid;
  gap: 1rem;
}

.settings-section h3 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-tertiary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.connection-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  padding: 0.4rem 0;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-dot.connected {
  background: var(--brand);
}

.status-dot.disconnected {
  background: var(--red);
}

.status-dot.unknown {
  background: var(--text-tertiary);
}

/* ═══════ ODIN PANEL ═══════ */

.odin-panel {
  border-left: 3px solid var(--odin);
  background: #fafbfe;
}

.odin-panel h3 {
  color: var(--odin-dark) !important;
}

.odin-status {
  font-size: 0.72rem;
  color: var(--odin-dark);
  font-style: italic;
  font-family: var(--mono);
  min-height: 1em;
  margin: 0.2rem 0;
}

/* ═══════ MARKDOWN ═══════ */

.md-h {
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0.75rem 0 0.3rem;
  color: var(--text);
}

h3.md-h {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.md-p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.md-ul {
  margin: 0.3rem 0 0.5rem 1.2rem;
  list-style: disc;
}

.md-li {
  margin-bottom: 0.2rem;
  line-height: 1.5;
}

.md-code {
  font-family: var(--mono);
  font-size: 0.82em;
  background: var(--bg-warm);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}

/* ═══════ MODAL ═══════ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  animation: fadeIn 0.15s ease;
}

.modal {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.25rem;
  width: 100%;
  max-width: 520px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  animation: modalIn 0.2s ease;
  max-height: 80vh;
  overflow-y: auto;
}

.modal h3 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

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

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

/* ═══════ BACK LINK ═══════ */

.back-link {
  color: var(--text-tertiary);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: color var(--transition);
  display: inline-block;
  margin-bottom: 0.75rem;
}

.back-link:hover {
  color: var(--brand-dark);
}

/* ═══════ RESPONSIVE ═══════ */

@media (max-width: 768px) {
  header {
    padding: 0 1rem;
  }

  header h1 {
    font-size: 0.75rem;
  }

  header h1 span {
    display: none;
  }

  nav a {
    font-size: 0.72rem;
    padding: 0.3rem 0.4rem;
  }

  .dashboard-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .ask-layout {
    grid-template-columns: 1fr;
  }

  .conversation-sidebar {
    position: static;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

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