/* ==========================================================================
   Optix Signal v3.0 — /signal
   Page-scoped styles. Everything resolves from the design tokens in
   colors_and_type.css; site.css supplies the shared header, footer and
   .container. All rules here are prefixed .sg- to stay out of the way.
   ========================================================================== */

@keyframes toPulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }

/* --------------------------------------------------------------- sections */
.sg-section { position: relative; padding: clamp(72px, 9vw, 120px) 0; }
.sg-section.tight { padding: clamp(64px, 8vw, 104px) 0; }
.sg-section.mid { padding: clamp(72px, 9vw, 110px) 0; }
.sg-white { background: #fff; }
.sg-tint { background: var(--to-navy-050); }
.sg-navy { background: var(--to-navy-900); color: #fff; overflow: hidden; }
.sg-inner { position: relative; }

/* the brand grid motif — one overlay, mask varies per band */
.sg-motif {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: .16;
}
.sg-motif.hero {
  opacity: .18;
  -webkit-mask-image: radial-gradient(ellipse 85% 70% at 60% 40%, black 40%, transparent 82%);
  mask-image: radial-gradient(ellipse 85% 70% at 60% 40%, black 40%, transparent 82%);
}
.sg-motif.exec {
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, black 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, black 30%, transparent 78%);
}
.sg-motif.protect {
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, black 30%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 40%, black 30%, transparent 78%);
}
.sg-motif.cta {
  opacity: .14;
  background-image:
    linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black 30%, transparent 75%);
}

/* ------------------------------------------------------------- typography */
.eyebrow.on-dark { color: var(--to-navy-300); }

.sg-h1 {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(46px, 6.2vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: #fff;
}
.sg-h1 .rel { color: var(--to-navy-300); }
.sg-h2 {
  margin: 20px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--fg-1);
}
.sg-h2.sm {
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.022em;
}
.sg-h2.xs {
  font-size: clamp(30px, 3.6vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.022em;
}
.sg-h2.cta-h { font-size: clamp(32px, 4.2vw, 50px); line-height: 1.06; letter-spacing: -0.025em; }
.sg-navy .sg-h2 { color: #fff; }

.sg-deck {
  margin: 22px 0 0;
  max-width: 560px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.018em;
  color: #fff;
  text-wrap: pretty;
}
.sg-lead {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-2);
  text-wrap: pretty;
}
.sg-lead.flush { margin: 0; }
.sg-lead.sm { font-size: 17px; }
.sg-body {
  margin: 18px 0 0;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255,255,255,.72);
  text-wrap: pretty;
}
.sg-body.narrow { max-width: 520px; }
.sg-note-muted {
  margin: 20px 0 0;
  max-width: 520px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.5);
}
.sg-caption {
  margin: 16px 0 0;
  max-width: 720px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-3);
}

/* heading blocks */
.sg-head { max-width: 720px; margin-bottom: 44px; }
.sg-head.wide { max-width: 760px; margin-bottom: 48px; }
.sg-head.short-b { margin-bottom: 40px; }
.sg-head-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: 56px;
}
.sg-head-split.tight-b { margin-bottom: 44px; }
.sg-head-split.tighter-b { margin-bottom: 48px; }

/* ----------------------------------------------------------------- pieces */
.sg-dot { width: 6px; height: 6px; border-radius: 999px; flex: 0 0 auto; }
.sg-dot.up { background: var(--to-signal-up); }
.sg-dot.info { background: var(--to-signal-info); }
.sg-dot.warn { background: var(--to-signal-warn); }
.sg-dot.pulse { animation: toPulse 2.6s var(--ease-standard) infinite; }
.sg-mono { font-family: var(--font-mono); }

