:root {
  --bg: #0d1214;
  --rail: #13191c;
  --panel: #182023;
  --panel-2: #202b2f;
  --line: #314146;
  --text: #eef5f3;
  --muted: #98a9ad;
  --cyan: #49b7c8;
  --green: #53c78c;
  --amber: #f2b84b;
  --red: #d84a4a;
  --purple: #9f7aea;
  --ink: #071012;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-front {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 18%, rgba(73, 183, 200, .18), transparent 28%),
    linear-gradient(145deg, #0d1214 0%, #111c20 52%, #0d1214 100%);
  border-bottom: 1px solid var(--line);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  padding: 0 28px;
  background: rgba(13, 18, 20, .86);
  border-bottom: 1px solid rgba(49, 65, 70, .76);
  backdrop-filter: blur(18px);
}

.site-logo {
  display: grid;
  place-items: center;
  width: 54px;
  height: 40px;
  color: var(--ink);
  background: var(--green);
  border-radius: 6px;
  font-weight: 950;
}

.site-nav div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a:not(.site-logo) {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.site-nav-button,
.primary-button {
  min-height: 40px;
  color: var(--ink);
  background: var(--green);
  border: 1px solid var(--green);
  border-radius: 6px;
  padding: 0 14px;
  cursor: pointer;
  font-weight: 900;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 42px;
  min-height: calc(100vh - 68px);
  padding: 54px clamp(22px, 5vw, 72px);
}

.hero h1 {
  max-width: 900px;
  font-size: clamp(42px, 7vw, 92px);
  line-height: .94;
}

.hero-lede {
  max-width: 760px;
  margin-top: 22px;
  color: #c6d2d0;
  font-size: clamp(17px, 1.5vw, 22px);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.primary-button {
  min-height: 48px;
  padding: 0 18px;
}

.secondary-link {
  color: var(--text);
  border-bottom: 1px solid var(--green);
  font-weight: 900;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 600px;
  margin-top: 36px;
}

.hero-proof article,
.hero-console,
.website-section,
.capability-grid article,
.timeline article {
  background: rgba(24, 32, 35, .92);
  border: 1px solid var(--line);
}

.hero-proof article {
  padding: 14px;
}

.hero-proof strong,
.hero-proof span {
  display: block;
}

.hero-proof strong {
  font-size: 30px;
}

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

.hero-console {
  min-height: 620px;
  display: grid;
  grid-template-rows: auto minmax(320px, 1fr) auto;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0, 0, 0, .35);
}

.console-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.console-top span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.console-top strong {
  color: var(--green);
  font-size: 12px;
}

.console-map {
  position: relative;
  min-height: 360px;
  background:
    linear-gradient(rgba(73, 183, 200, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 183, 200, .08) 1px, transparent 1px),
    linear-gradient(150deg, #0c1a1f, #152327);
  background-size: 34px 34px, 34px 34px, auto;
}

.console-zone {
  position: absolute;
  left: 17%;
  top: 18%;
  width: 58%;
  height: 58%;
  border: 1px dashed rgba(83, 199, 140, .65);
  transform: skew(-10deg);
}

.track {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--red);
  box-shadow: 0 0 0 10px rgba(216, 74, 74, .12);
}

.t1 {
  left: 28%;
  top: 38%;
}

.t2 {
  left: 55%;
  top: 54%;
  background: var(--amber);
}

.t3 {
  left: 70%;
  top: 34%;
  background: var(--green);
}

.console-alert {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 24px;
  padding: 14px;
  background: rgba(13, 18, 20, .9);
  border: 1px solid var(--red);
}

.console-alert strong,
.console-alert span,
.console-feed strong,
.console-feed span {
  display: block;
}

.console-alert span,
.console-feed span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}

.console-feed {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}

.console-feed article {
  padding: 13px;
  border-left: 1px solid var(--line);
}

.console-feed article:first-child {
  border-left: 0;
}

.website-section {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto 22px;
  padding: clamp(22px, 4vw, 42px);
}

.section-heading {
  max-width: 850px;
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.05;
}

.section-heading p:last-child {
  margin-top: 12px;
  color: #c6d2d0;
  line-height: 1.55;
}

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

.capability-grid article {
  min-height: 220px;
  padding: 16px;
}

.capability-grid span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.capability-grid strong {
  display: block;
  margin-top: 12px;
  font-size: 18px;
}

.capability-grid p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

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

.timeline article {
  padding: 16px;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.msas-command {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  color: #d8fbff;
  background: #020506;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  border-top: 1px solid rgba(73, 183, 200, .28);
}

.ops-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #020506;
}

.hud-frame {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  pointer-events: none;
}

.hud-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(83, 244, 255, .22);
  border-radius: 20px;
  box-shadow: inset 0 0 42px rgba(73, 183, 200, .08);
  pointer-events: none;
}

