:root {
  color-scheme: dark;
  --park-bg: #041426;
  --park-panel: #071b2d;
  --park-panel-raised: #0a243a;
  --park-line: #236082;
  --park-cyan: #3ddfff;
  --park-blue: #4c9dff;
  --park-mint: #3fe4bb;
  --park-amber: #ffbb5b;
  --park-red: #ff667a;
  --park-violet: #a68bff;
  --park-ink: #e5faff;
  --park-muted: #759fb4;
  --park-dim: #55788c;
  --park-font: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: var(--park-bg);
  color: var(--park-ink);
  font-family: var(--park-font);
}
body {
  overflow: auto;
}
button,
select {
  font: inherit;
}
.park-screen {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  padding: 15px 20px 10px;
  background: radial-gradient(
    ellipse at 50% 42%,
    #0a3c5d 0,
    #051d36 48%,
    #010915 100%
  );
}
.park-screen:before {
  position: absolute;
  z-index: 0;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(#3bc9ff0d 1px, transparent 1px),
    linear-gradient(90deg, #3bc9ff0d 1px, transparent 1px);
  background-size: 42px 42px;
  animation: gridMove 18s linear infinite;
  content: "";
}
.park-screen > * {
  position: relative;
  z-index: 1;
}
.park-head {
  display: grid;
  min-height: 62px;
  grid-template-columns: 1fr 1.25fr 1.9fr;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #3acfff4d;
  padding-bottom: 10px;
}
.park-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  text-decoration: none;
}
.park-brand > i {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid #54ddff88;
  border-radius: 9px;
  background: linear-gradient(135deg, #25c4f7, #176cd7);
  box-shadow: 0 0 22px #27c9ff55;
  font-size: 16px;
}
.park-brand span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.park-brand small {
  display: block;
  margin-top: 3px;
  color: #72a7bf;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.13em;
}
.park-title {
  text-align: center;
}
.park-title > small,
.panel-head > div > small,
.map-heading > div > small {
  color: var(--park-cyan);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.2em;
}
.park-title h1 {
  margin: 3px 0 1px;
  font-size: 19px;
  letter-spacing: 0.08em;
}
.park-title p {
  margin: 0;
  color: #779bad;
  font-size: 8px;
  letter-spacing: 0.08em;
}
.park-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.park-controls label {
  display: flex;
  height: 31px;
  align-items: center;
  gap: 5px;
  border: 1px solid #286083;
  border-radius: 6px;
  background: #06192ae8;
  padding: 0 7px;
  color: #9dc2d1;
  font-size: 8px;
}
.park-controls label > i:first-child {
  color: var(--park-cyan);
}
.park-controls label > i:last-child {
  color: #5c8399;
  font-size: 7px;
}
.park-controls select {
  max-width: 91px;
  appearance: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}
.park-controls .range-control select {
  max-width: 55px;
}
.park-controls option {
  background: #071b2d;
}
.weather,
.online {
  color: #85aebe;
  font-size: 8px;
  white-space: nowrap;
}
.weather i {
  margin-right: 3px;
  color: var(--park-amber);
}
.online i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--park-mint);
  box-shadow: 0 0 9px var(--park-mint);
  animation: pulse 1.6s infinite;
}
.park-controls > strong {
  margin-left: 3px;
  color: #f2fbfd;
  font-size: 15px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.park-controls > button,
.map-status button {
  display: grid;
  width: 30px;
  height: 30px;
  flex: none;
  place-items: center;
  border: 1px solid #286083;
  border-radius: 6px;
  background: #06192a;
  color: var(--park-cyan);
  cursor: pointer;
  transition: 0.2s;
}
.park-controls > button:hover,
.map-status button:hover {
  border-color: var(--park-cyan);
  background: #0c3150;
}
.park-controls > button.is-refreshing i {
  animation: spin 0.8s linear infinite;
}

.park-kpis {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}
.park-kpi {
  position: relative;
  min-height: 88px;
  overflow: hidden;
  border: 1px solid #245777;
  border-radius: 8px;
  background: linear-gradient(135deg, #0a263bf5, #061629f5);
  padding: 10px 13px;
  box-shadow: 0 7px 20px #0006;
}
.park-kpi:after {
  position: absolute;
  top: -31px;
  right: -25px;
  width: 78px;
  height: 78px;
  border: 1px solid #37d7ff14;
  border-radius: 50%;
  box-shadow:
    0 0 0 11px #37d7ff08,
    0 0 0 22px #37d7ff05;
  content: "";
}
.park-kpi > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #88afc2;
  font-size: 9px;
}
.park-kpi > span i {
  color: var(--park-cyan);
  font-size: 11px;
}
.park-kpi:nth-child(3) > span i {
  color: var(--park-amber);
}
.park-kpi:nth-child(4) > span i {
  color: var(--park-mint);
}
.park-kpi > strong {
  display: block;
  margin: 5px 0 3px;
  color: #f2fbfe;
  font-size: 22px;
  line-height: 1;
}
.park-kpi > strong small {
  margin-left: 3px;
  color: #8cb1c1;
  font-size: 9px;
  font-weight: 500;
}
.park-kpi > div {
  color: #62889e;
  font-size: 7px;
}
.park-kpi > div b {
  color: #b6d7e2;
  font-weight: 600;
}
.park-kpi > div em {
  float: right;
  color: #638397;
  font-size: 7px;
  font-style: normal;
}
.alert-kpi {
  border-color: #725638;
  background: linear-gradient(135deg, #29251c, #101d2a);
}
.alert-kpi > div b {
  color: var(--park-amber);
}
.kpi-line {
  position: absolute;
  right: 11px;
  bottom: 10px;
  width: 49px;
  height: 18px;
  clip-path: polygon(
    0 74%,
    15% 52%,
    28% 66%,
    43% 28%,
    56% 49%,
    70% 15%,
    86% 40%,
    100% 0,
    100% 100%,
    0 100%
  );
  background: linear-gradient(180deg, #3ddfff76, transparent);
}
.line-blue {
  background: linear-gradient(180deg, #4c9dff76, transparent);
}
.line-amber {
  background: linear-gradient(180deg, #ffbb5b76, transparent);
}
.line-green {
  background: linear-gradient(180deg, #3fe4bb76, transparent);
}
.line-violet {
  background: linear-gradient(180deg, #a68bff76, transparent);
}

.park-workspace {
  display: grid;
  min-height: 0;
  flex: 1;
  grid-template-columns: minmax(230px, 0.92fr) minmax(420px, 1.58fr) minmax(
      250px,
      0.98fr
    );
  gap: 10px;
}
.park-column {
  display: grid;
  min-height: 0;
  gap: 9px;
}
.left-column {
  grid-template-rows: minmax(215px, 1.05fr) minmax(190px, 0.92fr) minmax(
      180px,
      0.88fr
    );
}
.right-column {
  grid-template-rows: minmax(195px, 0.9fr) minmax(218px, 1fr) minmax(
      180px,
      0.85fr
    );
}
.park-center {
  display: grid;
  min-height: 0;
  grid-template-rows: minmax(395px, 1.72fr) minmax(190px, 0.86fr);
  gap: 9px;
}
.park-panel,
.park-map-panel {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #28658b88;
  border-radius: 9px;
  background: linear-gradient(145deg, #061e32f2, #041629f2);
  box-shadow:
    inset 0 0 24px #29cfff0a,
    0 8px 22px #0007;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.park-panel {
  display: flex;
  flex-direction: column;
  padding: 11px;
}
.park-panel.is-focused {
  border-color: #54dfff;
  box-shadow:
    inset 0 0 25px #29cfff11,
    0 0 20px #22cfff22;
}
.panel-head {
  display: flex;
  min-height: 30px;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
}
.panel-head > div > small,
.map-heading > div > small {
  color: #68a5bd;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.17em;
}
.panel-head h2,
.map-heading h2 {
  margin: 2px 0 0;
  color: #e5f7fb;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.025em;
}
.live-tag,
.quality-tag,
.security-tag,
.service-score,
.panel-caption {
  flex: none;
  color: #77a5b9;
  font-size: 7px;
}
.live-tag {
  color: var(--park-mint);
}
.live-tag i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--park-mint);
  box-shadow: 0 0 7px var(--park-mint);
  animation: pulse 1.6s infinite;
}
.quality-tag {
  color: var(--park-mint);
}
.quality-tag i {
  margin-right: 3px;
}
.service-score b,
.panel-caption b {
  color: #b8d6e0;
  font-size: 8px;
}

.traffic-panel {
  display: flex;
  flex-direction: column;
}
.traffic-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 7px 0 1px;
}
.traffic-summary > strong {
  color: #f0fbfe;
  font-size: 19px;
}
.traffic-summary > strong small {
  color: #7fa6b6;
  font-size: 8px;
  font-weight: 500;
}
.traffic-summary > span {
  color: var(--park-mint);
  font-size: 7px;
}
.traffic-chart {
  min-height: 77px;
  flex: 1;
}
.traffic-chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.traffic-grid-line {
  stroke: #22516a;
  stroke-width: 1;
  stroke-dasharray: 3 5;
}
.traffic-area {
  fill: url(#trafficFill);
  opacity: 0.35;
}
.traffic-line {
  fill: none;
  stroke: var(--park-cyan);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px #3ddfff88);
}
.traffic-point {
  fill: #e5fbff;
  stroke: #1689b7;
  stroke-width: 3;
}
.chart-axis {
  display: flex;
  justify-content: space-between;
  color: #5e879a;
  font-size: 6px;
}
.flow-sources {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #1d4760;
  margin-top: 7px;
  padding-top: 6px;
  color: #799daf;
  font-size: 7px;
}
.flow-sources span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.flow-sources b {
  color: #c2dce5;
  font-size: 7px;
}
.flow-sources i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--park-cyan);
}
.source-employee {
  background: var(--park-blue) !important;
}
.source-contractor {
  background: var(--park-amber) !important;
}

.environment-panel {
  display: flex;
  flex-direction: column;
}
.environment-main {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 11px 0 8px;
}
.aqi-ring {
  position: relative;
  display: grid;
  width: 73px;
  height: 73px;
  flex: none;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(
    from -90deg,
    var(--park-mint) 0 88%,
    #15374a 88% 100%
  );
  box-shadow: 0 0 16px #35e2b933;
}
.aqi-ring:before {
  position: absolute;
  inset: 5px;
  border: 1px solid #276558;
  border-radius: 50%;
  background: linear-gradient(145deg, #0a2d38, #061a2a);
  content: "";
}
.aqi-ring > div {
  position: relative;
  display: grid;
  justify-items: center;
}
.aqi-ring strong {
  color: #e9fffa;
  font-size: 20px;
  line-height: 1;
}
.aqi-ring small {
  margin-top: 2px;
  color: #74ad9d;
  font-size: 7px;
}
.env-summary {
  display: grid;
  gap: 4px;
}
.env-summary > b {
  color: var(--park-mint);
  font-size: 11px;
}
.env-summary > span,
.env-summary > small {
  color: #6e92a3;
  font-size: 7px;
}
.env-summary > span strong {
  color: #b9d8e1;
}
.env-summary > small em {
  color: #a5c2ce;
  font-style: normal;
}
.env-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: auto;
}
.env-metrics > div {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #18425a;
  border-radius: 5px;
  background: #08223a;
  padding: 6px;
}
.env-metrics > div > i {
  color: var(--park-cyan);
  font-size: 11px;
}
.env-metrics span {
  color: #7397a7;
  font-size: 6px;
}
.env-metrics b {
  display: block;
  margin-top: 2px;
  color: #e2f4f7;
  font-size: 9px;
}
.env-metrics b small {
  color: #7797a3;
  font-size: 6px;
  font-weight: 400;
}

.service-panel {
  display: flex;
  flex-direction: column;
}
.service-list {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}
.service-list > div {
  display: grid;
  grid-template-columns: 1fr 23px;
  gap: 4px 7px;
  align-items: center;
}
.service-list span {
  color: #90b1be;
  font-size: 8px;
}
.service-list span i {
  width: 15px;
  color: var(--park-cyan);
}
.service-list > div > b {
  color: #d9edf2;
  text-align: right;
  font-size: 8px;
}
.service-bar {
  height: 4px;
  grid-column: 1 / 3;
  overflow: hidden;
  border-radius: 5px;
  background: #14364c;
}
.service-bar em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #267fcd, var(--park-cyan));
  box-shadow: 0 0 7px #31dfff66;
}

.park-map-panel {
  position: relative;
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 11px;
}
.map-heading {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
}
.map-heading h2 {
  font-size: 14px;
}
.map-status {
  display: flex;
  align-items: center;
  gap: 8px;
}
.map-status > span {
  color: #89b3c0;
  font-size: 7px;
}
.map-status > span i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--park-mint);
  box-shadow: 0 0 7px var(--park-mint);
}
.map-status button {
  width: 27px;
  height: 27px;
  font-size: 9px;
}
.park-twin {
  position: relative;
  min-height: 250px;
  flex: 1;
  overflow: hidden;
  isolation: isolate;
  margin: 8px 0 7px;
  border: 1px solid #3a89a0a3;
  border-radius: 7px;
  background: url("assets/digital-twin.webp") center 53% / cover no-repeat;
}
.map-vignette {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, #04152791, #06172c25 52%, #04152782),
    linear-gradient(180deg, #04152728, transparent 40%, #031427a6 100%);
}
.map-grid {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(#49dfff1c 1px, transparent 1px),
    linear-gradient(90deg, #49dfff1c 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(transparent, #000 18%, #000 82%, transparent);
}
.park-scan {
  position: absolute;
  z-index: 1;
  right: 4%;
  left: 4%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #54eaff,
    #fff,
    #54eaff,
    transparent
  );
  box-shadow: 0 0 18px #42e2ff;
  animation: scan 6s linear infinite;
}
.route-light {
  position: absolute;
  z-index: 2;
  width: 42%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--park-cyan),
    transparent
  );
  background-size: 150px 100%;
  filter: drop-shadow(0 0 7px var(--park-cyan));
  animation: route 2.8s linear infinite;
}
.route-one {
  top: 57%;
  left: 29%;
  transform: rotate(18deg);
}
.route-two {
  top: 68%;
  left: 36%;
  transform: rotate(-15deg);
  animation-delay: -1.4s;
}
.park-routes {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
}
.park-routes path {
  fill: none;
  stroke: #50ddf4bc;
  stroke-width: 1.6;
  stroke-dasharray: 7 7;
  filter: drop-shadow(0 0 4px #3ddfff);
  animation: routeDash 22s linear infinite;
}
.park-routes path:nth-child(2) {
  stroke: #ffbb5b9c;
  stroke-width: 1.2;
}
.park-routes path:nth-child(3) {
  stroke: #3fe4bb99;
  stroke-width: 1.2;
}
.park-index {
  position: absolute;
  z-index: 5;
  top: 12px;
  left: 50%;
  width: 170px;
  border: 1px solid #48ddff99;
  background: #04192edb;
  padding: 7px 10px;
  text-align: center;
  transform: translateX(-50%);
  clip-path: polygon(8% 0, 92% 0, 100% 24%, 93% 100%, 7% 100%, 0 24%);
  box-shadow: 0 0 24px #31cfff44;
}
.park-index span,
.park-index strong,
.park-index small {
  display: block;
}
.park-index span {
  color: #98c7d4;
  font-size: 7px;
}
.park-index strong {
  color: #f3fdff;
  font-size: 25px;
  text-shadow: 0 0 14px var(--park-cyan);
}
.park-index small {
  color: var(--park-mint);
  font-size: 6px;
}
.map-legend {
  position: absolute;
  z-index: 4;
  top: 13px;
  right: 11px;
  display: flex;
  gap: 8px;
  border: 1px solid #5ca7c166;
  border-radius: 5px;
  background: #03182ad1;
  padding: 5px 7px;
  color: #c0dce5;
  font-size: 6px;
  backdrop-filter: blur(5px);
}
.map-legend span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.map-legend i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.legend-normal {
  background: var(--park-mint);
  box-shadow: 0 0 5px var(--park-mint);
}
.legend-watch {
  background: var(--park-amber);
}
.legend-alert {
  background: var(--park-red);
}
.park-node {
  position: absolute;
  z-index: 5;
  display: flex;
  min-width: 130px;
  align-items: center;
  gap: 7px;
  border: 1px solid #48dfff99;
  border-radius: 6px;
  background: #031a2de8;
  padding: 6px 8px;
  color: #e5faff;
  text-align: left;
  box-shadow: 0 0 16px #35ceff3b;
  cursor: pointer;
  animation: float 3.4s ease-in-out infinite;
  backdrop-filter: blur(5px);
}
.park-node > i {
  display: grid;
  width: 22px;
  height: 22px;
  flex: none;
  place-items: center;
  border-radius: 5px;
  background: #0b3851;
  color: var(--park-cyan);
  font-size: 10px;
}
.park-node > span {
  min-width: 0;
}
.park-node b {
  display: block;
  font-size: 7px;
  white-space: nowrap;
}
.park-node small {
  display: block;
  margin-top: 3px;
  color: #85b7c8;
  font-size: 6px;
  white-space: nowrap;
}
.park-node em {
  width: 6px;
  height: 6px;
  flex: none;
  margin-left: auto;
  border-radius: 50%;
  background: var(--park-mint);
  box-shadow: 0 0 7px var(--park-mint);
}
.park-node:hover,
.park-node.selected {
  border-color: #90f0ff;
  box-shadow: 0 0 21px #35ceff66;
}
.park-node.alert-node {
  border-color: #ff687b99;
  box-shadow: 0 0 17px #ff526044;
}
.park-node.alert-node > i {
  background: #3c222b;
  color: var(--park-red);
}
.park-node.alert-node small {
  color: #ff9da8;
}
.park-node.alert-node em {
  background: var(--park-red);
  box-shadow: 0 0 7px var(--park-red);
  animation: pulse 0.9s infinite;
}
.park-node.n1 {
  top: 35%;
  left: 8%;
}
.park-node.n2 {
  top: 35%;
  right: 7%;
  animation-delay: -0.8s;
}
.park-node.n3 {
  right: 12%;
  bottom: 17%;
  animation-delay: -1.6s;
}
.park-node.n4 {
  bottom: 18%;
  left: 9%;
  animation-delay: -2.4s;
}
.map-footnote {
  position: absolute;
  z-index: 4;
  right: 10px;
  bottom: 8px;
  left: 10px;
  display: flex;
  justify-content: space-between;
  color: #c2dbe3;
  font-size: 6px;
  text-shadow: 0 1px 4px #001;
}
.map-footnote i {
  color: var(--park-cyan);
}
.map-footnote span:last-child i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 3px 1px;
  border-radius: 50%;
  background: var(--park-mint);
}
.map-summary {
  display: grid;
  flex: none;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #20506a;
  padding-top: 7px;
}
.map-summary > div {
  display: grid;
  gap: 3px;
  border-right: 1px solid #1a425b;
  padding: 0 8px;
}
.map-summary > div:first-child {
  padding-left: 0;
}
.map-summary > div:last-child {
  border: 0;
}
.map-summary span {
  color: #7196a9;
  font-size: 7px;
}
.map-summary b {
  color: #e1f5fa;
  font-size: 12px;
}
.map-summary b small {
  color: #7b9eac;
  font-size: 7px;
  font-weight: 400;
}
.map-summary .index-positive {
  color: var(--park-mint);
}

.event-panel {
  display: flex;
  flex-direction: column;
}
.event-filters {
  display: flex;
  gap: 3px;
  border: 1px solid #1d4e6b;
  border-radius: 5px;
  background: #06192a;
  padding: 2px;
}
.event-filters button {
  border: 0;
  border-radius: 3px;
  background: transparent;
  padding: 3px 6px;
  color: #769bad;
  font-size: 6px;
  cursor: pointer;
}
.event-filters button.active {
  background: #0e4b72;
  color: #bcecff;
}
.event-list {
  display: grid;
  gap: 4px;
  margin-top: 5px;
}
.park-event {
  display: grid;
  grid-template-columns: 23px minmax(100px, 1fr) 34px 25px;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  border-top: 1px solid #173d54;
  padding: 4px 1px;
}
.park-event[hidden] {
  display: none;
}
.event-icon {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 5px;
  background: #0b3550;
  color: var(--park-cyan);
  font-size: 9px;
}
.facility-icon {
  background: #173447;
  color: #79b8ff;
}
.security-icon {
  background: #3a2029;
  color: var(--park-red);
}
.park-event > span b {
  display: block;
  color: #d7ecf1;
  font-size: 7px;
}
.park-event > span small {
  display: block;
  margin-top: 2px;
  color: #6d93a5;
  font-size: 6px;
}
.park-event time {
  color: #7296a8;
  font-size: 6px;
}
.park-event > em {
  color: #8dc2d2;
  font-size: 6px;
  font-style: normal;
}
.priority-event {
  border-left: 2px solid var(--park-amber);
  padding-left: 5px;
  background: linear-gradient(90deg, #34291b88, transparent 65%);
}
.priority-event > em {
  color: var(--park-amber);
}

.safety-panel {
  display: flex;
  flex-direction: column;
}
.security-tag {
  color: var(--park-mint);
}
.security-tag i {
  margin-right: 3px;
}
.security-score {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: center;
  margin: 10px 0 7px;
}
.security-score > div {
  display: grid;
  gap: 3px;
  border-right: 1px solid #1a4259;
  padding: 0 8px;
}
.security-score > div:first-child {
  padding-left: 0;
}
.security-score > div:last-child {
  border: 0;
}
.security-score strong {
  color: #eafffd;
  font-size: 17px;
}
.security-score strong small {
  font-size: 8px;
}
.security-score b {
  color: #d5e9ef;
  font-size: 13px;
}
.security-score span,
.security-score small {
  color: #6e93a5;
  font-size: 6px;
}
.security-bars {
  display: grid;
  gap: 6px;
  margin-top: auto;
}
.security-bars > div {
  display: grid;
  grid-template-columns: 52px 1fr 20px;
  align-items: center;
  gap: 6px;
  color: #84a8b7;
  font-size: 6px;
}
.security-bars i {
  height: 4px;
  overflow: hidden;
  border-radius: 4px;
  background: #15394e;
}
.security-bars i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1b77c2, var(--park-cyan));
}
.security-bars > div:nth-child(2) i b {
  background: linear-gradient(90deg, #b98432, var(--park-amber));
}
.security-bars strong {
  color: #cbe2e9;
  text-align: right;
  font-size: 7px;
}
.panel-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  border: 0;
  border-top: 1px solid #1c4259;
  background: transparent;
  padding: 7px 0 0;
  color: #81b4c7;
  text-align: left;
  font-size: 7px;
  cursor: pointer;
}
.panel-link:hover {
  color: var(--park-cyan);
}

