* {
  box-sizing: border-box;
}

:root {
  color: #eafff1;
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans SC",
    Arial,
    sans-serif;
  background: #020b09;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

html,
body,
#app {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

button {
  cursor: pointer;
  font: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(141, 255, 196, 0.9);
  outline-offset: 2px;
}

.command-screen {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-width: 1280px;
  min-height: 720px;
  overflow: hidden;
  padding: 12px;
  background:
    radial-gradient(circle at 50% 30%, rgba(26, 139, 96, 0.34), transparent 32%),
    radial-gradient(circle at 82% 20%, rgba(58, 196, 255, 0.14), transparent 30%),
    linear-gradient(180deg, rgba(4, 26, 21, 0.96), #020b09 58%, #020605);
}

.command-screen::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(113, 255, 197, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(113, 255, 197, 0.032) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, transparent, #000 9%, #000 91%, transparent);
}

.grid-glow {
  position: absolute;
  inset: 58px 18px 58px;
  pointer-events: none;
  border: 1px solid rgba(31, 242, 171, 0.26);
  box-shadow:
    inset 0 0 40px rgba(20, 204, 151, 0.08),
    0 0 36px rgba(20, 204, 151, 0.08);
}

.command-header,
.kpi-ribbon,
.dashboard-grid,
.command-footer {
  position: relative;
  z-index: 1;
}

.command-header {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  height: 44px;
  border-bottom: 1px solid rgba(31, 242, 171, 0.34);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #f4fff7;
  text-decoration: none;
}

.brand-lockup img {
  width: 38px;
  height: 38px;
}

.brand-lockup strong {
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
  text-shadow: 0 0 18px rgba(98, 255, 190, 0.28);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(232, 255, 244, 0.88);
  font-size: 14px;
}

.header-status span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.header-status i {
  color: #7af6c0;
  font-size: 18px;
}

.command-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.command-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border: 1px solid rgba(93, 255, 174, 0.24);
  border-radius: 5px;
  color: rgba(232, 255, 242, 0.72);
  background: rgba(9, 66, 59, 0.48);
  padding: 0 10px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.command-nav a.active,
.command-nav a:hover,
.command-nav a:focus-visible {
  border-color: rgba(110, 255, 188, 0.72);
  color: #05241e;
  background: linear-gradient(135deg, #8affbf, #66dfff);
}

.kpi-ribbon {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
  height: 88px;
  margin-top: 10px;
}

.kpi-card,
.cmd-panel,
.command-footer {
  border: 1px solid rgba(28, 224, 163, 0.38);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(5, 53, 48, 0.92), rgba(3, 31, 30, 0.94)),
    rgba(2, 30, 28, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(233, 255, 248, 0.08),
    0 14px 36px rgba(0, 8, 7, 0.28);
}

.kpi-card {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 12px;
  overflow: hidden;
}

.kpi-card i {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border-radius: 12px;
  background: rgba(104, 255, 184, 0.14);
  color: #80ffc0;
  font-size: 30px;
  filter: drop-shadow(0 0 10px rgba(108, 255, 191, 0.26));
}

.kpi-card.cyan i,
.kpi-card.blue i {
  color: #80eaff;
  background: rgba(78, 199, 255, 0.13);
}

.kpi-card.orange i,
.kpi-card.red i {
  color: #ff8c67;
  background: rgba(255, 109, 86, 0.14);
}

.kpi-card span,
.kpi-card em {
  display: block;
  color: rgba(226, 255, 238, 0.72);
  font-size: 12px;
  font-style: normal;
  white-space: nowrap;
}

.kpi-card strong {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 6px 0 2px;
  color: #62ffc0;
  font-size: 25px;
  line-height: 1;
}

.kpi-card.orange strong,
.kpi-card.red strong {
  color: #ff8367;
}

small {
  color: rgba(233, 255, 242, 0.78);
  font-size: 12px;
  font-weight: 600;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 330px minmax(620px, 1fr) 420px;
  gap: 8px;
  height: calc(100vh - 224px);
  margin-top: 8px;
}

.left-column,
.right-column,
.center-column {
  display: grid;
  gap: 8px;
  min-height: 0;
}

.left-column {
  grid-template-rows: 226px 218px minmax(0, 1fr);
}

.right-column {
  grid-template-rows: 226px 146px 150px minmax(0, 1fr);
}

.center-column {
  grid-template-rows: minmax(360px, 1fr) 218px;
}

.center-bottom {
  display: grid;
  grid-template-columns: 210px 210px minmax(0, 1fr);
  gap: 8px;
  min-height: 0;
}

.split-panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  min-height: 0;
}

.cmd-panel {
  min-height: 0;
  padding: 10px;
  overflow: hidden;
}

.cmd-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 24px;
  margin-bottom: 8px;
  border-left: 4px solid #38f5a9;
  padding-left: 8px;
}

.cmd-panel > header span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #eafff1;
  font-size: 16px;
  font-weight: 800;
}

