@import url("style.css");

#app-bg.ec-enterprise-grid::before {
  background-image:
    linear-gradient(rgba(11, 110, 79, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 110, 79, 0.14) 1px, transparent 1px),
    radial-gradient(circle at 20% 30%, rgba(11, 110, 79, 0.25), transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.08), transparent 40%);
  background-size:
    40px 40px,
    40px 40px,
    auto,
    auto;
  filter: none;
  opacity: 0.5;
  animation: ec-grid-drift 90s linear infinite;
}

@keyframes ec-grid-drift {
  0% {
    background-position: 0 0, 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 40px 40px, 40px 40px, 0 0, 0 0;
  }
}

.ec-glass-premium {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 0 0 1px rgba(11, 110, 79, 0.15),
    0 8px 32px rgba(0, 0, 0, 0.35),
    0 0 40px rgba(11, 110, 79, 0.12);
  border-radius: 1rem;
  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease,
    border-color 0.35s ease;
}

.ec-glass-premium:hover {
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.28),
    0 12px 40px rgba(0, 0, 0, 0.45),
    0 0 56px rgba(11, 110, 79, 0.35);
  border-color: rgba(201, 162, 39, 0.35);
}

@keyframes ec-pulse-yobe {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(11, 110, 79, 0.45);
  }
  50% {
    box-shadow: 0 0 28px 8px rgba(201, 162, 39, 0.4);
  }
}

.ec-pulse-yobe {
  animation: ec-pulse-yobe 2s ease-in-out infinite;
}

@keyframes ec-blink-alert {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.55;
  }
}

.ec-blink-alert {
  animation: ec-blink-alert 1.1s ease-in-out infinite;
}

@keyframes ec-feed-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ec-feed-item-new {
  animation: ec-feed-in 0.4s ease-out forwards;
}

#ec-globe-tooltip {
  position: fixed;
  z-index: 10050;
  pointer-events: none;
  max-width: 14rem;
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  background: rgba(10, 22, 40, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e2e8f0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

html.light #ec-globe-tooltip {
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
}

/* APC Blog & Media Center */
@keyframes ec-blog-ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.ec-blog-ticker-track {
  display: flex;
  width: max-content;
  animation: ec-blog-ticker 45s linear infinite;
}

.ec-blog-ticker-wrap:hover .ec-blog-ticker-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .ec-blog-ticker-track {
    animation: none;
  }
}

.ec-blog-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  transform: translateX(12px);
}

.ec-blog-hero-slide.ec-blog-hero-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
  z-index: 2;
}

@media (prefers-reduced-motion: reduce) {
  .ec-blog-hero-slide {
    transition: opacity 0.15s ease;
    transform: none;
  }
}

.ec-blog-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.ec-blog-reveal.ec-blog-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.ec-blog-card-glow {
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}

.ec-blog-card-glow:hover {
  border-color: rgba(201, 162, 39, 0.45);
  box-shadow:
    0 0 0 1px rgba(11, 110, 79, 0.25),
    0 12px 36px rgba(0, 0, 0, 0.35),
    0 0 32px rgba(11, 110, 79, 0.2);
}

.ec-blog-yobe-spotlight {
  box-shadow:
    0 0 0 1px rgba(11, 110, 79, 0.35),
    0 8px 40px rgba(11, 110, 79, 0.25),
    inset 0 1px 0 rgba(201, 162, 39, 0.15);
}

#ec-blog-read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 10060;
  background: linear-gradient(90deg, #0b6e4f, #c9a227);
  transition: width 0.08s linear;
  pointer-events: none;
}

.ec-blog-masonry {
  column-gap: 1rem;
}

.ec-blog-masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

.ec-blog-theme-green {
  background: linear-gradient(135deg, #0a1628 0%, #0b6e4f 55%, #064e3b 100%);
}

.ec-blog-theme-gold {
  background: linear-gradient(135deg, #0a1628 0%, #92400e 40%, #c9a227 100%);
}

.ec-blog-theme-navy {
  background: linear-gradient(135deg, #020617 0%, #0a1628 50%, #1e3a5f 100%);
}

.ec-blog-theme-yobe {
  background: linear-gradient(135deg, #052e16 0%, #0b6e4f 45%, #14532d 85%, #c9a227 120%);
}

#ec-blog-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 10055;
  max-width: 20rem;
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  background: rgba(10, 22, 40, 0.95);
  border: 1px solid rgba(201, 162, 39, 0.4);
  color: #e2e8f0;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  pointer-events: none;
}

#ec-blog-toast.ec-blog-toast--show {
  opacity: 1;
  transform: translateY(0);
}

html.light #ec-blog-toast {
  background: rgba(255, 255, 255, 0.98);
  color: #0f172a;
}

/* Polls & Election Intelligence war room */
@keyframes ec-polls-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(11, 110, 79, 0.35);
  }
  50% {
    box-shadow: 0 0 24px 6px rgba(201, 162, 39, 0.28);
  }
}

.ec-polls-kpi {
  animation: ec-polls-pulse 3s ease-in-out infinite;
}

.ec-polls-command-panel {
  border: 1px solid rgba(11, 110, 79, 0.35);
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.12),
    0 8px 32px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ec-polls-gauge {
  background: conic-gradient(#0b6e4f 0 var(--ec-polls-gauge-pct, 74%), rgba(255, 255, 255, 0.08) var(--ec-polls-gauge-pct, 74%) 100%);
}

.ec-polls-tier-strong {
  background: #0b6e4f;
}
.ec-polls-tier-lean {
  background: #34d399;
}
.ec-polls-tier-swing {
  background: #c9a227;
}
.ec-polls-tier-risk {
  background: #dc2626;
}

.ec-polls-table-row:hover {
  background: rgba(11, 110, 79, 0.12);
  box-shadow: inset 2px 0 0 #c9a227;
}

.ec-polls-feed-new {
  animation: ec-feed-in 0.4s ease-out forwards;
}

.ec-polls-alert-red {
  animation: ec-blink-alert 1.2s ease-in-out infinite;
}

/* National Situation Room command center */
@keyframes ec-sit-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(11, 110, 79, 0.4);
  }
  50% {
    box-shadow: 0 0 28px 8px rgba(201, 162, 39, 0.35);
  }
}