/* buttons — brand hover: navy-900 → navy-700, trailing arrow slides +3px */
.sg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease-standard),
              border-color var(--dur-fast) var(--ease-standard),
              color var(--dur-fast) var(--ease-standard);
}
.sg-btn:hover { text-decoration: none; }
.sg-btn .ar { font-family: var(--font-mono); transition: transform var(--dur-base) var(--ease-standard); }
.sg-btn:hover .ar { transform: translateX(3px); }
.sg-btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.sg-btn.lg { font-size: 15px; padding: 14px 22px; }
.sg-btn.md { font-size: 14px; padding: 12px 18px; }
.sg-btn.white { background: #fff; color: var(--to-navy-900); box-shadow: var(--shadow-inset); }
.sg-btn.white:hover { background: var(--to-navy-100); }
.sg-btn.navy { background: var(--to-navy-900); color: #fff; }
.sg-btn.navy:hover { background: var(--to-navy-700); }
.sg-btn.ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.22); }
.sg-btn.ghost-dark:hover { background: rgba(255,255,255,.1); }
.sg-btn.outline { background: #fff; color: var(--to-navy-900); border-color: var(--to-slate-300); }
.sg-btn.outline:hover { border-color: var(--to-navy-900); }
.sg-btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.sg-btn-row.center { justify-content: center; }

/* ======================================================== 2. hero — #top  */
.sg-hero { padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 104px); }
.sg-hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: clamp(40px, 5vw, 72px);
  align-items: center;
}
.sg-release {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  color: rgba(255,255,255,.5);
}
.sg-release-pill {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(148,178,225,.14);
  border: 1px solid rgba(148,178,225,.28);
  color: var(--to-navy-300);
  font-weight: 600;
}

