@media(max-width:900px){
  .dashboard{padding:20px 0 110px}.dashboard-grid{display:block;width:min(100% - 26px,1180px)}
  .dashboard-nav{padding:14px;margin-bottom:20px;border-radius:16px}.dashboard-nav nav{display:none!important}
  .user-summary{padding:0;border:0;min-width:0}.user-summary>span{width:48px;height:48px;flex:0 0 48px;border-radius:14px;font-size:18px}
  .user-summary>div{min-width:0}.user-summary strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-summary small{max-width:100%;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .dashboard-content{min-width:0}.dashboard-title{padding:3px 2px 0}.dashboard-title>div{min-width:0}.dashboard-title h1{line-height:1.65}
  .stats{grid-template-columns:repeat(3,1fr)}.stats article{min-width:0;padding:14px;flex-direction:column;align-items:flex-start;gap:8px}.stats article>span{width:40px;height:40px}.stats strong{font-size:19px}.stats small{font-size:9px}
  .dashboard-panel{padding:16px;border-radius:16px;overflow:hidden}.orders-table{margin-inline:-4px;padding-inline:4px;overscroll-behavior-inline:contain}.orders-table:after{content:"برای مشاهده جزئیات جدول را به طرفین بکشید";display:block;padding:10px 4px 0;color:#64748b;font-size:9px;text-align:center}
  .empty-orders{padding:42px 14px}.empty-orders a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:7px;padding:0 16px;border-radius:10px;background:rgba(255,176,0,.09);color:#ffc34a}
}
@media(max-width:600px){
  .dashboard-grid{width:calc(100% - 20px)}.dashboard-nav{margin-bottom:18px}
  .dashboard-title{display:block;margin-bottom:17px}.dashboard-title h1{font-size:20px;margin-top:4px}.dashboard-title .button{width:100%;min-height:46px;margin-top:13px}
  .stats{grid-template-columns:1fr;gap:10px}.stats article{min-height:86px;flex-direction:row;align-items:center;padding:14px 16px}.stats article>span{width:48px;height:48px;flex:0 0 48px}.stats strong{font-size:22px}.stats small{font-size:10px}
  .panel-head{min-height:38px}.panel-head h2{font-size:15px}.panel-head a{min-height:40px;display:flex;align-items:center;padding-inline:8px}
  .order-row{min-width:540px}.mobile-nav{bottom:max(8px,env(safe-area-inset-bottom));right:8px;left:8px}
}
@media(max-width:360px){.dashboard-grid{width:calc(100% - 14px)}.dashboard-panel{padding:13px}.user-summary small{max-width:240px}}
