:root {
  color-scheme: dark;
  --bg: #000000;
  --panel: #000000;
  --panel-2: #000000;
  --text: #edf4f2;
  --text-strong: #ffffff;
  --muted: #9fb3ad;
  --accent: #62d6a4;
  --accent-blue: #67b7ff;
  --accent-rose: #ff5c8a;
  --danger: #ff4f73;
  --warning: #f4c95d;
  --orange: #ff9f43;
  --line: #2f3b40;
  --content-max: 1180px;
}

html {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #000;
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

.shell {
  width: min(var(--content-max), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 40px;
}

.shell:has(> .public-nav),
.shell:has(> .admin-topbar) {
  padding-top: 76px;
}

body:has(.map-panel-primary) .shell {
  padding: 76px 0 40px;
  width: 100%;
}

body:has(.map-panel-primary) .shell > section:not(.map-panel-primary) {
  margin-left: auto;
  margin-right: auto;
  width: min(1180px, calc(100% - 32px));
}

.public-nav {
  align-items: center;
  background: #000;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  display: grid;
  column-gap: clamp(8px, 1vw, 14px);
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  margin-left: calc(50% - 50vw);
  min-height: 58px;
  padding: 9px max(16px, calc(calc((100vw - var(--content-max)) / 2) + 16px));
  left: 0;
  margin-left: 0;
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 1000;
}

.public-nav,
.admin-topbar {
  animation: navDrop 420ms ease both;
}

.public-nav-menu {
  align-items: center;
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  justify-content: center;
  min-width: 0;
  overflow: visible;
  white-space: nowrap;
}

.public-nav a {
  color: var(--muted);
  font-size: 0.9rem;
  position: relative;
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.public-nav .public-brand {
  align-items: center;
  display: inline-flex;
  padding: 0;
}

.public-brand img {
  display: block;
  height: 48px;
  max-width: min(280px, 46vw);
  object-fit: contain;
  width: auto;
}

.public-customer-actions {
  align-items: stretch;
  align-self: center;
  display: flex;
  gap: 8px;
  height: 38px;
  justify-self: end;
  line-height: 1;
  white-space: nowrap;
}

.public-nav-form {
  display: flex;
  margin: 0;
}

.public-nav-form button {
  align-items: center;
  appearance: none;
  background: rgba(98, 214, 164, 0.08);
  border: 1px solid rgba(98, 214, 164, 0.22);
  border-radius: 6px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 0.9rem;
  height: 38px;
  justify-content: center;
  line-height: 1;
  min-height: 38px;
  padding: 0 11px;
  width: auto;
}

.public-nav-form button:hover,
.public-nav-form button:focus-visible {
  border-color: rgba(98, 214, 164, 0.46);
  color: var(--text);
}

.public-nav-primary,
.public-menu-group > button {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--muted);
  display: inline-flex;
  gap: 7px;
  min-height: 36px;
  padding: 7px 9px;
}

.public-nav-primary::after,
.public-menu-group > button::after,
.admin-nav-primary::after,
.admin-menu-group > button::after {
  background: var(--accent);
  border-radius: 999px;
  bottom: 3px;
  content: "";
  height: 2px;
  left: 10px;
  opacity: 0;
  position: absolute;
  right: 10px;
  transform: scaleX(0.4);
  transform-origin: center;
  transition: opacity 160ms ease, transform 160ms ease;
}

.public-nav-primary:hover::after,
.public-nav-primary:focus-visible::after,
.public-menu-group > button:hover::after,
.public-menu-group > button:focus-visible::after,
.admin-nav-primary:hover::after,
.admin-nav-primary:focus-visible::after,
.admin-menu-group > button:hover::after,
.admin-menu-group > button:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.public-menu-group {
  position: relative;
}

.public-menu-group > button {
  cursor: default;
  font: inherit;
  margin: 0;
  width: auto;
}

.public-menu {
  background: #000000;
  border: 1px solid rgba(98, 214, 164, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
  display: none;
  left: 0;
  min-width: 190px;
  padding: 8px;
  position: absolute;
  top: 100%;
  z-index: 60;
}

.public-menu::before {
  bottom: 100%;
  content: "";
  height: 10px;
  left: 0;
  position: absolute;
  right: 0;
}

.public-menu a {
  border-radius: 6px;
  display: block;
  padding: 9px 10px;
  white-space: nowrap;
}

.public-menu-group:hover .public-menu,
.public-menu-group:focus-within .public-menu {
  display: block;
}

.public-mobile-menu {
  display: none;
  justify-self: end;
  min-width: 0;
  position: relative;
}

.public-mobile-menu summary {
  align-items: center;
  background: rgba(98, 214, 164, 0.11);
  border: 1px solid rgba(98, 214, 164, 0.25);
  border-radius: 6px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  list-style: none;
  min-height: 38px;
  padding: 8px 11px;
  user-select: none;
}

.public-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.hamburger-lines {
  display: inline-grid;
  gap: 4px;
  height: 18px;
  place-content: center;
  width: 20px;
}

.hamburger-lines i {
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(98, 214, 164, 0.35);
  display: block;
  height: 2px;
  transform-origin: center;
  transition: transform 160ms ease, opacity 160ms ease, width 160ms ease;
  width: 20px;
}

.public-mobile-menu summary:hover .hamburger-lines i:nth-child(1),
.admin-mobile-menu summary:hover .hamburger-lines i:nth-child(1),
.public-mobile-menu summary:focus-visible .hamburger-lines i:nth-child(1),
.admin-mobile-menu summary:focus-visible .hamburger-lines i:nth-child(1) {
  transform: translateX(2px);
  width: 16px;
}

.public-mobile-menu summary:hover .hamburger-lines i:nth-child(3),
.admin-mobile-menu summary:hover .hamburger-lines i:nth-child(3),
.public-mobile-menu summary:focus-visible .hamburger-lines i:nth-child(3),
.admin-mobile-menu summary:focus-visible .hamburger-lines i:nth-child(3) {
  transform: translateX(-2px);
  width: 14px;
}

.public-mobile-menu[open] .hamburger-lines i:nth-child(1),
.admin-mobile-menu[open] .hamburger-lines i:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
  width: 20px;
}

.public-mobile-menu[open] .hamburger-lines i:nth-child(2),
.admin-mobile-menu[open] .hamburger-lines i:nth-child(2) {
  opacity: 0;
}

.public-mobile-menu[open] .hamburger-lines i:nth-child(3),
.admin-mobile-menu[open] .hamburger-lines i:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
  width: 20px;
}


.public-mobile-panel {
  background: #000000;
  border: 1px solid rgba(98, 214, 164, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  display: grid;
  gap: 8px;
  margin-top: 8px;
  max-height: calc(100dvh - 78px);
  overflow-y: auto;
  padding: 10px;
  left: 16px;
  position: fixed;
  right: auto;
  top: 58px;
  width: min(360px, calc(100vw - 32px));
  z-index: 1100;
}

.public-mobile-panel section {
  border-top: 1px solid rgba(98, 214, 164, 0.13);
  display: grid;
  gap: 4px;
  padding-top: 8px;
}

.public-mobile-panel p {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0 0 2px;
  text-transform: uppercase;
}

.public-mobile-panel a {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--text);
  display: flex;
  gap: 8px;
  min-height: 40px;
  overflow-wrap: anywhere;
  padding: 9px 10px;
  text-align: left;
  width: 100%;
}

.public-nav-primary:hover,
.public-nav-primary:focus-visible,
.public-menu-group > button:hover,
.public-menu-group > button:focus-visible,
.public-menu a:hover,
.public-menu a:focus-visible,
.public-mobile-panel a:hover,
.public-mobile-panel a:focus-visible {
  background: rgba(98, 214, 164, 0.11);
  border-color: rgba(98, 214, 164, 0.24);
  color: var(--text);
}

.public-login-link {
  align-items: center;
  background: rgba(98, 214, 164, 0.13);
  border: 1px solid rgba(98, 214, 164, 0.38);
  border-radius: 6px;
  color: var(--text) !important;
  display: inline-flex;
  gap: 7px;
  height: 38px;
  justify-self: end;
  line-height: 1;
  min-height: 38px;
  padding: 0 11px;
}

.public-nav > .public-login-link {
  align-self: center;
  justify-self: end;
}

.public-customer-actions .public-login-link {
  justify-self: auto;
}

.public-login-link:hover,
.public-login-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(98, 214, 164, 0.11);
  transform: translateY(-1px);
}

.sr-only {
  clip: rect(0 0 0 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.intel-summary-modal {
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.28);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.66);
  color: var(--text);
  max-width: min(560px, calc(100vw - 28px));
  padding: 24px;
  width: 100%;
}

.intel-summary-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.modal-action-row {
  border-top: 1px solid rgba(98, 214, 164, 0.14);
  display: flex;
  justify-content: flex-end;
  margin: 22px 0 0;
  padding-top: 16px;
}

.intel-summary-modal .modal-close {
  background: rgba(98, 214, 164, 0.12);
  border: 1px solid rgba(98, 214, 164, 0.34);
  color: var(--text);
  margin: 0;
  max-width: max-content;
  min-height: 38px;
  padding: 8px 14px;
  width: auto;
}

.intel-summary-modal .modal-close:hover,
.intel-summary-modal .modal-close:focus-visible {
  background: rgba(98, 214, 164, 0.18);
  border-color: rgba(98, 214, 164, 0.52);
}

.modal-meta-grid {
  border-top: 1px solid rgba(98, 214, 164, 0.14);
  display: grid;
  gap: 8px 12px;
  grid-template-columns: minmax(90px, 0.32fr) minmax(0, 1fr);
  margin: 18px 0 0;
  padding-top: 14px;
}

.modal-meta-grid dt {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.modal-meta-grid dd {
  color: var(--muted);
  margin: 0;
  overflow-wrap: anywhere;
}

.masthead {
  padding: 56px 0 30px;
}

.shell > section,
.shell > footer {
  animation: sectionRise 520ms ease both;
}

.shell > section:nth-of-type(2) {
  animation-delay: 50ms;
}

.shell > section:nth-of-type(3) {
  animation-delay: 90ms;
}

.observatory-hero {
  align-items: end;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 230px;
}

.observatory-hero h1 {
  max-width: 960px;
}

.hero-status {
  background: rgba(17, 26, 31, 0.88);
  border: 1px solid rgba(98, 214, 164, 0.22);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  padding: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-actions a {
  background: rgba(98, 214, 164, 0.12);
  border: 1px solid rgba(98, 214, 164, 0.34);
  border-radius: 6px;
  color: var(--text);
  font-weight: 700;
  padding: 10px 13px;
  text-decoration: none;
}

.hero-actions a + a {
  background: rgba(237, 244, 242, 0.05);
  border-color: rgba(237, 244, 242, 0.18);
  color: var(--muted);
}

.hero-status span:last-child {
  color: var(--muted);
  font-size: 0.85rem;
}

.pulse-dot {
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(98, 214, 164, 0.85);
  display: inline-block;
  height: 10px;
  width: 10px;
}

.masthead.compact {
  padding-top: 20px;
}

.eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.1;
  margin: 0 0 14px;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  max-width: 850px;
}

h2 {
  font-size: 1.25rem;
}

p {
  color: var(--muted);
  max-width: 720px;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.metric,
.columns article,
.document,
.auth-panel {
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.16);
  border-radius: 8px;
  padding: 18px;
}

.metric span {
  color: var(--muted);
  display: block;
  font-size: 0.9rem;
}

.metric strong {
  display: block;
  font-size: 2.4rem;
  margin-top: 8px;
}

.metric small {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  margin-top: 4px;
}

.dashboard-kpi-grid {
  align-items: stretch;
}

.dashboard-kpi {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 18% 16%, rgba(98, 214, 164, 0.1), transparent 36%),
    #000;
}

.dashboard-kpi strong {
  line-height: 1;
}

.dashboard-kpi small {
  min-height: 1.1rem;
  margin-top: 12px;
}

.skeleton-line {
  display: block;
  width: 100%;
  max-width: 150px;
  height: 13px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
  background-size: 220% 100%;
  animation: skeleton-pulse 1.25s ease-in-out infinite;
}

.skeleton-number {
  width: 76px;
  height: 36px;
  margin-top: 6px;
}

@keyframes skeleton-pulse {
  0% { background-position: 220% 0; }
  100% { background-position: -220% 0; }
}

@keyframes inboundDataPulse {
  0% { background-position: 220% 0; }
  100% { background-position: -220% 0; }
}

.metric-accent {
  border-color: rgba(98, 214, 164, 0.34);
}

.metric-danger {
  border-color: rgba(255, 79, 115, 0.34);
}

.metric-warning {
  border-color: rgba(244, 201, 93, 0.34);
}

.metric-info {
  border-color: rgba(122, 162, 255, 0.34);
}

.metric .metric-label {
  font-size: 1.15rem;
  overflow-wrap: anywhere;
  text-transform: capitalize;
}

.columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

table {
  border-collapse: collapse;
  width: 100%;
}

article:has(table),
section:has(table) {
  overflow-x: auto;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.truncate {
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.auth-panel {
  margin: 8vh auto 0;
  max-width: 440px;
}

label {
  color: var(--muted);
  display: block;
  font-size: 0.9rem;
  margin: 14px 0;
}

input,
select,
textarea,
button {
  border-radius: 6px;
  font: inherit;
  width: 100%;
}

input,
select,
textarea {
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--text);
  margin-top: 6px;
  padding: 12px;
}

select option,
select optgroup {
  background: #050505;
  color: var(--text);
}

select:invalid,
select option[value=""] {
  color: var(--muted);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  background: var(--accent);
  border: 0;
  color: #082016;
  cursor: pointer;
  font-weight: 700;
  margin-top: 10px;
  padding: 12px 14px;
}

.inline-form {
  margin: 12px 0 0;
  max-width: 160px;
}

.compact-form {
  display: grid;
  gap: 6px;
  min-width: 190px;
}

.compact-form input,
.compact-form select,
.compact-form button {
  margin-top: 0;
  padding: 8px;
}

.compact-form button {
  min-height: 36px;
}

.filter-panel {
  background: #000;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 20px 0;
  padding: 18px;
}

.notice {
  background: rgba(98, 214, 164, 0.12);
  border: 1px solid rgba(98, 214, 164, 0.45);
  border-radius: 8px;
  margin: 18px 0;
  padding: 14px 16px;
}

.period-control {
  background: #000;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: inline-flex;
  gap: 2px;
  margin-bottom: 8px;
  padding: 3px;
}

.period-control a {
  border-radius: 5px;
  color: var(--muted);
  font-size: 0.86rem;
  padding: 7px 11px;
  text-decoration: none;
}

.period-control a.active {
  background: var(--accent);
  color: #082016;
  font-weight: 700;
}

.trend-list {
  display: grid;
  gap: 10px;
}

.section-heading {
  align-items: start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.section-heading p {
  margin-bottom: 0;
}

.trend-legend {
  display: flex;
  gap: 14px;
  white-space: nowrap;
}

.trend-legend span {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  font-size: 0.82rem;
  gap: 6px;
}

.trend-legend i {
  display: inline-block;
  height: 8px;
  width: 18px;
}

.legend-total {
  background: #467a6a;
}

.legend-suspicious {
  background: var(--warning);
}

.weekly-chart {
  display: grid;
  gap: 11px;
  margin-top: 22px;
}

.visual-weekly-chart {
  background: #020506;
  border: 1px solid rgba(98, 214, 164, 0.12);
  border-radius: 8px;
  padding: 14px;
}

.weekly-row {
  align-items: center;
  display: grid;
  grid-template-columns: 96px minmax(160px, 1fr) 48px 104px;
  gap: 10px;
}

.weekly-label,
.weekly-meta {
  color: var(--muted);
  font-size: 0.82rem;
}

.weekly-row > strong {
  text-align: right;
}

.weekly-track {
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.14);
  border-radius: 999px;
  height: 18px;
  overflow: hidden;
  position: relative;
}

.weekly-total,
.weekly-suspicious {
  display: block;
  height: 100%;
  left: 0;
  min-width: 2px;
  position: absolute;
  top: 0;
}

.weekly-total {
  background: linear-gradient(90deg, rgba(98, 214, 164, 0.9), rgba(103, 183, 255, 0.55));
}

.weekly-suspicious {
  background: linear-gradient(90deg, var(--warning), var(--danger));
  height: 6px;
  top: 5px;
}

.public-trend-visuals > article,
.public-report-visuals > article {
  background: #020506;
  border: 1px solid rgba(98, 214, 164, 0.14);
  border-radius: 8px;
  min-width: 0;
  padding: 16px;
}

.threat-category-bars .viz-row,
.protocol-breakdown-bars .viz-row,
.visual-rank-list .rank-row {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(98, 214, 164, 0.09);
  border-radius: 8px;
  padding: 10px;
}

.chart-note {
  background: rgba(244, 201, 93, 0.075);
  border: 1px solid rgba(244, 201, 93, 0.18);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  margin: 14px 0 0;
  padding: 10px 12px;
}

.threat-category-bars .viz-row small,
.protocol-breakdown-bars .viz-row small {
  color: var(--muted);
  display: block;
  font-size: 0.76rem;
  line-height: 1.38;
  margin-top: 3px;
}

.pulse-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.pulse-grid span,
.brief-snapshot-grid article {
  background:
    radial-gradient(circle at 10% 0%, rgba(98, 214, 164, 0.10), transparent 42%),
    #020506;
  border: 1px solid rgba(98, 214, 164, 0.13);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
}

.pulse-grid .wide,
.brief-focus-card {
  grid-column: 1 / -1;
}

.pulse-grid strong,
.brief-snapshot-grid strong {
  color: var(--text-strong);
  font-size: 1.25rem;
  overflow-wrap: anywhere;
}

.pulse-grid small,
.brief-snapshot-grid small {
  color: var(--muted);
  font-size: 0.78rem;
}

.brief-snapshot-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px 0;
}