@keyframes ec-sit-scan {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  30% {
    opacity: 0.35;
  }
  100% {
    transform: translateY(100%);
    opacity: 0;
  }
}

@keyframes ec-sit-particle-drift {
  0% {
    transform: translate(0, 0);
    opacity: 0.15;
  }
  50% {
    opacity: 0.45;
  }
  100% {
    transform: translate(12px, -18px);
    opacity: 0.1;
  }
}

.ec-sit-warroom {
  position: relative;
  min-height: calc(100vh - 8rem);
  background:
    linear-gradient(180deg, rgba(2, 8, 16, 0.92) 0%, rgba(10, 22, 40, 0.88) 100%),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 23px,
      rgba(11, 110, 79, 0.04) 23px,
      rgba(11, 110, 79, 0.04) 24px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 23px,
      rgba(11, 110, 79, 0.04) 23px,
      rgba(11, 110, 79, 0.04) 24px
    );
  border-radius: 1rem;
  overflow: hidden;
}

.ec-sit-warroom::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(11, 110, 79, 0.12), transparent 70%);
}

.ec-sit-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ec-sit-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.6);
  animation: ec-sit-particle-drift 6s ease-in-out infinite;
}

.ec-sit-command-panel {
  border: 1px solid rgba(11, 110, 79, 0.4);
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.1),
    0 8px 32px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
}

.ec-sit-kpi {
  animation: ec-sit-pulse 3.5s ease-in-out infinite;
}

.ec-sit-nav-active {
  border-left: 3px solid #c9a227;
  background: rgba(11, 110, 79, 0.2);
  box-shadow: inset 0 0 24px rgba(11, 110, 79, 0.15);
}

.ec-sit-nav-btn:hover {
  background: rgba(11, 110, 79, 0.12);
  box-shadow: 0 0 16px rgba(11, 110, 79, 0.25);
}

.ec-sit-live-badge {
  animation: ec-blink-alert 1.4s ease-in-out infinite;
}

.ec-sit-alert-critical {
  animation: ec-blink-alert 1s ease-in-out infinite;
}

.ec-sit-gauge {
  background: conic-gradient(#0b6e4f 0 var(--ec-sit-gauge-pct, 75%), rgba(255, 255, 255, 0.08) var(--ec-sit-gauge-pct, 75%) 100%);
}

.ec-sit-tier-stable {
  background: #0b6e4f;
}
.ec-sit-tier-swing {
  background: #c9a227;
}
.ec-sit-tier-critical {
  background: #dc2626;
}
.ec-sit-tier-rally {
  background: #3b82f6;
}

.ec-sit-yobe-spotlight {
  border: 1px solid rgba(201, 162, 39, 0.55);
  box-shadow:
    0 0 32px rgba(11, 110, 79, 0.35),
    0 0 48px rgba(201, 162, 39, 0.2);
}

.ec-sit-feed-new {
  animation: ec-feed-in 0.4s ease-out forwards;
}

.ec-sit-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.5), transparent);
  animation: ec-sit-scan 4s linear infinite;
  pointer-events: none;
}

#main-content.ec-sit-immersive #page-description {
  display: none;
}

#main-content.ec-sit-immersive {
  padding-top: 1rem;
  padding-bottom: 1rem;
  max-width: none;
}

.ec-sit-stat-card {
  transition: box-shadow 0.3s ease, transform 0.25s ease;
}

.ec-sit-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(11, 110, 79, 0.35);
}

.ec-sit-chart-panel {
  transition: border-color 0.25s ease;
}

.ec-sit-chart-panel:hover {
  border-color: rgba(201, 162, 39, 0.45);
}

.ec-sit-gauge-card {
  transition: box-shadow 0.3s ease;
}

.ec-sit-gauge-card:hover {
  box-shadow: 0 0 20px rgba(11, 110, 79, 0.3);
}

.ec-sit-stat-row {
  transition: background 0.2s ease;
}

/* APC Analytics Intelligence Command Center */
@keyframes ec-ana-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(11, 110, 79, 0.35);
  }
  50% {
    box-shadow: 0 0 18px 4px rgba(74, 222, 128, 0.25);
  }
}

@keyframes ec-ana-scan {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  50% {
    opacity: 0.12;
  }
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
}

@keyframes ec-ana-particle-drift {
  0%,
  100% {
    transform: translate(0, 0);
    opacity: 0.35;
  }
  50% {
    transform: translate(8px, -12px);
    opacity: 0.75;
  }
}

.ec-ana-warroom {
  position: relative;
  min-height: 100%;
  background: radial-gradient(ellipse 120% 80% at 50% 0%, rgba(11, 110, 79, 0.12), transparent 55%),
    linear-gradient(180deg, rgba(2, 8, 16, 0.97) 0%, rgba(4, 12, 24, 0.99) 100%);
  border-radius: 1rem;
  overflow: hidden;
}

.ec-ana-warroom::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(11, 110, 79, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 110, 79, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.ec-ana-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ec-ana-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.6);
  animation: ec-ana-particle-drift 6s ease-in-out infinite;
}

.ec-ana-command-panel {
  border: 1px solid rgba(11, 110, 79, 0.35);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ec-ana-kpi {
  animation: ec-ana-pulse 3.5s ease-in-out infinite;
}

.ec-ana-nav-active {
  background: rgba(11, 110, 79, 0.35) !important;
  border-color: rgba(201, 162, 39, 0.5) !important;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(11, 110, 79, 0.4);
}

.ec-ana-nav-btn:hover {
  background: rgba(11, 110, 79, 0.2);
  border-color: rgba(74, 222, 128, 0.35);
}

.ec-ana-live-badge {
  animation: ec-ana-pulse 2s ease-in-out infinite;
}

.ec-ana-alert-critical {
  animation: ec-ana-pulse 1.5s ease-in-out infinite;
}

.ec-ana-gauge {
  background: conic-gradient(#0b6e4f 0 var(--ec-ana-gauge-pct, 75%), rgba(255, 255, 255, 0.08) var(--ec-ana-gauge-pct, 75%) 100%);
}

.ec-ana-tier-strong {
  background: #0b6e4f;
}
.ec-ana-tier-lean {
  background: #34d399;
}
.ec-ana-tier-swing {
  background: #c9a227;
}
.ec-ana-tier-risk {
  background: #dc2626;
}
.ec-ana-tier-event {
  background: #3b82f6;
}

.ec-ana-feed-new {
  animation: ec-ana-pulse 0.8s ease-out 1;
}

.ec-ana-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.5), transparent);
  animation: ec-ana-scan 4s linear infinite;
  pointer-events: none;
}