.cmd-panel > header i {
  color: #6dffc2;
  font-size: 19px;
}

.panel-more {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 0;
  color: rgba(223, 255, 237, 0.7);
  background: transparent;
  font-size: 12px;
}

.patrol-state {
  display: grid;
  gap: 11px;
}

.state-row {
  display: grid;
  grid-template-columns: 30px 1fr 52px 52px;
  gap: 8px;
  align-items: center;
  color: rgba(230, 255, 239, 0.8);
  font-size: 13px;
}

.state-row i {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(116, 255, 187, 0.13);
  color: #6dffc2;
}

.state-row.yellow i {
  color: #ffc95c;
  background: rgba(255, 201, 92, 0.13);
}

.state-row.muted i {
  color: #a8c6c2;
}

.state-row b,
.coverage-line strong {
  color: #68ffc0;
  font-size: 16px;
}

.state-row em {
  color: rgba(226, 255, 238, 0.58);
  font-style: normal;
}

.state-row div,
.coverage-line div {
  grid-column: 2 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(221, 255, 238, 0.13);
}

.state-row mark,
.coverage-line mark {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #5dffae, #8aefff);
}

.state-row.yellow mark {
  background: linear-gradient(90deg, #ffc95c, #ffef9a);
}

.state-row.muted mark {
  background: linear-gradient(90deg, #8ba8a4, #c1d5d2);
}

.coverage-line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 6px;
  color: rgba(230, 255, 239, 0.8);
}

.line-chart {
  display: grid;
  gap: 4px;
}

.chart-legend {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: rgba(229, 255, 240, 0.72);
  font-size: 12px;
}

.chart-legend span::before {
  display: inline-block;
  width: 14px;
  height: 4px;
  margin-right: 6px;
  border-radius: 999px;
  vertical-align: middle;
  content: "";
  background: #60ffad;
}

.chart-legend .blue::before {
  background: #68c8ff;
}

.line-chart svg {
  width: 100%;
  height: 150px;
}

.grid-lines path {
  stroke: rgba(193, 255, 232, 0.1);
  stroke-width: 1;
}

.area-line {
  fill: none;
  stroke-width: 3;
}

.green-line {
  stroke: #60ffad;
}

.blue-line {
  stroke: #68c8ff;
}

.green-area {
  fill: rgba(96, 255, 173, 0.14);
}

.axis-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  color: rgba(230, 255, 239, 0.5);
  font-size: 11px;
  text-align: center;
}

.coverage-block {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  align-items: center;
  height: calc(100% - 32px);
}

.big-ring,
.donut {
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.big-ring {
  width: 112px;
  height: 112px;
  background:
    radial-gradient(circle, rgba(5, 45, 40, 0.95) 0 55%, transparent 56%),
    conic-gradient(#61ffad 0 84%, rgba(255, 255, 255, 0.14) 84% 100%);
}

.big-ring span,
.donut span {
  display: grid;
  color: #eafff1;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
}

.big-ring small,
.donut small {
  margin-top: 4px;
  font-size: 11px;
}

.coverage-block ul,
.donut-list ul,
.risk-donut-wrap ul,
.drone-card ul,
.sensor-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.coverage-block li,
.donut-list li,
.risk-donut-wrap li,
.drone-card li,
.sensor-card li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: rgba(225, 255, 238, 0.76);
  font-size: 12px;
}

.coverage-block b,
.donut-list b,
.risk-donut-wrap b,
.drone-card b,
.sensor-card b {
  color: #66ffc0;
}

.situation-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) 40px;
}