/* connected system graphic */
@keyframes sgOrbit { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes sgTravel { 0%, 100% { opacity: .18; } 45%, 55% { opacity: 1; } }

.sg-system {
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(112,180,255,.2);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(16,46,98,.82), rgba(4,24,65,.94) 64%);
  box-shadow: 0 42px 90px -30px rgba(0,0,0,.72), inset 0 1px 0 rgba(255,255,255,.04);
}
.sg-system::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74,142,226,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,142,226,.06) 1px, transparent 1px);
  background-size: 38px 38px;
  -webkit-mask-image: radial-gradient(circle at 50% 42%, #000, transparent 74%);
  mask-image: radial-gradient(circle at 50% 42%, #000, transparent 74%);
  pointer-events: none;
}
.sg-system-map { position: relative; min-height: 520px; isolation: isolate; }
.sg-system-radar {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(72%, 390px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(67,154,255,.1);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 25%, rgba(51,135,255,.1) 25.3% 25.7%, transparent 26% 39%, rgba(51,135,255,.1) 39.3% 39.7%, transparent 40% 54%, rgba(51,135,255,.09) 54.3% 54.7%, transparent 55%),
    repeating-conic-gradient(from 4deg, rgba(65,158,255,.32) 0 .35deg, transparent .35deg 7deg),
    radial-gradient(circle, rgba(24,112,255,.14), transparent 63%);
  box-shadow: 0 0 90px rgba(0,106,255,.08);
}
.sg-system-radar::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 116%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(72,159,255,.13);
  border-radius: 50%;
  animation: sgOrbit 80s linear infinite;
}
.sg-system-links { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sg-link-line { fill: none; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.sg-link-points { fill: #8bd6ff; }
.sg-link-points circle:nth-child(2n) { animation: sgTravel 2.8s ease-in-out infinite alternate; }

.sg-system-node {
  position: absolute;
  z-index: 2;
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: 1fr auto;
  column-gap: 10px;
  width: 32%;
  min-width: 148px;
  padding: 14px 15px 12px;
  border: 1px solid rgba(105,176,255,.28);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(21,59,116,.92), rgba(8,32,76,.92));
  box-shadow: 0 16px 30px -18px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.04);
}
.sg-system-node.strategies { top: 5%; left: 50%; transform: translateX(-50%); }
.sg-system-node.risk { top: 50%; left: 2.5%; transform: translateY(-50%); }
.sg-system-node.portfolio { top: 50%; right: 2.5%; transform: translateY(-50%); }
.sg-system-node.control { bottom: 5%; left: 50%; transform: translateX(-50%); }
.sg-system-icon {
  grid-row: 1 / span 2;
  width: 34px;
  height: 34px;
  fill: none;
  stroke: #4295ff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 7px rgba(53,147,255,.4));
}
.sg-system-copy h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.sg-system-copy p { margin: 4px 0 0; color: #8faed8; font-size: 10.5px; line-height: 1.2; text-transform: capitalize; }
.sg-system-copy p.ok { color: #4bd398; }
.sg-spark { grid-column: 2; width: 100%; height: 19px; margin-top: 7px; overflow: visible; }
.sg-spark path { fill: none; stroke: #2d80f7; stroke-width: 1.5; vector-effect: non-scaling-stroke; }

.sg-system-core {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 27%;
  min-width: 142px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 1px solid #68baff;
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(20,62,121,.98), rgba(5,25,66,.98));
  box-shadow: 0 0 0 5px rgba(50,140,255,.08), 0 0 24px rgba(37,148,255,.72), 0 0 80px rgba(28,121,255,.22), inset 0 0 30px rgba(40,128,255,.15);
}
.sg-system-core::before {
  content: "";
  position: absolute;
  inset: 11%;
  border: 1px solid rgba(112,188,255,.32);
  border-radius: 12px;
  box-shadow: inset 0 0 20px rgba(29,112,226,.13);
}
.sg-system-core-inner { position: relative; z-index: 1; width: 78%; text-align: center; }
.sg-system-core-inner > span { display: block; font-family: var(--font-mono); font-weight: 600; font-size: clamp(9px, 1vw, 12px); letter-spacing: .04em; color: #fff; text-transform: uppercase; }
.sg-system-core-inner > strong { display: block; margin: 5px 0 13px; font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); line-height: 1; color: #fff; letter-spacing: -.035em; }
.sg-system-core-inner > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding-top: 9px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.68);
  text-transform: uppercase;
}
.sg-system-core-inner i,
.sg-system-stat i { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #36d989; box-shadow: 0 0 8px #36d989; }

.sg-system-status {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(104,175,255,.18);
  background: rgba(4,24,61,.62);
}
.sg-system-stat { padding: 17px 14px 15px; text-align: center; }
.sg-system-stat + .sg-system-stat { border-left: 1px solid rgba(255,255,255,.08); }
.sg-system-stat span { display: block; font-family: var(--font-mono); font-size: 8px; letter-spacing: .08em; color: rgba(255,255,255,.4); text-transform: uppercase; }
.sg-system-stat strong { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 7px; font-family: var(--font-mono); font-size: 12px; color: #fff; text-transform: uppercase; }
.sg-system-stat.live strong { color: #49dc98; }
.sg-system-status > p {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 15px;
  padding: 11px 10px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .035em;
  color: rgba(255,255,255,.42);
  text-align: center;
}

/* ============================================== 3. ecosystem position     */
.sg-layers { display: flex; flex-wrap: wrap; gap: 16px; align-items: stretch; }
.sg-layer {
  flex: 1 1 300px;
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 14px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.sg-layer.dark { background: var(--to-navy-900); color: #fff; border: 0; box-shadow: var(--shadow-md); }
.sg-layer-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.sg-layer-k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--fg-4); }
.sg-layer.dark .sg-layer-k { color: rgba(255,255,255,.45); }
.sg-layer-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  color: #fff;
}
.sg-layer-t { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 19px; color: var(--fg-1); }
.sg-layer.dark .sg-layer-t { color: #fff; }
.sg-layer-p { margin: 8px 0 16px; font-size: 14px; line-height: 1.55; color: var(--fg-2); }
.sg-layer.dark .sg-layer-p { color: rgba(255,255,255,.68); }
.sg-rows { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sg-rows > li {
  padding-bottom: 7px;
  border-bottom: 1px dashed var(--border-1);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--fg-3);
}
.sg-rows > li:last-child { padding-bottom: 0; border-bottom: 0; }
.sg-layer.dark .sg-rows > li { border-bottom-color: rgba(255,255,255,.14); color: rgba(255,255,255,.6); }
.sg-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--to-navy-300);
}
.sg-arrow.sm { font-size: 14px; padding: 0; }

/* ============================================ 4. execution — #execution   */
.sg-exec {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.sg-sticky { position: sticky; top: 96px; }
.sg-principle {
  max-width: 480px;
  margin-top: 28px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
}
.sg-principle-k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--to-navy-300); }
.sg-principle-p { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: #fff; }
.sg-exec .sg-body { max-width: 480px; margin-top: 20px; }

.sg-steps { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.sg-step { display: grid; grid-template-columns: auto 1fr; gap: 20px; }
.sg-rail { display: flex; flex-direction: column; align-items: center; }
.sg-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(148,178,225,.5);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--to-navy-300);
}
.sg-marker.gate { border-color: rgba(245,181,68,.5); color: var(--to-signal-warn); }
.sg-marker.live { border-color: rgba(34,197,94,.5); color: var(--to-signal-up); }
.sg-line { flex: 1; width: 1px; background: rgba(255,255,255,.14); }
.sg-step-body { padding-bottom: 26px; }
.sg-step:last-child .sg-step-body { padding-bottom: 0; }
.sg-step-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.sg-step-t { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: #fff; }
.sg-step-p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.62); }
.sg-tag {
  padding: 3px 8px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .08em;
}
.sg-tag.gate { background: rgba(245,181,68,.12); border: 1px solid rgba(245,181,68,.32); color: var(--to-signal-warn); }
.sg-tag.live { background: rgba(34,197,94,.12); border: 1px solid rgba(34,197,94,.32); color: var(--to-signal-up); }

/* ================================================ 5. operating states     */
.sg-modes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.sg-mode {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 20px;
  text-align: left;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: box-shadow var(--dur-base) var(--ease-standard);
}
.sg-mode:hover { box-shadow: var(--shadow-md); }
.sg-mode:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.sg-mode-ring {
  position: absolute;
  inset: -1px;
  border: 2px solid var(--to-navy-900);
  border-radius: 15px;
  pointer-events: none;
  opacity: 0;
}
.sg-mode-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--to-navy-100);
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--to-navy-900);
  opacity: 0;
}
.sg-mode[aria-checked="true"] .sg-mode-ring,
.sg-mode[aria-checked="true"] .sg-mode-badge { opacity: 1; }
/* the right padding reserves room for the SELECTED badge — keep it */
.sg-mode-t { display: flex; align-items: center; gap: 8px; padding-right: 82px; min-height: 26px; }
.sg-mode-dot { width: 8px; height: 8px; border-radius: 999px; flex: 0 0 auto; }
.sg-mode-dot.live { background: var(--to-signal-up); }
.sg-mode-dot.sandbox { background: var(--to-navy-400); }
.sg-mode-dot.watch { background: var(--to-slate-400); }
.sg-mode-n { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--fg-1); }
.sg-mode-p { display: block; margin: 10px 0 14px; font-size: 14px; line-height: 1.5; color: var(--fg-2); }
.sg-mode-f {
  display: block;
  padding-top: 10px;
  border-top: 1px dashed var(--border-1);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  color: var(--fg-3);
}
.sg-mode-f.real { color: var(--to-signal-up); }