#main-content.ec-ana-immersive #page-description {
  display: none;
}

#main-content.ec-ana-immersive {
  max-width: none;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.ec-ana-stat-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ec-ana-stat-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(11, 110, 79, 0.2);
}

.ec-ana-chart-panel {
  transition: border-color 0.25s ease;
}

.ec-ana-chart-panel:hover {
  border-color: rgba(201, 162, 39, 0.45);
}

.ec-ana-gauge-card:hover {
  box-shadow: 0 0 20px rgba(11, 110, 79, 0.3);
}

.ec-ana-stat-row {
  transition: background 0.2s ease;
}

.ec-ana-heatmap-cell {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.ec-ana-heatmap-cell:hover {
  transform: scale(1.08);
  z-index: 2;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.5);
}

.ec-ana-ai-card {
  border-left: 3px solid rgba(11, 110, 79, 0.8);
}

/* —— APC 2027 Landing Page —— */
@keyframes ec-land-pulse {
  0%,
  100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
}

@keyframes ec-land-scan {
  0% {
    top: 0;
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes ec-land-particle-drift {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0.2;
  }
  50% {
    opacity: 0.55;
  }
  100% {
    transform: translateY(-120vh) translateX(20px);
    opacity: 0;
  }
}

@keyframes ec-land-ticker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes ec-land-reveal-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ec-land-bg {
  background:
    radial-gradient(ellipse 80% 50% at 20% 40%, rgba(11, 110, 79, 0.28), transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(15, 40, 80, 0.45), transparent 50%),
    linear-gradient(180deg, #060d18 0%, #0a1628 50%, #060d18 100%);
}

.ec-land-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
  pointer-events: none;
}

.ec-land-page {
  position: relative;
  overflow-x: hidden;
}

.ec-land-section {
  position: relative;
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .ec-land-section {
    padding: 5rem 2rem;
  }
}

.ec-land-inner {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
}

.ec-land-glass {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 22, 40, 0.55);
  backdrop-filter: blur(16px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 8px 32px rgba(0, 0, 0, 0.35);
}

.ec-land-hero {
  min-height: calc(100vh - 4rem);
  display: flex;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 3rem;
  overflow: hidden;
}

.ec-land-hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .ec-land-hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.ec-land-hero-globe {
  position: relative;
  min-height: min(50vh, 420px);
  border-radius: 1rem;
  overflow: hidden;
}

.ec-land-hero-globe.ec-land-hero-globe--bg {
  pointer-events: none;
  opacity: 0.85;
}

.ec-land-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.ec-land-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.6);
  animation: ec-land-particle-drift linear infinite;
}

.ec-land-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.45), transparent);
  animation: ec-land-scan 5s linear infinite;
  pointer-events: none;
  z-index: 2;
}

.ec-land-kpi {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ec-land-kpi:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(11, 110, 79, 0.25);
}

.ec-land-kpi-pulse {
  animation: ec-land-pulse 2.5s ease-in-out infinite;
}

.ec-land-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ec-land-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.ec-land-yobe-spotlight {
  border: 1px solid rgba(201, 162, 39, 0.45);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.12), rgba(11, 110, 79, 0.15));
  box-shadow: 0 0 48px rgba(201, 162, 39, 0.2);
}

.ec-land-ticker-wrap {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.ec-land-ticker-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ec-land-ticker 40s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .ec-land-ticker-track {
    animation: none;
  }
  .ec-land-particle {
    animation: none;
  }
  .ec-land-scan {
    animation: none;
  }
}

.ec-land-carousel {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.ec-land-carousel-track {
  display: flex;
  gap: 1.25rem;
  will-change: transform;
}

.ec-land-carousel-track.is-paused {
  animation-play-state: paused;
}

.ec-land-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(11, 110, 79, 0.5);
  background: rgba(10, 22, 40, 0.95);
  color: #fff;
  font-size: 0.875rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.ec-land-globe-host {
  min-height: min(50vh, 480px);
}

.ec-land-chart-panel {
  min-height: 220px;
}

.ec-land-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: ec-land-pulse 1.5s ease-in-out infinite;
}

.ec-land-timeline::before {
  content: "";
  position: absolute;
  left: 0.75rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(11, 110, 79, 0.8), rgba(201, 162, 39, 0.4));
}

.ec-land-faq-panel[open] summary {
  color: #c9a227;
}

/* —— APC Auth Portal —— */
@keyframes ec-auth-pulse {
  0%,
  100% {
    opacity: 0.7;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 16px rgba(74, 222, 128, 0.7);
  }
}

@keyframes ec-auth-scan {
  0% {
    top: 0;
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes ec-auth-boot-fade {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.ec-auth-page {
  overflow-x: hidden;
}

.ec-auth-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 30% 40%, rgba(11, 110, 79, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 80% 70%, rgba(201, 162, 39, 0.15), transparent 50%),
    linear-gradient(180deg, #060d18, #0a1628);
}

.ec-auth-particles::before,
.ec-auth-particles::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(74, 222, 128, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.25;
  animation: ec-land-particle-drift 20s linear infinite;
}

.ec-auth-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.5), transparent);
  animation: ec-auth-scan 5s linear infinite;
  pointer-events: none;
  z-index: 2;
}

.ec-auth-stat-chip {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 22, 40, 0.55);
  backdrop-filter: blur(12px);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
}

.ec-auth-globe {
  overflow: hidden;
  background: rgba(0, 0, 0, 0.35);
}

.ec-auth-glass {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 22, 40, 0.72);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 0 1px rgba(11, 110, 79, 0.2), 0 16px 48px rgba(0, 0, 0, 0.45), 0 0 60px rgba(11, 110, 79, 0.15);
}

.ec-auth-badge-secure {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid rgba(11, 110, 79, 0.5);
  background: rgba(11, 110, 79, 0.2);
  padding: 0.25rem 0.65rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4ade80;
}

.ec-auth-badge-encrypt {
  border-color: rgba(201, 162, 39, 0.45);
  background: rgba(201, 162, 39, 0.12);
  color: #c9a227;
}

