/* Additive mobile presentation. Desktop styles remain unchanged. */
.mobile-layout-control,.simple-display-tools{display:none}
.simple-mobile-disclosure[hidden]{display:none!important}
@media(max-width:760px){
 .mobile-navigation #desk-snapshot article:first-child strong[data-mobile-pnl-tone=gain]{color:var(--green)}
 .mobile-navigation #desk-snapshot article:first-child strong[data-mobile-pnl-tone=loss]{color:var(--red)}
 .mobile-navigation .mobile-layout-control{display:block;padding:0 0 20px;margin-bottom:20px;border-bottom:1px solid var(--line)}
 .mobile-layout-control h3{font-size:14px;margin:0 0 12px}
 .mobile-layout-choices{display:grid;grid-template-columns:1fr 1fr;gap:7px}
 .mobile-layout-choices .button{min-height:44px;background:transparent;color:var(--muted)}
 .mobile-navigation .mobile-layout-choices [aria-pressed=true]{color:var(--green);background:color-mix(in srgb,var(--green) 10%,transparent);border-color:color-mix(in srgb,var(--green) 30%,var(--line))}
 .mobile-layout-control p{font-size:11px;line-height:1.6;margin:10px 0 0;color:var(--muted)}
 .mobile-desk-simple .sidebar{border-bottom:0;padding-top:calc(10px + env(safe-area-inset-top,0px));padding-bottom:10px}
 .mobile-desk-simple .sidebar>.brand .brand-mark{width:28px;height:28px;border-radius:8px}
 .mobile-desk-simple .mobile-menu-toggle{border:0;background:transparent;padding:8px 0 8px 10px}
 .mobile-desk-simple .topbar{padding-top:4px;padding-bottom:12px;border-bottom:1px solid var(--line)}
 .mobile-desk-simple .top-actions{gap:7px}
 .mobile-desk-simple .top-actions .account-selector{font-size:0;gap:0;flex:1;flex-basis:auto;min-width:0;width:0}
 .mobile-desk-simple .top-actions .account-selector select{font-size:13px;width:100%;min-height:44px;max-width:100%;padding:10px 34px 10px 0;border:0;border-radius:0;background-color:transparent}
 .mobile-desk-simple .page-intro>#desk-mode{font-size:9px;letter-spacing:.05em;padding:4px 7px;border-radius:4px;max-width:50%;white-space:normal}
 .mobile-desk-simple .top-actions{flex-wrap:nowrap}
 .mobile-desk-simple .top-actions :is(#halt,#resume){font-size:11px;min-height:44px;padding:8px 10px;background:transparent}
 .mobile-desk-simple main{padding-top:20px;padding-inline:max(22px,env(safe-area-inset-left,0px)) max(22px,env(safe-area-inset-right,0px))}
 .mobile-desk-simple .page-intro{margin-bottom:13px;gap:10px;flex-direction:row;align-items:center;flex-wrap:nowrap}
 .mobile-desk-simple .page-intro h1{font-size:22px;letter-spacing:-.035em;font-weight:550}
 .mobile-desk-simple .page-intro .eyebrow{font-size:9px}
 .mobile-desk-simple .desk-statusbar{padding:0 0 12px;margin-bottom:22px;gap:10px;align-items:center}
 .mobile-desk-simple .desk-statusbar .system-state{font-size:10px}
 .mobile-desk-simple .desk-statusbar #broker-status-light{font-size:10px;min-height:32px;height:auto;padding:4px 7px;border:0;background:transparent}
 .mobile-desk-simple .mobile-workspace-menu .simple-system-details{width:100%;margin:0 0 20px}
 .mobile-desk-simple .mobile-workspace-menu .simple-display-tools{display:block;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line)}
 .mobile-desk-simple .simple-display-tools h3{font-size:13px;margin:0 0 10px}
 .mobile-desk-simple .simple-display-actions{display:flex;align-items:center;gap:8px}
 .mobile-desk-simple .simple-mobile-disclosure{border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent;min-width:0}
 .mobile-desk-simple .simple-mobile-disclosure>summary{font-size:11px;font-weight:500;color:var(--muted);min-height:44px;padding:12px 0;cursor:pointer;list-style:none}
 .mobile-desk-simple .simple-mobile-disclosure>summary::after{content:'⌄';float:right;font-size:12px}
 .mobile-desk-simple .simple-mobile-disclosure[open]>summary::after{content:'⌃'}
 .mobile-desk-simple .simple-mobile-disclosure>summary::-webkit-details-marker{display:none}
 .mobile-desk-simple .simple-system-details #health-strip{padding:0 0 14px;margin:0;font-size:11px}
 .mobile-desk-simple #desk-snapshot{display:block;margin:0 0 8px}
 .mobile-desk-simple #desk-snapshot article:first-child{padding:0;border:0;border-radius:0;background:transparent;gap:8px}
 .mobile-desk-simple #desk-snapshot article:first-child small{font-size:13px}
 .mobile-desk-simple #desk-snapshot article:first-child strong{font-size:44px;line-height:1.15;font-weight:500;letter-spacing:-.05em}
 .mobile-desk-simple #desk-snapshot article:first-child span{font-size:10px;line-height:1.6}
 .mobile-desk-simple #desk-snapshot article:not(:first-child){display:none}
 .mobile-desk-simple .simple-account-figures{margin:10px 0 20px}
 .mobile-desk-simple .simple-account-figure-list{margin:0;padding-bottom:6px}
 .mobile-desk-simple .simple-account-figure-list>div{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:12px 0;border-top:1px solid var(--line)}
 .mobile-desk-simple .simple-account-figure-list dt{font-size:12px;line-height:1.6;color:var(--muted)}
 .mobile-desk-simple .simple-account-figure-list dd{margin:0;text-align:right;max-width:60%;min-width:0}
 .mobile-desk-simple .simple-account-figure-list strong{font-size:15px;font-weight:500;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
 .mobile-desk-simple .simple-account-figure-list small{display:block;font-size:10px;line-height:1.6;color:var(--muted);margin-top:4px}
 .mobile-desk-simple .desk-attention{padding:15px 0;margin:0 0 24px;border:0;border-bottom:1px solid var(--line);border-radius:0;background:transparent}
 .mobile-desk-simple .desk-attention:not(.has-attention)>.section-heading{display:none}
 .mobile-desk-simple .desk-attention.has-attention{padding:14px;border:1px solid color-mix(in srgb,var(--amber) 35%,var(--line));border-radius:8px}
 .mobile-desk-simple #bot-status-card{padding:0;border:0;border-radius:0;background:transparent}
 .mobile-desk-simple #bot-status-card .bot-status-summary strong{font-size:13px}
 .mobile-desk-simple #bot-status-card :is(p,small,li){font-size:11px;line-height:1.6}
 .mobile-desk-simple .overview-grid{gap:26px}
 .mobile-desk-simple :is(.market-section,.strategy-section){padding:0;border:0;border-radius:0;background:transparent}
 .mobile-desk-simple .market-section>.section-heading{gap:10px;margin-bottom:16px}
 .mobile-desk-simple #market-symbol{font-size:18px;font-weight:550}
 .mobile-desk-simple #market-name{font-size:10px}
 .mobile-desk-simple #market-price{font-size:34px;letter-spacing:-.04em}
 .mobile-desk-simple #market-freshness{font-size:9px;white-space:normal}
 .mobile-desk-simple .market-section .chart-wrap{height:195px;border-radius:0}
 .mobile-desk-simple .market-toolbar{gap:12px;margin-bottom:12px}
 .mobile-desk-simple .market-toolbar-group{width:100%;justify-content:space-between;gap:10px}
 .mobile-desk-simple .market-toolbar select{max-width:160px;font-size:13px}
 .mobile-desk-simple .market-view-toggle button{font-size:10px;min-height:44px;padding-inline:8px}
 .mobile-desk-simple .market-intervals{width:100%;justify-content:space-between;border-bottom:1px solid var(--line);gap:4px;padding-bottom:6px}
 .mobile-desk-simple .market-intervals button{min-height:44px;flex:1;border-radius:4px}
 .mobile-desk-simple .simple-chart-details{margin-top:12px}
 .mobile-desk-simple .simple-chart-details .chart-legend{padding:12px 0;font-size:10px}
 .mobile-desk-simple .simple-chart-details .chart-source{font-size:10px}
 .mobile-desk-simple .simple-chart-details .market-chart-controls{padding-bottom:12px}
 .mobile-desk-simple .simple-chart-details .indicator-strip{grid-template-columns:repeat(2,minmax(0,1fr));padding-bottom:14px;gap:14px}
 .mobile-desk-simple .simple-chart-details .desk-details{border:0;padding:0;margin:0}
 .mobile-desk-simple :is(.positions-preview,.bottom-grid>section){padding:20px 0;border:0;border-top:1px solid var(--line);border-radius:0;background:transparent;margin-top:22px}
 .mobile-desk-simple .strategy-section{padding-top:22px;border-top:1px solid var(--line)}
 .mobile-desk-simple .sidebar>nav[aria-label="Primary navigation"]{box-shadow:none;border-top:1px solid var(--line);gap:0}
 .mobile-desk-simple .sidebar>nav[aria-label="Primary navigation"] .nav-item{font-size:10px;border-radius:0}
 .mobile-desk-simple .sidebar>nav[aria-label="Primary navigation"] .nav-item.active{background:transparent;color:var(--green);box-shadow:none}
 .mobile-desk-simple .sidebar>nav[aria-label="Primary navigation"] .nav-item svg{width:21px;height:21px}
 .mobile-desk-simple :is(#results-pnl,.pnl-card){padding-inline:0;border:0;border-radius:0;background:transparent}
 .mobile-desk-simple .pnl-card .pnl-footer{margin-inline:0;padding-inline:0;background:transparent}
}
