:root {
  --bg: #020608;
  --bg-2: #061115;
  --panel: rgba(8, 20, 25, 0.78);
  --panel-2: rgba(10, 28, 33, 0.88);
  --panel-3: rgba(13, 42, 42, 0.74);
  --line: rgba(118, 255, 214, 0.2);
  --line-strong: rgba(51, 218, 255, 0.48);
  --text: #f4fff9;
  --muted: #92abb0;
  --muted-2: #6f8589;
  --green: #8ff06a;
  --green-2: #25d283;
  --cyan: #33daff;
  --cyan-2: #1b84ff;
  --amber: #ffd166;
  --orange: #ff9f45;
  --red: #ff5d52;
  --violet: #a78bff;
  --shadow: 0 26px 90px rgba(0, 0, 0, 0.42);
  --soft-shadow: 0 16px 50px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(115deg, rgba(8, 36, 31, 0.84), transparent 34%),
    linear-gradient(245deg, rgba(18, 29, 55, 0.82), transparent 38%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 56px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 56px),
    linear-gradient(180deg, #04100e 0%, #020608 58%, #010304 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, rgba(51, 218, 255, 0.055), transparent),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(143, 240, 106, 0.035) 18px 19px, transparent 19px 44px);
  mix-blend-mode: screen;
  opacity: 0.7;
  z-index: 0;
}

button,
input,
select,
textarea {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.ambient-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.is-hidden {
  display: none !important;
}

.login-screen,
.app-shell,
.toast {
  position: relative;
  z-index: 1;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(360px, 0.48fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
}

.login-visual,
.login-panel,
.panel,
.sidebar-card,
.topbar,
.metric-card,
.zone-card,
.nav-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.075), transparent 34%),
    linear-gradient(180deg, var(--panel), rgba(3, 10, 12, 0.88));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.login-visual {
  position: relative;
  min-height: 640px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.login-visual::before,
.login-visual::after {
  position: absolute;
  inset: 8%;
  content: "";
  border: 1px solid rgba(51, 218, 255, 0.22);
  border-radius: 8px;
  background:
    repeating-conic-gradient(from 0deg, rgba(51, 218, 255, 0.14) 0 3deg, transparent 3deg 18deg),
    repeating-linear-gradient(90deg, transparent 0 42px, rgba(143, 240, 106, 0.12) 42px 43px);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  animation: radarRotate 20s linear infinite;
}

.login-visual::after {
  inset: 20%;
  border-color: rgba(255, 209, 102, 0.18);
  animation-duration: 32s;
  animation-direction: reverse;
}

.login-logo-system {
  position: relative;
  z-index: 1;
  width: min(820px, 92%);
  aspect-ratio: 1050 / 975;
  isolation: isolate;
  animation: logoSystemFloat 8s ease-in-out infinite;
}

.login-logo-system img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  border-radius: 8px;
  filter:
    drop-shadow(0 0 18px rgba(51, 218, 255, 0.22))
    drop-shadow(0 0 30px rgba(143, 240, 106, 0.16));
  animation: logoGlowBreath 5.4s ease-in-out infinite;
}

.logo-circuit-overlay,
.logo-scanline,
.logo-core-pulse {
  position: absolute;
  pointer-events: none;
}

.logo-circuit-overlay {
  inset: 0;
  z-index: 4;
  overflow: visible;
  mix-blend-mode: screen;
}

.logo-trace {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
  stroke-dasharray: 78 22 18 340;
  stroke-dashoffset: 0;
  opacity: 0.82;
  animation: logoTraceFlow var(--trace-duration, 5s) linear var(--trace-delay, 0s) infinite;
}

.logo-trace.wide {
  stroke-width: 8;
  stroke-dasharray: 110 32 24 470;
}

.logo-trace.thin {
  stroke-width: 3;
  stroke-dasharray: 46 18 12 260;
}

.logo-trace.stem {
  stroke-width: 7;
  stroke-dasharray: 54 18 12 310;
}

.logo-trace.green {
  stroke: var(--green);
}

.logo-trace.cyan {
  stroke: var(--cyan);
}

.logo-trace.amber {
  stroke: var(--amber);
}

.logo-trace.white {
  stroke: rgba(244, 255, 249, 0.9);
}

.logo-node {
  transform-box: fill-box;
  transform-origin: center;
  fill: rgba(244, 255, 249, 0.95);
  stroke-width: 4;
  animation: logoNodePulse 2.4s ease-in-out infinite;
}

.logo-node.small {
  stroke-width: 3;
  animation-duration: 1.7s;
}

.logo-node.green {
  stroke: var(--green);
  filter: drop-shadow(0 0 18px rgba(143, 240, 106, 0.78));
}

.logo-node.cyan {
  stroke: var(--cyan);
  filter: drop-shadow(0 0 18px rgba(51, 218, 255, 0.78));
}

.logo-node.amber {
  stroke: var(--amber);
  filter: drop-shadow(0 0 18px rgba(255, 209, 102, 0.78));
}

.logo-energy-nodes .logo-node:nth-child(2n) {
  animation-delay: -0.8s;
}

.logo-energy-nodes .logo-node:nth-child(3n) {
  animation-delay: -1.4s;
}

.logo-packet {
  opacity: 0.95;
  animation: logoPacketFlicker 1.1s ease-in-out infinite alternate;
}

.logo-packet.green {
  fill: var(--green);
}

.logo-packet.cyan {
  fill: var(--cyan);
}

.logo-packet.amber {
  fill: var(--amber);
}

.logo-scanline {
  z-index: 5;
  inset: 5% 9%;
  overflow: hidden;
  border-radius: 8px;
  mix-blend-mode: screen;
}

.logo-scanline::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, transparent, rgba(51, 218, 255, 0.26), rgba(143, 240, 106, 0.18), transparent),
    linear-gradient(180deg, transparent 0 44%, rgba(244, 255, 249, 0.36) 48%, transparent 54%);
  transform: translateY(-105%);
  animation: logoScanSweep 4.7s cubic-bezier(0.55, 0, 0.24, 1) infinite;
}

.logo-core-pulse {
  z-index: 3;
  left: 50%;
  top: 41%;
  width: 58%;
  aspect-ratio: 1;
  border: 1px solid rgba(51, 218, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0.88);
  box-shadow:
    inset 0 0 30px rgba(51, 218, 255, 0.08),
    0 0 42px rgba(143, 240, 106, 0.08);
  mix-blend-mode: screen;
  animation: logoCorePulse 3.8s ease-in-out infinite;
}

.login-panel {
  display: grid;
  gap: 16px;
  padding: 24px;
}

.login-panel h1,
.topbar h2,
.view-heading h1,
.panel h3,
.brand strong {
  margin: 0;
  line-height: 1.1;
}

.login-panel h1 {
  font-size: 34px;
}

