/* Wide website workspace only. Phone/PWA and Telegram retain their own layout. */
@media(min-width:1000px){
 body.standalone-web header{max-width:none;height:72px;padding:14px 24px;border-bottom:1px solid var(--border)}
 body.standalone-web main{max-width:none;margin-left:188px;margin-right:0;padding:10px 24px 20px}
 body.standalone-web:not(.balance-expanded) .tabs{position:fixed;left:18px;top:92px;width:158px;display:flex;flex-direction:column;gap:5px;margin:0;padding:8px;background:#121b28;border:1px solid var(--border);border-radius:14px;z-index:20}
 body.standalone-web:not(.balance-expanded) .tabs button{flex:none;text-align:left;padding:12px 14px;font-size:13px;border-radius:9px}
 body.standalone-web .web-session-bar{padding:0 0 12px;min-height:38px;margin:0;border-bottom:1px solid #ffffff0b;font-size:12px}
 body.standalone-web .web-session-bar button{font-size:12px}
 body.standalone-web.balance-view footer{display:none}
 body.standalone-web #notice{margin-top:8px}
 body.standalone-web:not(.balance-expanded) #balance{display:grid;grid-template-columns:minmax(240px,1fr) auto;grid-template-areas:'heading quote' 'pair tools' 'market market' 'replay replay' 'hint hint' 'chart chart' 'dates status' 'source source';column-gap:18px;row-gap:6px;padding-top:12px}
 body.standalone-web:not(.balance-expanded) .balance-heading{grid-area:heading;margin:0;align-items:center}
 body.standalone-web:not(.balance-expanded) .balance-heading h1{font-size:17px;margin:0;display:inline}
 body.standalone-web:not(.balance-expanded) .balance-heading small{font-size:11px;margin-left:10px}
 body.standalone-web:not(.balance-expanded) .balance-quote{grid-area:quote;text-align:right;font-size:24px;margin:0;line-height:1.3}
 body.standalone-web:not(.balance-expanded) .balance-toolbar{grid-area:pair;min-width:0;gap:10px;padding:6px 0}
 body.standalone-web:not(.balance-expanded) .balance-toolbar details{flex:none;min-width:180px;max-width:calc(100% - 120px)}
 body.standalone-web:not(.balance-expanded) .balance-toolbar select{padding:7px;min-height:36px;font-size:13px}
 body.standalone-web:not(.balance-expanded) .balance-toolbar summary{font-size:17px}
 body.standalone-web:not(.balance-expanded) .chart-tools{grid-area:tools;align-items:center;justify-content:flex-end;flex-wrap:nowrap;margin:0;gap:6px}
 body.standalone-web:not(.balance-expanded) .chart-tools button{font-size:12px;white-space:nowrap;padding:7px 9px}
 body.standalone-web:not(.balance-expanded) #balance .chart-tools #chart-photo{margin-left:6px}
 body.standalone-web:not(.balance-expanded) .balance-market-row{grid-area:market;margin:0}
 body.standalone-web:not(.balance-expanded) #replay-controls{grid-area:replay}
 body.standalone-web:not(.balance-expanded) #replay-controls .chart-tools{justify-content:flex-start}
 body.standalone-web:not(.balance-expanded) #chart-tool-status{grid-area:hint;margin:0}
 body.standalone-web:not(.balance-expanded) #balance-chart{grid-area:chart;width:100%;height:var(--web-chart-height,calc(100dvh - 270px));min-height:260px;max-height:none;border:1px solid #1d2a3b;border-radius:12px}
 body.standalone-web:not(.balance-expanded) #balance-date-range{grid-area:dates;font-size:10px;margin:0}
 body.standalone-web:not(.balance-expanded) #balance-status{grid-area:status;text-align:right;font-size:10px;margin:0;white-space:nowrap}
 body.standalone-web:not(.balance-expanded) #balance>details{grid-area:source;margin:0;font-size:11px;border:0;padding:0;background:none}
 body.standalone-web .tab-content:not(#balance){max-width:1180px;margin:auto}
 body.standalone-web .tab-content:not(#balance) .cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
 body.standalone-web footer{max-width:none;margin-left:188px}
 body.standalone-web.balance-expanded main{margin-left:0}
}