.brief-snapshot-grid span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brief-focus-card strong {
  font-size: 1rem;
  line-height: 1.45;
}

.visual-finding-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.visual-finding-list li {
  align-items: start;
  background: #020506;
  border: 1px solid rgba(98, 214, 164, 0.13);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 34px minmax(0, 1fr);
  padding: 12px;
}

.visual-finding-list span {
  align-items: center;
  background: var(--accent);
  border-radius: 999px;
  color: #00100b;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 900;
  height: 28px;
  justify-content: center;
  width: 28px;
}

.visual-finding-list strong {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.45;
}

.compact-public-timeline {
  margin-top: 8px;
}

.map-heading {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.map-panel {
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.22);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  margin: 8px 0 26px;
  padding: 20px;
}

.map-panel-primary {
  display: grid;
  gap: 12px;
  margin: 0 0 34px;
  margin-left: calc(50% - 50vw);
  min-height: calc(100vh - 58px);
  padding: 0;
  width: 100vw;
}

.map-panel-primary .map-heading {
  align-items: end;
}

.map-panel-primary .map-heading h2 {
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.map-panel-primary .map-heading p {
  margin-bottom: 0;
}

.map-controls {
  align-items: flex-end;
  display: grid;
  gap: 7px;
  justify-items: end;
  min-width: 260px;
}

.map-heading button {
  max-width: 140px;
}

.map-live-state {
  align-items: center;
  color: var(--accent);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 7px;
  justify-self: end;
}

.map-live-state::before {
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 12px rgba(98, 214, 164, 0.85);
  content: "";
  display: inline-block;
  height: 7px;
  width: 7px;
}

.attack-map-layout {
  display: block;
  min-height: calc(100vh - 58px);
  position: relative;
}

.attack-map-shell {
  background: #03080b;
  border: 0;
  border-radius: 0;
  margin-top: 0;
  min-width: 0;
  overflow: hidden;
  position: relative;
}

#attack-map {
  display: block;
  height: 600px;
  touch-action: pan-y;
  width: 100%;
}

.map-panel-primary #attack-map {
  height: calc(100vh - 58px);
  min-height: 720px;
}

.map-panel-primary .leaflet-top {
  top: clamp(250px, 34vh, 380px);
}

.map-panel-primary .attack-map-shell::before {
  background:
    linear-gradient(90deg, rgba(3, 8, 11, 0.62) 0%, rgba(3, 8, 11, 0.16) 38%, rgba(3, 8, 11, 0.42) 100%),
    linear-gradient(180deg, rgba(3, 8, 11, 0.58) 0%, rgba(3, 8, 11, 0.04) 34%, rgba(3, 8, 11, 0.62) 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 401;
}

.map-hero-overlay {
  left: max(22px, calc((100vw - 1180px) / 2 + 18px));
  max-width: min(820px, calc(100vw - 44px));
  pointer-events: none;
  width: min(820px, calc(100vw - 44px));
  position: absolute;
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.72);
  top: clamp(18px, 4vh, 42px);
  z-index: 405;
}

.map-hero-overlay h1 {
  font-size: clamp(1.45rem, 2.8vw, 3.1rem);
  line-height: 1.05;
  margin: 6px 0 0;
  min-height: 3.15em;
  position: relative;
  width: 100%;
}

.rotating-map-headlines span {
  animation: rotateMapHeadline 16s infinite;
  display: block;
  left: 0;
  max-width: none;
  opacity: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.rotating-map-headlines span:nth-child(2) {
  animation-delay: 4s;
}

.rotating-map-headlines span:nth-child(3) {
  animation-delay: 8s;
}

.rotating-map-headlines span:nth-child(4) {
  animation-delay: 12s;
}

@keyframes rotateMapHeadline {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  8%,
  22% {
    opacity: 1;
    transform: translateY(0);
  }
  30%,
  100% {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@keyframes navDrop {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sectionRise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.map-hero-meta {
  display: grid;
  gap: 7px;
  margin-top: 8px;
}

.map-hero-meta .map-summary {
  color: var(--text);
  font-size: 0.92rem;
  max-width: none;
  text-align: left;
}

.fallback-world-map {
  background: #03080b;
}

.fallback-world-map svg {
  display: block;
  height: 100%;
  min-height: 520px;
  width: 100%;
}

.svg-grid line {
  stroke: rgba(159, 179, 173, 0.13);
  stroke-width: 1;
}

.svg-land path {
  fill: rgba(24, 54, 56, 0.92);
  stroke: rgba(98, 214, 164, 0.28);
  stroke-width: 1.2;
}

.svg-markers line {
  filter: drop-shadow(0 0 7px rgba(98, 214, 164, 0.26));
}

.svg-threat-point circle:last-of-type {
  filter: drop-shadow(0 0 11px rgba(98, 214, 164, 0.54));
}

.leaflet-container {
  background: #03080b;
  color: var(--text);
  font: inherit;
  touch-action: pan-y;
}

.leaflet-control-zoom {
  border: 1px solid rgba(98, 214, 164, 0.28) !important;
  border-radius: 8px !important;
  overflow: hidden;
}

.leaflet-control-zoom a {
  background: rgba(3, 8, 11, 0.92) !important;
  border-bottom-color: rgba(98, 214, 164, 0.18) !important;
  color: var(--text) !important;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip,
.threat-tooltip-shell {
  background: rgba(3, 8, 11, 0.96);
  border: 1px solid rgba(98, 214, 164, 0.32);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.4);
  color: var(--text);
}

.threat-tooltip-shell {
  border-radius: 8px;
  padding: 0;
}

.leaflet-popup-content {
  margin: 10px 12px;
}

.leaflet-threat-popup {
  display: grid;
  gap: 3px;
  min-width: 210px;
  padding: 10px 12px;
}

.leaflet-threat-popup span {
  color: var(--muted);
  font-size: 0.85rem;
}

.threat-map-marker {
  cursor: pointer;
  filter: drop-shadow(0 0 7px rgba(98, 214, 164, 0.42));
}

.map-unavailable {
  align-items: center;
  background:
    radial-gradient(circle at 50% 35%, rgba(98, 214, 164, 0.12), transparent 32%),
    #03080b;
  color: var(--muted);
  display: flex !important;
  justify-content: center;
  min-height: 520px;
  padding: 24px;
  text-align: center;
}

.map-badge {
  background: rgba(255, 79, 115, 0.16);
  border: 1px solid rgba(255, 79, 115, 0.38);
  border-radius: 999px;
  color: #ffb5c3;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0;
  padding: 5px 9px;
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 407;
}

.map-tooltip {
  background: rgba(3, 8, 11, 0.96);
  border: 1px solid rgba(98, 214, 164, 0.32);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  display: grid;
  gap: 2px;
  max-width: 260px;
  padding: 10px 12px;
  pointer-events: none;
  position: absolute;
  z-index: 460;
}

.map-tooltip[hidden] {
  display: none;
}

.check-row {
  align-items: center;
  display: flex;
  gap: 8px;
}

.check-row input {
  margin: 0;
  width: auto;
}

.map-tooltip span {
  color: var(--muted);
  font-size: 0.85rem;
}

.map-summary {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 320px;
  text-align: right;
}

.map-intel-rail {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 500px;
  position: absolute;
  right: max(18px, calc((100vw - 1180px) / 2 + 18px));
  bottom: 24px;
  width: min(500px, calc(100vw - 36px));
  z-index: 406;
}

.rail-section,
.map-legend {
  background: rgba(7, 13, 16, 0.72);
  border: 1px solid rgba(98, 214, 164, 0.14);
  border-radius: 8px;
  padding: 14px;
}

.rail-section span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
}

.rail-section strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1.1;
  margin-top: 4px;
}

.rail-section strong.metric-loading {
  color: transparent;
  display: block;
  min-height: 1.8rem;
  width: min(150px, 72%);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(148, 163, 184, 0.12), rgba(148, 163, 184, 0.34), rgba(148, 163, 184, 0.12));
  background-size: 240% 100%;
  animation: metricPulse 1.15s ease-in-out infinite;
}

@keyframes metricPulse {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.map-legend {
  align-content: start;
  display: grid;
  gap: 9px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, max-content);
  justify-content: space-between;
}

.map-legend span {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.82rem;
  gap: 8px;
}

.map-legend i {
  border-radius: 999px;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.legend-critical {
  background: #ff4f73;
  box-shadow: 0 0 14px rgba(255, 79, 115, 0.72);
}

.legend-high {
  background: #ff9f43;
  box-shadow: 0 0 14px rgba(255, 159, 67, 0.58);
}

.legend-medium {
  background: #f4c95d;
  box-shadow: 0 0 14px rgba(244, 201, 93, 0.48);
}

.legend-low {
  background: #62d6a4;
  box-shadow: 0 0 14px rgba(98, 214, 164, 0.55);
}

.observatory-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  margin: 22px 0;
}

.observatory-grid article {
  background: #000;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.capability-strip,
.coverage-grid,
.endpoint-grid,
.customer-overview {
  display: grid;
  gap: 14px;
}

.capability-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 22px;
}

.capability-strip article,
.coverage-grid article,
.coverage-grid > div,
.endpoint-grid article,
.visibility-panel {
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.18);
  border-radius: 8px;
  padding: 16px;
}

.capability-strip strong,
.coverage-grid strong,
.endpoint-grid strong {
  display: block;
  margin-top: 8px;
}

.capability-strip p,
.coverage-grid p,
.endpoint-grid p {
  font-size: 0.88rem;
  margin: 6px 0 0;
}

.visibility-panel {
  margin: 22px 0;
}

.comparison-panel {
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.20);
  border-radius: 8px;
  margin: 22px 0;
  padding: 18px;
}

.comparison-panel .section-heading h2 {
  max-width: 740px;
}

.comparison-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.18fr) repeat(2, minmax(0, 0.91fr));
  margin-top: 18px;
}

.comparison-card {
  background: #000;
  border: 1px solid rgba(237, 244, 242, 0.12);
  border-radius: 8px;
  padding: 16px;
}