.login-panel p,
.login-panel small,
.sidebar-card span,
.brand span,
.panel p,
.zone-card p,
.timeline li,
.table-row span,
.report-doc p,
.report-doc li,
.audit-list p,
.report-list p {
  color: var(--muted);
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.login-panel label,
form.panel label {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(51, 218, 255, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(51, 218, 255, 0.055), transparent 42%),
    rgba(255, 255, 255, 0.026);
}

.login-panel label:focus-within,
form.panel label:focus-within {
  color: var(--cyan);
  border-color: rgba(51, 218, 255, 0.48);
  box-shadow: 0 0 24px rgba(51, 218, 255, 0.08);
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  color: var(--text);
  border: 1px solid rgba(51, 218, 255, 0.24);
  border-radius: 6px;
  background: rgba(1, 8, 10, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.login-panel label input,
form.panel label input,
form.panel label select,
form.panel label textarea {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(90deg, rgba(51, 218, 255, 0.045), transparent),
    rgba(0, 7, 9, 0.7);
}

textarea {
  resize: vertical;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(7, 20, 24, 0.96), rgba(2, 8, 9, 0.96)),
    var(--bg);
  border-right: 1px solid rgba(51, 218, 255, 0.2);
}

.brand {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.brand strong {
  display: block;
  font-size: 16px;
}

.brand span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
}

.nav-list {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.nav-item {
  position: relative;
  width: 100%;
  min-height: 46px;
  padding: 10px 12px 10px 38px;
  color: var(--muted);
  text-align: left;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
  font-weight: 850;
}

.nav-item::before {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 10px;
  height: 10px;
  content: "";
  border: 1px solid currentColor;
  border-radius: 999px;
  transform: translateY(-50%);
  box-shadow: 0 0 14px transparent;
}

.nav-item:hover,
.nav-item.is-active {
  color: var(--text);
  border-color: var(--line-strong);
  background:
    linear-gradient(90deg, rgba(51, 218, 255, 0.14), rgba(143, 240, 106, 0.06)),
    rgba(255, 255, 255, 0.05);
}

.nav-item.is-active::before {
  color: var(--green);
  background: var(--green);
  box-shadow: 0 0 18px var(--green);
}

.module-nav.terra {
  color: color-mix(in srgb, var(--green) 70%, var(--muted));
}

.module-nav.blue {
  color: color-mix(in srgb, var(--cyan) 76%, var(--muted));
}

.module-nav.human {
  color: color-mix(in srgb, var(--violet) 74%, var(--muted));
}

.module-nav.predict {
  color: color-mix(in srgb, var(--orange) 78%, var(--muted));
}

.module-nav.comunidad {
  color: color-mix(in srgb, var(--green) 58%, var(--cyan));
}

.sidebar-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  background:
    linear-gradient(145deg, rgba(143, 240, 106, 0.11), transparent 48%),
    rgba(9, 27, 31, 0.62);
  box-shadow: none;
}

.workspace {
  min-width: 0;
  padding: 20px;
}

.topbar {
  min-height: 76px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 12px 14px;
}

.topbar h2 {
  font-size: 24px;
}

.topbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.primary-button,
.ghost-button,
.small-button {
  min-height: 38px;
  padding: 9px 12px;
  color: #021013;
  border: 1px solid rgba(51, 218, 255, 0.92);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.36), transparent),
    linear-gradient(90deg, var(--cyan), var(--green));
  box-shadow: 0 10px 24px rgba(51, 218, 255, 0.16);
  font-weight: 900;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.primary-button:hover,
.ghost-button:hover,
.small-button:hover {
  transform: translateY(-1px);
}

.ghost-button {
  color: var(--text);
  background: rgba(51, 218, 255, 0.07);
  border-color: rgba(51, 218, 255, 0.38);
  box-shadow: none;
}

.ghost-button.amber {
  color: var(--amber);
  background: rgba(255, 209, 102, 0.1);
  border-color: rgba(255, 209, 102, 0.42);
}

.small-button {
  min-height: 32px;
  padding: 6px 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
  font-size: 13px;
}

.view-root {
  display: grid;
  gap: 16px;
}

.section-copyright {
  position: relative;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  padding: 10px 14px;
  color: rgba(244, 255, 249, 0.7);
  text-align: right;
  text-transform: uppercase;
  border: 1px solid rgba(143, 240, 106, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent, rgba(143, 240, 106, 0.07), rgba(51, 218, 255, 0.06)),
    rgba(3, 12, 14, 0.6);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
  font-size: 11px;
  font-weight: 900;
}

.section-copyright::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  content: "";
  background: linear-gradient(90deg, rgba(51, 218, 255, 0.16), transparent);
  pointer-events: none;
}

.section-copyright span {
  position: relative;
  z-index: 1;
}

.login-copyright {
  grid-column: 1 / -1;
  justify-content: center;
  margin: 0;
  text-align: center;
}

.view-heading {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(143, 240, 106, 0.12), transparent 36%),
    linear-gradient(45deg, transparent 52%, rgba(51, 218, 255, 0.1)),
    rgba(8, 20, 25, 0.76);
  box-shadow: var(--soft-shadow);
}

.view-heading::after {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--cyan), var(--green), transparent);
  animation: lineSweep 5.8s ease-in-out infinite;
}

.view-heading h1 {
  font-size: 38px;
}

.view-heading p {
  max-width: 860px;
  margin: 8px 0 0;
  color: var(--muted);
}

.heading-status {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.status-pill,
.badge,
.source-tag,
.signal-chip {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border: 1px solid rgba(51, 218, 255, 0.32);
  border-radius: 6px;
  color: var(--cyan);
  background: rgba(51, 218, 255, 0.08);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.signal-chip {
  color: var(--violet);
  border-color: rgba(167, 139, 255, 0.36);
  background: rgba(167, 139, 255, 0.08);
}

.status-pill.green,
.badge.green {
  color: var(--green);
  border-color: rgba(143, 240, 106, 0.34);
  background: rgba(143, 240, 106, 0.08);
}

.status-pill.amber,
.badge.amber {
  color: var(--amber);
  border-color: rgba(255, 209, 102, 0.42);
  background: rgba(255, 209, 102, 0.09);
}

.status-pill.red,
.badge.red {
  color: var(--red);
  border-color: rgba(255, 93, 82, 0.4);
  background: rgba(255, 93, 82, 0.09);
}

.grid-4,
.grid-3,
.grid-2,
.dashboard-grid,
.admin-grid {
  display: grid;
  gap: 16px;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(160px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(220px, 1fr));
}

.grid-2,
.dashboard-grid,
.admin-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.28fr) minmax(330px, 0.72fr);
  align-items: start;
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 0.38fr);
  gap: 14px;
  overflow: hidden;
  padding: 18px;
}

.home-copy {
  display: grid;
  align-content: start;
  gap: 13px;
}

.home-logo-line {
  display: flex;
  gap: 12px;
  align-items: center;
}

.home-logo-line img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 24px rgba(51, 218, 255, 0.16);
}

.home-copy h3 {
  margin: 0;
  color: var(--text);
  font-size: 30px;
}

.home-copy p {
  max-width: 820px;
  margin: 0;
  color: var(--muted);
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.home-stat,
.home-feature {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(51, 218, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.06), transparent 42%),
    rgba(255, 255, 255, 0.028);
}

.home-stat {
  display: grid;
  align-content: center;
  min-height: 86px;
  padding: 12px;
}

.home-stat strong {
  color: var(--cyan);
  font-size: 30px;
  line-height: 1;
}

.home-stat span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.home-stat.green strong,
.home-feature.green > span {
  color: var(--green);
}

.home-stat.amber strong,
.home-feature.amber > span {
  color: var(--amber);
}

.home-stat.red strong {
  color: var(--red);
}

.home-features {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-feature {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
}

.home-feature > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--cyan);
  border: 1px solid currentColor;
  border-radius: 8px;
  background: rgba(51, 218, 255, 0.08);
  font-size: 12px;
  font-weight: 950;
}

.home-feature h4 {
  margin: 0 0 4px;
  font-size: 14px;
}

.home-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.savia-ecosystem {
  display: grid;
  gap: 16px;
  overflow: hidden;
}

.ecosystem-hero {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
}

.ecosystem-hero h3 {
  margin: 0;
  font-size: 28px;
}

.ecosystem-hero p {
  max-width: 780px;
  margin: 7px 0 0;
  color: var(--muted);
}

.savia-value-prop {
  display: grid;
  gap: 14px;
}

.savia-value-prop > p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

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

.value-pillar-grid div,
.value-example {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.028);
}

.value-pillar-grid strong,
.value-example b {
  display: block;
  color: var(--text);
  font-weight: 950;
}

.value-pillar-grid span,
.value-example span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.value-example {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  border-color: color-mix(in srgb, var(--green) 22%, var(--line));
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.module-tile {
  --module-color: var(--cyan);
  --module-soft: rgba(51, 218, 255, 0.13);
  position: relative;
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 360px;
  overflow: hidden;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--module-color) 38%, transparent);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 15%, var(--module-soft), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.052), rgba(255, 255, 255, 0.018)),
    rgba(3, 12, 14, 0.72);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
}

.module-tile.terra,
.module-view.terra,
.module-logo-frame.terra,
.module-score-panel.terra,
.module-capabilities.terra,
.module-workflow.terra,
.module-live-context.terra {
  --module-color: var(--green);
  --module-soft: rgba(143, 240, 106, 0.16);
}

.module-tile.blue,
.module-view.blue,
.module-logo-frame.blue,
.module-score-panel.blue,
.module-capabilities.blue,
.module-workflow.blue,
.module-live-context.blue {
  --module-color: var(--cyan);
  --module-soft: rgba(51, 218, 255, 0.16);
}

.module-tile.human,
.module-view.human,
.module-logo-frame.human,
.module-score-panel.human,
.module-capabilities.human,
.module-workflow.human,
.module-live-context.human {
  --module-color: var(--violet);
  --module-soft: rgba(167, 139, 255, 0.17);
}

.module-tile.predict,
.module-view.predict,
.module-logo-frame.predict,
.module-score-panel.predict,
.module-capabilities.predict,
.module-workflow.predict,
.module-live-context.predict {
  --module-color: var(--orange);
  --module-soft: rgba(255, 159, 69, 0.17);
}

.module-tile.comunidad,
.module-view.comunidad,
.module-logo-frame.comunidad,
.module-score-panel.comunidad,
.module-capabilities.comunidad,
.module-workflow.comunidad,
.module-live-context.comunidad {
  --module-color: var(--green);
  --module-soft: rgba(143, 240, 106, 0.15);
}

.module-logo-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--module-color) 44%, transparent);
  border-radius: 8px;
  background: #020608;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.025) inset,
    0 24px 58px rgba(0, 0, 0, 0.38),
    0 0 42px color-mix(in srgb, var(--module-color) 18%, transparent);
}

.module-logo-frame.large {
  width: min(360px, 38vw);
  flex: 0 0 min(360px, 38vw);
}

.module-logo-frame.tile {
  width: 100%;
}