.ec-auth-role-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.25);
  border-radius: 0.75rem;
  padding: 0.65rem;
  text-align: left;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.ec-auth-role-card:hover {
  border-color: rgba(11, 110, 79, 0.5);
  transform: translateY(-1px);
}

.ec-auth-role-card.is-selected {
  border-color: rgba(201, 162, 39, 0.65);
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.25);
  background: rgba(11, 110, 79, 0.2);
}

.ec-auth-role-icon {
  display: flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  background: rgba(11, 110, 79, 0.35);
  color: #c9a227;
}

.ec-auth-role-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}

.ec-auth-role-desc {
  font-size: 0.6rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ec-auth-input:focus {
  outline: none;
  border-color: rgba(11, 110, 79, 0.7);
  box-shadow: 0 0 0 3px rgba(11, 110, 79, 0.25), 0 0 20px rgba(74, 222, 128, 0.15);
}

.ec-auth-submit {
  background: linear-gradient(135deg, #0b6e4f, #064e3b);
  border: 1px solid rgba(201, 162, 39, 0.4);
  box-shadow: 0 4px 24px rgba(11, 110, 79, 0.4);
  transition: transform 0.15s, box-shadow 0.15s;
}

.ec-auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(11, 110, 79, 0.55);
}

.ec-auth-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  animation: ec-auth-pulse 1.5s ease-in-out infinite;
}

.ec-auth-verify-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 13, 24, 0.92);
  backdrop-filter: blur(8px);
}

.ec-auth-verify-box {
  width: min(90vw, 420px);
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 1rem;
  padding: 2rem;
  background: rgba(10, 22, 40, 0.9);
  text-align: center;
}

.ec-auth-progress-track {
  height: 6px;
  overflow: hidden;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.1);
}

.ec-auth-progress-bar {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #0b6e4f, #c9a227);
  transition: width 0.4s ease;
}

.ec-auth-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 110;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(11, 110, 79, 0.5);
  background: rgba(10, 22, 40, 0.95);
  font-size: 0.875rem;
  color: #fff;
}

.ec-auth-toast--error {
  border-color: rgba(220, 38, 38, 0.5);
  color: #fecaca;
}

.ec-auth-boot {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #060d18;
  gap: 1rem;
}

.ec-auth-boot.is-hidden {
  animation: ec-auth-boot-fade 0.5s ease forwards;
  pointer-events: none;
}

.ec-site-logo {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  object-fit: contain;
  border-radius: 50%;
}

.ec-site-logo--sm {
  width: 2.25rem;
  height: 2.25rem;
}

.ec-site-logo--md {
  width: 3rem;
  height: 3rem;
}

.ec-site-logo--lg {
  width: 3.5rem;
  height: 3.5rem;
}

.ec-site-logo--xl {
  width: 5rem;
  height: 5rem;
}

.ec-auth-boot-logo {
  width: 5.5rem;
  height: 5.5rem;
  object-fit: contain;
  border-radius: 50%;
  filter: drop-shadow(0 0 24px rgba(11, 110, 79, 0.55));
}

.ec-auth-session-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #c9a227;
}

@media (prefers-reduced-motion: reduce) {
  .ec-auth-scan,
  .ec-auth-particles::before,
  .ec-auth-particles::after {
    animation: none;
  }
}

/* —— Campaign Messaging Command Center —— */
@keyframes ec-msg-pulse {
  0%,
  100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
}

@keyframes ec-msg-scan {
  0% {
    top: 0;
    opacity: 0;
  }
  50% {
    opacity: 0.55;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes ec-msg-feed-flash {
  0% {
    background: rgba(11, 110, 79, 0.35);
  }
  100% {
    background: transparent;
  }
}

.ec-msg-warroom {
  position: relative;
  min-height: min(78vh, 900px);
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(6, 13, 24, 0.95), rgba(10, 22, 40, 0.88));
  border: 1px solid rgba(11, 110, 79, 0.35);
}

.ec-msg-warroom::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(11, 110, 79, 0.2), transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
  pointer-events: none;
}

.ec-msg-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ec-msg-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.5);
  animation: ec-sit-particle-drift 10s linear infinite;
}

.ec-msg-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.45), transparent);
  animation: ec-msg-scan 5s linear infinite;
  pointer-events: none;
  z-index: 2;
}

.ec-msg-topbar {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.ec-msg-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 9999px;
  border: 1px solid rgba(220, 38, 38, 0.5);
  background: rgba(220, 38, 38, 0.15);
  padding: 0.2rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fca5a5;
  animation: ec-msg-pulse 2s ease-in-out infinite;
}

.ec-msg-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
}

.ec-msg-body-grid {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 520px;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .ec-msg-body-grid {
    grid-template-columns: 220px 1fr;
  }
}

.ec-msg-sidebar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 200px;
}

@media (min-width: 1024px) {
  .ec-msg-sidebar {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    max-height: none;
  }
}

.ec-msg-nav-btn {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.65rem;
  border: 1px solid transparent;
  padding: 0.5rem 0.65rem;
  text-align: left;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.ec-msg-nav-btn:hover {
  border-color: rgba(11, 110, 79, 0.45);
  background: rgba(11, 110, 79, 0.15);
  color: #fff;
}

.ec-msg-nav-active {
  border-color: rgba(201, 162, 39, 0.55) !important;
  background: rgba(11, 110, 79, 0.28) !important;
  box-shadow: 0 0 16px rgba(11, 110, 79, 0.35);
  color: #fff !important;
}

.ec-msg-main {
  padding: 0.75rem;
  overflow-y: auto;
  max-height: min(72vh, 820px);
}

.ec-msg-glass {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 22, 40, 0.55);
  backdrop-filter: blur(14px);
  border-radius: 0.85rem;
}

.ec-msg-kpi {
  animation: ec-msg-pulse 3s ease-in-out infinite;
}

.ec-msg-yobe-spotlight {
  border: 1px solid rgba(201, 162, 39, 0.5);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.14), rgba(11, 110, 79, 0.18));
  box-shadow: 0 0 32px rgba(201, 162, 39, 0.2);
}

.ec-msg-feed {
  max-height: 220px;
  overflow-y: auto;
}

.ec-msg-feed-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0;
  font-size: 0.75rem;
}

.ec-msg-feed-item.ec-msg-feed-new {
  animation: ec-msg-feed-flash 1s ease-out 1;
}