.hud-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0, rgba(255, 255, 255, .025) 1px, transparent 1px, transparent 5px);
  mix-blend-mode: screen;
  opacity: .28;
  pointer-events: none;
}

.mission-topbar {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 22px;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(180px, 1fr);
  align-items: start;
  gap: 20px;
  pointer-events: auto;
}

.mission-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.globe-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(111, 239, 255, .85);
  background:
    linear-gradient(90deg, transparent 47%, rgba(111, 239, 255, .75) 49%, rgba(111, 239, 255, .75) 51%, transparent 53%),
    linear-gradient(transparent 47%, rgba(111, 239, 255, .75) 49%, rgba(111, 239, 255, .75) 51%, transparent 53%);
  box-shadow: 0 0 18px rgba(73, 183, 200, .55);
}

.mission-brand strong {
  display: block;
  font-size: 34px;
  letter-spacing: .5em;
  color: #f0fdff;
  text-shadow: 0 0 16px rgba(73, 183, 200, .8);
}

.mission-brand em {
  display: block;
  margin-top: 8px;
  color: rgba(133, 244, 255, .55);
  font-size: 11px;
  font-style: normal;
  letter-spacing: .38em;
  text-transform: uppercase;
}

.mode-toggle {
  display: flex;
  padding: 4px;
  border: 1px solid rgba(73, 183, 200, .26);
  border-radius: 999px;
  background: rgba(7, 11, 16, .74);
  box-shadow: 0 0 30px rgba(73, 183, 200, .12);
}

.mode-toggle button {
  min-width: 104px;
  height: 34px;
  color: rgba(216, 251, 255, .54);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 900;
}

.mode-toggle button.is-active {
  color: #87efff;
  background: rgba(73, 183, 200, .18);
  box-shadow: inset 0 0 0 1px rgba(73, 183, 200, .75), 0 0 18px rgba(73, 183, 200, .28);
}

.mission-state {
  text-align: right;
  letter-spacing: .42em;
  text-transform: uppercase;
}

.mission-state span,
.mission-state strong {
  display: block;
}

.mission-state span {
  color: rgba(216, 251, 255, .35);
  font-size: 11px;
}

.mission-state strong {
  margin-top: 9px;
  color: #72eaff;
  font-size: 22px;
}

.left-hud,
.right-hud {
  position: absolute;
  top: 142px;
  bottom: 136px;
  width: min(395px, 25vw);
  pointer-events: auto;
}

.left-hud {
  left: 28px;
}

.right-hud {
  right: 28px;
}

.classification {
  margin: 0 0 11px;
  color: #64f3ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.left-hud h2 {
  margin: 0 0 12px;
  color: #72eaff;
  font-size: 22px;
  letter-spacing: .32em;
  text-transform: uppercase;
}

.hud-summary {
  max-width: 320px;
  color: rgba(216, 251, 255, .62);
  font-size: 12px;
  line-height: 1.6;
}

.hud-block,
.control-module,
.floating-card {
  background: rgba(8, 11, 17, .76);
  border: 1px solid rgba(88, 227, 244, .23);
  border-radius: 12px;
  box-shadow: 0 0 32px rgba(0, 0, 0, .44), inset 0 0 20px rgba(73, 183, 200, .04);
  backdrop-filter: blur(10px);
}

.hud-block {
  margin-top: 14px;
  overflow: hidden;
}

.hud-block-title {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  color: rgba(216, 251, 255, .68);
  background: rgba(13, 19, 28, .82);
  border: 0;
  border-bottom: 1px solid rgba(88, 227, 244, .16);
  letter-spacing: .22em;
  text-transform: uppercase;
}

.layer-list,
.ops-threat-list {
  display: grid;
  gap: 8px;
  padding: 10px;
}

.layer-list label {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(216, 251, 255, .76);
  font-size: 11px;
  letter-spacing: .08em;
}

.layer-list input {
  accent-color: #48e8ff;
}

.ops-threat-item {
  display: grid;
  gap: 4px;
  padding: 9px 10px;
  color: #d8fbff;
  background: rgba(11, 18, 27, .78);
  border: 1px solid rgba(88, 227, 244, .14);
  border-left: 3px solid #48e8ff;
  border-radius: 8px;
  cursor: pointer;
}