.module-logo-frame img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.module-tile span {
  color: var(--module-color);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.module-tile h4 {
  margin: 6px 0;
  font-size: 15px;
}

.module-tile p {
  min-height: 74px;
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.module-view {
  --module-color: var(--cyan);
  --module-soft: rgba(51, 218, 255, 0.16);
  display: grid;
  gap: 16px;
}

.module-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 20%, var(--module-soft), transparent 35%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 34%),
    rgba(8, 20, 25, 0.76);
}

.module-hero-copy {
  min-width: 0;
  max-width: 820px;
}

.module-hero h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(34px, 5vw, 68px);
  line-height: 0.98;
}

.module-hero h2 {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--module-color);
  font-size: 22px;
  font-weight: 850;
  text-transform: uppercase;
}

.module-hero p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
}

.module-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  gap: 16px;
}

.module-score-panel,
.module-capabilities,
.module-workflow,
.module-live-context {
  border-color: color-mix(in srgb, var(--module-color) 28%, var(--line));
}

.module-score-panel::after,
.module-capabilities::after,
.module-workflow::after,
.module-live-context::after {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--module-color), transparent);
  opacity: 0.7;
}

.module-score-ring {
  flex: 0 0 auto;
}

.module-score-ring span {
  display: grid;
  place-items: center;
  line-height: 0.9;
}

.module-score-ring small {
  color: var(--muted);
  font-size: 12px;
}

.module-dimensions {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.module-dimensions div {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 36px;
  gap: 10px;
  align-items: center;
}

.module-dimensions span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.module-dimensions b {
  color: var(--text);
  font-size: 12px;
}

.module-dimensions i {
  grid-column: 1 / -1;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.module-dimensions i::before {
  display: block;
  width: var(--value);
  height: 100%;
  content: "";
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--module-color), var(--amber));
  box-shadow: 0 0 18px color-mix(in srgb, var(--module-color) 30%, transparent);
}

.module-capabilities {
  grid-row: span 2;
}

.module-observatory,
.module-ai-report {
  border-color: color-mix(in srgb, var(--module-color) 28%, var(--line));
}

.module-observatory .salta-observatory {
  margin-top: 4px;
}

.module-real-map {
  --map-accent: var(--module-color);
}

.module-real-map .map-stage {
  min-height: 500px;
  border-color: color-mix(in srgb, var(--module-color) 44%, transparent);
  background:
    radial-gradient(circle at 18% 16%, var(--module-soft), transparent 34%),
    linear-gradient(290deg, color-mix(in srgb, var(--module-color) 12%, transparent), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 38px),
    #041012;
}

.module-real-map .map-hud span,
.module-real-map .telemetry-strip span,
.module-real-map .map-toggle,
.module-real-map .map-layer-dock span {
  border-color: color-mix(in srgb, var(--module-color) 26%, transparent);
}

.module-real-map .map-layer-dock b {
  color: var(--module-color);
}

.module-real-map .map-scan {
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--module-color) 34%, transparent), transparent);
}

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

.module-capability {
  min-height: 112px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--module-color) 23%, transparent);
  border-radius: 8px;
  background:
    linear-gradient(135deg, var(--module-soft), transparent 45%),
    rgba(255, 255, 255, 0.026);
}

.module-capability span {
  color: var(--module-color);
  font-size: 12px;
  font-weight: 950;
}

.module-capability strong {
  display: block;
  margin: 6px 0 5px;
  font-size: 14px;
}

.module-capability p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.module-flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.module-flow div {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 96px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--module-color) 24%, transparent);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.028);
}

.module-flow b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #021013;
  border-radius: 999px;
  background: var(--module-color);
  font-size: 12px;
}

.module-flow span {
  color: var(--text);
  font-size: 12px;
  font-weight: 900;
}

.module-observatory-data,
.module-report-columns {
  display: grid;
  gap: 10px;
}

.module-observatory-data {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-observatory-data span {
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: 10px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.028);
  font-size: 12px;
  font-weight: 850;
}

.module-observatory-data b {
  color: var(--module-color);
  font-size: 24px;
}

.module-observatory-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.blue-observatory {
  grid-column: span 2;
}

.blue-command-center {
  border-color: rgba(32, 191, 227, 0.4);
  background:
    radial-gradient(circle at 82% 8%, rgba(27, 132, 255, 0.18), transparent 34%),
    radial-gradient(circle at 12% 0%, rgba(51, 218, 255, 0.12), transparent 28%),
    linear-gradient(140deg, rgba(2, 9, 18, 0.98), rgba(1, 14, 22, 0.97));
}

.blue-signal-strip {
  margin-bottom: 14px;
  padding: 18px;
  border: 1px solid rgba(32, 191, 227, 0.28);
  border-radius: 8px;
  background: rgba(2, 13, 23, 0.82);
}

.blue-signal-strip h4 {
  margin: 0 0 16px;
  color: var(--cyan);
  font-size: 18px;
  text-align: center;
  text-transform: uppercase;
}

.blue-signal-strip > div {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 10px;
}

.blue-signal-strip span {
  display: grid;
  gap: 7px;
  min-height: 96px;
  place-items: center;
  padding: 10px 7px;
  border-left: 1px solid rgba(32, 191, 227, 0.18);
  color: #e8fbff;
  text-align: center;
}

.blue-signal-strip span::before {
  content: "";
  width: 42px;
  height: 42px;
  border: 1px solid rgba(93, 255, 224, 0.6);
  border-radius: 999px;
  background:
    radial-gradient(circle at center, rgba(93, 255, 224, 0.28), transparent 38%),
    linear-gradient(135deg, rgba(23, 201, 255, 0.15), rgba(104, 255, 120, 0.1));
  box-shadow: 0 0 18px rgba(32, 191, 227, 0.18);
}

.blue-signal-strip b {
  font-size: 10.5px;
  line-height: 1.2;
  text-transform: uppercase;
}

.blue-signal-strip small {
  color: #95afbb;
  font-size: 9px;
  line-height: 1.2;
}

.blue-dashboard-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.64fr) minmax(360px, 1.45fr) minmax(220px, 0.7fr);
  gap: 12px;
  align-items: stretch;
}

.blue-health-console,
.blue-action-rail,
.blue-prediction-grid article,
.blue-fishing-flow {
  border: 1px solid rgba(32, 191, 227, 0.28);
  border-radius: 8px;
  background: rgba(3, 14, 24, 0.78);
}

.blue-health-console {
  padding: 18px;
}

.blue-health-console h3,
.blue-health-console h4 {
  margin: 0 0 12px;
  color: #e9fbff;
}

