/* Compact phone order controls; desktop layout is unchanged. */
@media (max-width:700px), (max-width:1000px) and (pointer:coarse) and (max-height:600px){
 .trader-theme .trade-panel-volume{padding:4px!important}
 .trader-theme .trade-panel-volume>.space-y-2{gap:4px!important}
 .trader-theme .trade-panel-volume .trade-investment-card{padding:4px!important}
 .trader-theme .trade-panel-volume .premium-invest-label{min-height:24px;margin-bottom:2px}
 .trader-theme .trade-panel-volume .premium-heading-copy small{display:none}
 .trader-theme .trade-panel-volume .premium-control-emblem{width:20px;height:20px;flex-basis:20px}
 .trader-theme .trade-panel-volume .premium-invest-value{min-height:54px;grid-template-rows:24px 10px;padding:3px!important}
 .trader-theme .trade-panel-volume .premium-invest-value input{font-size:18px!important;line-height:24px}
 .trader-theme .trade-panel-volume .premium-invest-value .trade-currency-badge{height:26px;width:21px;font-size:17px}
 .trader-theme .trade-panel-volume .premium-invest-return{padding-top:2px}
 .trader-theme .trade-panel-volume .premium-expiry-label{min-height:26px;padding:2px 4px!important}
 .trader-theme .trade-panel-volume .trade-mode-switch{margin-bottom:3px!important}
 .trader-theme .trade-panel-volume button.trade-expiry-value{min-height:34px;height:34px!important;padding:3px 5px!important}
 .trader-theme .trade-panel-volume .trade-up,.trader-theme .trade-panel-volume .trade-down{height:44px!important;min-height:44px!important;padding:3px 6px!important;gap:5px!important}
 .trader-theme .trade-panel-volume .trade-action-copy strong{font-size:14px!important;line-height:16px!important}
 .trader-theme .trade-panel-volume .trade-direction-icon{width:25px!important;height:25px!important}
}
@media (min-width:480px) and (max-width:700px) and (max-height:500px), (min-width:480px) and (max-width:1000px) and (pointer:coarse) and (max-height:500px){
 .trader-theme .trader-main-shell{grid-template-columns:minmax(0,1fr) minmax(220px,32%)!important}
}
