/* ============================================================
   Nexus — Custom CSS
   Palette: deep slate background, warm off-white text,
   muted teal accents. No frameworks.
   ============================================================ */

:root {
  --bg:           #0f1117;
  --surface:      #171b26;
  --surface-alt:  #1e2333;
  --border:       #2a2f42;
  --text:         #d8dce8;
  --text-muted:   #7a8099;
  --accent:       #5c9e8a;       /* muted teal */
  --accent-hover: #6db8a2;
  --accent-dim:   #2a4a42;
  --danger:       #c0504d;
  --tag-bg:       #252b3b;
  --radius:       6px;
  --radius-lg:    10px;
  --font:         "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono:    "JetBrains Mono", "Fira Code", monospace;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* ── Layout ─────────────────────────────────────────────────── */
.layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
}

/* ── Sidebar nav ─────────────────────────────────────────────── */
.sidebar {
  grid-row: 1 / -1;
  background: var(--surface);
  border-right: 1px solid var(--border);
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.sidebar-logo {
  padding: 0 1.5rem 2rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text);
  text-transform: uppercase;
}

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

.nav-section {
  padding: 0.25rem 0;
}

.nav-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  padding: 0.75rem 1.5rem 0.25rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.15s, background 0.15s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
  background: var(--surface-alt);
}

.nav-link .icon {
  width: 16px;
  opacity: 0.7;
  font-style: normal;
}

.sidebar-bottom {
  margin-top: auto;
  padding: 1rem 1.5rem;
}

.btn-capture {
  display: block;
  text-align: center;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  transition: background 0.15s;
}

.btn-capture:hover {
  background: var(--accent-hover);
  color: #fff;
}

/* ── Main content ────────────────────────────────────────────── */
.main {
  padding: 2.5rem 3rem;
  max-width: 900px;
}

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

.page-title {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.page-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ── Stat row (dashboard) ───────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.35rem;
}

/* ── Card grid ──────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  transition: border-color 0.15s;
}

.card:hover {
  border-color: var(--accent-dim);
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.card-title a { color: inherit; }
.card-title a:hover { color: var(--accent); }

.card-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.card-body {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Tags / badges ──────────────────────────────────────────── */
.badge {
  display: inline-block;
  background: var(--tag-bg);
  color: var(--text-muted);
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.badge--accent {
  background: var(--accent-dim);
  color: var(--accent);
}

/* ── Section headings inside pages ─────────────────────────── */
.section {
  margin-bottom: 2.5rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
}

.section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem;
}

/* ── Concept detail ─────────────────────────────────────────── */
.concept-header {
  margin-bottom: 2rem;
}

.concept-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.concept-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 1rem;
}

/* Relationship list */
.rel-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.rel-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.rel-type {
  font-size: 0.7rem;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  white-space: nowrap;
}

.rel-arrow {
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* ── Forms ──────────────────────────────────────────────────── */
.form {
  max-width: 560px;
}

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

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

label .optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-left: 0.3rem;
}

input[type="text"],
input[type="url"],
textarea,
select {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  padding: 0.6rem 0.85rem;
  transition: border-color 0.15s;
  outline: none;
  appearance: none;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
}

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

select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237a8099' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  padding-right: 2.5rem;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--accent);
}

/* ── Inline form (on concept detail) ───────────────────────── */
.inline-form {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-top: 1rem;
}

.inline-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.inline-form .form-row-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.75rem;
}

/* ── Search ─────────────────────────────────────────────────── */
.search-bar {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.search-bar input {
  flex: 1;
  font-size: 1rem;
  padding: 0.7rem 1rem;
}

.search-results-section {
  margin-bottom: 2rem;
}

.search-results-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.empty-state {
  padding: 3rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
}

/* ── Resource item (list) ───────────────────────────────────── */
.resource-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.resource-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  transition: border-color 0.15s;
}

.resource-item:hover {
  border-color: var(--accent-dim);
}

.resource-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.resource-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 1rem;
  align-items: center;
}

.resource-url {
  color: var(--accent);
  font-size: 0.8rem;
  word-break: break-all;
}

.resource-summary {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Note items ─────────────────────────────────────────────── */
.note-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.note-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-dim);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
}

.note-type-badge {
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.note-body {
  color: var(--text-muted);
  line-height: 1.5;
}

/* ── Pagination ─────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pagination-btn {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: border-color 0.15s, color 0.15s;
}

a.pagination-btn:hover {
  color: var(--text);
  border-color: var(--accent);
}

.pagination-btn--disabled {
  opacity: 0.35;
  cursor: default;
}

.pagination-info {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Delete / icon buttons ──────────────────────────────────── */
.btn-icon-delete {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 0.2rem 0.4rem;
  border-radius: var(--radius);
  line-height: 1;
  transition: color 0.15s, background 0.15s;
}

.btn-icon-delete:hover {
  color: var(--danger);
  background: rgba(192, 80, 77, 0.1);
}

.btn-danger {
  background: transparent;
  color: var(--danger);
  border: 1px solid var(--danger);
}

.btn-danger:hover {
  background: var(--danger);
  color: #fff;
}

/* ── Danger zone (on edit pages) ────────────────────────────── */
.danger-zone {
  border: 1px solid rgba(192, 80, 77, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  max-width: 560px;
}

.danger-zone-title {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--danger);
  margin-bottom: 0.4rem;
}

/* ── Graph page ─────────────────────────────────────────────── */
#graph-container {
  width: 100%;
  height: 620px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
  position: relative;
  cursor: grab;
}

