/* V7.132 iPhone-only space-saving layout. Existing desktop header/calendar unchanged. */
#qbMobileAccountWrap{display:none}
#qbMobileQueueDialog{border:1px solid #cddfe2;border-radius:12px;padding:10px;width:min(94vw,720px);max-height:78dvh}
#qbMobileQueueDialog::backdrop{background:#001e2ca8}
#qbMobileQueueDialog #unscheduledPanel{margin:0!important;padding:8px!important;max-height:63dvh;overflow:auto}
#qbMobileQueueDialog #unscheduledJobs{max-height:55dvh!important;overflow:auto}
.qbcd-download{margin:5px 10px 10px;padding:6px 10px;border-radius:6px;background:#edf8f8;border:1px solid #9abfc0;cursor:pointer}
@media(max-width:720px){
 body:not(.qb-auth-locked) #serverBar{display:none!important}
 body:not(.qb-auth-locked)>header{display:flex!important;flex-direction:row!important;align-items:center!important;flex-wrap:nowrap!important;gap:4px!important;min-height:39px!important;padding:3px 5px!important}
 body:not(.qb-auth-locked)>header .brandLockup{display:none!important}
 body:not(.qb-auth-locked)>header .nav{display:flex!important;flex:1 1 auto!important;min-width:0!important;overflow-x:auto!important;white-space:nowrap!important;gap:2px!important;align-items:center;padding:1px 0!important;scrollbar-width:none}
 body:not(.qb-auth-locked)>header .nav::-webkit-scrollbar{display:none}
 body:not(.qb-auth-locked)>header>.brandLogoBox{width:28px!important;height:28px!important;flex:0 0 28px!important;padding:0!important;margin:0 5px 0 0!important;position:relative!important;left:auto!important;z-index:1;background:#002f3c}
 body:not(.qb-auth-locked)>header>.brandLogoBox img{width:26px!important;height:26px!important}
 body:not(.qb-auth-locked)>header .nav button{font-size:11px!important;min-height:30px!important;padding:5px 7px!important;flex:0 0 auto!important}
 body:not(.qb-auth-locked) #qbMobileAccountWrap{display:flex;flex:0 0 32px;position:relative;align-items:center}
 body:not(.qb-auth-locked) #qbMobileAccountButton{border:1px solid #51818c;border-radius:8px;color:#fff;background:#003f50;min-height:30px;min-width:32px;font-size:17px;cursor:pointer}
 #qbMobileAccountMenu{position:fixed;right:6px;top:42px;z-index:3500;border:1px solid #9ec4c9;border-radius:9px;background:white;color:#002f3c;box-shadow:0 8px 25px #001f2c44;width:min(290px,94vw);padding:9px;white-space:normal}
 #qbMobileAccountMenu[hidden]{display:none!important}
 #qbMobileAccountMenu .info{font-size:11px;color:#52656c;margin:3px 0 9px;overflow-wrap:anywhere}
 #qbMobileAccountMenu button{display:block;width:100%;margin:4px 0;background:#f6fafb;color:#002f3c;padding:9px;text-align:left;border-radius:6px;border:1px solid #d0e0e3;min-height:37px}
 #calendarView #qbMobileCompanyBar{margin:0 0 4px!important;padding:0!important}
 #calendarView #qbMobileCompanyBar .qbMobileMode{display:none!important}
 #calendarView .qbMobileWeekNav{display:flex!important;align-items:center!important;gap:3px!important;margin:2px 0 4px!important;min-height:34px;flex-wrap:nowrap!important}
 #calendarView .qbMobileWeekNav>button{padding:4px 5px!important;min-width:30px!important;height:31px!important;min-height:31px!important}
 #calendarView .qbMobileWeekNav #qbMobileWeekToday{min-width:47px!important}
 #calendarView .qbMobileWeekNav #qbMobileWeekTitle{margin:0 3px!important;font-size:12px!important;white-space:nowrap!important;flex:1 1 auto!important;text-align:center!important}
 #calendarView #qbMobileFilterButton{min-width:46px!important;padding:4px!important;font-size:11px!important}
 #calendarView .qbMobileWeekNav .addWrap #addMain{font-size:11px!important;min-height:31px!important;height:31px!important;padding:3px 6px!important}
 body.qb-mobile-month #calendarView .calendarScroll{height:calc(100dvh - 104px)!important;min-height:330px!important}
 #calendarView .toolbar{margin:0!important;padding:0!important;min-height:0!important}
 #calendarView .legend{display:none!important}
 #calendarView>.hint{display:none!important}
 body:not(.qb-auth-locked) main{padding:0 5px!important;margin:4px auto 0!important}
 body:not(.qb-auth-locked) #calendarView>#unscheduledPanel{display:none!important}
}