.ec-msg-chart-panel {
  min-height: 200px;
}

.ec-msg-heatmap {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 3px;
}

.ec-msg-heatmap-cell {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 700;
  color: #fff;
  transition: transform 0.15s;
}

.ec-msg-heatmap-cell:hover {
  transform: scale(1.1);
  z-index: 2;
}

.ec-msg-delivery-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: conic-gradient(#0b6e4f 0 var(--ec-msg-ring-pct, 75%), rgba(255, 255, 255, 0.1) var(--ec-msg-ring-pct, 75%) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ec-msg-delivery-ring-inner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #0a1628;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #4ade80;
}

.ec-msg-channel-tab {
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  transition: all 0.2s;
}

.ec-msg-channel-tab.is-active {
  border-color: rgba(201, 162, 39, 0.6);
  background: rgba(11, 110, 79, 0.35);
  color: #fff;
}

#main-content.ec-msg-immersive #page-description {
  display: none;
}

#main-content.ec-msg-immersive {
  max-width: none;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

@media (prefers-reduced-motion: reduce) {
  .ec-msg-scan-line,
  .ec-msg-particle,
  .ec-msg-kpi,
  .ec-msg-live-badge {
    animation: none;
  }
}

/* —— Appointment & Coordination Center —— */
@keyframes ec-appt-pulse {
  0%,
  100% {
    opacity: 0.85;
  }
  50% {
    opacity: 1;
  }
}

@keyframes ec-appt-scan {
  0% {
    top: 0;
    opacity: 0;
  }
  50% {
    opacity: 0.55;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes ec-appt-feed-flash {
  0% {
    background: rgba(11, 110, 79, 0.35);
  }
  100% {
    background: transparent;
  }
}

@keyframes ec-appt-emergency {
  0%,
  100% {
    box-shadow: 0 0 8px rgba(220, 38, 38, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.9);
  }
}

.ec-appt-warroom {
  position: relative;
  min-height: min(78vh, 900px);
  border-radius: 1rem;
  overflow: hidden;
  background: linear-gradient(165deg, rgba(6, 13, 24, 0.95), rgba(10, 22, 40, 0.88));
  border: 1px solid rgba(11, 110, 79, 0.35);
}

.ec-appt-warroom::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(11, 110, 79, 0.2), transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: auto, 40px 40px, 40px 40px;
  pointer-events: none;
}

.ec-appt-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ec-appt-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.5);
  animation: ec-sit-particle-drift 10s linear infinite;
}

.ec-appt-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.45), transparent);
  animation: ec-appt-scan 5s linear infinite;
  pointer-events: none;
  z-index: 2;
}

.ec-appt-topbar {
  position: relative;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.ec-appt-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 9999px;
  border: 1px solid rgba(220, 38, 38, 0.5);
  background: rgba(220, 38, 38, 0.15);
  padding: 0.2rem 0.6rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fca5a5;
  animation: ec-appt-pulse 2s ease-in-out infinite;
}

.ec-appt-body-grid {
  position: relative;
  z-index: 3;
  display: grid;
  min-height: 520px;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .ec-appt-body-grid {
    grid-template-columns: 220px 1fr;
  }
}

.ec-appt-sidebar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 200px;
}

@media (min-width: 1024px) {
  .ec-appt-sidebar {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    max-height: none;
  }
}

.ec-appt-nav-btn {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.65rem;
  border: 1px solid transparent;
  padding: 0.5rem 0.65rem;
  text-align: left;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.ec-appt-nav-btn:hover {
  border-color: rgba(11, 110, 79, 0.45);
  background: rgba(11, 110, 79, 0.15);
  color: #fff;
}

.ec-appt-nav-active {
  border-color: rgba(201, 162, 39, 0.55) !important;
  background: rgba(11, 110, 79, 0.28) !important;
  box-shadow: 0 0 16px rgba(11, 110, 79, 0.35);
  color: #fff !important;
}

.ec-appt-main {
  padding: 0.75rem;
  overflow-y: auto;
  max-height: min(72vh, 820px);
}

.ec-appt-glass {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 22, 40, 0.55);
  backdrop-filter: blur(14px);
  border-radius: 0.85rem;
}

.ec-appt-kpi {
  animation: ec-appt-pulse 3s ease-in-out infinite;
}

.ec-appt-yobe-spotlight {
  border: 1px solid rgba(201, 162, 39, 0.5);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.14), rgba(11, 110, 79, 0.18));
  box-shadow: 0 0 32px rgba(201, 162, 39, 0.2);
}

.ec-appt-feed {
  max-height: 220px;
  overflow-y: auto;
}

.ec-appt-feed-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0;
  font-size: 0.75rem;
}

.ec-appt-feed-item.ec-appt-feed-new {
  animation: ec-appt-feed-flash 1s ease-out 1;
}

.ec-appt-priority-critical {
  border-left: 3px solid #ef4444;
}
.ec-appt-priority-high {
  border-left: 3px solid #f59e0b;
}
.ec-appt-priority-standard {
  border-left: 3px solid #22c55e;
}
.ec-appt-priority-confidential {
  border-left: 3px solid #a855f7;
}
.ec-appt-priority-emergency {
  border-left: 3px solid #ef4444;
  animation: ec-appt-emergency 1.5s ease-in-out infinite;
}

.ec-appt-event-chip {
  font-size: 9px;
  border-radius: 4px;
  padding: 1px 4px;
  margin-top: 2px;
  background: rgba(11, 110, 79, 0.4);
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ec-appt-cal-day {
  min-height: 72px;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px;
  font-size: 0.7rem;
}

.ec-appt-cal-day.is-today {
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.6), 0 0 12px rgba(201, 162, 39, 0.25);
}

.ec-appt-gauge-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: conic-gradient(#0b6e4f 0 var(--ec-appt-ring-pct, 75%), rgba(255, 255, 255, 0.1) var(--ec-appt-ring-pct, 75%) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ec-appt-gauge-inner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #0a1628;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #4ade80;
}

.ec-appt-room-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ec-appt-room-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 110, 79, 0.2);
}

.ec-appt-virtual-panel {
  background: linear-gradient(135deg, rgba(11, 110, 79, 0.2), rgba(10, 22, 40, 0.9));
  border: 1px solid rgba(74, 222, 128, 0.3);
}

