:root {
  --bg: #050a0f;
  --bg-2: #07141d;
  --panel: rgba(5, 20, 29, 0.86);
  --panel-2: rgba(8, 28, 39, 0.92);
  --panel-3: rgba(8, 19, 28, 0.72);
  --cyan: #00f2ff;
  --cyan-soft: rgba(0, 242, 255, 0.18);
  --cyan-line: rgba(0, 242, 255, 0.58);
  --cyan-dim: #6bbbc4;
  --purple: #7b35ff;
  --amber: #ffad33;
  --red: #ff3d5a;
  --green: #32ffbd;
  --text: #d9fbff;
  --muted: #7fa4aa;
  --shadow: 0 0 24px rgba(0, 242, 255, 0.1), inset 0 0 28px rgba(0, 242, 255, 0.035);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(rgba(0, 242, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 255, 0.035) 1px, transparent 1px),
    linear-gradient(180deg, #03070b 0%, #07131c 48%, #03070b 100%);
  background-size: 42px 42px, 42px 42px, auto;
  color: var(--text);
  font-family: "Share Tech Mono", Consolas, "Courier New", monospace;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, rgba(0, 242, 255, 0.05), transparent 22%, transparent 78%, rgba(123, 53, 255, 0.05));
  content: "";
  mix-blend-mode: screen;
  opacity: 0.5;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.app-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

.command-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  gap: 14px;
  padding: 18px clamp(14px, 3vw, 34px) 16px;
  border-bottom: 1px solid rgba(0, 242, 255, 0.22);
  background: rgba(3, 10, 15, 0.9);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.system-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-sigil {
  display: grid;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--cyan-line);
  border-radius: 5px;
  color: var(--cyan);
  background: rgba(0, 242, 255, 0.08);
  box-shadow: 0 0 22px rgba(0, 242, 255, 0.18);
  font-family: "Orbitron", "Share Tech Mono", monospace;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.brand-sigil svg {
  width: 30px;
  height: 30px;
}

.kicker,
.eyebrow,
.metric-label,
.status-pill,
.nav-item,
.chip {
  font-family: "Orbitron", "Share Tech Mono", monospace;
  letter-spacing: 0.08em;
}

.kicker {
  margin: 0 0 5px;
  color: var(--cyan-dim);
  font-size: 0.72rem;
}

h1,
h2 {
  margin: 0;
  color: var(--text);
  font-family: "Orbitron", "Share Tech Mono", monospace;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(1.35rem, 3vw, 2.45rem);
}

h1 span,
h2 span {
  color: var(--cyan);
  font-weight: 500;
}

h2 {
  font-size: 1rem;
}

.sync-strip,
.status-strip,
.command-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.sync-strip {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.85rem;
}

.sync-strip b {
  color: var(--cyan);
  font-weight: 500;
}

.command-nav {
  grid-column: 1 / -1;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 3px;
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.select-field {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(0, 242, 255, 0.38);
  border-radius: 4px;
  background: rgba(0, 242, 255, 0.045);
  color: var(--muted);
  font-family: "Orbitron", "Share Tech Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.select-field select {
  width: 270px;
  max-width: 34vw;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--cyan);
  font: inherit;
  font-weight: 500;
  text-overflow: ellipsis;
}

.select-field option {
  color: #001016;
}

.language-field select {
  width: 74px;
  max-width: 74px;
}

.icon-button {
  display: inline-grid;
  min-width: 76px;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(0, 242, 255, 0.45);
  border-radius: 4px;
  background: rgba(0, 242, 255, 0.055);
  color: var(--cyan);
  box-shadow: inset 0 0 12px rgba(0, 242, 255, 0.06);
}

.text-button {
  padding: 0 12px;
  font-family: "Orbitron", "Share Tech Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.nav-item {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 10px 13px;
  border: 1px solid rgba(0, 242, 255, 0.24);
  border-radius: 4px;
  color: var(--muted);
  background: rgba(0, 242, 255, 0.035);
  font-size: 0.72rem;
}

.nav-item:hover,
.nav-item.is-active {
  color: var(--cyan);
  border-color: var(--cyan-line);
  background: rgba(0, 242, 255, 0.11);
  box-shadow: 0 0 14px rgba(0, 242, 255, 0.12);
}

.content {
  display: grid;
  gap: 16px;
  padding: clamp(14px, 3vw, 34px);
}

.status-strip {
  min-height: 48px;
  padding: 10px;
  border: 1px solid rgba(0, 242, 255, 0.2);
  border-radius: 5px;
  background: rgba(0, 242, 255, 0.045);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 6px 9px;
  border: 1px solid rgba(0, 242, 255, 0.16);
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.65rem;
}

.status-pill b {
  color: var(--text);
  font-weight: 500;
}

.status-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 12px currentColor;
}

