/* V5.8 live compatibility: preserves AI Hub account/request/dashboard functionality while matching rebuilt blue UI */
body.hub-v58{
  --bg:#030814;--bg2:#071423;--panel:rgba(5,22,37,.88);--panel2:#061827;--text:#eafcff;--muted:#8aa7ba;
  --line:rgba(77,214,224,.18);--cyan:#55e6df;--blue:#6985ff;--violet:#8b74ff;--gold:#75bfe8;--ok:#5be1bd;--bad:#ff8298;
  --ease:cubic-bezier(.16,1,.3,1);
}
html[data-theme="light"] body.hub-v58{
  --bg:#eaf5ff;--bg2:#dbeefb;--panel:rgba(248,252,255,.92);--panel2:#f7fbff;--text:#123655;--muted:#57728b;
  --line:rgba(45,103,169,.22);--cyan:#2779b7;--blue:#496bc6;--violet:#5964c2;--gold:#287eaa;--ok:#177d6e;--bad:#aa4054;
}
body.hub-v58 .hide{display:none!important}
body.hub-v58 .grow{flex:1}
body.hub-v58 .top-shell{display:grid;grid-template-columns:minmax(210px,260px) minmax(230px,290px) 1fr auto;align-items:center}
body.hub-v58 .top-shell .brand{min-width:0}
body.hub-v58 .top-shell .brand-mark{flex:0 0 auto}
body.hub-v58 .workspaceMark{display:none;color:var(--muted);font:800 9px/1.2 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap}
body.hub-v58 .workspaceMark b{color:var(--cyan)}
body.hub-v58 .appNav{display:flex;gap:4px;align-items:center;overflow-x:auto;scrollbar-width:none;min-width:0}
body.hub-v58 .appNav::-webkit-scrollbar{display:none}
body.hub-v58 .appNav a{white-space:nowrap;font:750 10px/1 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.06em;padding:10px 9px;border-radius:9px;border:1px solid transparent}
body.hub-v58 .appNav a.active,body.hub-v58 .appNav a:hover{color:var(--cyan);border-color:var(--line);background:color-mix(in srgb,var(--cyan) 7%,transparent)}
body.hub-v58 .headerUser{display:flex;align-items:center;gap:8px}
body.hub-v58 .headerUser .userDot{width:8px;height:8px;border-radius:50%;background:var(--ok);box-shadow:0 0 14px color-mix(in srgb,var(--ok) 70%,transparent)}
body.hub-v58 .headerUser .userLabel{font:750 10px ui-monospace,monospace;color:var(--muted);white-space:nowrap}
body.hub-v58.hubAuthenticated .workspaceMark{display:block}
body.hub-v58.hubAuthenticated .top-shell{grid-template-columns:220px auto 1fr auto}
body.hub-v58.hubAuthenticated #appNav{display:flex!important}
body.hub-v58.hubAuthenticated .header-actions{gap:7px}
body.hub-v58.hubAuthenticated .header-actions .mini-btn#fxToggle{display:none}
body.hub-v58 .legacy-zone{position:relative;z-index:2}
body.hub-v58 .hub-legacy-section{padding:96px 0;border-top:1px solid var(--line)}
body.hub-v58 .hub-legacy-section>.shell{max-width:1500px;margin:auto;padding:0 22px}
body.hub-v58 .hub-legacy-section .head{display:grid;grid-template-columns:1fr .8fr;gap:30px;align-items:end;margin-bottom:35px}
body.hub-v58 .hub-legacy-section .head h2{font:600 clamp(38px,5vw,68px)/.98 Georgia,'Times New Roman',serif;letter-spacing:-.045em;margin:8px 0;color:#eaffff}
html[data-theme="light"] body.hub-v58 .hub-legacy-section .head h2{color:#163653}
body.hub-v58 .hub-legacy-section .head p{color:var(--muted);line-height:1.8}
body.hub-v58 .hub-legacy-section .grid{display:grid;grid-template-columns:repeat(12,1fr);gap:14px}
body.hub-v58 .hub-legacy-section .card,
body.hub-v58 .infoPanel,body.hub-v58 .authPanel,body.hub-v58 .dashPanel,body.hub-v58 .stat,body.hub-v58 .request,
body.hub-v58 .flowStep,body.hub-v58 .chatMsg{
  border:1px solid var(--line);border-radius:20px;background:
  linear-gradient(rgba(63,235,245,.018) 1px,transparent 1px),
  linear-gradient(90deg,rgba(63,235,245,.015) 1px,transparent 1px),
  linear-gradient(145deg,rgba(5,23,38,.94),rgba(2,12,23,.96));
  background-size:26px 26px,26px 26px,auto;box-shadow:0 20px 60px rgba(0,0,0,.17);backdrop-filter:blur(14px)
}
html[data-theme="light"] body.hub-v58 .hub-legacy-section .card,
html[data-theme="light"] body.hub-v58 .infoPanel,html[data-theme="light"] body.hub-v58 .authPanel,html[data-theme="light"] body.hub-v58 .dashPanel,
html[data-theme="light"] body.hub-v58 .stat,html[data-theme="light"] body.hub-v58 .request,html[data-theme="light"] body.hub-v58 .flowStep,
html[data-theme="light"] body.hub-v58 .chatMsg{
  border-color:rgba(45,103,169,.22);background:
  radial-gradient(circle at 88% 10%,rgba(89,178,246,.09),transparent 30%),
  linear-gradient(145deg,rgba(249,253,255,.97),rgba(220,237,251,.90));
  background-size:auto;box-shadow:0 18px 50px rgba(25,76,128,.08),inset 0 1px rgba(255,255,255,.84)
}
body.hub-v58 .hub-legacy-section .card{grid-column:span 4;min-height:220px;padding:22px;transition:.28s var(--ease)}
body.hub-v58 .hub-legacy-section .card.wide{grid-column:span 6}
body.hub-v58 .hub-legacy-section .card:hover{transform:translateY(-4px);border-color:color-mix(in srgb,var(--cyan) 48%,var(--line))}
body.hub-v58 .hub-legacy-section .card h3,body.hub-v58 .authPanel h3,body.hub-v58 .dashPanel h3{color:var(--text)}
body.hub-v58 .hub-legacy-section .card p,body.hub-v58 .request small,body.hub-v58 .msg{color:var(--muted)}
body.hub-v58 .mini,body.hub-v58 .kicker{color:var(--cyan)}
body.hub-v58 .authWrap{display:grid;grid-template-columns:.9fr 1.1fr;gap:18px;align-items:start}
body.hub-v58 .infoPanel,body.hub-v58 .authPanel,body.hub-v58 .dashPanel{padding:24px}
body.hub-v58 .authTabs{display:flex;gap:6px;margin-bottom:18px}
body.hub-v58 .authTabs button{flex:1}
body.hub-v58 .form{display:grid;grid-template-columns:1fr 1fr;gap:11px}
body.hub-v58 .field{display:flex;flex-direction:column;gap:6px}
body.hub-v58 .field.full{grid-column:1/-1}
body.hub-v58 .field label{font:850 10px ui-monospace,monospace;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
body.hub-v58 .field input,body.hub-v58 .field select,body.hub-v58 .field textarea{
  width:100%;border:1px solid var(--line);background:var(--panel2);color:var(--text);border-radius:11px;padding:12px;outline:none
}
body.hub-v58 .field textarea{min-height:120px;resize:vertical}
body.hub-v58 .field input:focus,body.hub-v58 .field select:focus,body.hub-v58 .field textarea:focus{border-color:var(--cyan);box-shadow:0 0 0 3px color-mix(in srgb,var(--cyan) 10%,transparent)}
body.hub-v58 .btn{border:1px solid var(--line);background:var(--panel2);color:var(--text);border-radius:12px;padding:11px 14px;font-weight:900;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;transition:.22s var(--ease)}
body.hub-v58 .btn:hover{transform:translateY(-2px);border-color:var(--cyan)}
body.hub-v58 .btn.primary{color:#f5fbff;background:linear-gradient(95deg,#0b649e,#1688b8 45%,#4e66c5);border-color:#4395d2;box-shadow:0 10px 30px rgba(34,117,178,.17)}
body.hub-v58 .chips{display:flex;gap:7px;flex-wrap:wrap}
body.hub-v58 .chip{border:1px solid var(--line);border-radius:999px;padding:5px 9px;color:var(--muted);font-size:10px}
body.hub-v58 .chip.ok{color:var(--ok)}
body.hub-v58 .dashboard{max-width:1500px;margin:auto;padding:138px 22px 100px}
body.hub-v58 .dashTop{display:flex;gap:15px;align-items:center;margin-bottom:18px}
body.hub-v58 .avatar{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,#43d2df,#4b66c6);color:#f8fdff;font-weight:950;font-size:18px}
body.hub-v58 .stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
body.hub-v58 .stat{padding:14px}
body.hub-v58 .stat b{font-size:24px;display:block}
body.hub-v58 .stat small{color:var(--muted)}
body.hub-v58 .status{display:inline-flex;border:1px solid var(--line);border-radius:999px;padding:4px 8px;font-size:10px}
body.hub-v58 .status.ok{color:var(--ok)}body.hub-v58 .status.warn{color:#d0a85b}
body.hub-v58 .request{padding:15px;margin-top:9px}.requestHead{display:flex;justify-content:space-between;gap:12px}
body.hub-v58 .requestFlow{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0 18px}
body.hub-v58 .roomGrid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(290px,.8fr);gap:14px}
body.hub-v58 .chatBox{max-height:420px;overflow:auto;padding:6px}
body.hub-v58 .chatMsg{padding:11px 13px;margin:8px 0}.chatMsg.user{margin-left:8%}
body.hub-v58 .timelineItem{padding:10px 0;border-bottom:1px solid var(--line)}
body.hub-v58 .fileRow{display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px;border-bottom:1px solid var(--line)}
body.hub-v58 .zJourney{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
body.hub-v58 .zOnboardingStatus{position:relative;overflow:hidden;margin:14px 0;padding:14px;border:1px solid var(--line);border-radius:18px;background:var(--panel)}
body.hub-v58 .zOnboardingTop{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
body.hub-v58 .zOnboardingTop p{margin:4px 0;color:var(--muted);font-size:11px}
body.hub-v58 .zJourneyStep{position:relative;min-height:92px;padding:11px;border:1px solid var(--line);border-radius:13px;background:var(--panel2)}
body.hub-v58 .zJourneyStep i{display:grid;place-items:center;width:24px;height:24px;border-radius:50%;border:1px solid var(--line);font-style:normal;color:var(--cyan)}
body.hub-v58 .zJourneyStep b{display:block;margin-top:8px;font-size:11px}
body.hub-v58 .zJourneyStep small{display:block;margin-top:4px;color:var(--muted);font-size:9px;line-height:1.4}
body.hub-v58 .zJourneyStep.done{border-color:color-mix(in srgb,var(--ok) 40%,var(--line))}
body.hub-v58 .zJourneyStep.active{box-shadow:0 0 0 1px color-mix(in srgb,var(--cyan) 25%,transparent),0 8px 26px color-mix(in srgb,var(--cyan) 7%,transparent)}
body.hub-v58 .zNextAction{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-top:10px}
body.hub-v58 footer{padding:60px 22px;border-top:1px solid var(--line);color:var(--muted);font-size:11px}
body.hub-v58 .footerRow{max-width:1500px;margin:auto;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}
@media(max-width:1280px){body.hub-v58 .top-shell{grid-template-columns:210px 250px 1fr auto}.header-actions .key-btn{display:none}}
@media(max-width:1050px){
  body.hub-v58 .top-shell{position:sticky;left:auto;right:auto;width:calc(100% - 14px);height:auto;min-height:78px;grid-template-columns:1fr auto;gap:10px;padding:10px 14px}
  body.hub-v58 .top-shell .mode-switch{grid-row:2;grid-column:1/-1;width:100%}
  body.hub-v58 .top-shell .nav-links{display:none}
  body.hub-v58.hubAuthenticated .top-shell{grid-template-columns:1fr auto}
  body.hub-v58.hubAuthenticated .workspaceMark{display:none!important}
  body.hub-v58.hubAuthenticated #appNav{grid-row:2;grid-column:1/-1;width:100%;max-width:none;border-top:1px solid var(--line);padding-top:8px}
  body.hub-v58 .authWrap{grid-template-columns:1fr}
  body.hub-v58 .hub-legacy-section .card,body.hub-v58 .hub-legacy-section .card.wide{grid-column:span 6}
}
@media(max-width:700px){
  body.hub-v58 .top-shell .brand-copy small{display:none}
  body.hub-v58 .top-shell .brand-mark{width:45px;height:45px}
  body.hub-v58 .top-shell .header-actions .mini-btn#fxToggle{display:none}
  body.hub-v58 .headerUser .userLabel{display:none}
  body.hub-v58 .hub-legacy-section{padding:72px 0}
  body.hub-v58 .hub-legacy-section .head{grid-template-columns:1fr}
  body.hub-v58 .hub-legacy-section .card,body.hub-v58 .hub-legacy-section .card.wide{grid-column:span 12}
  body.hub-v58 .form{grid-template-columns:1fr}.field.full{grid-column:auto}
  body.hub-v58 .stats{grid-template-columns:1fr 1fr}
  body.hub-v58 .requestFlow{grid-template-columns:1fr 1fr}
  body.hub-v58 .roomGrid{grid-template-columns:1fr}
  body.hub-v58 .zJourney{grid-template-columns:1fr}
  body.hub-v58 .zNextAction{align-items:stretch;flex-direction:column}
}

/* Browser-safe V5.8 headline: never inherit the retired gradient-clipping rule. */
body.hub-v58 .hub-title .line{color:inherit!important;background:none!important;-webkit-background-clip:initial!important;background-clip:initial!important;-webkit-text-fill-color:currentColor!important}
body.hub-v58 .hub-title .line-b em{color:#47e7d6!important;-webkit-text-fill-color:#47e7d6!important}
body.hub-v58 .hub-title .line-c strong{color:#77a8ff!important;-webkit-text-fill-color:#77a8ff!important;background:none!important}
html[data-theme="light"] body.hub-v58 .hub-title .line-b em{color:#078f88!important;-webkit-text-fill-color:#078f88!important}
html[data-theme="light"] body.hub-v58 .hub-title .line-c strong{color:#285fa9!important;-webkit-text-fill-color:#285fa9!important}

/* === V5.8.1: AI Hub hero geometry locked to Company hero === */
@media(min-width:1181px){
  body.hub-v58 .top-shell{
    left:62px!important;right:62px!important;top:22px!important;width:auto!important;max-width:none!important;margin:0!important;
    height:84px!important;padding:0 22px!important;gap:18px!important;
    grid-template-columns:260px 290px 1fr auto!important;border-radius:32px 32px 24px 24px!important;
  }
  body.hub-v58 .nav-links{gap:31px!important}
  body.hub-v58 .nav-links a{font-size:14px!important;white-space:nowrap}
  body.hub-v58 .hub-hero{
    position:relative!important;min-height:887px!important;padding:142px 70px 0!important;
    display:grid!important;grid-template-columns:52.5% 47.5%!important;gap:0!important;
    max-width:none!important;margin:0!important;align-items:stretch!important;overflow:hidden!important;
  }
  body.hub-v58 .hub-hero .hero-copy{
    position:relative!important;padding:67px 22px 0 20px!important;z-index:5!important;min-width:0
  }
  body.hub-v58 .hub-hero .hero-mandala{
    width:460px!important;height:460px!important;left:260px!important;top:18px!important;opacity:.22!important;
  }
  body.hub-v58 .hub-title{
    margin:0!important;max-width:810px!important;letter-spacing:-4.5px!important;line-height:1!important;font-size:initial!important;
  }
  body.hub-v58 .hub-title .line{display:block!important;white-space:nowrap!important}
  body.hub-v58 .hub-title .line-a{font-size:78px!important;line-height:.92!important;font-weight:400!important}
  body.hub-v58 .hub-title .line-b{font-size:88px!important;line-height:.94!important;margin-top:2px!important}
  body.hub-v58 .hub-title .line-c{font-size:77px!important;line-height:.95!important}
  body.hub-v58 .sanskrit{right:18px!important;top:118px!important}
  body.hub-v58 .hero-body{
    position:relative!important;z-index:3!important;margin:17px 0 27px 3px!important;
    font-size:18px!important;line-height:1.28!important;max-width:780px!important;
  }
  body.hub-v58 .hero-actions{display:flex!important;align-items:center!important;gap:28px!important;margin-top:0!important}
  body.hub-v58 .universe-btn{width:390px!important;height:76px!important;border-radius:39px!important;padding:0 26px 0 18px!important}
  body.hub-v58 .hero-metrics{display:none!important}
  body.hub-v58 .hub-system.orbit-stage.system-panel{
    position:relative!important;z-index:10!important;height:auto!important;
    margin:18px 0 74px 0!important;border:0!important;border-radius:0!important;
    background:transparent!important;box-shadow:none!important;overflow:visible!important;
    isolation:isolate!important;transform:none!important;
  }
  body.hub-v58 .hub-system.orbit-stage.system-panel:before,
  body.hub-v58 .hub-system.orbit-stage.system-panel:after{display:none!important;content:none!important}
  body.hub-v58 .hub-system .panel-top,
  body.hub-v58 .hub-system .hub-telemetry,
  body.hub-v58 .hub-system .panel-status{display:none!important}
  body.hub-v58 .hub-system .map-wrap{
    position:absolute!important;inset:-4px -10px 0 -6px!important;height:auto!important;
    overflow:visible!important;display:grid!important;place-items:center!important;
  }
  body.hub-v58 .hub-system .map-wrap svg{
    width:104%!important;height:104%!important;max-width:none!important;overflow:visible!important;
    filter:drop-shadow(0 10px 24px rgba(38,79,128,.11)) drop-shadow(0 0 8px rgba(133,209,255,.20))!important;
  }
  body.hub-v58 .hub-hero>.info-rail{
    position:absolute!important;z-index:12!important;left:30px!important;bottom:0!important;
    width:900px!important;height:96px!important;margin:0!important;padding:15px 22px!important;
    display:grid!important;grid-template-columns:1fr 1fr 1.12fr!important;align-items:center!important;
    border-radius:27px 27px 0 0!important;overflow:visible!important;
  }
  body.hub-v58 .hub-hero>.info-rail article{height:58px!important;min-height:58px!important;padding:0 17px!important}
  body.hub-v58 .hub-hero>.info-rail img{width:42px!important;height:42px!important}
  body.hub-v58 .hub-hero>.info-rail span{white-space:nowrap!important;font-size:12px!important}
}
body.hub-v58 .orbit-labels{display:none!important}
body.hub-v58 #orbitingNodes .planet{transform-box:fill-box;transform-origin:center;cursor:pointer;outline:none}
body.hub-v58 #orbitingNodes .planet-chip{cursor:pointer;pointer-events:all;filter:drop-shadow(0 7px 11px rgba(26,76,122,.14))}
body.hub-v58 #orbitingNodes .planet-chip rect{fill:rgba(246,251,255,.97);stroke:#4b91cf;stroke-width:1.1;transition:fill .22s,stroke .22s,filter .22s}
body.hub-v58 #orbitingNodes .planet-chip text{text-anchor:middle;dominant-baseline:middle;font:800 8.6px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.72px;fill:#173e65;pointer-events:none}
body.hub-v58 #orbitingNodes .planet-chip circle{fill:#0b9f9a;stroke:#d8f4ff;stroke-width:.8;pointer-events:none}
body.hub-v58 #orbitingNodes .planet.product-secondary .planet-chip{filter:drop-shadow(0 4px 7px rgba(26,76,122,.10))}
body.hub-v58 #orbitingNodes .planet.product-secondary .planet-chip rect{fill:rgba(247,252,255,.94);stroke:rgba(69,133,195,.72);stroke-width:.8}
body.hub-v58 #orbitingNodes .planet.product-secondary .planet-chip text{font-size:7.1px;letter-spacing:.48px}
body.hub-v58 #orbitingNodes .planet:hover .planet-chip rect,
body.hub-v58 #orbitingNodes .planet:focus-visible .planet-chip rect{fill:#effaff;stroke:#14a8c8;filter:drop-shadow(0 0 8px rgba(20,168,200,.28))}
html[data-theme="dark"] body.hub-v58 #orbitingNodes .planet-chip rect{fill:rgba(4,18,32,.96);stroke:#2bd8cf}
html[data-theme="dark"] body.hub-v58 #orbitingNodes .planet-chip text{fill:#d9fbff}
html[data-theme="dark"] body.hub-v58 #orbitingNodes .planet-chip circle{fill:#38e4d7;stroke:#7c83ff}
html[data-theme="dark"] body.hub-v58 #orbitingNodes .planet.product-secondary .planet-chip rect{fill:rgba(4,17,30,.94);stroke:rgba(43,216,207,.62)}
html[data-theme="dark"] body.hub-v58 #orbitingNodes .planet:hover .planet-chip rect{fill:rgba(7,38,52,.98);stroke:#8790ff}
@media(max-width:1650px) and (min-width:1181px){
  body.hub-v58 .top-shell{left:42px!important;right:42px!important;grid-template-columns:236px 250px 1fr auto!important;padding:0 18px!important;gap:13px!important}
  body.hub-v58 .nav-links{gap:22px!important}
  body.hub-v58 .hub-hero{padding-left:53px!important;padding-right:53px!important}
  body.hub-v58 .hub-title .line-a{font-size:68px!important}
  body.hub-v58 .hub-title .line-b{font-size:78px!important}
  body.hub-v58 .hub-title .line-c{font-size:68px!important}
  body.hub-v58 .hero-body{font-size:16px!important}
  body.hub-v58 .universe-btn{width:352px!important}
  body.hub-v58 .hub-hero>.info-rail{left:23px!important;width:800px!important}
  body.hub-v58 .hub-hero>.info-rail article{padding:0 11px!important}
  body.hub-v58 .hub-hero>.info-rail span{font-size:11px!important}
}
@media(max-width:1380px) and (min-width:1181px){
  body.hub-v58 .top-shell{grid-template-columns:210px 220px 1fr auto!important}
  body.hub-v58 .nav-links{gap:14px!important}
  body.hub-v58 .nav-links a{font-size:12px!important}
  body.hub-v58 .hub-hero{grid-template-columns:53% 47%!important}
  body.hub-v58 .hub-hero .hero-copy{padding-top:58px!important}
  body.hub-v58 .hub-title{letter-spacing:-3.5px!important}
  body.hub-v58 .hub-title .line-a{font-size:59px!important}
  body.hub-v58 .hub-title .line-b{font-size:67px!important}
  body.hub-v58 .hub-title .line-c{font-size:59px!important}
  body.hub-v58 .hub-hero .hero-mandala{left:210px!important;width:380px!important;height:380px!important}
  body.hub-v58 .hero-body{font-size:15px!important}
  body.hub-v58 .universe-btn{width:310px!important;height:66px!important}
  body.hub-v58 .hub-hero>.info-rail{width:735px!important;height:85px!important}
  body.hub-v58 .hub-hero>.info-rail img{width:35px!important;height:35px!important}
  body.hub-v58 .hub-hero>.info-rail span{font-size:10px!important}
}
@media(max-width:1180px){
  body.hub-v58 .hub-hero{padding:120px 35px 0!important;grid-template-columns:1fr 1fr!important;gap:0!important;min-height:887px!important}
  body.hub-v58 .hub-hero .hero-copy{padding-left:10px!important;padding-bottom:0!important}
  body.hub-v58 .hub-title .line-a{font-size:50px!important}
  body.hub-v58 .hub-title .line-b{font-size:58px!important}
  body.hub-v58 .hub-title .line-c{font-size:49px!important}
  body.hub-v58 .hero-metrics{display:none!important}
  body.hub-v58 .hub-system{margin-bottom:67px!important}
  body.hub-v58 .hub-system .hub-telemetry,body.hub-v58 .hub-system .panel-status{display:none!important}
  body.hub-v58 .hub-hero>.info-rail{position:absolute!important;left:35px!important;bottom:0!important;width:calc(50% - 35px)!important;height:85px!important;margin:0!important;padding:10px 12px!important;grid-template-columns:1fr!important}
  body.hub-v58 .hub-hero>.info-rail article{position:absolute;opacity:0;pointer-events:none}
  body.hub-v58 .hub-hero>.info-rail article:first-child{position:static;opacity:1;pointer-events:auto;border:0}
}
@media(max-width:900px){
  body.hub-v58 .hub-hero{min-height:auto!important;padding:105px 24px 0!important;display:block!important}
  body.hub-v58 .hub-hero .hero-copy{min-height:660px!important;padding:70px 0 25px!important}
  body.hub-v58 .hub-title .line{white-space:normal!important}
  body.hub-v58 .hub-title .line-a{font-size:clamp(46px,9vw,70px)!important}
  body.hub-v58 .hub-title .line-b{font-size:clamp(52px,10vw,78px)!important}
  body.hub-v58 .hub-title .line-c{font-size:clamp(44px,8.7vw,67px)!important}
  body.hub-v58 .hub-system{height:610px!important;margin:0 0 110px!important}
  body.hub-v58 .hub-system .map-wrap{inset:0!important}
  body.hub-v58 .hub-hero>.info-rail{left:24px!important;right:24px!important;width:auto!important;bottom:0!important}
}
@media(max-width:620px){
  body.hub-v58 .hub-hero{padding-left:15px!important;padding-right:15px!important}
  body.hub-v58 .hub-hero .hero-copy{padding-top:92px!important;min-height:625px!important}
  body.hub-v58 .hub-title{letter-spacing:-2px!important}
  body.hub-v58 .hub-title .line-a{font-size:13.4vw!important}
  body.hub-v58 .hub-title .line-b{font-size:15.1vw!important}
  body.hub-v58 .hub-title .line-c{font-size:12.1vw!important}
  body.hub-v58 .hero-body{font-size:15px!important;line-height:1.45!important}
  body.hub-v58 .hero-actions{align-items:flex-start!important;flex-direction:column!important}
  body.hub-v58 .universe-btn{width:min(100%,360px)!important;height:68px!important}
  body.hub-v58 .hub-system{height:500px!important;margin-bottom:94px!important}
  body.hub-v58 .hub-hero>.info-rail{height:78px!important;left:15px!important;right:15px!important}
}

/* === V5.8.2: Hub Light/Dark parity with Company ===
   Visual-only. Geometry, orbit placement and application functionality unchanged. */
body.hub-v58{
  transition:background-color .32s ease,color .32s ease;
}
html[data-theme="dark"] body.hub-v58{
  --bg:#030711;--bg2:#06101d;--panel:rgba(5,19,32,.90);--panel2:#071827;
  --text:#eafffb;--muted:#95b7b2;--line:rgba(43,230,205,.18);--cyan:#32f0d3;
  --blue:#4ab5ff;--violet:#8174ff;--gold:#6b7cff;--ok:#55e5c5;--bad:#ff8298;
  background:
    radial-gradient(circle at 22% 22%,rgba(29,229,199,.10),transparent 29%),
    radial-gradient(circle at 77% 18%,rgba(110,88,255,.12),transparent 27%),
    radial-gradient(circle at 58% 78%,rgba(20,125,255,.07),transparent 34%),
    linear-gradient(180deg,#030711 0%,#06101c 54%,#02050b 100%)!important;
  color:#eafffb!important;
}
html[data-theme="dark"] body.hub-v58 .hub-grid{
  background-image:
    url('/assets/v58hub/svg/dark-hacking-grid.svg'),
    linear-gradient(rgba(48,246,216,.035) 1px,transparent 1px),
    linear-gradient(90deg,rgba(105,94,255,.028) 1px,transparent 1px)!important;
  background-size:cover,36px 36px,36px 36px!important;
  background-position:center,0 0,0 0!important;
  opacity:.62;
  mask-image:linear-gradient(to bottom,#000 0 76%,transparent 100%);
}
html[data-theme="dark"] body.hub-v58 .hub-aurora-a{
  background:radial-gradient(circle,rgba(93,76,255,.30),rgba(38,60,180,.08) 42%,transparent 70%)!important;
  opacity:.43!important;
}
html[data-theme="dark"] body.hub-v58 .hub-aurora-b{
  background:radial-gradient(circle,rgba(25,244,213,.25),rgba(7,115,131,.08) 40%,transparent 70%)!important;
  opacity:.42!important;
}
html[data-theme="dark"] body.hub-v58 .hub-symbols span{
  color:rgba(66,255,226,.12)!important;
  text-shadow:0 0 20px rgba(44,240,211,.18);
}

/* Same Company header silhouette, cyber material. */
html[data-theme="dark"] body.hub-v58 .top-shell{
  border-color:rgba(40,238,211,.46)!important;
  background:linear-gradient(180deg,rgba(7,18,31,.96),rgba(4,11,22,.94))!important;
  box-shadow:
    0 0 0 3px rgba(34,241,211,.035),
    0 14px 38px rgba(0,0,0,.46),
    inset 0 0 28px rgba(42,236,213,.025)!important;
}
html[data-theme="dark"] body.hub-v58 .top-shell:before{border-color:rgba(106,94,255,.24)!important}
html[data-theme="dark"] body.hub-v58 .brand-mark{
  filter:brightness(1.55) saturate(.55) hue-rotate(118deg) drop-shadow(0 0 10px rgba(43,255,220,.42))!important;
}
html[data-theme="dark"] body.hub-v58 .brand-copy strong{color:#effffc!important;text-shadow:0 0 14px rgba(41,250,216,.14)}
html[data-theme="dark"] body.hub-v58 .brand-copy small{color:#78eada!important}
html[data-theme="dark"] body.hub-v58 .mode-switch{
  background:rgba(7,21,33,.84)!important;border-color:rgba(39,234,208,.25)!important;
  box-shadow:inset 0 0 17px rgba(32,244,214,.045)!important;
}
html[data-theme="dark"] body.hub-v58 .mode-tab{
  color:#b9d7d2!important;
  background:linear-gradient(180deg,rgba(8,27,39,.94),rgba(4,17,28,.92))!important;
  border-color:rgba(50,218,200,.15)!important;
}
html[data-theme="dark"] body.hub-v58 .mode-tab:not(.active):hover{
  color:#e9fffb!important;border-color:rgba(41,255,224,.38)!important;
  background:linear-gradient(180deg,rgba(10,48,57,.94),rgba(6,27,39,.94))!important;
}
html[data-theme="dark"] body.hub-v58 .mode-tab span{color:#59cabc!important}
html[data-theme="dark"] body.hub-v58 .mode-tab.active{
  color:#f3fffd!important;border-color:#28dfc6!important;
  background:linear-gradient(180deg,rgba(13,84,89,.80),rgba(7,42,55,.91))!important;
  box-shadow:0 8px 22px rgba(0,0,0,.30),inset 0 0 16px rgba(42,251,218,.075),0 0 15px rgba(38,224,201,.08)!important;
}
html[data-theme="dark"] body.hub-v58 .nav-links a{color:#a8cac5!important}
html[data-theme="dark"] body.hub-v58 .nav-links a:hover,
html[data-theme="dark"] body.hub-v58 .nav-links a.active{color:#61f4df!important}
html[data-theme="dark"] body.hub-v58 .mini-btn{
  color:#ddfbf6!important;border-color:rgba(48,232,207,.25)!important;background:rgba(7,22,34,.88)!important;
  box-shadow:0 5px 15px rgba(0,0,0,.24),inset 0 0 12px rgba(35,241,211,.025)!important;
}
html[data-theme="dark"] body.hub-v58 .lamp{background:#2ef6d8!important;box-shadow:0 0 10px #2ef6d8!important}
html[data-theme="dark"] body.hub-v58 .connect-btn,
html[data-theme="dark"] body.hub-v58 .universe-btn{
  color:#ecfffb!important;border-color:#2adcc7!important;
  background:radial-gradient(circle at 23% 12%,rgba(55,233,213,.16),transparent 31%),linear-gradient(180deg,#0a4b58,#062b3f)!important;
  box-shadow:0 0 0 3px rgba(45,247,218,.12),0 0 0 5px rgba(105,91,255,.16),inset 0 0 0 1px rgba(53,246,218,.48),0 10px 28px rgba(0,0,0,.38),0 0 23px rgba(36,236,211,.12)!important;
}

/* Hero typography/materials — geometry inherited unchanged from Company-equivalent rules. */
html[data-theme="dark"] body.hub-v58 .hub-hero:before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;
  background:
    radial-gradient(circle at 23% 45%,rgba(28,222,197,.055),transparent 27%),
    radial-gradient(circle at 73% 44%,rgba(105,91,255,.07),transparent 32%);
}
html[data-theme="dark"] body.hub-v58 .hero-mandala{
  filter:brightness(1.55) saturate(1.5) hue-rotate(103deg) drop-shadow(0 0 12px rgba(43,240,214,.10))!important;
  opacity:.18!important;
}
html[data-theme="dark"] body.hub-v58 .eyebrow{color:#72d8cc!important}
html[data-theme="dark"] body.hub-v58 .eyebrow>span{background:#31f1d6!important;box-shadow:0 0 12px #31f1d6!important}
html[data-theme="dark"] body.hub-v58 .hub-title{color:#f4fffd!important;filter:drop-shadow(0 8px 22px rgba(0,0,0,.34))}
html[data-theme="dark"] body.hub-v58 .hub-title .line-a{color:#e5f8f4!important;-webkit-text-fill-color:#e5f8f4!important}
html[data-theme="dark"] body.hub-v58 .hub-title .line-b em{color:#35efd2!important;-webkit-text-fill-color:#35efd2!important;text-shadow:0 0 24px rgba(43,238,210,.17)}
html[data-theme="dark"] body.hub-v58 .hub-title .line-c strong{color:#8290ff!important;-webkit-text-fill-color:#8290ff!important;text-shadow:0 0 22px rgba(118,103,255,.20)}
html[data-theme="dark"] body.hub-v58 .sanskrit{color:#65eadb!important;filter:drop-shadow(0 0 8px rgba(35,238,207,.22))}
html[data-theme="dark"] body.hub-v58 .hero-body{color:#b8cfcb!important;text-shadow:0 1px 16px rgba(0,0,0,.26)}
html[data-theme="dark"] body.hub-v58 .ai-link{color:#bcd9d4!important;border-color:#25cdb7!important}
html[data-theme="dark"] body.hub-v58 .ai-link:hover{color:#65f3dd!important;text-shadow:0 0 13px rgba(50,242,213,.20)}

/* AI orbit: same placement and scale, dark cyber styling only. */
html[data-theme="dark"] body.hub-v58 .hub-system.orbit-stage.system-panel{background:transparent!important;color:#ecfffb!important}
html[data-theme="dark"] body.hub-v58 .hub-system .map-wrap:before{
  background:
    radial-gradient(ellipse at 50% 50%,rgba(9,36,54,.78) 0%,rgba(4,18,31,.54) 39%,rgba(5,12,23,.18) 62%,transparent 84%)!important;
  filter:blur(5px)!important;opacity:1!important;
}
html[data-theme="dark"] body.hub-v58 .hub-system .map-wrap:after{
  background:
    radial-gradient(ellipse at 50% 50%,transparent 48%,rgba(42,242,213,.075) 49%,transparent 50.3%),
    radial-gradient(ellipse at 50% 50%,transparent 62%,rgba(124,105,255,.075) 63%,transparent 64.3%)!important;
  mix-blend-mode:screen!important;
}
html[data-theme="dark"] body.hub-v58 .hub-system .map-wrap svg{
  filter:drop-shadow(0 10px 22px rgba(0,0,0,.50)) drop-shadow(0 0 13px rgba(37,244,214,.15))!important;
}
html[data-theme="dark"] body.hub-v58 .orbit-stage .yantra-ring,
html[data-theme="dark"] body.hub-v58 .orbit-stage .yantra-spokes line,
html[data-theme="dark"] body.hub-v58 .orbit-stage .yantra-square rect,
html[data-theme="dark"] body.hub-v58 .orbit-stage .yantra-star,
html[data-theme="dark"] body.hub-v58 .orbit-stage .yantra-triangles{stroke:#42e9d2!important}
html[data-theme="dark"] body.hub-v58 .orbit-stage .ring-dash,
html[data-theme="dark"] body.hub-v58 .orbit-stage .yantra-triangles{stroke:#8174ff!important}
html[data-theme="dark"] body.hub-v58 .orbit-stage .orbit-gold{stroke:#8179ff!important;stroke-opacity:.74!important}
html[data-theme="dark"] body.hub-v58 .orbit-stage .orbit-cyan{stroke:#27f2d3!important;stroke-opacity:1!important;stroke-width:2.6!important}
html[data-theme="dark"] body.hub-v58 .orbit-stage .orbit-teal-dash{stroke:#24bfdc!important;stroke-opacity:.64!important}
html[data-theme="dark"] body.hub-v58 .orbit-stage .orbit-dash{stroke:#7769f3!important;stroke-opacity:.54!important}
html[data-theme="dark"] body.hub-v58 .orbit-stage .energy-path{stroke:#33f7d8!important;stroke-opacity:.88!important}
html[data-theme="dark"] body.hub-v58 .orbit-stage .energy-path.second{stroke:#7b70ff!important;stroke-opacity:.68!important}
html[data-theme="dark"] body.hub-v58 .orbit-stage .energy-path.third{stroke:#32ccea!important;stroke-opacity:.52!important}
html[data-theme="dark"] body.hub-v58 .orbit-stage .core{
  filter:drop-shadow(0 0 11px rgba(42,245,216,.68)) drop-shadow(0 0 15px rgba(119,104,255,.44))!important
}
html[data-theme="dark"] body.hub-v58 .orbit-stage .core-halo{fill:rgba(42,243,215,.13)!important}

/* Bottom rail */
html[data-theme="dark"] body.hub-v58 .hub-hero>.info-rail{
  border-color:rgba(41,228,204,.38)!important;
  background:linear-gradient(180deg,rgba(8,24,35,.96),rgba(4,15,26,.96))!important;
  box-shadow:0 -10px 30px rgba(0,0,0,.30),inset 0 0 22px rgba(42,237,211,.025)!important;
}
html[data-theme="dark"] body.hub-v58 .hub-hero>.info-rail article{border-color:rgba(75,228,210,.13)!important}
html[data-theme="dark"] body.hub-v58 .hub-hero>.info-rail b{color:#e2fbf7!important}
html[data-theme="dark"] body.hub-v58 .hub-hero>.info-rail span{color:#91b7b1!important}
html[data-theme="dark"] body.hub-v58 .hub-hero>.info-rail img{
  filter:brightness(1.75) saturate(.25) hue-rotate(112deg) drop-shadow(0 0 6px rgba(42,242,214,.24))!important
}

/* Detailed Hub content, forms and logged-in workspace. */
html[data-theme="dark"] body.hub-v58 .hub-section{border-color:rgba(47,235,211,.10)!important}
html[data-theme="dark"] body.hub-v58 .hub-section:before{background:linear-gradient(90deg,transparent,#2de4c8 30%,#7168ff 70%,transparent)!important}
html[data-theme="dark"] body.hub-v58 .hub-section-head small{color:#59ded0!important}
html[data-theme="dark"] body.hub-v58 .hub-section-head h2{color:#ecfffb!important}
html[data-theme="dark"] body.hub-v58 .hub-section-head p{color:#93b2ae!important}
html[data-theme="dark"] body.hub-v58 .hub-card,
html[data-theme="dark"] body.hub-v58 .provenance-board,
html[data-theme="dark"] body.hub-v58 .training-console,
html[data-theme="dark"] body.hub-v58 .verify-grid article,
html[data-theme="dark"] body.hub-v58 .deploy-map,
html[data-theme="dark"] body.hub-v58 .final-cta,
html[data-theme="dark"] body.hub-v58 .hub-legacy-section .card,
html[data-theme="dark"] body.hub-v58 .infoPanel,
html[data-theme="dark"] body.hub-v58 .authPanel,
html[data-theme="dark"] body.hub-v58 .dashPanel,
html[data-theme="dark"] body.hub-v58 .stat,
html[data-theme="dark"] body.hub-v58 .request,
html[data-theme="dark"] body.hub-v58 .flowStep,
html[data-theme="dark"] body.hub-v58 .chatMsg{
  border-color:rgba(50,225,204,.16)!important;
  background-image:
    linear-gradient(rgba(63,235,245,.024) 1px,transparent 1px),
    linear-gradient(90deg,rgba(108,97,255,.020) 1px,transparent 1px),
    linear-gradient(145deg,rgba(5,22,37,.95),rgba(2,12,23,.97))!important;
  background-size:24px 24px,24px 24px,auto!important;
  box-shadow:0 20px 60px rgba(0,0,0,.22),inset 0 1px rgba(105,255,235,.018)!important;
}
html[data-theme="dark"] body.hub-v58 .hub-card h3,
html[data-theme="dark"] body.hub-v58 .dashPanel h3,
html[data-theme="dark"] body.hub-v58 .infoPanel h2{color:#eafffb!important}
html[data-theme="dark"] body.hub-v58 .hub-card p,
html[data-theme="dark"] body.hub-v58 .request small,
html[data-theme="dark"] body.hub-v58 .msg{color:#91b0ad!important}
html[data-theme="dark"] body.hub-v58 .field label{color:#87aaa6!important}
html[data-theme="dark"] body.hub-v58 .field input,
html[data-theme="dark"] body.hub-v58 .field select,
html[data-theme="dark"] body.hub-v58 .field textarea{
  border-color:rgba(47,225,204,.18)!important;background:rgba(4,17,29,.90)!important;color:#e8fffb!important;
}
html[data-theme="dark"] body.hub-v58 .field input:focus,
html[data-theme="dark"] body.hub-v58 .field select:focus,
html[data-theme="dark"] body.hub-v58 .field textarea:focus{
  border-color:#31e1c8!important;box-shadow:0 0 0 3px rgba(49,225,200,.09)!important
}
html[data-theme="dark"] body.hub-v58 .avatar{
  background:linear-gradient(135deg,#23d8cd,#656aff)!important;color:#effffc!important;
  box-shadow:0 7px 22px rgba(43,220,205,.16)!important
}
html[data-theme="dark"] body.hub-v58 footer{border-color:rgba(46,222,201,.12)!important;color:#7ea6a1!important}
html[data-theme="dark"] body.hub-v58 ::selection{background:#1fbfae;color:#021410}
