/* Full-width mobile navigation, matching the original Case Files structure. */
.mobile-nav-search,.mobile-account-icon{display:none}
@media screen and (max-width:1024px){
.topbar{height:56px;min-height:56px;display:grid;grid-template-columns:minmax(0,1fr) 44px 44px;padding:6px 10px;gap:8px;background:#474353}.topbar .header-brand{grid-column:1;grid-row:1;max-width:none;min-width:0}.topbar .header-brand>span.agency-header-name{font-size:15px;line-height:1.2;font-weight:500}.topbar .menu-button{grid-column:3;grid-row:1;background:transparent;border:0;color:#fff;min-height:44px;width:44px;padding:6px;font-size:25px}.topbar .user-menu{grid-column:2;grid-row:1;margin:0}.topbar .account-link{display:grid;place-items:center;width:44px;height:44px;color:#fff;border-radius:5px;background:#ffffff12}.topbar .account-link b,.topbar .account-link small,.topbar .user-menu>form{display:none}.mobile-account-icon{display:inline-flex}.mobile-account-icon .ui-icon{width:24px;height:24px}.topbar .header-search{display:none}
.sidebar,.nav-collapsed .sidebar{width:100%;max-width:100%;background:#0d4d6c;border:0;box-shadow:none;padding:12px 14px 20px;top:var(--cfp-topbar-height);height:calc(100dvh - var(--cfp-topbar-height));overflow-y:auto}.sidebar .sidebar-brand{display:none}.mobile-nav-search{display:flex;align-items:center;gap:0;background:#fff;border:1px solid #b7cbd7;border-radius:6px;margin:4px 2px 14px;flex:none}.mobile-nav-search input{margin:0;min-height:44px;padding:10px 12px;font-size:16px;border:0;background:transparent;color:#17212b}.mobile-nav-search button{display:grid;place-items:center;min-height:44px;width:44px;padding:8px;flex:none;border:0;background:transparent;color:#474353}.mobile-nav-search .ui-icon{width:22px;height:22px;color:#474353}.atlas-sidebar>.nav-link,.sidebar-group>summary{display:flex;align-items:center;gap:10px;min-height:44px;padding:9px 8px;margin:0;border:0;border-radius:5px;font-size:14px;line-height:1.35;color:#d8e7f0}.sidebar-group{border:0;margin:0 0 3px}.atlas-sidebar>.nav-link{margin-bottom:3px}.atlas-sidebar>.nav-link>.ui-icon,.sidebar-group>summary>.ui-icon{box-sizing:content-box;width:18px;height:18px;padding:6px;background:#ffffff0c;border-radius:6px;flex:none;color:#8dbfd9}.atlas-sidebar .nav-link.active{border:0;background:#ffffff10;padding-left:8px;color:#fff}.sidebar-group>summary:hover,.atlas-sidebar>.nav-link:hover{background:#ffffff10}.sidebar-submenu{background:#ffffff08;border-radius:5px;padding:4px 8px 6px 38px}.sidebar-submenu .nav-link{min-height:44px;padding:10px 8px}.group-chevron{font-size:19px}.nav-backdrop:not([hidden]){background:transparent}.sidebar .sidebar-bottom{padding:16px 8px;color:#c6dae5}
}
@media screen and (max-width:1024px) and (orientation:landscape){.topbar{height:52px;min-height:52px;padding-top:4px;padding-bottom:4px}.sidebar,.nav-collapsed .sidebar{padding-top:8px}.mobile-nav-search{margin-top:0;margin-bottom:8px}}

/* Mobile menu density matched to the original Case Files menu. */
@media screen and (max-width:1024px){
.topbar{height:44px;min-height:44px;grid-template-columns:minmax(0,1fr) 36px 36px;padding:4px 10px;gap:6px}.topbar .header-brand>span.agency-header-name{font-size:17px;font-weight:400;line-height:1.15;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topbar .header-brand{overflow:hidden}.topbar .account-link{width:36px;height:36px}.mobile-account-icon .ui-icon{width:20px;height:20px}.topbar .menu-button{min-height:36px;width:36px;padding:4px;font-size:22px}.sidebar,.nav-collapsed .sidebar{padding:14px 16px 18px;text-size-adjust:100%;-webkit-text-size-adjust:100%}.mobile-nav-search{margin:4px 1px 12px;border-radius:5px;min-height:36px}.mobile-nav-search input{height:36px;min-height:36px;padding:6px 12px;font-size:16px}.mobile-nav-search button{height:36px;min-height:36px;width:36px;padding:6px}.mobile-nav-search .ui-icon{width:20px;height:20px}.atlas-sidebar>.nav-link,.sidebar-group>summary{min-height:40px;padding:7px 2px;gap:8px;font-size:12px;font-weight:600;line-height:1.35}.atlas-sidebar>.nav-link{margin-bottom:0}.sidebar-group{margin-bottom:0}.atlas-sidebar>.nav-link>.ui-icon,.sidebar-group>summary>.ui-icon{width:16px;height:16px;padding:3px;border-radius:6px}.atlas-sidebar .nav-link.active{padding-left:2px;background:transparent;color:#d8e7f0}.sidebar-group>summary:hover,.atlas-sidebar>.nav-link:hover{background:#ffffff0c}.sidebar-submenu{padding:3px 6px 5px 30px}.sidebar-submenu .nav-link{min-height:40px;padding:8px 6px;font-size:12px}.group-chevron{font-size:16px}.sidebar .sidebar-bottom{font-size:11px;padding:12px 2px}
}
@media screen and (max-width:1024px) and (orientation:landscape){.topbar{height:44px;min-height:44px;padding-top:4px;padding-bottom:4px}.sidebar,.nav-collapsed .sidebar{padding-top:12px}.mobile-nav-search{margin-top:2px;margin-bottom:10px}}