.ec-appt-countdown {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: #c9a227;
}

.ec-appt-view-tab {
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.ec-appt-view-tab.is-active {
  border-color: rgba(201, 162, 39, 0.6);
  background: rgba(11, 110, 79, 0.35);
  color: #fff;
}

#main-content.ec-appt-immersive #page-description {
  display: none;
}

#main-content.ec-appt-immersive {
  max-width: none;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

@media (prefers-reduced-motion: reduce) {
  .ec-appt-scan-line,
  .ec-appt-particle,
  .ec-appt-kpi,
  .ec-appt-live-badge,
  .ec-appt-priority-emergency {
    animation: none;
  }
}

/* ── National APC Community Network ── */
@keyframes ec-com-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

@keyframes ec-com-scan {
  0% { transform: translateY(-100%); opacity: 0; }
  10% { opacity: 0.35; }
  90% { opacity: 0.35; }
  100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes ec-com-feed-flash {
  0% { background: rgba(201, 162, 39, 0.25); }
  100% { background: transparent; }
}

@keyframes ec-com-alert-flash {
  0%, 100% { box-shadow: 0 0 0 rgba(239, 68, 68, 0); }
  50% { box-shadow: 0 0 20px rgba(239, 68, 68, 0.45); }
}

.ec-com-warroom {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(11, 110, 79, 0.35);
  background: linear-gradient(160deg, rgba(10, 22, 40, 0.97), rgba(6, 14, 28, 0.99));
  min-height: min(78vh, 900px);
}

.ec-com-warroom::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(11, 110, 79, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(201, 162, 39, 0.08), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.ec-com-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.ec-com-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.5);
  animation: ec-com-pulse 4s ease-in-out infinite;
}

.ec-com-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.4), transparent);
  animation: ec-com-scan 8s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.ec-com-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.65rem 0.75rem;
  background: rgba(0, 0, 0, 0.25);
}

.ec-com-live-badge {
  border-radius: 9999px;
  border: 1px solid rgba(74, 222, 128, 0.5);
  background: rgba(11, 110, 79, 0.35);
  padding: 0.2rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4ade80;
  animation: ec-com-pulse 2s ease-in-out infinite;
}

.ec-com-trending-pill {
  border-radius: 9999px;
  background: rgba(201, 162, 39, 0.2);
  border: 1px solid rgba(201, 162, 39, 0.45);
  padding: 0.15rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  color: #c9a227;
}

.ec-com-body-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  min-height: min(68vh, 780px);
}

@media (min-width: 1024px) {
  .ec-com-body-grid {
    grid-template-columns: 200px 1fr;
  }
}

.ec-com-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 200px;
}

@media (min-width: 1024px) {
  .ec-com-sidebar {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    max-height: none;
  }
}

.ec-com-nav-btn {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.65rem;
  border: 1px solid transparent;
  padding: 0.5rem 0.65rem;
  text-align: left;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.ec-com-nav-btn:hover {
  border-color: rgba(11, 110, 79, 0.45);
  background: rgba(11, 110, 79, 0.15);
  color: #fff;
}

.ec-com-nav-active {
  border-color: rgba(201, 162, 39, 0.55) !important;
  background: rgba(11, 110, 79, 0.28) !important;
  box-shadow: 0 0 16px rgba(11, 110, 79, 0.35);
  color: #fff !important;
}

.ec-com-main {
  padding: 0.75rem;
  overflow-y: auto;
  max-height: min(72vh, 820px);
}

.ec-com-glass {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 22, 40, 0.55);
  backdrop-filter: blur(14px);
  border-radius: 0.85rem;
}

.ec-com-kpi {
  animation: ec-com-pulse 3s ease-in-out infinite;
}

.ec-com-yobe-spotlight {
  border: 1px solid rgba(201, 162, 39, 0.5);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.14), rgba(11, 110, 79, 0.18));
  box-shadow: 0 0 32px rgba(201, 162, 39, 0.2);
}

.ec-com-post-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ec-com-post-card:hover {
  border-color: rgba(11, 110, 79, 0.4);
  box-shadow: 0 4px 20px rgba(11, 110, 79, 0.15);
}

.ec-com-post-card.ec-com-post-new {
  animation: ec-com-feed-flash 1.2s ease-out 1;
}

.ec-com-reaction-chip {
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.15rem 0.45rem;
  font-size: 0.75rem;
  cursor: pointer;
  transition: transform 0.15s, background 0.15s;
}

.ec-com-reaction-chip:hover {
  transform: scale(1.1);
  background: rgba(11, 110, 79, 0.25);
}

.ec-com-role-badge {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 4px;
  padding: 1px 6px;
  background: rgba(11, 110, 79, 0.35);
  color: #4ade80;
}

.ec-com-broadcast-panel {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(10, 22, 40, 0.95));
  border: 1px solid rgba(239, 68, 68, 0.35);
}

.ec-com-message-thread {
  max-height: 320px;
  overflow-y: auto;
}

.ec-com-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  background: rgba(201, 162, 39, 0.12);
  padding: 0.2rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #c9a227;
}

.ec-com-heatmap-cell {
  border-radius: 4px;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
}

.ec-com-priority-alert.ec-com-priority-critical {
  border-left: 3px solid #ef4444;
  animation: ec-com-alert-flash 2s ease-in-out infinite;
}

.ec-com-priority-alert.ec-com-priority-high {
  border-left: 3px solid #f59e0b;
}

.ec-com-priority-alert.ec-com-priority-standard {
  border-left: 3px solid #22c55e;
}

.ec-com-poll-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.ec-com-poll-fill {
  height: 100%;
  background: linear-gradient(90deg, #0b6e4f, #4ade80);
  transition: width 0.4s ease;
}

.ec-com-chart-panel {
  min-height: 200px;
  position: relative;
}

.ec-com-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

.ec-com-typing {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  font-style: italic;
}

#main-content.ec-com-immersive #page-description {
  display: none;
}

#main-content.ec-com-immersive {
  max-width: none;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

@media (prefers-reduced-motion: reduce) {
  .ec-com-scan-line,
  .ec-com-particle,
  .ec-com-kpi,
  .ec-com-live-badge,
  .ec-com-priority-critical {
    animation: none;
  }
}

/* ── National Complaint & Resolution Center ── */
@keyframes ec-cmp-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

