@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=Rajdhani:wght@500;600;700&display=swap");

:root {
  --bg: #07111d;
  --bg-soft: #0d1a2b;
  --panel: rgba(7, 17, 29, 0.78);
  --panel-strong: rgba(7, 17, 29, 0.92);
  --panel-edge: rgba(102, 220, 255, 0.18);
  --panel-edge-strong: rgba(102, 220, 255, 0.38);
  --text: #edf8ff;
  --text-soft: #98b7cc;
  --text-dim: #6d8598;
  --accent: #7af7ff;
  --accent-soft: rgba(122, 247, 255, 0.14);
  --alert: #ff9358;
  --alert-soft: rgba(255, 147, 88, 0.16);
  --ok: #8effb7;
  --warn: #ffd35f;
  --danger: #ff6961;
  --shadow: 0 26px 60px rgba(0, 0, 0, 0.34);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max: 1680px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  background: #07111d;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 12%, rgba(40, 162, 207, 0.18), transparent 24rem),
    radial-gradient(circle at 82% 8%, rgba(255, 147, 88, 0.12), transparent 18rem),
    linear-gradient(180deg, #050d16 0%, #09111e 52%, #07111d 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(122, 247, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 247, 255, 0.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent 92%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 8%, transparent 92%, rgba(255, 255, 255, 0.02));
  opacity: 0.5;
}

a {
  color: inherit;
}

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  width: min(calc(100% - 1.8rem), var(--max));
  margin: 0 auto;
  padding: 1rem 0 2rem;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  margin-bottom: 1.2rem;
  padding: 0;
  border-radius: calc(var(--radius-xl) + 6px);
  border: 1px solid rgba(122, 247, 255, 0.22);
  background:
    linear-gradient(180deg, rgba(5, 12, 22, 0.97) 0%, rgba(7, 17, 29, 0.94) 100%);
  backdrop-filter: blur(24px);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(122, 247, 255, 0.06) inset,
    0 1px 0 rgba(122, 247, 255, 0.15) inset;
  overflow: hidden;
}

/* Świecąca linia u góry topbara */
.topbar::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(122, 247, 255, 0.6) 20%,
    rgba(122, 247, 255, 1) 50%,
    rgba(122, 247, 255, 0.6) 80%,
    transparent 100%);
  box-shadow: 0 0 12px rgba(122, 247, 255, 0.5);
  pointer-events: none;
}

/* Linia oddzielająca górną i dolną belkę */
.topbar-threat-row {
  border-top: 1px solid rgba(122, 247, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.55rem 1.4rem;
  background: rgba(0, 0, 0, 0.12);
}

.threat-meta-block {
  flex-shrink: 0;
}

.threat-meta-source {
  color: var(--text-dim);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: "Rajdhani", sans-serif;
}

/* ═══ GÓRNA BELKA HUD ═══ */
.topbar-hud-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.4rem;
  flex-wrap: wrap;
}

/* BRAND — logo + tekst */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-wrap {
  position: relative;
  width: 62px;
  height: 62px;
  flex-shrink: 0;
}

.brand-logo-wrap img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  filter:
    drop-shadow(0 0 14px rgba(255, 100, 50, 0.45))
    drop-shadow(0 0 28px rgba(122, 247, 255, 0.18));
  transition: filter 300ms ease;
}

.brand:hover .brand-logo-wrap img {
  filter:
    drop-shadow(0 0 20px rgba(255, 120, 60, 0.7))
    drop-shadow(0 0 40px rgba(122, 247, 255, 0.3));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand strong,
.tab-link,
.monitor-head h1,
.monitor-head h2,
.section-headline h3,
.summary-card h2,
.detail-summary h1,
.detail-card h2,
.detail-card h3,
.info-card h2,
.report-card h3 {
  font-family: "Rajdhani", sans-serif;
}

.brand strong {
  display: block;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #edf8ff;
  line-height: 1;
  /* subtelna poświata pod tekstem */
  text-shadow: 0 0 20px rgba(122, 247, 255, 0.25);
}

.brand-copy > span {
  display: block;
  color: var(--accent);
  font-size: 0.7rem;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ═══ HUD STATUS STRIP ═══ */
.hud-status-strip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1;
  justify-content: center;
  padding: 0 0.5rem;
  flex-wrap: wrap;
}

.hud-status-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "Rajdhani", sans-serif;
}

.hud-status-item > div {
  display: flex;
  flex-direction: column;
  gap: 0;
  line-height: 1;
}

.hud-label {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.2;
  opacity: 0.7;
}

.hud-status-item strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #edf8ff;
  line-height: 1.1;
}

.hud-clock-date,
.hud-clock-time {
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #edf8ff;
}

.hud-divider {
  width: 1px;
  height: 28px;
  background: linear-gradient(180deg, transparent, rgba(122, 247, 255, 0.25), transparent);
  flex-shrink: 0;
  margin: 0 0.2rem;
}

.hud-pipe {
  color: rgba(122, 247, 255, 0.3);
  font-size: 1.1rem;
  font-family: "Rajdhani", sans-serif;
  margin: 0 0.1rem;
}

/* Pulsujące kropki statusu */
.hud-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hud-dot-ok {
  background: var(--ok);
  box-shadow: 0 0 8px var(--ok);
  animation: hudPulseGreen 2.4s ease-in-out infinite;
}

.hud-dot-live {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: hudPulseCyan 1.8s ease-in-out infinite;
}

@keyframes hudPulseGreen {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--ok); }
  50% { opacity: 0.5; box-shadow: 0 0 14px var(--ok); }
}

@keyframes hudPulseCyan {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--accent); }
  50% { opacity: 0.6; box-shadow: 0 0 16px var(--accent); }
}

.hud-status-secured strong {
  color: var(--ok);
}

/* ═══ TAB NAV ═══ */
.tab-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-shrink: 0;
}

.tab-link {
  appearance: none;
  border: 1px solid rgba(122, 247, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  border-radius: 6px;
  padding: 0.55rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease, background 160ms ease, box-shadow 160ms ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.report-nav-link {
  border-color: rgba(255, 103, 82, 0.5);
  background: linear-gradient(180deg, rgba(255, 103, 82, 0.18), rgba(255, 103, 82, 0.06));
  color: #ff9a8a;
}

.report-nav-link:hover {
  background: linear-gradient(180deg, rgba(255, 103, 82, 0.28), rgba(255, 103, 82, 0.12));
  border-color: rgba(255, 103, 82, 0.75);
  color: #fff;
}

.tab-link:hover,
.tab-link.is-active {
  color: var(--text);
  border-color: rgba(122, 247, 255, 0.45);
  background: linear-gradient(180deg, rgba(122, 247, 255, 0.12), rgba(122, 247, 255, 0.05));
  box-shadow: 0 0 12px rgba(122, 247, 255, 0.08), 0 4px 16px rgba(8, 32, 54, 0.3);
}

.tab-link:hover {
  transform: translateY(-1px);
}

/* Usuń stare klasy status-bar i status-chip — zachowane dla innych plików */
.brand-bar,
.status-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-bar {
  justify-content: space-between;
}

.status-bar {
  margin-top: 0.9rem;
  flex-wrap: wrap;
}

.status-chip {
  display: grid;
  gap: 0.18rem;
  min-width: 14rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(122, 247, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.status-label,
.kicker {
  color: var(--accent);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.status-chip strong {
  font-size: 1.04rem;
}

.status-chip small {
  color: var(--text-dim);
}

.main-shell {
  display: grid;
  gap: 1.2rem;
}

.tab-panel {
  display: none;
}

.tab-panel.is-active {
  display: block;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.56fr 0.92fr;
  gap: 1rem;
  align-items: start;
}

.monitor,
.summary-card,
.detail-summary,
.detail-card,
.info-card,
.report-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--panel-edge);
  background:
    linear-gradient(180deg, rgba(9, 21, 34, 0.95), rgba(7, 17, 29, 0.88)),
    var(--panel);
  box-shadow: var(--shadow);
}

.monitor::before,
.summary-card::before,
.detail-summary::before,
.detail-card::before,
.info-card::before,
.report-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(122, 247, 255, 0.08), transparent 22%, transparent 78%, rgba(122, 247, 255, 0.08));
  opacity: 0.9;
}

.monitor {
  min-height: 46rem;
  padding: 1.25rem;
}

.monitor-center {
  min-height: 48rem;
}

.monitor-head,
.section-headline {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
}

.monitor-head h1,
.monitor-head h2,
.section-headline h3 {
  margin: 0.25rem 0 0;
  letter-spacing: 0.04em;
}

.monitor-head h1 {
  font-size: clamp(2.2rem, 3vw, 3.6rem);
}

.monitor-head h2 {
  font-size: 2rem;
}

.monitor-note,
.monitor-copy,
.summary-card p,
.detail-copy,
.detail-card p,
.info-card p,
.report-card p,
.detail-sidebar .metric-note {
  color: var(--text-soft);
  line-height: 1.7;
}

.monitor-dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--warn);
  box-shadow: 0 0 20px rgba(255, 211, 95, 0.45);
}

.monitor-dot.live {
  background: var(--ok);
  box-shadow: 0 0 20px rgba(142, 255, 183, 0.55);
}

.market-board {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.market-card {
  position: relative;
  padding: 1rem 1rem 1.05rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(122, 247, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.market-card::after {
  content: "";
  position: absolute;
  inset: auto 1rem 0.85rem 1rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(122, 247, 255, 0), rgba(122, 247, 255, 0.25), rgba(122, 247, 255, 0));
}

.market-top,
.metric-row,
.conflict-strip .conflict-tag,
.detail-metrics .metric-tile-top,
.report-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.market-top strong,
.detail-metrics strong {
  font-size: 1.2rem;
  letter-spacing: 0.02em;
}

.market-symbol,
.detail-meta,
.report-meta,
.polonusi-meta {
  color: var(--text-dim);
  font-size: 0.88rem;
}

.market-price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin-top: 0.8rem;
}

.market-price span {
  font-size: 1.9rem;
  font-weight: 700;
}

.market-price small {
  color: var(--text-soft);
}

.delta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.delta::before {
  font-size: 0.9rem;
}

.delta.up {
  color: var(--ok);
}

.delta.up::before {
  content: "▲";
}

.delta.down {
  color: var(--danger);
}

.delta.down::before {
  content: "▼";
}

.delta.flat {
  color: var(--warn);
}

.delta.flat::before {
  content: "■";
}

.inset-card {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(122, 247, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.poland-map-wrap {
  margin-top: 1rem;
  padding: 0.8rem;
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 50% 35%, rgba(122, 247, 255, 0.12), transparent 50%),
    rgba(6, 14, 24, 0.72);
  border: 1px solid rgba(122, 247, 255, 0.1);
}

.poland-map {
  width: 100%;
  height: auto;
}

.poland-map path:first-of-type {
  fill: rgba(88, 158, 195, 0.16);
  stroke: rgba(122, 247, 255, 0.52);
  stroke-width: 4;
}

.poland-map .vistula-line {
  fill: none;
  stroke: var(--alert);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 10 9;
}

.poland-map .city {
  fill: var(--accent);
}

.poland-map text {
  fill: var(--text-soft);
  font-size: 15px;
  font-family: "IBM Plex Sans", sans-serif;
}

.map-shell {
  position: relative;
  margin-top: 1.15rem;
  display: grid;
  gap: 1rem;
}

.map-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-soft);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}

.world-map-stage {
  position: relative;
  min-height: 38rem;
  border-radius: calc(var(--radius-xl) - 4px);
  border: 1px solid rgba(122, 247, 255, 0.16);
  overflow: hidden;
  background:
    radial-gradient(circle at 52% 44%, rgba(52, 182, 214, 0.12), transparent 44%),
    linear-gradient(180deg, rgba(7, 18, 30, 0.98), rgba(4, 10, 18, 0.99));
}

.world-map-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(circle at center, transparent 0%, rgba(5, 13, 23, 0.34) 100%);
}

.world-map-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  opacity: 0.55;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 1px,
    rgba(122, 247, 255, 0.03) 2px,
    transparent 3px
  );
  background-size: 100% 4px;
}

