/* Portal's side menu (portal-rail.js builds the markup; Core's juntos-sidebar.js enhances it; juntos-shell.css draws the
 * floating light card from 1024px). These are the few layout rules El Rebano and La Mesa keep in their own
 * admin/style.css, which Portal does not have: the grid itself, the sticky card and the collapsed state.
 * Below 1024px juntos-shell.css hides `.sidebar` and the grid is one column, so a phone sees the page as before. */
.portal-rail-shell { display: grid; grid-template-columns: minmax(0, 1fr); }
.portal-rail-shell > .main { min-width: 0; }
.ju-shell .portal-rail-shell .sidebar { position: sticky; overflow-y: auto; }
.ju-shell .portal-rail-shell .sidebar-link[hidden] { display: none !important; }
.ju-shell .portal-rail-shell .sidebar-link { text-decoration: none; }
.portal-rail-shell.sidebar-collapsed .sidebar { overflow: hidden; }
.portal-rail-shell.sidebar-collapsed .sidebar-link-text { display: none !important; }
.portal-rail-shell.sidebar-collapsed .sidebar-logo-row { justify-content: center; }
.ju-shell .portal-rail-shell .sidebar-logo-row { display: flex; justify-content: flex-end; }
