:root{--rex-cyan:#18b8ff;--rex-blue:#087cff;--rex-green:#23e28b;--rex-panel:rgba(3,12,24,.88);--rex-line:rgba(56,170,255,.24)}
body.rex-map-home #fit{background:#01050c;overflow:hidden}
body.rex-map-home #stage{grid-template-columns:176px minmax(0,1fr) 282px;grid-template-rows:46px 70px minmax(0,1fr) 174px;grid-template-areas:"sidebar top top" "sidebar kpis kpis" "sidebar workspace rail" "sidebar voice rail";gap:8px;padding:8px;background:radial-gradient(circle at 46% 35%,#081a31 0,#020914 46%,#01040a 100%)}
body.rex-map-home #stage:after{opacity:.12}
body.rex-map-home .sidebar{grid-area:sidebar!important;border-color:var(--rex-line);background:linear-gradient(180deg,rgba(5,17,31,.98),rgba(1,7,14,.98));border-radius:11px}
body.rex-map-home .top{grid-area:top!important;height:auto!important;border-radius:10px;padding:0 15px}
body.rex-map-home .kpis{grid-area:kpis!important;height:auto!important;grid-template-columns:repeat(6,minmax(0,1fr)) minmax(130px,.75fr);border-radius:10px}
body.rex-map-home .workspace{grid-area:workspace!important;min-height:0;border-radius:12px;border-color:rgba(43,170,255,.34);box-shadow:0 0 34px rgba(0,104,255,.08)}
body.rex-map-home .voice{grid-area:voice!important;min-height:0;border-radius:12px;display:block;padding:0}
body.rex-map-home .resources{grid-area:rail!important;align-self:start;height:calc(50% - 4px)!important;min-height:0}
body.rex-map-home .alerts{grid-area:rail!important;align-self:end;height:calc(50% - 4px)!important;min-height:0}
body.rex-map-home .trade,body.rex-map-home .quick,body.rex-map-home .live,body.rex-map-home .market,body.rex-map-home .agents,body.rex-map-home .contentnet,body.rex-map-home .api,body.rex-map-home .schedule,body.rex-map-home .recent,body.rex-map-home .webvoice{display:none!important}
body.rex-map-home .logo{height:92px;padding:21px 20px 0}
body.rex-map-home .logo .rex{font-size:48px;letter-spacing:3px}
body.rex-map-home .logo .sub{font-size:9px;letter-spacing:1.1px}
body.rex-map-home .navtitle{color:#56bfff;letter-spacing:1px}
body.rex-map-home .nav{overflow:auto;scrollbar-width:none}
body.rex-map-home .nav .item{height:37px;font-size:11px;border:1px solid transparent}
body.rex-map-home .nav .item.active{background:linear-gradient(90deg,rgba(0,156,255,.22),rgba(0,74,145,.05));border-color:rgba(21,172,255,.38)}
body.rex-map-home .modules{display:none}
body.rex-map-home .add{margin-top:auto}
body.rex-map-home .pill{font-size:9px;letter-spacing:.35px}
body.rex-map-home .kpi{padding:12px 10px 0 47px}
body.rex-map-home .kpi .ico{left:10px;top:13px;width:33px;height:33px}
body.rex-map-home .kpi .big{font-size:17px}
body.rex-map-home .wshead{height:38px;background:rgba(2,9,18,.86);padding-left:10px}
body.rex-map-home .wtab{height:28px;padding:7px 13px;font-size:10px}
body.rex-map-home .wbody{top:39px}
.rex-map-home-layer{display:none;position:absolute;inset:0;overflow:hidden;background:#020712}
body.rex-map-home .rex-map-home-layer{display:block}
#rex-mapbox{position:absolute;inset:0}
.rex-map-vignette{position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 95px 24px rgba(0,5,14,.8);background:radial-gradient(circle at 56% 45%,transparent 30%,rgba(0,5,13,.28) 78%,rgba(0,3,8,.72) 100%)}
.rex-map-search{position:absolute;left:50%;top:14px;transform:translateX(-50%);width:min(620px,66%);height:42px;display:flex;gap:7px;padding:5px 6px 5px 14px;border:1px solid rgba(55,177,255,.38);border-radius:11px;background:rgba(2,11,24,.86);box-shadow:0 12px 32px rgba(0,0,0,.28)}
.rex-map-search input{flex:1;border:0;outline:0;background:transparent;color:#eaf7ff;font-size:12px}
.rex-map-search button,.rex-map-control button{border:1px solid rgba(50,173,255,.28);border-radius:8px;background:rgba(7,27,49,.9);color:#dff5ff;font:700 9px "Segoe UI",sans-serif;letter-spacing:.5px;text-transform:uppercase;cursor:pointer}
.rex-map-search button{width:72px}
.rex-map-control{position:absolute;left:15px;top:72px;width:116px;display:grid;gap:7px}
.rex-map-control button{height:32px}
.rex-map-control button.is-active{border-color:#16b6ff;color:#70d7ff;box-shadow:0 0 18px rgba(0,151,255,.18)}
.rex-map-status{position:absolute;left:15px;bottom:15px;padding:10px 12px;border:1px solid rgba(49,176,255,.25);border-radius:9px;background:rgba(2,11,23,.82);font-size:10px;color:#86a8c2;letter-spacing:.3px}
.rex-map-status b{display:block;color:#ebf8ff;font-size:12px;margin-bottom:3px}
.rex-map-readout{position:absolute;right:15px;bottom:15px;padding:10px 12px;border:1px solid rgba(49,176,255,.25);border-radius:9px;background:rgba(2,11,23,.82);box-shadow:0 0 18px rgba(24,184,255,.12);font-size:10px;color:#86a8c2;letter-spacing:.3px;min-width:132px;text-align:left;pointer-events:none}
.rex-map-readout b{display:block;color:#ebf8ff;font-size:12px;font-weight:600;margin-bottom:3px}
.rex-map-readout span{display:block;color:#86a8c2;font-size:10px;letter-spacing:.3px}
.rex-map-legend{position:absolute;right:170px;bottom:14px;display:flex;gap:12px;padding:9px 12px;border:1px solid rgba(49,176,255,.22);border-radius:9px;background:rgba(2,11,23,.8);font-size:9px;color:#9bb5ca}
.rex-map-legend i{display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:5px;background:var(--rex-green);box-shadow:0 0 8px currentColor}
.rex-map-legend span:nth-child(2) i{background:#ffad25}.rex-map-legend span:nth-child(3) i{background:#36a8ff}
body.rex-map-home .workstation-renderer{display:none}
body.rex-map-home .voice .orb{left:54px;top:38px;width:78px;height:78px}
body.rex-map-home .voice .ask{left:112px;right:18px;bottom:18px;height:48px;border-radius:10px}
body.rex-map-home .voice .ask input{font-size:12px}
body.rex-map-home .voice .ask .mic,body.rex-map-home .voice .ask .send{height:34px;width:36px}
body.rex-map-home .voice .rex-response-line{left:112px;right:18px;top:15px;min-height:70px;justify-content:flex-start;font-size:12px}
body.rex-map-home .voice .rex-chat-history-panel{left:112px;right:18px;top:15px;bottom:72px}
body.rex-map-home .voice.has-history .rex-response-line{display:none}
body.rex-map-home .web-voice-alpha{position:absolute;left:15px;bottom:13px;width:78px;height:36px}
body.rex-map-home .web-voice-consumer{display:block}
body.rex-map-home .web-voice-status,body.rex-map-home .web-voice-mode{display:none}
body.rex-map-home .web-voice-mic-button{width:36px;height:36px}
body.rex-map-home .rex-auth-bar{top:10px;right:12px}
body.rex-map-home .layout-edit-toolbar{display:none}
@media(max-width:1100px){body.rex-map-home #stage{grid-template-columns:142px minmax(0,1fr) 230px}.rex-map-search{width:72%}body.rex-map-home .kpi:nth-child(3),body.rex-map-home .kpi:nth-child(4){display:none}body.rex-map-home .kpis{grid-template-columns:repeat(4,minmax(0,1fr)) 120px}}
@media(max-width:760px){body.rex-map-home #fit{overflow:auto}body.rex-map-home #stage{height:auto;min-height:100dvh;grid-template-columns:1fr;grid-template-rows:auto auto 62vh 220px auto auto;grid-template-areas:"top" "kpis" "workspace" "voice" "rail" "sidebar";overflow:visible}body.rex-map-home .sidebar{min-height:320px}body.rex-map-home .resources,body.rex-map-home .alerts{grid-area:auto!important;height:auto!important}body.rex-map-home .kpis{grid-template-columns:repeat(2,1fr)}body.rex-map-home .clock{display:none}.rex-map-search{width:calc(100% - 28px)}.rex-map-control{top:70px;width:100px}.rex-map-legend{display:none}body.rex-map-home .voice .orb{left:48px}body.rex-map-home .voice .ask,body.rex-map-home .voice .rex-response-line,body.rex-map-home .voice .rex-chat-history-panel{left:96px}}