.sg-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 20px;
  padding: clamp(24px, 3vw, 36px);
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.sg-detail-k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--fg-4); }
.sg-detail-k.spaced { margin-bottom: 14px; }
.sg-detail-t {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.015em;
  color: var(--fg-1);
}
.sg-detail-p { margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: var(--fg-2); text-wrap: pretty; }
.sg-notes { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.sg-notes > li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; align-items: start; }
.sg-notes .b { font-family: var(--font-mono); font-size: 12px; line-height: 1.5; color: var(--to-navy-400); }
.sg-notes .t { font-size: 14px; line-height: 1.5; color: var(--fg-2); }
.sg-envstate { padding: 22px; background: var(--to-navy-050); border: 1px solid var(--border-1); border-radius: 14px; }
.sg-kv { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--border-1); }
.sg-kv .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-3); }
.sg-kv .v { font-family: var(--font-mono); font-size: 12px; text-align: right; color: var(--fg-1); }

/* ==================================================== 6. why v3.0         */
.sg-table { margin-bottom: 16px; border: 1px solid var(--border-1); border-radius: 20px; overflow: hidden; }
.sg-trow { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.sg-td { padding: 20px 24px; border-bottom: 1px solid var(--border-1); font-size: 14px; line-height: 1.5; color: var(--fg-2); }
.sg-td.dim { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--fg-1); }
.sg-td.mid { border-left: 1px solid var(--border-1); }
.sg-td.head { padding: 20px 24px; background: var(--to-navy-050); }
.sg-td.head .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--fg-4); }
/* the v3.0 column reads as one continuous dark stripe */
.sg-td.next { background: var(--to-navy-900); color: #fff; }
.sg-td.next .k { color: var(--to-navy-300); }
.sg-trow:last-child .sg-td { border-bottom: 0; }

.sg-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.sg-card { background: #fff; border: 1px solid var(--border-1); border-radius: 14px; padding: 20px; }
.sg-card-k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--to-navy-500); }
.sg-card-t { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--fg-1); }
.sg-card-p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; color: var(--fg-2); }

