/* Keep content within its grid/flex track, including long names and amounts. */
.main-wrap,main,.panel,.order-filters>*,.report-stats>*,.product-metrics>*{min-width:0}
.dashboard-welcome>div,.referral-hero>div,.dashboard-wallet>div,.profile-identity>div,.conversion-intro{min-width:0;overflow-wrap:anywhere}
.hero-mascot,.profile-identity>img,.account-name>img{flex-shrink:0}
.dashboard-wallet strong,.product-metrics dd,.cashback-result strong{overflow-wrap:anywhere}
.panel>p,.notice,.auth-message,.journey-card,.page-heading{overflow-wrap:anywhere}
.bobo-refresh .order-filters{grid-template-columns:minmax(0,2fr) repeat(3,minmax(0,1fr))}
.bobo-refresh .orders-horizontal-scroll{overflow-x:auto!important}
.section-heading{flex-wrap:wrap}
.bobo-refresh .panel textarea{max-width:100%;min-width:0}
@media(max-width:1100px){
 .bobo-refresh .order-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .bobo-refresh.member-layout .mobile-bottom-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;align-items:end}
 .mobile-bottom-nav>a,.mobile-more,.mobile-more>summary{min-width:0;text-align:center}
 .mobile-bottom-nav>a,.mobile-more>summary{font-size:11px;line-height:1.4;padding:4px 1px;overflow-wrap:normal}
 .bobo-refresh.member-layout .app-layout{padding-bottom:calc(110px + env(safe-area-inset-bottom))}
 .bobo-refresh.member-layout .header-actions{min-width:0}
 .bobo-refresh.member-layout .header-wallet{min-width:0;max-width:calc(100vw - 154px);overflow:hidden;text-overflow:ellipsis;display:block;line-height:24px;font-size:12px;padding:7px 9px}
 .header-notifications,.bobo-refresh.member-layout .brand,.bobo-refresh.member-layout .account-name{flex-shrink:0}
 .bobo-refresh .dashboard-welcome{gap:12px;padding:16px}
 .bobo-refresh .dashboard-welcome .hero-mascot{width:64px;height:76px}
 .bobo-refresh .dashboard-welcome h1{font-size:22px;line-height:1.35;letter-spacing:-.3px}
 .bobo-refresh .dashboard-wallet{gap:12px}
 .dashboard-wallet strong{font-size:24px;line-height:1.4}
 .bobo-refresh .referral-hero{gap:12px;padding:16px;align-items:flex-start}
 .bobo-refresh .referral-hero .hero-mascot{width:64px;height:76px}
 .bobo-refresh.member-layout .report-stats strong{display:block;font-size:20px;line-height:1.45}
 .bobo-refresh.member-layout .report-stats h2{line-height:1.5}
 .bobo-refresh .order-filters{grid-template-columns:minmax(0,1fr)}
 .bobo-refresh .panel input:not([type=checkbox]):not([type=hidden]),.bobo-refresh .panel select,.bobo-refresh .panel textarea{font-size:16px}
 .bobo-refresh .order-filters label{height:auto;min-height:0}
 .auth-panel .check-row{align-items:flex-start}
 .check-row input[type=checkbox]{flex:0 0 auto;margin-top:5px}
 .bobo-refresh .result-actions>.button{max-width:100%;white-space:normal;text-align:center}
 .orders-toolbar{align-items:flex-start}
 .orders-toolbar .result-actions{width:100%;margin-top:0}
 .profile-identity{align-items:flex-start;gap:12px}
 .profile-identity strong{font-size:18px;line-height:1.5}
 .product-metrics{grid-template-columns:minmax(0,1fr);gap:12px}
 .conversion-recent>summary{display:flex;align-items:center;justify-content:space-between;gap:12px}
 .conversion-recent>summary>span{float:none;flex-shrink:0}
 .mobile-more-menu{max-width:calc(100vw - 24px)}
 .header-notification-panel{max-height:calc(100dvh - 170px)}
 .admin-order-dialog,.logout-dialog{max-height:calc(100dvh - 32px)}
 .section-heading{gap:8px}
 .section-heading span{max-width:none;text-align:left}
 .site-footer{flex-direction:column;align-items:flex-start}
}