#graph-container:active { cursor: grabbing; }

.graph-tooltip {
  position: absolute;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  color: var(--text);
  pointer-events: none;
  z-index: 10;
  white-space: nowrap;
}

.graph-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

/* ── Inline editing ──────────────────────────────────────────── */
.inline-edit-block { position: relative; }

.inline-edit-display {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.inline-edit-display .concept-description { flex: 1; margin-top: 0; }

.inline-edit-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 0.15rem 0.3rem;
  border-radius: var(--radius);
  opacity: 0;
  transition: opacity 0.15s, color 0.15s;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.inline-edit-block:hover .inline-edit-btn { opacity: 1; }
.inline-edit-btn:hover { color: var(--accent); }

.inline-edit-textarea {
  width: 100%;
  background: var(--surface-alt);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.9rem;
  padding: 0.6rem 0.85rem;
  resize: vertical;
  outline: none;
  min-height: 80px;
}

/* Note inline edit textarea inherits same style */
.note-edit-textarea {
  width: 100%;
  background: var(--surface-alt);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.875rem;
  padding: 0.6rem 0.85rem;
  resize: vertical;
  outline: none;
  min-height: 90px;
}

/* Rendered markdown inside notes */
.note-rendered p { margin: 0 0 0.5rem; color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }
.note-rendered p:last-child { margin-bottom: 0; }
.note-rendered h1,.note-rendered h2,.note-rendered h3 { color: var(--text); font-size: 0.95rem; margin: 0.5rem 0 0.25rem; }
.note-rendered ul,.note-rendered ol { color: var(--text-muted); font-size: 0.875rem; padding-left: 1.25rem; margin: 0.25rem 0; }
.note-rendered code { background: var(--surface-alt); border-radius: 3px; padding: 0.1rem 0.35rem; font-family: var(--font-mono); font-size: 0.8em; color: var(--accent); }
.note-rendered pre { background: var(--surface-alt); border-radius: var(--radius); padding: 0.75rem 1rem; overflow-x: auto; margin: 0.5rem 0; }
.note-rendered pre code { background: none; padding: 0; }
.note-rendered blockquote { border-left: 3px solid var(--accent-dim); padding-left: 0.75rem; color: var(--text-muted); margin: 0.5rem 0; font-style: italic; }
.note-rendered strong { color: var(--text); font-weight: 600; }
.note-rendered a { color: var(--accent); }

/* ── Export page ─────────────────────────────────────────────── */
.export-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 680px;
}

.export-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: border-color 0.15s;
}

.export-card:hover { border-color: var(--accent-dim); }

.export-icon {
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--accent);
  background: var(--accent-dim);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.export-info { flex: 1; }

.export-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.35rem;
}

.export-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.export-desc code {
  background: var(--surface-alt);
  border-radius: 3px;
  padding: 0.1rem 0.3rem;
  font-family: var(--font-mono);
  font-size: 0.8em;
}

/* ── AI panels ──────────────────────────────────────────────── */
.ai-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

.ai-panel-body {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.75;
  white-space: pre-wrap;
  font-family: var(--font);
}

.ai-status {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
}

.suggestion-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
}

.suggestion-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.suggestion-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.suggestion-name:hover { color: var(--accent); }

.suggestion-reason {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.ask-form {
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.ask-history-entry {
  border-top: 1px solid var(--border);
  padding: 1.25rem 0;
}

.ask-history-q {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.ask-history-a {
  font-size: 0.875rem;
  color: var(--text-muted);
  white-space: pre-wrap;
  line-height: 1.65;
}

/* ── Similar items (embedding similarity) ───────────────────── */
.similar-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.similar-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.85rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 0.875rem;
  transition: border-color 0.15s;
}

.similar-item:hover {
  border-color: var(--accent-dim);
  color: var(--text);
}

.similar-name {
  flex: 1;
  font-weight: 500;
}

/* ── Search mode toggle ─────────────────────────────────────── */
.search-mode-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.mode-btn {
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.15s;
}

.mode-btn:hover { color: var(--text); border-color: var(--accent); }

.mode-btn--active {
  background: var(--accent-dim);
  color: var(--accent);
  border-color: var(--accent-dim);
}

/* ── Insights page ──────────────────────────────────────────── */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.insights-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

.insights-card--warn {
  border-color: rgba(192, 80, 77, 0.2);
}

.insights-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.insights-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.insights-bar-row:last-child { border-bottom: none; }

.insights-bar-label { color: var(--text); }
.insights-bar-count { color: var(--accent); font-weight: 600; font-size: 0.8rem; }

.insights-chart-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
}

.insights-embed-status {
  margin-bottom: 1.5rem;
}

/* Tag leaderboard */
.tag-leaderboard {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.tag-lb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.25rem 0;
}

.tag-lb-count {
  min-width: 2rem;
  text-align: right;
}

/* Most connected */
.connected-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.connected-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.875rem;
}

.connected-name {
  font-weight: 600;
  color: var(--text);
}

.connected-name:hover { color: var(--accent); }

.connected-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Needs attention */
.attention-item {
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.attention-item:last-child { border-bottom: none; }
.attention-item a { color: var(--text); }
.attention-item a:hover { color: var(--accent); }

/* ── Utility ────────────────────────────────────────────────── */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.85rem; }
.flex { display: flex; }
.gap-2 { gap: 0.75rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