@keyframes ec-cmp-scan {
  0% { transform: translateY(-100%); opacity: 0; }
  10% { opacity: 0.35; }
  90% { opacity: 0.35; }
  100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes ec-cmp-feed-flash {
  0% { background: rgba(239, 68, 68, 0.2); }
  100% { background: transparent; }
}

@keyframes ec-cmp-alert-flash {
  0%, 100% { box-shadow: 0 0 0 rgba(239, 68, 68, 0); }
  50% { box-shadow: 0 0 24px rgba(239, 68, 68, 0.5); }
}

.ec-cmp-warroom {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(11, 110, 79, 0.35);
  background: linear-gradient(160deg, rgba(10, 22, 40, 0.97), rgba(6, 14, 28, 0.99));
  min-height: min(78vh, 900px);
}

.ec-cmp-warroom::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% 0%, rgba(11, 110, 79, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(201, 162, 39, 0.08), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.ec-cmp-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ec-cmp-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.5);
  animation: ec-cmp-pulse 4s ease-in-out infinite;
}

.ec-cmp-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.4), transparent);
  animation: ec-cmp-scan 8s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.ec-cmp-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.65rem 0.75rem;
  background: rgba(0, 0, 0, 0.25);
}

.ec-cmp-live-badge {
  border-radius: 9999px;
  border: 1px solid rgba(74, 222, 128, 0.5);
  background: rgba(11, 110, 79, 0.35);
  padding: 0.2rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4ade80;
  animation: ec-cmp-pulse 2s ease-in-out infinite;
}

.ec-cmp-body-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  min-height: min(68vh, 780px);
}

@media (min-width: 1024px) {
  .ec-cmp-body-grid { grid-template-columns: 210px 1fr; }
}

.ec-cmp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 200px;
}

@media (min-width: 1024px) {
  .ec-cmp-sidebar {
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    max-height: none;
  }
}

.ec-cmp-nav-btn {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.65rem;
  border: 1px solid transparent;
  padding: 0.5rem 0.65rem;
  text-align: left;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.ec-cmp-nav-btn:hover {
  border-color: rgba(11, 110, 79, 0.45);
  background: rgba(11, 110, 79, 0.15);
  color: #fff;
}

.ec-cmp-nav-active {
  border-color: rgba(201, 162, 39, 0.55) !important;
  background: rgba(11, 110, 79, 0.28) !important;
  box-shadow: 0 0 16px rgba(11, 110, 79, 0.35);
  color: #fff !important;
}

.ec-cmp-main {
  padding: 0.75rem;
  overflow-y: auto;
  max-height: min(72vh, 820px);
}

.ec-cmp-glass {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 22, 40, 0.55);
  backdrop-filter: blur(14px);
  border-radius: 0.85rem;
}

.ec-cmp-kpi { animation: ec-cmp-pulse 3s ease-in-out infinite; }

.ec-cmp-yobe-spotlight {
  border: 1px solid rgba(201, 162, 39, 0.5);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.14), rgba(11, 110, 79, 0.18));
  box-shadow: 0 0 32px rgba(201, 162, 39, 0.2);
}

.ec-cmp-ticket-card {
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ec-cmp-ticket-card:hover {
  border-color: rgba(11, 110, 79, 0.4);
  box-shadow: 0 4px 20px rgba(11, 110, 79, 0.15);
}

.ec-cmp-ticket-card.ec-cmp-ticket-new {
  animation: ec-cmp-feed-flash 1.2s ease-out 1;
}

.ec-cmp-priority-critical { border-left: 3px solid #ef4444; }
.ec-cmp-priority-high { border-left: 3px solid #f59e0b; }
.ec-cmp-priority-medium { border-left: 3px solid #3b82f6; }
.ec-cmp-priority-low { border-left: 3px solid #22c55e; }

.ec-cmp-priority-critical.ec-cmp-flash {
  animation: ec-cmp-alert-flash 2s ease-in-out infinite;
}

.ec-cmp-ticket-chip {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  padding: 1px 6px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.ec-cmp-escalation-timeline {
  border-left: 2px solid rgba(201, 162, 39, 0.4);
  padding-left: 0.75rem;
}

.ec-cmp-gauge-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: conic-gradient(#0b6e4f 0 var(--ec-cmp-ring-pct, 75%), rgba(255, 255, 255, 0.1) var(--ec-cmp-ring-pct, 75%) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ec-cmp-gauge-inner {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #0a1628;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4ade80;
}

.ec-cmp-heatmap-cell {
  border-radius: 4px;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: #fff;
}

.ec-cmp-chart-panel {
  position: relative;
  min-height: 0;
}

.ec-cmp-chart-panel .ec-cmp-chart-wrap {
  position: relative;
  height: 12rem;
  max-height: 12rem;
  width: 100%;
  overflow: hidden;
}

.ec-cmp-chart-panel .ec-cmp-chart-wrap canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-height: 12rem;
}

#main-content.ec-cmp-immersive #page-description { display: none; }
#main-content.ec-cmp-immersive {
  max-width: none;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

@media (prefers-reduced-motion: reduce) {
  .ec-cmp-scan-line,
  .ec-cmp-particle,
  .ec-cmp-kpi,
  .ec-cmp-live-badge,
  .ec-cmp-flash {
    animation: none;
  }
}

/* —— Command Intelligence National War Room —— */
@keyframes ec-cmd-pulse {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.85; }
}

@keyframes ec-cmd-scan {
  0% { transform: translateY(-100%); opacity: 0; }
  10% { opacity: 0.5; }
  90% { opacity: 0.35; }
  100% { transform: translateY(100vh); opacity: 0; }
}

@keyframes ec-cmd-feed-flash {
  0% { background: rgba(239, 68, 68, 0.25); }
  100% { background: transparent; }
}

@keyframes ec-cmd-alert-flash {
  0%, 100% { box-shadow: 0 0 0 rgba(239, 68, 68, 0); }
  50% { box-shadow: 0 0 28px rgba(239, 68, 68, 0.55); }
}

@keyframes ec-cmd-radar {
  0% { transform: rotate(0deg); opacity: 0.4; }
  100% { transform: rotate(360deg); opacity: 0.15; }
}

.ec-cmd-warroom {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(11, 110, 79, 0.4);
  background: linear-gradient(165deg, rgba(8, 18, 36, 0.98), rgba(4, 10, 22, 0.99));
  min-height: min(82vh, 920px);
}

.ec-cmd-warroom::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 45% at 15% 0%, rgba(11, 110, 79, 0.14), transparent 50%),
    radial-gradient(ellipse 55% 40% at 95% 100%, rgba(201, 162, 39, 0.1), transparent 45%),
    repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(11, 110, 79, 0.04) 47px, rgba(11, 110, 79, 0.04) 48px),
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(11, 110, 79, 0.04) 47px, rgba(11, 110, 79, 0.04) 48px);
  pointer-events: none;
  z-index: 0;
}