.blue-gauge {
  --angle: calc(var(--score) * 3.6deg);
  display: grid;
  place-items: center;
  width: 170px;
  height: 170px;
  margin: 18px auto;
  border-radius: 999px;
  background:
    radial-gradient(circle, #06131c 0 54%, transparent 55%),
    conic-gradient(#8df25c 0deg, #f6dd4e 190deg, #ff6b1d 260deg, #fa2d16 var(--angle), rgba(255,255,255,0.08) var(--angle) 360deg);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.05), 0 0 28px rgba(51, 218, 255, 0.14);
}

.blue-gauge strong {
  color: #ffffff;
  font-size: 54px;
  line-height: 0.85;
}

.blue-gauge span {
  margin-top: 64px;
  color: var(--cyan);
  font-size: 14px;
  font-weight: 850;
}

.blue-scale-list {
  display: grid;
  gap: 8px;
  margin: 0 0 16px;
  color: #dceef4;
  font-size: 12px;
}

.blue-scale-list span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.blue-scale-list i {
  width: 11px;
  height: 11px;
  border-radius: 999px;
}

.blue-scale-list .ok { background: #8df25c; }
.blue-scale-list .mod { background: #f5de42; }
.blue-scale-list .high { background: #ff8b1a; }
.blue-scale-list .critical { background: #ff341f; }

.blue-driver-grid.compact {
  margin-top: 0;
}

.blue-risk-map {
  min-height: 560px;
  background:
    radial-gradient(circle at 68% 44%, rgba(255, 40, 16, 0.25), transparent 9%),
    radial-gradient(ellipse at 64% 43%, rgba(255, 218, 30, 0.36), transparent 19%),
    radial-gradient(ellipse at 58% 47%, rgba(63, 255, 95, 0.22), transparent 31%),
    radial-gradient(ellipse at 60% 47%, rgba(0, 156, 255, 0.24), transparent 46%),
    linear-gradient(135deg, rgba(1, 11, 23, 0.98), rgba(1, 24, 35, 0.98));
}

.blue-real-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #061018;
}

.blue-real-map .leaflet-tile-pane {
  filter: saturate(1.1) contrast(1.05);
}

.blue-amp-rectangle {
  filter: drop-shadow(0 0 8px rgba(32, 191, 227, 0.25));
}

.blue-real-zone-marker {
  display: grid;
  place-items: center;
  border: 1px solid rgba(51, 218, 255, 0.8);
  border-radius: 999px;
  background: rgba(3, 15, 22, 0.92);
  color: #eaffff;
  box-shadow: 0 0 0 6px rgba(51, 218, 255, 0.12), 0 0 26px rgba(51, 218, 255, 0.42);
}

.blue-real-zone-marker.is-active {
  background: var(--cyan);
  color: #021013;
  box-shadow: 0 0 0 8px rgba(51, 218, 255, 0.18), 0 0 36px rgba(51, 218, 255, 0.58);
}

.blue-real-zone-marker span {
  font-size: 12px;
  font-weight: 950;
}

.blue-map-popup {
  display: grid;
  gap: 6px;
  min-width: 230px;
}

.blue-map-popup strong {
  color: #ffffff;
}

.blue-map-popup span {
  color: #9bb4bd;
  font-size: 12px;
}

.blue-map-popup dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 10px;
  margin: 5px 0 0;
}

.blue-map-popup dt {
  color: #7dd3fc;
  font-weight: 850;
}

.blue-map-popup dd {
  margin: 0;
  color: #e5f8ff;
}

.blue-risk-map::before {
  content: "";
  position: absolute;
  inset: 16% 20% 18% 18%;
  border-radius: 42% 58% 50% 46%;
  background:
    linear-gradient(100deg, transparent 0 31%, rgba(31, 209, 105, 0.26) 37%, rgba(250, 222, 60, 0.55) 52%, rgba(255, 80, 20, 0.58) 63%, rgba(28, 187, 255, 0.25) 78%, transparent 100%);
  filter: blur(10px);
  transform: rotate(-14deg);
  pointer-events: none;
}

.blue-risk-map::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background:
    linear-gradient(30deg, transparent 0 48%, rgba(255,255,255,0.4) 49%, transparent 50%),
    linear-gradient(120deg, transparent 0 48%, rgba(255,255,255,0.35) 49%, transparent 50%);
  background-size: 48px 48px;
  pointer-events: none;
}

.blue-heat-band {
  position: absolute;
  z-index: 2;
  border-radius: 999px;
  filter: blur(7px);
  transform: rotate(-16deg);
}

.blue-heat-band.band-cold {
  width: 60%;
  height: 28%;
  left: 27%;
  top: 34%;
  background: rgba(0, 174, 255, 0.28);
}

.blue-heat-band.band-alert {
  width: 48%;
  height: 18%;
  left: 36%;
  top: 42%;
  background: rgba(246, 230, 50, 0.34);
}

.blue-heat-band.band-critical {
  width: 34%;
  height: 10%;
  left: 47%;
  top: 47%;
  background: rgba(255, 52, 31, 0.36);
}

.blue-heat-scale {
  position: absolute;
  z-index: 5;
  left: 60px;
  right: 60px;
  bottom: 18px;
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto;
  align-items: center;
  gap: 12px;
  color: #e9fbff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.blue-heat-scale i {
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0647ff, #00c8ff, #65f25f, #f7e13a, #ff7b14, #e61e12);
}

.blue-action-rail {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.blue-action-rail > div:not(.blue-trend-card) {
  display: grid;
  gap: 5px;
  padding: 11px 0 11px 12px;
  border-left: 2px solid rgba(51, 218, 255, 0.48);
}

.blue-action-rail strong {
  color: #e9fbff;
  font-size: 12px;
  text-transform: uppercase;
}

.blue-action-rail span {
  color: #9bb4bd;
  font-size: 11px;
}

.blue-trend-card {
  margin-top: 6px;
  padding: 12px;
  border: 1px solid rgba(32, 191, 227, 0.24);
  border-radius: 8px;
  background: rgba(3, 24, 38, 0.62);
}

.blue-trend-card svg {
  width: 100%;
  height: 112px;
}

.blue-trend-card path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 4;
}

.blue-trend-card circle {
  fill: #9ffcff;
}

.blue-prediction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.blue-prediction-grid article {
  min-height: 230px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(3, 18, 31, 0.72), rgba(2, 10, 18, 0.92)),
    radial-gradient(circle at 84% 74%, rgba(32, 191, 227, 0.18), transparent 34%);
}

.blue-prediction-grid h3,
.blue-fishing-flow h3 {
  margin: 0 0 6px;
  color: var(--cyan);
  font-size: 18px;
  text-transform: uppercase;
}

.blue-prediction-grid p,
.blue-fishing-flow p {
  margin: 0 0 12px;
  color: #d5e8ef;
  font-size: 12px;
}

.blue-prediction-grid ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.blue-prediction-grid li {
  color: #d9edf2;
  font-size: 12px;
}

.blue-prediction-grid li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border: 1px solid var(--cyan);
  border-radius: 999px;
}

.blue-fishing-flow {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.4fr) minmax(240px, 0.9fr);
  gap: 18px;
  align-items: center;
  margin-top: 12px;
  padding: 18px;
}

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

.blue-fishing-flow li {
  min-height: 92px;
  display: grid;
  place-items: center;
  padding: 10px;
  border: 1px solid rgba(32, 191, 227, 0.22);
  border-radius: 8px;
  color: #d9edf2;
  font-size: 11px;
  text-align: center;
  background: rgba(5, 28, 45, 0.68);
}

.blue-fishing-flow strong {
  color: var(--cyan);
  font-size: 18px;
  line-height: 1.4;
  text-transform: uppercase;
}

.module-command-center {
  grid-column: span 2;
  border-color: color-mix(in srgb, var(--module-color) 38%, transparent);
  background:
    radial-gradient(circle at 12% 0%, color-mix(in srgb, var(--module-color) 16%, transparent), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(255, 255, 255, 0.06), transparent 26%),
    linear-gradient(140deg, rgba(2, 9, 18, 0.98), rgba(4, 15, 20, 0.96));
}

.module-command-signals {
  border-color: color-mix(in srgb, var(--module-color) 35%, transparent);
}

.module-command-signals h4,
.module-command-panels h3,
.module-command-rail strong {
  color: var(--module-color);
}

.module-command-signals span::before {
  border-color: color-mix(in srgb, var(--module-color) 72%, transparent);
  background:
    radial-gradient(circle at center, color-mix(in srgb, var(--module-color) 28%, transparent), transparent 42%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), color-mix(in srgb, var(--module-color) 12%, transparent));
}

.module-command-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(360px, 1.45fr) minmax(220px, 0.7fr);
  gap: 12px;
  align-items: stretch;
}

.module-command-score,
.module-command-map,
.module-command-rail {
  border: 1px solid color-mix(in srgb, var(--module-color) 28%, transparent);
  border-radius: 8px;
  background: rgba(3, 14, 24, 0.78);
}

.module-command-score {
  padding: 18px;
}

.module-command-score h3,
.module-command-score h4 {
  margin: 0 0 12px;
  color: #e9fbff;
}

