.pnl-mobile-value{display:none}.site-header{flex-wrap:wrap}.site-nav{min-width:0;flex-wrap:wrap}#studio-manage-link{font-size:13px;color:var(--brand);white-space:nowrap}.brand-mark img{object-fit:contain}.main-column,.content-grid,.panel,.view{min-width:0}.request-status{position:fixed;bottom:18px;left:50%;transform:translateX(-50%);background:#12233c;color:#fff;padding:8px 16px;border-radius:24px;z-index:9999;pointer-events:none;font-size:13px}.request-status:empty{display:none}
@media(max-width:760px){
 .site-frame,.share-page{width:100%;max-width:100%;padding:12px}.site-header-wrap{position:relative}.site-header{padding:12px;gap:10px}.site-brand{min-width:0}.brand-text small{white-space:normal;overflow-wrap:anywhere}.header-actions{margin-left:auto}.site-nav{order:3;flex:1 0 100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.nav-link{padding:9px 3px;font-size:12px;white-space:normal}.sound-volume{display:none}
 .cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cards .card{padding:12px 8px;min-width:0}.cards .v{font-size:20px;overflow-wrap:anywhere}.inst-grid{grid-template-columns:1fr}.instances-grid{grid-template-columns:1fr}.side-column,.main-column{width:100%;min-width:0}.group-nav{max-height:240px;overflow:auto}.panel{padding:12px}.section-head,.toolbar{flex-wrap:wrap;gap:8px}.chip-row{flex-wrap:wrap}.pnl-calendar-scroller{overflow:visible!important;padding:0!important;max-width:100%;min-width:0}.pnl-calendar{width:100%!important;min-width:0!important;grid-template-columns:repeat(7,minmax(0,1fr))!important;gap:3px!important}.pnl-cal-head,.pnl-cal-cell,.pnl-cal-cell.is-day,.pnl-cal-cell.empty{width:auto!important;min-width:0!important;max-width:100%}.pnl-cal-cell.is-day{height:64px!important;min-height:64px!important;padding:3px!important;border-radius:7px;display:flex;flex-direction:column;justify-content:space-between;align-items:center}.pnl-cal-day{position:static!important;font-size:11px!important;align-self:flex-start}.pnl-cal-pnl,.pnl-cal-extra,.pnl-cal-trades{display:none!important}.pnl-mobile-value{display:block!important;font-size:10px!important;line-height:1.4!important;font-weight:600;white-space:nowrap}.pnl-cal-cell>:not(.pnl-cal-day){margin:0!important}.pnl-cal-head{font-size:11px;padding:5px 0}.pnl-cal-toolbar{flex-wrap:wrap}.day-trades-panel{padding:10px;min-width:0}.table-wrap,.day-trades-table,#pnl-monthly{max-width:100%;overflow:auto}#home-account-filters label,#pnl-account-filters label{display:flex!important;align-items:center;justify-content:space-between;margin:0 0 10px!important}select,input,textarea{max-width:100%;font-size:16px}.share-brand-bar{padding:12px}.share-brand{flex-wrap:wrap}.share-brand-left{min-width:0}.share-brand-right{margin-left:auto}.gate-modal{max-width:calc(100vw - 28px)}
}
@media(max-width:760px){#home-account-filters label,#pnl-account-filters label{white-space:nowrap;gap:12px}#home-account-filters .ui-select,#pnl-account-filters .ui-select{min-width:0;width:calc(100% - 76px);flex:none}.pnl-cal-day{color:var(--text)!important;opacity:1!important}.cal-toolbar{display:flex!important;flex-wrap:nowrap!important}.cal-toolbar .ui-select{min-width:0;flex:1}.cal-toolbar button{white-space:nowrap}}

@media(max-width:760px){.pnl-cal-day{-webkit-text-fill-color:var(--text)!important}.cal-toolbar .ui-select{width:auto!important}.cal-toolbar .cal-nav{padding:8px!important;font-size:12px}.cal-toolbar .cal-sum{width:100%}}
@media(max-width:760px){.cal-toolbar{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;gap:6px!important}.cal-toolbar>.meta-pill{grid-column:1/-1;white-space:normal}.cal-toolbar .ui-select{width:100%!important}.cal-toolbar .ui-select-trigger{padding:8px;font-size:13px}}

/* Interface cleanup: shared desktop/mobile account filters. */
.inst-head-bar{display:flex;align-items:center;justify-content:flex-start;flex-wrap:wrap;gap:14px 24px}
.account-filter-bar{display:flex;align-items:center;flex-wrap:wrap;gap:12px 20px;min-width:0}
#pnl-account-filters{margin:12px 0}
#home-account-filters .account-filter-field,#pnl-account-filters .account-filter-field{display:flex!important;align-items:center;gap:8px;margin:0!important;min-width:0}
.account-filter-field>span{font-size:13px;color:var(--muted);white-space:nowrap}
.account-filter-field select,.account-filter-field .ui-select{min-width:140px;max-width:240px}
@media(max-width:760px){
 .inst-head-bar{align-items:stretch;gap:12px}
 .inst-head-bar>.filter-chips{width:100%;margin:0}
 #home-account-filters,#pnl-account-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));width:100%;gap:10px}
 #home-account-filters .account-filter-field,#pnl-account-filters .account-filter-field{flex-direction:column;align-items:stretch;gap:6px;white-space:normal}
 #home-account-filters select,#pnl-account-filters select,#home-account-filters .ui-select,#pnl-account-filters .ui-select{width:100%;min-width:0;max-width:100%}
 .account-filter-field .ui-select-trigger{max-width:100%;overflow:hidden}
}

/* Monthly summary uses the same words on desktop and mobile. */
#pnl-cal-sum,#inst-cal-sum,#share-cal-sum{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 10px;white-space:normal;min-width:0;max-width:100%}
.month-profit,.month-trades{display:inline-block;overflow-wrap:anywhere}
@media(max-width:760px){#pnl-cal-sum,#inst-cal-sum,#share-cal-sum{grid-column:1/-1;font-size:12px;line-height:1.6;padding:8px 10px;box-sizing:border-box;width:100%}.month-profit{max-width:100%}.month-trades{white-space:nowrap}}