/* ============================================ 7. validation — #validation */
.sg-panel {
  padding: clamp(24px, 3vw, 36px);
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.sg-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-1);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--fg-4);
}
.sg-panel-head .meta { display: inline-flex; align-items: center; gap: 8px; letter-spacing: .08em; color: var(--fg-3); }
.sg-vsteps { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.sg-vstep { padding: 16px; background: var(--to-navy-050); border: 1px solid var(--border-1); border-radius: 12px; }
.sg-vstep.final { background: var(--to-navy-900); border-color: var(--to-navy-900); }
.sg-vstep-k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--to-navy-500); }
.sg-vstep.final .sg-vstep-k { color: var(--to-navy-300); }
.sg-vstep-t { margin-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--fg-1); }
.sg-vstep.final .sg-vstep-t { color: #fff; }
.sg-vstep-p { margin: 6px 0 0; font-size: 13px; line-height: 1.5; color: var(--fg-3); }
.sg-vstep.final .sg-vstep-p { color: rgba(255,255,255,.65); }
.sg-units { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border-1); }
.sg-units-k { margin-bottom: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--fg-4); }
.sg-unit-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.sg-unit { padding: 16px; border: 1px solid var(--border-1); border-radius: 12px; }
.sg-unit-head { display: flex; justify-content: space-between; align-items: center; }
.sg-unit-id { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--fg-1); }
.sg-unit-head .sg-dot { width: 7px; height: 7px; }
.sg-bar { height: 4px; margin: 14px 0 10px; border-radius: 999px; background: var(--to-slate-100); overflow: hidden; }
.sg-bar > span { display: block; height: 100%; width: var(--w, 0%); background: var(--to-navy-500); }
.sg-bar.done > span { background: var(--to-signal-up); }
.sg-unit-s { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; color: var(--fg-3); }

/* ============================================== 8. backtest — #backtest   */
.sg-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; align-items: start; }
.sg-surface {
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.sg-surface-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 24px;
  background: var(--to-slate-050);
  border-bottom: 1px solid var(--border-1);
}
.sg-surface-head.pad-sm { padding: 16px 22px; }
.sg-surface-t { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--fg-1); }
.sg-surface-k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: var(--fg-4); }

.sg-form { display: grid; gap: 18px; padding: 24px; }
.sg-field { display: grid; gap: 6px; }
.sg-label { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--fg-1); }
.sg-input {
  padding: 11px 14px;
  border: 1px solid var(--border-1);
  border-radius: 8px;
  font-size: 14px;
  color: var(--fg-1);
}
.sg-input.mono { font-family: var(--font-mono); }
.sg-input.select { display: flex; justify-content: space-between; align-items: center; }
.sg-caret { font-family: var(--font-mono); font-size: 11px; color: var(--fg-4); }
.sg-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; }
.sg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-1);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--fg-3);
}
.sg-chip.on { background: var(--to-navy-900); border-color: var(--to-navy-900); color: #fff; }
.sg-limits { display: grid; gap: 10px; }
.sg-limit { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px dashed var(--border-1); }
.sg-limit:last-child { padding-bottom: 0; border-bottom: 0; }
.sg-limit .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .05em; color: var(--fg-3); }
.sg-limit .v { font-family: var(--font-mono); font-size: 12px; color: var(--fg-1); }
.sg-form-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; }