.module-command-gauge {
  background:
    radial-gradient(circle, #06131c 0 54%, transparent 55%),
    conic-gradient(var(--green) 0deg, var(--amber) 190deg, var(--orange) 260deg, var(--red) calc(var(--score) * 3.6deg), rgba(255,255,255,0.08) calc(var(--score) * 3.6deg) 360deg);
}

.module-command-map {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.module-command-map .real-map-shell {
  margin-top: 0;
}

.module-command-map .leaflet-map {
  min-height: 520px;
}

.module-command-map > p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.module-command-rail {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.module-command-rail > div:not(.blue-trend-card) {
  display: grid;
  gap: 5px;
  padding: 11px 0 11px 12px;
  border-left: 2px solid color-mix(in srgb, var(--module-color) 55%, transparent);
}

.module-command-rail span {
  color: #9bb4bd;
  font-size: 11px;
}

.module-command-rail .blue-trend-card {
  border-color: color-mix(in srgb, var(--module-color) 28%, transparent);
}

.module-command-rail .blue-trend-card path {
  stroke: var(--module-color);
}

.module-command-rail .blue-trend-card circle {
  fill: color-mix(in srgb, var(--module-color) 78%, #ffffff);
}

.module-command-panels article {
  border-color: color-mix(in srgb, var(--module-color) 28%, transparent);
  background:
    linear-gradient(180deg, rgba(3, 18, 31, 0.72), rgba(2, 10, 18, 0.92)),
    radial-gradient(circle at 84% 74%, color-mix(in srgb, var(--module-color) 18%, transparent), transparent 34%);
}

.module-command-panels li::before {
  border-color: var(--module-color);
}

.module-command-center .module-workflow {
  margin-top: 12px;
}

.blue-observatory-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 12px;
}

.blue-map-stage {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--cyan) 36%, var(--line));
  border-radius: 8px;
  background:
    linear-gradient(125deg, rgba(3, 21, 30, 0.95), rgba(1, 9, 17, 0.98)),
    repeating-linear-gradient(90deg, rgba(125, 211, 252, 0.08) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, rgba(125, 211, 252, 0.06) 0 1px, transparent 1px 42px);
}

.blue-map-hud {
  position: absolute;
  z-index: 4;
  inset: 12px 12px auto;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.blue-map-hud span,
.blue-map-legend,
.blue-automation-grid span {
  border: 1px solid color-mix(in srgb, var(--cyan) 28%, transparent);
  border-radius: 8px;
  background: rgba(3, 15, 20, 0.82);
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
}

.blue-map-hud span {
  padding: 7px 9px;
}

.blue-coastline {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  background:
    radial-gradient(ellipse at 0% 18%, rgba(143, 240, 106, 0.22), transparent 36%),
    radial-gradient(ellipse at 7% 50%, rgba(143, 240, 106, 0.16), transparent 42%),
    linear-gradient(90deg, rgba(16, 78, 57, 0.48), transparent 76%);
  clip-path: polygon(0 0, 48% 0, 36% 16%, 52% 31%, 34% 50%, 48% 67%, 28% 100%, 0 100%);
}

.blue-shelf {
  position: absolute;
  border: 1px solid rgba(51, 218, 255, 0.18);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.blue-shelf.shelf-a {
  width: 62%;
  height: 62%;
  left: 20%;
  top: 18%;
}

.blue-shelf.shelf-b {
  width: 80%;
  height: 76%;
  left: 18%;
  top: 22%;
  border-color: rgba(125, 211, 252, 0.11);
}

.blue-zone-dot {
  position: absolute;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--cyan) 65%, transparent);
  border-radius: 999px;
  background: rgba(3, 15, 20, 0.9);
  color: var(--text);
  box-shadow: 0 0 0 6px rgba(51, 218, 255, 0.08), 0 0 26px rgba(51, 218, 255, 0.28);
  cursor: pointer;
}

.blue-zone-dot span {
  font-size: 12px;
  font-weight: 950;
}

.blue-zone-dot.is-active {
  background: var(--cyan);
  color: #021013;
  box-shadow: 0 0 0 8px rgba(51, 218, 255, 0.16), 0 0 36px rgba(51, 218, 255, 0.5);
}

.blue-map-legend {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  display: grid;
  gap: 4px;
  padding: 12px;
}

.blue-map-legend b,
.blue-source-grid strong {
  color: var(--text);
}

.blue-zone-panel {
  align-self: stretch;
  margin: 0;
  background: rgba(2, 12, 18, 0.76);
}

.blue-driver-grid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.blue-driver-grid div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 12px;
}

.blue-driver-grid i {
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.blue-driver-grid i::before {
  content: "";
  display: block;
  width: var(--w);
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--green));
}

.blue-risk-strip {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--amber) 28%, transparent);
  border-radius: 8px;
  background: rgba(255, 209, 102, 0.06);
}

.blue-risk-strip span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
}

.blue-risk-strip b {
  color: var(--amber);
}

.blue-source-grid,
.blue-automation-grid {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.blue-source-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.blue-source-grid div {
  display: grid;
  gap: 5px;
  min-height: 96px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.028);
}

.blue-source-grid span {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.blue-automation-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.blue-automation-grid span {
  padding: 10px;
  color: var(--text);
}

.module-report-body p {
  margin: 0 0 12px;
  color: var(--muted);
}

.module-report-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-report-columns div {
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--module-color) 20%, transparent);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.026);
}

.module-report-columns strong {
  color: var(--module-color);
}

.module-report-columns ul {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
}

.module-report-linked {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.028);
}

.module-report-linked span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.module-report-linked b {
  color: var(--text);
  font-size: 13px;
}

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

.module-live-grid span {
  display: grid;
  gap: 4px;
  min-height: 76px;
  padding: 10px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  font-weight: 850;
}

.module-live-grid b {
  color: var(--module-color);
  font-size: 24px;
  line-height: 1;
}

.module-latest {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--module-color) 20%, transparent);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.026);
}

.module-latest p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 12px;
}

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

.satellite-card {
  position: relative;
  min-height: 190px;
  display: grid;
  align-content: start;
  gap: 9px;
  overflow: hidden;
  padding: 12px;
  border: 1px solid rgba(51, 218, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.07), transparent 38%),
    linear-gradient(180deg, rgba(8, 20, 25, 0.82), rgba(2, 8, 10, 0.86));
  box-shadow: var(--soft-shadow);
}

.satellite-card::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 18%, var(--satellite-accent, rgba(51, 218, 255, 0.24)), transparent 34%),
    linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  opacity: 0.72;
}

.satellite-card.green {
  --satellite-accent: rgba(143, 240, 106, 0.24);
}

.satellite-card.cyan {
  --satellite-accent: rgba(51, 218, 255, 0.25);
}

.satellite-card.amber {
  --satellite-accent: rgba(255, 209, 102, 0.22);
}

.satellite-card.red {
  --satellite-accent: rgba(255, 93, 82, 0.18);
}

.satellite-card > * {
  position: relative;
  z-index: 1;
}

.satellite-card-top,
.satellite-specs,
.capability-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.satellite-card-top {
  justify-content: space-between;
  align-items: center;
}

.satellite-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: #021013;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  box-shadow: 0 0 24px rgba(51, 218, 255, 0.22);
  font-size: 11px;
  font-weight: 950;
}

.satellite-card h3 {
  margin: 0;
  font-size: 15px;
}

.satellite-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.satellite-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.satellite-specs span {
  display: grid;
  gap: 3px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text);
  font-size: 11px;
  font-weight: 850;
}

.satellite-specs b {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
}

.capability-list span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 3px 7px;
  color: var(--cyan);
  border: 1px solid rgba(51, 218, 255, 0.2);
  border-radius: 6px;
  background: rgba(51, 218, 255, 0.065);
  font-size: 11px;
  font-weight: 900;
}

.satellite-matrix {
  overflow: hidden;
}

.matrix-table {
  position: relative;
  display: grid;
  gap: 8px;
}

.matrix-row {
  display: grid;
  grid-template-columns: minmax(170px, 0.9fr) minmax(150px, 0.7fr) minmax(220px, 1.2fr);
  gap: 10px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background:
    linear-gradient(90deg, rgba(51, 218, 255, 0.06), transparent),
    rgba(255, 255, 255, 0.028);
}

.matrix-row strong,
.matrix-row span,
.matrix-row em {
  font-size: 13px;
}

.matrix-row span {
  color: var(--green);
  font-weight: 900;
}

.matrix-row em {
  color: var(--muted);
  font-style: normal;
}

.panel,
.metric-card,
.zone-card {
  position: relative;
  padding: 16px;
}

.panel::before,
.metric-card::before,
.zone-card::before {
  position: absolute;
  inset: 0;
  content: "";
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 34%);
  opacity: 0.42;
}

.panel-header,
.table-row,
.metric-row {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.panel-header {
  margin-bottom: 14px;
}

.panel-header h3 {
  font-size: 20px;
}

.metric-card {
  min-height: 118px;
  overflow: hidden;
}

.metric-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metric-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 8px;
  font-size: 30px;
}

.metric-card em {
  display: block;
  margin-top: 8px;
  color: var(--green);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.metric-card small {
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: rgba(255, 255, 255, 0.1);
  font-size: 40px;
  font-weight: 950;
}

.map-panel {
  overflow: hidden;
}

.salta-observatory {
  display: grid;
  gap: 10px;
}

.map-hud,
.map-footer,
.telemetry-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.map-hud span,
.telemetry-strip span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
}

.map-stage {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(51, 218, 255, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(143, 240, 106, 0.12), transparent 34%),
    linear-gradient(290deg, rgba(27, 132, 255, 0.16), transparent 42%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 38px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 38px),
    #041012;
}

.real-map-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.map-toggle {
  min-height: 32px;
  display: inline-flex;
  grid-template-columns: none;
  align-items: center;
  gap: 8px;
  padding: 5px 9px;
  color: var(--muted);
  border: 1px solid rgba(51, 218, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  font-weight: 900;
}

.map-toggle input {
  width: 15px;
  min-height: 15px;
  accent-color: var(--green);
}

.real-map-stage {
  min-height: 500px;
}

.leaflet-map {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #041012;
}

.real-map-stage .map-layer-dock {
  left: auto;
  right: 12px;
}

.real-map-stage .map-particles,
.real-map-stage .satellite-pass,
.real-map-stage .map-scan {
  z-index: 2;
}

.real-map-stage .satellite-pass,
.real-map-stage .map-scan {
  opacity: 0.62;
}

.map-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  place-items: center;
  padding: 20px;
  color: var(--muted);
  text-align: center;
  background: rgba(2, 8, 10, 0.9);
}

.map-fallback strong,
.map-fallback span {
  display: block;
}

.map-fallback strong {
  color: var(--text);
}

.is-map-fallback .map-fallback {
  display: grid;
}

.leaflet-container {
  color: var(--text);
  font-family: inherit;
  background: #041012;
}

.leaflet-control-zoom a,
.leaflet-control-attribution,
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  color: var(--text);
  border-color: rgba(51, 218, 255, 0.24);
  background: rgba(3, 13, 15, 0.94);
}

