/* ============================================
   TABOR DASHBOARD v2.0 — Retro Pixel-Art RPG Theme
   Xena • Gabriella • Ephiny
   ============================================ */

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

:root {
  --bg-dark: #0c1210;
  --bg-panel: #1a1a2e;
  --bg-sub: #0f1624;
  --border-gold: #c8a84e;
  --border-gold-dim: #8a7333;
  --text-gold: #e8c547;
  --text-light: #d4d4c8;
  --text-muted: #6b7b6b;
  --accent-green: #4ade80;
  --accent-red: #ef4444;
  --accent-amber: #f59e0b;
  --accent-purple: #a78bfa;
  --accent-blue: #60a5fa;
  --accent-amazon: #8b5a3a;
  --bar-green: linear-gradient(90deg, #22c55e, #4ade80);
  --bar-red: linear-gradient(90deg, #dc2626, #ef4444);
  --bar-purple: linear-gradient(90deg, #7c3aed, #a78bfa);
  --bar-amber: linear-gradient(90deg, #d97706, #f59e0b);
  --bar-blue: linear-gradient(90deg, #2563eb, #60a5fa);
  --pixel: 1px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Press Start 2P', cursive;
  background-color: var(--bg-dark);
  color: var(--text-light);
  min-height: 100vh;
  line-height: 1.8;
  image-rendering: pixelated;
  -webkit-font-smoothing: none;
  position: relative;
  overflow-x: hidden;
}

/* --- Background Scene --- */
.bg-scene {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.bg-mountains {
  position: absolute;
  bottom: 20%;
  left: 0;
  width: 100%;
  height: 40%;
  background:
    linear-gradient(135deg, transparent 33%, #1a2a3a 33%, #1a2a3a 40%, transparent 40%),
    linear-gradient(225deg, transparent 33%, #15253a 33%, #15253a 42%, transparent 42%),
    linear-gradient(160deg, transparent 45%, #1a2840 45%, #1a2840 55%, transparent 55%);
  opacity: 0.3;
}

.bg-trees {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background:
    radial-gradient(ellipse 30px 40px at 5% 80%, #1a3a1c 50%, transparent 51%),
    radial-gradient(ellipse 40px 50px at 15% 75%, #0f2a10 50%, transparent 51%),
    radial-gradient(ellipse 25px 35px at 25% 82%, #1a3a1c 50%, transparent 51%),
    radial-gradient(ellipse 35px 45px at 40% 78%, #0f2a10 50%, transparent 51%),
    radial-gradient(ellipse 30px 40px at 55% 80%, #1a3a1c 50%, transparent 51%),
    radial-gradient(ellipse 40px 55px at 70% 76%, #0f2a10 50%, transparent 51%),
    radial-gradient(ellipse 25px 35px at 80% 82%, #1a3a1c 50%, transparent 51%),
    radial-gradient(ellipse 35px 45px at 92% 78%, #0f2a10 50%, transparent 51%);
  opacity: 0.2;
}

.bg-ground {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8%;
  background: linear-gradient(to bottom, #1a2a12, #0f1a0a);
  opacity: 0.4;
}

/* --- Header --- */
.header {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  background: linear-gradient(to bottom, #12121f, #1a1a2e);
  border-bottom: 4px solid var(--border-gold);
  box-shadow: 0 4px 0 var(--border-gold-dim), 0 8px 20px rgba(0,0,0,0.6);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-icon {
  filter: drop-shadow(0 0 4px rgba(232, 197, 71, 0.4));
}

.header-title h1 {
  font-size: 24px;
  color: var(--text-gold);
  letter-spacing: 5px;
  text-shadow: 3px 3px 0 #000, -1px -1px 0 #000, 0 0 10px rgba(232,197,71,0.3);
}

.header-subtitle {
  font-size: 8px;
  color: var(--text-muted);
  display: block;
  margin-top: 3px;
}

.header-center {
  flex: 0 0 auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-day {
  font-size: 10px;
  color: var(--text-gold);
  text-align: right;
  text-shadow: 1px 1px 0 #000;
}

/* --- Agent Heartbeats --- */
.agent-heartbeats {
  display: flex;
  gap: 16px;
}

.heartbeat-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 4px 10px;
  border: 2px solid var(--border-gold-dim);
  background: rgba(0,0,0,0.3);
  transition: border-color 0.3s;
}

.heartbeat-dot.alive {
  border-color: var(--accent-green);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.2);
}

.heartbeat-dot.stale {
  border-color: var(--accent-red);
  opacity: 0.6;
}

.hb-icon {
  font-size: 14px;
}

.hb-time {
  font-size: 6px;
  color: var(--text-muted);
}

.heartbeat-dot.alive .hb-time {
  color: var(--accent-green);
}

.heartbeat-dot.stale .hb-time {
  color: var(--accent-red);
}

/* Campfire animation */
.campfire {
  position: relative;
  width: 24px;
  height: 32px;
}

.campfire-logs {
  position: absolute;
  bottom: 0;
  left: 2px;
  width: 20px;
  height: 6px;
  background: #5c3a1e;
  border-radius: 1px;
}

.campfire-logs::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: -2px;
  width: 24px;
  height: 4px;
  background: #7a4f2e;
  transform: rotate(-15deg);
}

.flame {
  position: absolute;
  bottom: 6px;
  border-radius: 0 50% 50% 50%;
  transform: rotate(-45deg);
  animation: flicker 0.3s ease-in-out infinite alternate;
}

.flame-1 {
  left: 6px;
  width: 12px;
  height: 16px;
  background: #ef4444;
  animation-delay: 0s;
}

.flame-2 {
  left: 8px;
  width: 8px;
  height: 12px;
  background: #f59e0b;
  animation-delay: 0.15s;
}

.flame-3 {
  left: 9px;
  width: 5px;
  height: 8px;
  background: #fbbf24;
  animation-delay: 0.1s;
}

@keyframes flicker {
  0% { transform: rotate(-45deg) scale(1); opacity: 1; }
  50% { transform: rotate(-42deg) scale(1.05, 0.95); opacity: 0.9; }
  100% { transform: rotate(-48deg) scale(0.95, 1.1); opacity: 1; }
}

/* --- Dashboard Grid (3-column) --- */
.dashboard {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  padding: 16px 24px;
  max-width: 1800px;
  margin: 0 auto;
}

/* --- Panel Base --- */
.panel {
  background: rgba(26, 26, 46, 0.92);
  border: 4px solid var(--border-gold);
  box-shadow:
    inset 0 0 0 2px var(--border-gold-dim),
    0 6px 0 var(--border-gold-dim),
    0 12px 24px rgba(0, 0, 0, 0.6);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  backdrop-filter: blur(4px);
  position: relative;
}

/* Panel corner decorations */
.panel::before,
.panel::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--text-gold);
}

.panel::before {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}

.panel::after {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
}

/* Ephiny panel accent color */
.ephiny-panel {
  border-color: #a07030;
}

.ephiny-panel::before,
.ephiny-panel::after {
  border-color: #c89050;
}

/* --- Panel Header (Character info) --- */
.panel-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--border-gold-dim);
}

.sprite-container {
  flex-shrink: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
  border: 2px solid var(--border-gold-dim);
  padding: 4px;
  image-rendering: pixelated;
}

.character-sprite {
  display: block;
  image-rendering: pixelated;
}

.panel-info h2 {
  font-size: 15px;
  color: var(--text-gold);
  text-shadow: 2px 2px 0 #000;
}

.panel-role {
  font-size: 8px;
  color: var(--text-muted);
  display: block;
  margin-top: 2px;
}

/* Character health bars (decorative) */
.char-health-bar {
  width: 120px;
  height: 10px;
  background: #1a1a1a;
  border: 2px solid #555;
  margin-top: 6px;
}

.char-hp-fill {
  height: 100%;
  background: linear-gradient(90deg, #dc2626, #ef4444);
}

.gabriella-hp .char-hp-fill {
  background: linear-gradient(90deg, #22c55e, #4ade80);
}

.ephiny-hp .char-hp-fill {
  background: linear-gradient(90deg, #a0522d, #c8843e);
}

.char-hp-text {
  font-size: 8px;
  color: var(--accent-red);
}

.gabriella-hp + .char-hp-text {
  color: var(--accent-green);
}

.ephiny-hp-text {
  color: var(--accent-amazon) !important;
}

/* --- Speech Bubble (Quote) --- */
.speech-bubble {
  position: relative;
  background: rgba(0, 0, 0, 0.7);
  border: 3px solid var(--border-gold-dim);
  border-radius: 4px;
  padding: 12px 14px;
  font-size: 9px;
  color: var(--text-gold);
  line-height: 1.8;
  margin-top: 4px;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 40px;
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 12px solid var(--border-gold-dim);
}

.speech-bubble::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 43px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid rgba(0,0,0,0.7);
  z-index: 1;
}

/* --- Stats Grid --- */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.stat-card {
  background: var(--bg-sub);
  border: 2px solid var(--border-gold-dim);
  padding: 8px 6px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.creature-card {
  border-color: #6b3410;
}

.creature-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center top, rgba(239, 68, 68, 0.05), transparent 70%);
  pointer-events: none;
}

.warlord-card {
  border-color: #4a3333;
}

.warlord-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center top, rgba(139, 69, 19, 0.08), transparent 70%);
  pointer-events: none;
}

.meeting-card {
  border-color: #3a4a33;
}

.meeting-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center top, rgba(200, 168, 78, 0.06), transparent 70%);
  pointer-events: none;
}

/* Ephiny stat cards */
.plan-card {
  border-color: #4a5a3a;
}

.done-card {
  border-color: #5a4a1a;
}

.done-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(ellipse at center top, rgba(232, 197, 71, 0.06), transparent 70%);
  pointer-events: none;
}

.accuracy-card {
  border-color: #4a3a3a;
}

.stat-sprite {
  margin-bottom: 4px;
  display: flex;
  justify-content: center;
}

.stat-sprite svg {
  width: 36px;
  height: 36px;
  image-rendering: pixelated;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.stat-value {
  font-size: 22px;
  color: var(--text-gold);
  text-shadow: 2px 2px 0 #000;
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: 7px;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

/* --- Chakram Section --- */
.chakram-section .bar-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chakram-icon-wrap {
  flex-shrink: 0;
}

.chakram-svg {
  animation: spin 4s linear infinite;
  filter: drop-shadow(0 0 4px rgba(232,197,71,0.4));
}

.chakram-svg.paused {
  animation-play-state: paused;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Current Task --- */
.chakram-task {
  font-size: 8px;
  color: var(--accent-purple);
  padding: 6px 8px;
  background: rgba(167, 139, 250, 0.08);
  border: 1px solid rgba(167, 139, 250, 0.2);
  margin-top: 4px;
  display: none;
  line-height: 1.6;
}

.chakram-task .task-icon {
  margin-right: 4px;
}

/* --- Health Bars --- */
.bar-section {
  padding: 10px 0;
}

.bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  gap: 8px;
}

.bar-label {
  font-size: 10px;
  color: var(--text-light);
  flex: 1;
}

.bar-value {
  font-size: 10px;
  color: var(--text-gold);
}

.health-bar {
  height: 18px;
  background: #1a1a1a;
  border: 3px solid var(--border-gold-dim);
  position: relative;
  overflow: hidden;
}

.health-bar-fill {
  height: 100%;
  transition: width 0.8s ease;
  position: relative;
}

.chakram-bar .health-bar-fill {
  background: var(--bar-purple);
}

.disk-bar .health-bar-fill {
  background: var(--bar-green);
}

.ram-bar .health-bar-fill {
  background: var(--bar-blue);
}

.health-bar-fill.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

.bar-status {
  font-size: 8px;
  color: var(--accent-purple);
  margin-top: 4px;
}

.health-bar-fill.danger { background: var(--bar-red) !important; }
.health-bar-fill.warning { background: var(--bar-amber) !important; }

/* --- Inline Icons --- */
.inline-icon {
  vertical-align: middle;
  margin-right: 6px;
  image-rendering: pixelated;
}

/* --- Sub Panels --- */
.sub-panel {
  background: var(--bg-sub);
  border: 3px solid var(--border-gold-dim);
  padding: 10px 12px;
}

.sub-panel-title {
  font-size: 10px;
  color: var(--text-gold);
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 2px solid rgba(138, 115, 51, 0.5);
  display: flex;
  align-items: center;
}

/* --- Weather --- */
.weather-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.weather-item {
  font-size: 9px;
  color: var(--text-light);
  line-height: 1.7;
}

.weather-item .val {
  color: var(--text-gold);
}

.weather-main {
  grid-column: 1 / -1;
  font-size: 11px;
  color: var(--text-gold);
  margin-bottom: 4px;
  padding: 4px 0;
}

/* --- RSS --- */
.rss-list {
  list-style: none;
}

.rss-list li {
  font-size: 9px;
  color: var(--text-light);
  padding: 6px 0;
  border-bottom: 1px solid rgba(200, 168, 78, 0.15);
  line-height: 1.7;
}

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

.rss-link {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.rss-link:hover {
  color: var(--text-gold);
  text-decoration: underline;
}

.rss-source {
  font-size: 7px;
  color: var(--text-muted);
}

.rss-type-badge {
  display: inline-block;
  font-size: 6px;
  padding: 2px 5px;
  border: 1px solid var(--border-gold-dim);
  color: var(--accent-amber);
  margin-right: 6px;
  vertical-align: middle;
}

/* --- Schedule Timeline --- */
.schedule-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px;
  border-left: 2px solid rgba(138, 115, 51, 0.3);
  margin-left: 50px;
  position: relative;
  transition: opacity 0.3s;
}

.schedule-item.past {
  opacity: 0.4;
}

.schedule-item.current {
  border-left-color: var(--accent-green);
  background: rgba(74, 222, 128, 0.05);
}

.schedule-item.current .schedule-time {
  color: var(--accent-green);
}

.schedule-time {
  font-size: 7px;
  color: var(--text-muted);
  position: absolute;
  left: -56px;
  width: 48px;
  text-align: right;
}

.schedule-dot {
  width: 8px;
  height: 8px;
  border-radius: 0;
  flex-shrink: 0;
  margin-left: -5px;
  box-shadow: 0 0 4px rgba(0,0,0,0.5);
}

.schedule-title {
  font-size: 8px;
  color: var(--text-light);
  line-height: 1.5;
}

/* --- Next Event --- */
.next-event-content {
  text-align: center;
  padding: 6px;
}

.next-event-name {
  font-size: 9px;
  color: var(--text-gold);
  margin-bottom: 6px;
}

.countdown-value {
  font-size: 16px;
  color: var(--accent-amber);
  text-shadow: 1px 1px 0 #000;
}

.countdown-label {
  font-size: 8px;
  color: var(--text-muted);
}

/* --- Camp Status Badge --- */
.camp-status {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 3px solid var(--border-gold-dim);
  background: var(--bg-sub);
}

.camp-shield svg {
  filter: drop-shadow(0 0 8px rgba(74, 222, 128, 0.3));
}

.camp-shield.warning svg {
  filter: drop-shadow(0 0 8px rgba(245, 158, 11, 0.3));
}

.camp-shield.danger svg {
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.5));
  animation: pulse 1s ease-in-out infinite;
}

.camp-status-text {
  font-size: 11px;
  color: var(--text-light);
}

.camp-status-sub {
  font-size: 8px;
  color: var(--text-muted);
  margin-top: 3px;
}

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

/* --- Uptime --- */
.uptime-text {
  font-size: 12px;
  color: var(--accent-green);
  text-shadow: 0 0 10px rgba(74, 222, 128, 0.3);
}

/* --- Load Grid --- */
.load-grid {
  display: flex;
  gap: 16px;
}

.load-item {
  font-size: 9px;
  color: var(--text-light);
}

.load-item .load-val {
  color: var(--text-gold);
  font-size: 11px;
}

.load-item .load-label {
  font-size: 7px;
  color: var(--text-muted);
  display: block;
  margin-top: 3px;
}

/* --- Services Grid --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: var(--text-light);
  padding: 5px 7px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(138,115,51,0.3);
}

.service-dot {
  width: 10px;
  height: 10px;
  border: 1px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.service-dot.active {
  background: var(--accent-green);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

.service-dot.inactive {
  background: var(--accent-red);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
  animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* --- Security --- */
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.security-item {
  font-size: 9px;
  color: var(--text-light);
  line-height: 1.7;
}

.security-item .val { color: var(--accent-green); }
.security-item .val.warn { color: var(--accent-amber); }
.security-item .val.danger { color: var(--accent-red); }

/* --- Panel Footer --- */
.panel-footer {
  padding-top: 10px;
  border-top: 2px solid var(--border-gold-dim);
}

.muted {
  font-size: 8px;
  color: var(--text-muted);
}

/* --- Bottom Scene --- */
.bottom-scene {
  position: relative;
  z-index: 1;
  height: 20px;
  overflow: hidden;
}

.ground-strip {
  height: 12px;
  background: linear-gradient(to bottom, #2a3a1a, #1a2a10);
  border-top: 2px solid #3a4a2a;
}

.grass-row {
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    #2a4a1a 0px, #2a4a1a 4px,
    #1a3a0a 4px, #1a3a0a 8px,
    #3a5a2a 8px, #3a5a2a 12px,
    #1a3a0a 12px, #1a3a0a 16px
  );
}

/* --- Footer --- */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px;
  font-size: 8px;
  color: var(--text-muted);
  border-top: 3px solid var(--border-gold-dim);
  background: rgba(26,26,46,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* --- Responsive --- */
@media (max-width: 1400px) {
  .dashboard {
    grid-template-columns: 1fr 1fr;
    padding: 12px;
  }

  .ephiny-panel {
    order: -1;
    grid-column: 1 / -1;
  }
}

@media (max-width: 1000px) {
  .dashboard {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .ephiny-panel {
    order: 0;
  }

  .header {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding: 16px;
  }

  .header-left {
    justify-content: center;
  }

  .header-center {
    order: 3;
  }

  .header-right {
    justify-content: center;
  }

  .header-day {
    text-align: center;
  }

  .header-title h1 {
    font-size: 22px;
  }

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

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

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

  .stat-value {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .header-title h1 {
    font-size: 18px;
    letter-spacing: 3px;
  }

  .agent-heartbeats {
    gap: 8px;
  }

  .stat-value {
    font-size: 22px;
  }

  .panel {
    padding: 14px;
  }

  .character-sprite {
    width: 48px;
    height: 72px;
  }

  .panel-info h2 {
    font-size: 14px;
  }

  .schedule-item {
    margin-left: 40px;
  }

  .schedule-time {
    left: -44px;
    width: 38px;
    font-size: 6px;
  }
}

/* --- Utility --- */
.text-green { color: var(--accent-green); }
.text-red { color: var(--accent-red); }
.text-amber { color: var(--accent-amber); }
.text-gold { color: var(--text-gold); }
.text-purple { color: var(--accent-purple); }

.panel.stale {
  opacity: 0.6;
}

.stale-badge {
  font-size: 8px;
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid var(--accent-amber);
  padding: 3px 8px;
  display: inline-block;
  margin-top: 4px;
}