.ops-threat-item.is-selected,
.ops-threat-item:hover {
  border-color: rgba(93, 238, 255, .78);
  background: rgba(13, 40, 48, .72);
}

.ops-threat-item.critical {
  border-left-color: #ff4d5b;
}

.ops-threat-item.high {
  border-left-color: #ffca5c;
}

.ops-threat-item strong {
  font-size: 12px;
}

.ops-threat-item span {
  color: rgba(216, 251, 255, .5);
  font-size: 11px;
}

.rec-line {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  color: #55e9ff;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.rec-line span {
  width: 10px;
  height: 10px;
  margin-top: 3px;
  border-radius: 50%;
  background: #ff3344;
  box-shadow: 0 0 15px rgba(255, 51, 68, .8);
}

.control-module {
  margin-top: 18px;
  padding: 12px;
}

.control-module h3 {
  margin: 0 0 12px;
  color: #61eaff;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.control-module label {
  min-width: 0;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  color: rgba(216, 251, 255, .62);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.control-module input {
  accent-color: #22ddff;
}

.control-module select {
  min-height: 38px;
  color: #d8fbff;
  background: rgba(6, 8, 12, .82);
  border: 1px solid rgba(88, 227, 244, .24);
  border-radius: 7px;
}

.evidence-module {
  max-height: 330px;
  overflow: auto;
}

.ops-evidence-card {
  display: grid;
  gap: 8px;
}

.ops-evidence-card strong {
  color: #fff;
  font-size: 13px;
}

.ops-evidence-card p,
.ops-evidence-card li {
  color: rgba(216, 251, 255, .66);
  font-size: 11px;
  line-height: 1.5;
}

.ops-evidence-card ul {
  margin: 0;
  padding-left: 18px;
}

.confidence-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.confidence-mini span {
  padding: 8px;
  color: #70edff;
  border: 1px solid rgba(88, 227, 244, .18);
  background: rgba(73, 183, 200, .07);
  border-radius: 7px;
  font-size: 11px;
}

.floating-card {
  position: absolute;
  left: 50%;
  bottom: 176px;
  width: 260px;
  padding: 13px;
  transform: translateX(-50%);
  pointer-events: auto;
}

.floating-card span {
  display: block;
  color: rgba(216, 251, 255, .42);
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.floating-card strong {
  display: block;
  margin-top: 8px;
  color: #fff;
}

.floating-card p {
  margin-top: 5px;
  color: rgba(216, 251, 255, .64);
  font-size: 12px;
}

.timeline-hud {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  min-height: 130px;
  padding: 13px 18px 14px;
  background: linear-gradient(0deg, rgba(5, 8, 12, .96), rgba(5, 8, 12, .74));
  border-top: 1px solid rgba(88, 227, 244, .22);
  pointer-events: auto;
}

.play-button {
  position: absolute;
  left: 0;
  top: 14px;
  min-width: 42px;
  height: 42px;
  color: #061013;
  background: #61eaff;
  border: 0;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-weight: 900;
}

.time-track {
  position: relative;
  height: 30px;
  margin: 0 0 8px 56px;
  border-bottom: 1px solid rgba(216, 251, 255, .24);
}

.time-dot {
  position: absolute;
  bottom: -5px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #48e8ff;
  box-shadow: 0 0 12px currentColor;
}

.time-dot.alert {
  background: #ff4d5b;
}

.time-dot.warning {
  background: #ffca5c;
}

.speed-row,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-left: 0;
}

.speed-row span {
  color: rgba(216, 251, 255, .48);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.speed,
.chip {
  min-height: 28px;
  color: rgba(216, 251, 255, .78);
  background: rgba(13, 19, 28, .86);
  border: 1px solid rgba(88, 227, 244, .24);
  border-radius: 8px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
}

.speed {
  padding: 0 10px;
}

.chip {
  padding: 0 13px;
  border-radius: 999px;
}

.speed.is-active,
.chip.is-active {
  color: #061013;
  background: #61eaff;
}

.chip-row {
  margin-top: 8px;
}

.legacy-dashboard {
  display: none;
}

.site-front {
  display: none;
}

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

.side-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  padding: 16px 10px;
  background: var(--rail);
  border-right: 1px solid var(--line);
}

.brand-mark,
.rail-button {
  width: 52px;
  border-radius: 6px;
  font-weight: 900;
}

.brand-mark {
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  color: var(--ink);
  background: var(--green);
}

.rail-button {
  min-height: 42px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 12px;
}

.rail-button:hover,
.rail-button.is-active {
  color: var(--text);
  background: var(--panel-2);
  border-color: var(--line);
}

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

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 16px;
}

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

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.05;
}

