/* =============================================
   CLAUDETTE DASHBOARD — Dark Theme
   Accent: #FF6B4A (coral/orange)
   ============================================= */

:root {
  --bg: #141416;
  --bg2: #1c1c20;
  --bg3: #242428;
  --bg4: #2e2e34;
  --border: #35353d;
  --text: #e8e8f0;
  --text-muted: #8888a0;
  --text-dim: #555568;
  --accent: #FF6B4A;
  --accent-dim: rgba(255, 107, 74, 0.15);
  --accent-glow: rgba(255, 107, 74, 0.3);
  --green: #4ade80;
  --green-dim: rgba(74, 222, 128, 0.12);
  --yellow: #facc15;
  --yellow-dim: rgba(250, 204, 21, 0.12);
  --red: #f87171;
  --red-dim: rgba(248, 113, 113, 0.12);
  --gray: #555568;
  --gray-dim: rgba(85, 85, 104, 0.15);
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'SF Mono', 'Fira Code', 'Cascadia Code', Consolas, monospace;
}

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

html { font-size: 15px; }

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

.hidden { display: none !important; }

/* =============================================
   AUTH SCREEN
   ============================================= */

#auth-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: var(--bg);
  background-image: radial-gradient(ellipse at 50% 0%, rgba(255,107,74,0.08) 0%, transparent 60%);
}

.auth-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow), 0 0 60px rgba(255,107,74,0.05);
  text-align: center;
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 0.5rem;
}

.auth-logo h1 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.auth-subtitle {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.auth-form input {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  letter-spacing: 0.05em;
}

.auth-form input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-dim);
}

.auth-form button {
  background: var(--accent);
  border: none;
  border-radius: var(--radius-sm);
  color: #fff;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem;
  transition: background 0.15s, transform 0.1s;
}

.auth-form button:hover { background: #ff7d60; }
.auth-form button:active { transform: scale(0.98); }

.auth-hint {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.auth-hint code {
  background: var(--bg4);
  border-radius: 4px;
  padding: 1px 5px;
  font-family: var(--font-mono);
  color: var(--text-muted);
}

/* =============================================
   TOPBAR
   ============================================= */

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 52px;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
}

.topbar-title {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.topbar-sub {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 400;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.last-updated {
  color: var(--text-dim);
  font-size: 0.78rem;
  font-family: var(--font-mono);
}

/* =============================================
   LAYOUT
   ============================================= */

.dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1.25rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  min-width: 0;
}

.section.full-width {
  grid-column: 1 / -1;
}

.section.half-width {
  grid-column: span 1;
}

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

.section-header h2 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-badge {
  background: var(--bg4);
  border-radius: 999px;
  color: var(--text-muted);
  font-size: 0.75rem;
  padding: 2px 10px;
}

.refresh-btn {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.78rem;
  padding: 4px 10px;
  transition: all 0.15s;
}

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

/* =============================================
   STATUS DOTS
   ============================================= */

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

.dot-green { background: var(--green); box-shadow: 0 0 6px var(--green); }
.dot-red { background: var(--red); box-shadow: 0 0 6px var(--red); }
.dot-yellow { background: var(--yellow); box-shadow: 0 0 6px var(--yellow); }
.dot-gray { background: var(--gray); }

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gray);
  transition: background 0.3s;
}

.status-dot.ok { background: var(--green); box-shadow: 0 0 8px var(--green); }
.status-dot.err { background: var(--red); box-shadow: 0 0 8px var(--red); }

/* =============================================
   STATUS CARDS
   ============================================= */

.status-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
}

.status-card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: border-color 0.2s;
}

.status-card:hover { border-color: var(--bg4); }

.status-card-icon {
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
  line-height: 1;
}

.status-card-body {
  flex: 1;
  min-width: 0;
}

.status-card-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.status-card-value {
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.status-card.is-ok { border-color: rgba(74,222,128,0.2); }
.status-card.is-ok .status-card-icon { color: var(--green); }
.status-card.is-warn { border-color: rgba(250,204,21,0.2); }
.status-card.is-warn .status-card-icon { color: var(--yellow); }
.status-card.is-err { border-color: rgba(248,113,113,0.2); }
.status-card.is-err .status-card-icon { color: var(--red); }

/* =============================================
   USAGE STATS
   ============================================= */

.usage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.usage-stat {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
}

.usage-stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-family: var(--font-mono);
  margin-bottom: 2px;
}

.usage-stat-value.accent { color: var(--accent); }

.usage-stat-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =============================================
   BAR CHART
   ============================================= */

