:root {
  --dt-bg: #030b19;
  --dt-panel: rgba(5, 19, 38, 0.82);
  --dt-panel-strong: rgba(4, 17, 34, 0.94);
  --dt-line: rgba(52, 154, 219, 0.34);
  --dt-line-soft: rgba(74, 147, 199, 0.18);
  --dt-cyan: #29e6ed;
  --dt-blue: #3c9dff;
  --dt-green: #50e3ad;
  --dt-gold: #efbb5c;
  --dt-red: #ff856f;
  --dt-text: #d8eff5;
  --dt-muted: #6d95aa;
  --dt-dim: #44677b;
}

html,
body {
  min-width: 1180px;
  min-height: 720px;
  overflow: hidden;
  background: var(--dt-bg);
}

body.dt-body {
  color: var(--dt-text);
  background:
    radial-gradient(circle at 54% 46%, rgba(15, 88, 136, 0.3), transparent 42%),
    radial-gradient(circle at 8% 18%, rgba(16, 109, 170, 0.14), transparent 26%),
    linear-gradient(145deg, #020916 0%, #06152b 52%, #020a16 100%);
}

.dt-body::before {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(84, 164, 217, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(84, 164, 217, 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  content: "";
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, #000 25%, transparent 93%);
}

.dt-body::after {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 5, 13, 0.8), transparent 12%, transparent 88%, rgba(1, 5, 13, 0.8)),
    radial-gradient(ellipse at center, transparent 50%, rgba(0, 4, 11, 0.7) 100%);
  content: "";
  pointer-events: none;
}

.dt-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.dt-shell {
  position: relative;
  z-index: 1;
  display: grid;
  width: 100vw;
  height: 100vh;
  grid-template-rows: 72px minmax(0, 1fr) 27px;
}

.dt-header {
  position: relative;
  display: grid;
  grid-template-columns: 310px minmax(420px, 1fr) 360px;
  align-items: center;
  gap: 16px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(45, 161, 224, 0.34);
  background:
    linear-gradient(180deg, rgba(5, 18, 35, 0.97), rgba(3, 13, 27, 0.92)),
    linear-gradient(90deg, transparent, rgba(36, 125, 180, 0.12), transparent);
}

.dt-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--dt-cyan), transparent);
  content: "";
  opacity: 0.7;
}

.dt-brand {
  display: flex;
  align-items: center;
  gap: 13px;
}

.dt-brand__mark {
  position: relative;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(44, 224, 235, 0.76);
  background: rgba(8, 49, 72, 0.64);
  clip-path: polygon(50% 0, 94% 23%, 94% 77%, 50% 100%, 6% 77%, 6% 23%);
  box-shadow: inset 0 0 20px rgba(30, 206, 226, 0.2);
}

.dt-brand__mark span,
.dt-brand__mark i {
  position: absolute;
  top: 9px;
  left: 11px;
  width: 20px;
  height: 25px;
  border: 1px solid var(--dt-cyan);
  border-radius: 50% 50% 48% 48%;
  transform: rotate(180deg);
  box-shadow: 0 0 10px rgba(41, 230, 237, 0.42);
}

.dt-brand__mark i {
  top: 14px;
  left: 16px;
  width: 10px;
  height: 15px;
  border-color: rgba(88, 195, 255, 0.72);
}

.dt-brand b {
  display: block;
  font-size: 1.22rem;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.dt-brand small {
  display: block;
  margin-top: 3px;
  color: #70aac4;
  font-family: var(--display);
  font-size: 0.49rem;
  letter-spacing: 0.19em;
}

.dt-nav {
  display: flex;
  height: 48px;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
}

.dt-nav a {
  position: relative;
  display: flex;
  min-width: 106px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  overflow: hidden;
  border: 1px solid rgba(51, 140, 193, 0.2);
  color: #7f9dac;
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  transition: color 0.25s ease, background 0.25s ease;
}

.dt-nav a::before {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27, 183, 225, 0.13), rgba(5, 29, 52, 0.1));
  content: "";
  opacity: 0;
}

.dt-nav a span {
  position: relative;
  color: #3a6680;
  font-family: var(--display);
  font-size: 0.48rem;
}

.dt-nav a.is-active {
  border-color: rgba(54, 226, 236, 0.44);
  color: #e4fcff;
  background: rgba(20, 72, 102, 0.48);
  box-shadow: inset 0 -2px 0 var(--dt-cyan), 0 0 18px rgba(41, 230, 237, 0.08);
}