h2 {
  font-size: 16px;
}

h3 {
  font-size: 14px;
}

.subhead,
.panel-heading p,
small,
.metric-card span,
.metric-card small,
.ops-strip span,
label,
.query-box span {
  color: var(--muted);
}

.subhead {
  margin-top: 8px;
}

.ops-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  border: 1px solid var(--line);
  background: var(--panel);
}

.ops-strip div {
  padding: 12px;
  border-left: 1px solid var(--line);
}

.ops-strip div:first-child {
  border-left: 0;
}

.ops-strip span,
.ops-strip strong {
  display: block;
  white-space: nowrap;
}

.ops-strip span {
  margin-bottom: 5px;
  font-size: 11px;
}

.control-band {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 12px;
  padding: 14px;
  margin-bottom: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
}

label,
.query-box {
  display: grid;
  gap: 6px;
  min-width: 180px;
  font-size: 12px;
  font-weight: 800;
}

.query-box {
  flex: 1 1 340px;
}

select,
input[type="search"] {
  min-height: 38px;
  width: 100%;
  color: var(--text);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
}

input[type="range"] {
  accent-color: var(--green);
}

.ghost-button {
  min-height: 38px;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 12px;
  cursor: pointer;
}

.view-panel {
  display: none;
}

.view-panel.is-visible {
  display: block;
}

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

.metric-card,
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
}

.metric-card {
  min-height: 112px;
  padding: 15px;
}

.metric-card strong {
  display: block;
  margin: 8px 0 7px;
  font-size: 32px;
  line-height: 1;
}

.dashboard-grid,
.wide-grid {
  display: grid;
  gap: 18px;
}

.dashboard-grid {
  grid-template-columns: minmax(420px, 1.2fr) minmax(330px, .8fr);
}

.wide-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
}

.panel {
  min-width: 0;
  padding: 16px;
}

.panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}

.panel-heading p {
  margin-top: 4px;
  font-size: 12px;
}

.map-panel {
  grid-row: span 2;
}

#selectedScope {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.maritime-map {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  background: linear-gradient(135deg, #0b171d, #172227 58%, #101718);
  border: 1px solid var(--line);
}

.sea-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(73, 183, 200, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(73, 183, 200, .09) 1px, transparent 1px);
  background-size: 42px 42px;
}

.india-coast {
  position: absolute;
  left: 31%;
  top: 11%;
  width: 31%;
  height: 76%;
  border-left: 3px solid rgba(83, 199, 140, .8);
  border-bottom: 3px solid rgba(83, 199, 140, .7);
  transform: skew(-12deg);
}