.chart-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 80px;
  padding: 4px 0;
}

.chart-loading {
  color: var(--text-dim);
  font-size: 0.8rem;
  align-self: center;
  width: 100%;
  text-align: center;
}

.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}

.bar-fill {
  width: 100%;
  background: var(--accent);
  border-radius: 3px 3px 0 0;
  opacity: 0.7;
  min-height: 2px;
  transition: opacity 0.2s;
  position: relative;
}

.bar-fill:hover { opacity: 1; }
.bar-fill.today { opacity: 1; background: var(--accent); }
.bar-fill.empty { background: var(--bg4); opacity: 1; }

.bar-day {
  color: var(--text-dim);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.bar-day.today { color: var(--accent); }

/* =============================================
   ACTIVITY FEED
   ============================================= */

.feed {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--bg4) transparent;
}

.feed-loading {
  color: var(--text-dim);
  font-size: 0.85rem;
  padding: 1rem;
  text-align: center;
}

.feed-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  transition: border-color 0.15s;
}

.feed-item:hover { border-color: var(--bg4); }

.feed-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.feed-item-title {
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 70%;
}

.feed-item-time {
  color: var(--text-dim);
  font-size: 0.72rem;
  font-family: var(--font-mono);
  flex-shrink: 0;
}

.feed-item-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feed-tag {
  background: var(--bg4);
  border-radius: 4px;
  color: var(--text-muted);
  font-size: 0.7rem;
  font-family: var(--font-mono);
  padding: 1px 6px;
}

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

.feed-msg {
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 0.35rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =============================================
   CRON JOBS
   ============================================= */

.cron-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--bg4) transparent;
}

.cron-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.cron-dot-wrap {
  padding-top: 3px;
  flex-shrink: 0;
}

.cron-body { flex: 1; min-width: 0; }

.cron-name {
  font-size: 0.87rem;
  font-weight: 500;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cron-schedule {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 4px;
}

.cron-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cron-meta-item {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.cron-meta-item span {
  color: var(--text-muted);
}

/* =============================================
   CONFIG GRID
   ============================================= */

.config-grid {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.config-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

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

.config-key {
  color: var(--text-muted);
  font-size: 0.78rem;
  flex: 0 0 130px;
  flex-shrink: 0;
}

.config-val {
  font-size: 0.82rem;
  font-family: var(--font-mono);
  color: var(--text);
  word-break: break-all;
  flex: 1;
}

.config-val.accent { color: var(--accent); }
.config-val.green { color: var(--green); }
.config-val.muted { color: var(--text-muted); }

/* =============================================
   EMPTY STATES + ERRORS
   ============================================= */

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

.error-state {
  text-align: center;
  padding: 1.5rem 1rem;
  color: var(--red);
  font-size: 0.82rem;
  background: var(--red-dim);
  border-radius: var(--radius-sm);
}

/* =============================================
   SCROLLBARS
   ============================================= */

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--bg4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--border); }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 768px) {
  .dashboard {
    grid-template-columns: 1fr;
    padding: 0.75rem;
    gap: 0.75rem;
  }

  .section.full-width,
  .section.half-width {
    grid-column: 1;
  }

  .status-cards {
    grid-template-columns: 1fr 1fr;
  }

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

  .topbar {
    padding: 0 1rem;
  }

  .last-updated {
    display: none;
  }
}

@media (max-width: 480px) {
  .status-cards {
    grid-template-columns: 1fr;
  }

  .topbar-sub {
    display: none;
  }
}

/* =============================================
   ANIMATIONS
   ============================================= */

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.loading { animation: pulse 1.5s ease-in-out infinite; }

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

.feed-item, .cron-item, .status-card {
  animation: fadein 0.25s ease;
}

/* =============================================
   NAV TABS
   ============================================= */

.topbar-nav {
  display: flex;
  gap: 0.25rem;
}

.nav-tab {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.2s;
}

.nav-tab:hover { color: var(--text); }
.nav-tab.active { color: var(--accent); border-bottom-color: var(--accent); }

.tab-content { display: none; }
.tab-content.active { display: grid; }

/* =============================================
   CHART TOOLTIP
   ============================================= */

.chart-tooltip {
  display: none;
  position: absolute;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.7rem;
  font-size: 0.78rem;
  color: var(--text);
  pointer-events: none;
  z-index: 10;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.chart-tooltip strong { color: var(--accent); }

/* =============================================
   MUSHROOM DIARIES
   ============================================= */

.mushroom-diaries {
  display: flex !important;
  flex-direction: column;
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.25rem;
  min-height: calc(100vh - 52px);
}

.mushroom-diaries.active { display: flex !important; }

.diaries-header {
  text-align: center;
  padding: 2rem 0 1.5rem;
}

.diaries-header h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.35rem;
}

