/* ==========================================================================
   PRECOMA AI PROJECT SPECIFIC STYLESHEET
   Extends shared-project.css with neurological consciousness trajectories,
   sedation-aware RASS/GCS score curves, cyan/azure accents, and false-alert dampening.
   ========================================================================== */

:root {
  --cyan-primary: #0284C7;
  --cyan-light: #38BDF8;
  --cyan-dark: #0369A1;
  --cyan-glow: rgba(2, 132, 199, 0.35);
  --cyan-bg: rgba(2, 132, 199, 0.08);

  --indigo-accent: #6366F1;
  --indigo-bg: rgba(99, 102, 241, 0.08);
}

/* Cyan Theme Accents */
.text-accent-cyan {
  color: var(--cyan-primary);
}

.pill-cyan {
  background: var(--cyan-bg);
  border-color: rgba(2, 132, 199, 0.3);
  color: var(--cyan-light);
}

.dot-cyan {
  background: var(--cyan-primary);
  box-shadow: 0 0 8px var(--cyan-primary);
}

.badge-cyan {
  background: var(--cyan-bg);
  border-color: rgba(2, 132, 199, 0.4);
  color: var(--cyan-light);
}

.btn-cyan {
  background: var(--cyan-primary);
  color: #FFFFFF;
}

.btn-cyan:hover {
  background: var(--cyan-light);
  box-shadow: 0 6px 20px var(--cyan-glow);
}

.val-cyan {
  color: var(--cyan-light);
  font-weight: 600;
}

.cta-cyan {
  border-color: rgba(2, 132, 199, 0.35);
}

.applications-grid .urgent-card,
.urgent-card {
  border-left-color: var(--cyan-primary) !important;
}

.applications-grid .urgent-card:hover,
.urgent-card:hover {
  border-color: var(--cyan-primary) !important;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.15) !important;
}

.tag-urgent {
  color: #0284C7 !important;
  background: rgba(2, 132, 199, 0.12) !important;
}

.pillar-card:hover {
  border-color: var(--cyan-primary) !important;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.15) !important;
}

.pillar-badge {
  color: var(--cyan-primary) !important;
  background: var(--cyan-bg) !important;
  border-color: rgba(2, 132, 199, 0.3) !important;
}

/* Neurological Consciousness Telemetry Stage */
.neuro-vis-stage {
  position: relative;
  background: rgba(14, 22, 28, 0.85);
  border: 1px solid rgba(2, 132, 199, 0.25);
  border-radius: 8px;
  padding: 18px 16px 14px 16px;
  margin-bottom: 0;
  overflow: hidden;
}

.neuro-header-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.neuro-channel-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan-light);
  font-weight: 700;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.neuro-live-stat {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(253, 251, 239, 0.7);
}

.neuro-canvas-wrap {
  position: relative;
  width: 100%;
  height: 140px;
  background: 
    linear-gradient(rgba(2, 132, 199, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 132, 199, 0.04) 1px, transparent 1px);
  background-size: 16px 16px;
  border-radius: 4px;
  overflow: hidden;
}

.neuro-trace-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.neuro-path-actual {
  stroke: #38BDF8;
  stroke-width: 2.2;
  fill: none;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: neuroTrace 4s ease-in-out infinite;
}

.neuro-path-sedation {
  stroke: rgba(99, 102, 241, 0.6);
  stroke-width: 1.8;
  stroke-dasharray: 4, 4;
  fill: none;
}

.neuro-path-threshold {
  stroke: rgba(220, 38, 38, 0.5);
  stroke-width: 1.2;
  stroke-dasharray: 2, 2;
  fill: none;
}

@keyframes neuroTrace {
  0% { stroke-dashoffset: 600; opacity: 0.8; }
  50% { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: -600; opacity: 0.8; }
}

/* Sedation Differentiation Dial */
.sedation-guard-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(2, 132, 199, 0.06);
  border: 1px solid rgba(2, 132, 199, 0.18);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  margin-top: 1rem;
}

.guard-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--cyan-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.guard-state {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: #38BDF8;
}

/* Compact Hero Panel Size */
.hero-visual .vis-display-panel {
  max-width: 520px;
  padding: 1.15rem;
}
