/* ATLAS System map (2026-11-29). Light glass look; rendering cost is on the viewer's phone/laptop, not the Jetson. */
:root{
  --bg1:#eef3f9;--bg2:#e4ecf6;--ink:#13263a;--muted:#5d7287;--glass:rgba(255,255,255,.62);--glass-b:rgba(255,255,255,.9);
  --grid:rgba(90,130,170,.10);--sensor:#0ea5c6;--pose:#7c5cdb;--cmd:#ef7d1a;--power:#c99a06;--bad:#e0364a;--ok:#1f9d63;
  --warn:#c98a00;--unk:#9aaabb;--hwTop:#ffffff;--hwL:#dfe8f3;--hwR:#c9d6e6;--swTop:#f4f0ff;--swL:#e1d9fb;--swR:#cfc3f4;
  --shadow:0 18px 50px rgba(40,70,110,.14);
}
*{box-sizing:border-box}
html,body{margin:0}
body{font:15px/1.45 system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--ink);
  background:radial-gradient(1200px 700px at 85% -10%,#dbe9ff 0,transparent 60%),
             radial-gradient(900px 600px at -10% 110%,#e9e1ff 0,transparent 55%),linear-gradient(180deg,var(--bg1),var(--bg2));
  min-height:100vh}
.sm{max-width:1500px;margin:0 auto;padding:18px 16px 40px}
.smHead{display:flex;flex-wrap:wrap;gap:16px;align-items:flex-end;justify-content:space-between;margin-bottom:14px}
.smCrumb{font-size:11.5px;letter-spacing:1.4px;color:var(--muted);font-weight:700}
.smHead h1{margin:2px 0 4px;font-size:30px;letter-spacing:-.4px}
.smLead{margin:0;max-width:640px;color:var(--muted)}
.smStats{display:flex;flex-wrap:wrap;gap:10px}
.smStat{min-width:112px;padding:10px 14px;border-radius:16px;background:var(--glass);border:1px solid var(--glass-b);
  -webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%);box-shadow:var(--shadow)}
html body .smStat{backdrop-filter:blur(14px) saturate(140%)!important}
.smStat span{display:block;font-size:10.5px;letter-spacing:1px;color:var(--muted);font-weight:700}
.smStat b{font-size:20px}
.smStat b.bad{color:var(--bad)}.smStat b.ok{color:var(--ok)}
.smBoard{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:16px;align-items:start}
.smCanvasWrap,.smSide,.smList{background:var(--glass);border:1px solid var(--glass-b);border-radius:22px;box-shadow:var(--shadow);
  -webkit-backdrop-filter:blur(16px) saturate(140%);backdrop-filter:blur(16px) saturate(140%)}