.diaries-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

.diaries-layout {
  display: flex;
  gap: 1.25rem;
  flex: 1;
  min-height: 0;
}

/* Sidebar */
.diaries-sidebar {
  width: 280px;
  flex-shrink: 0;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.75rem;
  overflow-y: auto;
  max-height: calc(100vh - 180px);
  scrollbar-width: thin;
  scrollbar-color: var(--bg4) transparent;
}

.sidebar-loading {
  color: var(--text-dim);
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.85rem;
}

.sidebar-phase {
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 0.5rem 0.35rem;
  border-top: 1px solid var(--border);
}

.sidebar-phase:first-child { border-top: none; padding-top: 0.35rem; }

.sidebar-episode {
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
  margin-bottom: 2px;
}

.sidebar-episode:hover { background: var(--bg3); }
.sidebar-episode.active { background: var(--accent-dim); border-left: 3px solid var(--accent); }

.sidebar-ep-num {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sidebar-ep-title {
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 1px;
  line-height: 1.3;
}

.sidebar-ep-meta {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 2px;
}

/* Reader */
.diaries-reader {
  flex: 1;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow-y: auto;
  max-height: calc(100vh - 180px);
  scrollbar-width: thin;
  scrollbar-color: var(--bg4) transparent;
}

.reader-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400px;
  color: var(--text-dim);
}

.reader-empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.reader-empty h2 { font-size: 1.1rem; margin-bottom: 0.3rem; color: var(--text-muted); }
.reader-empty p { font-size: 0.85rem; }

.reader-hero {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
  border-radius: var(--radius) var(--radius) 0 0;
}

.reader-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 2rem 1.5rem;
  background: linear-gradient(transparent, rgba(20,20,22,0.95));
}

.reader-hero-badge {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

.reader-hero-title {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.reader-body {
  padding: 2rem 2.5rem;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
}

.reader-body h1 { display: none; }
.reader-body h2 { font-size: 1.3rem; margin: 2rem 0 0.75rem; color: var(--accent); font-weight: 600; }
.reader-body h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; color: var(--text); }
.reader-body p { margin-bottom: 1rem; }
.reader-body hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.reader-body strong { color: #fff; font-weight: 600; }
.reader-body em { color: var(--text-muted); font-style: italic; }

.reader-footer {
  padding: 1.5rem 2.5rem 2rem;
  border-top: 1px solid var(--border);
}

.reader-footer-meta {
  color: var(--text-dim);
  font-size: 0.78rem;
  margin-bottom: 1rem;
}

.reader-footer-nav {
  display: flex;
  justify-content: space-between;
}

.reader-nav-btn {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.82rem;
  padding: 0.5rem 1rem;
  transition: all 0.15s;
}

.reader-nav-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Responsive for Mushroom Diaries */
@media (max-width: 768px) {
  .diaries-layout { flex-direction: column; }
  .diaries-sidebar { width: 100%; max-height: 200px; }
  .diaries-reader { max-height: none; }
  .reader-body { padding: 1.5rem 1.25rem; }
  .reader-hero { height: 200px; }
  .reader-hero-title { font-size: 1.3rem; }
  .topbar-nav { gap: 0; }
  .nav-tab { padding: 0.5rem 0.6rem; font-size: 0.78rem; }
}

/* =============================================
   CHART CONTAINERS
   ============================================= */

.chart-container {
  position: relative;
  width: 100%;
}

.chart-container canvas {
  display: block;
  width: 100%;
}

/* =============================================
   DATE NAVIGATION
   ============================================= */

.date-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-btn {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 2px 10px;
  transition: all 0.15s;
  line-height: 1.4;
}

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

.date-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  min-width: 120px;
  text-align: center;
}

/* =============================================
   CHART LEGEND
   ============================================= */

.chart-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.75rem;
  justify-content: center;
}

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

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* =============================================
   MODEL BREAKDOWN
   ============================================= */

#model-breakdown {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.model-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.model-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.model-name {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 500;
}

.model-stats {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.model-bar-bg {
  background: var(--bg3);
  border-radius: 4px;
  height: 8px;
  overflow: hidden;
  width: 100%;
}

.model-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.4s ease;
}

.model-pct {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  text-align: right;
}