.situation-tabs {
  display: flex;
  gap: 6px;
}

.situation-tabs button {
  min-height: 28px;
  border: 1px solid rgba(93, 255, 174, 0.28);
  border-radius: 4px;
  color: rgba(232, 255, 242, 0.75);
  background: rgba(9, 66, 59, 0.72);
  padding: 0 14px;
  font-size: 12px;
}

.situation-tabs .active {
  color: #05241e;
  background: linear-gradient(135deg, #8affbf, #66dfff);
  font-weight: 900;
}

.situation-board {
  position: relative;
  min-height: 0;
  overflow: hidden;
  border: 1px solid rgba(62, 245, 172, 0.24);
  border-radius: 6px;
  background:
    radial-gradient(circle at 50% 50%, rgba(50, 255, 172, 0.14), transparent 36%),
    radial-gradient(circle at 50% 50%, rgba(255, 93, 74, 0.16), transparent 9%),
    linear-gradient(180deg, rgba(3, 43, 38, 0.78), rgba(2, 26, 25, 0.88));
}

.radar-core {
  position: absolute;
  inset: 10px 28px 10px;
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(93, 255, 174, 0.26);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-1 {
  width: 180px;
  height: 90px;
}

.ring-2 {
  width: 330px;
  height: 170px;
}

.ring-3 {
  width: 520px;
  height: 270px;
}

.route {
  position: absolute;
  border: 2px dashed rgba(107, 255, 189, 0.76);
  border-radius: 50%;
}

.route-a {
  top: 22%;
  left: 26%;
  width: 48%;
  height: 52%;
  transform: rotate(11deg);
}

.route-b {
  top: 35%;
  left: 20%;
  width: 58%;
  height: 34%;
  border-color: rgba(255, 210, 93, 0.58);
  transform: rotate(-7deg);
}

.route-c {
  top: 29%;
  left: 36%;
  width: 40%;
  height: 44%;
  border-color: rgba(104, 200, 255, 0.6);
  transform: rotate(21deg);
}

.core-alert,
.s-node {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.core-alert {
  top: 50%;
  left: 50%;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 112, 83, 0.78);
  color: #ff8b66;
  background: rgba(89, 25, 22, 0.7);
  box-shadow: 0 0 30px rgba(255, 96, 72, 0.45);
  font-size: 33px;
  transform: translate(-50%, -50%);
}

.s-node {
  width: 26px;
  height: 26px;
  border: 1px solid rgba(99, 255, 181, 0.66);
  color: #7affbd;
  background: rgba(4, 60, 50, 0.8);
  font-size: 16px;
}

.s-node.alert {
  border-color: rgba(255, 112, 83, 0.85);
  color: #ff8067;
}

.s-node.drone {
  border-color: rgba(112, 210, 255, 0.85);
  color: #7fcfff;
}

.s-node.sensor {
  color: #ffc95c;
}

.node-1 { top: 23%; left: 24%; }
.node-2 { top: 49%; left: 28%; }
.node-3 { top: 55%; left: 40%; }
.node-4 { top: 66%; left: 57%; }
.node-5 { top: 46%; left: 70%; }
.node-6 { top: 35%; left: 74%; }
.node-7 { top: 74%; left: 48%; }
.node-8 { top: 58%; left: 78%; }

.region-card {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  display: grid;
  gap: 6px;
  min-width: 260px;
  max-width: 280px;
  padding: 13px 16px;
  border: 1px solid rgba(82, 255, 177, 0.48);
  border-radius: 6px;
  color: rgba(231, 255, 241, 0.88);
  background:
    linear-gradient(180deg, rgba(8, 80, 61, 0.92), rgba(5, 42, 39, 0.9)),
    rgba(5, 48, 43, 0.86);
  text-align: left;
  transform: translate(-50%, -50%);
  box-shadow: 0 20px 45px rgba(0, 8, 7, 0.26);
}

.region-card.active,
.region-card:hover {
  border-color: rgba(110, 255, 188, 0.9);
  box-shadow:
    0 0 0 1px rgba(110, 255, 188, 0.24),
    0 20px 50px rgba(0, 8, 7, 0.36);
}

.region-card strong {
  color: #f4fff5;
  font-size: 20px;
}

.region-card span,
.region-card em,
.region-card small {
  color: rgba(227, 255, 239, 0.76);
  font-size: 12px;
  font-style: normal;
}

.safe {
  color: #66ffc0 !important;
}

.warning {
  color: #ffc95c !important;
}

.danger {
  color: #ff8067 !important;
}

.situation-legend {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  gap: 8px;
  width: 130px;
  padding: 10px;
  border: 1px solid rgba(83, 255, 177, 0.28);
  border-radius: 6px;
  background: rgba(3, 32, 30, 0.8);
}

.situation-legend span {
  display: flex;
  gap: 7px;
  align-items: center;
  color: rgba(226, 255, 238, 0.78);
  font-size: 12px;
}

.situation-legend i {
  color: #67ffc0;
}

.system-alert {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 18px;
  align-items: center;
  min-height: 36px;
  color: rgba(226, 255, 238, 0.8);
}

.system-alert b {
  color: #6dffc2;
}

.system-alert p {
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.system-alert time {
  color: rgba(226, 255, 238, 0.56);
}

.system-alert button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  border: 0;
  color: #6dffc2;
  background: transparent;
}

.event-feed {
  display: grid;
  gap: 8px;
}

.event-card {
  display: grid;
  grid-template-columns: 66px auto 1fr auto;
  grid-template-rows: auto auto;
  gap: 3px 8px;
  align-items: center;
  min-height: 50px;
  border: 0;
  border-bottom: 1px solid rgba(141, 255, 196, 0.12);
  color: inherit;
  background: transparent;
  padding: 0 0 8px;
  text-align: left;
}

.event-card .thumb {
  grid-row: 1 / 3;
  width: 58px;
  height: 38px;
  border-radius: 4px;
  background: linear-gradient(135deg, rgba(105, 255, 181, 0.34), rgba(72, 166, 255, 0.24)), url("./assets/baiyunshan-panorama.png") center / cover;
}

.event-card b {
  border-radius: 3px;
  background: rgba(255, 201, 92, 0.13);
  padding: 2px 5px;
  font-size: 11px;
}

.event-card strong {
  color: #eafff1;
  font-size: 13px;
}

.event-card em,
.event-card small {
  color: rgba(229, 255, 240, 0.58);
  font-size: 11px;
  font-style: normal;
}

.event-card small {
  grid-column: 3 / 4;
}

.risk-summary {
  display: flex;
  gap: 18px;
  margin-bottom: 9px;
  font-size: 13px;
  font-weight: 800;
}

.risk-summary .high {
  color: #ff8067;
}

.risk-summary .mid {
  color: #ffc95c;
}

.risk-summary .low {
  color: #67ffc0;
}

.risk-feed {
  display: grid;
  gap: 6px;
}

.risk-feed button {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 3px 9px;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(141, 255, 196, 0.14);
  border-radius: 5px;
  color: rgba(229, 255, 240, 0.78);
  background: rgba(4, 42, 38, 0.55);
  text-align: left;
}

.risk-feed strong {
  grid-column: 2 / 3;
  color: #eafff1;
  font-size: 12px;
}

.risk-feed b {
  grid-column: 3;
  grid-row: 1 / 3;
  font-size: 12px;
}

.risk-feed time,
.risk-feed span {
  font-size: 12px;
}

.drone-card,
.sensor-card {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 10px;
  align-items: center;
  height: calc(100% - 32px);
}

.small-donut,
.sensor-donut {
  width: 78px;
  height: 78px;
  background:
    radial-gradient(circle, rgba(5, 45, 40, 0.95) 0 55%, transparent 56%),
    conic-gradient(#68c8ff 0 62%, #67ffc0 62% 82%, rgba(255, 255, 255, 0.14) 82% 100%);
}

.sensor-donut {
  background:
    radial-gradient(circle, rgba(5, 45, 40, 0.95) 0 55%, transparent 56%),
    conic-gradient(#67ffc0 0 96%, rgba(255, 255, 255, 0.14) 96% 100%);
}

.sensor-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  height: calc(100% - 32px);
}

.sensor-tiles span {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(141, 255, 196, 0.2);
  border-radius: 6px;
  color: rgba(229, 255, 240, 0.72);
  background: rgba(4, 42, 38, 0.56);
  font-size: 12px;
}

.sensor-tiles i {
  color: #67ffc0;
  font-size: 22px;
}

.sensor-tiles b {
  color: #eafff1;
  font-size: 22px;
}

.donut-list,
.risk-donut-wrap {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  height: calc(100% - 32px);
}

.event-donut,
.risk-donut {
  width: 82px;
  height: 82px;
}

.event-donut {
  background:
    radial-gradient(circle, rgba(5, 45, 40, 0.95) 0 51%, transparent 52%),
    conic-gradient(#67ffc0 0 36%, #ffc95c 36% 58%, #68c8ff 58% 73%, #ff6f91 73% 85%, #dbe8e5 85% 100%);
}

.risk-donut {
  background:
    radial-gradient(circle, rgba(5, 45, 40, 0.95) 0 52%, transparent 53%),
    conic-gradient(#ff8067 0 8%, #ffc95c 8% 40%, #67ffc0 40% 100%);
}

.event-table {
  width: 100%;
  border-collapse: collapse;
  color: rgba(229, 255, 240, 0.78);
  font-size: 12px;
}

.event-table th,
.event-table td {
  border-bottom: 1px solid rgba(141, 255, 196, 0.1);
  padding: 6px 7px;
  text-align: left;
  white-space: nowrap;
}

.event-table th {
  color: rgba(229, 255, 240, 0.5);
  font-weight: 700;
}

.event-table em {
  color: #67ffc0;
  font-style: normal;
}

.command-footer {
  display: grid;
  grid-template-columns: 165px 170px 1fr auto auto;
  gap: 18px;
  align-items: center;
  height: 48px;
  margin-top: 8px;
  padding: 0 14px;
  color: rgba(229, 255, 240, 0.76);
  font-size: 13px;
}

.command-footer span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.command-footer i,
.command-footer b {
  color: #67ffc0;
}

.support {
  justify-content: center;
  color: rgba(229, 255, 240, 0.48);
}

.command-footer button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border: 1px solid rgba(141, 255, 196, 0.36);
  border-radius: 5px;
  color: #eafff1;
  background: rgba(9, 66, 59, 0.72);
  padding: 0 16px;
  font-weight: 800;
}

.command-toast {
  position: fixed;
  right: 24px;
  bottom: 68px;
  z-index: 20;
  max-width: 380px;
  padding: 10px 14px;
  border: 1px solid rgba(141, 255, 196, 0.5);
  border-radius: 6px;
  background: rgba(4, 42, 38, 0.96);
  color: #eafff1;
  box-shadow: 0 16px 36px rgba(0, 8, 7, 0.38);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.command-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.demo-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  background: rgba(0, 12, 10, 0.62);
  backdrop-filter: blur(6px);
}

.demo-modal {
  width: min(760px, calc(100vw - 44px));
  max-height: calc(100vh - 72px);
  overflow: hidden;
  border: 1px solid rgba(102, 255, 190, 0.46);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(6, 60, 51, 0.98), rgba(3, 28, 27, 0.98)),
    #031c1b;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.45);
}

.demo-modal > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(102, 255, 190, 0.22);
  padding: 18px 20px;
}

.demo-modal > header span {
  color: #6fffc1;
  font-size: 13px;
  font-weight: 900;
}

.demo-modal h2 {
  margin: 4px 0 0;
  color: #eafff1;
}

.demo-modal > header button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(102, 255, 190, 0.26);
  border-radius: 7px;
  color: #eafff1;
  background: rgba(7, 72, 61, 0.78);
}

.demo-modal-body {
  display: grid;
  gap: 16px;
  max-height: calc(100vh - 170px);
  overflow-y: auto;
  padding: 20px;
}

.process-summary {
  display: grid;
  gap: 7px;
  border: 1px solid rgba(102, 255, 190, 0.18);
  border-radius: 9px;
  background: rgba(3, 39, 34, 0.72);
  padding: 15px;
}

.process-summary b {
  color: #fff;
  font-size: 22px;
}

.process-summary span {
  color: #62ffc0;
  font-weight: 900;
}

.process-summary p {
  margin: 0;
  color: rgba(234, 255, 241, 0.74);
  line-height: 1.7;
}

.process-summary strong {
  color: #ffd166;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-steps li {
  display: grid;
  gap: 6px;
  min-height: 118px;
  border: 1px solid rgba(102, 255, 190, 0.18);
  border-radius: 9px;
  background: rgba(3, 39, 34, 0.48);
  padding: 12px;
}

.process-steps i {
  color: #76dfff;
  font-size: 24px;
}

.process-steps b {
  color: #eafff1;
}

.process-steps span {
  color: rgba(234, 255, 241, 0.6);
  font-size: 12px;
  line-height: 1.5;
}

.process-steps li.active,
.process-steps li.done {
  border-color: rgba(102, 255, 190, 0.62);
  background: rgba(27, 132, 88, 0.26);
}

.process-actions,
.risk-demo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.process-actions button,
.risk-demo-grid button {
  display: grid;
  place-items: center;
  gap: 6px;
  min-height: 72px;
  border: 1px solid rgba(102, 255, 190, 0.26);
  border-radius: 8px;
  color: #eafff1;
  background: rgba(7, 72, 61, 0.76);
  font-weight: 900;
}

.process-actions i,
.risk-demo-grid i {
  color: #6fffc1;
  font-size: 22px;
}

.process-note,
.risk-advice {
  border: 1px solid rgba(255, 209, 102, 0.28);
  border-radius: 9px;
  background: rgba(255, 209, 102, 0.08);
  color: rgba(234, 255, 241, 0.84);
  padding: 13px 15px;
  line-height: 1.7;
}

.risk-demo-grid button {
  text-align: center;
}

.risk-demo-grid span {
  color: rgba(234, 255, 241, 0.58);
  font-size: 12px;
}

.risk-advice {
  display: grid;
  gap: 6px;
}

.risk-advice b {
  color: #ffd166;
}

.risk-advice p {
  margin: 0;
}

@media (max-width: 1450px), (max-height: 820px) {
  .command-screen {
    padding: 8px;
  }

  .brand-lockup strong {
    font-size: 22px;
  }

  .kpi-ribbon {
    height: 76px;
    gap: 6px;
  }

  .kpi-card {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 7px;
    padding: 8px;
  }

  .kpi-card i {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }

  .kpi-card strong {
    font-size: 20px;
  }

  .dashboard-grid {
    grid-template-columns: 300px minmax(540px, 1fr) 380px;
    height: calc(100vh - 150px);
    gap: 6px;
  }

  .left-column {
    grid-template-rows: 205px 200px minmax(0, 1fr);
  }

  .right-column {
    grid-template-rows: 210px 138px 134px minmax(0, 1fr);
  }

  .center-bottom {
    grid-template-columns: 190px 190px minmax(0, 1fr);
  }

  .cmd-panel {
    padding: 8px;
  }

  .region-card {
    min-width: 220px;
    padding: 10px 12px;
  }

  .region-card strong {
    font-size: 17px;
  }

  .command-footer {
    height: 42px;
    margin-top: 6px;
  }
}
