:root {
  color-scheme: dark;
  --bg: #06151a;
  --panel: #081f27ef;
  --line: #2d788070;
  --mint: #55e2b1;
  --teal: #34d3c2;
  --cyan: #55d9ee;
  --gold: #e7c36c;
  --amber: #f5aa52;
  --red: #ff727b;
  --ink: #eaf7f3;
  --muted: #90b4ae;
  --dim: #678982;
  --font: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}
body {
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
}
button,
select {
  color: inherit;
  font: inherit;
}
button {
  cursor: pointer;
}
.carbon-screen {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  isolation: isolate;
  background: radial-gradient(
    ellipse at 50% 40%,
    #153e3c 0,
    #0a242a 42%,
    #061116 100%
  );
}
.carbon-screen::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(#6ce7d009 1px, transparent 1px),
    linear-gradient(90deg, #6ce7d009 1px, transparent 1px);
  background-size: 48px 48px;
  animation: grid-drift 18s linear infinite;
  content: "";
}
.carbon-head {
  position: relative;
  z-index: 12;
  display: grid;
  height: 69px;
  grid-template-columns: 1fr 1.2fr 1.8fr;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #64d8bd55;
  background: linear-gradient(90deg, #06191fef, #103634d9 50%, #06191fef);
  box-shadow: 0 8px 30px #0008;
  padding: 0 20px;
}
.carbon-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  text-decoration: none;
}
.carbon-brand > i {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  border: 1px solid #81e7c877;
  border-radius: 9px;
  background: linear-gradient(145deg, #40cda6, #1c7e74);
  box-shadow: 0 0 22px #54dfb044;
  color: #f4fff9;
  font-size: 16px;
}
.carbon-brand span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.carbon-brand small {
  display: block;
  margin-top: 3px;
  color: #83b7a9;
  font-size: 7px;
  font-weight: 500;
  letter-spacing: 0.13em;
}
.head-title {
  text-align: center;
}
.head-title > small {
  color: var(--mint);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.head-title h1 {
  margin: 3px 0 0;
  font-size: 20px;
  letter-spacing: 0.1em;
}
.head-title p {
  margin: 1px 0 0;
  color: #89aaa3;
  font-size: 8px;
  letter-spacing: 0.1em;
}
.head-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}
.head-tools label {
  display: flex;
  height: 30px;
  align-items: center;
  gap: 5px;
  border: 1px solid #569d8a63;
  border-radius: 5px;
  background: #082329df;
  padding: 0 7px;
  color: #9ec9bd;
  font-size: 9px;
}
.head-tools select {
  max-width: 112px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #dff7ed;
  font-size: 9px;
}
.head-tools option {
  background: #0a2528;
}
.online {
  color: #9cc9bb;
  font-size: 8px;
  white-space: nowrap;
}
.online i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
  animation: blink 1.6s infinite;
}
.head-tools > strong {
  margin: 0 5px;
  color: #f4fff9;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.head-tools > button {
  display: grid;
  width: 31px;
  height: 30px;
  place-items: center;
  border: 1px solid #569d8a63;
  border-radius: 5px;
  background: #082329df;
  color: var(--mint);
}
.head-tools > button:hover {
  background: #145347;
}
#carbonRefresh.refreshing i {
  animation: rotate 0.7s linear infinite;
}
.carbon-kpis {
  position: absolute;
  z-index: 10;
  top: 81px;
  right: 20px;
  left: 20px;
  display: grid;
  height: 83px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.carbon-kpi {
  position: relative;
  overflow: hidden;
  border: 1px solid #3d897b70;
  border-radius: 7px;
  background: linear-gradient(120deg, #0a272cec, #071c25ec);
  padding: 9px 12px;
  box-shadow:
    inset 0 0 20px #56dcb40a,
    0 5px 20px #0004;
}
.carbon-kpi > span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #a6c7be;
  font-size: 9px;
}
.carbon-kpi > span i {
  color: var(--mint);
  font-size: 11px;
}
.carbon-kpi > strong {
  display: block;
  margin-top: 3px;
  color: #f4fff9;
  font-size: 23px;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 14px #5bdcb833;
}
.carbon-kpi > strong small {
  margin-left: 3px;
  color: #83aaa0;
  font-size: 9px;
  font-weight: 500;
  text-shadow: none;
}
.carbon-kpi > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 4px;
  color: #789b91;
  font-size: 7px;
}
.carbon-kpi > div b {
  color: #a7c7bd;
  font-weight: 500;
  white-space: nowrap;
}
.carbon-kpi > div b em {
  color: var(--mint);
  font-style: normal;
}
.carbon-kpi > div small {
  overflow: hidden;
  color: #77958d;
  font-size: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.spark {
  position: absolute;
  right: 9px;
  bottom: 8px;
  width: 44px;
  height: 14px;
  opacity: 0.45;
  clip-path: polygon(
    0 80%,
    20% 55%,
    35% 70%,
    52% 22%,
    70% 48%,
    83% 10%,
    100% 25%,
    100% 100%,
    0 100%
  );
}
.spark-cyan {
  background: var(--cyan);
}
.spark-blue {
  background: #66aaff;
}
.spark-green {
  background: var(--mint);
}
.spark-gold {
  background: var(--gold);
}
.spark-violet {
  background: #b59bff;
}
.carbon-stage {
  position: absolute;
  z-index: 1;
  inset: 0 0 52px;
  overflow: hidden;
  background: url("assets/digital-twin.webp") center 54% / cover no-repeat;
}
.stage-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #06161bea 0%,
      #0718209a 18%,
      #0718203b 50%,
      #0718209a 82%,
      #06161bea 100%
    ),
    linear-gradient(180deg, #06191b 0%, #05191d24 27%, #06171da8 100%);
}
.stage-grid {
  position: absolute;
  inset: 0;
  opacity: 0.32;
  background-image:
    linear-gradient(#7debd317 1px, transparent 1px),
    linear-gradient(90deg, #7debd317 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent);
}
.stage-scan {
  position: absolute;
  right: 17%;
  left: 17%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    #5debd4,
    #fff,
    #5debd4,
    transparent
  );
  box-shadow: 0 0 20px #5debd4;
  animation: scan 7s linear infinite;
}
.stage-caption {
  position: absolute;
  z-index: 3;
  top: 22px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #68d5b956;
  background: #062127ce;
  padding: 8px 13px;
  color: #d9f7eb;
  font-size: 9px;
  letter-spacing: 0.12em;
  transform: translateX(-50%);
  backdrop-filter: blur(6px);
}
.stage-caption > i {
  color: var(--mint);
  font-size: 15px;
}
.stage-caption small {
  display: block;
  margin-top: 3px;
  color: #86aca0;
  font-size: 7px;
  letter-spacing: 0.08em;
}
.carbon-core {
  position: absolute;
  z-index: 3;
  top: 32%;
  left: 50%;
  display: grid;
  width: 190px;
  height: 190px;
  align-content: center;
  justify-items: center;
  border: 1px solid #77e5cd88;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #0a2929e8 0 53%,
    #0a2725b8 54% 66%,
    #2bbd9e35 67% 69%,
    #06201f99 70%
  );
  box-shadow:
    0 0 0 12px #72e6c50c,
    0 0 42px #37d9b144,
    inset 0 0 28px #75e4c51c;
  transform: translateX(-50%);
  text-align: center;
}
.carbon-core::before,
.carbon-core::after {
  position: absolute;
  inset: -10px;
  border: 1px dashed #8ce8d360;
  border-radius: 50%;
  animation: rotate 28s linear infinite;
  content: "";
}
.carbon-core::after {
  inset: 10px;
  border-style: solid;
  border-color: #6cdbba35;
  animation-direction: reverse;
  animation-duration: 16s;
}
.carbon-core > span {
  color: #a5d2c3;
  font-size: 9px;
}
.carbon-core > strong {
  color: #f1fff8;
  font-size: 38px;
  line-height: 1.1;
  text-shadow: 0 0 18px #54e2b9a3;
}
.carbon-core > small {
  color: #83aca0;
  font-size: 8px;
}
.carbon-core > small i {
  margin-left: 4px;
  color: var(--mint);
  font-style: normal;
}
.twin-orbit {
  position: absolute;
  z-index: 2;
  top: 42%;
  left: 50%;
  width: min(48vw, 680px);
  height: 250px;
  border: 1px solid #79dcc32e;
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-17deg);
}
.orbit-b {
  width: min(52vw, 760px);
  height: 315px;
  border-color: #7bdfc221;
  transform: translate(-50%, -50%) rotate(18deg);
}
.twin-links {
  position: absolute;
  z-index: 2;
  inset: 10% 16% 14%;
  width: 68%;
  height: 76%;
  overflow: visible;
}
.twin-links path {
  fill: none;
  stroke: #8cf0d17b;
  stroke-width: 1.8;
  stroke-dasharray: 8 8;
  filter: drop-shadow(0 0 4px #43d6b3);
  animation: dash 25s linear infinite;
}
.twin-links path:nth-child(2) {
  stroke: #f0d27a83;
  stroke-width: 1.2;
}
.twin-links path:nth-child(3) {
  stroke: #69d9ef8c;
  stroke-width: 1.4;
}
.building-node {
  position: absolute;
  z-index: 5;
  display: flex;
  min-width: 174px;
  align-items: center;
  gap: 8px;
  border: 1px solid #73dac099;
  border-radius: 6px;
  background: #061e22e8;
  padding: 7px 9px;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 0 20px #39caa733;
  backdrop-filter: blur(7px);
  transition: 0.2s;
}
.building-node:hover,
.building-node.selected {
  border-color: #a1f2d7;
  box-shadow: 0 0 26px #44dbb455;
  transform: translateY(-2px);
}
.building-node > i {
  display: grid;
  width: 28px;
  height: 28px;
  flex: none;
  place-items: center;
  border-radius: 5px;
  background: #17433b;
  color: var(--mint);
  font-size: 13px;
}
.building-node > span {
  min-width: 0;
}
.building-node b {
  display: block;
  font-size: 9px;
  white-space: nowrap;
}
.building-node small {
  display: block;
  margin-top: 3px;
  color: #94bdb0;
  font-size: 7px;
  white-space: nowrap;
}
.building-node em {
  width: 6px;
  height: 6px;
  flex: none;
  margin-left: auto;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
}
.node-a {
  top: 30%;
  left: 29%;
}
.node-b {
  top: 32%;
  right: 25%;
}
.node-c {
  right: 29%;
  bottom: 20%;
}
.node-d {
  bottom: 19%;
  left: 24%;
}
.node-c > i {
  background: #44371f;
  color: var(--gold);
}
.node-c em {
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
}
.stage-legend {
  position: absolute;
  z-index: 4;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 12px;
  border: 1px solid #79d5bd55;
  border-radius: 4px;
  background: #061d22cf;
  padding: 6px 9px;
  color: #b5d7cc;
  font-size: 7px;
  backdrop-filter: blur(7px);
}
.stage-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.stage-legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.legend-live {
  background: var(--mint);
  box-shadow: 0 0 7px var(--mint);
}
.legend-project {
  background: var(--gold);
}
.legend-watch {
  background: var(--red);
}
.stage-footer {
  position: absolute;
  z-index: 4;
  right: 25%;
  bottom: 116px;
  left: 25%;
  display: flex;
  justify-content: space-between;
  color: #bedbd1;
  font-size: 8px;
  text-shadow: 0 1px 5px #001;
}
.stage-footer i {
  margin-right: 3px;
  color: var(--mint);
}
.stage-footer b {
  color: #e7f8ef;
}
.carbon-rail {
  position: absolute;
  z-index: 8;
  top: 174px;
  bottom: 118px;
  display: grid;
  width: 23.2%;
  gap: 9px;
}
.rail-left {
  left: 15px;
  grid-template-rows: 1.08fr 0.92fr 0.95fr;
}
.rail-right {
  right: 15px;
  grid-template-rows: 0.94fr 1.04fr 1fr;
}
.carbon-panel {
  min-height: 0;
  overflow: hidden;
  border: 1px solid #5aa58a66;
  border-radius: 7px;
  background: linear-gradient(140deg, #071e23ee, #06171def);
  padding: 10px 11px;
  box-shadow:
    inset 0 0 30px #58dcb50a,
    0 8px 24px #0006;
  backdrop-filter: blur(8px);
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  border-bottom: 1px solid #3a7a6952;
  padding-bottom: 6px;
}
.panel-heading h2 {
  margin: 3px 0 0;
  color: #e6f8ef;
  font-size: 12px;
}
.panel-heading small {
  color: var(--mint);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.panel-heading select {
  max-width: 88px;
  border: 1px solid #4a887866;
  border-radius: 4px;
  background: #0a2928;
  padding: 4px 5px;
  color: #c6e7da;
  font-size: 7px;
}
.panel-state {
  color: #8dc6ae;
  font-size: 7px;
  white-space: nowrap;
}
.panel-state::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 4px;
  border-radius: 50%;
  background: var(--mint);
  content: "";
}
.chart-highlight {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: 7px;
}
.chart-highlight strong {
  color: #f0fff7;
  font-size: 17px;
}
.chart-highlight strong small {
  color: #8eada2;
  font-size: 8px;
  font-weight: 500;
}
.chart-highlight > span {
  color: var(--mint);
  font-size: 7px;
}
.carbon-chart {
  height: calc(100% - 89px);
  min-height: 75px;
  margin-top: 5px;
}
.carbon-chart svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.chart-grid line {
  stroke: #6cae9d22;
  stroke-dasharray: 3 5;
}
.chart-area {
  fill: url(#carbonFill);
}
.chart-current,
.chart-previous {
  fill: none;
  stroke-width: 2.5;
  vector-effect: non-scaling-stroke;
}
.chart-current {
  stroke: var(--mint);
  filter: drop-shadow(0 0 4px #4ce2b6);
}
.chart-previous {
  stroke: #e7c36c88;
  stroke-width: 1.6;
  stroke-dasharray: 5 5;
}
.carbon-chart circle {
  fill: #d9fff1;
  stroke: #3ccfa5;
  stroke-width: 2;
}
.chart-labels {
  display: flex;
  justify-content: space-between;
  color: #71958a;
  font-size: 6px;
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  color: #91b2a6;
  font-size: 6px;
}
.chart-legend span {
  display: flex;
  align-items: center;
  gap: 4px;
}
.chart-legend i {
  width: 10px;
  height: 2px;
  background: var(--mint);
}
.chart-legend span:nth-child(2) i {
  background: var(--gold);
}
.chart-legend b {
  margin-left: auto;
  color: #779a8e;
  font-size: 6px;
  font-weight: 400;
}
.source-body {
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: center;
  gap: 9px;
  margin-top: 11px;
}
.source-donut {
  position: relative;
  display: grid;
  width: 94px;
  height: 94px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(
    var(--mint) 0 62.4%,
    #58c9db 62.4% 81%,
    #e7c36c 81% 92.2%,
    #8278c7 92.2% 100%
  );
  box-shadow: 0 0 22px #5be2b528;
}
.source-donut::before {
  position: absolute;
  inset: 7px;
  border-radius: inherit;
  background: #082027;
  content: "";
}
.source-donut b {
  position: relative;
  color: #effff8;
  font-size: 15px;
  text-align: center;
}
.source-donut small {
  display: block;
  color: #86aa9f;
  font-size: 7px;
  font-weight: 400;
}
.source-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.source-body li {
  display: flex;
  align-items: center;
  margin: 10px 0;
  color: #a1c1b5;
  font-size: 8px;
}
.source-body li i {
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--mint);
}
.source-body li:nth-child(2) i {
  background: #58c9db;
}
.source-body li:nth-child(3) i {
  background: var(--gold);
}
.source-body li:nth-child(4) i {
  background: #8278c7;
}
.source-body li b {
  margin-left: auto;
  color: #e0f2e9;
  font-weight: 600;
}
.source-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 9px;
  border-top: 1px solid #3776684a;
  padding-top: 7px;
  color: #81a89b;
  font-size: 7px;
}
.source-foot b {
  color: var(--mint);
  font-weight: 500;
}
.project-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 31px;
  gap: 2px 8px;
  align-items: center;
  margin-top: 9px;
}
.project-row div b {
  display: block;
  color: #cce5da;
  font-size: 8px;
}
.project-row div small {
  display: block;
  margin-top: 2px;
  color: #789b90;
  font-size: 6px;
}
.project-row > strong {
  color: var(--mint);
  font-size: 9px;
  text-align: right;
}
.project-row > i {
  grid-column: 1 / 3;
  height: 4px;
  overflow: hidden;
  border-radius: 5px;
  background: #183d3c;
}
.project-row > i em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #18977f, var(--mint));
}
.quota-main {
  display: grid;
  grid-template-columns: 95px 1fr;
  align-items: center;
  margin: 10px 0 7px;
}
.quota-main > strong {
  color: var(--mint);
  font-size: 26px;
}
.quota-main > strong small {
  font-size: 10px;
}
.quota-main > div {
  display: grid;
  gap: 5px;
  color: #83a99d;
  font-size: 7px;
}
.quota-main > div b {
  float: right;
  color: #d6eee2;
  font-size: 8px;
}
.quota-track {
  position: relative;
  height: 8px;
  overflow: hidden;
  border-radius: 6px;
  background: #183d37;
}
.quota-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #38b895, #d9c16e);
  box-shadow: 0 0 9px #58ddb466;
  transition: width 0.3s;
}
.quota-track b {
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: 85%;
  width: 1px;
  background: #ff8081;
}
.quota-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: #779a8d;
  font-size: 7px;
}
.quota-foot b {
  color: var(--gold);
}
.quota-foot span:last-child {
  color: var(--mint);
}
.quota-milestones {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  border-top: 1px solid #34726350;
  padding-top: 8px;
  color: #8bb1a3;
  font-size: 6px;
}
.quota-milestones i {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 4px;
  border-radius: 50%;
  background: #456c60;
}
.quota-milestones .done {
  background: var(--mint);
}
.quota-milestones .current {
  background: var(--gold);
  box-shadow: 0 0 7px var(--gold);
}
.energy-composition {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: center;
  gap: 9px;
  margin-top: 9px;
}
.energy-donut {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(
    var(--mint) 0 36.8%,
    #5ac8dd 36.8% 69.6%,
    #e4bd66 69.6% 87.3%,
    #9185d0 87.3% 95.4%,
    #28463d 95.4%
  );
}
.energy-donut::before {
  position: absolute;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #092127;
  content: "";
}
.energy-donut b {
  position: relative;
  color: #dffaf0;
  font-size: 9px;
  text-align: center;
}
.energy-donut small {
  display: block;
  color: var(--mint);
  font-size: 12px;
}
.energy-breakdown {
  display: grid;
  gap: 7px;
}
.energy-breakdown > div span {
  display: flex;
  justify-content: space-between;
  color: #9dbdb1;
  font-size: 7px;
}
.energy-breakdown > div span i {
  color: #d9ece3;
  font-style: normal;
}
.energy-breakdown > div > b {
  display: block;
  height: 3px;
  margin-top: 3px;
  overflow: hidden;
  border-radius: 4px;
  background: #1a3b38;
}
.energy-breakdown > div > b em {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #43bd9c, #85e5c1);
}
.renewable-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  border-top: 1px solid #34726350;
  padding-top: 7px;
  color: #8cad9f;
  font-size: 7px;
}
.renewable-note i {
  color: var(--gold);
}
.renewable-note b {
  margin-left: auto;
  color: var(--mint);
}
.alert-tabs {
  display: flex;
  gap: 2px;
  border: 1px solid #356e605c;
  border-radius: 4px;
  padding: 2px;
}
.alert-tabs button {
  border: 0;
  border-radius: 3px;
  background: transparent;
  padding: 3px 5px;
  color: #83a79b;
  font-size: 6px;
}
.alert-tabs button.active {
  background: #1b5948;
  color: #cbf6df;
}
.carbon-alert {
  display: grid;
  grid-template-columns: 20px 1fr 33px;
  align-items: center;
  gap: 7px;
  min-height: 39px;
  border-bottom: 1px solid #32706148;
  padding: 5px 1px;
}
.carbon-alert[hidden] {
  display: none;
}
.carbon-alert > i {
  color: var(--mint);
  font-size: 12px;
}
.carbon-alert.attention > i {
  color: var(--amber);
}
.carbon-alert span b {
  display: block;
  color: #cce4d9;
  font-size: 7px;
}
.carbon-alert span small {
  display: block;
  margin-top: 3px;
  color: #789a8e;
  font-size: 6px;
}
.carbon-alert time {
  color: #7d9e91;
  font-size: 6px;
  text-align: right;
}
.alert-link {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-top: 4px;
  border: 0;
  border-top: 1px solid #34726350;
  background: transparent;
  padding: 6px 0 0;
  color: #8dc5ad;
  font-size: 7px;
  text-align: left;
}
.carbon-bottom {
  position: absolute;
  z-index: 9;
  right: 24%;
  bottom: 53px;
  left: 24%;
  display: grid;
  height: 52px;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid #4b9b825f;
  border-radius: 6px;
  background: #061d20e8;
  box-shadow: 0 6px 22px #0008;
  backdrop-filter: blur(7px);
}
.carbon-bottom > div {
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: center;
  gap: 2px 8px;
  border-right: 1px solid #36716350;
  padding: 0 10px;
}
.carbon-bottom > div:last-child {
  border: 0;
}
.carbon-bottom span {
  color: #93b5a8;
  font-size: 7px;
}
.carbon-bottom span i {
  margin-right: 4px;
  color: var(--mint);
}
.carbon-bottom b {
  grid-row: span 2;
  align-self: center;
  color: #edfff5;
  font-size: 14px;
  white-space: nowrap;
}
.carbon-bottom b small {
  color: #85a99d;
  font-size: 6px;
  font-weight: 400;
}
.carbon-bottom em {
  color: #70af91;
  font-size: 6px;
  font-style: normal;
}
.carbon-ticker {
  position: absolute;
  z-index: 12;
  right: 14px;
  bottom: 8px;
  left: 14px;
  display: grid;
  height: 36px;
  grid-template-columns: 100px 1fr 115px;
  align-items: center;
  border: 1px solid #3f8c775f;
  background: #06191eef;
  font-size: 7px;
}
.carbon-ticker > b {
  display: grid;
  height: 100%;
  place-items: center;
  background: #167a63;
  color: #effff7;
  font-size: 8px;
}
.carbon-ticker > b i {
  margin-right: 3px;
}
.ticker-track {
  display: flex;
  gap: 54px;
  overflow: hidden;
  padding-left: 16px;
  color: #8bb0a3;
  white-space: nowrap;
  animation: ticker 28s linear infinite;
}
.carbon-ticker > em {
  color: #73988b;
  text-align: center;
  font-size: 6px;
  font-style: normal;
}
.carbon-ticker > em i {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 4px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 7px var(--mint);
}
.carbon-toast {
  position: fixed;
  z-index: 20;
  right: 22px;
  bottom: 58px;
  border: 1px solid #58af8a77;
  border-radius: 6px;
  background: #082b26;
  padding: 9px 13px;
  color: #e7fff1;
  font-size: 10px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(7px);
  transition: 0.2s;
}
.carbon-toast.show {
  opacity: 1;
  transform: translateY(0);
}
@keyframes scan {
  from {
    top: 10%;
    opacity: 0;
  }
  15%,
  85% {
    opacity: 0.8;
  }
  to {
    top: 90%;
    opacity: 0;
  }
}
@keyframes dash {
  to {
    stroke-dashoffset: -320px;
  }
}
@keyframes blink {
  50% {
    opacity: 0.4;
  }
}
@keyframes rotate {
  to {
    transform: rotate(360deg);
  }
}
@keyframes grid-drift {
  to {
    background-position: 48px 48px;
  }
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}
@media (min-width: 1600px) {
  .carbon-head {
    height: 76px;
    padding: 0 28px;
  }
  .carbon-kpis {
    top: 89px;
    right: 28px;
    left: 28px;
    height: 95px;
    gap: 10px;
  }
  .carbon-kpi {
    padding: 11px 15px;
  }
  .carbon-kpi > strong {
    font-size: 27px;
  }
  .carbon-stage {
    bottom: 56px;
  }
  .carbon-rail {
    top: 194px;
    bottom: 132px;
    width: 23%;
    gap: 12px;
  }
  .rail-left {
    left: 20px;
  }
  .rail-right {
    right: 20px;
  }
  .carbon-panel {
    padding: 13px 14px;
  }
  .carbon-bottom {
    bottom: 58px;
    height: 60px;
  }
  .carbon-ticker {
    bottom: 9px;
    height: 39px;
  }
  .stage-footer {
    bottom: 132px;
  }
}
@media (max-width: 1250px) {
  .carbon-head {
    grid-template-columns: 0.8fr 1fr 1.7fr;
    padding: 0 12px;
  }
  .head-tools {
    gap: 3px;
  }
  .head-tools .period-select {
    display: none;
  }
  .carbon-kpi {
    padding: 8px;
  }
  .carbon-rail {
    width: 24%;
  }
  .building-node {
    min-width: 145px;
  }
  .node-a {
    left: 27%;
  }
  .node-b {
    right: 22%;
  }
  .carbon-bottom {
    right: 25%;
    left: 25%;
  }
}
@media (max-width: 900px) {
  body {
    overflow: auto;
  }
  .carbon-screen {
    width: 100%;
    height: auto;
    min-height: 100vh;
    overflow: visible;
    padding-bottom: 48px;
  }
  .carbon-head {
    position: relative;
    height: auto;
    min-height: 68px;
    grid-template-columns: 1fr auto;
    padding: 10px;
  }
  .head-title {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }
  .head-tools {
    grid-column: 2;
    grid-row: 1;
  }
  .head-tools .online,
  .head-tools > strong {
    display: none;
  }
  .carbon-kpis {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    height: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 10px;
  }
  .carbon-kpi {
    min-height: 85px;
  }
  .carbon-kpi:last-child {
    grid-column: 1 / -1;
  }
  .carbon-stage {
    position: relative;
    inset: auto;
    height: 430px;
    margin: 10px;
    border: 1px solid #4b9b825f;
    border-radius: 8px;
  }
  .carbon-core {
    top: 33%;
    width: 155px;
    height: 155px;
  }
  .carbon-core > strong {
    font-size: 31px;
  }
  .stage-caption {
    top: 12px;
  }
  .stage-legend {
    top: auto;
    right: 10px;
    bottom: 10px;
  }
  .stage-footer {
    right: 10px;
    bottom: 36px;
    left: 10px;
  }
  .carbon-rail {
    position: relative;
    inset: auto;
    width: auto;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(2, minmax(210px, auto));
    gap: 8px;
    margin: 10px;
  }
  .carbon-panel {
    min-height: 210px;
  }
  .trend-panel {
    grid-row: span 2;
  }
  .carbon-bottom {
    position: relative;
    inset: auto;
    height: auto;
    min-height: 100px;
    grid-template-columns: 1fr 1fr;
    margin: 10px;
  }
  .carbon-bottom > div {
    min-height: 48px;
  }
  .carbon-ticker {
    position: relative;
    inset: auto;
    height: 36px;
    margin: 10px;
  }
  .carbon-toast {
    bottom: 50px;
  }
}
@media (max-width: 560px) {
  .carbon-brand small {
    max-width: 140px;
    font-size: 5px;
  }
  .carbon-brand span {
    font-size: 11px;
  }
  .carbon-brand > i {
    width: 32px;
    height: 32px;
  }
  .head-title h1 {
    font-size: 16px;
  }
  .head-title > small {
    font-size: 6px;
  }
  .head-title p {
    font-size: 7px;
  }
  .head-tools label {
    max-width: 125px;
    padding: 0 5px;
  }
  .head-tools select {
    max-width: 75px;
    font-size: 8px;
  }
  .head-tools > button {
    width: 27px;
    height: 28px;
  }
  .carbon-kpis {
    gap: 6px;
    margin: 8px;
  }
  .carbon-kpi {
    min-height: 78px;
    padding: 7px;
  }
  .carbon-kpi > span {
    font-size: 8px;
  }
  .carbon-kpi > strong {
    font-size: 20px;
  }
  .carbon-kpi > div {
    font-size: 6px;
  }
  .carbon-stage {
    height: 360px;
    margin: 8px;
    background-position: center;
  }
  .stage-caption {
    left: 10px;
    transform: none;
    padding: 6px 8px;
  }
  .stage-legend {
    gap: 6px;
    padding: 5px;
    font-size: 6px;
  }
  .carbon-core {
    top: 35%;
    width: 122px;
    height: 122px;
  }
  .carbon-core > strong {
    font-size: 25px;
  }
  .carbon-core > span {
    font-size: 7px;
  }
  .building-node {
    min-width: 0;
    max-width: 145px;
    gap: 5px;
    padding: 5px;
  }
  .building-node > i {
    width: 23px;
    height: 23px;
    font-size: 10px;
  }
  .building-node b {
    font-size: 7px;
  }
  .building-node small {
    max-width: 92px;
    overflow: hidden;
    font-size: 5px;
    text-overflow: ellipsis;
  }
  .node-a {
    top: 27%;
    left: 3%;
  }
  .node-b {
    top: 30%;
    right: 3%;
  }
  .node-c {
    right: 3%;
    bottom: 24%;
  }
  .node-d {
    bottom: 21%;
    left: 3%;
  }
  .twin-orbit {
    width: 78vw;
    height: 185px;
  }
  .orbit-b {
    width: 86vw;
    height: 220px;
  }
  .stage-footer {
    right: 8px;
    bottom: 36px;
    left: 8px;
    font-size: 6px;
  }
  .carbon-rail {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    margin: 8px;
  }
  .carbon-panel {
    min-height: 205px;
  }
  .trend-panel {
    grid-row: auto;
    min-height: 230px;
  }
  .carbon-bottom {
    margin: 8px;
  }
  .carbon-bottom > div {
    padding: 0 6px;
  }
  .carbon-bottom span {
    font-size: 6px;
  }
  .carbon-bottom b {
    font-size: 11px;
  }
  .carbon-ticker {
    grid-template-columns: 76px 1fr;
    margin: 8px;
  }
  .carbon-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;
  }
}