.energy-panel {
  display: flex;
  flex-direction: column;
}
.energy-trend {
  color: var(--park-mint);
  font-size: 8px;
}
.energy-main {
  display: grid;
  grid-template-columns: 1fr 48px;
  align-items: center;
  margin: 8px 0 7px;
}
.energy-main > strong {
  color: #f0fbfd;
  font-size: 20px;
}
.energy-main > strong small {
  color: #83a9b8;
  font-size: 8px;
  font-weight: 500;
}
.energy-main > span {
  grid-column: 1;
  grid-row: 2;
  color: #6e91a1;
  font-size: 6px;
}
.energy-ring {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  grid-column: 2;
  grid-row: 1 / 3;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--park-mint) 0 32%, #14384b 32% 100%);
}
.energy-ring:before {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: #071d30;
  content: "";
}
.energy-ring b {
  position: relative;
  color: #d9fff5;
  font-size: 10px;
}
.energy-ring small {
  font-size: 6px;
}
.energy-mix {
  display: grid;
  gap: 6px;
  margin-top: 2px;
}
.energy-mix > div {
  display: grid;
  grid-template-columns: 1fr 25px;
  align-items: center;
  gap: 3px 6px;
}
.energy-mix span {
  color: #86a8b5;
  font-size: 7px;
}
.energy-mix span i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--park-cyan);
}
.energy-mix > div:nth-child(2) span i {
  background: var(--park-blue);
}
.energy-mix > div:nth-child(3) span i {
  background: var(--park-violet);
}
.energy-mix > div > b {
  color: #c7dfe6;
  text-align: right;
  font-size: 7px;
}
.mix-track {
  height: 4px;
  grid-column: 1 / 3;
  overflow: hidden;
  border-radius: 4px;
  background: #15384b;
}
.mix-track em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #158cc5, var(--park-cyan));
}
.energy-mix > div:nth-child(2) .mix-track em {
  background: linear-gradient(90deg, #276cb8, var(--park-blue));
}
.energy-mix > div:nth-child(3) .mix-track em {
  background: linear-gradient(90deg, #6858a9, var(--park-violet));
}
.carbon-note {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  border-top: 1px solid #1c4355;
  padding-top: 7px;
  color: #72a292;
  font-size: 6px;
}
.carbon-note i {
  color: var(--park-mint);
}
.carbon-note b {
  color: #c2e8d8;
  font-size: 7px;
}
.carbon-note span {
  margin-left: auto;
  color: #78a395;
}

.facility-panel {
  display: flex;
  flex-direction: column;
}
.facility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 9px;
}
.facility-grid > div {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 2px 5px;
  border: 1px solid #19445d;
  border-radius: 5px;
  background: #082139;
  padding: 6px;
}
.facility-grid > div > i {
  grid-row: 1 / 3;
  color: var(--park-cyan);
  font-size: 11px;
}
.facility-grid span {
  color: #779baa;
  font-size: 6px;
}
.facility-grid b {
  color: #dfedf1;
  font-size: 10px;
}
.facility-grid b small {
  color: #7595a2;
  font-size: 6px;
  font-weight: 400;
}
.facility-grid .facility-warn {
  color: var(--park-amber);
}

.park-dock {
  display: flex;
  align-self: center;
  gap: 2px;
  border: 1px solid #2c98ba77;
  border-radius: 7px;
  background: #051a2de8;
  padding: 3px;
  box-shadow: 0 0 25px #001;
}
.park-dock button {
  display: grid;
  min-width: 79px;
  gap: 3px;
  place-items: center;
  border: 0;
  border-right: 1px solid #23485d;
  border-radius: 4px;
  background: transparent;
  padding: 5px 9px;
  color: #719caf;
  font-size: 7px;
  cursor: pointer;
  transition: 0.2s;
}
.park-dock button:last-child {
  border: 0;
}
.park-dock button i {
  font-size: 13px;
}
.park-dock button.active {
  background: #0d4f78;
  color: var(--park-cyan);
  box-shadow: inset 0 0 15px #2ad3ff33;
}
.park-ticker {
  display: grid;
  min-height: 30px;
  grid-template-columns: 91px minmax(0, 1fr) 86px;
  align-items: center;
  border: 1px solid #2c8eaa66;
  border-radius: 4px;
  background: #041625eb;
  font-size: 7px;
}
.park-ticker > b {
  display: grid;
  height: 100%;
  place-items: center;
  background: #0b78a5;
  color: #e9faff;
  font-size: 7px;
  letter-spacing: 0.08em;
}
.park-ticker > b i {
  margin-right: 3px;
}
.ticker-track {
  display: flex;
  min-width: 0;
  gap: 36px;
  overflow: hidden;
  padding-left: 13px;
  color: #759bad;
  white-space: nowrap;
  animation: ticker 26s linear infinite;
}
.park-ticker > em {
  color: #7097aa;
  text-align: center;
  font-size: 6px;
  font-style: normal;
}
.park-ticker > em i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 3px 1px;
  border-radius: 50%;
  background: var(--park-mint);
  box-shadow: 0 0 8px var(--park-mint);
}
.park-toast {
  position: fixed;
  z-index: 20;
  right: 20px;
  bottom: 48px;
  opacity: 0;
  transform: translateY(7px);
  border: 1px solid #286b89;
  border-radius: 6px;
  background: #082239;
  padding: 9px 13px;
  color: #e5faff;
  font-size: 10px;
  pointer-events: none;
  transition: 0.2s;
}
.park-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.park-twin:fullscreen {
  width: 100vw;
  height: 100vh;
  margin: 0;
  border: 0;
  border-radius: 0;
}