.sg-empty { padding: 56px 24px; text-align: center; }
.sg-empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border: 1px solid var(--border-1);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--to-navy-400);
}
.sg-empty-t { margin-top: 16px; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--fg-1); }
.sg-empty-p { margin: 8px auto 0; max-width: 340px; font-size: 14px; line-height: 1.55; color: var(--fg-3); }

.sg-result { padding: 24px; }
.sg-metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--border-1); }
.sg-metrics.sec { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; padding: 20px 0; }
.sg-metric-k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--fg-4); }
.sg-metric-v { margin-top: 4px; font-family: var(--font-mono); font-size: 20px; color: var(--fg-1); }
.sg-metric-v.sm { margin-top: 3px; font-size: 15px; }
.sg-metric-v.warn { color: var(--to-signal-warn); }
.sg-metric-d { font-size: 13px; color: var(--fg-3); }
.sg-metric-d.up { color: var(--to-signal-up); }
.sg-block { padding: 20px 0; border-bottom: 1px solid var(--border-1); }
.sg-block.last { padding: 20px 0 0; border-bottom: 0; }
.sg-block-k { margin-bottom: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--fg-4); }
.sg-parts { display: grid; gap: 10px; }
.sg-part { display: grid; grid-template-columns: 150px 1fr 44px; gap: 12px; align-items: center; }
.sg-part .n { font-size: 13px; color: var(--fg-2); }
.sg-part .v { font-family: var(--font-mono); font-size: 12px; text-align: right; color: var(--fg-1); }
.sg-bar6 { height: 6px; border-radius: 999px; background: var(--to-slate-100); overflow: hidden; }
.sg-bar6 > span { display: block; height: 100%; width: var(--w, 0%); background: var(--to-navy-500); }
.sg-alloc { display: flex; height: 10px; border-radius: 999px; background: var(--to-slate-100); overflow: hidden; }
.sg-alloc > span { width: var(--w, 0%); }
.sg-alloc > .a1 { background: var(--to-navy-900); }
.sg-alloc > .a2 { background: var(--to-navy-600); }
.sg-alloc > .a3 { background: var(--to-navy-400); }
.sg-alloc > .a4 { background: var(--to-navy-300); }
.sg-alloc > .a5 { background: var(--to-navy-200); }
.sg-alloc-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--fg-3);
}
.sg-disclaimer {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--border-1);
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--fg-3);
}

/* ================================== 9. backtest → sandbox continuity      */
.sg-flow { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.sg-flow-card { flex: 1 1 200px; background: #fff; border: 1px solid var(--border-1); border-radius: 14px; padding: 20px; }
.sg-flow-card.dark { background: var(--to-navy-900); border-color: var(--to-navy-900); }
.sg-flow-k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--fg-4); }
.sg-flow-card.dark .sg-flow-k { color: var(--to-navy-300); }
.sg-flow-t { margin-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--fg-1); }
.sg-flow-card.dark .sg-flow-t { color: #fff; }
.sg-flow-p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--fg-2); }
.sg-flow-card.dark .sg-flow-p { color: rgba(255,255,255,.68); }
.sg-branch { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-top: 12px; }
.sg-branch-glyph { flex: 0 0 auto; display: flex; align-items: center; padding-left: 4px; font-family: var(--font-mono); color: var(--to-navy-300); }
.sg-callout {
  flex: 1 1 320px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border: 1px dashed var(--to-slate-300);
  border-radius: 14px;
  background: transparent;
}
.sg-pill-later {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(34,197,94,.12);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  color: #166534;
}
.sg-callout-body { flex: 1 1 240px; }
.sg-callout-t { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--fg-1); }
.sg-callout-p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--fg-2); }