.leaflet-control-zoom {
  border: 1px solid rgba(51, 218, 255, 0.28) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.leaflet-control-zoom a {
  border-bottom-color: rgba(51, 218, 255, 0.18) !important;
}

.leaflet-popup-content {
  margin: 10px 12px;
  color: var(--muted);
  font-size: 12px;
}

.leaflet-popup-content strong {
  color: var(--cyan);
}

.map-layer-dock {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 9;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: calc(100% - 24px);
}

.map-layer-dock span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 9px;
  color: var(--muted);
  border: 1px solid rgba(51, 218, 255, 0.2);
  border-radius: 6px;
  background: rgba(1, 9, 11, 0.78);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 900;
}

.map-layer-dock b {
  color: var(--cyan);
  font-size: 16px;
}

.map-stage::before,
.map-stage::after {
  position: absolute;
  inset: 5%;
  content: "";
  border: 1px solid rgba(51, 218, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
  transform: rotate(-12deg);
}

.map-stage::after {
  inset: 13%;
  border-color: rgba(143, 240, 106, 0.12);
  transform: rotate(17deg);
}

.map-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.map-particle {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  background: var(--particle);
  box-shadow: 0 0 14px var(--particle);
  opacity: 0.42;
  animation: particleDrift var(--duration) ease-in-out var(--delay) infinite alternate;
}

.map-particle.is-bright {
  opacity: 0.95;
}

.salta-svg {
  position: absolute;
  inset: 5%;
  width: 90%;
  height: 90%;
  overflow: visible;
  filter: drop-shadow(0 22px 42px rgba(0, 0, 0, 0.5));
}

.svg-grid path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.055);
  stroke-width: 0.2;
}

.salta-shadow {
  fill: rgba(0, 0, 0, 0.55);
  transform: translate(1.2px, 1.8px);
}

.salta-shape {
  fill: url("#salta-terrain");
  stroke: rgba(244, 255, 249, 0.28);
  stroke-width: 0.55;
}

.salta-border {
  fill: none;
  stroke: rgba(51, 218, 255, 0.92);
  stroke-width: 0.6;
  filter: url("#map-glow");
}

.heat-field {
  mix-blend-mode: screen;
  opacity: 0.42;
  animation: heatPulse 5.5s ease-in-out infinite;
}

.heat-a {
  fill: rgba(143, 240, 106, 0.72);
}

.heat-b {
  fill: rgba(51, 218, 255, 0.55);
  animation-delay: -2s;
}

.heat-c {
  fill: rgba(255, 209, 102, 0.52);
  animation-delay: -3.2s;
}

.terrain-ridge,
.river-trace,
.sar-sweep {
  fill: none;
  stroke-linecap: round;
}

.terrain-ridge {
  stroke: rgba(244, 255, 249, 0.28);
  stroke-width: 0.46;
  stroke-dasharray: 2 2.8;
  animation: dashFlow 14s linear infinite;
}

.ridge-b {
  stroke: rgba(143, 240, 106, 0.32);
  animation-duration: 18s;
}

.river-trace {
  stroke: rgba(51, 218, 255, 0.78);
  stroke-width: 0.7;
  stroke-dasharray: 1.2 2;
  animation: dashFlow 8s linear infinite;
}

.sar-sweep {
  stroke: rgba(255, 209, 102, 0.84);
  stroke-width: 0.44;
  stroke-dasharray: 8 10;
  animation: dashFlow 6s linear infinite;
}

.satellite-pass {
  position: absolute;
  left: -20%;
  top: 20%;
  width: 44%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent);
  box-shadow: 0 0 22px rgba(51, 218, 255, 0.9);
  transform: rotate(28deg);
  animation: satellitePass 9s linear infinite;
  pointer-events: none;
}

.pass-b {
  top: 64%;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  animation-duration: 12s;
  animation-delay: -5s;
  transform: rotate(-19deg);
}

.orbital-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 68%;
  aspect-ratio: 1;
  border: 1px solid rgba(51, 218, 255, 0.11);
  border-top-color: rgba(51, 218, 255, 0.58);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  animation: orbit 22s linear infinite;
  pointer-events: none;
}

.ring-two {
  width: 84%;
  border-color: rgba(143, 240, 106, 0.1);
  border-right-color: rgba(143, 240, 106, 0.5);
  animation-duration: 34s;
  animation-direction: reverse;
}

.map-scan {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: rgba(51, 218, 255, 0.7);
  box-shadow: 0 0 22px rgba(51, 218, 255, 0.9);
  animation: scan 5.8s linear infinite;
  pointer-events: none;
}

.map-zone {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  z-index: 5;
  min-width: 128px;
  max-width: 174px;
  min-height: 44px;
  display: grid;
  gap: 2px;
  transform: translate(-50%, -50%);
  padding: 8px 10px;
  color: var(--text);
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(1, 9, 11, 0.82);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 900;
}

.map-leader {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  z-index: 4;
  width: calc(var(--len) * 1%);
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
  box-shadow: 0 0 12px var(--line);
  opacity: 0.72;
  pointer-events: none;
  transform: rotate(var(--angle));
  transform-origin: 0 0;
}

.map-zone span,
.map-zone small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.map-zone small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.map-zone.is-selected,
.map-zone:hover {
  border-color: var(--cyan);
  background: rgba(51, 218, 255, 0.16);
}

.risk-dot {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  z-index: 6;
  width: 16px;
  height: 16px;
  transform: translate(-50%, calc(-50% - 31px));
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  background: var(--dot);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.04), 0 0 24px var(--dot);
  pointer-events: none;
}

.telemetry-strip {
  justify-content: flex-start;
  overflow: hidden;
}

.telemetry-strip span {
  color: var(--text);
  border-color: rgba(51, 218, 255, 0.18);
}

.map-footer {
  align-items: flex-start;
  justify-content: flex-start;
}

.map-footer strong {
  color: var(--text);
}

.map-footer span {
  color: var(--muted);
}

.zone-detail {
  display: grid;
  gap: 14px;
}

.score-ring {
  width: 116px;
  height: 116px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: conic-gradient(var(--score-color) var(--score), rgba(255, 255, 255, 0.08) 0);
  box-shadow: 0 0 40px rgba(51, 218, 255, 0.1);
}

.score-ring span {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #031013;
  font-size: 28px;
  font-weight: 950;
}

.factor-list {
  display: grid;
  gap: 9px;
}

.factor-list div {
  display: grid;
  grid-template-columns: 122px minmax(0, 1fr) 44px;
  gap: 10px;
  align-items: center;
}

.factor-list span {
  color: var(--muted);
  font-size: 12px;
}

.factor-list b {
  height: 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
}

.factor-list i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--bar), rgba(255, 255, 255, 0.9));
}

.factor-list em {
  color: var(--text);
  font-size: 12px;
  font-style: normal;
  text-align: right;
}

.layer-list,
.timeline,
.report-list,
.audit-list,
.zone-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.table-row,
.timeline li,
.report-list article,
.audit-list article,
.zone-card {
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.055), transparent 42%),
    rgba(255, 255, 255, 0.032);
}

.table-row strong {
  display: block;
}

.table-row span {
  display: block;
  margin-top: 3px;
  font-size: 12px;
}

.table-row input[type="checkbox"] {
  width: 44px;
  min-height: 24px;
  accent-color: var(--green);
}

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

form.panel {
  overflow: hidden;
}

form.panel .panel-header {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(51, 218, 255, 0.14);
}

form.panel .form-grid {
  gap: 14px;
}

form.panel .primary-button {
  justify-self: start;
  margin-top: 14px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.report-doc {
  display: grid;
  gap: 10px;
}

.module-report-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.module-report-card {
  display: grid;
  align-content: space-between;
  gap: 14px;
  min-height: 220px;
  padding: 16px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.035);
}

.module-report-card.blue {
  border-top-color: var(--cyan);
}

.module-report-card.human {
  border-top-color: var(--amber);
}

.module-report-card.predict {
  border-top-color: #9e8cff;
}

.module-report-card.comunidad {
  border-top-color: #37d6a1;
}

.module-report-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.25;
}

.module-report-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.module-report-card-actions,
.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.report-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.report-meta span:not(.badge) {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
}

.report-factor-list {
  gap: 6px;
}

.report-factor-list small {
  margin: -4px 0 5px 0;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.report-doc h3,
.report-list h4 {
  margin: 0;
}

.report-doc ul {
  margin: 0;
  padding-left: 18px;
}

@media (max-width: 1180px) {
  .module-report-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .module-report-grid {
    grid-template-columns: 1fr;
  }

  .module-report-card {
    min-height: 0;
  }
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  max-width: min(420px, calc(100vw - 40px));
  padding: 12px 14px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: rgba(3, 13, 15, 0.96);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(16px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

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

@keyframes radarRotate {
  to {
    transform: rotate(360deg);
  }
}

@keyframes logoSystemFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -10px, 0);
  }
}