.status-dot.is-ok {
  color: var(--green);
  background: var(--green);
}

.status-dot.is-warn {
  color: var(--amber);
  background: var(--amber);
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 12px;
}

.metric-card,
.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 242, 255, 0.28);
  border-radius: 5px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.metric-card::before,
.panel::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.11), transparent 28%, transparent 70%, rgba(123, 53, 255, 0.08));
  content: "";
}

.metric-card {
  display: grid;
  min-height: 116px;
  align-content: space-between;
  padding: 14px;
}

.metric-label {
  color: var(--muted);
  font-size: 0.66rem;
}

.metric-card strong {
  display: flex;
  align-items: baseline;
  gap: 6px;
  color: var(--cyan);
  font-family: "Orbitron", "Share Tech Mono", monospace;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  font-weight: 600;
}

.metric-card em {
  color: var(--muted);
  font-size: 0.84rem;
  font-style: normal;
}

.trend {
  color: var(--muted);
}

.trend.is-good {
  color: var(--green);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(520px, 1.28fr);
  gap: 16px;
  align-items: start;
}

.market-panel {
  grid-column: 1 / -1;
  min-height: 0;
}

.market-chart-panel {
  grid-column: 2;
  grid-row: 1;
  min-height: 0;
}

.energy-panel {
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
}

.control-panel {
  grid-column: 1;
  grid-row: 2;
}

.system-panel {
  grid-column: 2;
  grid-row: 2;
  min-height: 0;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 16px;
}

.panel {
  min-height: 260px;
  padding: 16px;
}

.panel-heading {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.eyebrow {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.63rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 8px;
  border: 1px solid rgba(0, 242, 255, 0.32);
  border-radius: 4px;
  color: var(--cyan);
  background: rgba(0, 242, 255, 0.08);
  font-size: 0.62rem;
  white-space: nowrap;
}

.chip.is-live {
  border-color: rgba(50, 255, 189, 0.38);
  color: var(--green);
  background: rgba(50, 255, 189, 0.08);
}

.chip.is-warn {
  border-color: rgba(255, 173, 51, 0.44);
  color: var(--amber);
  background: rgba(255, 173, 51, 0.09);
}

.chip.is-soft {
  color: var(--muted);
}

.energy-map {
  position: relative;
  z-index: 1;
  min-height: 360px;
  border: 1px solid rgba(0, 242, 255, 0.14);
  border-radius: 4px;
  background:
    radial-gradient(circle at 46% 50%, rgba(0, 242, 255, 0.13), transparent 21%),
    rgba(0, 242, 255, 0.035);
}

.flow-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: var(--cyan);
}

.flow {
  fill: none;
  stroke-width: 3;
  stroke-dasharray: 7 11;
  animation: dash 2.7s linear infinite;
}

.flow-solar {
  stroke: var(--amber);
}

.flow-battery {
  stroke: var(--green);
}

.flow-load,
.flow-grid {
  stroke: var(--cyan);
}

@keyframes dash {
  to {
    stroke-dashoffset: -36;
  }
}

.plant-node {
  position: absolute;
  display: grid;
  width: 132px;
  min-height: 96px;
  place-items: center;
  padding: 12px 8px;
  border: 1px solid rgba(0, 242, 255, 0.36);
  border-radius: 5px;
  text-align: center;
  background: rgba(5, 20, 29, 0.9);
}

.plant-node strong {
  color: var(--text);
  font-size: 0.78rem;
}

.plant-node small {
  color: var(--muted);
  font-size: 0.66rem;
}

.node-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--cyan-line);
  border-radius: 50%;
  color: var(--cyan);
  background: rgba(0, 242, 255, 0.09);
  font-family: "Orbitron", "Share Tech Mono", monospace;
  font-size: 0.75rem;
}

.node-solar {
  left: 5%;
  top: 36px;
}

.node-battery {
  left: 5%;
  bottom: 36px;
}

