/* senses-redox.css — Left-hand 90° cross (marionette bars) · HUD hangs in the curve below/within (<100L) */
:root {
  --bg: #05080f; --card: #09101d; --line: rgba(74,222,128,.24); --fg: #e2e8f0; --dim: #94a3b8;
  --mint: #4ade80; --cyan: #2dd4bf; --gold: #fde047; --violet: #c084fc;
  --band-red: #f87171; --band-ox: #fb923c; --band-green: #4ade80; --band-blue: #60a5fa; --band-violet: #c084fc;
  --sun-song: #fb923c;
  --rail-l: 58px; --rail-t: 50px; /* LEFT HAND ANGLE = 90° to screen edge */
}
* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0; min-height: 100vh; color: var(--fg);
  font-family: ui-monospace, "Cascadia Code", "JetBrains Mono", Menlo, monospace;
  background: radial-gradient(ellipse at var(--rail-l) var(--rail-t), #0c1629 0%, var(--bg) 62%);
}
/* 90° left-hand square at screen origin */
.sn-angle {
  position: fixed; top: 0; left: 0; width: var(--rail-l); height: var(--rail-t); z-index: 120;
  background: #071018; border-right: 2px solid var(--sun-song); border-bottom: 2px solid var(--sun-song);
  display: flex; align-items: center; justify-content: center; font: 700 16px/1 inherit; color: var(--sun-song);
}
/* TOP bar of the cross */
.sn-top, .grx-hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; min-height: var(--rail-t);
  padding: 6px 10px 6px calc(var(--rail-l) + 10px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px;
  background: rgba(5,8,15,.94); backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--sun-song);
}
/* LEFT bar of the cross — coworking HUD / sporePrint / Detroit */
.sn-left {
  position: fixed; top: 0; left: 0; bottom: 0; width: var(--rail-l); z-index: 110;
  display: flex; flex-direction: column; align-items: stretch; gap: 4px;
  padding: calc(var(--rail-t) + 8px) 4px 92px;
  background: rgba(7,10,18,.96); border-right: 2px solid var(--sun-song);
}
.sn-left a {
  writing-mode: vertical-rl; transform: rotate(180deg);
  text-decoration: none; color: #cbd5e1; font: 700 10px/1 inherit;
  padding: 10px 2px; border: 1px solid rgba(56,189,248,.3); border-radius: 6px; text-align: center;
}
.sn-left a:hover, .sn-left a.hot { color: #86efac; border-color: var(--mint); }
.sn-brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sn-brand strong, .grx-brand { color: var(--mint); font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.sn-links { display: flex; flex-wrap: wrap; gap: 6px; }
.sn-links a, .grx-vbtn {
  appearance: none; color: #e2e8f0; text-decoration: none; font: 600 10.8px/1.2 inherit;
  padding: 5px 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(56,189,248,.36); background: rgba(9,16,29,.92);
}
.sn-links a:hover, .sn-links a.hot, .grx-vbtn:hover, .grx-vbtn:focus-visible, .grx-vbtn.active {
  border-color: var(--mint); color: #86efac; background: rgba(20,83,45,.45);
}
.sn-pulse { display: flex; align-items: center; gap: 8px; font-size: 10.5px; color: var(--dim); flex-wrap: wrap; }
.sn-pill { padding: 2px 8px; border-radius: 999px; background: rgba(45,212,191,.12); border: 1px solid rgba(45,212,191,.35); color: #99f6e4; font-weight: 600; }
/* HUD hangs in the RIGHT angle: curve BELOW and WITHIN the cross */
.sn-wrap, .grx-shell {
  margin-left: var(--rail-l); padding: calc(var(--rail-t) + 12px) 14px 28px 16px; max-width: none;
  min-height: 100vh; border-top-left-radius: 42px;
  box-shadow: inset 18px 18px 40px rgba(251,146,60,.06);
}
.sn-tabs {
  position: sticky; top: calc(var(--rail-t) + 6px); z-index: 40;
  display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 8px; padding: 7px;
  background: rgba(9,16,29,.88); border: 1px solid var(--line); border-radius: 0 10px 10px 0;
  border-left: 3px solid var(--sun-song);
}
.sn-tab {
  cursor: pointer; font: 600 10.8px/1.2 inherit; padding: 6px 10px; border-radius: 7px;
  border: 1px solid rgba(148,163,184,.24); background: #060b14; color: #cbd5e1;
}
.sn-tab:hover { border-color: var(--cyan); color: #fff; }
.sn-tab.active {
  background: linear-gradient(135deg, rgba(74,222,128,.22), rgba(45,212,191,.18));
  border-color: var(--mint); color: #ecfdf5;
}
.sn-grid2 { display: grid; grid-template-columns: 1.15fr 1fr; gap: 10px; margin-top: 8px; }
.sn-grid3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
@media (max-width: 960px) { .sn-grid2, .sn-grid3 { grid-template-columns: 1fr; } }
.sn-box, .grx-card { background: var(--card); border: 1px solid rgba(148,163,184,.22); border-radius: 10px; padding: 12px; margin-bottom: 10px; }
.sn-box h3, .grx-card h3 { margin: 0 0 8px; font-size: 12px; color: #86efac; display: flex; justify-content: space-between; align-items: center; }
.sn-kv { font-size: 10.5px; color: #cbd5e1; line-height: 1.55; }
.sn-frame { width: 100%; height: 74vh; border: 1px solid var(--line); border-radius: 10px; background: #05080f; }
/* marionette strings from the 90° corner into Gaia */
body::after {
  content: ""; position: fixed; z-index: 5; pointer-events: none;
  top: var(--rail-t); left: var(--rail-l); width: 28px; height: 46vh;
  background: repeating-linear-gradient(180deg, transparent 0 14px, rgba(251,146,60,.35) 14px 15px);
  border-top-left-radius: 28px;
}
.sn-left [data-hk] { writing-mode: horizontal-tb; transform: none; }
html[data-hk1="1"] .sn-wrap { box-shadow: inset 22px 0 40px rgba(88,166,255,.12); }
html[data-hk2="1"] .sn-wrap { filter: hue-rotate(18deg); }
html[data-hk3="1"] .sn-wrap { box-shadow: inset 18px 18px 48px rgba(63,185,80,.16); }
html[data-hk3="2"] .sn-wrap { box-shadow: inset 18px 18px 48px rgba(251,146,60,.22); }