@keyframes logoGlowBreath {
  0%,
  100% {
    filter:
      drop-shadow(0 0 18px rgba(51, 218, 255, 0.22))
      drop-shadow(0 0 30px rgba(143, 240, 106, 0.16));
  }
  50% {
    filter:
      drop-shadow(0 0 28px rgba(51, 218, 255, 0.38))
      drop-shadow(0 0 46px rgba(143, 240, 106, 0.26));
  }
}

@keyframes logoTraceFlow {
  to {
    stroke-dashoffset: -900;
  }
}

@keyframes logoNodePulse {
  0%,
  100% {
    opacity: 0.75;
    transform: scale(0.84);
  }
  50% {
    opacity: 1;
    transform: scale(1.22);
  }
}

@keyframes logoPacketFlicker {
  from {
    opacity: 0.48;
  }
  to {
    opacity: 1;
  }
}

@keyframes logoScanSweep {
  0% {
    opacity: 0;
    transform: translateY(-105%);
  }
  14% {
    opacity: 1;
  }
  72% {
    opacity: 0.82;
  }
  100% {
    opacity: 0;
    transform: translateY(105%);
  }
}

@keyframes logoCorePulse {
  0%,
  100% {
    opacity: 0.35;
    transform: translate(-50%, -50%) scale(0.82);
  }
  50% {
    opacity: 0.74;
    transform: translate(-50%, -50%) scale(1.03);
  }
}

@keyframes lineSweep {
  0%,
  100% {
    transform: translateX(-35%);
    opacity: 0.35;
  }
  50% {
    transform: translateX(35%);
    opacity: 1;
  }
}

@keyframes particleDrift {
  0% {
    transform: translate3d(-8px, -6px, 0) scale(0.82);
  }
  100% {
    transform: translate3d(10px, 8px, 0) scale(1.2);
  }
}

@keyframes heatPulse {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.28;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.54;
  }
}

@keyframes dashFlow {
  to {
    stroke-dashoffset: -60;
  }
}

@keyframes satellitePass {
  0% {
    transform: translateX(0) translateY(-70px) rotate(28deg);
    opacity: 0;
  }
  18%,
  78% {
    opacity: 1;
  }
  100% {
    transform: translateX(310%) translateY(170px) rotate(28deg);
    opacity: 0;
  }
}

@keyframes orbit {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes scan {
  0% {
    transform: translateY(-16px);
    opacity: 0;
  }
  14%,
  80% {
    opacity: 1;
  }
  100% {
    transform: translateY(650px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .login-logo-system,
  .login-logo-system img,
  .logo-trace,
  .logo-node,
  .logo-packet,
  .logo-scanline::before,
  .logo-core-pulse {
    animation: none;
  }

  .logo-circuit-overlay {
    opacity: 0.5;
  }
}

@media (max-width: 1240px) {
  .grid-4,
  .grid-3,
  .grid-2,
  .dashboard-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .home-intro {
    grid-template-columns: 1fr;
  }

  .home-features,
  .satellite-stack-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .module-tile {
    min-height: auto;
  }

  .module-layout {
    grid-template-columns: 1fr;
  }

  .map-stage {
    min-height: 560px;
  }

  .matrix-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .login-screen,
  .app-shell {
    grid-template-columns: 1fr;
  }

  .login-visual {
    min-height: 360px;
  }

  .login-panel h1,
  .view-heading h1 {
    font-size: 30px;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .nav-item {
    padding-left: 34px;
  }

  .topbar,
  .view-heading,
  .ecosystem-hero,
  .module-hero {
    align-items: stretch;
    flex-direction: column;
  }

  .module-logo-frame.large {
    width: min(520px, 100%);
    flex-basis: auto;
  }

  .topbar-actions,
  .heading-status {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .login-screen,
  .workspace {
    padding: 12px;
  }

  .nav-list,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .panel-header,
  .table-row,
  .metric-row {
    align-items: stretch;
    flex-direction: column;
  }

  .map-stage {
    min-height: 430px;
  }

  .home-features,
  .home-stats,
  .satellite-stack-grid,
  .module-grid,
  .module-capability-grid,
  .module-flow,
  .module-live-grid,
  .module-observatory-data,
  .module-report-columns {
    grid-template-columns: 1fr;
  }

  .module-hero h1 {
    font-size: 34px;
  }

  .real-map-stage {
    min-height: 410px;
  }

  .map-layer-dock {
    position: relative;
    left: auto;
    top: auto;
    padding: 10px;
  }

  .real-map-stage .map-layer-dock {
    position: absolute;
    left: auto;
    right: 10px;
    top: 10px;
    padding: 0;
  }

  .map-hud,
  .map-footer,
  .telemetry-strip {
    align-items: stretch;
    flex-direction: column;
  }

  .map-zone {
    min-width: 96px;
    max-width: 118px;
    min-height: 38px;
    padding: 6px 7px;
    font-size: 11px;
  }

  .map-zone small {
    display: none;
  }

  .factor-list div {
    grid-template-columns: 1fr;
  }

  .score-ring {
    width: 104px;
    height: 104px;
  }

  .score-ring span {
    width: 74px;
    height: 74px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

.modis-dock-pill {
  border-color: rgba(255, 107, 53, 0.55) !important;
  background: rgba(255, 107, 53, 0.12) !important;
}

.modis-fire-values-dock {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 10;
  width: min(260px, calc(100% - 24px));
  padding: 12px;
  border: 1px solid rgba(255, 107, 53, 0.38);
  border-radius: 12px;
  color: var(--text);
  background: linear-gradient(145deg, rgba(42, 10, 7, 0.88), rgba(3, 13, 15, 0.92));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42), 0 0 28px rgba(255, 47, 32, 0.12);
  backdrop-filter: blur(10px);
}

.modis-fire-values-dock p,
.modis-fire-values-dock strong,
.modis-fire-values-dock span,
.modis-fire-values-dock b,
.modis-fire-values-dock em {
  display: block;
}

.modis-fire-values-dock p {
  margin: 0 0 4px;
  color: #ffb199;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.modis-fire-values-dock strong {
  margin-bottom: 10px;
  color: #fff3ed;
  font-size: 16px;
}

.modis-fire-values-dock em {
  margin-top: 10px;
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.modis-fire-values-dock.is-empty {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(3, 13, 15, 0.88);
}

.modis-fire-mini-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  align-items: center;
  font-size: 11px;
}

.modis-fire-mini-grid span {
  color: var(--muted);
}

.modis-fire-mini-grid b {
  color: #ffe5d8;
  font-weight: 900;
  text-align: right;
}

.modis-fire-focus-marker {
  filter: drop-shadow(0 0 12px rgba(255, 47, 32, 0.75));
}

.modis-fire-value-label {
  pointer-events: none;
}

.modis-fire-value-label span,
.modis-fire-value-label b {
  display: block;
  width: max-content;
  padding: 2px 7px;
  border: 1px solid rgba(255, 107, 53, 0.42);
  color: #fff3ed;
  background: rgba(42, 10, 7, 0.88);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.36);
}

.modis-fire-value-label span {
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  color: #ffb199;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.modis-fire-value-label b {
  border-radius: 0 8px 8px 8px;
  font-size: 11px;
  font-weight: 900;
}

.modis-fire-popup {
  min-width: 230px;
}

.modis-fire-popup span {
  display: block;
  margin: 3px 0 8px;
}

.modis-fire-popup dl {
  display: grid;
  grid-template-columns: 78px 1fr;
  gap: 4px 8px;
  margin: 0;
}

.modis-fire-popup dt {
  color: #ffb199;
  font-weight: 900;
}

.modis-fire-popup dd {
  margin: 0;
  color: var(--text);
}

.modis-fire-values-dock.is-zone-only {
  border-color: rgba(255, 159, 69, 0.52);
  background: linear-gradient(145deg, rgba(56, 28, 5, 0.9), rgba(3, 13, 15, 0.92));
}

.modis-fire-zone-polygon {
  filter: drop-shadow(0 0 10px rgba(255, 159, 69, 0.28));
}

.modis-fire-zone-label {
  pointer-events: auto;
}

.modis-fire-zone-label span,
.modis-fire-zone-label b {
  display: block;
  width: max-content;
  max-width: 170px;
  margin: 0 auto;
  padding: 4px 8px;
  border: 1px solid rgba(255, 159, 69, 0.62);
  color: #fff3ed;
  text-align: center;
  background: rgba(42, 20, 4, 0.92);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 159, 69, 0.18);
}

.modis-fire-zone-label span {
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  color: #ffcf9f;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.modis-fire-zone-label b {
  border-radius: 0 0 10px 10px;
  font-size: 11px;
  font-weight: 900;
}

.modis-fire-zone-label.is-zero b {
  color: #ffd7a6;
}

.modis-fire-zone-label.has-hotspots span,
.modis-fire-zone-label.has-hotspots b {
  border-color: rgba(255, 47, 32, 0.66);
  background: rgba(52, 7, 5, 0.94);
}

/* MODIS fire area: independent visual block on Observatorio map */
.modis-fire-zone-polygon {
  filter: drop-shadow(0 0 16px rgba(51, 218, 255, 0.48)) drop-shadow(0 0 22px rgba(255, 138, 0, 0.35));
  stroke-linecap: round;
  stroke-linejoin: round;
}

.modis-fire-zone-polygon.is-zero {
  stroke-dasharray: 14 7;
}

.modis-fire-zone-trace {
  filter: drop-shadow(0 0 10px rgba(255, 207, 51, 0.55));
}

.modis-fire-area-card {
  width: 230px;
  padding: 9px 12px;
  border: 2px solid rgba(51, 218, 255, 0.85);
  border-radius: 16px;
  color: #fff8ec;
  text-align: center;
  background: linear-gradient(145deg, rgba(255, 102, 0, 0.9), rgba(47, 9, 5, 0.94));
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.48), 0 0 28px rgba(51, 218, 255, 0.34), inset 0 0 18px rgba(255, 207, 51, 0.2);
  backdrop-filter: blur(8px);
}

.modis-fire-area-card span,
.modis-fire-area-card b,
.modis-fire-area-card small {
  display: block;
}

.modis-fire-area-card span {
  color: #dff9ff;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.modis-fire-area-card b {
  margin-top: 2px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 1000;
}

.modis-fire-area-card small {
  margin-top: 3px;
  color: #ffe3b0;
  font-size: 11px;
  font-weight: 900;
}

.sar-lband-values-dock {
  position: absolute;
  left: 18px;
  bottom: 112px;
  width: min(300px, calc(100% - 36px));
  z-index: 760;
  padding: 13px 14px;
  border: 1px solid rgba(167, 139, 255, 0.52);
  border-radius: 16px;
  background: rgba(8, 9, 22, 0.86);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.36), inset 0 0 28px rgba(124, 77, 255, 0.14);
  backdrop-filter: blur(10px);
}

.sar-lband-values-dock p,
.sar-lband-values-dock strong,
.sar-lband-values-dock span,
.sar-lband-values-dock b,
.sar-lband-values-dock em {
  position: relative;
  z-index: 1;
}

.sar-lband-values-dock p {
  margin: 0 0 4px;
  color: #d8c7ff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.sar-lband-values-dock strong {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-size: 0.98rem;
}

.sar-lband-values-dock em {
  display: block;
  margin-top: 8px;
  color: rgba(238, 232, 255, 0.76);
  font-size: 0.72rem;
  line-height: 1.35;
}

.sar-lband-mini-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5px 10px;
  font-size: 0.74rem;
}

.sar-lband-mini-grid span {
  color: rgba(238, 232, 255, 0.68);
}

.sar-lband-mini-grid b {
  color: #d8c7ff;
  text-align: right;
}

.sar-lband-zone-polygon,
.sar-lband-scene-footprint {
  filter: drop-shadow(0 0 10px rgba(167, 139, 255, 0.5));
}

.sar-lband-zone-label,
.sar-lband-zone-label span,
.sar-lband-zone-label b,
.sar-lband-zone-label small {
  pointer-events: auto;
}

.sar-lband-area-card {
  display: grid;
  place-items: center;
  min-width: 208px;
  min-height: 66px;
  padding: 8px 12px;
  border: 2px solid rgba(216, 199, 255, 0.9);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(50, 31, 112, 0.92), rgba(10, 12, 28, 0.88));
  color: #fff;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.36), inset 0 0 26px rgba(167, 139, 255, 0.24);
}