.world-map-container {
  position: relative;
  min-height: 38rem;
  background:
    radial-gradient(circle at 50% 36%, rgba(103, 211, 255, 0.14), transparent 35%),
    linear-gradient(180deg, #1d4468, #10263b 58%, #0a1522);
  isolation: isolate;
}

.strategic-map {
  width: 100%;
  min-height: 38rem;
}

.strategic-map .jvm-container {
  background: transparent !important;
}

.strategic-map .jvm-zoom-btn {
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(122, 247, 255, 0.18);
  border-radius: 999px;
  background: rgba(7, 17, 29, 0.78);
  color: var(--text);
  font: 600 1.1rem/2rem "Rajdhani", sans-serif;
  backdrop-filter: blur(10px);
  transition: border-color 0.18s ease, background 0.18s ease;
}

.strategic-map .jvm-zoom-btn:hover {
  border-color: rgba(122, 247, 255, 0.42);
  background: rgba(10, 24, 38, 0.88);
}

.world-map .jvm-region {
  transition: fill 0.18s ease, stroke 0.18s ease;
}

.world-map .jvm-region:hover {
  fill: #3f9a76 !important;
}

.world-map .conflict-map-layer {
  pointer-events: none;
}

.world-map .nato-map-layer { pointer-events: none; }

.map-layer-toggle {
  border: 1px solid rgba(108, 181, 255, 0.36); border-radius: 999px;
  background: rgba(8, 27, 49, 0.68); color: rgba(221, 239, 255, 0.78);
  font: 700 0.72rem/1 "Rajdhani", sans-serif; letter-spacing: 0.08em;
  padding: 0.52rem 0.72rem; cursor: pointer;
}
.map-layer-toggle.is-active { background: rgba(39, 126, 208, 0.28); border-color: rgba(126, 194, 255, 0.86); color: #eff8ff; box-shadow: 0 0 14px rgba(69, 156, 240, 0.24); }

.world-map .nato-map-layer .nato-frame { fill: rgba(42, 117, 192, 0.82); stroke: #d9efff; stroke-width: 1.4; filter: drop-shadow(0 0 7px rgba(104, 190, 255, 0.45)); }
.world-map .nato-map-layer .nato-icon { fill: none; stroke: #f3fbff; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.world-map .nato-map-layer .nato-echelon, .world-map .nato-map-layer .nato-label, .world-map .nato-map-layer .nato-legend { fill: #e7f5ff; font-family: "Rajdhani", sans-serif; font-weight: 700; letter-spacing: 0.065em; paint-order: stroke; stroke: #03101d; stroke-width: 4; stroke-linejoin: round; }
.world-map .nato-map-layer .nato-echelon { font-size: 10px; }
.world-map .nato-map-layer .nato-label { font-size: 12px; }
.world-map .nato-map-layer .nato-legend { font-size: 11px; fill: rgba(203, 232, 255, 0.86); }
.world-map[data-map-mode="world"] .nato-map-layer .nato-label { font-size: 10px; }
.world-map[data-map-mode="europe"] .nato-map-layer .nato-label { font-size: 11px; }
.world-map[data-map-mode="europe"] .nato-map-layer .nato-frame { fill: rgba(34, 128, 190, 0.9); }

.world-map .calibration-map-layer {
  pointer-events: none;
}

.world-map .calibration-map-layer .calibration-line {
  fill: none;
  stroke-width: 1.6;
  opacity: 0.72;
  filter: drop-shadow(0 0 10px rgba(122, 247, 255, 0.12));
}

.world-map .calibration-map-layer .calibration-line.equator {
  stroke: rgba(122, 247, 255, 0.82);
  stroke-dasharray: 10 8;
}

.world-map .calibration-map-layer .calibration-line.prime-meridian {
  stroke: rgba(255, 211, 95, 0.78);
  stroke-dasharray: 7 7;
}

.world-map .calibration-map-layer .calibration-line.europe-latitude,
.world-map .calibration-map-layer .calibration-line.europe-longitude {
  stroke: rgba(102, 224, 255, 0.5);
  stroke-dasharray: 5 8;
  stroke-width: 1.2;
}

.world-map .calibration-map-layer .calibration-origin {
  fill: #f8fbff;
  stroke: #041018;
  stroke-width: 2;
}

.world-map .calibration-map-layer .calibration-label {
  fill: rgba(226, 240, 255, 0.88);
  font-family: "Rajdhani", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  paint-order: stroke;
  stroke: #041018;
  stroke-width: 4;
  stroke-linejoin: round;
}

.world-map .calibration-map-layer .calibration-label.meridian {
  fill: rgba(255, 226, 126, 0.92);
}

.world-map .conflict-map-layer .conflict-marker {
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.world-map .conflict-map-layer .conflict-marker.is-muted {
  opacity: 0.18;
  filter: grayscale(1);
}

.world-map .conflict-map-layer .conflict-marker .zone {
  fill: none;
  stroke-width: 2;
  opacity: 0.8;
  animation: map-zone-pulse 3s infinite ease-in-out;
}

.world-map .conflict-map-layer .conflict-marker .pin-dot {
  fill: rgba(6, 17, 27, 0.88);
  stroke-width: 3;
  filter: drop-shadow(0 0 12px rgba(122, 247, 255, 0.22));
}

.world-map .conflict-map-layer .conflict-marker text {
  fill: var(--text);
  font-family: "Rajdhani", sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  paint-order: stroke;
  stroke: #041018;
  stroke-width: 4;
  stroke-linejoin: round;
}

.world-map .conflict-map-layer .conflict-marker.is-focused text {
  fill: var(--accent);
}

.world-map .conflict-map-layer .conflict-marker.is-focused .pin-dot {
  stroke-width: 3.4;
}

.map-empty-state {
  display: grid;
  place-items: center;
  min-height: 38rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.conflict-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.conflict-tag {
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(122, 247, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
}

.conflict-tag strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
}

.conflict-tag button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.conflict-tag.is-active {
  border-color: var(--panel-edge-strong);
  background: linear-gradient(180deg, rgba(122, 247, 255, 0.12), rgba(122, 247, 255, 0.05));
}

.news-feature {
  margin-top: 1.2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(122, 247, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.news-image {
  min-height: 15rem;
  background-position: center;
  background-size: cover;
}

.news-image-fallback {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 147, 88, 0.38), transparent 32%),
    radial-gradient(circle at 70% 35%, rgba(122, 247, 255, 0.22), transparent 36%),
    linear-gradient(135deg, #0d1d31, #07111d);
}

.news-feature-copy {
  padding: 1rem;
}

.news-feature-copy h3 {
  margin: 0.35rem 0 0.45rem;
  font-size: 1.6rem;
  line-height: 1.05;
}

.newsletter-roll {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
  max-height: 25.5rem;
  overflow: auto;
  padding-right: 0.35rem;
}

.newsletter-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 0.8rem;
  padding: 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(122, 247, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.newsletter-item:hover,
.newsletter-item.is-featured {
  border-color: rgba(122, 247, 255, 0.32);
  transform: translateY(-1px);
  background: rgba(122, 247, 255, 0.06);
}

.newsletter-time {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.newsletter-title {
  display: block;
  margin-top: 0.2rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text);
}

.newsletter-copy {
  margin-top: 0.35rem;
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.5;
}

.newsletter-source {
  color: var(--text-dim);
  font-size: 0.82rem;
  margin-top: 0.35rem;
}

.summary-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.summary-card {
  padding: 1.15rem 1.2rem;
}

.summary-card h2 {
  margin: 0.35rem 0 0.6rem;
  font-size: 2rem;
}

.detail-layout {
  display: grid;
  gap: 1rem;
}

.detail-summary {
  padding: 1.3rem;
}

.detail-summary h1 {
  margin: 0.35rem 0 0.6rem;
  font-size: clamp(2.2rem, 3vw, 3.2rem);
}

.detail-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(122, 247, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-soft);
  font-size: 0.88rem;
}

.chip.level-critical {
  border-color: rgba(255, 105, 97, 0.4);
  color: #ffd7d4;
  background: rgba(255, 105, 97, 0.12);
}

.chip.level-high {
  border-color: rgba(255, 147, 88, 0.36);
  color: #ffe2cf;
  background: rgba(255, 147, 88, 0.12);
}

.chip.level-watch {
  border-color: rgba(255, 211, 95, 0.34);
  color: #ffefbf;
  background: rgba(255, 211, 95, 0.12);
}

.detail-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.2rem;
}

.metric-tile {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(122, 247, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
}

.metric-tile strong {
  display: block;
  font-size: 1.7rem;
  margin-top: 0.35rem;
}

.metric-note {
  color: var(--text-dim);
  font-size: 0.88rem;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1rem;
}

.detail-card {
  padding: 1.2rem;
}

.detail-card h2,
.detail-card h3 {
  margin: 0.2rem 0 0.75rem;
  font-size: 1.8rem;
}

.headline-list {
  display: grid;
  gap: 0.85rem;
}

.headline-item {
  padding: 0.95rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(122, 247, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.headline-item strong {
  display: block;
  line-height: 1.45;
}

.headline-item p {
  margin: 0.45rem 0 0;
}

.headline-item a {
  text-decoration: none;
}

.headline-item a:hover strong {
  color: var(--accent);
}

.timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.45rem;
  color: var(--text-dim);
  font-size: 0.84rem;
}

.watch-list {
  margin: 0;
  padding-left: 1rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.watch-list li + li {
  margin-top: 0.55rem;
}

.info-card {
  padding: 1.3rem;
}

.info-card h2 {
  margin: 0.35rem 0 1rem;
  font-size: 2.3rem;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1rem;
}

.support-goals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 1rem 0;
}

.support-goal {
  min-width: 0;
  padding: 1rem;
  border: 1px solid rgba(122, 247, 255, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(31, 88, 110, 0.2), rgba(255, 255, 255, 0.025));
}

.support-goal-icon {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(122, 247, 255, 0.23);
  border-radius: 0.8rem;
  background: rgba(122, 247, 255, 0.08);
  color: var(--accent);
}

.support-goal-icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.support-goal h3 {
  margin: 0 0 0.4rem;
  font: 700 1.35rem/1.1 "Rajdhani", sans-serif;
}

.support-goal p { margin: 0; font-size: 0.92rem; }

.info-block {
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(122, 247, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.info-block h3 {
  margin: 0.15rem 0 0.7rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.55rem;
}

.info-block ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.info-block li + li {
  margin-top: 0.5rem;
}

.about-card p {
  color: var(--text-soft);
  line-height: 1.75;
}

.support-card {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(122, 247, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.support-link:hover {
  border-color: rgba(122, 247, 255, 0.38);
  transform: translateY(-1px);
  text-decoration: none;
}

.support-link.is-primary {
  border-color: rgba(255, 147, 88, 0.24);
  background: linear-gradient(135deg, rgba(244, 91, 32, 0.2), rgba(255, 147, 88, 0.08));
  color: #ffe0cf;
}

.about-note {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(122, 247, 255, 0.14);
  background: rgba(122, 247, 255, 0.06);
  color: var(--text-soft);
  line-height: 1.7;
}

.polonusi-warning {
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 147, 88, 0.22);
  background: rgba(255, 147, 88, 0.08);
  color: #ffd7c4;
}

@media (max-width: 720px) {
  .support-goals { grid-template-columns: 1fr; }
}

.report-feed {
  display: grid;
  gap: 1rem;
}

.report-card {
  padding: 1rem;
}

.report-card h3 {
  margin: 0.35rem 0 0.55rem;
  font-size: 1.7rem;
}

.report-card a {
  text-decoration: none;
}

.report-card a:hover h3 {
  color: var(--accent);
}

.empty-state {
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(122, 247, 255, 0.2);
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}

::-webkit-scrollbar-thumb {
  background: rgba(122, 247, 255, 0.22);
  border-radius: 999px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

@keyframes pulse {
  0% {
    opacity: 0.25;
    transform: scale(0.92);
  }

  50% {
    opacity: 0.92;
    transform: scale(1.08);
  }

  100% {
    opacity: 0.25;
    transform: scale(0.92);
  }
}

@keyframes map-zone-pulse {
  0% {
    opacity: 0.38;
  }

  50% {
    opacity: 0.92;
  }

  100% {
    opacity: 0.38;
  }
}

@media (max-width: 1320px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .monitor,
  .monitor-center {
    min-height: auto;
  }

  .summary-grid,
  .detail-grid,
  .info-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .brand-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .tab-nav {
    justify-content: flex-start;
  }

  .detail-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 1rem), var(--max));
  }

  .topbar,
  .monitor,
  .summary-card,
  .detail-summary,
  .detail-card,
  .info-card,
  .report-card {
    border-radius: 20px;
  }

  .status-chip {
    min-width: 0;
    width: 100%;
  }

  .detail-metrics {
    grid-template-columns: 1fr;
  }

  .newsletter-item {
    grid-template-columns: 1fr;
  }

  .map-overlay {
    position: static;
    flex-direction: column;
    padding: 0 0.2rem;
  }

  .world-map-stage,
  .world-map-container,
  .strategic-map,
  .map-empty-state {
    min-height: 24rem;
  }

  .monitor-head h1 {
    font-size: 2rem;
  }

  .monitor-head h2,
  .summary-card h2,
  .detail-card h2,
  .detail-card h3,
  .info-card h2 {
    font-size: 1.65rem;
  }
}

/* Control room v3: risk scale, mobile monitor switcher and forces report */

.threat-status {
  flex: 1 1 34rem;
  display: grid;
  grid-template-columns: minmax(14rem, 0.78fr) minmax(24rem, 1.22fr);
  gap: 0.35rem 0.9rem;
  min-width: 0;
  padding: 0.55rem 0.72rem;
  border: 1px solid rgba(255, 147, 88, 0.26);
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(255, 211, 95, 0.08), rgba(255, 105, 97, 0.08)),
    rgba(255, 255, 255, 0.025);
}

.threat-status-copy {
  display: grid;
  align-content: center;
  gap: 0.08rem;
}

.threat-status-copy strong {
  display: flex;
  align-items: baseline;
  gap: 0.38rem;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.94rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.threat-status-copy strong b {
  color: #ffd35f;
  font-size: 1.48rem;
  line-height: 1;
}

.threat-status-copy strong span {
  margin-left: -0.3rem;
  color: var(--text-dim);
  font-size: 0.76rem;
}

.threat-status-copy small {
  color: var(--text-dim);
  font-size: 0.65rem;
}

.threat-scale {
  display: grid;
  grid-template-columns: repeat(10, minmax(1.35rem, 1fr));
  align-items: stretch;
  gap: 0.2rem;
}

.threat-scale span {
  display: grid;
  place-items: center;
  min-height: 2.2rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(237, 248, 255, 0.44);
  font: 700 0.72rem "Rajdhani", sans-serif;
}

.threat-scale span:nth-child(1),
.threat-scale span:nth-child(2) { --threat-color: #6de79a; }
.threat-scale span:nth-child(3),
.threat-scale span:nth-child(4) { --threat-color: #b9df72; }
.threat-scale span:nth-child(5),
.threat-scale span:nth-child(6) { --threat-color: #ffd35f; }
.threat-scale span:nth-child(7),
.threat-scale span:nth-child(8) { --threat-color: #ff9358; }
.threat-scale span:nth-child(9),
.threat-scale span:nth-child(10) { --threat-color: #ff514c; }

.threat-scale span.is-filled {
  border-color: color-mix(in srgb, var(--threat-color) 62%, transparent);
  background: color-mix(in srgb, var(--threat-color) 24%, transparent);
  color: var(--text);
}

.threat-scale span.is-current {
  box-shadow: 0 0 0 2px rgba(255, 211, 95, 0.34), 0 0 18px rgba(255, 211, 95, 0.26);
}

.threat-legend {
  grid-column: 2;
  display: flex;
  justify-content: space-between;
  color: var(--text-dim);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-console-nav {
  display: none;
}

.forces-report,
.report-archive-card {
  margin-bottom: 1rem;
}

.report-inline-hidden {
  display: none;
}

.standalone-report {
  display: block;
  padding-top: 0;
}

.standalone-report-page .shell {
  max-width: 1440px;
}

.report-topbar {
  align-items: center;
}

.report-command-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
}

.report-command-header p {
  max-width: 72rem;
  color: var(--text-soft);
}

.report-readiness {
  display: grid;
  gap: 0.15rem;
  min-width: 13rem;
  padding: 0.75rem;
  border: 1px solid rgba(255, 211, 95, 0.24);
  border-radius: 14px;
  background: rgba(255, 211, 95, 0.06);
}

.report-readiness span,
.report-kpi-grid span {
  color: var(--text-dim);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.report-readiness strong {
  color: var(--warn);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.1rem;
}

.report-readiness small {
  color: var(--text-soft);
}

.report-kpi-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
  margin: 1rem 0;
}

.report-kpi-grid > div {
  display: grid;
  gap: 0.2rem;
  padding: 0.72rem;
  border: 1px solid rgba(122, 247, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.report-kpi-grid strong {
  font: 700 1.35rem "Rajdhani", sans-serif;
}

.report-kpi-grid small {
  color: var(--text-dim);
}

.report-domain-tabs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.report-domain-tabs button,
.mobile-console-nav button {
  appearance: none;
  border: 1px solid rgba(122, 247, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: var(--text-soft);
  cursor: pointer;
  font: 700 0.72rem "Rajdhani", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.report-domain-tabs button {
  padding: 0.48rem 0.72rem;
}

.report-domain-tabs button.is-active,
.mobile-console-nav button.is-active {
  border-color: rgba(122, 247, 255, 0.42);
  background: rgba(122, 247, 255, 0.13);
  color: var(--text);
}

.forces-table-shell {
  position: relative;
  z-index: 1;
  overflow: auto;
  border: 1px solid rgba(122, 247, 255, 0.12);
  border-radius: 16px;
}

.forces-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.forces-table th,
.forces-table td {
  padding: 0.7rem 0.72rem;
  border-bottom: 1px solid rgba(122, 247, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.forces-table th {
  position: sticky;
  top: 0;
  background: #0d1a28;
  color: var(--accent);
  font: 700 0.66rem "Rajdhani", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.forces-table tbody tr:hover {
  background: rgba(122, 247, 255, 0.035);
}

.forces-table td:first-child {
  min-width: 13rem;
}

.forces-table td strong {
  display: block;
  margin-top: 0.18rem;
  color: var(--text);
}

.forces-domain {
  color: var(--accent);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.confidence {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.22rem 0.42rem;
  font-size: 0.63rem;
  font-weight: 800;
  text-transform: uppercase;
}

.confidence-wysoka { background: rgba(142, 255, 183, 0.12); color: var(--ok); }
.confidence-średnia { background: rgba(255, 211, 95, 0.12); color: var(--warn); }
.confidence-srednia { background: rgba(255, 211, 95, 0.12); color: var(--warn); }
.confidence-niska { background: rgba(255, 147, 88, 0.12); color: var(--alert); }

.report-method-note {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.42rem;
  margin-top: 0.75rem;
  padding: 0.72rem;
  border-left: 3px solid rgba(255, 211, 95, 0.7);
  background: rgba(255, 211, 95, 0.05);
  color: var(--text-soft);
  font-size: 0.76rem;
  line-height: 1.45;
}

.report-method-note a {
  color: var(--accent);
}

@media (min-width: 1200px) {
  .topbar {
    padding-top: 0.45rem;
    padding-bottom: 0.5rem;
    margin-bottom: 0.42rem;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 1.15rem;
  }

  .brand span {
    font-size: 0.68rem;
  }

  .tab-link {
    padding: 0.5rem 0.82rem;
    font-size: 0.78rem;
  }

  .status-bar {
    margin-top: 0.45rem;
    flex-wrap: nowrap;
    gap: 0.45rem;
  }

  .status-chip {
    min-width: 8.6rem;
    padding: 0.45rem 0.58rem;
  }

  .status-chip:nth-child(3) {
    min-width: 12rem;
  }

  .status-chip strong {
    font-size: 0.78rem;
  }

  .status-chip small,
  .status-label {
    font-size: 0.58rem;
  }

  .tab-panel[data-tab-panel="centrum"].is-active {
    height: calc(100vh - 6.7rem);
  }
}

@media (max-width: 720px) {
  .threat-status {
    grid-template-columns: 1fr;
    flex-basis: 100%;
    padding: 0.8rem;
  }

  .threat-scale {
    grid-template-columns: repeat(10, minmax(0, 1fr));
  }

  .threat-scale span {
    min-width: 0;
    min-height: 2rem;
  }

  .threat-legend {
    grid-column: 1;
  }

  .mobile-console-nav {
    position: sticky;
    top: 0.4rem;
    z-index: 45;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.35rem;
    margin-bottom: 0.55rem;
    padding: 0.42rem;
    border: 1px solid rgba(122, 247, 255, 0.15);
    border-radius: 16px;
    background: rgba(6, 15, 25, 0.94);
    backdrop-filter: blur(16px);
  }

  .mobile-console-nav button {
    min-width: 0;
    min-height: 2.5rem;
    padding: 0.35rem 0.2rem;
    font-size: 0.62rem;
  }

  body[data-mobile-screen] .hero-grid > * {
    display: none;
  }

  body[data-mobile-screen="situation"] .hero-grid > .monitor-shell-center,
  body[data-mobile-screen="poland"] .hero-grid > .monitor-column-left,
  body[data-mobile-screen="market"] .hero-grid > .monitor-column-left,
  body[data-mobile-screen="news"] .hero-grid > .monitor-column-right {
    display: grid;
  }

  body[data-mobile-screen="poland"] .monitor-column-left > .monitor-shell:not(.monitor-shell-sector),
  body[data-mobile-screen="market"] .monitor-column-left > .monitor-shell-sector {
    display: none;
  }

  .hero-grid,
  .monitor-column,
  .monitor-column-right {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .monitor,
  .monitor-center {
    min-height: 0;
  }

  .command-center {
    min-height: calc(100vh - 4.5rem);
  }

  .command-monitor-head .monitor-note,
  .command-controls .control-bank-wide {
    display: none;
  }

  .command-controls {
    grid-template-columns: 1fr;
  }

  .command-center .world-map-stage {
    min-height: 22rem;
  }

  .report-command-header,
  .report-kpi-grid {
    grid-template-columns: 1fr;
  }

  .report-readiness {
    min-width: 0;
  }

  .forces-table-shell {
    overflow: visible;
    border: 0;
  }

  .forces-table,
  .forces-table tbody,
  .forces-table tr,
  .forces-table td {
    display: block;
    width: 100%;
  }

  .forces-table thead {
    display: none;
  }

  .forces-table tbody {
    display: grid;
    gap: 0.65rem;
  }

  .forces-table tr {
    overflow: hidden;
    border: 1px solid rgba(122, 247, 255, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
  }

  .forces-table td {
    display: grid;
    grid-template-columns: 7.4rem minmax(0, 1fr);
    gap: 0.55rem;
    min-width: 0 !important;
    padding: 0.55rem 0.65rem;
  }

  .forces-table td::before {
    content: attr(data-label);
    color: var(--text-dim);
    font: 700 0.6rem "Rajdhani", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

/* Dashboard refinement */

.hero-grid {
  grid-template-columns: minmax(17rem, 1fr) minmax(0, 3fr) minmax(17rem, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.monitor-column {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.monitor-shell {
  position: relative;
  padding-bottom: 3.6rem;
}

.monitor-shell-center {
  min-width: 0;
}

.monitor-shell::before,
.monitor-shell::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.monitor-shell::before {
  bottom: 1rem;
  width: 18%;
  height: 1.35rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(37, 57, 79, 0.92), rgba(8, 15, 24, 0.98));
  box-shadow: inset 0 1px 0 rgba(167, 205, 236, 0.18), 0 10px 24px rgba(0, 0, 0, 0.3);
}

.monitor-shell::after {
  bottom: 0;
  width: 42%;
  height: 0.85rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(27, 43, 59, 0.95), rgba(5, 11, 18, 0.98));
  box-shadow: inset 0 1px 0 rgba(163, 215, 255, 0.12), 0 14px 24px rgba(0, 0, 0, 0.35);
}

.monitor-shell-center::before {
  width: 12%;
}

.monitor-shell-center::after {
  width: 32%;
}

.monitor {
  min-height: auto;
  padding: 0.95rem 1rem 1rem;
  border-radius: 26px;
  border: 1px solid rgba(146, 214, 255, 0.18);
  background:
    linear-gradient(180deg, rgba(12, 23, 37, 0.98), rgba(7, 15, 26, 0.95)),
    var(--panel);
  box-shadow:
    0 26px 46px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(214, 243, 255, 0.06);
}

.monitor::before {
  background:
    linear-gradient(135deg, rgba(122, 247, 255, 0.08), transparent 24%, transparent 76%, rgba(255, 147, 88, 0.07)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 18%, transparent 82%, rgba(255, 255, 255, 0.02));
}

.monitor::after {
  content: "";
  position: absolute;
  inset: 0.7rem;
  pointer-events: none;
  border-radius: 20px;
  border: 1px solid rgba(133, 212, 255, 0.1);
  box-shadow: inset 0 0 26px rgba(51, 117, 168, 0.1);
}

.monitor-left {
  min-height: 22.4rem;
}

.monitor-sector {
  min-height: 28.4rem;
}

.monitor-center {
  min-height: 39rem;
}

.monitor-right {
  min-height: 39rem;
}

.monitor-head {
  padding-bottom: 0.8rem;
  margin-bottom: 0.8rem;
  border-bottom: 1px solid rgba(122, 247, 255, 0.1);
}

.monitor-head h1 {
  font-size: clamp(1.95rem, 2.6vw, 2.9rem);
}

.monitor-head h2 {
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
}

.monitor-side .monitor-head h2 {
  font-size: clamp(1.06rem, 1.3vw, 1.34rem);
}

.monitor-note,
.monitor-copy,
.summary-card p,
.detail-copy,
.detail-card p,
.info-card p,
.report-card p,
.detail-sidebar .metric-note {
  font-size: 0.9rem;
  line-height: 1.55;
}

.monitor-note {
  max-width: 15rem;
}

.monitor-note-compact {
  max-width: 10.25rem;
  text-align: right;
}

.status-label,
.kicker {
  font-size: 0.66rem;
  letter-spacing: 0.18em;
}

.tab-link {
  padding: 0.66rem 0.94rem;
  font-size: 0.92rem;
}

.status-chip {
  min-width: 12.4rem;
  padding: 0.76rem 0.92rem;
}

.market-board {
  gap: 0.75rem;
  margin-top: 0.9rem;
}

.market-card {
  padding: 0.85rem 0.92rem 0.92rem;
  border-radius: 18px;
}

.monitor-side .market-card {
  padding: 0.72rem 0.78rem 0.78rem;
}

.market-top strong,
.detail-metrics strong {
  font-size: 1.05rem;
}

.monitor-side .market-top strong {
  font-size: 0.96rem;
}

.market-symbol,
.detail-meta,
.report-meta,
.polonusi-meta {
  font-size: 0.77rem;
}

.market-price {
  margin-top: 0.62rem;
}

.market-price span {
  font-size: 1.58rem;
}

.monitor-side .market-price span {
  font-size: 1.28rem;
}

.monitor-side .market-price small,
.monitor-side .delta,
.monitor-side .market-symbol,
.monitor-side .newsletter-source,
.monitor-side .newsletter-copy,
.monitor-side .monitor-note,
.monitor-side .monitor-copy {
  font-size: 0.76rem;
}

.monitor-side .newsletter-title {
  font-size: 0.88rem;
}

.delta {
  font-size: 0.95rem;
}

.delta.up::before {
  content: "+";
}

.delta.down::before {
  content: "-";
}

.delta.flat::before {
  content: "=";
}

.sector-monitor-stage {
  margin-top: 0.2rem;
}

.sector-tab-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.38rem;
  width: 100%;
  margin-bottom: 0.78rem;
  padding: 0.24rem;
  border-radius: 999px;
  border: 1px solid rgba(122, 247, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.sector-tab {
  appearance: none;
  border: 0;
  min-height: 2rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: transparent;
  color: var(--text-dim);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.sector-tab.is-active {
  background: linear-gradient(180deg, rgba(122, 247, 255, 0.16), rgba(122, 247, 255, 0.06));
  color: var(--text);
  box-shadow: 0 8px 18px rgba(6, 24, 39, 0.32);
}

.sector-tab-panels {
  min-height: 0;
}

.sector-tab-panel {
  display: none;
}

.sector-tab-panel.is-active {
  display: block;
}

.poland-map-interactive {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 19.4rem;
  overflow: hidden;
  padding: 0.28rem;
  border-radius: 20px;
  border: 1px solid rgba(122, 247, 255, 0.11);
  background:
    radial-gradient(circle at 50% 46%, rgba(37, 173, 210, 0.14), transparent 48%),
    linear-gradient(rgba(72, 207, 239, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 207, 239, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #031421, #020b14 72%, #01070d);
  background-size: auto, 28px 28px, 28px 28px, auto;
  box-shadow: inset 0 0 38px rgba(50, 188, 224, 0.09), inset 0 0 78px rgba(1, 8, 15, 0.72);
}

.poland-map-interactive::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  opacity: 0.24;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(95, 225, 255, 0.035) 3px, transparent 4px);
}

.poland-map-interactive .empty-state {
  min-height: 17rem;
}

.poland-map-svg {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: block;
}

.sector-list-shell {
  display: grid;
  gap: 0.7rem;
}

.sector-report-shell {
  min-height: 19.4rem;
  align-content: start;
}

.sector-report-feed {
  display: grid;
  gap: 0.75rem;
}

.sector-report-card {
  padding: 0.9rem 1rem;
}

.sector-report-card h3 {
  margin: 0.32rem 0 0.46rem;
  font-size: 1.08rem;
  line-height: 1.25;
}

.sector-report-card p {
  margin: 0;
  font-size: 0.8rem;
}

.sector-report-link {
  text-decoration: none;
}

.sector-list-copy p {
  margin: 0.18rem 0 0;
  color: var(--text-soft);
  font-size: 0.78rem;
  line-height: 1.45;
}

.poland-map-frame {
  fill: rgba(3, 15, 26, 0.7);
  stroke: rgba(89, 232, 255, 0.32);
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.poland-map-backdrop {
  fill: #020b14;
}

.poland-map-inner-frame {
  fill: none;
  stroke: rgba(89, 232, 255, 0.1);
  stroke-width: 0.9;
  stroke-dasharray: 7 10;
  vector-effect: non-scaling-stroke;
}

.poland-grid-lines line {
  stroke: rgba(89, 232, 255, 0.055);
  stroke-width: 0.8;
  vector-effect: non-scaling-stroke;
}

.poland-grid-lines line.is-major {
  stroke: rgba(89, 232, 255, 0.1);
  stroke-width: 1;
}

.poland-hud-corners {
  fill: none;
  stroke: rgba(89, 232, 255, 0.82);
  stroke-width: 2;
  filter: drop-shadow(0 0 6px rgba(89, 232, 255, 0.35));
  vector-effect: non-scaling-stroke;
}

.poland-map-svg [data-voivodeship-slug] {
  cursor: pointer;
}

.poland-map-svg [data-voivodeship-slug] .voivodeship-shape {
  fill: rgba(13, 38, 55, 0.92);
  stroke: rgba(145, 208, 230, 0.38);
  stroke-width: 1.15;
  transition: fill 160ms ease, stroke 160ms ease, filter 160ms ease;
  vector-effect: non-scaling-stroke;
}

.poland-map-svg [data-voivodeship-slug]:hover .voivodeship-shape,
.poland-map-svg [data-voivodeship-slug].is-active .voivodeship-shape {
  fill: rgba(22, 72, 94, 0.96);
  stroke: rgba(106, 239, 255, 0.96);
  filter: drop-shadow(0 0 9px rgba(89, 232, 255, 0.45));
}

.poland-country-base {
  pointer-events: none;
  filter: drop-shadow(0 0 5px rgba(79, 224, 255, 0.75)) drop-shadow(0 0 16px rgba(34, 171, 214, 0.28));
}

.poland-country-base path {
  fill: rgba(8, 31, 47, 0.98);
  stroke: rgba(103, 231, 255, 0.82);
  stroke-width: 3.6;
  vector-effect: non-scaling-stroke;
}

.poland-vistula-glow {
  fill: none;
  stroke: rgba(43, 220, 255, 0.4);
  stroke-width: 9;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}

.poland-vistula-shadow {
  fill: none;
  stroke: rgba(43, 220, 255, 0.1);
  stroke-width: 22;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}

.poland-vistula-core {
  fill: none;
  stroke: #8ef7ff;
  stroke-width: 2.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 5px rgba(112, 239, 255, 0.95)) drop-shadow(0 0 13px rgba(43, 220, 255, 0.65));
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}

.capital-marker circle {
  fill: var(--accent);
  stroke: rgba(7, 17, 29, 0.85);
  stroke-width: 2;
}

.capital-marker.is-primary circle {
  fill: #8cf6ff;
  filter: drop-shadow(0 0 10px rgba(140, 246, 255, 0.35));
}

.poland-radar-ring {
  fill: none;
  stroke: rgba(255, 71, 101, 0.42);
  stroke-width: 1.25;
  transform-box: fill-box;
  transform-origin: center;
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}

.poland-radar-ring.ring-a {
  animation: poland-radar-pulse 3.2s infinite ease-out;
}

.poland-radar-ring.ring-b {
  animation: poland-radar-pulse 3.2s 1.2s infinite ease-out;
}

.poland-radar-sweep {
  stroke: rgba(255, 71, 101, 0.72);
  stroke-width: 1.2;
  stroke-dasharray: 4 4;
  filter: drop-shadow(0 0 5px rgba(255, 71, 101, 0.5));
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}

.poland-node-layer,
.poland-calibration,
.poland-status-strip {
  pointer-events: none;
}

.poland-node-link {
  stroke: rgba(105, 232, 255, 0.58);
  stroke-width: 1.1;
  vector-effect: non-scaling-stroke;
}

.poland-node-pulse,
.poland-node-ring {
  fill: none;
  stroke: #64ecff;
  vector-effect: non-scaling-stroke;
}

.poland-node-pulse {
  stroke-width: 1;
  opacity: 0.28;
  animation: poland-radar-pulse 3s infinite ease-out;
}

.poland-node-ring {
  stroke-width: 1.8;
  filter: drop-shadow(0 0 7px rgba(89, 232, 255, 0.7));
}

.poland-node-core {
  fill: #8cf7ff;
  stroke: #02111d;
  stroke-width: 1.4;
  filter: drop-shadow(0 0 7px rgba(89, 232, 255, 0.85));
  vector-effect: non-scaling-stroke;
}

.poland-node-label-box {
  fill: rgba(2, 14, 24, 0.9);
  stroke: rgba(86, 218, 246, 0.44);
  stroke-width: 0.9;
  vector-effect: non-scaling-stroke;
}

.poland-node-label,
.poland-node-detail,
.poland-calibration text,
.poland-status-strip text {
  fill: #effcff;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.075em;
  paint-order: stroke;
  stroke: #020b14;
  stroke-width: 3;
  stroke-linejoin: round;
}

.poland-node-label {
  font-size: 10px;
}

.poland-node-detail {
  fill: #70dff1;
  font-size: 7px;
}

.poland-hud-node.is-alert .poland-node-link,
.poland-hud-node.is-command .poland-node-link,
.poland-hud-node.is-alert .poland-node-ring,
.poland-hud-node.is-command .poland-node-ring,
.poland-hud-node.is-alert .poland-node-pulse,
.poland-hud-node.is-command .poland-node-pulse {
  stroke: #ff4765;
}

.poland-hud-node.is-alert .poland-node-core,
.poland-hud-node.is-command .poland-node-core {
  fill: #ff5a75;
  filter: drop-shadow(0 0 8px rgba(255, 71, 101, 0.9));
}

.poland-hud-node.is-alert .poland-node-label-box,
.poland-hud-node.is-command .poland-node-label-box {
  stroke: rgba(255, 71, 101, 0.7);
}

.poland-calibration line {
  stroke: rgba(91, 227, 255, 0.5);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.poland-calibration text {
  fill: rgba(137, 231, 249, 0.78);
  font-size: 8px;
}

.poland-status-strip rect {
  fill: rgba(2, 14, 24, 0.94);
  stroke: rgba(89, 232, 255, 0.28);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.poland-status-strip circle {
  fill: #69f3df;
  filter: drop-shadow(0 0 5px rgba(105, 243, 223, 0.7));
}

.poland-status-strip text {
  fill: rgba(185, 233, 244, 0.84);
  font-size: 8px;
}

.poland-map-svg.is-compact .poland-node-link,
.poland-map-svg.is-compact .poland-node-label-box,
.poland-map-svg.is-compact .poland-node-label,
.poland-map-svg.is-compact .poland-node-detail,
.poland-map-svg.is-compact .poland-calibration {
  display: none;
}

.capital-marker text,
.map-caption {
  fill: rgba(226, 241, 255, 0.74);
  font-family: "Rajdhani", sans-serif;
  font-size: 14px;
  letter-spacing: 0.07em;
  paint-order: stroke;
  stroke: rgba(5, 12, 18, 0.95);
  stroke-width: 4;
  stroke-linejoin: round;
}

.poland-map-title,
.poland-map-subtitle {
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  paint-order: stroke;
  stroke: rgba(5, 12, 18, 0.95);
  stroke-width: 4;
  stroke-linejoin: round;
}

.poland-map-title {
  fill: rgba(123, 244, 255, 0.88);
  font-size: 15px;
  font-weight: 700;
}

.poland-map-subtitle {
  fill: rgba(210, 233, 250, 0.56);
  font-size: 10px;
  font-weight: 600;
}

.voivodeship-quick-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.48rem;
  max-height: 19.8rem;
  overflow: auto;
  padding-right: 0.2rem;
}

.voivodeship-chip {
  display: grid;
  gap: 0.1rem;
  padding: 0.56rem 0.66rem;
  border-radius: 14px;
  border: 1px solid rgba(122, 247, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-soft);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.voivodeship-chip span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.voivodeship-chip strong {
  color: var(--text);
  font-size: 0.8rem;
  line-height: 1.25;
}

.voivodeship-chip:hover,
.voivodeship-chip.is-active {
  border-color: rgba(255, 147, 88, 0.34);
  background: linear-gradient(180deg, rgba(255, 147, 88, 0.12), rgba(122, 247, 255, 0.05));
  transform: translateY(-1px);
}

.map-shell {
  margin-top: 0;
}

.map-overlay {
  font-size: 0.78rem;
}

.monitor-center .world-map-stage {
  aspect-ratio: 16 / 9;
  min-height: 31rem;
  max-height: 40rem;
}

.monitor-center .world-map-container,
.monitor-center .strategic-map,
.monitor-center .map-empty-state {
  height: 100%;
  min-height: 100%;
}

.news-feature {
  margin-top: 0.9rem;
}

.news-image {
  min-height: 10.5rem;
}

.monitor-right .news-image {
  min-height: 8.8rem;
}

.news-feature-copy {
  padding: 0.85rem 0.9rem;
}

.news-feature-copy h3 {
  margin: 0.28rem 0 0.4rem;
  font-size: 1.28rem;
  line-height: 1.08;
}

.monitor-right .news-feature-copy {
  padding: 0.72rem 0.78rem;
}

.monitor-right .news-feature-copy h3 {
  font-size: 1.06rem;
}

.newsletter-roll {
  gap: 0.65rem;
  margin-top: 0.85rem;
  max-height: 27rem;
}

.newsletter-item {
  grid-template-columns: 4.2rem 1fr;
  gap: 0.65rem;
  padding: 0.74rem;
}

.monitor-right .newsletter-item {
  grid-template-columns: 3.6rem 1fr;
  gap: 0.55rem;
  padding: 0.62rem;
}

.newsletter-time {
  font-size: 0.7rem;
}

.newsletter-title {
  font-size: 0.95rem;
  line-height: 1.32;
}

.newsletter-copy {
  font-size: 0.82rem;
  line-height: 1.42;
}

.newsletter-source {
  font-size: 0.75rem;
}

.conflict-strip {
  gap: 0.55rem;
}

.conflict-tag {
  padding: 0.62rem 0.78rem;
}

.conflict-tag strong {
  font-size: 0.92rem;
}

.conflict-tag span {
  font-size: 0.79rem;
}

.monitor-center .conflict-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.55rem;
}

.monitor-center .conflict-tag {
  padding: 0.56rem 0.65rem;
}

.monitor-center .conflict-tag strong {
  font-size: 0.9rem;
}

.monitor-center .conflict-tag span {
  font-size: 0.72rem;
}

.summary-card {
  padding: 1rem 1.05rem;
}

.summary-card h2 {
  font-size: 1.7rem;
}

.community-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 1rem;
}

.community-copy,
.whatsapp-card {
  align-content: start;
}

.whatsapp-link {
  border-color: rgba(66, 225, 132, 0.28);
  background: linear-gradient(135deg, rgba(16, 128, 69, 0.3), rgba(74, 255, 169, 0.09));
  color: #ddffee;
}

.whatsapp-graphic {
  margin: 0.55rem 0 1rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(122, 247, 255, 0.12);
  background:
    radial-gradient(circle at center, rgba(122, 255, 184, 0.16), transparent 52%),
    linear-gradient(180deg, rgba(9, 20, 31, 0.94), rgba(4, 10, 16, 0.98));
}

.whatsapp-graphic svg {
  display: block;
  width: min(100%, 17rem);
  margin: 0 auto;
}

.wa-orbit {
  fill: none;
  stroke: rgba(122, 247, 255, 0.22);
  stroke-width: 4;
  stroke-dasharray: 10 10;
}

.wa-bubble {
  fill: rgba(7, 37, 22, 0.45);
  stroke: rgba(247, 255, 251, 0.92);
  stroke-width: 5;
}

.wa-phone {
  fill: rgba(7, 34, 21, 0.94);
  stroke: rgba(247, 255, 251, 0.92);
  stroke-width: 2.8;
}

/* Voivodeship page */

.region-shell {
  width: min(calc(100% - 1.8rem), 1280px);
  margin: 0 auto;
  padding: 1.25rem 0 2.3rem;
  display: grid;
  gap: 1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 2.7rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(122, 247, 255, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  text-decoration: none;
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease;
}

.back-link:hover {
  border-color: rgba(122, 247, 255, 0.34);
  background: rgba(122, 247, 255, 0.06);
  transform: translateY(-1px);
}

.region-hero-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.18fr 0.42fr;
  gap: 1rem;
  padding: 1.2rem;
  border-radius: 28px;
  border: 1px solid rgba(122, 247, 255, 0.16);
  background:
    radial-gradient(circle at 12% 20%, rgba(122, 247, 255, 0.1), transparent 28rem),
    radial-gradient(circle at 86% 18%, rgba(255, 147, 88, 0.11), transparent 20rem),
    linear-gradient(180deg, rgba(10, 21, 34, 0.96), rgba(5, 12, 20, 0.98));
  box-shadow: var(--shadow);
}

.region-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(122, 247, 255, 0.06), transparent 24%, transparent 76%, rgba(255, 147, 88, 0.08));
}

.region-hero-copy h1 {
  margin: 0.3rem 0 0.7rem;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2.3rem, 4vw, 4rem);
  letter-spacing: 0.04em;
}

.region-hero-copy p {
  max-width: 46rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.region-badge {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0.4rem;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(122, 247, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(16, 31, 47, 0.94), rgba(7, 15, 25, 0.98)),
    rgba(255, 255, 255, 0.03);
}

.region-badge-code {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
}

.region-badge-name {
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 1320px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .monitor-center,
  .monitor-right,
  .monitor-sector,
  .monitor-left {
    min-height: auto;
  }

  .community-grid,
  .region-hero-card,
  .region-grid {
    grid-template-columns: 1fr;
  }

  .monitor-shell::before {
    width: 14%;
  }

  .monitor-shell::after {
    width: 28%;
  }

  .monitor-center .conflict-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .monitor-head {
    flex-direction: column;
  }

  .monitor-note,
  .monitor-note-compact {
    max-width: none;
    text-align: left;
  }

  .voivodeship-quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
  }

  .world-map-stage,
  .world-map-container,
  .strategic-map,
  .map-empty-state {
    min-height: 29rem;
  }

  .monitor-center .world-map-stage {
    aspect-ratio: auto;
    max-height: none;
  }
}

@media (max-width: 720px) {
  .monitor-shell {
    padding-bottom: 2.45rem;
  }

  .monitor-shell::before {
    bottom: 0.74rem;
    width: 19%;
    height: 0.95rem;
  }

  .monitor-shell::after {
    width: 38%;
    height: 0.72rem;
  }

  .monitor {
    padding: 0.86rem 0.88rem 0.92rem;
  }

  .voivodeship-quick-links,
  .region-grid,
  .monitor-center .conflict-strip {
    grid-template-columns: 1fr;
  }

  .region-shell {
    width: min(calc(100% - 1rem), 1280px);
  }

  .poland-map-interactive {
    min-height: 21rem;
  }

  .news-image {
    min-height: 9rem;
  }
}

.market-batch-card {
  display: grid;
  gap: 0.08rem;
  padding: 0.5rem 0.64rem;
  border-radius: 14px;
  border: 1px solid rgba(122, 247, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.market-batch-card strong {
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.market-batch-card small {
  color: var(--text-dim);
  font-size: 0.66rem;
  line-height: 1.35;
}

.monitor-left {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.monitor-center {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.monitor-right {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
}

.monitor-sector {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
}

.monitor-center .map-shell {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 0.45rem;
  align-content: start;
}

.monitor-center .world-map-stage {
  width: 100%;
  min-height: 18.6rem;
  max-height: none;
  aspect-ratio: 2.15 / 1;
  box-shadow: inset 0 0 34px rgba(53, 130, 183, 0.12);
}

.monitor-center .world-map-container,
.monitor-center .strategic-map,
.monitor-center #strategicMap,
.monitor-center #strategicMap .jvm-container,
.monitor-center #strategicMap .jvm-container svg {
  width: 100% !important;
}

.monitor-center .world-map-container,
.monitor-center .strategic-map,
.monitor-center #strategicMap,
.monitor-center #strategicMap .jvm-container {
  height: 100%;
}

.monitor-center .conflict-strip {
  margin-top: 0;
  align-self: end;
}

.monitor-left .market-board {
  gap: 0.5rem;
  margin-top: 0.45rem;
}

.monitor-left .market-card::after {
  display: none;
}

.monitor-left .market-top {
  gap: 0.45rem;
}

.monitor-left .market-price {
  margin-top: 0.38rem;
}

.monitor-left .delta {
  margin-top: 0.32rem;
}

.sector-tab-panels {
  display: grid;
  min-height: 0;
}

.sector-tab-panel.is-active[data-sector-tab-panel="mapa"] {
  display: grid;
  min-height: 0;
}

.sector-monitor-stage,
.poland-map-interactive {
  height: 100%;
}

.monitor-sector .monitor-copy {
  margin-top: 0.38rem;
}

.monitor-sector .sector-tab-nav {
  margin-bottom: 0.52rem;
}

.monitor-sector .poland-map-interactive {
  min-height: 14rem;
}

.monitor-right .monitor-head {
  align-items: center;
}

.monitor-right .monitor-head h2 {
  color: #f4fbff;
  text-shadow: 0 0 14px rgba(122, 247, 255, 0.14);
}

.news-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.34rem;
  padding: 0.24rem 0.3rem;
  border-radius: 14px;
  border: 1px solid rgba(122, 247, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
}

.news-filter-label {
  color: var(--text-dim);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.news-filter-group {
  display: inline-flex;
  gap: 0.28rem;
}

.news-filter-button {
  appearance: none;
  border: 1px solid rgba(122, 247, 255, 0.1);
  padding: 0.22rem 0.52rem;
  border-radius: 999px;
  background: rgba(9, 17, 27, 0.72);
  color: var(--text-dim);
  font-family: inherit;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.news-filter-button.is-active {
  border-color: rgba(122, 247, 255, 0.24);
  background: linear-gradient(180deg, rgba(122, 247, 255, 0.18), rgba(122, 247, 255, 0.06));
  color: var(--text);
  box-shadow: 0 8px 18px rgba(4, 16, 26, 0.32);
}

.news-feature {
  margin-top: 0.36rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(122, 247, 255, 0.11);
  background: rgba(255, 255, 255, 0.03);
}

.news-feature a,
.news-feature-link,
.news-feature-link-empty {
  text-decoration: none;
}

.news-feature-link,
.news-feature-link-empty {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  min-width: 0;
  align-items: stretch;
}

.news-image {
  position: relative;
  min-height: 7.2rem;
  border-right: 1px solid rgba(122, 247, 255, 0.08);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.news-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 12, 19, 0.08), rgba(5, 12, 19, 0.38));
}

.news-feature-copy-compact {
  display: grid;
  min-width: 0;
  gap: 0.18rem;
  padding: 0.56rem 0.62rem 0.62rem;
}

.news-feature-copy-compact h3 {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.18;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-feature-copy-compact .newsletter-source {
  margin-top: 0.02rem;
  font-size: 0.66rem;
}

.news-feature-tape {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.34rem 0.62rem;
  border-top: 1px solid rgba(122, 247, 255, 0.08);
  color: var(--text-dim);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.newsletter-roll {
  gap: 0.42rem;
  margin-top: 0.55rem;
  min-height: 0;
  overflow: auto;
  padding-right: 0.16rem;
}

.newsletter-text {
  min-width: 0;
}

.monitor-right .newsletter-item {
  grid-template-columns: 3.05rem 1fr;
  gap: 0.45rem;
  padding: 0.48rem 0.52rem;
  border-radius: 12px;
}

.monitor-right .newsletter-time {
  font-size: 0.62rem;
  line-height: 1.2;
}

.monitor-right .newsletter-title {
  font-size: 0.74rem;
  line-height: 1.18;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.monitor-right .newsletter-source {
  margin-top: 0.18rem;
  font-size: 0.64rem;
  line-height: 1.2;
}

@keyframes poland-radar-pulse {
  0% {
    opacity: 0.16;
    transform: scale(0.92);
  }

  70% {
    opacity: 0.6;
    transform: scale(1.04);
  }

  100% {
    opacity: 0.12;
    transform: scale(1.18);
  }
}

@media (min-width: 1200px) {
  .site-shell {
    padding: 0.4rem 0 0.42rem;
  }

  .topbar {
    margin-bottom: 0.42rem;
    padding: 0.62rem 0.84rem 0.66rem;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand strong {
    font-size: 1.15rem;
  }

  .brand span {
    font-size: 0.68rem;
  }

  .status-bar {
    margin-top: 0.42rem;
    gap: 0.54rem;
  }

  .status-chip {
    min-width: 10rem;
    padding: 0.44rem 0.64rem;
  }

  .status-chip strong {
    font-size: 0.88rem;
  }

  .status-chip small {
    font-size: 0.64rem;
    line-height: 1.25;
  }

  .main-shell {
    gap: 0.34rem;
  }

  .tab-panel[data-tab-panel="centrum"].is-active {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 0.34rem;
    height: calc(100vh - 8.95rem);
    overflow: hidden;
  }

  .hero-grid {
    height: 100%;
    min-height: 0;
    align-self: stretch;
    gap: 0.56rem;
  }

  .monitor-column-left {
    grid-template-rows: minmax(0, 0.52fr) minmax(0, 1fr);
  }

  .monitor-column-right {
    grid-template-rows: minmax(0, 1fr);
  }

  .monitor-column {
    gap: 0.56rem;
  }

  .monitor-shell {
    padding-bottom: 0.9rem;
  }

  .monitor-shell::before {
    bottom: 0.24rem;
    height: 0.52rem;
  }

  .monitor-shell::after {
    height: 0.2rem;
  }

  .monitor {
    padding: 0.56rem 0.66rem 0.58rem;
  }

  .monitor::after {
    inset: 0.42rem;
  }

  .monitor-left,
  .monitor-sector,
  .monitor-center,
  .monitor-right {
    min-height: 0;
    height: 100%;
  }

  .monitor-head {
    padding-bottom: 0.34rem;
    margin-bottom: 0.34rem;
  }

  .monitor-head h1 {
    font-size: clamp(1.42rem, 1.85vw, 1.95rem);
  }

  .monitor-head h2 {
    font-size: 0.98rem;
  }

  .monitor-side .monitor-note,
  .monitor-note-compact {
    max-width: 8rem;
    font-size: 0.62rem;
    line-height: 1.22;
  }

  .monitor-center .monitor-note {
    max-width: 11rem;
    font-size: 0.65rem;
    line-height: 1.28;
  }

  .monitor-side .market-top strong {
    font-size: 0.76rem;
  }

  .monitor-side .market-price span {
    font-size: 0.92rem;
  }

  .monitor-side .market-price small,
  .monitor-side .delta,
  .monitor-side .market-symbol,
  .monitor-side .newsletter-copy,
  .monitor-side .newsletter-source,
  .monitor-side .monitor-copy {
    font-size: 0.64rem;
    line-height: 1.22;
  }

  .monitor-center .world-map-stage {
    height: clamp(17rem, 31vh, 18.8rem);
    min-height: 0;
    max-height: none;
  }

  .monitor-center .conflict-strip {
    gap: 0.32rem;
  }

  .monitor-center .conflict-tag {
    padding: 0.32rem 0.42rem;
  }

  .monitor-center .conflict-tag strong {
    font-size: 0.76rem;
  }

  .monitor-center .conflict-tag span {
    font-size: 0.58rem;
  }

  .monitor-sector .poland-map-interactive {
    min-height: 8.5rem;
  }

  .monitor-sector .sector-tab-nav {
    margin-bottom: 0.34rem;
    padding: 0.18rem;
  }

  .monitor-sector .sector-tab {
    min-height: 1.68rem;
    padding: 0.28rem 0.56rem;
    font-size: 0.64rem;
  }

  .monitor-sector .monitor-copy {
    margin-top: 0.24rem;
    display: -webkit-box;
    font-size: 0.6rem;
    line-height: 1.18;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .monitor-right .monitor-head h2 {
    font-size: 1rem;
  }

  .monitor-right .news-filter-bar {
    margin-top: 0.2rem;
    padding: 0.16rem 0.24rem;
  }

  .monitor-right .news-filter-label {
    font-size: 0.56rem;
  }

  .monitor-right .news-filter-button {
    padding: 0.16rem 0.42rem;
    font-size: 0.56rem;
  }

  .monitor-right .news-feature-link,
  .monitor-right .news-feature-link-empty {
    grid-template-columns: 5.4rem minmax(0, 1fr);
  }

  .monitor-right .news-image {
    min-height: 5.5rem;
  }

  .monitor-right .news-feature-copy-compact h3 {
    font-size: 0.76rem;
  }

  .monitor-right .news-feature-copy-compact {
    gap: 0.12rem;
    padding: 0.34rem 0.42rem 0.38rem;
  }

  .monitor-right .news-feature-tape {
    padding: 0.24rem 0.42rem;
    font-size: 0.54rem;
  }

  .monitor-right .newsletter-roll {
    margin-top: 0.42rem;
    gap: 0.3rem;
    max-height: none;
    min-height: 0;
  }

  .monitor-right .newsletter-item {
    grid-template-columns: 2.7rem 1fr;
    gap: 0.36rem;
    padding: 0.38rem 0.42rem;
  }

  .monitor-right .newsletter-time {
    font-size: 0.56rem;
  }

  .monitor-right .newsletter-title {
    font-size: 0.68rem;
    line-height: 1.14;
  }

  .monitor-right .newsletter-source {
    margin-top: 0.1rem;
    font-size: 0.58rem;
  }

  .monitor-left .market-board {
    gap: 0.22rem;
    margin-top: 0.18rem;
  }

  .monitor-left .market-card {
    padding: 0.34rem 0.44rem 0.38rem;
  }

  .monitor-left .market-top {
    gap: 0.24rem;
  }

  .monitor-left .market-price {
    margin-top: 0.16rem;
  }

  .monitor-left .delta {
    margin-top: 0.12rem;
  }

  .market-batch-card {
    padding: 0.3rem 0.42rem;
  }

  .market-batch-card strong {
    font-size: 0.68rem;
  }

  .market-batch-card small {
    font-size: 0.54rem;
    line-height: 1.14;
  }

  .summary-grid {
    grid-template-columns: minmax(17rem, 1fr) minmax(0, 1.5fr) minmax(0, 1.5fr) minmax(17rem, 1fr);
    margin-top: 0;
    gap: 0.34rem;
    align-items: stretch;
  }

  .summary-grid > :first-child {
    grid-column: 2;
  }

  .summary-grid > :last-child {
    grid-column: 3;
  }

  .summary-card {
    padding: 0.36rem 0.48rem;
  }

  .summary-card h2 {
    margin: 0.05rem 0 0.14rem;
    font-size: 0.88rem;
  }

  .summary-card p {
    font-size: 0.56rem;
    line-height: 1.14;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .summary-card .kicker {
    font-size: 0.54rem;
  }

  .detail-topline {
    gap: 0.22rem;
    margin-top: 0.2rem;
  }

  .chip {
    padding: 0.16rem 0.3rem;
    font-size: 0.56rem;
  }
}

@media (min-width: 1200px) and (max-height: 950px) {
  .site-shell {
    padding: 0.22rem 0 0.22rem;
  }

  .topbar {
    margin-bottom: 0.3rem;
    padding: 0.48rem 0.72rem 0.5rem;
  }

  .status-bar {
    margin-top: 0.3rem;
    gap: 0.42rem;
  }

  .status-chip {
    min-width: 9rem;
    padding: 0.34rem 0.48rem;
  }

  .status-chip strong {
    font-size: 0.8rem;
  }

  .status-chip small {
    font-size: 0.58rem;
  }

  .tab-panel[data-tab-panel="centrum"].is-active {
    gap: 0.38rem;
    height: calc(100vh - 8.3rem);
  }

  .hero-grid,
  .monitor-column {
    gap: 0.48rem;
  }

  .monitor-column-left {
    grid-template-rows: minmax(0, 0.4fr) minmax(0, 1.08fr);
  }

  .monitor-shell {
    padding-bottom: 0.9rem;
  }

  .monitor {
    padding: 0.52rem 0.6rem 0.56rem;
  }

  .monitor-head {
    padding-bottom: 0.26rem;
    margin-bottom: 0.26rem;
  }

  .monitor-head h1 {
    font-size: clamp(1.24rem, 1.5vw, 1.7rem);
  }

  .monitor-head h2 {
    font-size: 0.88rem;
  }

  .monitor-note-compact,
  .monitor-side .monitor-note {
    max-width: 6.5rem;
    font-size: 0.56rem;
    line-height: 1.15;
  }

  .monitor-center .monitor-note {
    max-width: 9rem;
    font-size: 0.58rem;
    line-height: 1.18;
  }

  .monitor-left .market-card {
    padding: 0.28rem 0.38rem 0.3rem;
  }

  .monitor-left .market-board {
    gap: 0.16rem;
    margin-top: 0.14rem;
  }

  .monitor-left .market-price span {
    font-size: 0.84rem;
  }

  .monitor-left .market-top strong {
    font-size: 0.68rem;
  }

  .market-batch-card {
    padding: 0.22rem 0.36rem;
  }

  .market-batch-card strong {
    font-size: 0.62rem;
  }

  .market-batch-card small {
    font-size: 0.5rem;
  }

  .monitor-center .world-map-stage {
    height: clamp(13.8rem, 25vh, 15rem);
    min-height: 0;
  }

  .monitor-center .conflict-tag {
    padding: 0.26rem 0.34rem;
  }

  .monitor-center .conflict-tag strong {
    font-size: 0.68rem;
  }

  .monitor-center .conflict-tag span {
    font-size: 0.54rem;
  }

  .monitor-sector .sector-tab-nav {
    margin-bottom: 0.22rem;
  }

  .monitor-sector .poland-map-interactive {
    min-height: 6.3rem;
  }

  .monitor-sector .monitor-copy {
    display: none;
  }

  .monitor-right .news-filter-bar {
    margin-top: 0.16rem;
    padding: 0.14rem 0.18rem;
  }

  .monitor-right .news-filter-label {
    font-size: 0.5rem;
  }

  .monitor-right .news-filter-button {
    padding: 0.12rem 0.3rem;
    font-size: 0.52rem;
  }

  .monitor-right .news-feature-link,
  .monitor-right .news-feature-link-empty {
    grid-template-columns: 4.8rem minmax(0, 1fr);
  }

  .monitor-right .news-image {
    min-height: 4.8rem;
  }

  .monitor-right .news-feature-copy-compact {
    padding: 0.28rem 0.34rem 0.3rem;
  }

  .monitor-right .news-feature-copy-compact h3 {
    font-size: 0.66rem;
  }

  .monitor-right .news-feature-tape {
    padding: 0.18rem 0.34rem;
    font-size: 0.48rem;
  }

  .monitor-right .newsletter-roll {
    margin-top: 0.28rem;
    gap: 0.22rem;
  }

  .monitor-right .newsletter-item {
    padding: 0.32rem 0.36rem;
  }

  .monitor-right .newsletter-title {
    font-size: 0.64rem;
  }

  .summary-grid {
    grid-template-columns: minmax(15rem, 1fr) minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(15rem, 1fr);
    gap: 0.38rem;
  }

  .summary-card {
    padding: 0.18rem 0.32rem;
  }

  .summary-card h2 {
    font-size: 0.7rem;
    margin: 0.01rem 0 0.06rem;
  }

  .summary-card p {
    display: none;
  }

  .summary-card .detail-topline {
    margin-top: 0.12rem;
  }

  .summary-card .chip {
    padding: 0.12rem 0.24rem;
    font-size: 0.5rem;
  }

  .summary-card .chip:last-child {
    max-width: 5.8rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .summary-card .kicker {
    font-size: 0.48rem;
  }

  .detail-topline {
    gap: 0.2rem;
    margin-top: 0.2rem;
  }

  .chip {
    padding: 0.14rem 0.3rem;
    font-size: 0.54rem;
  }
}

/* Crisis command wall */

.site-shell {
  width: min(calc(100% - 1rem), 1900px);
}

.hero-grid {
  grid-template-columns: minmax(18rem, 0.86fr) minmax(38rem, 2.34fr) minmax(19rem, 0.94fr);
}

.monitor {
  border-color: rgba(134, 226, 255, 0.24);
  background:
    linear-gradient(180deg, rgba(13, 25, 39, 0.98), rgba(4, 11, 19, 0.97)),
    var(--panel);
}

.monitor::after {
  box-shadow:
    inset 0 0 28px rgba(69, 163, 220, 0.14),
    inset 0 0 90px rgba(3, 7, 12, 0.34);
}

.monitor-column-right {
  grid-template-rows: minmax(16rem, 0.48fr) minmax(19rem, 1fr);
}

.command-center {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 0.62rem;
}

.command-monitor-head {
  margin-bottom: 0;
}

.command-controls {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(12rem, 0.74fr) minmax(0, 1.26fr);
  gap: 0.58rem;
}

.control-bank {
  display: grid;
  gap: 0.34rem;
  min-width: 0;
  padding: 0.52rem;
  border-radius: 16px;
  border: 1px solid rgba(122, 247, 255, 0.12);
  background:
    linear-gradient(90deg, rgba(122, 247, 255, 0.06), rgba(255, 147, 88, 0.04)),
    rgba(255, 255, 255, 0.03);
}

.control-bank > span,
.console-head strong {
  color: rgba(231, 246, 255, 0.9);
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.control-bank > span {
  font-size: 0.7rem;
}

.segmented-control,
.assignment-control {
  display: flex;
  flex-wrap: wrap;
  gap: 0.34rem;
}

.segmented-control button,
.assignment-control button {
  appearance: none;
  min-height: 2rem;
  border: 1px solid rgba(122, 247, 255, 0.14);
  border-radius: 999px;
  padding: 0.34rem 0.72rem;
  background: rgba(5, 12, 20, 0.72);
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.segmented-control button.is-active,
.assignment-control button.is-active {
  border-color: rgba(122, 247, 255, 0.42);
  background: linear-gradient(180deg, rgba(122, 247, 255, 0.2), rgba(122, 247, 255, 0.07));
  color: var(--text);
  box-shadow: 0 0 18px rgba(122, 247, 255, 0.12);
}

.command-panel {
  position: relative;
  z-index: 1;
  min-height: 0;
}

.command-panel[hidden] {
  display: none !important;
}

.command-map-view {
  display: none;
}

.command-map-view.is-active {
  display: block;
}

.command-center .map-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0.5rem;
  min-height: 0;
}

.command-center .world-map-stage {
  min-height: 26rem;
  aspect-ratio: 16 / 8.2;
  border-color: rgba(122, 247, 255, 0.2);
  background:
    linear-gradient(rgba(122, 247, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 247, 255, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(12, 33, 52, 0.94), rgba(3, 10, 17, 0.98));
  background-size: 28px 28px, 28px 28px, auto;
}

.poland-command-stage {
  padding: 0.36rem;
}

.poland-map-command {
  width: 100%;
  height: 100%;
  min-height: 100%;
  border-radius: 20px;
}

.command-center .conflict-strip {
  position: absolute;
  left: 0.66rem;
  right: 0.66rem;
  bottom: 0.66rem;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.48rem;
  margin: 0;
}

.command-center .conflict-tag {
  background: rgba(5, 12, 20, 0.78);
  backdrop-filter: blur(10px);
}

.command-center .world-map-stage {
  padding-bottom: 3.5rem;
}

.center-news-console,
.center-market-console,
.center-osint-console {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0.7rem;
  min-height: 0;
  padding: 0.72rem;
  border-radius: 20px;
  border: 1px solid rgba(122, 247, 255, 0.12);
  background:
    linear-gradient(rgba(122, 247, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(122, 247, 255, 0.035) 1px, transparent 1px),
    rgba(255, 255, 255, 0.025);
  background-size: 30px 30px, 30px 30px, auto;
}

.console-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(122, 247, 255, 0.1);
}

.console-head strong {
  font-size: 1rem;
  text-align: right;
}

.command-stack {
  display: grid;
  gap: 0.58rem;
  min-height: 0;
  overflow: auto;
  padding-right: 0.2rem;
}

.command-news-card,
.command-market-card,
.command-osint-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 0.26rem;
  min-width: 0;
  border-radius: 14px;
  border: 1px solid rgba(122, 247, 255, 0.12);
  background: rgba(6, 16, 27, 0.72);
  color: inherit;
  text-align: left;
  text-decoration: none;
}

.command-news-card {
  padding: 0.82rem 0.94rem;
}

.command-news-card.is-priority {
  min-height: 8.6rem;
  align-content: end;
  border-color: rgba(255, 147, 88, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 147, 88, 0.16), transparent 55%),
    rgba(7, 17, 29, 0.86);
}

.command-news-card span,
.command-market-card span,
.command-osint-card span {
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.command-news-card strong {
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1rem, 1.35vw, 1.45rem);
  line-height: 1.08;
}

.command-stack-market {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
}

.command-market-card {
  min-height: 9rem;
  padding: 0.8rem;
}

.command-market-card strong {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.05rem;
}

.command-market-card div {
  margin-top: auto;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.36rem;
  font-weight: 700;
}

.command-market-card small {
  color: var(--text-dim);
  font-size: 0.72rem;
}

.command-market-card em {
  font-style: normal;
  font-weight: 800;
}

.command-market-card em.up {
  color: var(--ok);
}

.command-market-card em.down {
  color: var(--danger);
}

.command-market-card em.flat {
  color: var(--warn);
}

.command-osint-card {
  appearance: none;
  padding: 0.82rem 0.94rem;
  cursor: pointer;
}

.command-osint-card.is-active,
.command-osint-card:hover {
  border-color: rgba(255, 147, 88, 0.32);
  background:
    linear-gradient(90deg, rgba(255, 147, 88, 0.13), rgba(122, 247, 255, 0.05)),
    rgba(7, 17, 29, 0.88);
}

.command-osint-card strong {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.2rem;
}

.command-osint-card small {
  color: var(--text-soft);
  display: -webkit-box;
  font-size: 0.8rem;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.monitor-lead-news {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
}

.monitor-lead-news .news-feature {
  min-height: 0;
}

.monitor-lead-news .news-feature-link,
.monitor-lead-news .news-feature-link-empty {
  grid-template-columns: 1fr;
}

.monitor-lead-news .news-image {
  min-height: 13rem;
  border-right: 0;
  border-bottom: 1px solid rgba(122, 247, 255, 0.08);
}

.monitor-lead-news .news-feature-copy-compact {
  padding: 0.78rem 0.82rem 0.84rem;
}

.monitor-lead-news .news-feature-copy-compact h3 {
  font-size: clamp(0.95rem, 1.25vw, 1.34rem);
  line-height: 1.12;
  -webkit-line-clamp: 4;
}

.monitor-news-roll {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.monitor-news-roll .newsletter-roll {
  max-height: none;
}

@media (min-width: 1200px) {
  .tab-panel[data-tab-panel="centrum"].is-active {
    grid-template-rows: minmax(0, 1fr);
    height: calc(100vh - 7.4rem);
  }

  .tab-panel[data-tab-panel="centrum"].is-active .summary-grid {
    display: none;
  }

  .hero-grid {
    grid-template-columns: clamp(16rem, 19vw, 22rem) minmax(37rem, 1fr) clamp(18rem, 21vw, 24rem);
    gap: 0.62rem;
  }

  .monitor-column-right {
    grid-template-rows: minmax(14rem, 0.56fr) minmax(17rem, 1fr);
  }

  .command-center .world-map-stage {
    height: clamp(22rem, 47vh, 38rem);
    min-height: 0;
  }

  .command-controls {
    gap: 0.46rem;
  }

  .control-bank {
    padding: 0.42rem;
  }

  .segmented-control button,
  .assignment-control button {
    min-height: 1.72rem;
    padding: 0.24rem 0.52rem;
    font-size: 0.62rem;
  }

  .monitor-lead-news .news-image {
    min-height: clamp(6.6rem, 16vh, 12rem);
  }

  .monitor-lead-news .news-feature-copy-compact h3 {
    font-size: clamp(0.76rem, 0.95vw, 1rem);
  }

  .monitor-news-roll .newsletter-item {
    grid-template-columns: 3rem 1fr;
  }
}

@media (max-width: 1320px) {
  .hero-grid,
  .command-controls,
  .command-stack-market {
    grid-template-columns: 1fr;
  }

  .monitor-column-right {
    grid-template-rows: auto;
  }
}

@media (max-width: 720px) {
  .assignment-control,
  .segmented-control {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .assignment-control button,
  .segmented-control button {
    width: 100%;
  }

  .map-view-control {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .world-map .nato-map-layer .nato-label,
  .world-map .nato-map-layer .nato-echelon,
  .world-map .calibration-map-layer .calibration-label {
    display: none;
  }

  .world-map .nato-map-layer .nato-legend {
    font-size: 8px;
  }

  .command-center .world-map-stage {
    min-height: 22rem;
  }

  .console-head {
    display: grid;
  }

  .console-head strong {
    text-align: left;
  }
}

/* Final responsive guard: the large command header must scroll away on phones. */
@media (max-width: 720px) {
  .topbar {
    position: relative;
    top: auto;
  }

  .mobile-console-nav {
    top: 0.35rem;
  }
}

/* Control room, wariant B: ekran glowny nad piecioma monitorami. */
.monitor-incidents {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 0.62rem;
}

.incident-demo-label {
  width: fit-content;
  margin: 0;
  padding: 0.24rem 0.46rem;
  border: 1px solid rgba(255, 191, 94, 0.45);
  border-radius: 999px;
  background: rgba(255, 191, 94, 0.11);
  color: #ffd37b;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.monitor-incidents .monitor-copy {
  margin: 0;
  align-self: start;
}

.incident-monitor-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.6rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(122, 247, 255, 0.28);
  border-radius: 12px;
  background: rgba(122, 247, 255, 0.07);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.incident-monitor-link:hover {
  border-color: rgba(122, 247, 255, 0.65);
  background: rgba(122, 247, 255, 0.13);
}

@media (min-width: 1200px) {
  .tab-panel[data-tab-panel="centrum"].is-active {
    grid-template-rows: minmax(0, 1fr);
    height: calc(100vh - 7.4rem);
  }

  .hero-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: minmax(0, 2.2fr) minmax(12.5rem, 1fr);
    gap: 0.62rem;
    min-height: 0;
    height: 100%;
  }

  .monitor-column-left,
  .monitor-column-right {
    display: contents;
  }

  .monitor-shell-center {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .monitor-shell-side,
  .monitor-shell-incidents {
    grid-row: 2;
    min-width: 0;
    min-height: 0;
  }

  .monitor-column-left > .monitor-shell-side { grid-column: 1; }
  .monitor-column-left > .monitor-shell-sector { grid-column: 2; }
  .monitor-column-right > .monitor-shell-lead-news { grid-column: 3; }
  .monitor-column-right > .monitor-shell-news-roll { grid-column: 4; }
  .monitor-shell-incidents { grid-column: 5; }

  .monitor-shell > .monitor,
  .monitor-side,
  .monitor-center {
    min-height: 0;
    height: 100%;
  }

  .monitor-center {
    padding: 0.85rem 1rem;
  }

  .command-monitor-head {
    display: none;
  }

  .command-center .world-map-stage {
    height: clamp(20rem, 38vh, 32rem);
    min-height: 0;
  }

  .monitor-side {
    padding: 0.75rem;
  }

  .monitor-side .monitor-head h2 {
    font-size: clamp(1rem, 1.35vw, 1.45rem);
  }

  .monitor-side .kicker,
  .monitor-side .monitor-copy {
    font-size: 0.68rem;
    line-height: 1.32;
  }

  .monitor-side .monitor-head {
    gap: 0.45rem;
  }

  .monitor-lead-news .news-image {
    display: none;
  }

  .monitor-lead-news .news-feature-copy-compact {
    padding: 0.5rem;
  }

  .monitor-news-roll .newsletter-roll {
    min-height: 0;
  }

  .monitor-sector .sector-tab-nav {
    gap: 0.22rem;
  }

  .monitor-sector .sector-tab {
    padding: 0.35rem 0.4rem;
    font-size: 0.58rem;
  }

  .monitor-sector .poland-map-interactive {
    min-height: 8rem;
  }
}

/* Strategic HUD — visual direction based on the command-centre reference. */
:root {
  --bg: #020c17;
  --bg-soft: #071827;
  --panel: rgba(4, 17, 29, 0.94);
  --panel-strong: rgba(3, 13, 24, 0.98);
  --panel-edge: rgba(70, 211, 246, 0.42);
  --panel-edge-strong: rgba(79, 229, 255, 0.82);
  --text: #eefaff;
  --text-soft: #9cb9c8;
  --text-dim: #668194;
  --accent: #59e8ff;
  --accent-soft: rgba(62, 218, 250, 0.12);
  --alert: #ff4765;
  --alert-soft: rgba(255, 53, 87, 0.16);
  --ok: #69f1d2;
  --warn: #ffd369;
  --danger: #ff4263;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.48);
  --radius-xl: 2px;
  --radius-lg: 2px;
  --radius-md: 2px;
  --radius-sm: 2px;
  --max: 2048px;
}

html {
  background: #020b15;
}

body {
  background:
    radial-gradient(circle at 50% 8%, rgba(20, 108, 146, 0.17), transparent 40rem),
    linear-gradient(180deg, #020b15 0%, #04111e 58%, #020a13 100%);
}

body::before {
  background-image:
    linear-gradient(rgba(62, 204, 242, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 204, 242, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(62, 204, 242, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 204, 242, 0.025) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.86) 82%, transparent 100%);
}

body::after {
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.012) 0, rgba(255, 255, 255, 0.012) 1px, transparent 1px, transparent 4px),
    radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.42) 100%);
  opacity: 0.8;
}

::selection {
  background: rgba(67, 225, 255, 0.28);
  color: #fff;
}

.site-shell {
  width: min(calc(100% - 1rem), var(--max));
  padding-top: 0.45rem;
}

.topbar {
  position: relative;
  border: 1px solid rgba(68, 207, 241, 0.28);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(6, 23, 38, 0.98), rgba(2, 13, 24, 0.97)),
    var(--panel-strong);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), inset 0 -1px rgba(69, 218, 250, 0.08);
}

.topbar::before,
.topbar::after {
  content: "";
  position: absolute;
  bottom: -1px;
  height: 2px;
  pointer-events: none;
}

.topbar::before {
  left: 0;
  width: 29%;
  background: linear-gradient(90deg, var(--danger), rgba(255, 66, 99, 0.08));
  box-shadow: 0 0 12px rgba(255, 66, 99, 0.44);
}

.topbar::after {
  right: 0;
  width: 53%;
  background: linear-gradient(90deg, rgba(89, 232, 255, 0.08), var(--accent));
  box-shadow: 0 0 12px rgba(89, 232, 255, 0.34);
}

.brand {
  gap: 0.75rem;
}

.brand img {
  width: 62px;
  height: 62px;
  filter: drop-shadow(0 0 9px rgba(255, 73, 94, 0.24));
}

.brand strong {
  font-size: clamp(1.35rem, 1.7vw, 2rem);
  letter-spacing: 0.105em;
  line-height: 0.98;
}

.brand span {
  margin-top: 0.3rem;
  color: #ff526a;
  font-family: "Rajdhani", sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.tab-nav {
  gap: 0.36rem;
}

.tab-link,
.sector-tab,
.news-filter-button,
.segmented-control button,
.assignment-control button,
.map-layer-toggle {
  border-radius: 0 !important;
}

.tab-link {
  min-height: 2.2rem;
  padding: 0.45rem 0.72rem;
  border-color: rgba(80, 201, 233, 0.26);
  background: rgba(7, 29, 45, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.11em;
}

.tab-link:hover,
.tab-link.is-active {
  border-color: rgba(79, 228, 255, 0.72);
  background: linear-gradient(180deg, rgba(43, 170, 205, 0.24), rgba(6, 29, 45, 0.72));
  box-shadow: inset 0 -2px var(--accent), 0 0 16px rgba(55, 206, 239, 0.1);
}

.report-nav-link {
  border-color: rgba(255, 66, 99, 0.56);
  background: rgba(255, 43, 77, 0.1);
}

.status-chip,
.threat-status {
  border-radius: 0;
  border-color: rgba(73, 195, 227, 0.24);
  background: rgba(4, 21, 34, 0.7);
}

.status-chip {
  position: relative;
  overflow: hidden;
}

.status-chip::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.status-label,
.kicker {
  color: var(--accent);
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  letter-spacing: 0.17em;
}

.status-chip strong,
.threat-status-copy strong {
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.monitor-shell {
  padding: 0;
}

.monitor-shell::before,
.monitor-shell::after {
  display: none;
}

.monitor,
.summary-card,
.detail-summary,
.detail-card,
.info-card,
.report-card {
  border-radius: 0;
  border-color: rgba(73, 204, 238, 0.42);
  background:
    linear-gradient(180deg, rgba(7, 27, 43, 0.97), rgba(2, 13, 23, 0.98)),
    var(--panel);
  box-shadow: var(--shadow), inset 0 0 40px rgba(26, 126, 164, 0.06);
}

.monitor::before,
.summary-card::before,
.detail-summary::before,
.detail-card::before,
.info-card::before,
.report-card::before {
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(89, 232, 255, 0.09), transparent 16%, transparent 84%, rgba(89, 232, 255, 0.06)),
    linear-gradient(rgba(62, 202, 238, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62, 202, 238, 0.025) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
}

.monitor::after {
  inset: 5px;
  border-radius: 0;
  border-color: rgba(74, 211, 246, 0.08);
  box-shadow:
    inset 10px 0 0 -9px rgba(88, 229, 255, 0.72),
    inset -10px 0 0 -9px rgba(88, 229, 255, 0.42);
}

.monitor-head {
  position: relative;
  z-index: 3;
  margin: -0.56rem -0.66rem 0.48rem;
  padding: 0.4rem 0.62rem 0.38rem;
  align-items: center;
  border-bottom: 1px solid rgba(77, 214, 247, 0.42);
  background: linear-gradient(90deg, rgba(17, 62, 85, 0.72), rgba(5, 25, 40, 0.2));
}

.monitor-head::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(89, 232, 255, 0.72);
}

.monitor-head h1,
.monitor-head h2 {
  margin-top: 0.06rem;
  color: #f4fcff;
  line-height: 1;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.monitor-head h2 {
  font-size: 1.08rem;
}

.monitor-note,
.monitor-copy {
  color: #7895a6;
}

.market-card,
.market-batch-card,
.sector-tab-nav,
.sector-monitor-stage,
.news-filter-bar,
.news-feature,
.newsletter-item,
.control-bank,
.center-news-console,
.center-market-console,
.center-osint-console,
.command-news-card,
.command-market-card,
.command-osint-card,
.incident-demo-label,
.incident-monitor-link,
.conflict-tag,
.chip,
.voivodeship-chip {
  border-radius: 0 !important;
}

.market-card,
.newsletter-item,
.command-news-card,
.command-market-card,
.command-osint-card,
.voivodeship-chip {
  border-color: rgba(67, 189, 222, 0.2);
  background: rgba(8, 31, 47, 0.62);
}

.market-card::after {
  background: linear-gradient(90deg, var(--accent), transparent 80%);
  opacity: 0.6;
}

.delta.up,
.command-market-card em.up {
  color: #62ecd8;
}

.delta.down,
.command-market-card em.down {
  color: #ff4866;
}

.sector-tab-nav,
.news-filter-bar,
.control-bank {
  border-color: rgba(70, 201, 234, 0.24);
  background: rgba(3, 17, 29, 0.82);
}

.sector-tab.is-active,
.news-filter-button.is-active,
.segmented-control button.is-active,
.assignment-control button.is-active,
.map-layer-toggle.is-active {
  border-color: rgba(85, 231, 255, 0.68) !important;
  background: rgba(29, 126, 155, 0.24) !important;
  color: #eefdff !important;
  box-shadow: inset 0 -2px var(--accent), 0 0 13px rgba(62, 215, 246, 0.12) !important;
}

.map-shell,
.world-map-stage,
.poland-map-interactive {
  border-radius: 0 !important;
}

.command-center .world-map-stage {
  border-color: rgba(76, 215, 248, 0.42);
  background:
    linear-gradient(rgba(70, 212, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(70, 212, 246, 0.05) 1px, transparent 1px),
    radial-gradient(circle at 50% 46%, rgba(25, 108, 142, 0.2), transparent 58%),
    linear-gradient(180deg, rgba(5, 26, 42, 0.96), rgba(1, 11, 20, 0.99));
  background-size: 28px 28px, 28px 28px, auto, auto;
  box-shadow: inset 0 0 68px rgba(26, 131, 168, 0.15), 0 0 14px rgba(42, 202, 239, 0.08);
}

.jvm-region {
  filter: drop-shadow(0 0 2px rgba(79, 226, 255, 0.32));
}

.map-overlay {
  border-radius: 0;
  border-color: rgba(75, 213, 247, 0.28);
  background: rgba(2, 13, 23, 0.86);
  color: #8eafc0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.command-center .conflict-tag {
  border-color: rgba(86, 216, 247, 0.22);
  background: rgba(2, 12, 22, 0.88);
}

.command-center .conflict-tag:hover {
  border-color: rgba(255, 66, 99, 0.56);
  box-shadow: inset 3px 0 var(--danger), 0 0 16px rgba(255, 58, 91, 0.12);
}

.news-feature {
  border-color: rgba(67, 195, 226, 0.26);
  background: rgba(3, 15, 26, 0.82);
}

.news-feature-tape {
  background: linear-gradient(90deg, rgba(255, 53, 88, 0.2), rgba(7, 28, 44, 0.9));
  border-color: rgba(255, 66, 99, 0.38);
}

.newsletter-item.is-featured,
.newsletter-item:hover {
  border-color: rgba(255, 67, 98, 0.52);
  background: linear-gradient(90deg, rgba(255, 51, 86, 0.1), rgba(9, 34, 51, 0.76));
  box-shadow: inset 3px 0 #ff4263;
}

.threat-scale span {
  border-radius: 0;
}

.threat-scale span.is-current {
  box-shadow: inset 0 -3px var(--threat-color), 0 0 13px color-mix(in srgb, var(--threat-color), transparent 62%);
}

.incident-demo-label {
  border-color: rgba(255, 66, 99, 0.52);
  background: rgba(255, 45, 79, 0.12);
  color: #ff8295;
}

.incident-monitor-link {
  border-color: rgba(81, 218, 248, 0.4);
  background: rgba(38, 139, 169, 0.14);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (min-width: 1200px) {
  body {
    overflow: hidden;
  }

  .site-shell {
    width: min(calc(100% - 1rem), 2048px);
    height: 100vh;
    padding: 0.38rem 0;
  }

  .topbar {
    position: relative;
    top: auto;
    margin-bottom: 0.42rem;
    padding: 0.48rem 0.7rem 0.56rem;
  }

  .brand-bar {
    min-height: 3.5rem;
  }

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand strong {
    font-size: clamp(1.28rem, 1.5vw, 1.75rem);
  }

  .brand span {
    font-size: 0.68rem;
  }

  .status-bar {
    display: grid;
    grid-template-columns: minmax(10.5rem, 0.62fr) minmax(11.5rem, 0.72fr) minmax(17rem, 1.05fr) minmax(32rem, 2.2fr);
    gap: 0.42rem;
    margin-top: 0.38rem;
  }

  .status-chip {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.08rem 0.55rem;
    min-width: 0;
    min-height: 3rem;
    padding: 0.34rem 0.52rem;
  }

  .status-chip .status-label {
    grid-column: 1 / -1;
  }

  .status-chip strong {
    font-size: 0.78rem;
  }

  .status-chip small {
    overflow: hidden;
    color: #667f90;
    font-size: 0.56rem;
    line-height: 1.12;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #clockLocal {
    color: var(--accent);
    font-size: 1rem;
  }

  .threat-status {
    grid-template-columns: minmax(13rem, 0.9fr) minmax(22rem, 1.45fr);
    min-width: 0;
    padding: 0.32rem 0.48rem;
  }

  .threat-status-copy strong {
    font-size: 0.72rem;
  }

  .threat-status-copy small,
  .threat-legend {
    font-size: 0.5rem;
  }

  .threat-scale {
    gap: 0.2rem;
  }

  .threat-scale span {
    min-height: 1.62rem;
    font-size: 0.55rem;
  }

  .tab-panel[data-tab-panel="centrum"].is-active {
    display: grid;
    height: calc(100vh - 10.9rem);
    grid-template-rows: minmax(0, 1fr);
    overflow: hidden;
  }

  .tab-panel[data-tab-panel="centrum"].is-active .summary-grid {
    display: none;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: clamp(16rem, 19vw, 22rem) minmax(36rem, 1fr) clamp(17rem, 20vw, 23rem);
    grid-template-rows: minmax(0, 1fr) 5.2rem;
    gap: 0.48rem;
    height: 100%;
    min-height: 0;
  }

  .monitor-column {
    display: grid;
    gap: 0.48rem;
    min-height: 0;
  }

  .monitor-column-left {
    grid-column: 1;
    grid-row: 1;
    grid-template-rows: minmax(13rem, 0.76fr) minmax(18rem, 1.24fr);
  }

  .monitor-column-left > .monitor-shell-side {
    grid-column: 1;
    grid-row: 1;
  }

  .monitor-column-left > .monitor-shell-sector {
    grid-column: 1;
    grid-row: 2;
  }

  .monitor-shell-center {
    grid-column: 2;
    grid-row: 1;
    min-height: 0;
  }

  .monitor-column-right {
    grid-column: 3;
    grid-row: 1;
    grid-template-rows: minmax(14rem, 0.82fr) minmax(17rem, 1.18fr);
  }

  .monitor-column-right > .monitor-shell-lead-news {
    grid-column: 1;
    grid-row: 1;
  }

  .monitor-column-right > .monitor-shell-news-roll {
    grid-column: 1;
    grid-row: 2;
  }

  .monitor-shell-incidents {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 0;
  }

  .monitor-shell > .monitor,
  .monitor-side,
  .monitor-center {
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  .monitor {
    padding: 0.56rem 0.66rem 0.6rem;
  }

  .monitor-center {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 0.42rem;
  }

  .command-monitor-head {
    display: flex;
    margin-bottom: 0;
  }

  .command-monitor-head .kicker {
    font-size: 0.54rem;
  }

  .command-monitor-head h1 {
    font-size: clamp(1.05rem, 1.25vw, 1.45rem);
  }

  .command-monitor-head .monitor-note {
    max-width: 17rem;
    font-size: 0.57rem;
    line-height: 1.18;
  }

  .command-controls {
    grid-template-columns: minmax(21rem, 1.1fr) minmax(16rem, 0.9fr);
    gap: 0.38rem;
  }

  .control-bank {
    display: flex;
    align-items: center;
    gap: 0.32rem;
    min-height: 2.55rem;
    padding: 0.28rem 0.38rem;
  }

  .control-bank > span {
    margin-right: auto;
    font-size: 0.55rem;
    white-space: nowrap;
  }

  .segmented-control,
  .assignment-control {
    flex-wrap: nowrap;
    gap: 0.18rem;
  }

  .segmented-control button,
  .assignment-control button,
  .map-layer-toggle {
    min-height: 1.72rem;
    padding: 0.24rem 0.4rem;
    font-size: 0.53rem;
    white-space: nowrap;
  }

  .command-center .map-shell {
    display: grid;
    grid-template-rows: minmax(0, 1fr);
    gap: 0.36rem;
    height: 100%;
    min-height: 0;
    overflow: hidden;
  }

  .map-overlay {
    padding: 0.28rem 0.48rem;
    font-size: 0.55rem;
  }

  .command-center .world-map-stage {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    aspect-ratio: auto;
    padding-bottom: 3.1rem;
  }

  .command-center .world-map-container,
  .command-center .strategic-map,
  .command-center #strategicMap,
  .command-center #strategicMap .jvm-container,
  .command-center #strategicMap .jvm-container svg {
    width: 100%;
    height: 100%;
    min-height: 100%;
  }

  .command-center #centralPolandMap svg {
    transform: none;
    transform-origin: 50% 50%;
  }

  .command-center #centralPolandMap .poland-map-title,
  .command-center #centralPolandMap .poland-map-subtitle,
  .command-center #centralPolandMap .map-caption {
    display: none;
  }

  .command-center .conflict-strip {
    left: 0.48rem;
    right: 0.48rem;
    bottom: 0.48rem;
    gap: 0.28rem;
  }

  .command-center .conflict-tag {
    padding: 0.34rem 0.46rem;
  }

  .command-center .conflict-tag strong {
    font-size: 0.7rem;
  }

  .command-center .conflict-tag span {
    font-size: 0.54rem;
  }

  .monitor-side {
    padding: 0.56rem 0.66rem 0.6rem;
  }

  .monitor-side .monitor-head {
    min-height: 2.65rem;
    margin: -0.56rem -0.66rem 0.4rem;
  }

  .monitor-side .monitor-head h2 {
    font-size: 0.96rem;
  }

  .monitor-side .kicker,
  .monitor-side .monitor-note,
  .monitor-side .monitor-copy {
    font-size: 0.55rem;
    line-height: 1.2;
  }

  .monitor-left .market-board {
    gap: 0.22rem;
    margin-top: 0;
  }

  .monitor-left .market-card {
    padding: 0.32rem 0.42rem;
  }

  .monitor-left .market-price {
    margin-top: 0.12rem;
  }

  .monitor-left .market-price span {
    font-size: 0.88rem;
  }

  .monitor-left .delta {
    margin-top: 0.08rem;
  }

  .monitor-sector {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
  }

  .monitor-sector .sector-tab-nav {
    margin-bottom: 0.28rem;
    padding: 0.16rem;
  }

  .monitor-sector .sector-tab {
    min-height: 1.65rem;
    padding: 0.26rem 0.38rem;
    font-size: 0.53rem;
  }

  .monitor-sector .sector-tab-panels,
  .monitor-sector .sector-tab-panel,
  .monitor-sector .sector-monitor-stage,
  .monitor-sector .poland-map-interactive {
    min-height: 0;
    height: 100%;
  }

  .monitor-sector .monitor-copy {
    display: none;
  }

  .monitor-lead-news {
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
  }

  .monitor-lead-news .news-filter-bar {
    margin: 0 0 0.28rem;
  }

  .monitor-lead-news .news-feature,
  .monitor-lead-news .news-feature-link,
  .monitor-lead-news .news-feature-link-empty {
    min-height: 0;
    height: 100%;
  }

  .monitor-lead-news .news-feature-link,
  .monitor-lead-news .news-feature-link-empty {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .monitor-lead-news .news-image {
    display: block;
    min-height: 0;
    height: 100%;
    max-height: none;
  }

  .monitor-lead-news .news-feature-copy-compact {
    padding: 0.42rem 0.5rem;
  }

  .monitor-lead-news .news-feature-copy-compact h3 {
    font-size: 0.72rem;
    -webkit-line-clamp: 3;
  }

  .monitor-news-roll {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .monitor-news-roll .newsletter-roll {
    min-height: 0;
    max-height: none;
    margin-top: 0;
    gap: 0.22rem;
    overflow: auto;
  }

  .monitor-news-roll .newsletter-item {
    grid-template-columns: 2.7rem 1fr;
    padding: 0.34rem 0.4rem;
  }

  .monitor-news-roll .newsletter-title {
    font-size: 0.64rem;
    line-height: 1.12;
  }

  .monitor-incidents {
    display: grid;
    grid-template-columns: minmax(11rem, 0.7fr) auto minmax(26rem, 2.3fr) minmax(13rem, 0.75fr);
    grid-template-rows: 1fr;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0.68rem;
  }

  .monitor-incidents .monitor-head {
    min-height: 0;
    margin: -0.45rem 0 -0.45rem -0.68rem;
    padding: 0.44rem 0.62rem;
    align-self: stretch;
    border-right: 1px solid rgba(75, 211, 246, 0.36);
    border-bottom: 0;
  }

  .monitor-incidents .monitor-copy {
    font-size: 0.61rem;
    line-height: 1.18;
  }

  .monitor-incidents .incident-monitor-link {
    min-height: 2.4rem;
    padding: 0.42rem 0.62rem;
    font-size: 0.64rem;
  }
}

@media (max-width: 1199px) {
  .topbar {
    position: relative;
    top: auto;
  }

  .hero-grid {
    gap: 0.7rem;
  }

  .monitor-shell {
    padding: 0;
  }
}

@media (max-width: 720px) {
  .site-shell {
    width: min(calc(100% - 0.7rem), var(--max));
    padding-top: 0.35rem;
  }

  .topbar {
    padding: 0.55rem;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 1.2rem;
  }

  .brand span {
    font-size: 0.58rem;
  }

  .tab-nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .tab-link {
    width: 100%;
    padding: 0.42rem;
  }

  .status-chip,
  .threat-status {
    width: 100%;
  }

  .mobile-console-nav {
    border-radius: 0;
    border-color: rgba(75, 211, 246, 0.4);
    background: rgba(3, 16, 27, 0.96);
  }

  .mobile-console-nav button {
    border-radius: 0;
  }

  .monitor,
  .monitor-side,
  .monitor-center {
    border-radius: 0;
  }

  .monitor-head {
    margin: -0.95rem -1rem 0.7rem;
  }
}

/* O nas: czytelne wprowadzenie i ikony o stałym rozmiarze. */
.about-hero{padding:clamp(1.2rem,3vw,2.5rem);margin-bottom:1.7rem;border:1px solid rgba(122,247,255,.22);border-left:3px solid var(--accent);border-radius:var(--radius-lg);background:linear-gradient(115deg,rgba(31,88,110,.28),rgba(9,20,31,.5))}
.about-hero h2{max-width:24ch;margin:.5rem 0 .8rem;font-size:clamp(1.8rem,3.4vw,3rem);line-height:1.1}
.about-hero p{max-width:72ch;margin:0 0 1.2rem}.about-hero .support-link{gap:.65rem}
.about-section-heading h3{margin:.4rem 0;font:700 1.6rem/1.2 "Rajdhani",sans-serif}.about-section-heading p{margin:.5rem 0 1rem}
.about-card .support-goal{display:flex;flex-direction:column;align-items:flex-start;padding:1.25rem}
.about-card .support-goal-icon{flex:none;width:2.7rem;height:2.7rem;overflow:hidden}
.about-card .support-goal-icon svg{display:block;width:24px;height:24px;max-width:24px;max-height:24px;fill:none;stroke:currentColor}
.about-card .support-actions .support-link{gap:.5rem}.about-card .support-card p{margin:0}
@media(max-width:720px){.about-card .about-grid{grid-template-columns:1fr}.about-hero .support-link{width:100%;box-sizing:border-box}}