.ec-cmd-radar-sweep {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140%;
  height: 140%;
  margin: -70% 0 0 -70%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(74, 222, 128, 0.08) 40deg, transparent 80deg);
  animation: ec-cmd-radar 12s linear infinite;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}

.ec-cmd-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.ec-cmd-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.55);
  animation: ec-cmd-pulse 4s ease-in-out infinite;
}

.ec-cmd-scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(74, 222, 128, 0.45), rgba(201, 162, 39, 0.35), transparent);
  animation: ec-cmd-scan 9s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.ec-cmd-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(74, 222, 128, 0.2);
  padding: 0.65rem 0.75rem;
  background: rgba(0, 0, 0, 0.35);
}

.ec-cmd-live-badge {
  border-radius: 9999px;
  border: 1px solid rgba(74, 222, 128, 0.55);
  background: rgba(11, 110, 79, 0.4);
  padding: 0.2rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #4ade80;
  animation: ec-cmd-pulse 2s ease-in-out infinite;
}

.ec-cmd-body-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  min-height: min(72vh, 840px);
}

@media (min-width: 1024px) {
  .ec-cmd-body-grid { grid-template-columns: 220px 1fr; }
}

.ec-cmd-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem;
  overflow-x: auto;
  overflow-y: auto;
  max-height: 200px;
}

@media (min-width: 1024px) {
  .ec-cmd-sidebar {
    border-bottom: none;
    border-right: 1px solid rgba(74, 222, 128, 0.15);
    max-height: none;
  }
}

.ec-cmd-nav-btn {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0.65rem;
  border: 1px solid transparent;
  padding: 0.45rem 0.6rem;
  text-align: left;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.62);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, color 0.2s;
}

.ec-cmd-nav-btn:hover {
  border-color: rgba(74, 222, 128, 0.45);
  background: rgba(11, 110, 79, 0.2);
  color: #fff;
  box-shadow: 0 0 12px rgba(11, 110, 79, 0.25);
}

.ec-cmd-nav-active {
  border-color: rgba(201, 162, 39, 0.6) !important;
  background: rgba(11, 110, 79, 0.32) !important;
  box-shadow: 0 0 18px rgba(74, 222, 128, 0.3);
  color: #fff !important;
}

.ec-cmd-main {
  padding: 0.75rem;
  overflow-y: auto;
  max-height: min(76vh, 860px);
}

.ec-cmd-glass {
  border: 1px solid rgba(74, 222, 128, 0.15);
  background: rgba(8, 18, 36, 0.62);
  backdrop-filter: blur(16px);
  border-radius: 0.85rem;
}

.ec-cmd-kpi { animation: ec-cmd-pulse 3.5s ease-in-out infinite; }

.ec-cmd-yobe-spotlight {
  border: 1px solid rgba(201, 162, 39, 0.55);
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.16), rgba(11, 110, 79, 0.22));
  box-shadow: 0 0 40px rgba(201, 162, 39, 0.22), inset 0 0 60px rgba(11, 110, 79, 0.08);
}

.ec-cmd-feed-item {
  border-left: 3px solid rgba(74, 222, 128, 0.5);
  transition: background 0.2s;
}

.ec-cmd-feed-item.ec-cmd-priority-critical {
  border-left-color: #ef4444;
  animation: ec-cmd-feed-flash 1.5s ease-out 1;
}

.ec-cmd-feed-item.ec-cmd-priority-warning { border-left-color: #f59e0b; }
.ec-cmd-feed-item.ec-cmd-priority-stable { border-left-color: #22c55e; }

.ec-cmd-alert-banner.ec-cmd-flash {
  animation: ec-cmd-alert-flash 2.5s ease-in-out infinite;
}

.ec-cmd-gauge-ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: conic-gradient(#0b6e4f 0 var(--ec-cmd-ring-pct, 75%), rgba(255, 255, 255, 0.08) var(--ec-cmd-ring-pct, 75%) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ec-cmd-gauge-inner {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #060e1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  color: #4ade80;
}

.ec-cmd-heatmap-cell {
  border-radius: 4px;
  min-height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.58rem;
  font-weight: 700;
  color: #fff;
}

.ec-cmd-chart-panel { position: relative; min-height: 0; }

.ec-cmd-chart-panel .ec-cmd-chart-wrap {
  position: relative;
  height: 12rem;
  max-height: 12rem;
  width: 100%;
  overflow: hidden;
}

.ec-cmd-chart-panel .ec-cmd-chart-wrap canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-height: 12rem;
}

.ec-cmd-tier-stable { background: hsl(152, 52%, 32%); }
.ec-cmd-tier-competitive { background: hsl(42, 72%, 48%); }
.ec-cmd-tier-escalation { background: hsl(0, 55%, 42%); }
.ec-cmd-tier-activeOp { background: hsl(210, 62%, 42%); }

.ec-cmd-ai-card {
  border: 1px solid rgba(74, 222, 128, 0.2);
  background: linear-gradient(145deg, rgba(11, 110, 79, 0.12), rgba(8, 18, 36, 0.8));
}

.ec-cmd-confidence-bar {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.ec-cmd-confidence-fill {
  height: 100%;
  background: linear-gradient(90deg, #0b6e4f, #4ade80);
  border-radius: 2px;
}

#main-content.ec-cmd-immersive #page-description { display: none; }
#main-content.ec-cmd-immersive {
  max-width: none;
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

@media (prefers-reduced-motion: reduce) {
  .ec-cmd-scan-line,
  .ec-cmd-particle,
  .ec-cmd-kpi,
  .ec-cmd-live-badge,
  .ec-cmd-flash,
  .ec-cmd-radar-sweep {
    animation: none;
  }
}
