/* Responsive dimensions only. Colours, assets, text and controls come from COACH. */
html[data-aegis-mobile-frame],html[data-aegis-mobile-frame] body{min-width:0!important;width:100%!important;max-width:100%;margin:0;overscroll-behavior:contain}
html[data-aegis-mobile-frame] input,html[data-aegis-mobile-frame] textarea,html[data-aegis-mobile-frame] select{font-size:16px!important;max-width:100%}
html[data-aegis-mobile-frame] button,html[data-aegis-mobile-frame] select{touch-action:manipulation;min-height:40px}
html[data-aegis-mobile-frame="work"] #gate .g-title{font-size:clamp(38px,10vw,66px);line-height:1.15}
html[data-aegis-mobile-frame="work"] #gate .bureau-stage{max-width:100%}
html[data-aegis-mobile-frame="work"] #gate .glb-form{min-width:0}
html[data-aegis-mobile-frame="work"] #gate .glb-in{min-height:48px}
html[data-aegis-mobile-frame="work"] #deck{height:100dvh!important;width:100%!important;min-width:0!important;grid-template-rows:none!important}
html[data-aegis-mobile-frame="work"] #deck.on{display:flex!important;flex-direction:column!important}
html[data-aegis-mobile-frame="work"] #deck>header{display:flex!important;height:auto!important;min-height:48px;padding:6px 10px!important;gap:9px!important;flex-wrap:wrap;flex-shrink:0}
html[data-aegis-mobile-frame="work"] #deck>header .wm{margin-right:auto}
html[data-aegis-mobile-frame="work"] #mobileContextBand{flex-shrink:0;max-height:36dvh;overflow:auto;border-bottom:1px solid var(--hair);background:var(--card)}
html[data-aegis-mobile-frame="work"] #mobileContextBand>summary,html[data-aegis-mobile-frame="work"] #mobileChartTools>summary{min-height:40px;padding:10px 12px;cursor:pointer;font:600 11px var(--ui);color:var(--gold);letter-spacing:.04em}
html[data-aegis-mobile-frame="work"] #mobileContextBand[open]>.tick2,html[data-aegis-mobile-frame="work"] #mobileContextBand[open]>.bar{display:flex;overflow-x:auto;flex-wrap:nowrap;gap:12px;padding:8px;min-height:48px}
html[data-aegis-mobile-frame="work"] #mobileContextBand>.bar .bpos{min-width:180px;flex-shrink:0}
html[data-aegis-mobile-frame="work"] #mobileChartTools{flex-shrink:0;max-height:42dvh;overflow:auto;border-bottom:1px solid var(--hair);background:var(--card);z-index:2}
html[data-aegis-mobile-frame="work"] #mobileControls #appSw{display:flex;order:0;flex:0 0 auto;flex-wrap:wrap;overflow:visible}
html[data-aegis-mobile-frame="work"] #appSw{display:flex;overflow-x:auto;flex:0 0 100%;gap:5px;max-width:100%}
html[data-aegis-mobile-frame="work"] #appSw{order:1}
html[data-aegis-mobile-frame="work"] #appSw button{flex:0 0 auto}
html[data-aegis-mobile-frame="work"] #deck>.tick2,html[data-aegis-mobile-frame="work"] #deck>.bar{display:flex!important;flex-shrink:0;max-width:100%;min-height:38px;height:auto;overflow-x:auto;flex-wrap:nowrap;gap:12px;padding:5px 10px}
html[data-aegis-mobile-frame="work"] #deck>.bar .bnews{min-width:180px}
html[data-aegis-mobile-frame="work"] #deck>.bar .bpos{display:flex;flex-shrink:0;min-width:160px}
html[data-aegis-mobile-frame="work"] #deck>main{display:flex!important;flex:1;min-height:0!important;min-width:0;padding:4px!important;gap:5px!important;overflow:hidden!important}
html[data-aegis-mobile-frame="work"] .stage{display:flex;flex-direction:column;flex:1;min-width:0;min-height:0;gap:4px}
html[data-aegis-mobile-frame="work"] .stage>.chart{flex:0 0 48%;min-height:160px!important}
html[data-aegis-mobile-frame="work"] .deskChat{display:flex!important;flex-direction:column;flex:1 1 0!important;min-height:0!important;max-height:none!important;min-width:0!important;overflow:hidden}
html[data-aegis-mobile-frame="work"] .deskChat .pv.on{display:block!important;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
html[data-aegis-mobile-frame="work"] .cv-bar{display:flex;flex-wrap:wrap;gap:5px;padding:6px!important;flex-shrink:0}
html[data-aegis-mobile-frame="work"] .cv-bar .cv-chip{height:auto;min-height:42px;border-radius:7px;white-space:nowrap;flex:0 0 auto}
html[data-aegis-mobile-frame="work"] .cv-bar{flex-wrap:nowrap!important;overflow-x:auto;overflow-y:hidden;min-height:52px;scrollbar-width:thin}
html[data-aegis-mobile-frame="work"] #cvGo{order:-1}
html[data-aegis-mobile-frame="work"] #mobileChartTools .scalebtns{position:static!important;inset:auto!important;display:flex;justify-content:flex-end;gap:8px;padding:6px;transform:none!important}
html[data-aegis-mobile-frame="work"] #mobileChartTools .scalebtns button{width:44px;height:44px}
html[data-aegis-mobile-frame="work"] #mobileChartTools #brainPanel{position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:100%!important;margin:0!important;box-sizing:border-box}
html[data-aegis-mobile-frame="work"] #mobileChartTools #modFlux{position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:100%!important;box-sizing:border-box}
html[data-aegis-mobile-frame="work"] #mobileChartTools #ohlc{position:static!important;inset:auto!important;flex-wrap:wrap;gap:10px!important;padding:8px;line-height:1.5!important}
html[data-aegis-mobile-frame="work"] .chart>#tfBadge{position:static!important;inset:auto!important;transform:none!important;flex-shrink:0;padding:7px 10px;max-width:100%;white-space:normal;line-height:1.4;overflow-wrap:anywhere}
html[data-mobile-view="coach"] .stage,html[data-mobile-view="desk"] .stage{overflow-y:auto!important;overscroll-behavior:contain}
html[data-mobile-view="coach"] .stage>.chart,html[data-mobile-view="desk"] .stage>.chart{flex:0 0 clamp(340px,46dvh,420px)!important;min-height:340px!important}
html[data-mobile-view="coach"] .stage>.deskChat,html[data-mobile-view="desk"] .stage>.deskChat{flex:1 0 340px!important;min-height:340px!important}
html[data-mobile-view="desk"] .dt-h .dt-tt{min-width:120px}
html[data-aegis-mobile-frame="work"] #mobileConversationJump{display:none;flex:0 0 40px;min-height:40px;background:var(--card);color:var(--gold);border:0;border-top:1px solid var(--hair);font:600 11px var(--ui);cursor:pointer}
html[data-mobile-view="coach"] #mobileConversationJump,html[data-mobile-view="desk"] #mobileConversationJump{display:block}
html[data-aegis-mobile-frame="work"] .cv-bar label.cv-chip{display:inline-flex;align-items:center;gap:8px}
html[data-aegis-mobile-frame="work"] #cvTf{position:static!important;inset:auto!important;transform:none!important;display:inline-block;width:auto!important;min-width:60px;height:30px;min-height:30px;line-height:30px;margin:0;padding:0 3px}
html[data-aegis-mobile-frame="work"] .comp{flex-shrink:0;gap:5px!important;padding:6px!important}
html[data-aegis-mobile-frame="work"] #qi{min-width:60px;flex:1;min-height:44px}
html[data-aegis-mobile-frame="work"] .cbar{display:flex!important;overflow-x:auto;gap:6px!important;min-height:44px;flex-shrink:0}
html[data-aegis-mobile-frame="work"] .chart .cv{min-height:60px}
html[data-aegis-mobile-frame="work"] .lys{overflow-x:auto;flex-wrap:nowrap!important;flex-shrink:0}
html[data-aegis-mobile-frame="work"] .lys>*{flex-shrink:0}
html[data-aegis-mobile-frame="work"] .rail{display:none!important}
html[data-aegis-mobile-frame="work"] .dcGrip,html[data-aegis-mobile-frame="work"] .dcMin,html[data-aegis-mobile-frame="work"] #bRailL,html[data-aegis-mobile-frame="work"] #bRailR{display:none!important}
html[data-aegis-mobile-frame="work"] #mobileControls{display:none;overflow:auto;width:100%;padding:8px;align-content:start;gap:12px}
html[data-aegis-mobile-frame="work"] #mobileControls>*{max-width:100%;min-width:0;flex-wrap:wrap!important}
html[data-aegis-mobile-frame="work"] #mobileControls>.sep,html[data-aegis-mobile-frame="work"] #mobileControls>.grow{display:none}
html[data-aegis-mobile-frame="work"] #mobileControls #apTop{display:flex;gap:12px!important}
html[data-aegis-mobile-frame="work"] #mobileControls .bg{width:100%}
html[data-mobile-view="controls"] #mobileControls{display:flex;flex-direction:column}
html[data-mobile-view="controls"] main>.stage,html[data-mobile-view="context"] main>.stage,html[data-mobile-view="execution"] main>.stage,html[data-mobile-view="setups"] main>.stage{display:none!important}
html[data-mobile-view="context"] main>.rail.l{display:flex!important;flex-direction:column;opacity:1!important;visibility:visible!important;pointer-events:auto!important;width:100%!important;overflow:auto}
html[data-mobile-view="execution"] main>.rail.r,html[data-mobile-view="setups"] main>.rail.r{display:flex!important;flex-direction:column;opacity:1!important;visibility:visible!important;pointer-events:auto!important;width:100%!important;overflow:auto}
html[data-mobile-view="execution"] #setupStrip{display:none!important}
html[data-mobile-view="setups"] #deskTicket{display:none!important}
html[data-mobile-view="setups"] #setupStrip{display:flex!important;flex:1;min-height:300px}
html[data-mobile-view="execution"] #deskTicket{display:block!important;width:100%}
html[data-mobile-view="execution"] #deskTicket .tick{display:flex;flex-wrap:wrap;gap:12px;padding:12px}
html[data-mobile-view="execution"] #deskTicket .fld{flex:1 1 40%;min-width:100px}
html[data-mobile-view="execution"] #deskTicket .go{flex:1 1 100%;flex-wrap:wrap}
html[data-mobile-view="chart"] .stage>.chart,html[data-mobile-view="aegis"] .stage>.chart{flex:1!important;min-height:0!important}
html[data-mobile-view="chart"] .stage>.deskChat,html[data-mobile-view="aegis"] .stage>.deskChat{display:none!important}
html[data-mobile-view="chat"] .stage>.chart,html[data-mobile-view="lot"] .stage>.chart,html[data-mobile-view="formation"] .stage>.chart{display:none!important}
html[data-mobile-view="desk"] .stage>.chart{flex:0 0 34%;min-height:130px!important}
html[data-mobile-view="desk"] .stage>.chart .cbar,html[data-mobile-view="desk"] .stage>.chart .lys{display:none!important}
html[data-aegis-mobile-frame="work"] #dtPan{min-height:0!important;flex:1;max-height:none!important}
html[data-aegis-mobile-frame="work"] .dt-h{padding:6px!important;gap:5px!important}
html[data-aegis-mobile-frame="work"] .dt-comp{padding:7px!important;flex-shrink:0;gap:5px}
html[data-aegis-mobile-frame="work"] .dt-opts{max-width:100%;flex-wrap:nowrap!important;overflow:auto;padding-bottom:3px}
html[data-aegis-mobile-frame="work"] .dt-opts>*{flex-shrink:0;min-height:40px}
html[data-aegis-mobile-frame="work"] #dtQ{min-height:48px!important;max-height:90px;min-width:0}
html[data-aegis-mobile-frame="work"] .dt-fil{min-height:0;overflow:auto;padding:10px}
html[data-aegis-mobile-frame="work"] .deskChat.reduit .dt-fil{display:flex!important}
html[data-aegis-mobile-frame="work"] .stage>.deskChat.reduit{flex:1 1 0!important}
html[data-aegis-mobile-frame="work"] .ovl{padding:6px!important}
html[data-aegis-mobile-frame="work"] .dlg{width:100%!important;max-width:100%!important;max-height:calc(100dvh - 12px)!important;min-width:0!important}
html[data-aegis-mobile-frame="work"] .dlgh{flex-wrap:wrap;gap:6px}
html[data-aegis-mobile-frame="work"] .dlgb{overflow:auto;min-height:0}
html[data-aegis-mobile-frame="work"] .prow .acts2,html[data-aegis-mobile-frame="work"] .prow .lv{flex-wrap:wrap}
html[data-aegis-mobile-frame="work"] #loGrid{grid-template-columns:1fr!important}
@media(orientation:landscape) and (max-height:600px){html[data-mobile-view="desk"] .stage,html[data-mobile-view="coach"] .stage{flex-direction:row}html[data-mobile-view="desk"] .stage>.chart,html[data-mobile-view="coach"] .stage>.chart{flex:0 0 42%!important;min-height:0!important}html[data-mobile-view="desk"] .stage>.deskChat,html[data-mobile-view="coach"] .stage>.deskChat{flex:1 1 0!important;min-height:0!important}html[data-mobile-view="desk"] #mobileConversationJump,html[data-mobile-view="coach"] #mobileConversationJump{display:none}}

/* Official mobile logo only; native PC assets and layout are unchanged. */
html[data-aegis-mobile-frame="work"] #gate .bureau-logo,
html[data-aegis-mobile-frame="work"] #deck>header .hmark,
html[data-aegis-mobile-frame="quant"] .brand .logo,
html[data-aegis-mobile-frame="fonda"] .brand .logo,
html[data-aegis-mobile-frame="guide"] .topbar .brand .mark{background:#070d16 url('/mobile/icons/header-logo.png?v=official-logo-20261016') center/contain no-repeat!important;box-shadow:none!important}
html[data-aegis-mobile-frame="work"] #deck>header .hmark svg,
html[data-aegis-mobile-frame="quant"] .brand .logo::after,
html[data-aegis-mobile-frame="fonda"] .brand .logo::after{display:none!important}
html[data-aegis-mobile-frame="guide"] .topbar .brand .mark{font-size:0!important}
