.hub-demo-page{--bg: #0A0E13;--bg-2: #0D131A;--panel: #111922;--panel-2: #0F161E;--line: rgba(126,148,168,.14);--line-strong: rgba(126,148,168,.28);--ink: #E9EFF5;--ink-mid: #A6B4C2;--ink-dim: #6E7E8E;--accent: #F59E5B;--accent-deep: #E07E34;--ok: #34D399;--warn: #FACC55;--crit: #FF5468;--blue: #6FB7FF;--font-display: "Fraunces", serif;--font-body: "Geist", sans-serif;--font-mono: "Geist Mono", monospace;background-color:var(--bg);color:var(--ink);font-family:var(--font-body);min-height:100vh;display:flex;flex-direction:column}.hub-demo-page *{box-sizing:border-box}.hub-demo-page button{font-family:inherit}.hub-demo-shell{display:flex;flex-direction:column;flex:1;height:100vh;overflow:hidden}.hub-topbar{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:0 24px;border-bottom:1px solid var(--line);background:var(--bg);flex-shrink:0;z-index:10}.hub-topbar-left{display:flex;align-items:center;gap:16px}.hub-topbar-brand{font-family:var(--font-display);font-size:14px;font-weight:500;color:var(--ink);letter-spacing:.05em;text-transform:uppercase}.hub-topbar-brand span{color:var(--ink-dim);font-family:var(--font-mono);font-size:11px;letter-spacing:.02em;margin-left:12px;text-transform:none}.hub-topbar-right{display:flex;align-items:center;gap:24px}.hub-live-pulse{display:flex;align-items:center;gap:8px;font-family:var(--font-mono);font-size:10px;color:var(--ok);text-transform:uppercase;letter-spacing:.12em}.hub-live-pulse i{width:6px;height:6px;border-radius:50%;background:var(--ok);animation:hubPulse 2s infinite}@keyframes hubPulse{0%,to{opacity:1;box-shadow:0 0 8px var(--ok)}50%{opacity:.3;box-shadow:0 0 0 transparent}}.hub-clock{font-family:var(--font-mono);font-size:13px;color:var(--ink-mid);font-variant-numeric:tabular-nums}.hub-health{display:flex;align-items:center;gap:12px}.hub-health-ring-wrap{position:relative;width:32px;height:32px;border-radius:50%;background:var(--line);display:flex;align-items:center;justify-content:center}.hub-health-ring{position:absolute;inset:0;border-radius:50%;mask:radial-gradient(transparent 13px,#000 14px);-webkit-mask:radial-gradient(transparent 13px,#000 14px);transition:background .5s}.hub-health-val{font-family:var(--font-mono);font-size:12px;font-weight:500;color:var(--ink);z-index:2}.hub-health-label{display:flex;flex-direction:column;font-size:9px;font-family:var(--font-mono);color:var(--ink-mid);text-transform:uppercase;letter-spacing:.1em;line-height:1.2}.hub-toggle{display:flex;background:var(--panel);border:1px solid var(--line);border-radius:20px;padding:2px}.hub-toggle button{background:transparent;border:none;padding:4px 12px;font-family:var(--font-mono);font-size:10px;color:var(--ink-dim);text-transform:uppercase;letter-spacing:.1em;border-radius:16px;cursor:pointer;transition:all .2s}.hub-toggle button.is-active{background:var(--bg-2);color:var(--accent);box-shadow:0 1px 3px #0003}.hub-main{display:flex;flex:1;min-height:0}.hub-stage-wrapper{min-width:0;flex:1;display:flex;flex-direction:column;position:relative;background:radial-gradient(circle at center,var(--bg-2) 0%,var(--bg) 100%);overflow:hidden}.hub-stage{flex:1;position:relative;min-height:520px;min-width:0}.hub-stage-grid{position:absolute;inset:0;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:60px 60px;opacity:.3}.hub-blueprint-container{position:absolute;inset:24px;display:flex;align-items:center;justify-content:center;min-width:0}.hub-blueprint-wrap{position:relative;width:min(100%,1100px);max-height:100%;aspect-ratio:2895 / 1263}.hub-blueprint-img{width:100%;height:100%;object-fit:contain;display:block;filter:invert(.9) hue-rotate(180deg) saturate(.6) brightness(1.05) contrast(1.05);opacity:.42}.hub-blueprint-glow{position:absolute;inset:0;background:radial-gradient(circle at center,rgba(111,183,255,.08) 0%,transparent 70%);pointer-events:none}.hub-node{position:absolute;width:12px;height:12px;border-radius:50%;transform:translate(-50%,-50%);cursor:pointer;z-index:10;transition:transform .2s}.hub-node:before{content:"";position:absolute;inset:-6px;border-radius:50%;background:inherit;opacity:.2}.hub-node:hover,.hub-node.is-selected{transform:translate(-50%,-50%) scale(1.3)}.hub-node.is-selected:after{content:"";position:absolute;inset:-4px;border:1px solid var(--accent);border-radius:50%}.hub-node.status-ok{background:var(--ok);box-shadow:0 0 10px #34d39966}.hub-node.status-warn{background:var(--warn);box-shadow:0 0 10px #facc5599;animation:nodeWarn 2s infinite}.hub-node.status-crit{background:var(--crit);box-shadow:0 0 15px #ff5468cc;animation:nodeCrit 1s infinite}@keyframes nodeWarn{0%,to{opacity:1}50%{opacity:.6}}@keyframes nodeCrit{0%,to{opacity:1;transform:translate(-50%,-50%) scale(1)}50%{opacity:.8;transform:translate(-50%,-50%) scale(1.15)}}.hub-node-label{position:absolute;top:50%;left:100%;transform:translateY(-50%);margin-left:12px;background:var(--panel);border:1px solid var(--line);padding:4px 8px;border-radius:4px;font-family:var(--font-mono);font-size:10px;color:var(--ink);white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .2s;box-shadow:0 4px 12px #00000080}.hub-node-label.is-left{left:auto;right:100%;margin-left:0;margin-right:12px}.hub-node:hover .hub-node-label{opacity:1}.hub-rail{width:392px;background:var(--panel-2);border-left:1px solid var(--line);display:flex;flex-direction:column;overflow-y:auto}.hub-rail-section{border-bottom:1px solid var(--line)}.hub-rail-header{padding:12px 20px;font-family:var(--font-mono);font-size:10px;color:var(--ink-dim);text-transform:uppercase;letter-spacing:.1em;display:flex;justify-content:space-between;background:var(--bg-2)}.hub-systems-list{max-height:240px;overflow-y:auto}.hub-systems-group{padding:12px 20px 4px;font-family:var(--font-mono);font-size:9px;color:var(--ink-dim);text-transform:uppercase;letter-spacing:.1em}.hub-system-row{display:flex;align-items:center;justify-content:space-between;padding:8px 20px;cursor:pointer;transition:background .2s}.hub-system-row:hover,.hub-system-row.is-selected{background:var(--panel)}.hub-system-row-left{display:flex;align-items:center;gap:10px}.hub-system-dot{width:6px;height:6px;border-radius:50%}.hub-system-name{font-size:12px;color:var(--ink)}.hub-system-reading{font-family:var(--font-mono);font-size:11px;color:var(--ink-mid);font-variant-numeric:tabular-nums}.hub-detail-card{padding:24px 20px}.hub-detail-top{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:24px}.hub-detail-info h3{font-family:var(--font-display);font-size:18px;font-weight:400;color:var(--ink);margin-bottom:4px}.hub-detail-info p{font-size:12px;color:var(--ink-mid)}.hub-detail-big{display:flex;align-items:baseline;gap:4px}.hub-detail-big-val{font-family:var(--font-mono);font-size:32px;line-height:1;color:var(--ink);font-variant-numeric:tabular-nums}.hub-detail-big-unit{font-family:var(--font-mono);font-size:12px;color:var(--ink-dim)}.hub-detail-chart{height:60px;margin-top:16px;background:var(--bg-2);border:1px solid var(--line);border-radius:4px;overflow:hidden}.hub-console{flex:1;min-height:180px;display:flex;flex-direction:column}.hub-console-log{flex:1;padding:16px 20px;font-family:var(--font-mono);font-size:11px;line-height:1.6;color:var(--ink-mid);overflow-y:auto}.hub-console-step{margin-bottom:12px;animation:fadeUp .3s ease-out}.hub-console-phase{display:inline-block;padding:0 4px;border-radius:2px;font-size:9px;font-weight:500;margin-right:8px;text-transform:uppercase}.phase-DETECT{background:#ff546826;color:var(--crit)}.phase-DIAGNOSE{background:#facc5526;color:var(--warn)}.phase-ACT{background:#f59e5b26;color:var(--accent)}.phase-GUEST{background:#6fb7ff26;color:var(--blue)}.phase-RESOLVE{background:#34d39926;color:var(--ok)}.hub-cursor{display:inline-block;width:6px;height:12px;background:var(--ink-dim);vertical-align:middle;margin-left:4px;animation:blink 1s step-end infinite}@keyframes blink{50%{opacity:0}}.hub-feed{max-height:160px;overflow-y:auto}.hub-feed-item{padding:12px 20px;border-bottom:1px solid var(--line)}.hub-feed-item:last-child{border-bottom:none}.hub-feed-time{font-family:var(--font-mono);font-size:9px;color:var(--ink-dim);margin-bottom:4px}.hub-feed-text{font-size:11px;color:var(--ink)}.hub-dock{min-height:64px;background:var(--bg);border-top:1px solid var(--line);display:flex;align-items:center;padding:12px 24px;gap:16px;flex-shrink:0;z-index:10;flex-wrap:wrap}.hub-btn-present{background:var(--accent);color:#000;border:none;border-radius:4px;padding:8px 16px;font-family:var(--font-mono);font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.1em;display:flex;align-items:center;gap:8px;cursor:pointer;transition:opacity .2s}.hub-btn-present:hover{opacity:.9}.hub-btn-present.is-stop{background:var(--crit);color:#fff}.hub-dock-divider{width:1px;height:24px;background:var(--line);margin:0 8px}.hub-btn-scenario{background:transparent;border:1px solid var(--line-strong);color:var(--ink-mid);border-radius:4px;padding:6px 12px;font-family:var(--font-body);font-size:12px;display:flex;align-items:center;gap:8px;cursor:pointer;transition:all .2s}.hub-btn-scenario:hover{border-color:var(--ink-dim);color:var(--ink)}.hub-btn-scenario i{width:6px;height:6px;border-radius:50%}.hub-dock-spacer{flex:1}.hub-dock-actions{display:flex;align-items:center;gap:16px}.hub-btn-text{background:transparent;border:none;color:var(--ink-dim);font-family:var(--font-mono);font-size:10px;text-transform:uppercase;letter-spacing:.1em;cursor:pointer}.hub-btn-text:hover{color:var(--ink)}.hub-guest-phone{position:absolute;bottom:24px;left:24px;width:280px;background:#fff;border-radius:24px;padding:16px;box-shadow:0 20px 40px #00000080;transform:translateY(120%);opacity:0;transition:all .5s cubic-bezier(.16,1,.3,1);z-index:20}.hub-guest-phone.is-visible{transform:translateY(0);opacity:1}.hub-phone-header{text-align:center;border-bottom:1px solid #EEE;padding-bottom:12px;margin-bottom:16px}.hub-phone-header h4{font-family:var(--font-body);font-size:12px;font-weight:600;color:#000;margin:0}.hub-phone-header span{font-size:10px;color:#888}.hub-phone-chat{display:flex;flex-direction:column;gap:12px;min-height:60px}.hub-chat-bubble{align-self:flex-start;background:#f1f1f1;color:#000;padding:10px 14px;border-radius:16px 16px 16px 4px;font-size:13px;line-height:1.4;max-width:90%;animation:popIn .3s cubic-bezier(.16,1,.3,1)}.hub-chat-bubble.is-host{align-self:flex-end;background:var(--accent);color:#000;border-radius:16px 16px 4px}.hub-typing-dot{display:inline-block;width:4px;height:4px;border-radius:50%;background:#0006;margin:0 2px;animation:typeBounce 1.4s infinite ease-in-out both}.hub-typing-dot:nth-child(1){animation-delay:-.32s}.hub-typing-dot:nth-child(2){animation-delay:-.16s}@keyframes popIn{0%{opacity:0;transform:scale(.9) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes typeBounce{0%,80%,to{transform:scale(0)}40%{transform:scale(1)}}.hub-footnote{padding:24px;color:var(--ink-dim);font-family:var(--font-body);font-size:10px;line-height:1.5;border-top:1px solid var(--line)}.hub-toast{position:fixed;top:24px;left:50%;transform:translate(-50%);background:var(--ok);color:#000;padding:8px 16px;border-radius:4px;font-family:var(--font-mono);font-size:11px;font-weight:500;text-transform:uppercase;letter-spacing:.1em;z-index:100;box-shadow:0 8px 24px #0006;animation:popIn .3s cubic-bezier(.16,1,.3,1)}@media(max-width:900px){.hub-demo-shell{height:auto;min-height:100vh;overflow:visible}.hub-topbar{flex-direction:column;height:auto;padding:16px;align-items:stretch;gap:16px}.hub-topbar-left,.hub-topbar-right{justify-content:space-between;width:100%;flex-wrap:wrap;gap:12px}.hub-main{flex-direction:column;min-width:0}.hub-stage-wrapper{width:100%;max-width:100%;overflow:hidden}.hub-rail{width:100%;border-left:none;border-top:1px solid var(--line)}.hub-stage{width:100%;min-height:260px;overflow:hidden}.hub-blueprint-container{inset:16px;width:auto;max-width:calc(100% - 32px)}.hub-blueprint-wrap{width:100%;max-width:100%}.hub-dock{position:sticky;bottom:0}.hub-dock-divider{display:none}}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}html,body,#root{height:100%;background:#0a0a0c}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}@keyframes fadeUp{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:translateY(0)}}@keyframes fadeUpSlow{0%{opacity:0;transform:translateY(32px)}to{opacity:1;transform:translateY(0)}}@keyframes slideIn{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.4}}@keyframes marquee{0%{transform:translate(0)}to{transform:translate(-50%)}}