.comparison-card-featured {
  background: #000;
  border-color: rgba(98, 214, 164, 0.42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.comparison-card h3 {
  font-size: 1.05rem;
  margin: 12px 0 8px;
}

.comparison-card p {
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.comparison-card ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.comparison-card li {
  color: #c8ddd8;
  font-size: 0.86rem;
  padding-left: 18px;
  position: relative;
}

.comparison-card li::before {
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(98, 214, 164, 0.55);
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 0.58em;
  width: 6px;
}

.comparison-card:not(.comparison-card-featured) li::before {
  background: var(--muted);
  box-shadow: none;
}

.comparison-table-wrap {
  border: 1px solid rgba(98, 214, 164, 0.16);
  border-radius: 8px;
  margin-top: 16px;
  overflow-x: auto;
}

.comparison-table {
  min-width: 780px;
}

.comparison-table th,
.comparison-table td {
  background: rgba(3, 8, 11, 0.34);
  border-bottom-color: rgba(98, 214, 164, 0.12);
}

.comparison-table th:nth-child(2),
.comparison-table td:nth-child(2) {
  background: rgba(98, 214, 164, 0.10);
  color: var(--text);
}

.coverage-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.coverage-grid.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.endpoint-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px 0;
}

.endpoint-grid span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.endpoint-grid code {
  display: block;
  margin-top: 8px;
  overflow-wrap: anywhere;
}

.signal-dot {
  border-radius: 999px;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.signal-green {
  background: var(--accent);
  box-shadow: 0 0 14px rgba(98, 214, 164, 0.55);
}

.signal-yellow {
  background: var(--warning);
  box-shadow: 0 0 14px rgba(244, 201, 93, 0.45);
}

.signal-orange {
  background: #ff9f43;
  box-shadow: 0 0 14px rgba(255, 159, 67, 0.5);
}

.signal-red {
  background: #ff4f73;
  box-shadow: 0 0 14px rgba(255, 79, 115, 0.55);
}

.dashboard-section article {
  min-height: 100%;
}

.public-footer {
  background: #000;
  border: 0;
  border-top: 6px solid var(--accent);
  box-shadow: 0 -22px 60px rgba(98, 214, 164, 0.08);
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  margin: 44px calc(50% - 50vw) 0;
  padding: 30px max(16px, calc(calc((100vw - var(--content-max)) / 2) + 16px)) 28px;
  width: 100vw;
}

.footer-brand .public-brand {
  align-items: center;
  display: inline-flex;
  margin-bottom: 12px;
  padding: 0;
  text-decoration: none;
}

.footer-brand .public-brand img {
  display: block;
  height: 60px;
  max-width: min(310px, 80vw);
  object-fit: contain;
  width: auto;
}

.footer-brand p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer-actions a {
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 6px;
  color: #00100b;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 10px 13px;
  text-decoration: none;
}

.footer-actions a + a {
  background: transparent;
  border-color: rgba(98, 214, 164, 0.28);
  color: var(--text);
}

.footer-links {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.footer-links > div {
  border-left: 1px solid rgba(98, 214, 164, 0.16);
  padding-left: 14px;
}

.footer-links h2 {
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.footer-links a {
  color: var(--muted);
  display: block;
  font-size: 0.88rem;
  margin: 8px 0;
  text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(98, 214, 164, 0.18);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 10px 18px;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding-top: 16px;
}

.rank-list,
.severity-stack {
  display: grid;
  gap: 8px;
}

.rank-row,
.severity-row {
  align-items: center;
  background: rgba(7, 13, 16, 0.54);
  border: 1px solid rgba(98, 214, 164, 0.12);
  border-radius: 7px;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-height: 44px;
  padding: 9px 11px;
}

.rank-row span {
  color: var(--muted);
  min-width: 0;
  overflow-wrap: anywhere;
}

.rank-row small {
  color: var(--muted);
  display: block;
  font-size: 0.74rem;
  margin-top: 2px;
}

.rank-row strong,
.severity-row strong {
  color: var(--text);
  font-size: 1.1rem;
  white-space: nowrap;
}

.customer-overview {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  margin: 22px 0;
}

.customer-portal-nav {
  margin-bottom: 16px;
  position: sticky;
  top: 72px;
  z-index: 35;
}

.customer-portal-nav .section-heading {
  margin-bottom: 12px;
}

.portal-tabbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portal-tab-button {
  align-items: center;
  background: rgba(7, 13, 16, 0.58);
  border: 1px solid rgba(98, 214, 164, 0.18);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-weight: 700;
  min-height: 42px;
  padding: 9px 13px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
  width: auto;
}

.portal-tab-button:hover,
.portal-tab-button:focus-visible {
  border-color: rgba(98, 214, 164, 0.44);
  color: var(--text);
  transform: translateY(-1px);
}

.portal-tab-button.active {
  background: linear-gradient(180deg, rgba(98, 214, 164, 0.18), rgba(103, 183, 255, 0.08));
  border-color: rgba(98, 214, 164, 0.5);
  box-shadow: inset 0 -2px 0 rgba(98, 214, 164, 0.62), 0 12px 28px rgba(0, 0, 0, 0.22);
  color: var(--text);
}

.portal-tab-panels {
  display: grid;
  gap: 18px;
}

.portal-tab-panel {
  display: none;
  gap: 18px;
}

.portal-tab-panel.active {
  display: grid;
}

.endpoint-docs {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.endpoint-docs details {
  background: rgba(7, 13, 16, 0.44);
  border: 1px solid rgba(98, 214, 164, 0.16);
  border-radius: 8px;
  overflow: hidden;
}

.endpoint-docs details[open] {
  border-color: rgba(98, 214, 164, 0.34);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.endpoint-docs summary {
  cursor: pointer;
  display: grid;
  gap: 3px;
  list-style: none;
  padding: 14px 16px;
}

.endpoint-docs summary::-webkit-details-marker {
  display: none;
}

.endpoint-docs summary span {
  color: var(--text);
  font-weight: 800;
}

.endpoint-docs summary small {
  color: var(--muted);
  font-size: 0.82rem;
}

.compact-endpoints {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin: 0;
  padding: 0 14px 14px;
}

.standards-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0;
}

.standard-card {
  align-items: start;
  background: linear-gradient(180deg, rgba(13, 30, 34, 0.78), rgba(4, 10, 13, 0.86));
  border: 1px solid rgba(98, 214, 164, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 118px;
  padding: 14px;
}

.standard-card strong {
  color: var(--text);
  display: block;
  font-size: 0.96rem;
  margin-bottom: 5px;
}

.standard-card p {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
}

.standard-list {
  display: grid;
  gap: 8px;
}

.standard-list > div {
  align-items: center;
  background: rgba(7, 13, 16, 0.44);
  border: 1px solid rgba(98, 214, 164, 0.10);
  border-radius: 7px;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  padding: 10px 12px;
}

.standard-list span {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.standard-list strong {
  color: var(--text);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.intel-section-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.intel-section-grid a {
  align-content: start;
  background: rgba(7, 20, 23, 0.72);
  border: 1px solid rgba(91, 227, 176, 0.22);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 8px;
  min-height: 118px;
  padding: 16px;
  text-decoration: none;
}

.intel-section-grid a:hover {
  background: rgba(14, 36, 39, 0.86);
  border-color: rgba(91, 227, 176, 0.52);
}

.intel-section-grid strong {
  color: var(--text);
}

.intel-section-grid span {
  color: var(--muted);
  line-height: 1.45;
}

.customer-command-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  margin: 22px 0;
}

.customer-status-panel p {
  margin-bottom: 16px;
}

.customer-progress-stack,
.viz-list {
  display: grid;
  gap: 12px;
}

.customer-progress-stack > div {
  display: grid;
  gap: 6px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.customer-progress-stack span,
.viz-row span {
  color: var(--muted);
  font-size: 0.84rem;
}

.customer-progress-stack strong {
  font-size: 0.96rem;
}

.customer-progress-stack i,
.viz-row i {
  background: rgba(7, 13, 16, 0.72);
  border: 1px solid rgba(98, 214, 164, 0.13);
  border-radius: 999px;
  display: block;
  grid-column: 1 / -1;
  height: 12px;
  overflow: hidden;
}

.customer-progress-stack b,
.viz-row b {
  background: linear-gradient(90deg, rgba(98, 214, 164, 0.82), rgba(122, 162, 255, 0.74));
  display: block;
  height: 100%;
  min-width: 2px;
}

.customer-progress-stack .danger-bar,
.viz-row .danger-bar {
  background: linear-gradient(90deg, rgba(255, 79, 115, 0.86), rgba(255, 159, 67, 0.76));
}

.entitlement-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.entitlement-item {
  background: rgba(7, 13, 16, 0.54);
  border: 1px solid rgba(98, 214, 164, 0.12);
  border-radius: 7px;
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 12px;
}

.entitlement-item.disabled {
  border-color: rgba(159, 179, 173, 0.10);
  opacity: 0.62;
}

.entitlement-item strong {
  display: block;
}

.entitlement-item small {
  color: var(--muted);
  font-size: 0.78rem;
}

.signal-muted {
  background: var(--line);
}

.viz-row {
  background: rgba(7, 13, 16, 0.54);
  border: 1px solid rgba(98, 214, 164, 0.12);
  border-radius: 7px;
  display: grid;
  gap: 9px;
  padding: 11px;
}

.viz-row > div {
  align-items: start;
  display: grid;
  gap: 8px;
  grid-template-columns: minmax(0, 1fr) auto;
}

.viz-row strong {
  color: var(--text);
  white-space: nowrap;
}

.viz-row small {
  color: var(--muted);
  display: block;
  font-size: 0.74rem;
  grid-column: 1 / -1;
}

.empty-state {
  background: rgba(7, 13, 16, 0.54);
  border: 1px dashed rgba(159, 179, 173, 0.22);
  border-radius: 7px;
  color: var(--muted);
  padding: 16px;
}

.portal-heading {
  align-items: end;
  display: flex;
  gap: 18px;
  justify-content: space-between;
}

.launch-console {
  margin: 22px 0;
}

.launch-state {
  font-weight: 800;
}

.launch-blocked {
  background: rgba(255, 79, 115, 0.14);
  border-color: rgba(255, 79, 115, 0.48);
  color: #ffd5de;
}

.launch-caution {
  background: rgba(244, 201, 93, 0.14);
  border-color: rgba(244, 201, 93, 0.48);
  color: #ffe9a8;
}

.launch-ready {
  background: rgba(98, 214, 164, 0.14);
  border-color: rgba(98, 214, 164, 0.48);
  color: #c8ffe7;
}

.launch-scoreboard {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 16px 0;
}

.launch-scoreboard article,
.launch-card {
  background: rgba(7, 13, 16, 0.62);
  border: 1px solid rgba(98, 214, 164, 0.16);
  border-radius: 8px;
  padding: 14px;
}

.launch-scoreboard span,
.launch-card span,
.launch-card small {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
}

.launch-scoreboard strong,
.launch-card strong {
  color: var(--text);
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
  margin-top: 5px;
}

.readiness-overview-grid .launch-card strong,
.feature-status-grid .launch-card strong,
.readiness-action-grid .launch-card strong {
  font-size: 1.05rem;
  line-height: 1.2;
}

.readiness-action-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-status-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.launch-card p {
  color: var(--muted);
  margin: 10px 0 0;
}

.launch-card em {
  color: rgba(190, 232, 225, 0.72);
  display: block;
  font-size: 0.76rem;
  font-style: normal;
  margin-top: 10px;
}

.launch-card.status-ok {
  border-color: rgba(98, 214, 164, 0.30);
}

.launch-card.status-warn {
  border-color: rgba(244, 201, 93, 0.32);
}

.launch-card.status-critical {
  border-color: rgba(255, 79, 115, 0.38);
}

.launch-card.status-planned {
  border-color: rgba(95, 178, 255, 0.34);
}

.launch-go-card {
  background:
    linear-gradient(135deg, rgba(7, 13, 16, 0.86), rgba(11, 24, 28, 0.92));
  border: 1px solid rgba(98, 214, 164, 0.20);
  border-radius: 8px;
  margin: 0 0 18px;
  padding: 16px;
}

.launch-go-card.status-critical {
  border-color: rgba(255, 79, 115, 0.42);
  box-shadow: inset 3px 0 0 rgba(255, 79, 115, 0.74);
}

.launch-go-card.status-warn {
  border-color: rgba(244, 201, 93, 0.42);
  box-shadow: inset 3px 0 0 rgba(244, 201, 93, 0.74);
}

.launch-go-card.status-ok {
  border-color: rgba(98, 214, 164, 0.42);
  box-shadow: inset 3px 0 0 rgba(98, 214, 164, 0.74);
}

.launch-go-card strong {
  display: block;
  font-size: 1.3rem;
  margin-top: 10px;
}

.launch-go-card p {
  color: var(--muted);
  margin: 8px 0 0;
}

.severity-strip {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 14px;
}

.severity-strip span {
  background: rgba(2, 7, 9, 0.58);
  border: 1px solid rgba(159, 179, 173, 0.14);
  border-radius: 7px;
  color: var(--muted);
  padding: 9px 10px;
}

.severity-strip b {
  color: var(--text);
  font-size: 1.1rem;
  margin-right: 4px;
}

.launch-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
}

.launch-card-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.readiness-category-card.status-critical {
  border-color: rgba(255, 79, 115, 0.38);
}

.readiness-category-card.status-warn {
  border-color: rgba(244, 201, 93, 0.32);
}

.readiness-category-card.status-ok {
  border-color: rgba(98, 214, 164, 0.30);
}

.command-card-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 14px 0 16px;
}

.command-card-grid .launch-card strong {
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}

.command-card-grid .launch-card p {
  margin: 9px 0 0;
}

.ops-command-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 18px;
}

.ops-command-strip article {
  background: rgba(2, 7, 9, 0.72);
  border: 1px solid rgba(98, 214, 164, 0.14);
  border-radius: 8px;
  padding: 12px;
}

.ops-command-strip span {
  color: var(--muted);
  display: block;
  font-size: 0.76rem;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.ops-command-strip code {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  white-space: nowrap;
}

.readiness-table-wrap {
  display: grid;
  gap: 14px;
}

.readiness-group {
  background: rgba(2, 7, 9, 0.48);
  border: 1px solid rgba(98, 214, 164, 0.14);
  border-radius: 8px;
  overflow: hidden;
}

.readiness-group-heading {
  align-items: center;
  background: rgba(98, 214, 164, 0.05);
  border-bottom: 1px solid rgba(98, 214, 164, 0.12);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 12px 14px;
}

.readiness-group-heading h4 {
  margin: 0;
}

.readiness-group-heading p {
  color: var(--muted);
  margin: 4px 0 0;
}

.readiness-table {
  margin: 0;
}

.readiness-table td:first-child {
  min-width: 150px;
}

.readiness-table td:nth-child(4),
.readiness-table td:nth-child(5) {
  max-width: 360px;
}

.readiness-row.row-blocker {
  background: rgba(255, 79, 115, 0.045);
}

.readiness-row.row-warn:not(.row-blocker) {
  background: rgba(244, 201, 93, 0.035);
}

.heartbeat-console {
  margin: 22px 0;
}

.heartbeat-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0;
}

.heartbeat-summary article {
  background: rgba(7, 13, 16, 0.62);
  border: 1px solid rgba(98, 214, 164, 0.16);
  border-radius: 8px;
  padding: 14px;
}

.heartbeat-summary span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
}

.heartbeat-summary strong {
  color: var(--text);
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
  margin-top: 5px;
}

.attack-summary-card {
  border-color: rgba(255, 79, 115, 0.32) !important;
}

.attack-activity-strip {
  align-items: center;
  background: linear-gradient(90deg, rgba(255, 79, 115, 0.14), rgba(98, 214, 164, 0.05));
  border: 1px solid rgba(255, 79, 115, 0.2);
  border-radius: 8px;
  display: flex;
  gap: 12px;
  margin: 0 0 16px;
  padding: 12px 14px;
}

.attack-activity-strip strong,
.attack-activity-strip small {
  display: block;
}

.attack-activity-strip small {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 2px;
}

.heartbeat-groups {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.heartbeat-groups article {
  background: rgba(2, 7, 9, 0.52);
  border: 1px solid rgba(98, 214, 164, 0.14);
  border-radius: 8px;
  padding: 14px;
}

.heartbeat-groups h3 {
  margin-top: 0;
}

.heartbeat-list {
  display: grid;
  gap: 9px;
}

.heartbeat-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  padding: 10px;
}

.heartbeat-row strong,
.heartbeat-row small {
  display: block;
}

.heartbeat-row small,
.heartbeat-row em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.traffic-light {
  border-radius: 999px;
  display: inline-block;
  height: 12px;
  width: 12px;
}

.traffic-green {
  background: #62d6a4;
  box-shadow: 0 0 14px rgba(98, 214, 164, 0.8);
}

.traffic-yellow {
  background: #f4c95d;
  box-shadow: 0 0 14px rgba(244, 201, 93, 0.75);
}

.traffic-red {
  background: #ff4f73;
  box-shadow: 0 0 14px rgba(255, 79, 115, 0.8);
}

.attack-row {
  align-items: center;
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 16px minmax(0, 1fr);
  margin-top: -5px;
  padding: 8px 10px;
}

.attack-row strong,
.attack-row small {
  display: block;
}

.attack-row small {
  color: var(--muted);
  font-size: 0.76rem;
}

.attack-row.attack-red {
  background: rgba(255, 79, 115, 0.12);
  border: 1px solid rgba(255, 79, 115, 0.26);
}

.attack-row.attack-yellow {
  background: rgba(244, 201, 93, 0.1);
  border: 1px solid rgba(244, 201, 93, 0.22);
}

.attack-row.attack-green {
  background: rgba(98, 214, 164, 0.06);
  border: 1px solid rgba(98, 214, 164, 0.13);
}

.sensor-launch-console {
  margin: 22px 0;
}

.sensor-launch-summary {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0;
}

.sensor-launch-summary article,
.sensor-launch-card {
  background: rgba(7, 13, 16, 0.62);
  border: 1px solid rgba(98, 214, 164, 0.16);
  border-radius: 8px;
  padding: 14px;
}

.sensor-launch-summary span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
}

.sensor-launch-summary strong {
  display: block;
  font-size: 1.55rem;
  margin-top: 5px;
}

.sensor-launch-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sensor-launch-ready {
  border-color: rgba(98, 214, 164, 0.34);
}

.sensor-launch-caution {
  border-color: rgba(244, 201, 93, 0.34);
}

.sensor-launch-blocked {
  border-color: rgba(255, 79, 115, 0.34);
}

.launch-check-list {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.launch-check-list li {
  border-left: 3px solid rgba(159, 179, 173, 0.30);
  color: var(--muted);
  display: grid;
  gap: 2px;
  padding-left: 10px;
}

.launch-check-list li strong {
  color: var(--text);
  font-size: 0.9rem;
}

.launch-check-list li span {
  font-size: 0.82rem;
}

.launch-check-list .check-ok {
  border-left-color: rgba(98, 214, 164, 0.85);
}

.launch-check-list .check-open {
  border-left-color: rgba(244, 201, 93, 0.85);
}

.compact-table th,
.compact-table td {
  font-size: 0.84rem;
  padding: 9px 10px;
  vertical-align: top;
}

.section-heading.tight {
  align-items: start;
  margin-bottom: 8px;
}

.pricing-panel {
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.20);
  border-radius: 8px;
  margin: 22px 0;
  padding: 18px;
}

.pricing-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.pricing-card {
  background: #000;
  border: 1px solid rgba(237, 244, 242, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 16px;
}

.pricing-card-featured {
  background: #000;
  border-color: rgba(98, 214, 164, 0.42);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.pricing-card h3 {
  font-size: 1.08rem;
  margin: 2px 0 0;
}

.pricing-card strong {
  color: var(--text);
  display: block;
  font-size: 2.1rem;
  line-height: 1.05;
}

.pricing-card strong span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.pricing-card p {
  font-size: 0.9rem;
  margin: 0;
}

.pricing-card ul {
  color: #c8ddd8;
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.pricing-card li {
  font-size: 0.86rem;
  padding-left: 18px;
  position: relative;
}

.pricing-card li::before {
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(98, 214, 164, 0.55);
  content: "";
  height: 6px;
  left: 0;
  position: absolute;
  top: 0.58em;
  width: 6px;
}

.pricing-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: auto;
}

.pricing-actions a {
  background: rgba(98, 214, 164, 0.13);
  border: 1px solid rgba(98, 214, 164, 0.34);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 10px;
  text-align: center;
  text-decoration: none;
}

.pricing-actions a + a {
  background: rgba(237, 244, 242, 0.06);
  border-color: rgba(237, 244, 242, 0.18);
}

.pricing-note {
  border-top: 1px solid rgba(98, 214, 164, 0.14);
  font-size: 0.9rem;
  margin: 18px 0 0;
  max-width: none;
  padding-top: 14px;
}

.comparison-panel {
  background: rgba(7, 13, 16, 0.68);
  border: 1px solid rgba(98, 214, 164, 0.18);
  border-radius: 8px;
  margin: 22px 0;
  padding: 18px;
}

.comparison-table-wrap {
  overflow-x: auto;
}

.comparison-table {
  border-collapse: collapse;
  min-width: 850px;
  width: 100%;
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid rgba(237, 244, 242, 0.10);
  color: #c8ddd8;
  font-size: 0.88rem;
  line-height: 1.45;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  color: var(--text);
  font-size: 0.78rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  color: var(--text);
  font-weight: 800;
  min-width: 180px;
}

.comparison-table tbody tr:hover td {
  background: rgba(98, 214, 164, 0.06);
}

.signup-layout {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1fr);
  margin: 22px 0;
}

.signup-panel {
  margin: 0;
  max-width: none;
}

.value-panel {
  align-self: start;
}

.feature-list {
  color: var(--muted);
  display: grid;
  gap: 10px;
  margin: 0 0 24px;
  padding-left: 20px;
}

.compact-trends .trend-row {
  grid-template-columns: 110px minmax(120px, 1fr) 54px 110px;
}

.trend-row {
  align-items: center;
  display: grid;
  grid-template-columns: 110px minmax(120px, 1fr) 54px 110px;
  gap: 10px;
}

.trend-label,
.trend-count,
.trend-meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.trend-count {
  color: var(--text);
  font-weight: 700;
  text-align: right;
}

.trend-track {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  height: 14px;
  overflow: hidden;
}

.trend-bar {
  background: var(--accent);
  display: block;
  height: 100%;
  min-width: 2px;
}

.severity {
  border-radius: 999px;
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  min-width: 58px;
  padding: 3px 8px;
  text-align: center;
  text-transform: uppercase;
}

.severity-critical {
  background: #ff5c7a;
  color: #190006;
}

.severity-high {
  background: #ff9f43;
  color: #1f0d00;
}

.severity-medium {
  background: #f4c95d;
  color: #1b1400;
}

.severity-low {
  background: #7aa2ff;
  color: #020b22;
}

.severity-info,
.severity-unknown {
  background: var(--panel-2);
  color: var(--muted);
}

.pill {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: inline-block;
  font-size: 0.78rem;
  padding: 3px 8px;
  white-space: nowrap;
}

.monitor-stats {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 12px 0;
}

.monitor-stat {
  background: rgba(7, 13, 16, 0.58);
  border: 1px solid rgba(98, 214, 164, 0.14);
  border-radius: 6px;
  padding: 12px;
}

.monitor-stat span {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
}

.monitor-stat strong {
  display: block;
  font-size: 1.55rem;
  line-height: 1.1;
  margin-top: 4px;
}

.window-label {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0 0 10px;
}

.lookback-control {
  align-items: center;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(98, 214, 164, 0.22);
  border-radius: 999px;
  display: inline-flex;
  gap: 10px;
  padding: 8px 10px 8px 14px;
}

.lookback-control label {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.lookback-control select {
  background: #000;
  border: 0;
  color: var(--text);
  font: inherit;
  min-width: 110px;
  outline: 0;
}

.public-lookback-static {
  margin-top: 14px;
}

[data-live-region] {
  position: relative;
}

.live-loading-indicator {
  align-items: center;
  background: rgba(0, 0, 0, 0.74);
  border: 1px solid rgba(98, 214, 164, 0.2);
  border-radius: 999px;
  color: var(--muted);
  display: none;
  font-size: 0.78rem;
  gap: 8px;
  padding: 7px 10px;
  position: absolute;
  right: 14px;
  top: 14px;
  z-index: 3;
}

.live-loading-indicator span {
  animation: traplayer-spin 0.72s linear infinite;
  border: 2px solid rgba(98, 214, 164, 0.22);
  border-top-color: var(--accent);
  border-radius: 50%;
  display: inline-block;
  height: 13px;
  width: 13px;
}

.is-live-loading > .live-loading-indicator {
  display: inline-flex;
}

.is-live-loading {
  transition: opacity 0.2s ease;
}

.is-live-stale > .live-loading-indicator {
  display: inline-flex;
}

@keyframes traplayer-spin {
  to {
    transform: rotate(360deg);
  }
}

.policy-console {
  background: #000;
  border-color: rgba(98, 214, 164, 0.22);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.26);
}

.policy-scoreboard {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0;
}

.policy-scoreboard article {
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.18);
  border-radius: 8px;
  padding: 14px;
}

.policy-scoreboard span,
.policy-flow h3 {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  margin: 0;
}

.policy-scoreboard strong {
  display: block;
  font-size: 1.9rem;
  line-height: 1;
  margin-top: 6px;
}

.policy-scoreboard small {
  color: var(--muted);
  display: block;
  font-size: 0.76rem;
  margin-top: 6px;
}

.policy-flow {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  margin: 16px 0;
}

.policy-flow > div {
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.12);
  border-radius: 8px;
  padding: 14px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag-list span,
.policy-chip {
  background: rgba(98, 214, 164, 0.1);
  border: 1px solid rgba(98, 214, 164, 0.2);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  gap: 6px;
  margin: 2px 4px 2px 0;
  padding: 4px 9px;
}

.policy-chip-warn {
  background: rgba(244, 201, 93, 0.12);
  border-color: rgba(244, 201, 93, 0.28);
}

.quiet-label {
  color: var(--accent);
  font-weight: 700;
}

.tag-list strong {
  color: var(--accent-blue);
}

.status-running,
.status-online,
.status-healthy,
.status-active,
.status-green {
  border-color: rgba(98, 214, 164, 0.42);
  color: var(--accent);
}

.status-pending,
.status-unknown,
.status-maintenance,
.status-quiet,
.status-yellow_ioc {
  border-color: rgba(244, 201, 93, 0.38);
  color: var(--warning);
}

.status-restricted_review {
  border-color: rgba(103, 183, 255, 0.42);
  color: var(--accent-blue);
}

.status-stopped,
.status-offline,
.status-unhealthy,
.status-error {
  border-color: rgba(255, 79, 115, 0.38);
  color: #ff8ea3;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.filter-grid label {
  margin: 0;
}

.filter-actions {
  align-self: end;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.filter-actions a,
.export-actions a {
  align-items: center;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  display: inline-flex;
  justify-content: center;
  min-height: 46px;
  padding: 8px 10px;
  text-decoration: none;
}

.export-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

a {
  color: var(--accent);
}

.admin-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 14px 0;
}

.admin-nav a {
  background: #000;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  padding: 8px 10px;
  text-decoration: none;
}

.admin-topbar {
  align-items: center;
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.16);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  left: max(16px, calc((100vw - var(--content-max)) / 2));
  margin-bottom: 24px;
  padding: 9px 10px;
  position: fixed;
  top: 0;
  width: min(var(--content-max), calc(100% - 32px));
  z-index: 1000;
}

.admin-brand {
  align-items: center;
  display: inline-flex;
  padding: 0 4px;
  text-decoration: none;
}

.admin-brand img {
  display: block;
  height: 42px;
  max-width: min(230px, 36vw);
  object-fit: contain;
  width: auto;
}

.admin-topbar .admin-nav {
  flex-wrap: nowrap;
  gap: 6px;
  justify-content: center;
  margin: 0;
  min-width: 0;
  overflow: visible;
  white-space: nowrap;
}

.admin-nav-primary,
.admin-menu-group > button {
  align-items: center;
  background: transparent;
  border-color: transparent;
  color: var(--muted);
  display: inline-flex;
  gap: 7px;
  min-height: 36px;
  padding: 7px 9px;
}

.admin-menu-group {
  position: relative;
}

.admin-menu-group > button {
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: default;
  font: inherit;
  margin: 0;
  width: auto;
}

.nav-icon {
  color: var(--accent);
  display: inline-block;
  flex: 0 0 auto;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 18px;
}

.nav-icon path,
.nav-icon circle {
  fill: none;
}

.admin-nav-primary:hover .nav-icon,
.admin-nav-primary:focus-visible .nav-icon,
.admin-menu-group > button:hover .nav-icon,
.admin-menu-group > button:focus-visible .nav-icon {
  color: var(--accent);
}

.admin-menu {
  background: rgba(7, 13, 16, 0.98);
  border: 1px solid rgba(98, 214, 164, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.36);
  display: none;
  left: 0;
  min-width: 210px;
  padding: 8px;
  position: absolute;
  top: 100%;
  z-index: 40;
}

.admin-menu::before {
  bottom: 100%;
  content: "";
  height: 10px;
  left: 0;
  position: absolute;
  right: 0;
}

.admin-menu a {
  border-radius: 6px;
  display: block;
  padding: 9px 10px;
  white-space: nowrap;
}

.admin-menu-group:hover .admin-menu,
.admin-menu-group:focus-within .admin-menu {
  display: block;
}

.admin-mobile-menu {
  display: none;
  min-width: 0;
  position: relative;
}

.admin-mobile-menu summary {
  align-items: center;
  background: rgba(98, 214, 164, 0.11);
  border: 1px solid rgba(98, 214, 164, 0.25);
  border-radius: 6px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  gap: 8px;
  list-style: none;
  min-height: 38px;
  padding: 8px 11px;
  user-select: none;
}

.admin-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.admin-mobile-panel {
  background: #000000;
  border: 1px solid rgba(98, 214, 164, 0.18);
  border-radius: 10px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.62);
  display: grid;
  gap: 4px;
  left: max(16px, calc((100vw - var(--content-max)) / 2 + 16px));
  margin-top: 0;
  max-height: calc(100dvh - 92px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px;
  position: fixed;
  right: auto;
  scrollbar-color: rgba(98, 214, 164, 0.45) transparent;
  top: 68px;
  width: min(340px, calc(100vw - 28px));
  z-index: 1100;
}


.admin-mobile-menu[open] summary {
  background: rgba(98, 214, 164, 0.16);
  border-color: rgba(98, 214, 164, 0.38);
}

.admin-mobile-panel section {
  border-top: 1px solid rgba(98, 214, 164, 0.12);
  display: grid;
  gap: 3px;
  padding: 10px 0 4px;
}

.admin-mobile-panel p {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  margin: 0 0 2px;
  text-transform: uppercase;
}

.admin-mobile-panel a {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 7px;
  color: var(--text);
  display: flex;
  gap: 9px;
  min-height: 42px;
  overflow-wrap: anywhere;
  padding: 10px 12px;
  text-decoration: none;
  width: 100%;
}

.admin-mobile-panel a:hover,
.admin-mobile-panel a:focus-visible {
  background: rgba(98, 214, 164, 0.14);
  color: var(--text-strong);
}

@media (max-width: 1120px) {
  .admin-topbar {
    gap: 10px;
    grid-template-columns: auto auto minmax(0, 1fr);
  }

  .admin-topbar .admin-nav {
    display: none;
  }

  .admin-mobile-menu {
    display: block;
    justify-self: start;
    min-width: 0;
  }

  .admin-mobile-menu summary {
    margin-left: 0;
    white-space: nowrap;
  }

  .admin-identity {
    justify-self: end;
    min-width: 0;
  }

  .admin-identity span {
    display: none;
  }
}

.admin-topbar .admin-nav a:hover,
.admin-topbar .admin-nav a:focus-visible,
.admin-menu-group > button:hover,
.admin-menu-group > button:focus-visible {
  background: rgba(98, 214, 164, 0.11);
  border-color: rgba(98, 214, 164, 0.24);
  color: var(--text);
}

.admin-identity {
  align-items: center;
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  min-width: 0;
}

.admin-identity span {
  color: var(--muted);
  font-size: 0.82rem;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-identity strong {
  border: 1px solid rgba(98, 214, 164, 0.28);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.72rem;
  padding: 3px 8px;
  text-transform: uppercase;
}

.admin-identity form {
  margin: 0;
}

.admin-identity button {
  background: var(--panel-2);
  border: 1px solid var(--line);
  color: var(--text);
  margin: 0;
  min-height: 34px;
  padding: 6px 10px;
  width: auto;
}

.quiet-link {
  align-self: start;
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-size: 0.86rem;
  padding: 8px 10px;
  text-decoration: none;
  white-space: nowrap;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0;
}

.detail-grid article {
  background: #000;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}

.visual-detail-card,
.operator-evidence-console,
.session-timeline-console {
  background:
    radial-gradient(circle at 0% 0%, rgba(98, 214, 164, 0.08), transparent 34%),
    #020506 !important;
  border-color: rgba(98, 214, 164, 0.14) !important;
}

.compact-detail-list {
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(98, 214, 164, 0.1);
  border-radius: 8px;
  gap: 0;
  overflow: hidden;
}

.compact-detail-list dt,
.compact-detail-list dd {
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  padding: 9px 10px;
}

.compact-detail-list dt {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.compact-detail-list dd {
  color: var(--text);
}

.compact-detail-list dt:last-of-type,
.compact-detail-list dd:last-of-type {
  border-bottom: 0;
}

.signal-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.signal-chip-grid span {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 9px;
}

.signal-chip-grid span.active {
  background: rgba(98, 214, 164, 0.11);
  border-color: rgba(98, 214, 164, 0.28);
  color: var(--accent);
}

.evidence-code-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.evidence-code-grid article {
  background: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(98, 214, 164, 0.1);
  border-radius: 8px;
  min-width: 0;
  padding: 12px;
}

.evidence-code-grid h3 {
  color: var(--accent);
  font-size: 0.78rem;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.evidence-code-grid pre {
  margin: 0;
  max-height: 260px;
}

.session-action-timeline {
  margin-top: 16px;
}

dl {
  display: grid;
  grid-template-columns: minmax(110px, 180px) minmax(0, 1fr);
  gap: 8px 14px;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

pre {
  background: #0b0f11;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow-x: auto;
  padding: 14px;
}

code {
  color: var(--warning);
}

.command-snippet {
  font-size: 0.76rem;
  margin: 0;
  max-width: 360px;
  padding: 8px;
}

.command-snippet.wide {
  max-width: 100%;
  overflow-x: auto;
}

.ops-console {
  border-color: rgba(103, 183, 255, 0.2);
}

.ops-monitor-console {
  background:
    radial-gradient(circle at 12% 0%, rgba(98, 214, 164, 0.16), transparent 30%),
    radial-gradient(circle at 88% 12%, rgba(103, 183, 255, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(9, 24, 27, 0.98), rgba(4, 10, 12, 0.94));
  overflow: hidden;
}

.ops-health-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 18px 0 20px;
}

.ops-health-strip article {
  background: rgba(1, 8, 10, 0.62);
  border: 1px solid rgba(98, 214, 164, 0.14);
  border-radius: 8px;
  min-width: 0;
  padding: 14px;
}

.ops-health-strip span,
.ops-role-type {
  color: var(--muted);
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.ops-health-strip strong {
  display: block;
  font-size: 1.45rem;
  margin: 5px 0 3px;
}

.ops-health-strip small {
  color: var(--muted);
}

.ops-role-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.ops-role-card {
  background:
    linear-gradient(180deg, rgba(7, 18, 21, 0.96), rgba(2, 8, 10, 0.92));
  border: 1px solid rgba(98, 214, 164, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
  min-width: 0;
  padding: 18px;
}

.ops-role-card.status-green {
  border-color: rgba(98, 214, 164, 0.46);
}

.ops-role-card.status-yellow {
  border-color: rgba(255, 210, 92, 0.34);
}

.ops-role-card.status-red {
  border-color: rgba(255, 77, 121, 0.38);
}

.ops-role-header,
.ops-role-title,
.ops-check-row {
  align-items: center;
  display: flex;
  gap: 10px;
}

.ops-role-header {
  justify-content: space-between;
}

.ops-role-card h3 {
  margin: 0;
}

.ops-role-card small {
  color: var(--muted);
  margin: 2px 0 0;
}

.ops-role-main {
  align-items: center;
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr);
  margin: 20px 0 16px;
}

.ops-role-main h3 {
  color: var(--text);
  font-size: 1.25rem;
}

.ops-role-main p {
  color: var(--muted);
  margin: 5px 0 0;
}

.ops-role-ring {
  align-items: center;
  border: 1px solid rgba(98, 214, 164, 0.35);
  border-radius: 50%;
  display: grid;
  height: 78px;
  justify-items: center;
  width: 78px;
}

.ops-role-ring.traffic-green {
  box-shadow: inset 0 0 22px rgba(98, 214, 164, 0.2), 0 0 28px rgba(98, 214, 164, 0.14);
}

.ops-role-ring.traffic-yellow {
  border-color: rgba(255, 210, 92, 0.55);
  box-shadow: inset 0 0 22px rgba(255, 210, 92, 0.16), 0 0 28px rgba(255, 210, 92, 0.12);
}

.ops-role-ring.traffic-red {
  border-color: rgba(255, 77, 121, 0.55);
  box-shadow: inset 0 0 22px rgba(255, 77, 121, 0.16), 0 0 28px rgba(255, 77, 121, 0.12);
}

.ops-role-ring span {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ops-metric-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 16px 0;
}

.ops-metric-strip > div {
  background: rgba(7, 17, 20, 0.78);
  border: 1px solid rgba(98, 214, 164, 0.12);
  border-radius: 8px;
  min-width: 0;
  padding: 13px;
}

.ops-metric-strip span,
.compact-dl dt {
  color: var(--muted);
  font-size: 0.78rem;
}

.ops-metric-strip strong {
  display: block;
  color: var(--accent);
  font-size: 1.14rem;
  margin: 4px 0;
}

.compact-dl {
  background: rgba(1, 8, 10, 0.44);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
  margin: 8px 0 14px;
  padding: 12px;
}

.ops-check-list {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.ops-check-row {
  background: rgba(7, 17, 20, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  justify-content: space-between;
  padding: 9px 10px;
}

.ops-role-card details {
  background: rgba(1, 8, 10, 0.38);
  border: 1px solid rgba(98, 214, 164, 0.1);
  border-radius: 8px;
  margin-top: 12px;
  padding: 10px 12px;
}

.ops-role-card summary {
  cursor: pointer;
  font-weight: 800;
  outline: none;
}

.ops-check-row strong {
  flex: 1;
  min-width: 0;
}

.ops-boundary-note {
  background: rgba(98, 214, 164, 0.07);
  border: 1px solid rgba(98, 214, 164, 0.12);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  margin: 12px 0 0;
  padding: 10px 12px;
}

.ops-scheduler-grid {
  align-items: start;
}

.competitive-console {
  border-color: rgba(98, 214, 164, 0.22);
}

.competitive-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.competitive-grid > article {
  background: rgba(2, 7, 9, 0.38);
  border: 1px solid rgba(98, 214, 164, 0.12);
  border-radius: 8px;
  min-width: 0;
  padding: 14px;
}

.intel-command-panel {
  background: #000;
  border-color: rgba(98, 214, 164, 0.2);
}

.intel-visual-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.intel-visual-grid > article,
.intel-object-grid > article {
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.14);
  border-radius: 8px;
  min-width: 0;
  padding: 14px;
}

.intel-wide-card {
  grid-column: 1 / -1;
}

.attack-timeline {
  display: grid;
  gap: 12px;
  position: relative;
}

.attack-timeline-horizontal {
  grid-auto-columns: minmax(220px, 1fr);
  grid-auto-flow: column;
  overflow-x: auto;
  padding: 4px 2px 10px;
}

.timeline-card {
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.16);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 6px;
  min-height: 160px;
  padding: 14px;
  position: relative;
  text-decoration: none;
}

.timeline-card::before {
  background: rgba(98, 214, 164, 0.22);
  content: "";
  height: 2px;
  left: 20px;
  position: absolute;
  right: -14px;
  top: 24px;
}

.timeline-card:last-child::before {
  right: 20px;
}

.timeline-node {
  background: var(--accent);
  border: 4px solid rgba(98, 214, 164, 0.18);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(98, 214, 164, 0.45);
  height: 16px;
  position: relative;
  width: 16px;
  z-index: 1;
}

.timeline-card small,
.timeline-card em,
.campaign-card small,
.campaign-card em,
.fingerprint-card small,
.fingerprint-card em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.timeline-card p,
.campaign-card p {
  margin: 0;
}

.timeline-card.risk-critical .timeline-node,
.timeline-card.risk-high .timeline-node {
  background: var(--danger);
  box-shadow: 0 0 20px rgba(255, 76, 122, 0.42);
}

.timeline-card.risk-medium .timeline-node {
  background: var(--warning);
}

.phase-bar-stack {
  display: grid;
  gap: 11px;
}

.phase-bar {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(112px, 0.95fr) minmax(90px, 1.4fr) 38px;
}

.phase-bar span {
  color: var(--text);
  font-size: 0.84rem;
}

.phase-bar i,
.campaign-card i {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  display: block;
  height: 8px;
  overflow: hidden;
}

.phase-bar b,
.campaign-card b {
  background: linear-gradient(90deg, var(--accent), var(--warning), var(--danger));
  display: block;
  height: 100%;
}

.phase-bar strong {
  text-align: right;
}

.fingerprint-card-grid,
.campaign-card-grid,
.intel-object-grid {
  display: grid;
  gap: 10px;
}

.fingerprint-card,
.campaign-card {
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.12);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 12px;
  text-decoration: none;
}

.fingerprint-card:hover,
.campaign-card:hover,
.timeline-card:hover {
  border-color: rgba(98, 214, 164, 0.38);
  transform: translateY(-1px);
}

.fingerprint-card span,
.campaign-card span,
.intel-object-grid span {
  color: var(--accent);
  font-size: 0.76rem;
  text-transform: uppercase;
}

.fingerprint-card strong,
.campaign-card strong,
.intel-object-grid strong {
  overflow-wrap: anywhere;
}

.intel-collapsible {
  border-top: 1px solid rgba(98, 214, 164, 0.14);
  margin-top: 18px;
  padding-top: 12px;
}

.intel-collapsible summary {
  color: var(--accent);
  cursor: pointer;
  font-weight: 700;
}

.public-intel-preview {
  margin-top: 22px;
}

.public-intel-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
}

.compact-campaigns,
.compact-fingerprints {
  max-height: 330px;
  overflow: auto;
}

.actor-attribution-card {
  border-color: rgba(103, 183, 255, 0.22) !important;
}

.actor-attribution-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
}

.actor-match-stack {
  display: grid;
  gap: 10px;
}

.actor-match-card {
  background: #000;
  border: 1px solid rgba(103, 183, 255, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  padding: 12px;
}

.behavior-intel-card {
  border-color: rgba(255, 205, 86, 0.2) !important;
}

.behavior-summary-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 12px 0 14px;
}

.behavior-summary-strip > div {
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.12);
  border-radius: 8px;
  padding: 12px;
}

.behavior-summary-strip span,
.behavior-matrix-row span,
.behavior-stream-row span,
.behavior-sequence-card span {
  color: var(--accent);
  display: block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.behavior-summary-strip strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1.1;
  margin-top: 5px;
}

.visual-kpi-strip > div,
.visual-kpi-strip > article {
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.17);
  border-radius: 8px;
  min-width: 0;
  padding: 14px;
}

.visual-kpi-strip span,
.visual-kpi-strip small {
  display: block;
}

.visual-kpi-strip span {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.visual-kpi-strip strong {
  color: var(--text-strong);
  display: block;
  font-size: 1.9rem;
  line-height: 1;
  margin: 8px 0 4px;
}

.visual-kpi-strip small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.35;
}

.behavior-intel-layout {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.behavior-matrix,
.behavior-stream,
.behavior-sequence-grid {
  display: grid;
  gap: 10px;
}

.behavior-stage-board {
  display: grid;
  gap: 11px;
  position: relative;
}

.behavior-stage-card {
  align-items: center;
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.14);
  border-left: 0;
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 12px;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  min-width: 0;
  padding: 12px 14px 12px 0;
  position: relative;
}

.behavior-stage-card::before {
  background: rgba(98, 214, 164, 0.22);
  bottom: -12px;
  content: "";
  left: 8px;
  position: absolute;
  top: 30px;
  width: 2px;
}

.behavior-stage-card:last-child::before {
  display: none;
}

.stage-node {
  background: var(--accent);
  border: 4px solid rgba(98, 214, 164, 0.2);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(98, 214, 164, 0.44);
  height: 18px;
  justify-self: start;
  width: 18px;
  z-index: 1;
}

.behavior-stage-card.risk-critical,
.behavior-stage-card.risk-high {
  border-color: rgba(255, 79, 115, 0.24);
}

.behavior-stage-card.risk-critical .stage-node,
.behavior-stage-card.risk-high .stage-node {
  background: var(--danger);
  border-color: rgba(255, 79, 115, 0.25);
  box-shadow: 0 0 18px rgba(255, 79, 115, 0.42);
}

.behavior-stage-card.risk-medium .stage-node {
  background: var(--warning);
  border-color: rgba(244, 201, 93, 0.25);
  box-shadow: 0 0 18px rgba(244, 201, 93, 0.36);
}

.behavior-stage-card span:not(.stage-node) {
  color: var(--accent);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.behavior-stage-card strong {
  color: var(--text-strong);
  display: block;
  overflow-wrap: anywhere;
}

.behavior-stage-card small,
.behavior-stage-card em {
  color: var(--muted);
  display: block;
  font-size: 0.78rem;
  font-style: normal;
  line-height: 1.38;
  margin-top: 3px;
}

.behavior-stage-card em {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  color: var(--text-strong);
  font-weight: 800;
  padding: 6px 9px;
  white-space: nowrap;
}

.action-timeline {
  display: grid;
  gap: 0;
  margin-top: 4px;
}

.action-timeline-row {
  align-items: start;
  background: transparent;
  border: 0;
  color: var(--text);
  cursor: pointer;
  display: grid;
  gap: 12px;
  grid-template-columns: 78px 18px minmax(0, 1fr) auto;
  padding: 11px 0;
  position: relative;
  text-align: left;
  width: 100%;
}

.action-timeline-row::after {
  background: rgba(98, 214, 164, 0.18);
  bottom: -4px;
  content: "";
  left: 86px;
  position: absolute;
  top: 30px;
  width: 2px;
}

.action-timeline-row:last-child::after {
  display: none;
}

.action-time {
  color: var(--muted);
  font-size: 0.74rem;
  padding-top: 2px;
}

.action-dot {
  background: var(--accent);
  border: 4px solid rgba(98, 214, 164, 0.2);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(98, 214, 164, 0.38);
  height: 16px;
  position: relative;
  width: 16px;
  z-index: 1;
}

.action-timeline-row.risk-critical .action-dot,
.action-timeline-row.risk-high .action-dot {
  background: var(--danger);
  border-color: rgba(255, 79, 115, 0.25);
}

.action-copy {
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.13);
  border-radius: 8px;
  display: block;
  padding: 10px 12px;
}

.action-copy strong,
.action-copy small {
  display: block;
}

.action-copy strong {
  color: var(--text-strong);
  overflow-wrap: anywhere;
}

.action-copy small {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.38;
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.risk-badge {
  align-self: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--text-strong);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 6px 9px;
  white-space: nowrap;
}

.behavior-matrix-row,
.behavior-stream-row,
.behavior-sequence-card {
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.12);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 12px;
  text-decoration: none;
}

button.behavior-stream-row {
  cursor: pointer;
  font: inherit;
  margin: 0;
  text-align: left;
  width: 100%;
}

.behavior-matrix-row.risk-critical,
.behavior-matrix-row.risk-high {
  border-left-color: var(--danger);
  box-shadow: inset 0 0 0 1px rgba(255, 76, 122, 0.08);
}

.behavior-matrix-row.risk-medium {
  border-left-color: var(--warning);
}

.behavior-matrix-row strong,
.behavior-stream-row strong,
.behavior-sequence-card strong {
  overflow-wrap: anywhere;
}

.behavior-matrix-row small,
.behavior-matrix-row em,
.behavior-stream-row small,
.behavior-stream-row em,
.behavior-sequence-card small {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.behavior-sequence-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.behavior-sequence-card p {
  margin: 0;
}

.compact-details {
  margin-top: 12px;
}

.actor-match-card span {
  color: #67b7ff;
  font-size: 0.74rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.actor-match-card small,
.actor-match-card em {
  color: var(--muted);
  font-size: 0.78rem;
  font-style: normal;
}

.public-actor-card {
  background: #000;
}

.locked-card {
  border-color: rgba(255, 206, 91, 0.22) !important;
  position: relative;
}

.locked-card::after {
  background: linear-gradient(90deg, transparent, rgba(255, 206, 91, 0.16), transparent);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.locked-card strong,
.redacted-text {
  color: var(--warning);
}

.locked-card small,
.locked-row span {
  color: var(--muted);
}

.locked-row b {
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 206, 91, 0.7),
    rgba(255, 206, 91, 0.7) 8px,
    rgba(255, 255, 255, 0.18) 8px,
    rgba(255, 255, 255, 0.18) 14px
  );
}

.public-safe-card {
  border-color: rgba(98, 214, 164, 0.22);
}

.status-locked {
  background: rgba(255, 206, 91, 0.12);
  border-color: rgba(255, 206, 91, 0.3);
  color: var(--warning);
}

.compact-heading {
  margin-bottom: 8px;
}

.compact-heading h3 {
  margin: 0;
}

.node-card-grid,
.profile-card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 16px;
}

.node-card,
.profile-card {
  background: linear-gradient(180deg, rgba(12, 28, 31, 0.92), rgba(7, 13, 16, 0.78));
  border: 1px solid rgba(98, 214, 164, 0.14);
  border-radius: 8px;
  padding: 16px;
}

.profile-card {
  display: grid;
  gap: 12px;
}

.node-card-top,
.profile-card-header {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.node-status-stack {
  align-items: flex-end;
  display: grid;
  gap: 7px;
  justify-items: end;
}

.node-light-pair {
  display: grid;
  gap: 7px;
  justify-items: end;
}

.node-light-pair > span,
.sensor-light-stack > span {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 700;
  gap: 7px;
  padding: 6px 9px;
  white-space: nowrap;
}

.attack-pill {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 700;
  gap: 7px;
  padding: 6px 9px;
  white-space: nowrap;
}

.attack-pill.attack-red {
  background: rgba(255, 79, 115, 0.14);
  color: #ff9eb2;
}

.attack-pill.attack-yellow {
  background: rgba(244, 201, 93, 0.14);
  color: #f4d986;
}

.attack-pill.attack-green {
  background: rgba(98, 214, 164, 0.12);
  color: #9ee8c6;
}

.node-card h3,
.profile-card h3 {
  font-size: 1.05rem;
  margin: 0;
}

.node-card p,
.profile-card p {
  color: var(--muted);
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}

.node-metric-strip {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 14px 0;
}

.node-metric-strip div {
  background: rgba(2, 7, 9, 0.48);
  border: 1px solid rgba(98, 214, 164, 0.12);
  border-radius: 7px;
  padding: 10px;
}

.node-metric-strip span,
.node-meta-grid strong,
.sensor-module-row span {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.node-metric-strip strong {
  color: var(--text);
  display: block;
  font-size: 1.2rem;
  margin-top: 3px;
}

.node-meta-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 12px 0;
}

.node-meta-grid span {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 7px;
  color: var(--text);
  font-size: 0.84rem;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 9px;
}

.node-activity-detail,
.sensor-attack-detail {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-size: 0.8rem;
  gap: 8px;
  margin-top: 10px;
}

.compact-dl {
  gap: 6px 10px;
  grid-template-columns: minmax(88px, 120px) minmax(0, 1fr);
  margin: 14px 0;
}

.compact-dl dt,
.compact-dl dd {
  font-size: 0.88rem;
}

.deployed-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.sensor-tile-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.sensor-tile {
  background: linear-gradient(180deg, rgba(6, 16, 19, 0.92), rgba(3, 9, 12, 0.86));
  border: 1px solid rgba(98, 214, 164, 0.16);
  border-left: 3px solid rgba(98, 214, 164, 0.7);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 10px;
  padding: 12px;
  text-decoration: none;
}

.sensor-tile.sensor-attack-red {
  border-color: rgba(255, 79, 115, 0.34);
  border-left-color: #ff4f73;
}

.sensor-tile.sensor-attack-yellow {
  border-color: rgba(244, 201, 93, 0.3);
  border-left-color: #f4c95d;
}

.sensor-tile:hover,
.sensor-tile:focus-visible {
  background: linear-gradient(180deg, rgba(12, 28, 31, 0.96), rgba(5, 13, 16, 0.9));
  border-color: rgba(103, 183, 255, 0.38);
}

.sensor-tile-header {
  align-items: start;
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.sensor-tile-header strong,
.sensor-tile-header span {
  display: block;
}

.sensor-tile-header span {
  color: var(--muted);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.sensor-light-stack {
  align-items: end;
  display: grid;
  gap: 6px;
  justify-items: end;
}

.sensor-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.sensor-chip-row span {
  background: rgba(98, 214, 164, 0.09);
  border: 1px solid rgba(98, 214, 164, 0.14);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.73rem;
  padding: 5px 8px;
}

.sensor-module-row {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 7px;
  padding: 9px;
}

.sensor-module-row strong {
  color: var(--text);
  display: block;
  font-size: 0.84rem;
  margin-top: 3px;
  overflow-wrap: anywhere;
}

.fleet-summary-strip {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0;
}

.fleet-summary-strip article {
  background: linear-gradient(180deg, rgba(10, 24, 27, 0.96), rgba(4, 10, 13, 0.9));
  border: 1px solid rgba(98, 214, 164, 0.16);
  border-radius: 8px;
  padding: 14px;
}

.fleet-summary-strip span,
.fleet-summary-strip small,
.fleet-node-title small,
.fleet-sensor-name small,
.fleet-sensor-pills span {
  color: var(--muted);
}

.fleet-summary-strip span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.fleet-summary-strip strong {
  color: var(--text);
  display: block;
  font-size: 1.7rem;
  line-height: 1.1;
  margin: 6px 0;
}

.metric-pair {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 6px 0;
}

.fleet-summary-strip .metric-pair strong {
  margin: 0;
}

.metric-pair strong small {
  color: var(--muted);
  display: block;
  font-size: 0.66rem;
  font-weight: 700;
  margin-top: 2px;
  text-transform: uppercase;
}

.fleet-attention-panel {
  align-items: start;
  background: rgba(2, 7, 9, 0.42);
  border: 1px solid rgba(98, 214, 164, 0.13);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(210px, 0.75fr) minmax(0, 1.5fr);
  margin-bottom: 16px;
  padding: 14px;
}

.fleet-attention-panel h3 {
  margin: 0 0 4px;
}

.fleet-attention-list {
  display: grid;
  gap: 8px;
}

.fleet-attention-list a,
.fleet-all-clear {
  align-items: center;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  color: var(--text);
  display: grid;
  gap: 8px;
  grid-template-columns: auto minmax(130px, 0.55fr) minmax(0, 1fr);
  padding: 10px;
  text-decoration: none;
}

.fleet-attention-list a:hover,
.fleet-attention-list a:focus-visible {
  border-color: rgba(103, 183, 255, 0.34);
}

.fleet-attention-list small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.fleet-node-list {
  display: grid;
  gap: 10px;
}

.fleet-node-card {
  background: linear-gradient(180deg, rgba(10, 24, 27, 0.95), rgba(5, 12, 15, 0.88));
  border: 1px solid rgba(98, 214, 164, 0.14);
  border-left: 4px solid rgba(98, 214, 164, 0.7);
  border-radius: 8px;
  overflow: hidden;
}

.fleet-node-card.fleet-node-yellow {
  border-left-color: #f4c95d;
}

.fleet-node-card.fleet-node-red {
  border-left-color: #ff4f73;
}

.fleet-node-summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(240px, 1.1fr) minmax(0, 1.4fr);
  list-style: none;
  padding: 14px 16px;
}

.fleet-node-summary::-webkit-details-marker,
.fleet-sensor-summary::-webkit-details-marker {
  display: none;
}

.fleet-node-summary::after {
  color: var(--accent);
  content: "Open";
  font-size: 0.78rem;
  font-weight: 800;
  justify-self: end;
  text-transform: uppercase;
}

.fleet-node-card[open] > .fleet-node-summary::after {
  content: "Close";
}

.fleet-node-title,
.fleet-sensor-name {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.fleet-node-title strong,
.fleet-sensor-name strong {
  color: var(--text);
  display: block;
  overflow-wrap: anywhere;
}

.fleet-node-title small,
.fleet-sensor-name small {
  display: block;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.fleet-node-stats {
  align-items: center;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fleet-node-stats span,
.fleet-sensor-pills span {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 700;
  gap: 6px;
  justify-content: center;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 6px 8px;
}

.fleet-node-stats b {
  color: var(--text);
  font-size: 1rem;
}

.fleet-node-body {
  border-top: 1px solid rgba(98, 214, 164, 0.12);
  display: grid;
  gap: 14px;
  padding: 0 16px 16px;
}

.fleet-sensor-list {
  display: grid;
  gap: 8px;
}

.fleet-sensor-row {
  background: rgba(2, 7, 9, 0.44);
  border: 1px solid rgba(98, 214, 164, 0.12);
  border-left: 3px solid rgba(98, 214, 164, 0.65);
  border-radius: 7px;
}

.fleet-sensor-row.sensor-attack-yellow {
  border-left-color: #f4c95d;
}

.fleet-sensor-row.sensor-attack-red {
  border-left-color: #ff4f73;
}

.fleet-sensor-summary {
  align-items: center;
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(230px, 1fr) minmax(0, 1.2fr);
  padding: 11px 12px;
}

.fleet-sensor-pills {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: flex-end;
}

.fleet-sensor-details {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  padding: 12px;
}

.active-honeypot-banner {
  align-items: center;
  background: linear-gradient(90deg, rgba(255, 79, 115, 0.18), rgba(255, 79, 115, 0.04));
  border: 1px solid rgba(255, 79, 115, 0.36);
  border-radius: 7px;
  display: flex;
  gap: 10px;
  grid-column: 1 / -1;
  padding: 10px 12px;
}

.active-honeypot-banner.banner-yellow {
  background: linear-gradient(90deg, rgba(244, 201, 93, 0.16), rgba(244, 201, 93, 0.04));
  border-color: rgba(244, 201, 93, 0.34);
}

.active-honeypot-banner strong,
.honeypot-surface strong {
  color: var(--text);
  display: block;
  overflow-wrap: anywhere;
}

.active-honeypot-banner small,
.honeypot-surface small {
  color: var(--muted);
  display: block;
  font-size: 0.76rem;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.honeypot-surface-grid {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.honeypot-surface {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid rgba(98, 214, 164, 0.58);
  border-radius: 7px;
  display: grid;
  gap: 0;
  min-width: 0;
  overflow: hidden;
  padding: 0;
}

.surface-title-row {
  align-items: flex-start;
  cursor: pointer;
  display: grid;
  gap: 9px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-height: 76px;
  padding: 10px;
}

.surface-title-row::-webkit-details-marker {
  display: none;
}

.surface-title-row::marker {
  content: "";
}

.surface-compact-status {
  align-self: start;
  background: rgba(2, 7, 9, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  white-space: nowrap;
}

.honeypot-surface[open] .surface-compact-status {
  border-color: rgba(98, 214, 164, 0.24);
  color: var(--text);
}

.surface-drilldown {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: grid;
  gap: 10px;
  padding: 10px;
}

.surface-attack-meta {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.surface-attack-meta span {
  background: rgba(2, 7, 9, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  padding: 6px 7px;
}

.surface-attack-meta b {
  color: var(--text);
}

.surface-last-command {
  background: rgba(2, 7, 9, 0.36);
  border: 1px solid rgba(98, 214, 164, 0.10);
  border-radius: 6px;
  color: #cde3dd;
  font-size: 0.78rem;
  margin: 0;
  overflow-wrap: anywhere;
  padding: 7px 8px;
}

.surface-last-command strong {
  color: var(--accent);
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.surface-hash-list {
  background: rgba(2, 7, 9, 0.36);
  border: 1px solid rgba(98, 214, 164, 0.10);
  border-radius: 6px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 7px 8px;
}

.surface-hash-list strong {
  color: var(--accent);
  flex: 0 0 100%;
  font-size: 0.68rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.surface-hash-list code {
  background: rgba(98, 214, 164, 0.08);
  border: 1px solid rgba(98, 214, 164, 0.16);
  border-radius: 999px;
  color: #d7fff1;
  font-size: 0.68rem;
  max-width: 100%;
  overflow-wrap: anywhere;
  padding: 4px 7px;
}

.surface-controls {
  display: grid;
  gap: 6px;
  grid-template-columns: repeat(3, minmax(72px, 1fr));
}

.surface-controls form {
  margin: 0;
}

.mini-action {
  background: rgba(98, 214, 164, 0.12);
  border: 1px solid rgba(98, 214, 164, 0.24);
  border-radius: 6px;
  color: var(--text);
  cursor: pointer;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 7px 6px;
  width: 100%;
}

.mini-action-stop {
  background: rgba(255, 79, 115, 0.10);
  border-color: rgba(255, 79, 115, 0.25);
}

.mini-action-restart {
  background: rgba(244, 201, 93, 0.10);
  border-color: rgba(244, 201, 93, 0.26);
}

.fleet-command-history {
  margin-top: 18px;
}

.fleet-intel-pointer {
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.18);
  border-radius: 8px;
  margin-top: 18px;
  padding: 14px;
}

.sensor-intel-timeline,
.intel-feed-preview-card,
.legal-gateway-card {
  margin-top: 24px;
}

.sensor-intel-command {
  background: #000;
  border-color: rgba(98, 214, 164, 0.2);
}

#sensor-intelligence.sensor-intel-command {
  background: #000;
}

.sensor-intel-overview {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 16px 0;
}

.sensor-intel-radar {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin: 0 0 16px;
}

.sensor-radar-card {
  align-items: start;
  background: #020506;
  border: 1px solid rgba(98, 214, 164, 0.15);
  border-radius: 8px;
  color: var(--text);
  display: grid;
  gap: 5px;
  grid-template-columns: auto minmax(0, 1fr);
  min-width: 0;
  padding: 11px;
  text-decoration: none;
}

.sensor-radar-card strong,
.sensor-radar-card small,
.sensor-radar-card em {
  grid-column: 2;
  overflow-wrap: anywhere;
}

.sensor-radar-card small,
.sensor-radar-card em {
  color: var(--muted);
  font-size: 0.76rem;
  font-style: normal;
}

.sensor-radar-card.radar-red {
  border-color: rgba(255, 79, 115, 0.28);
}

.sensor-radar-card.radar-yellow {
  border-color: rgba(244, 201, 93, 0.26);
}

.sensor-radar-card:hover,
.sensor-radar-card:focus-visible {
  border-color: rgba(103, 183, 255, 0.38);
}

.sensor-intel-groups,
.event-preview-list {
  display: grid;
  gap: 12px;
}

.sensor-intel-group,
.event-preview-card,
.operator-event-card {
  border: 1px solid rgba(96, 211, 169, 0.18);
  border-radius: 8px;
  background: #000;
  overflow: hidden;
}

.sensor-intel-group > summary,
.event-preview-card > summary,
.operator-event-card > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
}

.sensor-intel-group > summary::-webkit-details-marker,
.event-preview-card > summary::-webkit-details-marker,
.operator-event-card > summary::-webkit-details-marker {
  display: none;
}

.sensor-intel-group summary strong,
.event-preview-card summary strong,
.operator-event-card summary strong {
  display: block;
  color: var(--text-strong);
}

.sensor-intel-group summary small,
.event-preview-card summary small,
.operator-event-card summary small {
  color: var(--muted);
}

.operator-event-list {
  display: grid;
  gap: 10px;
  padding: 0 12px 12px;
}

.sensor-intel-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  padding: 0 14px 14px;
}

.mini-section-heading {
  align-items: end;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 8px 0 10px;
}

.mini-section-heading strong,
.mini-section-heading small {
  display: block;
}

.mini-section-heading strong {
  color: var(--text-strong);
}

.mini-section-heading small {
  color: var(--muted);
  font-size: 0.78rem;
}

.operator-flow-list {
  display: grid;
  gap: 10px;
}

.operator-behavior-flow {
  background: #020506;
  border: 1px solid rgba(98, 214, 164, 0.14);
  border-radius: 8px;
  overflow: hidden;
}

.operator-behavior-flow > summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  list-style: none;
  padding: 12px;
}

.operator-behavior-flow > summary::-webkit-details-marker {
  display: none;
}

.operator-behavior-flow summary strong,
.operator-behavior-flow summary small {
  display: block;
}

.operator-behavior-flow summary small {
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 3px;
}

.plotted-flow {
  border-top: 1px solid rgba(98, 214, 164, 0.1);
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 10px 12px 12px;
}

.plotted-flow li {
  display: grid;
  gap: 10px;
  grid-template-columns: 26px minmax(0, 1fr);
  padding: 0 0 12px;
  position: relative;
}

.plotted-flow li::after {
  background: rgba(98, 214, 164, 0.18);
  bottom: -1px;
  content: "";
  left: 12px;
  position: absolute;
  top: 24px;
  width: 2px;
}

.plotted-flow li:last-child {
  padding-bottom: 0;
}

.plotted-flow li:last-child::after {
  display: none;
}

.plotted-flow li > span {
  align-items: center;
  background: var(--accent);
  border-radius: 999px;
  color: #00100b;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 900;
  height: 26px;
  justify-content: center;
  position: relative;
  width: 26px;
  z-index: 1;
}

.plotted-flow code {
  background: rgba(98, 214, 164, 0.07);
  border: 1px solid rgba(98, 214, 164, 0.13);
  border-radius: 7px;
  color: #d7fff1;
  display: block;
  font-size: 0.78rem;
  margin-top: 7px;
  overflow-wrap: anywhere;
  padding: 8px;
}

.visual-event-card {
  background: #000;
}

.event-modal-card {
  align-items: center;
  color: var(--text);
  cursor: pointer;
  display: flex;
  font: inherit;
  gap: 12px;
  justify-content: space-between;
  padding: 14px 16px;
  text-align: left;
  width: 100%;
}

.event-modal-card:hover,
.event-modal-card:focus-visible {
  border-color: rgba(98, 214, 164, 0.34);
  box-shadow: 0 0 0 3px rgba(98, 214, 164, 0.08);
}

.event-modal-card > span:first-child {
  min-width: 0;
}

.event-modal-card strong,
.event-modal-card small {
  display: block;
}

.event-modal-card small {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.observed-command-line code {
  background: rgba(98, 214, 164, 0.08);
  border: 1px solid rgba(98, 214, 164, 0.2);
  border-radius: 6px;
  color: #d7fff1;
  display: block;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.82rem;
  line-height: 1.45;
  margin-top: 5px;
  overflow-wrap: anywhere;
  padding: 9px 10px;
}

.raw-event-payload {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(98, 214, 164, 0.12);
  border-radius: 7px;
  padding: 9px;
}

.raw-event-payload summary {
  color: var(--muted);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.raw-event-payload pre {
  margin: 9px 0 0;
  max-height: 190px;
  overflow: auto;
}

.visual-event-card.risk-critical,
.visual-event-card.risk-high {
  border-color: rgba(255, 79, 115, 0.28);
}

.feed-field-contract-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.feed-contract-item {
  display: grid;
  gap: 4px;
  min-height: 86px;
  padding: 12px;
  border: 1px solid rgba(96, 211, 169, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.03);
}

.feed-contract-item.status-redacted,
.feed-contract-item.status-restricted {
  border-color: rgba(255, 207, 90, 0.24);
  background: rgba(255, 207, 90, 0.06);
}

.legal-gateway-card {
  background: linear-gradient(180deg, rgba(8, 22, 25, 0.96), rgba(3, 9, 11, 0.94));
  border: 1px solid rgba(96, 211, 169, 0.2);
  border-radius: 8px;
  padding: 22px;
}

.operator-gateway-card {
  margin-top: 18px;
}

.intelligence-gateway-panel {
  position: relative;
  overflow: hidden;
}

.intelligence-gateway-panel::before {
  background: linear-gradient(90deg, rgba(96, 211, 169, 0.9), rgba(255, 207, 90, 0.72), rgba(255, 72, 120, 0.72));
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.gateway-metric-strip {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 16px;
}

.clearance-path-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.clearance-path-card {
  align-items: flex-start;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(96, 211, 169, 0.18);
  border-radius: 8px;
  display: flex;
  gap: 11px;
  min-width: 0;
  padding: 13px;
}

.clearance-path-card strong {
  color: var(--text-strong);
  display: block;
  font-size: 0.96rem;
  margin-bottom: 5px;
}

.clearance-path-card small {
  color: var(--muted);
  line-height: 1.45;
}

.gateway-metric-strip article {
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(96, 211, 169, 0.16);
  border-radius: 8px;
  min-width: 0;
  padding: 13px;
}

.gateway-metric-strip span {
  color: var(--muted);
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gateway-metric-strip strong {
  color: var(--text-strong);
  display: block;
  font-size: 1.35rem;
  margin-top: 5px;
  overflow-wrap: anywhere;
}

.gateway-metric-strip small {
  color: var(--muted);
  display: block;
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.clearance-tier-matrix {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 16px;
}

.clearance-tier-matrix article {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  min-width: 0;
  padding: 13px;
}

.clearance-tier-matrix article.highlight {
  background: linear-gradient(180deg, rgba(96, 211, 169, 0.14), rgba(96, 211, 169, 0.04));
  border-color: rgba(96, 211, 169, 0.34);
  box-shadow: inset 0 3px 0 rgba(96, 211, 169, 0.9);
}

.clearance-tier-matrix article.restricted {
  background: rgba(255, 92, 138, 0.06);
  border-color: rgba(255, 92, 138, 0.24);
}

.clearance-tier-matrix span {
  color: var(--accent);
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.clearance-tier-matrix strong {
  color: var(--text-strong);
  display: block;
  font-size: 1rem;
  margin-bottom: 6px;
}

.clearance-tier-matrix small {
  color: var(--muted);
  line-height: 1.42;
}

.gateway-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.gateway-status-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.03);
}

.gateway-status-item strong {
  display: block;
  color: var(--text-strong);
  margin-bottom: 6px;
}

.gateway-status-item strong em {
  color: var(--accent);
  float: right;
  font-style: normal;
}

.gateway-status-item small {
  color: var(--muted);
  line-height: 1.45;
}

.gateway-status-item.status-active {
  border-color: rgba(96, 211, 169, 0.28);
  box-shadow: inset 3px 0 0 rgba(96, 211, 169, 0.85);
}

.gateway-status-item.status-degraded {
  border-color: rgba(255, 211, 105, 0.34);
  box-shadow: inset 3px 0 0 rgba(255, 211, 105, 0.95);
}

.gateway-contract-list {
  display: grid;
  grid-template-columns: minmax(120px, 0.5fr) 1fr;
  gap: 9px 14px;
  margin: 16px 0 0;
}

.gateway-contract-list dt {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gateway-contract-list dd {
  color: var(--text);
  margin: 0;
}

.gateway-flow {
  align-items: stretch;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.gateway-flow-step {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 13px;
  position: relative;
}

.gateway-flow-step::after {
  color: var(--accent);
  content: ">";
  font-weight: 800;
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
}

.gateway-flow-step:last-child::after {
  content: "";
}

.gateway-flow-step b {
  color: var(--text-strong);
  display: block;
  margin-bottom: 6px;
}

.gateway-flow-step small {
  color: var(--muted);
  line-height: 1.45;
}

.clearance-explainer {
  background: rgba(96, 211, 169, 0.06);
  border: 1px solid rgba(96, 211, 169, 0.18);
  border-radius: 8px;
  margin-top: 16px;
  padding: 14px 16px;
}

.clearance-explainer strong {
  color: var(--text-strong);
  display: block;
  margin-bottom: 6px;
}

.clearance-explainer p {
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 900px) {
  .clearance-path-grid,
  .gateway-metric-strip,
  .gateway-flow,
  .clearance-tier-matrix {
    grid-template-columns: 1fr;
  }

  .gateway-flow-step::after {
    content: "";
  }
}

.event-preview-metrics {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.event-preview-metrics b:not(.severity) {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--text-strong);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.78rem;
}

.event-field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 10px;
  padding: 0 16px 16px;
}

.event-field-grid span {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(96, 211, 169, 0.12);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.16);
}

.event-field-grid strong {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0;
  text-transform: uppercase;
}

.event-field-grid small {
  color: var(--text);
  overflow-wrap: anywhere;
}

.event-field-grid .field-redacted {
  border-color: rgba(255, 207, 90, 0.22);
  background: rgba(255, 207, 90, 0.06);
}

.event-field-grid .field-redacted small {
  color: var(--warning);
}

.customer-event-timeline {
  display: grid;
  gap: 12px;
  position: relative;
}

.customer-event-card {
  background: #020506;
  border-left: 3px solid rgba(98, 214, 164, 0.72);
}

.customer-event-card.risk-critical,
.customer-event-card.risk-high {
  border-left-color: var(--danger);
}

.customer-event-card.risk-medium {
  border-left-color: var(--warning);
}

.customer-event-head {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.event-sequence-dot {
  background: var(--accent);
  border: 4px solid rgba(98, 214, 164, 0.2);
  border-radius: 999px;
  box-shadow: 0 0 16px rgba(98, 214, 164, 0.38);
  flex: 0 0 auto;
  height: 17px;
  width: 17px;
}

.customer-event-card.risk-critical .event-sequence-dot,
.customer-event-card.risk-high .event-sequence-dot {
  background: var(--danger);
  border-color: rgba(255, 79, 115, 0.24);
}

.customer-event-action-row {
  border-top: 1px solid rgba(98, 214, 164, 0.09);
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  padding: 0 16px 14px;
}

.customer-event-action-row span {
  background: rgba(98, 214, 164, 0.055);
  border: 1px solid rgba(98, 214, 164, 0.13);
  border-radius: 8px;
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 10px;
}

.customer-event-action-row strong {
  color: var(--accent);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.customer-event-action-row small {
  color: var(--text);
  overflow-wrap: anywhere;
}

.customer-event-action-row .field-redacted {
  background: rgba(255, 207, 90, 0.06);
  border-color: rgba(255, 207, 90, 0.22);
}

.customer-event-action-row .field-redacted small {
  color: var(--warning);
}

.operator-event-fields {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.operator-raw-payload {
  grid-column: 1 / -1;
}

.command-history-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.command-history-card {
  background: rgba(7, 13, 16, 0.66);
  border: 1px solid rgba(98, 214, 164, 0.14);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  padding: 12px;
}

.command-history-card.status-completed {
  border-color: rgba(98, 214, 164, 0.28);
}

.command-history-card.status-failed {
  border-color: rgba(255, 79, 115, 0.32);
}

.command-history-card.status-pending,
.command-history-card.status-dispatched {
  border-color: rgba(244, 201, 93, 0.32);
}

.command-history-card strong {
  color: var(--text);
}

.command-confirmation-head {
  align-items: start;
  display: grid;
  gap: 9px;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.command-confirmation-head .pill {
  justify-self: end;
}

.command-confirmation-chain {
  background: rgba(2, 7, 9, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  display: grid;
  gap: 0;
  grid-template-columns: minmax(94px, 0.34fr) minmax(0, 1fr);
  margin: 0;
  overflow: hidden;
}

.command-confirmation-chain dt,
.command-confirmation-chain dd {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  margin: 0;
  padding: 8px;
}

.command-confirmation-chain dt {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
}

.command-confirmation-chain dd {
  color: var(--muted);
  overflow-wrap: anywhere;
}

.command-node-output {
  border-top: 1px solid rgba(98, 214, 164, 0.12);
  padding-top: 8px;
}

.command-node-output summary {
  color: var(--accent);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 800;
}

.command-node-output pre {
  background: #020708;
  border: 1px solid rgba(98, 214, 164, 0.14);
  border-radius: 7px;
  color: #d7fff0;
  font-size: 0.74rem;
  line-height: 1.45;
  margin: 8px 0 0;
  max-height: 180px;
  overflow: auto;
  padding: 10px;
}

.command-history-card small,
.command-history-card p {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0;
  overflow-wrap: anywhere;
}

.honeypot-surface.surface-yellow {
  border-left-color: #f4c95d;
}

.honeypot-surface.surface-red {
  background: rgba(255, 79, 115, 0.1);
  border-color: rgba(255, 79, 115, 0.22);
  border-left-color: #ff4f73;
  box-shadow: 0 0 0 1px rgba(255, 79, 115, 0.08), 0 14px 26px rgba(255, 79, 115, 0.08);
}

.honeypot-surface.surface-active strong {
  color: #ffdfe6;
}

.fleet-log-placeholder {
  align-content: start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  display: grid;
  gap: 6px;
  padding: 11px;
}

.fleet-log-placeholder span {
  color: var(--muted);
  font-size: 0.86rem;
  overflow-wrap: anywhere;
}

.deployed-list a {
  background: rgba(98, 214, 164, 0.07);
  border: 1px solid rgba(98, 214, 164, 0.13);
  border-radius: 6px;
  color: var(--text);
  display: grid;
  gap: 2px;
  padding: 10px;
  text-decoration: none;
}

.deployed-list a:hover,
.deployed-list a:focus-visible {
  border-color: rgba(98, 214, 164, 0.34);
}

.deployed-list span {
  color: var(--muted);
  font-size: 0.84rem;
}

.deployed-list .deployment-attack-line {
  align-items: center;
  display: flex;
  gap: 8px;
  overflow-wrap: anywhere;
}

.deployed-list .traffic-light,
.attack-pill .traffic-light,
.node-light-pair .traffic-light,
.sensor-light-stack .traffic-light,
.sensor-attack-detail .traffic-light,
.node-activity-detail .traffic-light {
  flex: 0 0 auto;
  height: 9px;
  width: 9px;
}

.profile-card details {
  border-top: 1px solid rgba(98, 214, 164, 0.13);
  padding-top: 10px;
}

.profile-card summary {
  color: var(--accent);
  cursor: pointer;
  font-weight: 700;
}

.profile-card h4 {
  margin: 12px 0 8px;
}

.onboarding-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.campaign-bind-panel {
  background: rgba(7, 13, 16, 0.45);
  border: 1px solid rgba(98, 214, 164, 0.13);
  border-radius: 8px;
  padding: 14px;
}

.campaign-bind-panel h3 {
  margin-top: 0;
}

.campaign-checkbox-list {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  max-height: 360px;
  overflow: auto;
  padding-right: 4px;
}

.campaign-checkbox-list label {
  align-items: flex-start;
  background: rgba(98, 214, 164, 0.07);
  border: 1px solid rgba(98, 214, 164, 0.13);
  border-radius: 6px;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 10px;
}

.campaign-checkbox-list input {
  margin-top: 4px;
  width: auto;
}

.campaign-checkbox-list span {
  display: grid;
  gap: 3px;
}

.campaign-checkbox-list small,
.campaign-checkbox-list em {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: normal;
}

.command-card {
  background: rgba(7, 13, 16, 0.42);
  border: 1px solid rgba(98, 214, 164, 0.13);
  border-radius: 8px;
  margin: 12px 0;
  padding: 14px;
}

.command-card h3 {
  margin: 0 0 10px;
}

.link-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.link-list a {
  background: #000;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  padding: 14px;
  text-decoration: none;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.share-url {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  max-width: none;
  overflow-wrap: anywhere;
  padding: 12px;
}

.error {
  color: var(--warning);
}

@media (max-width: 1240px) {
  .public-nav {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .public-nav-menu {
    display: none;
  }

  .public-mobile-menu {
    display: block;
    justify-self: end;
  }

  .public-customer-actions {
    display: none;
  }
}

@media (max-width: 820px) {
  .metric-grid,
  .columns,
  .observatory-grid,
  .capability-strip,
  .coverage-grid,
  .coverage-grid.compact,
  .endpoint-grid,
  .customer-command-grid,
  .customer-overview,
  .signup-layout,
  .attack-map-layout,
  .detail-grid,
  .filter-grid,
  .policy-scoreboard,
  .policy-flow,
  .node-card-grid,
  .profile-card-grid,
  .node-metric-strip,
  .node-meta-grid,
  .sensor-tile-grid,
  .ops-health-strip,
  .ops-role-grid,
  .ops-metric-strip,
  .fleet-summary-strip,
  .fleet-attention-panel,
  .fleet-node-summary,
  .fleet-node-stats,
  .fleet-sensor-summary,
  .fleet-sensor-details,
    .trend-row,
    .weekly-row,
    dl {
    grid-template-columns: 1fr;
  }

  .node-card-top,
  .sensor-tile-header {
    display: grid;
  }

  .node-status-stack,
  .node-light-pair,
  .sensor-light-stack {
    align-items: start;
    justify-items: start;
  }

  .fleet-node-summary::after {
    justify-self: start;
  }

  .fleet-sensor-pills {
    justify-content: flex-start;
  }

  .trend-count {
    text-align: left;
  }

  .weekly-row {
    gap: 5px;
  }

  .weekly-row > strong {
    text-align: left;
  }

  .section-heading {
    display: block;
  }

  .trend-legend {
    margin-top: 12px;
  }

  .public-nav {
    align-items: center;
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 12px max(10px, calc((100vw - 1180px) / 2 + 10px));
  }

  .observatory-hero {
    grid-template-columns: 1fr;
  }

  .portal-heading {
    align-items: flex-start;
    display: grid;
  }

  .public-nav-menu {
    display: none;
  }

  .public-mobile-menu {
    display: block;
    justify-self: end;
  }

  .public-mobile-panel {
    left: 10px;
    right: 10px;
    top: 62px;
    width: auto;
  }

  .map-heading {
    display: block;
  }

  .map-panel-primary {
    min-height: calc(100vh - 92px);
    padding: 0;
  }

  .map-panel-primary .map-heading h2 {
    margin-bottom: 8px;
  }

  .map-panel-primary .map-heading p {
    display: none;
  }

  .map-heading button {
    max-width: none;
  }

  .map-controls {
    justify-items: stretch;
    min-width: 0;
  }

  .map-summary {
    max-width: none;
    text-align: left;
  }

  .map-live-state {
    justify-self: start;
  }

  .map-panel-primary #attack-map {
    height: calc(100vh - 92px);
    min-height: 620px;
  }

  .map-panel-primary .leaflet-top {
    display: none;
  }

  .map-hero-overlay {
    left: 18px;
    max-width: min(680px, calc(100vw - 36px));
    right: 18px;
    top: 16px;
    width: min(680px, calc(100vw - 36px));
  }

  .map-hero-overlay h1 {
    font-size: clamp(1.35rem, 5.2vw, 2.25rem);
    line-height: 1.08;
    max-width: 100%;
    min-height: 3.35em;
  }

  .map-hero-meta .map-summary,
  .map-live-state {
    font-size: 0.78rem;
  }

  .map-hero-meta {
    margin-top: 10px;
    max-width: min(620px, 100%);
  }

  .map-intel-rail {
    bottom: 14px;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    left: 14px;
    right: 14px;
    top: auto;
    width: auto;
  }

  .rail-section,
  .map-legend {
    padding: 11px;
  }

  .rail-section strong {
    font-size: 1.35rem;
  }

  .map-legend {
    display: none;
  }

  .comparison-panel {
    padding: 14px;
  }

  .comparison-grid,
  .competitive-grid,
  .standards-grid,
  .intel-visual-grid,
  .public-intel-grid,
  .intel-object-grid,
  .actor-attribution-grid,
  .brief-snapshot-grid,
  .pulse-grid,
  .evidence-code-grid,
  .behavior-summary-strip,
  .visual-kpi-strip,
  .sensor-intel-overview,
  .sensor-intel-layout,
  .behavior-intel-layout,
  .behavior-sequence-grid,
  .launch-grid,
  .launch-scoreboard,
  .severity-strip,
  .launch-card-grid,
  .ops-command-strip,
  .heartbeat-summary,
  .heartbeat-groups,
  .sensor-launch-summary,
  .sensor-launch-grid,
  .node-card-grid,
  .profile-card-grid,
  .onboarding-grid,
  .pricing-grid,
  .public-footer,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .readiness-group {
    overflow-x: auto;
  }

  .readiness-table {
    min-width: 760px;
  }

  .intel-wide-card {
    grid-column: auto;
  }

  .attack-timeline-horizontal {
    grid-auto-columns: minmax(210px, 86vw);
  }

  .standard-list > div {
    grid-template-columns: 1fr;
  }

  .phase-bar {
    grid-template-columns: 1fr;
  }

  .behavior-stage-card {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .behavior-stage-card em {
    grid-column: 2;
    justify-self: start;
  }

  .action-timeline-row {
    grid-template-columns: 18px minmax(0, 1fr);
  }

  .action-timeline-row::after {
    left: 8px;
  }

  .action-time {
    grid-column: 2;
    grid-row: 1;
    padding-top: 0;
  }

  .action-dot {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .action-copy,
  .risk-badge {
    grid-column: 2;
  }

  .risk-badge {
    justify-self: start;
  }

  .sensor-intel-group > summary,
  .event-preview-card > summary,
  .operator-event-card > summary,
  .operator-behavior-flow > summary {
    align-items: flex-start;
    display: grid;
  }

  .event-preview-metrics {
    flex-wrap: wrap;
    white-space: normal;
  }

  .phase-bar strong {
    text-align: left;
  }

  .comparison-card h3 {
    font-size: 1rem;
  }

  .footer-links {
    gap: 8px;
  }

  .footer-bottom {
    display: grid;
  }

  .entitlement-grid {
    grid-template-columns: 1fr;
  }

  .shell {
    width: min(100% - 20px, 1180px);
    padding: 16px 0 24px;
  }

  .admin-topbar {
    align-items: start;
    left: 0;
    grid-template-columns: auto minmax(0, 1fr);
    position: fixed;
    top: 0;
    width: 100vw;
  }

  .admin-topbar .admin-nav {
    display: none;
  }

  .admin-mobile-menu {
    display: block;
    justify-self: start;
    width: auto;
  }

  .admin-mobile-menu summary {
    margin-left: 0;
  }

  .admin-mobile-panel {
    left: 12px;
    right: auto;
    top: 62px;
    width: min(340px, calc(100vw - 24px));
  }

  .admin-identity {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .admin-identity span {
    display: block;
  }
}


/* Shared docked mobile drawer used by public, customer, and operator shells. */
.public-mobile-menu summary,
.admin-mobile-menu summary {
  position: relative;
  z-index: 1201;
}

.public-mobile-panel,
.admin-mobile-panel {
  align-content: start;
  background: #000000;
  border: 0;
  border-radius: 0 12px 12px 0;
  border-right: 1px solid rgba(98, 214, 164, 0.2);
  bottom: 0;
  box-shadow: 22px 0 60px rgba(0, 0, 0, 0.72);
  display: grid;
  gap: 4px;
  grid-auto-rows: max-content;
  height: 100dvh;
  left: 0;
  line-height: 1.35;
  margin: 0;
  max-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 74px 14px 18px;
  position: fixed;
  right: auto;
  scrollbar-color: rgba(98, 214, 164, 0.42) transparent;
  top: 0;
  width: min(312px, 86vw);
  z-index: 1100;
}

.mobile-drawer-brand {
  align-items: center;
  border-bottom: 1px solid rgba(98, 214, 164, 0.14);
  display: flex;
  min-height: 44px;
  padding: 0 2px 12px;
}

.mobile-drawer-brand img {
  display: block;
  height: 38px;
  object-fit: contain;
  width: auto;
}

.public-mobile-panel section,
.admin-mobile-panel section {
  border-top: 1px solid rgba(98, 214, 164, 0.12);
  display: grid;
  gap: 2px;
  padding: 9px 0 3px;
}

.public-mobile-panel p,
.admin-mobile-panel p {
  margin-bottom: 3px;
}

.public-mobile-panel a,
.admin-mobile-panel a {
  border: 0;
  border-radius: 7px;
  min-height: 36px;
  padding: 8px 10px;
}

.public-mobile-panel a:hover,
.public-mobile-panel a:focus-visible,
.admin-mobile-panel a:hover,
.admin-mobile-panel a:focus-visible,
.public-nav-form button:hover,
.public-nav-form button:focus-visible,
.admin-mobile-account button:hover,
.admin-mobile-account button:focus-visible {
  background: rgba(98, 214, 164, 0.14);
  color: var(--text-strong);
}

@media (max-width: 560px) {
  .public-mobile-panel,
  .admin-mobile-panel {
    border-radius: 0;
    width: min(300px, 86vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (max-width: 560px) {
  .admin-topbar {
    align-items: center;
    border-left: 0;
    border-radius: 0;
    border-right: 0;
    grid-template-columns: auto auto minmax(0, 1fr);
    left: 0;
    width: 100vw;
  }

  .public-nav {
    grid-template-columns: 1fr auto auto;
    margin-left: 0;
    width: 100%;
  }

  .public-mobile-panel {
    left: 10px;
    right: 10px;
    width: auto;
  }

  .public-login-link {
    padding-left: 9px;
    padding-right: 9px;
  }

  .admin-mobile-menu {
    justify-self: start;
    width: auto;
  }

  .admin-mobile-menu summary {
    justify-content: center;
    margin-left: 0;
    width: 42px;
  }


  .admin-mobile-panel {
    left: 10px;
    right: 10px;
    top: 58px;
    width: auto;
  }

  .admin-identity {
    align-items: flex-start;
    display: flex;
    justify-content: flex-end;
  }

  .admin-identity span {
    max-width: 100%;
  }

  .admin-identity form,
  .admin-identity button {
    width: auto;
  }

  table {
    min-width: 680px;
  }

  th,
  td {
    padding: 8px;
  }
}


/* Dashboard visual consoles */
.dashboard-visual-console,
.customer-status-panel {
  overflow: hidden;
}

.ops-ring-grid,
.customer-ring-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 20px 0;
}

.ops-donut-card,
.customer-donut-card {
  align-items: center;
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.22);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 132px;
  padding: 18px;
}

.donut-ring {
  --ring-size: 82px;
  align-items: center;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at center, #000 0 55%, transparent 56%),
    conic-gradient(var(--accent) calc(var(--value, 0) * 1%), rgba(98, 214, 164, 0.12) 0);
  border: 1px solid rgba(98, 214, 164, 0.22);
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(98, 214, 164, 0.16);
  display: grid;
  height: var(--ring-size);
  justify-items: center;
  place-items: center;
  width: var(--ring-size);
}

.donut-ring span {
  color: var(--text-strong);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  text-align: center;
}

.ops-donut-card strong,
.customer-donut-card strong,
.ops-mini-card strong,
.ops-hero-card strong,
.ops-chart-card strong {
  color: var(--text-strong);
  display: block;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  line-height: 1.15;
  margin: 4px 0;
}

.ops-donut-card small,
.customer-donut-card small,
.ops-mini-card p,
.ops-hero-card p,
.ops-hero-card small {
  color: var(--muted);
  display: block;
  font-size: 0.9rem;
  line-height: 1.35;
}

.ops-snapshot-layout {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.ops-hero-card,
.ops-mini-card,
.ops-chart-card {
  background: #000;
  border: 1px solid rgba(98, 214, 164, 0.18);
  border-radius: 8px;
  min-width: 0;
  padding: 18px;
}

.ops-hero-card {
  grid-column: span 6;
}

.ops-mini-card {
  grid-column: span 2;
}

.ops-chart-card {
  grid-column: span 6;
}

.ops-card-label,
.visual-panel-head span {
  color: var(--accent);
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.visual-panel-head strong {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: right;
}

.confidence-meter,
.ranked-bar i,
.risk-stack {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(98, 214, 164, 0.12);
  border-radius: 999px;
  display: block;
  height: 10px;
  overflow: hidden;
}

.confidence-meter i,
.ranked-bar b {
  background: linear-gradient(90deg, var(--accent), var(--accent-blue));
  display: block;
  height: 100%;
}

.ranked-bars {
  display: grid;
  gap: 10px;
}

.ranked-bar {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(120px, 1fr) minmax(110px, 2fr) auto;
}

.ranked-bar span {
  color: var(--text);
  font-weight: 650;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.risk-stack {
  display: flex;
  height: 16px;
  margin: 12px 0 14px;
}

.risk-stack span {
  display: block;
  min-width: 3px;
}

.risk-stack .risk-critical { background: var(--accent-rose); }
.risk-stack .risk-high { background: var(--orange); }
.risk-stack .risk-medium { background: var(--warning); }

.risk-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.risk-legend span {
  color: var(--muted);
  font-size: 0.9rem;
}

.customer-ring-grid {
  margin-top: 18px;
}

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

  .ops-hero-card,
  .ops-chart-card {
    grid-column: span 12;
  }

  .ops-mini-card {
    grid-column: span 4;
  }
}

@media (max-width: 640px) {
  .ops-ring-grid,
  .customer-ring-grid {
    grid-template-columns: 1fr;
  }

  .ops-donut-card,
  .customer-donut-card {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 110px;
    padding: 14px;
  }

  .donut-ring {
    --ring-size: 68px;
  }

  .ops-mini-card {
    grid-column: span 12;
  }

  .ranked-bar {
    grid-template-columns: 1fr auto;
  }

  .ranked-bar i {
    grid-column: 1 / -1;
    order: 3;
  }
}

/* Smooth async data refresh states */
[data-live-state="updating"]::after,
.public-summary-updating .public-map-metrics::after {
  align-items: center;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(98, 214, 164, 0.24);
  border-radius: 999px;
  color: var(--accent);
  content: "Updating";
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 800;
  gap: 7px;
  letter-spacing: 0.01em;
  padding: 6px 10px;
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 5;
}

.public-map-metrics {
  position: relative;
}

/* Public protocol severity donut cards */
.protocol-observatory-panel {
  overflow: hidden;
}

.protocol-donut-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.protocol-donut-card {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 132px;
  padding: 18px;
  background: #000;
  border: 1px solid rgba(94, 255, 190, 0.18);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.protocol-donut {
  position: relative;
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
}

.protocol-donut-placeholder,
.donut-ring.is-loading,
.ops-donut-card.is-loading .donut-ring,
.customer-donut-card.is-loading .donut-ring {
  animation: traplayer-spin 0.9s linear infinite;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at center, #000 0 55%, transparent 56%),
    conic-gradient(from 0deg, rgba(98, 214, 164, 0.92), rgba(103, 183, 255, 0.42), rgba(255, 92, 138, 0.5), rgba(98, 214, 164, 0.92));
  border: 1px solid rgba(98, 214, 164, 0.22);
  border-radius: 999px;
  box-shadow: 0 0 24px rgba(98, 214, 164, 0.16);
  height: 96px;
  width: 96px;
}

.protocol-donut-loading {
  opacity: 0.92;
}

.protocol-donut-loading .protocol-donut-copy h3 {
  color: var(--text);
}

.protocol-line-placeholder {
  animation: skeleton-pulse 1.25s ease-in-out infinite;
  background: linear-gradient(90deg, rgba(255,255,255,0.05), rgba(255,255,255,0.16), rgba(255,255,255,0.05));
  background-size: 220% 100%;
  border-radius: 999px;
  height: 11px;
  margin: 9px 0;
  max-width: 180px;
}

.protocol-line-placeholder.short {
  max-width: 120px;
}

.metric-loading[data-metric-value],
.metric-loading[data-count-animation-token] {
  color: var(--text-strong);
}

.protocol-donut svg {
  display: block;
  width: 96px;
  height: 96px;
  transform: rotate(-90deg);
  overflow: visible;
}

.protocol-donut-track,
.protocol-donut-segment {
  fill: none;
  stroke-width: 13;
}

.protocol-donut-track {
  stroke: rgba(255, 255, 255, 0.08);
}

.protocol-donut-segment {
  stroke-linecap: butt;
}

.protocol-donut strong {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0;
}

.protocol-donut-copy {
  min-width: 0;
}

.protocol-donut-copy h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.2;
}

.protocol-severity-legend {
  display: grid;
  gap: 7px;
}

.protocol-severity-legend span {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.25;
}

.protocol-severity-legend i {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  box-shadow: 0 0 14px currentColor;
}

.protocol-severity-legend strong {
  color: var(--text);
  font-weight: 800;
}

.severity-stroke-critical { stroke: var(--accent-rose); }
.severity-stroke-high { stroke: var(--orange); }
.severity-stroke-medium { stroke: var(--warning); }
.severity-stroke-low { stroke: var(--accent); }
.severity-stroke-unknown { stroke: rgba(255, 255, 255, 0.3); }

.severity-dot-critical { color: var(--accent-rose); background: var(--accent-rose); }
.severity-dot-high { color: var(--orange); background: var(--orange); }
.severity-dot-medium { color: var(--warning); background: var(--warning); }
.severity-dot-low { color: var(--accent); background: var(--accent); }
.severity-dot-unknown { color: rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.45); }

@media (max-width: 720px) {
  .protocol-donut-grid {
    grid-template-columns: 1fr;
  }

  .protocol-donut-card {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 14px;
    min-height: 112px;
    padding: 14px;
  }

  .protocol-donut,
  .protocol-donut svg {
    width: 78px;
    height: 78px;
  }

  .protocol-donut-placeholder {
    height: 78px;
    width: 78px;
  }

  .protocol-donut-track,
  .protocol-donut-segment {
    stroke-width: 12;
  }

  .protocol-donut strong {
    font-size: 0.92rem;
  }

  .protocol-severity-legend span {
    font-size: 0.82rem;
  }
}
