/* L19: desktop shell only. Phone and tablet retain the served layout. Loaded after tabs.css. */
@media (min-width:1024px) {
  html.rd-shell { --desktop-rail: 224px; --shell-tabs: 0px; }
  html.rd-shell body { overflow-x: hidden; }
  html.rd-shell .topbar { box-sizing:border-box; position:relative; width:calc(100% - var(--desktop-rail)); max-width:none; margin-left:var(--desktop-rail); padding:20px clamp(28px, 4vw, 72px) 12px!important; overflow:visible; }
  html.rd-shell .topbar .brand.rd-wordmark { position:static; transform:none; }
  html.rd-shell nav#navigation.navigation:not([hidden]) { box-sizing:border-box; display:flex!important; flex-direction:column!important; justify-content:flex-start!important; align-items:stretch; gap:4px!important; position:fixed; inset:0 auto 0 0!important; width:var(--desktop-rail)!important; height:100dvh!important; padding:100px 12px 20px!important; overflow-y:auto; border:0!important; border-right:1px solid var(--hs-edge)!important; }
  html.rd-shell nav#navigation.navigation:not([hidden]) > [data-route] { box-sizing:border-box; flex:0 0 auto!important; width:100%; min-height:52px!important; display:flex!important; flex-direction:row!important; align-items:center!important; justify-content:flex-start!important; gap:14px!important; padding:10px 14px!important; border-radius:10px!important; font-size:16px!important; line-height:1.25!important; text-align:left; white-space:normal; }
  html.rd-shell nav#navigation.navigation [data-route] .rd-tabico { width:22px!important; height:22px!important; flex:none; }
  html.rd-shell nav#navigation.navigation [data-route].active,html.rd-shell nav#navigation.navigation [data-route][aria-current="page"] { background:var(--hs-card-2)!important; }
  html.rd-shell:not(.auth-login) #app, html.rd-shell.tk-on:not(.auth-login) #app { box-sizing:border-box; width:calc(100% - var(--desktop-rail))!important; max-width:none!important; margin:0 0 0 var(--desktop-rail)!important; padding:24px clamp(28px, 4vw, 72px) 72px!important; min-width:0; }
  html.rd-shell #app > * { width:min(100%, 1120px); max-width:1120px; margin-inline:auto; min-width:0; }
  html.rd-shell #app :is(.tb-page,.tb-portfolio,.stock-page,.acc-page,.rs) { min-width:0; max-width:100%; }
  html.rd-shell #app :is(.tb-rowmain,.tb-setmain,.tb-hero-name) { min-width:0; overflow-wrap:anywhere; }
  html.rd-shell #app :is(.tb-chart,.stock-chart,.rs-chart) { min-width:0; }
  html.rd-shell #app .tb-chart { height:200px; }
  html.rd-shell #app :is(.tb-list,.tb-hero,.tb-setup,.rr-real-card) { max-width:100%; box-sizing:border-box; }
  html.rd-shell .search-drop-panel { left:var(--desktop-rail); width:calc(100% - var(--desktop-rail)); box-sizing:border-box; }
}
@media (min-width:1300px) {
  html.rd-shell #app > .tb-today, html.rd-shell #app > .tb-portfolio, html.rd-shell #app > .tb-stocks { max-width:1120px; }
}