html body :is(.smCanvasWrap,.smSide,.smList){backdrop-filter:blur(16px) saturate(140%)!important}
.smCanvasWrap{padding:10px 10px 6px;overflow:hidden}
#smSvg{display:block;width:100%;height:auto;touch-action:manipulation}
.smScrollHint{display:none;font-size:12px;color:var(--muted);padding:0 8px 4px}
.smLegend{display:flex;flex-wrap:wrap;gap:14px;padding:6px 8px 4px;font-size:12.5px;color:var(--muted)}
.smLegend span{display:inline-flex;align-items:center;gap:6px}
.lg{display:inline-block;width:18px;height:6px;border-radius:3px}
.lg.sensor{background:var(--sensor)}.lg.pose{background:var(--pose)}.lg.cmd{background:var(--cmd)}.lg.power{background:var(--power)}
.lg.stop{width:auto;height:auto;color:var(--bad);font-style:normal;font-weight:900}
.lg.unk{background:repeating-linear-gradient(90deg,var(--unk) 0 4px,transparent 4px 7px)}
/* svg */
.plate{fill:rgba(255,255,255,.35);stroke:rgba(255,255,255,.9)}
.plateLbl{font:700 13px system-ui;letter-spacing:1.6px;fill:#7a8ea3}
.edge{fill:none;stroke-width:2.4;stroke-linecap:round;opacity:.85}
.edge.sensor{stroke:var(--sensor)}.edge.pose{stroke:var(--pose)}.edge.cmd{stroke:var(--cmd)}.edge.power{stroke:var(--power)}
.edge.stop{stroke:var(--bad);stroke-dasharray:7 6;opacity:1}
.edge.unk{stroke:var(--unk);stroke-dasharray:3 6;opacity:.7}
.edge.warn{stroke:var(--warn)}
.dot{stroke:#fff;stroke-width:1.5;r:4.2}
.dot.sensor{fill:var(--sensor)}.dot.pose{fill:var(--pose)}.dot.cmd{fill:var(--cmd)}.dot.power{fill:var(--power)}
.xMark circle{fill:#fff;stroke:var(--bad);stroke-width:2}
.xMark text{font:900 13px system-ui;fill:var(--bad)}
.xLbl{font:700 12.5px system-ui;fill:var(--bad);paint-order:stroke;stroke:#fff;stroke-width:3px}
.node{cursor:pointer}
.node .top{fill:var(--hwTop)}.node .l{fill:var(--hwL)}.node .r{fill:var(--hwR)}
.node.sw .top{fill:var(--swTop)}.node.sw .l{fill:var(--swL)}.node.sw .r{fill:var(--swR)}
.node .faces{stroke:rgba(255,255,255,.95);stroke-width:1}
.node .lbl{font:700 15px system-ui;fill:var(--ink);paint-order:stroke;stroke:rgba(255,255,255,.85);stroke-width:3px}
.node .sub{font:600 11.5px system-ui;fill:var(--muted);paint-order:stroke;stroke:rgba(255,255,255,.85);stroke-width:3px}
.node .lamp{stroke:#fff;stroke-width:2}
.node .lamp.ok{fill:var(--ok)}.node .lamp.bad{fill:var(--bad)}.node .lamp.warn,.node .lamp.wait{fill:var(--warn)}.node .lamp.unk{fill:var(--unk)}
.node.bad .top{fill:#ffe9ec}.node.bad .l{fill:#ffd3da}.node.bad .r{fill:#f7bcc6}
.node.sel .faces{stroke:#2563eb;stroke-width:2.2}
.node:focus{outline:none}.node:focus-visible .faces{stroke:#2563eb;stroke-width:2.6}
.node .ico{fill:none;stroke:#3c5876;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.node.sw .ico{stroke:#5b45b0}
/* side panel */
.smSide{padding:16px 16px 18px;position:sticky;top:12px;max-height:calc(100vh - 24px);overflow:auto}
.smSide h2{margin:0 0 6px;font-size:18px}.smSide h3{margin:16px 0 6px;font-size:13px;letter-spacing:.8px;color:var(--muted)}
.smSide p{margin:0 0 8px;color:var(--muted)}
.smSide ul{margin:0;padding-left:18px}.smSide li{margin:3px 0}
.pill{display:inline-block;padding:2px 9px;border-radius:999px;font-size:12px;font-weight:800}
.pill.ok{background:#dff6ea;color:#11663f}.pill.bad{background:#ffe1e6;color:#a31428}.pill.warn{background:#fff2cc;color:#7a5600}
.pill.unk{background:#e8eef4;color:#566a7f}
.pill.wait{background:#fff2cc;color:#7a5600}
.waitNote{list-style:none;margin-left:-18px!important;color:var(--muted);font-size:12.5px}
.dx{margin:10px 0;padding:10px 12px;border-radius:14px;background:#fff;border:1px solid #e6edf5;font-size:13.5px}
.dx.bad{border-color:#ffc5cf;background:#fff5f7}.dx.warn{border-color:#ffe3a0;background:#fffaf0}
.lk{display:grid;grid-template-columns:1fr auto;gap:2px 10px;padding:8px 0;border-top:1px solid #e7eef6;font-size:13px}
.lk b{font-weight:700}.lk small{grid-column:1/-1;color:var(--muted);word-break:break-word}
.smBack{border:0;background:#e9f0f8;border-radius:10px;padding:6px 10px;font-weight:700;cursor:pointer;color:var(--ink)}
/* list */
.smList{margin-top:16px;padding:16px}
.smList h2{margin:0 0 4px;font-size:18px}.smNote{color:var(--muted);margin:0 0 10px;font-size:13px}
.tbl{width:100%;border-collapse:collapse;font-size:13.5px}
.tbl th{text-align:left;font-size:11px;letter-spacing:.8px;color:var(--muted);padding:6px 8px}
.tbl td{padding:7px 8px;border-top:1px solid #e7eef6;vertical-align:top}
.tbl tr.bad td{background:#fff5f7}
@media (max-width:1399.98px){.smBoard{grid-template-columns:1fr}.smSide{position:static;max-height:none}}
@media (max-width:640px){.smCanvasWrap{overflow-x:auto;-webkit-overflow-scrolling:touch}#smSvg{min-width:780px}.smScrollHint{display:block!important}.smHead h1{font-size:24px}.smStat{min-width:0;flex:1 1 40%}.tbl .hideS{display:none}}
@media (prefers-reduced-motion:reduce){#smDots{display:none}}