.sar-lband-area-card span {
  color: #d8c7ff;
  font-size: 0.72rem;
  font-weight: 1000;
  letter-spacing: 0.08em;
}

.sar-lband-area-card b {
  color: #fff;
  font-size: 1.05rem;
}

.sar-lband-area-card small {
  color: rgba(238, 232, 255, 0.78);
  font-size: 0.68rem;
  font-weight: 800;
}

.sar-lband-popup {
  min-width: 230px;
  color: #f5f0ff;
}

.sar-lband-popup span {
  display: block;
  margin: 4px 0 8px;
  color: rgba(238, 232, 255, 0.74);
  font-size: 0.78rem;
}

.sar-lband-popup dl {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 4px 10px;
  margin: 0;
}

.sar-lband-popup dt {
  color: #d8c7ff;
  font-weight: 900;
}

.sar-lband-popup dd {
  margin: 0;
  color: #fff;
  font-weight: 800;
}

.sar-dock-pill {
  border-color: rgba(167, 139, 255, 0.55) !important;
  background: rgba(124, 77, 255, 0.18) !important;
}

.real-values-only .score-ring span {
  font-size: 1.7rem;
}

.real-zone-data {
  margin-top: 1rem;
  border: 1px solid rgba(51, 218, 255, 0.22);
  border-radius: 14px;
  padding: 0.85rem;
  background: rgba(2, 16, 20, 0.72);
}

.real-zone-data.pending {
  border-color: rgba(255, 209, 102, 0.36);
}

.real-zone-data.has-fire {
  border-color: rgba(255, 93, 82, 0.66);
  box-shadow: 0 0 28px rgba(255, 93, 82, 0.1);
}

.real-zone-status {
  display: grid;
  gap: 0.2rem;
  margin-bottom: 0.7rem;
}

.real-zone-status strong {
  color: #ffffff;
}

.real-zone-status span,
.real-zone-note {
  color: var(--muted);
  font-size: 0.82rem;
}

.real-zone-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.38rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.real-zone-row span {
  color: #b7cbd0;
}

.real-zone-row b {
  color: #ffffff;
  text-align: right;
}

.satellite-compact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.satellite-compact-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 0.72rem;
  background: rgba(255, 255, 255, 0.035);
}

.satellite-compact-card > strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #ffffff;
}

.satellite-compact-card.thermal {
  border-color: rgba(255, 122, 70, 0.34);
}

.satellite-compact-card.sar {
  border-color: rgba(167, 139, 255, 0.36);
}

.compact-satellite-zone .real-zone-row b {
  max-width: 58%;
}

@media (max-width: 760px) {
  .satellite-compact-grid {
    grid-template-columns: 1fr;
  }
}

.zone-real-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.satellite-compact-card > small {
  display: block;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.2;
  margin: -0.12rem 0 0.45rem;
}

.satellite-compact-card.territorial {
  border-color: rgba(51, 218, 255, 0.38);
}

.satellite-compact-card.territorial .real-zone-row b {
  color: #dffcff;
}

.source-attribution {
  margin-top: 0.65rem;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.14);
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.source-attribution span,
.source-attribution small {
  display: block;
}

.source-attribution.full {
  display: grid;
  gap: 0.22rem;
}

.blue-reading-card {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.85rem;
  padding: 0.82rem;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 8px;
  background: rgba(2, 16, 28, 0.78);
}

.blue-reading-card.is-real {
  border-color: rgba(52, 211, 153, 0.45);
}

.blue-reading-card.has-error {
  border-color: rgba(255, 209, 102, 0.42);
}

.blue-reading-card span,
.blue-reading-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.blue-reading-card b {
  color: #ffffff;
  font-size: 0.92rem;
}

.blue-reading-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.42rem;
}

.blue-reading-grid small {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.42rem 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: #a9bfcb;
}

.blue-reading-grid strong {
  color: #e7fbff;
  text-align: right;
}

.data-governance-panel {
  margin-top: 1rem;
}

.governance-summary {
  color: var(--muted);
  margin: 0 0 1rem;
  line-height: 1.55;
}

.source-governance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.source-governance-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 12px;
  padding: 0.78rem;
  background: rgba(255, 255, 255, 0.035);
  display: grid;
  gap: 0.28rem;
}

.source-governance-card strong {
  color: #ffffff;
  font-size: 0.9rem;
}

.source-governance-card span,
.source-governance-card small {
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.35;
}

@media (max-width: 980px) {
  .source-governance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .source-governance-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .value-pillar-grid,
  .blue-source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blue-dashboard-layout,
  .module-command-layout,
  .blue-fishing-flow {
    grid-template-columns: 1fr;
  }

  .blue-signal-strip > div {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .blue-prediction-grid {
    grid-template-columns: 1fr;
  }

  .module-command-map .leaflet-map {
    min-height: 430px;
  }

  .blue-fishing-flow ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .blue-observatory-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .value-pillar-grid,
  .value-example,
  .blue-source-grid,
  .blue-automation-grid {
    grid-template-columns: 1fr;
  }

  .blue-map-stage {
    min-height: 430px;
  }

  .blue-signal-strip > div,
  .blue-fishing-flow ol {
    grid-template-columns: 1fr;
  }

  .blue-health-console,
  .module-command-score,
  .module-command-rail,
  .blue-action-rail {
    padding: 12px;
  }

  .blue-zone-dot {
    width: 36px;
    height: 36px;
  }
}