.node-bus {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.node-load {
  right: 5%;
  top: 36px;
}

.node-grid {
  right: 5%;
  bottom: 36px;
}

.energy-flow-board {
  position: relative;
  z-index: 1;
  height: 185px;
  min-height: 185px;
  overflow: hidden;
  border: 1px solid rgba(0, 242, 255, 0.22);
  border-radius: 4px;
  background:
    linear-gradient(rgba(0, 242, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 242, 255, 0.04) 1px, transparent 1px),
    rgba(2, 10, 16, 0.76);
  background-size: 24px 24px;
}

.energy-flow-board .plant-node {
  width: 116px;
  min-height: 64px;
  padding: 7px 6px;
}

.energy-flow-board .node-icon {
  width: 30px;
  height: 30px;
  font-size: 0.62rem;
}

.energy-flow-board .plant-node strong {
  font-size: 0.68rem;
}

.energy-flow-board .plant-node small {
  font-size: 0.58rem;
  line-height: 1.25;
}

.energy-flow-board .plant-node small b {
  color: var(--cyan);
  font-weight: 500;
}

.energy-flow-board .node-solar {
  left: 4%;
  top: 14px;
}

.energy-flow-board .node-battery {
  left: 4%;
  bottom: 14px;
}

.energy-flow-board .node-bus {
  left: 50%;
  top: 50%;
}

.energy-flow-board .node-load {
  right: 4%;
  top: 14px;
}

.energy-flow-board .node-grid {
  right: 4%;
  bottom: 14px;
}

.flow-link {
  position: absolute;
  z-index: 0;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 242, 255, 0.16);
  box-shadow: 0 0 10px rgba(0, 242, 255, 0.14);
  transform-origin: left center;
}

.flow-link span {
  position: absolute;
  inset: 0;
  display: block;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  animation: flowPulse 1.8s linear infinite;
}

.link-pv-ems {
  left: 26%;
  top: 54px;
  width: 27%;
  color: var(--amber);
  transform: rotate(16deg);
}

.link-bess-ems {
  left: 26%;
  bottom: 54px;
  width: 27%;
  color: var(--green);
  transform: rotate(-16deg);
}

.link-ems-load {
  left: 53%;
  top: 88px;
  width: 27%;
  color: var(--cyan);
  transform: rotate(-16deg);
}

.link-ems-grid {
  left: 53%;
  bottom: 88px;
  width: 27%;
  color: var(--cyan);
  transform: rotate(16deg);
}

@keyframes flowPulse {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

.price-head,
.price-stats,
.data-grid,
.route-grid {
  position: relative;
  z-index: 1;
}

.price-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.price-head > div,
.price-stats > div,
.data-grid > div,
.route-grid > a {
  border: 1px solid rgba(0, 242, 255, 0.18);
  border-radius: 4px;
  background: rgba(0, 242, 255, 0.04);
}

.price-head > div,
.price-stats > div,
.data-grid > div {
  padding: 10px;
}

.price-head span,
.price-stats span,
.data-grid span,
.route-grid span {
  display: block;
  color: var(--muted);
  font-size: 0.68rem;
}

.price-head strong,
.price-stats strong,
.data-grid strong {
  display: block;
  margin-top: 5px;
  color: var(--cyan);
  font-weight: 500;
}

.price-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.market-date-form {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(210px, 320px) auto;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.market-date-form label {
  color: var(--muted);
  font-family: "Orbitron", "Share Tech Mono", monospace;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.market-date-form select,
.market-date-form input[type="date"],
.market-date-form button {
  min-height: 38px;
  border: 1px solid rgba(0, 242, 255, 0.32);
  border-radius: 4px;
  background: rgba(0, 242, 255, 0.065);
  color: var(--cyan);
  font: inherit;
}

.market-date-form select {
  padding: 0 10px;
}

.market-date-form input[type="date"] {
  padding: 0 10px;
  color-scheme: dark;
}

.market-date-form select option {
  color: #001016;
}

.market-date-form button {
  padding: 0 14px;
  cursor: pointer;
}

.market-date-form button:hover {
  border-color: var(--cyan-line);
  box-shadow: 0 0 14px rgba(0, 242, 255, 0.12);
}

.market-table-wrap {
  position: relative;
  z-index: 1;
  overflow: auto;
  max-height: 580px;
  margin-top: 14px;
  border: 1px solid rgba(0, 242, 255, 0.18);
  border-radius: 4px;
  background: rgba(0, 242, 255, 0.035);
}

.market-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.market-table th,
.market-table td {
  height: 32px;
  border-bottom: 1px solid rgba(0, 242, 255, 0.11);
  padding: 6px 10px;
  text-align: right;
  white-space: nowrap;
}

.market-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: var(--cyan);
  background: rgba(3, 10, 15, 0.96);
  font-family: "Orbitron", "Share Tech Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
}

.market-table tbody th {
  position: sticky;
  left: 0;
  z-index: 1;
  color: var(--text);
  background: rgba(5, 20, 29, 0.96);
  text-align: left;
  font-weight: 500;
}

.market-table tbody tr:hover td,
.market-table tbody tr:hover th {
  background-color: rgba(0, 242, 255, 0.075);
}

.market-table td {
  color: var(--text);
}

.market-table td.is-negative,
.market-table td.is-low {
  color: var(--green);
  background: rgba(50, 255, 189, 0.07);
}

.market-table td.is-high {
  color: var(--amber);
  background: rgba(255, 173, 51, 0.08);
}

.market-table td.is-missing {
  color: var(--red);
  background: rgba(255, 61, 90, 0.08);
}

.market-table .hour-average {
  color: var(--cyan);
  font-weight: 700;
}

.price-chart {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  gap: 5px;
  height: 205px;
  margin-top: 18px;
  padding: 12px 8px 30px;
  border: 1px solid rgba(0, 242, 255, 0.15);
  border-radius: 4px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    rgba(0, 242, 255, 0.03);
  background-size: 100% 25%;
}

.bar {
  position: relative;
  flex: 1 1 0;
  min-width: 7px;
  border: 1px solid rgba(0, 242, 255, 0.26);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, rgba(0, 242, 255, 0.72), rgba(0, 242, 255, 0.14));
}

.bar.is-low {
  background: linear-gradient(180deg, rgba(50, 255, 189, 0.78), rgba(50, 255, 189, 0.15));
}

.bar.is-high {
  background: linear-gradient(180deg, rgba(255, 173, 51, 0.86), rgba(255, 173, 51, 0.16));
}

.bar span,
.bar strong {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}

.bar span {
  bottom: -22px;
  color: var(--muted);
  font-size: 0.55rem;
}

.bar strong {
  top: -18px;
  color: var(--text);
  font-size: 0.56rem;
  font-weight: 400;
}

.toggle-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
}