.map-label,
.zone {
  position: absolute;
  color: rgba(238, 245, 243, .33);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.label-west {
  left: 8%;
  top: 16%;
}

.label-east {
  right: 8%;
  top: 18%;
}

.zone {
  border: 1px dashed rgba(73, 183, 200, .55);
  padding: 8px 10px;
}

.zone-eez {
  left: 11%;
  bottom: 13%;
}

.zone-offshore {
  left: 18%;
  top: 38%;
  border-color: rgba(242, 184, 75, .7);
}

.region-chip {
  position: absolute;
  width: min(210px, 35%);
  min-height: 72px;
  padding: 10px;
  text-align: left;
  color: var(--text);
  background: rgba(24, 32, 35, .96);
  border: 1px solid var(--line);
  border-left: 4px solid var(--cyan);
  cursor: pointer;
}

.region-chip:hover,
.region-chip.is-selected {
  border-color: var(--green);
  background: #21312f;
}

.region-chip strong,
.region-chip span {
  display: block;
}

.region-chip span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.contact-point {
  position: absolute;
  width: 16px;
  height: 16px;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 0 8px rgba(216, 74, 74, .12);
}

.contact-point.critical {
  background: var(--red);
}

.contact-point.high {
  background: var(--amber);
}

.contact-point.medium {
  background: var(--green);
}

.contact-point.low {
  background: var(--cyan);
}

.queue,
.stack-list,
.evidence-chain,
.copilot-panel,
.commander-cards,
.governance-grid,
.feedback-loop {
  display: grid;
  gap: 10px;
}

.queue-item,
.stack-item,
.commander-card,
.copilot-card,
.governance-grid article,
.feedback-loop article,
.flow-mini article,
.evidence-item {
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.queue-item,
.stack-item,
.commander-card,
.copilot-card,
.governance-grid article,
.feedback-loop article {
  padding: 12px;
}

.queue-item {
  cursor: pointer;
}

.queue-item:hover {
  border-color: var(--green);
}

.queue-top,
.contact-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.queue-item p,
.copilot-card p,
.commander-card p,
.feedback-loop p {
  margin-top: 8px;
  color: #c8d2d0;
  font-size: 13px;
}

.score-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 26px;
  padding: 0 8px;
  color: var(--ink);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.score-pill.critical {
  background: var(--red);
  color: #fff;
}

.score-pill.high {
  background: var(--amber);
}

.score-pill.medium {
  background: var(--green);
}

.score-pill.low {
  background: var(--cyan);
}

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

.flow-mini article {
  min-height: 92px;
  padding: 12px;
}

.flow-mini span,
.stack-item span,
.governance-grid span,
.feedback-loop span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

canvas {
  width: 100%;
  max-width: 100%;
  background: #12191c;
  border: 1px solid var(--line);
}

.contact-header {
  align-items: flex-start;
  padding: 14px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.contact-header span {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-header p {
  margin-top: 6px;
  color: var(--muted);
}

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

.confidence-grid article {
  padding: 12px;
  background: #12191c;
  border: 1px solid var(--line);
}

meter {
  display: block;
  width: 100%;
  height: 14px;
  margin: 10px 0 6px;
}

.evidence-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  min-height: 64px;
}

.evidence-item span {
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--green);
  font-weight: 900;
}

.evidence-item p {
  padding: 12px;
  color: #d6dfdd;
}

.layer-stack {
  display: grid;
  gap: 10px;
}

.layer-card {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr);
  min-height: 94px;
  background: var(--panel-2);
  border: 1px solid var(--line);
}

.layer-card > strong {
  display: grid;
  place-items: center;
  font-size: 20px;
  color: var(--ink);
  background: var(--green);
}

.layer-card > div {
  padding: 12px;
}

.layer-card span {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  margin: 8px 6px 0 0;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #d8e2e0;
  font-size: 12px;
}

.diagram-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.diagram-tab {
  min-height: 34px;
  color: var(--muted);
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
  cursor: pointer;
}

.diagram-tab.is-active {
  color: var(--ink);
  background: var(--green);
}

.diagram-image {
  display: block;
  width: 100%;
  max-height: 580px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--line);
}

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

.feedback-loop article {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 12px;
  align-items: start;
}

.feedback-loop article span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0;
  color: var(--ink);
  background: var(--green);
  border-radius: 50%;
  font-weight: 900;
}

@media (max-width: 1120px) {
  .mission-topbar {
    grid-template-columns: 1fr;
  }

  .mode-toggle {
    width: max-content;
  }

  .mission-state {
    text-align: left;
  }

  .left-hud,
  .right-hud {
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: auto;
    margin: 0 18px 18px;
  }

  .left-hud {
    padding-top: 190px;
  }

  .right-hud {
    padding-bottom: 160px;
  }

  .floating-card {
    left: 18px;
    bottom: 146px;
    transform: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

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

  .topbar,
  .dashboard-grid,
  .wide-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .kpi-grid,
  .ops-strip,
  .governance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 740px) {
  .msas-command {
    min-height: 1180px;
  }

  .mission-brand strong {
    font-size: 22px;
    letter-spacing: .24em;
  }

  .mission-brand em {
    letter-spacing: .22em;
  }

  .left-hud {
    padding-top: 180px;
  }

  .floating-card {
    width: calc(100% - 36px);
  }

  .timeline-hud {
    min-height: 190px;
  }

  .site-nav {
    position: static;
    align-items: flex-start;
    padding: 14px;
  }

  .site-nav,
  .site-nav div,
  .hero-actions {
    flex-direction: column;
  }

  .site-nav div,
  .hero-actions {
    align-items: stretch;
    width: 100%;
  }

  .site-nav-button,
  .primary-button {
    width: 100%;
  }

  .hero {
    padding: 34px 14px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .hero-proof,
  .console-feed,
  .capability-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .hero-console {
    min-height: 560px;
  }

  .website-section {
    width: calc(100% - 28px);
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .side-rail {
    position: static;
    height: auto;
    flex-direction: row;
    overflow-x: auto;
  }

  .workspace {
    padding: 14px;
  }

  .kpi-grid,
  .ops-strip,
  .flow-mini,
  .confidence-grid,
  .governance-grid {
    grid-template-columns: 1fr;
  }

  .maritime-map {
    min-height: 720px;
  }

  .region-chip {
    width: 72%;
    left: 14% !important;
  }

  .region-chip:nth-of-type(3) {
    top: 24% !important;
  }
}
