body {
  align-items: center;
  background-color: #0f172a;
  color: #e2e8f0;
  display: flex;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  padding: 15px;
}
h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 10px 0 5px 0;
  text-align: center;
}
p.subtitle {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 20px;
  text-align: center;
}
.dashboard {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
  width: 100%;
}
.card {
  background-color: #1e293b;
  border: 1px solid #334155;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
  padding: 15px;
  position: relative;
  text-align: center;
  z-index: 2;
}
.card h2 {
  color: #94a3b8;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin: 0 0 10px 0;
  text-transform: uppercase;
}
.card .value {
  font-size: 1.6rem;
  font-weight: 700;
}
.card .unit {
  color: #94a3b8;
  font-size: 0.8rem;
}
.solar-card {
  border-top: 4px solid #fbbf24;
  grid-column: 1 / -1;
}
.solar-card .value {
  color: #fbbf24;
}
.grid-card {
  border-bottom: 4px solid #10b981;
  grid-column: 1 / -1;
  margin-bottom: 80px;
}
.stat-row {
  border-bottom: 1px solid #334155;
  display: flex;
  font-size: 0.85rem;
  justify-content: space-between;
  padding: 6px 0;
}
.stat-row:last-child {
  border-bottom: none;
}
/* Color Utilities */
.val-export {
  color: #10b981;
}
.val-grid {
  color: #ef4444;
}
.val-shared {
  color: #8b5cf6;
  font-weight: bold;
}
.val-solar {
  color: #fbbf24;
}
/* Desktop Visualization Layer */
.vis-container {
  grid-column: 1 / -1;
  height: 100px;
  margin: -10px 0;
  pointer-events: none;
  position: relative;
}
svg {
  height: 100%;
  overflow: visible;
  width: 100%;
}
.flow-line {
  fill: none;
  opacity: 0.1;
  stroke-dasharray: 10;
  stroke-linecap: round;
  stroke-width: 3;
  transition: opacity 0.3s, stroke 0.3s;
}
.flow-line.active {
  animation: dash 1s linear infinite;
  opacity: 1;
}
.flow-line.reverse {
  animation: dash-reverse 1s linear infinite;
}
@keyframes dash {
  to {
    stroke-dashoffset: -20;
  }
}
@keyframes dash-reverse {
  to {
    stroke-dashoffset: 20;
  }
}
/* MOBILE SPECIFIC INDICATORS (Hidden on Desktop) */
.mobile-indicator {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  display: none;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 8px;
}
.mob-arrow {
  font-size: 1.2rem;
  opacity: 0.2;
  transition: opacity 0.3s;
}
.mob-arrow.active {
  opacity: 1;
  text-shadow: 0 0 10px currentColor;
}
/* CONTROLS (Sticky Footer on Mobile) */
.controls {
  background: #1e293b;
  border-radius: 12px;
  box-sizing: border-box;
  margin-top: 20px;
  max-width: 1000px;
  padding: 15px;
  width: 100%;
}
input[type=range] {
  border-radius: 5px;
  cursor: pointer;
  height: 6px;
  margin: 10px 0;
  width: 100%;
}
label {
  color: #94a3b8;
  display: block;
  font-size: 0.9rem;
  margin-bottom: 5px;
}
/* MEDIA QUERY FOR MOBILE */
@media (max-width: 768px) {
  .dashboard {
    gap: 15px;
    grid-template-columns: 1fr;
  }
  .vis-container {
    display: none;
  }
  .mobile-indicator {
    display: flex;
  }
  .card h2 {
    font-size: 0.9rem;
  }
  .card .value {
    font-size: 1.4rem;
  }
  .controls {
    border-radius: 15px 15px 0 0;
    border-top: 1px solid #334155;
    bottom: 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    left: 0;
    margin: 0;
    max-width: 100%;
    position: fixed;
    right: 0;
    z-index: 100;
  }
  body {
    padding-bottom: 140px;
  }
}
/*# sourceMappingURL=panel.css.map */