:root {
  color-scheme: dark;
}
html, body {
  min-height: 100%;
}
body {
  background: #111827;
  color: #f3f4f6;
}
.card {
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid rgba(75, 85, 99, 0.6);
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.health-green { border-color: rgba(16, 185, 129, 0.9) !important; }
.health-yellow { border-color: rgba(245, 158, 11, 0.95) !important; }
.health-red { border-color: rgba(239, 68, 68, 0.95) !important; }
.health-gray { border-color: rgba(107, 114, 128, 0.95) !important; }
.status-pill {
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  line-height: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.touch-target { min-height: 44px; min-width: 44px; }
.scrollbar-thin::-webkit-scrollbar { height: 8px; width: 8px; }
.scrollbar-thin::-webkit-scrollbar-thumb { background: #4b5563; border-radius: 9999px; }
.timeline-track {
  position: relative;
  height: 1rem;
  border-radius: 9999px;
  background: rgba(55, 65, 81, 0.9);
  overflow: hidden;
}
.timeline-bar {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 9999px;
}
.drawer-open { transform: translateX(0); }
.drawer-closed { transform: translateX(100%); }
.model-bar > div { height: 0.75rem; border-radius: 9999px; }
.kanban-col { min-height: 16rem; }
.mermaid-wrap svg { max-width: none; }
.table-compact td, .table-compact th { padding: 0.75rem; vertical-align: top; }