@keyframes scan {
  from {
    top: 8%;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  to {
    top: 92%;
    opacity: 0;
  }
}
@keyframes route {
  to {
    background-position: 300px;
  }
}
@keyframes routeDash {
  to {
    stroke-dashoffset: -280px;
  }
}
@keyframes float {
  50% {
    translate: 0 -4px;
  }
}
@keyframes pulse {
  50% {
    opacity: 0.38;
  }
}
@keyframes gridMove {
  to {
    background-position: 42px 42px;
  }
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 1600px) {
  .park-screen {
    gap: 14px;
    padding: 19px 28px 12px;
  }
  .park-head {
    min-height: 68px;
  }
  .park-kpi {
    min-height: 100px;
    padding: 12px 15px;
  }
  .park-kpi > strong {
    font-size: 25px;
  }
  .park-workspace {
    gap: 13px;
  }
  .park-column,
  .park-center {
    gap: 12px;
  }
  .park-panel,
  .park-map-panel {
    padding: 13px;
  }
  .park-center {
    grid-template-rows: minmax(470px, 1.75fr) minmax(210px, 0.85fr);
  }
}
@media (max-width: 1180px) {
  .park-screen {
    padding: 12px;
  }
  .park-head {
    grid-template-columns: 0.8fr 1fr 1.7fr;
  }
  .park-title h1 {
    font-size: 16px;
  }
  .park-controls {
    gap: 4px;
  }
  .park-controls .range-control,
  .weather {
    display: none;
  }
  .park-workspace {
    grid-template-columns: minmax(205px, 0.9fr) minmax(350px, 1.45fr) minmax(
        220px,
        0.9fr
      );
    gap: 8px;
  }
  .park-column,
  .park-center {
    gap: 8px;
  }
  .park-panel,
  .park-map-panel {
    padding: 9px;
  }
  .park-node {
    min-width: 116px;
    gap: 5px;
    padding: 5px;
  }
  .park-node > i {
    width: 19px;
    height: 19px;
  }
}
@media (max-width: 850px) {
  .park-screen {
    min-height: 100vh;
    overflow: visible;
    gap: 9px;
    padding: 9px;
  }
  .park-head {
    grid-template-columns: 1fr auto;
  }
  .park-title {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }
  .park-controls {
    grid-column: 2;
    grid-row: 1;
  }
  .park-title h1 {
    font-size: 16px;
  }
  .park-controls > strong,
  .online {
    display: none;
  }
  .park-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .park-kpi {
    min-height: 84px;
  }
  .park-kpi:last-child {
    grid-column: 1 / -1;
  }
  .park-workspace {
    grid-template-columns: 1fr;
  }
  .park-center {
    grid-row: 1;
    grid-template-rows: minmax(390px, 58vh) auto;
  }
  .park-center > * {
    min-height: 190px;
  }
  .park-column {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
  }
  .park-column > * {
    min-height: 190px;
  }
  .right-column .energy-panel {
    grid-row: span 2;
  }
  .park-ticker {
    grid-template-columns: 80px minmax(0, 1fr) 78px;
  }
}
@media (max-width: 560px) {
  .park-brand > i {
    width: 31px;
    height: 31px;
    font-size: 13px;
  }
  .park-brand span {
    font-size: 11px;
  }
  .park-brand small {
    font-size: 6px;
  }
  .park-title h1 {
    font-size: 14px;
  }
  .park-title > small {
    font-size: 6px;
  }
  .park-controls label {
    height: 28px;
    padding: 0 5px;
    font-size: 7px;
  }
  .park-controls select {
    max-width: 70px;
  }
  .park-controls > button {
    width: 27px;
    height: 28px;
  }
  .park-kpi {
    min-height: 80px;
    padding: 8px;
  }
  .park-kpi > span {
    font-size: 8px;
  }
  .park-kpi > strong {
    font-size: 19px;
  }
  .park-kpi > div {
    font-size: 6px;
  }
  .park-workspace {
    gap: 8px;
  }
  .park-center {
    grid-template-rows: 385px auto;
  }
  .park-map-panel {
    padding: 8px;
  }
  .park-twin {
    min-height: 230px;
    background-position: center;
  }
  .park-index {
    top: 9px;
    width: 140px;
  }
  .park-index strong {
    font-size: 21px;
  }
  .map-legend {
    top: auto;
    right: 7px;
    bottom: 34px;
    gap: 5px;
    padding: 4px;
    font-size: 5px;
  }
  .park-node {
    min-width: 102px;
    gap: 4px;
    padding: 4px;
  }
  .park-node > i {
    width: 17px;
    height: 17px;
    font-size: 8px;
  }
  .park-node b {
    font-size: 6px;
  }
  .park-node small {
    font-size: 5px;
  }
  .park-node.n1 {
    left: 2%;
  }
  .park-node.n2 {
    right: 2%;
  }
  .park-node.n3 {
    right: 3%;
    bottom: 17%;
  }
  .park-node.n4 {
    left: 3%;
    bottom: 18%;
  }
  .map-summary {
    grid-template-columns: repeat(3, 1fr);
  }
  .map-summary > div:last-child {
    display: none;
  }
  .park-column {
    grid-template-columns: 1fr;
  }
  .park-column > * {
    min-height: 190px;
  }
  .right-column .energy-panel {
    grid-row: auto;
    min-height: 210px;
  }
  .environment-panel {
    min-height: 215px !important;
  }
  .event-filters button {
    padding: 3px 5px;
  }
  .park-dock {
    align-self: stretch;
    justify-content: space-around;
  }
  .park-dock button {
    min-width: 0;
    flex: 1;
    padding: 5px 3px;
    font-size: 6px;
  }
  .park-ticker {
    min-height: 28px;
    grid-template-columns: 68px minmax(0, 1fr);
  }
  .park-ticker > em {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