/* ================================================ 10. the stack — #stack  */
.sg-stack { padding: clamp(16px, 2vw, 24px); background: var(--to-navy-050); border: 1px solid var(--border-1); border-radius: 20px; }
.sg-band {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 12px;
}
.sg-band.cb { background: rgba(245,181,68,.08); border: 1px solid rgba(245,181,68,.45); }
.sg-band.live { background: var(--to-navy-900); }
.sg-band-left { display: flex; align-items: center; gap: 12px; }
.sg-band-glyph { font-family: var(--font-mono); font-size: 15px; color: #8A5B00; }
.sg-band.cb .sg-band-t { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #6B4600; }
.sg-band.cb .sg-band-k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: #8A5B00; }
.sg-band.live .sg-band-t { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #fff; }
.sg-band.live .sg-band-k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: rgba(255,255,255,.55); }
.sg-algos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 12px 0; }
.sg-algo { background: #fff; border: 1px solid var(--border-1); border-radius: 12px; padding: 20px; }
.sg-algo-head { display: flex; justify-content: space-between; align-items: start; gap: 10px; }
.sg-algo-n { font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--fg-1); }
.sg-algo-k { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .06em; white-space: nowrap; color: var(--fg-4); }
.sg-algo-k.new { color: var(--to-navy-500); }
.sg-algo-p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--fg-2); }
.sg-stack-caption { margin: 16px 4px 4px; max-width: 820px; font-size: 13px; line-height: 1.55; color: var(--fg-3); }

/* ============================================ 11. user control — #controls */
.sg-controls { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: clamp(32px, 4vw, 64px); align-items: start; }
.sg-points { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.sg-points > li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; }
.sg-points .n { font-family: var(--font-mono); font-size: 11px; line-height: 1.6; color: var(--to-navy-500); }
.sg-points .t { font-size: 15px; line-height: 1.6; color: var(--fg-2); }
.sg-settings-body { padding: 22px; }
.sg-set-k { margin-bottom: 14px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: var(--to-navy-500); }
.sg-set-k.sep { margin: 24px 0 14px; padding-top: 20px; border-top: 1px solid var(--border-1); }
.sg-set-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.sg-set-row.sep { padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--border-2); }
.sg-set-label { flex: 1 1 180px; }
.sg-set-t { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--fg-1); }
.sg-set-d { margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: var(--fg-3); }
.sg-set-ctl {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid var(--border-1);
  border-radius: 8px;
  font-size: 13px;
  color: var(--fg-1);
}
.sg-set-ctl.dashed { border: 1px dashed var(--border-strong); background: var(--to-slate-050); gap: 8px; }
.sg-set-ctl .name { font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--fg-1); }
.sg-set-ctl .change { font-family: var(--font-mono); font-size: 11px; color: var(--to-navy-500); }
.sg-set-ctl .sg-dot { width: 7px; height: 7px; }
.sg-mask { font-family: var(--font-mono); font-size: 12px; letter-spacing: .2em; color: var(--fg-4); }
.sg-pill-ok {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(34,197,94,.12);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: #166534;
}
.sg-limitcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.sg-limitcards.spend { grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); margin-top: 12px; }
.sg-limitcard { padding: 12px 14px; border: 1px solid var(--border-1); border-radius: 10px; }
.sg-limitcards.spend .sg-limitcard { background: var(--to-slate-050); }
.sg-limitcard .k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: var(--fg-4); }
.sg-limitcard .v { margin-top: 4px; font-family: var(--font-mono); font-size: 16px; color: var(--fg-1); }
.sg-limitcards.spend .sg-limitcard .v { font-size: 15px; }
.sg-inv-row { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 1px dashed var(--border-1); }
.sg-inv-row:last-of-type { padding-bottom: 0; margin-bottom: 16px; border-bottom: 0; }
.sg-inv-row .k { font-size: 13.5px; color: var(--fg-2); }
.sg-inv-row .v { font-family: var(--font-mono); font-size: 13px; color: var(--fg-1); }
.sg-alloc-k { margin-bottom: 10px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .08em; color: var(--fg-4); }
.sg-allocs { display: grid; gap: 10px; }
.sg-allocrow { display: grid; grid-template-columns: 88px 1fr 44px; gap: 12px; align-items: center; }
.sg-allocrow .n { font-family: var(--font-mono); font-size: 12px; color: var(--fg-1); }
.sg-allocrow .v { font-family: var(--font-mono); font-size: 12px; text-align: right; color: var(--fg-1); }