.dt-nav a.is-active::before {
  opacity: 1;
}

.dt-nav a.is-active span {
  color: var(--dt-cyan);
}

.dt-header__status {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 17px;
}

.dt-live {
  display: grid;
  grid-template-columns: 8px auto;
  gap: 3px 7px;
  align-items: center;
  color: #7899aa;
  font-family: var(--display);
  font-size: 0.48rem;
  letter-spacing: 0.08em;
}

.dt-live i,
.dt-stage__sync i,
.dt-footer i {
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--dt-green);
  box-shadow: 0 0 8px var(--dt-green);
  animation: dt-pulse 2s ease-in-out infinite;
}

.dt-live b {
  grid-column: 2;
  color: #c5ebec;
  font-size: 0.63rem;
  font-weight: 500;
}

.dt-header time {
  min-width: 76px;
  color: #c4e6eb;
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.dt-user {
  display: flex;
  align-items: center;
  gap: 9px;
}

.dt-user__avatar {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(41, 230, 237, 0.52);
  border-radius: 50%;
  background: linear-gradient(145deg, #17465a, #081b2d);
  color: #d8faff;
  font-size: 0.78rem;
  box-shadow: 0 0 14px rgba(41, 230, 237, 0.12);
}

.dt-user div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dt-user b {
  color: #d5eff4;
  font-size: 0.72rem;
  font-weight: 500;
}

.dt-user small {
  color: #648796;
  font-size: 0.5rem;
}

.dt-layout {
  display: grid;
  min-height: 0;
  grid-template-columns: 310px minmax(0, 1fr) 352px;
  gap: 14px;
  padding: 10px 16px 8px;
}

.dt-panel {
  display: grid;
  min-height: 0;
  gap: 11px;
}

.dt-panel--left {
  grid-template-rows: 158px 184px minmax(152px, 1fr) 142px;
}

.dt-panel--right {
  grid-template-rows: 174px 216px 152px minmax(168px, 1fr);
}

.dt-block {
  position: relative;
  min-height: 0;
  padding: 13px 13px 12px;
  overflow: hidden;
  border: 1px solid var(--dt-line);
  background:
    linear-gradient(135deg, rgba(10, 41, 69, 0.6), rgba(3, 15, 31, 0.86) 42%, rgba(5, 19, 37, 0.94)),
    var(--dt-panel);
  box-shadow:
    inset 0 0 32px rgba(15, 104, 158, 0.08),
    0 12px 32px rgba(0, 3, 10, 0.2);
  clip-path: polygon(0 9px, 9px 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.dt-block::before,
.dt-block::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.dt-block::before {
  top: 0;
  left: 18px;
  width: 54px;
  height: 1px;
  background: var(--dt-cyan);
  box-shadow: 0 0 8px var(--dt-cyan);
}

.dt-block::after {
  right: 0;
  bottom: 0;
  width: 34px;
  height: 1px;
  background: rgba(60, 157, 255, 0.85);
  box-shadow: 0 0 8px rgba(60, 157, 255, 0.5);
}

.dt-section-head {
  display: grid;
  height: 30px;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border-bottom: 1px solid var(--dt-line-soft);
}

.dt-section-head > i {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(41, 209, 230, 0.45);
  background: rgba(18, 89, 124, 0.4);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.dt-section-head svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: var(--dt-cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.dt-section-head > div {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.dt-section-head b {
  color: #d5f2f6;
  font-size: 0.83rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.dt-section-head small {
  color: #416e88;
  font-family: var(--display);
  font-size: 0.42rem;
  letter-spacing: 0.12em;
}

.dt-section-head > span {
  color: #5f8ba0;
  font-family: var(--display);
  font-size: 0.46rem;
  letter-spacing: 0.09em;
}

.dt-section-head .dt-up {
  color: var(--dt-green);
}

.dt-section-head .dt-alert-count {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid rgba(239, 187, 92, 0.46);
  border-radius: 50%;
  color: var(--dt-gold);
}

.dt-kpi-row {
  display: grid;
  height: calc(100% - 30px);
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 4px;
}

.dt-kpi-row article {
  display: grid;
  position: relative;
  min-width: 0;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
}

.dt-kpi-row strong {
  color: #e3fbfd;
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.dt-kpi-row strong small {
  margin-left: 2px;
  color: #668fa2;
  font-size: 0.48rem;
  font-weight: 400;
}

.dt-kpi-row article > span {
  grid-column: 2;
  color: #789aa9;
  font-size: 0.54rem;
  white-space: nowrap;
}

.dt-cube {
  position: relative;
  width: 34px;
  height: 38px;
  justify-self: center;
}

.dt-cube i,
.dt-cube b,
.dt-cube em {
  position: absolute;
  display: block;
  border: 1px solid rgba(52, 222, 238, 0.55);
}

.dt-cube i {
  top: 0;
  left: 7px;
  width: 21px;
  height: 13px;
  background: rgba(33, 163, 194, 0.25);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.dt-cube b,
.dt-cube em {
  top: 11px;
  width: 15px;
  height: 22px;
  background: rgba(13, 92, 131, 0.55);
}

.dt-cube b {
  left: 1px;
  clip-path: polygon(0 0, 100% 18%, 100% 100%, 0 82%);
}

.dt-cube em {
  right: 1px;
  clip-path: polygon(0 18%, 100% 0, 100% 82%, 0 100%);
  background: rgba(8, 55, 88, 0.65);
}

.dt-cube--light i {
  border-color: rgba(72, 153, 255, 0.66);
}

.dt-cube--amber i {
  border-color: rgba(239, 187, 92, 0.7);
}

.dt-table {
  height: calc(100% - 30px);
  padding-top: 7px;
  font-family: var(--display);
}

.dt-table--regions {
  display: grid;
  grid-template-rows: 24px repeat(4, minmax(0, 1fr));
}

.dt-table__row {
  display: grid;
  min-height: 0;
  align-items: center;
  border-bottom: 1px solid rgba(74, 147, 199, 0.1);
  color: #7aa0b1;
  font-size: 0.54rem;
}

.dt-table--regions .dt-table__row {
  grid-template-columns: 27px 1.3fr 1fr 1fr 0.8fr;
}

.dt-table__row b {
  color: #c1e1e8;
  font-weight: 500;
}

.dt-table__row em {
  color: var(--dt-green);
  font-style: normal;
  font-weight: 600;
}

.dt-table__head {
  border-top: 1px solid rgba(54, 139, 188, 0.2);
  border-bottom: 1px solid rgba(54, 139, 188, 0.28);
  background: rgba(34, 110, 151, 0.12);
  color: #4e819d;
  font-size: 0.46rem;
  letter-spacing: 0.04em;
}

.dt-chart-head {
  display: flex;
  height: 40px;
  align-items: baseline;
  justify-content: space-between;
}

.dt-chart-head strong {
  color: #e5fbfd;
  font-family: var(--display);
  font-size: 1.22rem;
  font-weight: 500;
}

.dt-chart-head strong small {
  margin-left: 5px;
  color: #5c8ca4;
  font-size: 0.48rem;
}

.dt-chart-head span {
  color: #55798b;
  font-size: 0.48rem;
}

.dt-trend-chart {
  display: block;
  width: 100%;
  height: calc(100% - 70px);
  overflow: visible;
}

.chart-grid path {
  fill: none;
  stroke: rgba(63, 134, 178, 0.14);
  stroke-width: 0.7;
  stroke-dasharray: 2 4;
}

.trend-area {
  fill: url("#trend-fill");
}

.trend-line {
  fill: none;
  stroke: url("#trend-line");
  stroke-width: 1.6;
  filter: drop-shadow(0 0 3px rgba(41, 230, 237, 0.48));
}

.trend-points circle {
  fill: #081a2c;
  stroke: var(--dt-cyan);
  stroke-width: 1.2;
}

.chart-labels text {
  fill: #476d80;
  font-family: var(--display);
  font-size: 7px;
}

.dt-donut-layout {
  display: grid;
  height: calc(100% - 30px);
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.dt-donut {
  position: relative;
  display: grid;
  width: 108px;
  height: 108px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--dt-cyan) 0 64%, var(--dt-blue) 64% 82%, var(--dt-gold) 82% 94%, #24475c 94% 100%);
  box-shadow: 0 0 22px rgba(41, 230, 237, 0.08);
}

.dt-donut::before {
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(91, 185, 215, 0.2);
  border-radius: 50%;
  background: #07182b;
  content: "";
}

.dt-donut::after {
  position: absolute;
  inset: 4px;
  border: 1px dashed rgba(64, 158, 199, 0.24);
  border-radius: 50%;
  content: "";
}

.dt-donut span {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.dt-donut b {
  color: #dbffff;
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 500;
}

.dt-donut small {
  margin-top: 3px;
  color: #5d879b;
  font-size: 0.45rem;
}

.dt-donut-legend {
  display: grid;
  gap: 8px;
}

.dt-donut-legend span {
  display: grid;
  grid-template-columns: 7px 1fr auto;
  gap: 6px;
  align-items: center;
  color: #6f95a6;
  font-size: 0.53rem;
}

.dt-donut-legend i,
.dt-map-legend i {
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dt-cyan);
  box-shadow: 0 0 6px currentColor;
}

.dt-donut-legend i.is-blue,
.dt-map-legend i.is-blue {
  background: var(--dt-blue);
}

.dt-donut-legend i.is-gold,
.dt-map-legend i.is-gold {
  background: var(--dt-gold);
}

.dt-donut-legend i.is-muted {
  background: #365468;
  box-shadow: none;
}

.dt-donut-legend b {
  color: #c2e5ed;
  font-family: var(--display);
  font-weight: 500;
}

.dt-stage {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(46, 147, 201, 0.32);
  background:
    radial-gradient(ellipse at 50% 49%, rgba(19, 81, 121, 0.42), transparent 49%),
    linear-gradient(180deg, rgba(5, 20, 39, 0.22), rgba(3, 12, 26, 0.7));
  clip-path: polygon(0 12px, 12px 0, calc(100% - 12px) 0, 100% 12px, 100% calc(100% - 12px), calc(100% - 12px) 100%, 12px 100%, 0 calc(100% - 12px));
}

.dt-stage::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  border: 1px solid rgba(84, 190, 229, 0.08);
  background:
    linear-gradient(90deg, transparent 49.9%, rgba(50, 154, 197, 0.08) 50%, transparent 50.1%),
    linear-gradient(transparent 49.9%, rgba(50, 154, 197, 0.08) 50%, transparent 50.1%);
  pointer-events: none;
  content: "";
}

.dt-stage::after {
  position: absolute;
  z-index: 5;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(1, 7, 16, 0.36), transparent 18%, transparent 76%, rgba(1, 7, 16, 0.46)),
    radial-gradient(ellipse at center, transparent 50%, rgba(1, 7, 16, 0.52) 100%);
  pointer-events: none;
  content: "";
}

.dt-stage__aurora {
  position: absolute;
  z-index: 0;
  top: 12%;
  left: 30%;
  width: 48%;
  height: 45%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(22, 172, 206, 0.13), transparent 68%);
  filter: blur(18px);
}

#city-twin-canvas {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.dt-stage__title {
  position: absolute;
  z-index: 7;
  top: 20px;
  left: 24px;
}

.dt-stage__title > span {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #5d93aa;
  font-family: var(--display);
  font-size: 0.47rem;
  letter-spacing: 0.15em;
}

.dt-stage__title > span i {
  width: 18px;
  height: 1px;
  background: var(--dt-cyan);
  box-shadow: 0 0 7px var(--dt-cyan);
}

.dt-stage__title h1 {
  margin: 8px 0 3px;
  color: #d9f7fa;
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-shadow: 0 0 22px rgba(41, 230, 237, 0.15);
}

.dt-stage__title p {
  margin: 0;
  color: #5e8597;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}

.dt-layer-switch {
  position: absolute;
  z-index: 7;
  top: 20px;
  right: 22px;
  display: flex;
  gap: 4px;
}

.dt-layer-switch button {
  height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(59, 145, 191, 0.24);
  background: rgba(4, 20, 36, 0.68);
  color: #638a9c;
  font-size: 0.53rem;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.dt-layer-switch button:hover,
.dt-layer-switch button.is-active {
  border-color: rgba(41, 230, 237, 0.5);
  background: rgba(17, 81, 106, 0.62);
  color: #d9feff;
}

.dt-stage__sync {
  position: absolute;
  z-index: 7;
  top: 65px;
  right: 23px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6f9aac;
  font-family: var(--display);
  font-size: 0.47rem;
  letter-spacing: 0.08em;
}

.dt-stage__sync time {
  color: #c7eef2;
}

.dt-stage__sync small {
  color: #426c7c;
  font-size: 0.44rem;
}

.dt-map-badge {
  position: absolute;
  z-index: 7;
  min-width: 138px;
  padding: 8px 11px;
  border: 1px solid rgba(54, 204, 222, 0.34);
  background:
    linear-gradient(90deg, rgba(4, 22, 39, 0.94), rgba(4, 18, 33, 0.65)),
    rgba(4, 18, 33, 0.8);
  color: #8bb1bf;
  font-family: var(--display);
  box-shadow: 0 10px 30px rgba(0, 3, 10, 0.32);
}

.dt-map-badge::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 14px;
  height: 1px;
  background: var(--dt-cyan);
  content: "";
}

.dt-map-badge span {
  display: block;
  font-size: 0.48rem;
  letter-spacing: 0.05em;
}

.dt-map-badge strong {
  display: block;
  margin-top: 3px;
  color: #d9ffff;
  font-size: 1.05rem;
  font-weight: 500;
}

.dt-map-badge strong small {
  color: #608a9e;
  font-size: 0.45rem;
}

.dt-map-badge em {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  color: var(--dt-green);
  font-size: 0.44rem;
  font-style: normal;
}

.dt-map-badge em i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 5px currentColor;
}

.dt-map-badge--a {
  top: 29%;
  left: 14%;
}

.dt-map-badge--b {
  top: 44%;
  right: 8%;
}

.dt-map-badge--c {
  bottom: 19%;
  left: 20%;
}

.dt-map-badge.is-warning {
  border-color: rgba(239, 187, 92, 0.45);
}

.dt-map-badge.is-warning::before {
  background: var(--dt-gold);
}

.dt-map-badge.is-warning em {
  color: var(--dt-gold);
}

.dt-map-coordinates {
  position: absolute;
  z-index: 7;
  bottom: 20px;
  left: 23px;
  color: #416d80;
  font-family: var(--display);
  font-size: 0.44rem;
  letter-spacing: 0.08em;
}

.dt-map-compass {
  position: absolute;
  z-index: 7;
  right: 24px;
  bottom: 51px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(59, 153, 196, 0.26);
  border-radius: 50%;
  color: #86aab8;
  font-family: var(--display);
  font-size: 0.44rem;
}

.dt-map-compass i {
  position: absolute;
  top: 5px;
  width: 0;
  height: 0;
  border-right: 4px solid transparent;
  border-bottom: 12px solid var(--dt-cyan);
  border-left: 4px solid transparent;
  transform-origin: 4px 14px;
  transform: rotate(8deg);
}

.dt-map-legend {
  position: absolute;
  z-index: 7;
  right: 75px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #5e8799;
  font-family: var(--display);
  font-size: 0.44rem;
}

.dt-map-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dt-map-legend b {
  color: #3f6a7d;
  font-weight: 400;
}

.dt-device-totals {
  display: grid;
  height: calc(100% - 30px);
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 9px;
}

.dt-device-totals article {
  display: grid;
  position: relative;
  grid-template-columns: 42px 1fr;
  grid-template-rows: 1fr auto;
  align-items: center;
  padding: 7px 7px 6px;
  border: 1px solid rgba(51, 131, 174, 0.17);
  background:
    linear-gradient(135deg, rgba(31, 127, 159, 0.14), transparent 58%),
    rgba(7, 28, 48, 0.5);
}

.device-symbol {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(41, 230, 237, 0.25);
  background: rgba(22, 106, 132, 0.22);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
}

.device-symbol svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--dt-cyan);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.2;
}

.device-symbol--blue svg {
  stroke: var(--dt-blue);
}

.dt-device-totals article > div:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.dt-device-totals strong {
  color: #e5fbfd;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 500;
}

.dt-device-totals strong small {
  margin-left: 3px;
  color: #5e8a9e;
  font-size: 0.45rem;
}

.dt-device-totals span {
  color: #7899a8;
  font-size: 0.51rem;
}

.dt-device-totals em {
  grid-column: 1 / -1;
  padding-top: 5px;
  border-top: 1px solid rgba(54, 131, 172, 0.15);
  color: var(--dt-green);
  font-size: 0.43rem;
  font-style: normal;
  text-align: right;
}

.dt-gauge-grid {
  display: grid;
  height: calc(100% - 30px);
  grid-template-columns: 1fr 1fr;
  gap: 3px 8px;
  padding-top: 4px;
}

.dt-gauge-grid article {
  display: grid;
  min-height: 0;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(62, 139, 180, 0.1);
}

.dt-ring {
  --angle: calc(var(--value) * 3.6deg);
  position: relative;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: conic-gradient(var(--ring) 0 var(--angle), rgba(55, 103, 128, 0.16) var(--angle) 360deg);
}

.dt-ring::before {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: #07182b;
  content: "";
}

.dt-ring span {
  position: relative;
  z-index: 1;
  color: #daf8fb;
  font-family: var(--display);
  font-size: 0.7rem;
}

.dt-ring small {
  color: #648a9d;
  font-size: 0.38rem;
}

.dt-gauge-grid article > div:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 2px;
}

.dt-gauge-grid b {
  color: #c4e4ea;
  font-size: 0.61rem;
  font-weight: 500;
}

.dt-gauge-grid span {
  color: #5f8395;
  font-family: var(--display);
  font-size: 0.44rem;
}

.dt-bar-chart {
  position: relative;
  height: calc(100% - 30px);
  padding: 12px 7px 0;
}

.dt-bars-grid {
  position: absolute;
  top: 18px;
  right: 8px;
  bottom: 24px;
  left: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dt-bars-grid i {
  height: 1px;
  background: rgba(54, 134, 175, 0.13);
}

.dt-bars {
  position: relative;
  z-index: 1;
  display: flex;
  height: calc(100% - 23px);
  align-items: flex-end;
  justify-content: space-around;
  gap: 8px;
}

.dt-bars > span {
  position: relative;
  display: block;
  width: 10px;
  height: var(--height);
  min-height: 8px;
  background: linear-gradient(180deg, var(--dt-cyan), rgba(18, 114, 153, 0.34));
  box-shadow: 0 0 9px rgba(41, 230, 237, 0.13);
}

.dt-bars > span:nth-child(2n) {
  background: linear-gradient(180deg, var(--dt-blue), rgba(18, 84, 153, 0.34));
}

.dt-bars > span.is-warning {
  background: linear-gradient(180deg, var(--dt-gold), rgba(118, 75, 28, 0.34));
}

.dt-bars > span.is-current {
  background: linear-gradient(180deg, var(--dt-green), rgba(30, 116, 108, 0.42));
}

.dt-bars b {
  position: absolute;
  bottom: -18px;
  left: 50%;
  color: #4d7182;
  font-family: var(--display);
  font-size: 0.42rem;
  font-weight: 400;
  transform: translateX(-50%);
  white-space: nowrap;
}

.dt-bar-legend {
  position: absolute;
  z-index: 2;
  top: 8px;
  right: 9px;
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: #4f7485;
  font-size: 0.42rem;
}

.dt-bar-legend b {
  color: var(--dt-gold);
  font-family: var(--display);
  font-size: 0.63rem;
}

.dt-bar-legend em {
  color: #456b7a;
  font-style: normal;
}

.dt-table--alerts {
  display: grid;
  grid-template-rows: 24px repeat(4, minmax(0, 1fr));
}

.dt-table--alerts .dt-table__row {
  grid-template-columns: 42px 1.25fr 1fr 30px;
}

.dt-table--alerts em {
  display: inline-flex;
  width: 24px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(71, 134, 164, 0.22);
  color: #6e95a5;
  font-size: 0.43rem;
}

.dt-table--alerts em.level-high {
  border-color: rgba(255, 111, 91, 0.4);
  color: #ff927e;
}

.dt-table--alerts em.level-mid {
  border-color: rgba(239, 187, 92, 0.36);
  color: var(--dt-gold);
}

.dt-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  border-top: 1px solid rgba(49, 137, 185, 0.23);
  background: rgba(2, 10, 22, 0.85);
  color: #3f6678;
  font-family: var(--display);
  font-size: 0.42rem;
  letter-spacing: 0.08em;
}

.dt-footer span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #59869a;
}

@keyframes dt-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@media (max-width: 1280px) {
  .dt-header {
    grid-template-columns: 270px 1fr 300px;
  }

  .dt-nav a {
    min-width: 92px;
    padding-inline: 11px;
  }

  .dt-layout {
    grid-template-columns: 280px minmax(0, 1fr) 320px;
    gap: 10px;
    padding-inline: 12px;
  }

  .dt-panel {
    gap: 9px;
  }

  .dt-panel--left {
    grid-template-rows: 154px 178px minmax(148px, 1fr) 136px;
  }

  .dt-panel--right {
    grid-template-rows: 168px 208px 146px minmax(158px, 1fr);
  }

  .dt-user div,
  .dt-live {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dt-live i,
  .dt-stage__sync i,
  .dt-footer i {
    animation: none;
  }
}
