/* Home presentation; existing navigation buttons, permissions and data stay in place. */
#admin.officeOnHome.officeDemoSelected>.top{background:linear-gradient(120deg,#113252,#1d466d)!important;box-shadow:0 8px 26px #173b6012;border-radius:16px!important}

#admin.officeOnHome.officeDemoSelected #officeHome .homeDriverSummary{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
#admin.officeOnHome.officeDemoSelected #officeHome .driverHubStatCard{background:#fff!important;border:1px solid #dce6f0!important;border-top:3px solid #a8c9ef!important;border-radius:12px!important}
#admin.officeOnHome.officeDemoSelected #officeHome .driverHubNames>div{background:#fff;border:1px solid #dce6f0;border-radius:10px;padding:9px 12px}
#admin.officeOnHome.officeDemoSelected #officeHome .officeTile{background:#fff!important;border-color:#dce6f0!important;box-shadow:0 3px 14px #173b6006!important;color:#234b70!important}
#admin.officeOnHome.officeDemoSelected #officeHome .officeTile:hover{background:#eef5ff!important}
@media(min-width:1101px){
 #admin.officeOnHome.officeDemoSelected{padding-left:0!important}
 #admin.officeOnHome.officeDemoSelected>.top{margin-left:0!important;width:100%!important}
 #admin.officeOnHome.officeDemoSelected #officeHome{padding-left:226px!important;box-sizing:border-box;padding-bottom:0!important}
 #admin.officeOnHome.officeDemoSelected #officeHome>.officeTileGrid{display:none!important}
 #admin.officeOnHome.officeDemoSelected>.compactOfficeSidebar{display:flex!important;position:fixed!important;left:12px!important;top:var(--demo-office-nav-top,250px)!important;bottom:12px!important;width:210px!important;height:auto!important;max-height:none!important;min-height:0;overflow:auto;flex-direction:column;gap:3px;padding:10px;background:#fff;border:1px solid #dce6f0;border-radius:14px;z-index:100;box-sizing:border-box}
 #admin.officeOnHome.officeDemoSelected>.compactOfficeSidebar h3{display:none!important}
 #admin.officeOnHome.officeDemoSelected>.compactOfficeSidebar button{flex:1 0 auto;min-height:28px;padding:6px 10px!important;font-size:13px!important;line-height:1.2;display:flex;align-items:center;border-radius:8px;color:#526c84}
 #admin.officeOnHome.officeDemoSelected>.compactOfficeSidebar button[aria-current=page]{background:#1768cf;color:white;font-weight:700}
 #admin.officeOnHome.officeDemoSelected #officeHome>.compactHomeGroups{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr));height:max(330px,var(--demo-office-cards-space,400px))!important;min-height:0!important;gap:12px;align-items:stretch}
 #admin.officeOnHome.officeDemoSelected .compactHomeGroups section{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff;border:1px solid #dce6f0;border-radius:14px;padding:12px!important;gap:4px}
 #admin.officeOnHome.officeDemoSelected .compactHomeGroups h3{font-size:14px;margin:0 0 5px;color:#18324c}
 #admin.officeOnHome.officeDemoSelected .compactHomeGroups section>button{flex:1;min-height:25px!important;border:1px solid #e2eaf3;border-radius:8px;background:#f5f9fe;padding:5px 10px!important;font-size:13px;text-align:left;overflow-wrap:anywhere}
 #admin.officeOnHome.officeDemoSelected .compactHomeGroups section>button:hover{background:#eaf3ff}
}
@media(max-width:1100px){#admin.officeOnHome.officeDemoSelected>.compactOfficeSidebar{display:none!important}}
@media(max-width:900px){
 #admin.officeOnHome.officeDemoSelected #officeHome .driverHubStatCard{border-top-width:2px!important;border-radius:8px!important}
 #admin.officeOnHome.officeDemoSelected #officeHome>.officeTileGrid>.officeTile{border-radius:10px!important}
 #admin.officeOnHome.officeDemoSelected #officeHome .officeTileIcon{font-size:16px!important}
}

