/* Agent swarm graph + RPG character-sheet modal
   — Hub & spoke layout, micro-animations on hover,
   — equipment-model view in the modal. */

/* ─── Graph container ─── */
.agent-graph-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin-inline: auto;
  contain: layout paint;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
/* Inner stage uses fixed design coordinates (760x660) — scaled to fit parent */
#agent-graph {
  position: relative;
  width: 760px;
  height: 660px;
  transform-origin: center center;
  flex: 0 0 auto;
  margin: auto;
}
#agent-graph .ag-tree-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  display: block;
  pointer-events: none;
}
.agent-graph-svg {
  width: 100%; height: 100%;
  overflow: visible;
  display: block;
}

/* ─── Orbits (ambient concentric rings) ─── */
.ag-orbit {
  fill: none;
  stroke: var(--brand-teal);
  stroke-opacity: 0.08;
  stroke-dasharray: 2 6;
}
.ag-orbit-inner { stroke-dasharray: 3 5; stroke-opacity: 0.11; }
.ag-orbit-outer { stroke-dasharray: 2 8; stroke-opacity: 0.07; }

.ag-hub-glow {
  opacity: 0.7;
  animation: ag-hub-pulse 4.5s ease-in-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
@keyframes ag-hub-pulse {
  0%, 100% { opacity: 0.55; transform: scale(1); }
  50%      { opacity: 0.85; transform: scale(1.06); }
}

/* ─── Edges ─── */
.ag-edge {
  stroke: var(--brand-teal);
  stroke-width: 1;
  stroke-opacity: 0.35;
  transition: stroke-opacity .25s, stroke-width .25s, filter .25s;
  filter: drop-shadow(0 0 2px rgba(45, 230, 242, 0.2));
}
.ag-edge-primary { stroke-width: 1.25; stroke-opacity: 0.55; }
.ag-edge-spoke   { stroke-opacity: 0.32; }
.ag-edge-orbit   { stroke-opacity: 0.14; stroke-dasharray: 2 4; }

.ag-edge-hot  { stroke-opacity: 1; stroke-width: 2; filter: drop-shadow(0 0 7px rgba(45, 230, 242, 0.75)); }
.ag-edge-dim  { stroke-opacity: 0.06; }

.ag-pulse {
  fill: var(--brand-teal);
  filter: drop-shadow(0 0 4px rgba(45, 230, 242, 0.8));
}
.ag-pulse-hot { fill: #2DE6F2; r: 3.5; }

/* ─── Nodes ─── */
.ag-node {
  cursor: pointer;
  outline: none;
  transition: filter .25s var(--ease-out);
}
.ag-circle {
  fill: var(--bg);
  stroke: var(--line-strong);
  stroke-width: 1.5;
  transition: stroke .2s, fill .2s, stroke-width .2s;
}
/* COS = true hub, cyan & bright */
.ag-hub .ag-circle        { fill: var(--ink); stroke: var(--brand-teal); stroke-width: 2.5; }
.ag-hub .ag-circle        { filter: drop-shadow(0 0 12px rgba(45, 230, 242, 0.5)); }
/* CEO input — static, muted, no halo */
.ag-input .ag-circle      { fill: #1A1A18; stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 3 3; }
.ag-manager .ag-circle    { fill: #1A1A18;    stroke: #E8B44E;           stroke-width: 2; }
.ag-specialist .ag-circle { fill: var(--bg-card); stroke: var(--brand-teal); stroke-width: 1.5; }

/* Static (non-interactive) nodes — no cursor, no hover bloom */
.ag-static { cursor: default; }
.ag-static:hover .ag-circle { /* no stroke change */ }

/* Idle pulse on every interactive node — subtle breathing life */
.ag-node:not(.ag-static) .ag-circle {
  animation: ag-idle-breath 3.6s ease-in-out infinite;
}
.ag-hub .ag-circle { animation-duration: 2.8s; }
.ag-manager .ag-circle { animation-delay: -0.7s; }
.ag-specialist .ag-circle { animation-delay: calc(var(--idle-offset, 0) * 1s); }
@keyframes ag-idle-breath {
  0%, 100% { stroke-opacity: 0.85; }
  50%      { stroke-opacity: 1; }
}

/* Halos (animated on hover) */
.ag-halo-1, .ag-halo-2 {
  fill: transparent;
  stroke: var(--brand-teal);
  stroke-width: 1;
  stroke-opacity: 0;
  transition: stroke-opacity .3s, r .35s var(--ease-out), stroke-width .3s;
  transform-origin: center;
  transform-box: fill-box;
}
.ag-manager .ag-halo-1, .ag-manager .ag-halo-2 { stroke: #E8B44E; }
.ag-hub .ag-halo-1, .ag-hub .ag-halo-2         { stroke: var(--brand-teal); }

/* Micro-animation: hover/focus/active — concentric halos bloom out + pulse */
.ag-node:hover .ag-halo-1,
.ag-node.ag-active .ag-halo-1,
.ag-node:focus-visible .ag-halo-1 {
  stroke-opacity: 0.6;
  stroke-width: 1.25;
  animation: ag-halo-bloom 1.4s ease-out infinite;
}
.ag-node:hover .ag-halo-2,
.ag-node.ag-active .ag-halo-2,
.ag-node:focus-visible .ag-halo-2 {
  stroke-opacity: 0.25;
  stroke-width: 1;
  animation: ag-halo-bloom 1.4s ease-out .35s infinite;
}
@keyframes ag-halo-bloom {
  0%   { transform: scale(0.88); stroke-opacity: 0.55; }
  80%  { stroke-opacity: 0; }
  100% { transform: scale(1.18); stroke-opacity: 0; }
}

/* Circle brightens on hover */
.ag-node:hover .ag-circle,
.ag-node.ag-active .ag-circle,
.ag-node:focus-visible .ag-circle {
  stroke-width: 2.75;
  filter: drop-shadow(0 0 10px rgba(45, 230, 242, 0.55));
}
.ag-manager:hover .ag-circle,
.ag-manager.ag-active .ag-circle {
  filter: drop-shadow(0 0 10px rgba(232, 180, 78, 0.55));
}

/* Tick marks rotate slowly on hover */
.ag-ticks {
  transform-origin: center;
  transform-box: fill-box;
  transition: opacity .3s;
  opacity: 0;
}
.ag-tick {
  stroke: var(--brand-teal);
  stroke-opacity: 0.8;
  stroke-width: 1.25;
  stroke-linecap: round;
}
.ag-manager .ag-tick { stroke: #E8B44E; }
.ag-node:hover .ag-ticks,
.ag-node.ag-active .ag-ticks,
.ag-node:focus-visible .ag-ticks {
  opacity: 1;
  animation: ag-ticks-spin 6s linear infinite;
}
@keyframes ag-ticks-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.ag-dim { opacity: 0.28; }
.ag-dim .ag-label, .ag-dim .ag-sublabel { opacity: 0.55; }

/* ─── Labels ─── */
.ag-initials {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  fill: var(--ink);
  pointer-events: none;
}
.ag-hub .ag-initials        { fill: var(--brand-teal); font-size: 13px; letter-spacing: 0.08em; }
.ag-input .ag-initials      { fill: var(--ink-3); font-size: 16px; }
.ag-manager .ag-initials    { fill: #E8B44E; }
.ag-specialist .ag-initials { fill: var(--ink); font-size: 10px; }

.ag-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  fill: var(--ink);
  pointer-events: none;
  transition: fill .2s;
}
.ag-sublabel {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  fill: var(--ink-dim);
  text-transform: uppercase;
  pointer-events: none;
}
.ag-hub .ag-label     { fill: var(--brand-teal); font-weight: 700; letter-spacing: 0.14em; }
.ag-input .ag-label   { fill: var(--ink-3); font-weight: 500; letter-spacing: 0.14em; }
.ag-manager .ag-label { fill: #E8B44E; font-weight: 700; letter-spacing: 0.12em; }

.ag-node:hover .ag-label { fill: var(--brand-teal); }
.ag-manager:hover .ag-label { fill: #F0C878; }

/* ─── Orthogonal card-tree layout ─── */
.ag-tree { background:
  radial-gradient(circle at 50% 50%, rgba(45,230,242,0.04), transparent 70%);
}
.ag-card {
  position: absolute;
  background: var(--bg-card, #14110D);
  border: 1px solid var(--line, rgba(255,255,255,0.12));
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, transform .2s, background .2s;
  box-sizing: border-box;
  outline: none;
}
.ag-card:hover, .ag-card:focus-visible, .ag-card.ag-active {
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 1px var(--brand-teal), 0 0 18px rgba(45,230,242,0.35);
  z-index: 5;
}
.ag-card.ag-dim { opacity: 0.32; }
.ag-card-static { cursor: default; border-style: dashed; opacity: 0.85; }
.ag-card-static:hover { box-shadow: none; border-color: var(--ink-3); }

.ag-card-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.ag-card-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ag-card-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-teal);
  box-shadow: 0 0 6px var(--brand-teal);
  animation: ag-card-pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}
.ag-card-hub .ag-card-dot { background: var(--brand-teal); }
.ag-card-manager .ag-card-dot { background: #E8B44E; box-shadow: 0 0 6px #E8B44E; }
.ag-card-input .ag-card-dot { background: var(--ink-3); box-shadow: none; animation: none; }
.ag-card-specialist .ag-card-dot { width: 5px; height: 5px; }
@keyframes ag-card-pulse {
  0%,100% { opacity: 0.5; transform: scale(0.85); }
  50% { opacity: 1; transform: scale(1.1); }
}

.ag-card-sub {
  font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--ink-dim, rgba(255,255,255,0.5));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ag-card-skills {
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--brand-teal);
  margin-top: 1px;
}

/* Type-specific card styles */
.ag-card-hub {
  background: var(--ink, #0B1518);
  border-color: var(--brand-teal);
  border-width: 1.5px;
  box-shadow: 0 0 14px rgba(45,230,242,0.3);
}
.ag-card-hub .ag-card-title { color: var(--brand-teal); letter-spacing: 0.1em; }
.ag-card-hub .ag-card-sub { color: rgba(45,230,242,0.6); }

.ag-card-input {
  background: rgba(20,17,13,0.6);
  border-style: dashed;
  border-color: var(--ink-3, rgba(255,255,255,0.3));
}
.ag-card-input .ag-card-title { color: var(--ink-2, rgba(255,255,255,0.75)); }

.ag-card-manager {
  background: var(--bg-card, #14110D);
  border-color: rgba(232, 180, 78, 0.55);
  border-width: 1.5px;
}
.ag-card-manager .ag-card-title { color: #E8B44E; }
.ag-card-manager:hover, .ag-card-manager:focus-visible, .ag-card-manager.ag-active {
  border-color: #E8B44E;
  box-shadow: 0 0 0 1px #E8B44E, 0 0 14px rgba(232,180,78,0.4);
}

.ag-card-specialist {
  background: var(--bg-card, #14110D);
}

/* Graph caption */
.agent-graph-caption {
  margin-top: 12px;
  padding: 14px 18px;
  border: 1px dashed var(--nx-line);
  background: rgba(45, 230, 242, 0.03);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-dim);
  line-height: 1.6;
}
.agent-graph-caption strong { color: var(--brand-teal); font-weight: 600; }
.agent-graph-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}
.agc-legend { display: inline-flex; align-items: center; gap: 6px; }
.agc-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.agc-dot.hub { background: var(--brand-teal); box-shadow: 0 0 5px var(--brand-teal); }
.agc-dot.ceo { background: var(--ink-3); border: 1px dashed var(--ink-2); }
.agc-dot.mgr { background: #E8B44E; box-shadow: 0 0 5px #E8B44E; }
.agc-dot.spec { background: var(--ink-2); }
.agc-hint { margin-left: auto; color: var(--brand-teal); font-style: italic; opacity: 0.8; }
@media (max-width: 540px) { .agc-hint { margin-left: 0; width: 100%; } }

/* Equipment portrait simpler styles */
.eq-portrait-circle {
  position: relative;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid var(--nx-cyan);
  background: radial-gradient(circle at 50% 40%, rgba(45,230,242,0.18), var(--nx-bg-1));
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 18px rgba(45,230,242,0.18), 0 0 14px rgba(45,230,242,0.18);
  animation: eq-circle-breathe 3.4s ease-in-out infinite;
}
@keyframes eq-circle-breathe {
  0%,100% { box-shadow: inset 0 0 18px rgba(45,230,242,0.18), 0 0 14px rgba(45,230,242,0.18); }
  50% { box-shadow: inset 0 0 22px rgba(45,230,242,0.28), 0 0 22px rgba(45,230,242,0.32); }
}
.eq-portrait-glyph {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--nx-cyan);
  letter-spacing: 0.06em;
}

/* ─────────── MODAL ─────────── */
#agent-modal-root {
  display: none;
  position: fixed; inset: 0;
  z-index: 100;
}
#agent-modal-root.open { display: block; }

.sheet-backdrop {
  position: absolute; inset: 0;
  background: rgba(5, 18, 26, 0.78);
  backdrop-filter: blur(6px);
  animation: sheet-fade .18s ease-out;
}
@keyframes sheet-fade { from { opacity: 0; } to { opacity: 1; } }

.sheet-panel {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(1040px, 94vw);
  max-height: 90vh;
  background: var(--nx-bg-1, #0B1518);
  border: 1px solid var(--nx-cyan, #2DE6F2);
  box-shadow:
    0 0 0 1px rgba(45, 230, 242, 0.2),
    0 32px 80px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(45, 230, 242, 0.12);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: sheet-in .24s var(--ease-out);
}
@keyframes sheet-in {
  from { opacity: 0; transform: translate(-50%, -48%) scale(0.98); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.sheet-panel::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--nx-cyan, #2DE6F2), transparent);
}

.sheet-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px;
  border: 1px solid var(--nx-line);
  background: transparent;
  color: var(--nx-ink-dim);
  font-family: var(--font-mono);
  font-size: 20px; line-height: 1;
  cursor: pointer;
  transition: color .15s, border-color .15s;
  z-index: 2;
}
.sheet-close:hover { color: var(--nx-cyan); border-color: var(--nx-cyan); }

.sheet-header {
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--nx-line);
  background: var(--nx-bg-2);
}
.sheet-kind {
  font-size: 10px; letter-spacing: 0.16em;
  color: var(--nx-cyan-dim);
  font-family: var(--font-mono);
  margin-bottom: 10px;
}
.sheet-title {
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--nx-ink);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
  font-weight: 500;
  line-height: 1.25;
}
.sheet-em-dash { color: var(--nx-ink-dim); margin: 0 8px; }
.sheet-role { color: var(--nx-cyan); font-weight: 600; }
.sheet-reports {
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--nx-ink-dim);
  font-family: var(--font-mono);
}

.sheet-body {
  display: grid;
  grid-template-columns: 240px 1fr;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.sheet-side {
  background: var(--nx-bg-2);
  border-right: 1px solid var(--nx-line);
  padding: 20px 0;
  display: flex; flex-direction: column;
  gap: 20px;
  overflow-y: auto;
}
.sheet-tabs { display: flex; flex-direction: column; gap: 2px; }
.sheet-tab {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: transparent;
  border: none;
  border-left: 2px solid transparent;
  color: var(--nx-ink-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  text-align: left;
  cursor: pointer;
  transition: color .15s, background .15s, border-color .15s;
  letter-spacing: 0.04em;
}
.sheet-tab:hover { color: var(--nx-ink); background: rgba(45,230,242,0.05); }
.sheet-tab.active {
  color: var(--nx-cyan);
  background: rgba(45,230,242,0.08);
  border-left-color: var(--nx-cyan);
}
.sheet-tab-ico { color: var(--nx-cyan-dim); font-size: 10px; }
.sheet-tab.active .sheet-tab-ico { color: var(--nx-cyan); }

.sheet-stats {
  margin-top: auto;
  padding: 14px;
  margin-inline: 12px;
  border: 1px solid var(--nx-line);
  background: rgba(45,230,242,0.03);
}
.sheet-stats-head {
  font-size: 10px; letter-spacing: 0.14em;
  color: var(--nx-cyan);
  font-family: var(--font-mono);
  margin-bottom: 12px;
}
.sheet-stat {
  display: flex; justify-content: space-between;
  padding: 6px 0;
  border-top: 1px dashed var(--nx-line);
  font-family: var(--font-mono);
  font-size: 10px;
}
.sheet-stat:first-of-type { border-top: none; padding-top: 0; }
.sheet-stat .sk { color: var(--nx-ink-dim); letter-spacing: 0.1em; }
.sheet-stat .sv { color: var(--nx-ink); font-weight: 600; }
.sheet-stats-note {
  margin-top: 12px; padding-top: 10px;
  border-top: 1px dashed var(--nx-line);
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--nx-ink-dim);
  line-height: 1.5;
}

.sheet-main {
  padding: 0;
  overflow-y: auto;
  background: var(--nx-bg-1);
  display: flex; flex-direction: column;
  min-width: 0;
}
.sheet-file-head {
  padding: 12px 28px;
  border-bottom: 1px solid var(--nx-line);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--nx-ink-dim);
  display: flex; align-items: center; gap: 10px;
  background: var(--nx-bg-2);
  flex-shrink: 0;
}
.sheet-file-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--nx-green);
  box-shadow: 0 0 6px var(--nx-green);
}
.sheet-pre {
  margin: 0;
  padding: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.65;
  color: var(--nx-ink);
  white-space: pre-wrap;
  word-break: break-word;
  flex: 1;
}
.sheet-prose {
  padding: 28px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--nx-ink);
}
.sheet-prose p { margin: 0 0 16px; }
.sheet-prose p:last-child { margin: 0; }
.sheet-tools { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.sheet-tools li {
  padding: 10px 14px;
  border: 1px solid var(--nx-line);
  background: rgba(45,230,242,0.03);
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--nx-ink);
}

/* ───────── EQUIPMENT VIEW — portrait hero + stat grid ───────── */
.eq-model {
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 24px;
  align-items: start;
}
.eq-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Portrait hero — centered, well-proportioned, no overlap concerns */
.eq-portrait-box {
  position: relative;
  width: 100%;
  padding: 32px 24px 48px;
  border: 1px dashed var(--nx-line);
  background:
    radial-gradient(circle at 50% 40%, rgba(45,230,242,0.08), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 23px, rgba(45,230,242,0.04) 23px 24px),
    repeating-linear-gradient(90deg, transparent 0 23px, rgba(45,230,242,0.04) 23px 24px);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}
.eq-portrait-ring {
  position: relative;
  width: 160px;
  height: 160px;
  border: 1px solid var(--nx-cyan);
  border-radius: 50%;
  opacity: 0.4;
  animation: eq-ring-spin 12s linear infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}
.eq-portrait-ring::before,
.eq-portrait-ring::after {
  content: '';
  position: absolute; inset: 8px;
  border: 1px dashed var(--nx-cyan);
  border-radius: 50%;
  opacity: 0.35;
  pointer-events: none;
}
.eq-portrait-ring::after {
  inset: 16px; opacity: 0.2;
  animation: eq-ring-spin 18s linear infinite reverse;
  border-style: dotted;
}
@keyframes eq-ring-spin { to { transform: rotate(360deg); } }

.eq-portrait-inner {
  width: 70%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, rgba(45,230,242,0.22), var(--nx-bg-1));
  border: 1px solid var(--nx-cyan);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 22px; font-weight: 700;
  color: var(--nx-cyan);
  letter-spacing: 0.05em;
  box-shadow: inset 0 0 20px rgba(45,230,242,0.2);
  animation: none;
}
.eq-portrait-label {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--nx-cyan);
  white-space: nowrap;
}

/* Stat grid — clean 2-col data panel, no overlap */
.eq-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.eq-stat {
  border: 1px solid var(--nx-line);
  background: rgba(45,230,242,0.03);
  padding: 10px 12px;
  min-width: 0;
}
.eq-stat-wide { grid-column: 1 / -1; }
.eq-stat-k {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--nx-cyan-dim);
  margin-bottom: 4px;
}
.eq-stat-v {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--nx-ink);
  font-weight: 600;
  line-height: 1.4;
  word-break: break-word;
}