/* ======================================== 12. risk protection — #protection */
.sg-protect { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: center; }
.sg-panel-dark {
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 20px;
  background: rgba(255,255,255,.03);
}
.sg-panel-dark-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.sg-panel-dark-k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; color: rgba(255,255,255,.45); }
.sg-armed {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(245,181,68,.35);
  background: rgba(245,181,68,.10);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--to-signal-warn);
}
.sg-prots { display: grid; gap: 12px; }
.sg-prot { padding: 16px; border: 1px solid rgba(255,255,255,.12); border-radius: 12px; }
.sg-prot-t { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #fff; }
.sg-prot-p { margin: 5px 0 0; font-size: 13px; line-height: 1.5; color: rgba(255,255,255,.6); }
.sg-prot-foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.10);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.6;
  letter-spacing: .05em;
  color: rgba(255,255,255,.45);
}

/* ============================================ 13. continuous operation    */
/* zero gap — the hairline grid comes from the container's top/left borders */
.sg-cells {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 0;
  border-top: 1px solid var(--border-1);
  border-left: 1px solid var(--border-1);
}
.sg-cell { padding: 24px; border-right: 1px solid var(--border-1); border-bottom: 1px solid var(--border-1); }
.sg-cell-k { font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em; color: var(--fg-4); }
.sg-cell-t { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--fg-1); }
.sg-cell-p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--fg-2); }

/* ================================================== 14. one platform      */
.sg-platform { display: grid; grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); gap: clamp(32px, 5vw, 72px); align-items: start; }
.sg-platform .sg-lead { max-width: 520px; }
.sg-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.sg-tile { padding: 18px; background: #fff; border: 1px solid var(--border-1); border-radius: 12px; }
.sg-tile-t { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--fg-1); }
.sg-tile-p { margin-top: 4px; font-size: 13px; line-height: 1.5; color: var(--fg-3); }

/* =================================================== 15. closing CTA      */
.sg-cta-section { padding: clamp(32px, 4vw, 48px) 0 clamp(72px, 9vw, 96px); background: #fff; }
.sg-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 6vw, 80px) clamp(28px, 4vw, 64px);
  background: var(--to-navy-900);
  border-radius: 24px;
  color: #fff;
  text-align: center;
}
.sg-cta .eyebrow { justify-content: center; }
.sg-cta .sg-h2 { max-width: 760px; margin: 20px auto 0; color: #fff; }
.sg-cta-p { margin: 18px auto 0; max-width: 600px; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.7); text-wrap: pretty; }
.sg-cta-foot { margin-top: 26px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; color: rgba(255,255,255,.42); }

/* ------------------------------------------------------------ responsive */
/* Every multi-column area uses auto-fit/minmax and collapses on its own.
   These only cover the two dense panels called out in the handoff. */
@media (max-width: 900px) {
  .sg-sticky { position: static; }
}
@media (max-width: 560px) {
  .sg-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .sg-system-map { min-height: 430px; }
  .sg-system-node { width: 37%; min-width: 0; grid-template-columns: 27px 1fr; column-gap: 6px; padding: 10px 9px 8px; }
  .sg-system-node.risk { left: 1.5%; }
  .sg-system-node.portfolio { right: 1.5%; }
  .sg-system-icon { width: 25px; height: 25px; }
  .sg-system-copy h2 { font-size: 8.5px; }
  .sg-system-copy p { font-size: 8.5px; }
  .sg-spark { height: 13px; margin-top: 5px; }
  .sg-system-core { width: 31%; min-width: 105px; }
  .sg-system-core-inner > strong { margin-bottom: 9px; font-size: 27px; }
  .sg-system-core-inner > div { padding-top: 7px; font-size: 6.5px; }
  .sg-system-stat { padding-inline: 5px; }
  .sg-system-status > p { font-size: 8px; }
  .sg-part { grid-template-columns: 110px 1fr 40px; gap: 10px; }
  .sg-allocrow { grid-template-columns: 76px 1fr 40px; gap: 10px; }
  .sg-mode-t { padding-right: 74px; }
  .sg-empty { padding: 40px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .sg-system-radar::before,
  .sg-link-points circle,
  .sg-dot.pulse { animation: none; }
}