.switch-row {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  min-height: 56px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(0, 242, 255, 0.2);
  border-radius: 4px;
  background: rgba(0, 242, 255, 0.035);
}

.switch-row > span {
  width: 28px;
  height: 16px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--green);
  background: rgba(50, 255, 189, 0.18);
}

.switch-row.is-locked > span {
  color: var(--amber);
  background: rgba(255, 173, 51, 0.16);
}

.switch-row strong {
  color: var(--text);
  font-size: 0.78rem;
}

.switch-row small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.route-grid a {
  min-height: 92px;
  padding: 13px;
}

.route-grid a:hover {
  border-color: var(--cyan-line);
  background: rgba(0, 242, 255, 0.08);
}

.route-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--cyan);
  font-family: "Orbitron", "Share Tech Mono", monospace;
  font-size: 0.75rem;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.audit-note {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: var(--amber);
  font-size: 0.8rem;
}

.chart-canvas-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 330px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(0, 242, 255, 0.18);
  border-radius: 4px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    rgba(0, 242, 255, 0.03);
  background-size: 100% 25%;
}

.chart-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}

.no-data {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  padding: 40px 18px;
  border: 1px solid rgba(255, 173, 51, 0.28);
  border-radius: 4px;
  color: var(--amber);
  text-align: center;
  background: rgba(255, 173, 51, 0.06);
}

@media (max-width: 1180px) {
  .metric-grid {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }

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

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

  .energy-panel,
  .market-chart-panel,
  .control-panel,
  .system-panel {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .command-header {
    position: static;
    grid-template-columns: 1fr;
  }

  .top-actions {
    justify-content: stretch;
  }

  .select-field {
    width: 100%;
  }

  .select-field select {
    width: 100%;
    max-width: none;
  }

  .system-title {
    align-items: flex-start;
  }

  .brand-sigil {
    width: 44px;
    height: 44px;
  }

  .metric-grid,
  .price-head,
  .price-stats,
  .data-grid,
  .route-grid {
    grid-template-columns: 1fr;
  }

  .energy-map {
    min-height: 540px;
  }

  .plant-node {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }

  .node-solar {
    top: 22px;
  }

  .node-battery {
    top: 126px;
    bottom: auto;
  }

  .node-bus {
    top: 254px;
    transform: translate(-50%, -50%);
  }

  .node-load {
    top: auto;
    bottom: 126px;
  }

  .node-grid {
    top: auto;
    bottom: 22px;
  }

  .energy-flow-board {
    height: 520px;
  }

  .energy-flow-board .flow-link {
    display: none;
  }

  .energy-flow-board .plant-node {
    left: 50%;
    right: auto;
    width: 150px;
    transform: translateX(-50%);
  }

  .energy-flow-board .node-solar {
    top: 22px;
  }

  .energy-flow-board .node-battery {
    top: 122px;
    bottom: auto;
  }

  .energy-flow-board .node-bus {
    top: 260px;
    transform: translate(-50%, -50%);
  }

  .energy-flow-board .node-load {
    top: auto;
    bottom: 122px;
  }

  .energy-flow-board .node-grid {
    top: auto;
    bottom: 22px;
  }
}