/* Loadout list on right — READ-ONLY DATA, not buttons */
.eq-loadout {
  border: 1px solid var(--nx-line);
  padding: 16px;
  background: rgba(45,230,242,0.03);
  max-height: 480px;
  overflow-y: auto;
}
.eq-loadout-head {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--nx-cyan);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--nx-line);
}
.eq-loadout-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0;
}
.eq-loadout-list li {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--nx-ink);
  padding: 8px 0 8px 18px;
  border-top: 1px dashed rgba(45,230,242,0.12);
  position: relative;
  /* read-only: no hover, no pointer */
  cursor: default;
}
.eq-loadout-list li:first-child { border-top: none; padding-top: 2px; }
.eq-dot {
  position: absolute;
  left: 0; top: 14px;
  width: 5px; height: 5px;
  background: var(--nx-cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--nx-cyan);
}
.eq-loadout-list li:first-child .eq-dot { top: 8px; }

@media (max-width: 900px) {
  .eq-model { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .sheet-body { grid-template-columns: 1fr; }
  .sheet-side { border-right: none; border-bottom: 1px solid var(--nx-line); padding: 12px; }
  .sheet-tabs { flex-direction: row; overflow-x: auto; }
  .sheet-tab { white-space: nowrap; border-left: none; border-bottom: 2px solid transparent; }
  .sheet-tab.active { border-bottom-color: var(--nx-cyan); border-left-color: transparent; }
  .sheet-stats { display: none; }
  .eq-model { padding: 16px; }
  .eq-stat-grid { grid-template-columns: 1fr; }
}
