/* Shared two-level admin navigation. */
[data-app="admin"] .admin-side{width:240px;height:100vh;position:sticky;top:0;overflow-y:auto;scrollbar-width:thin;padding-bottom:24px}
[data-app="admin"] .admin-logo{padding-bottom:22px}
.admin-tree{padding:0 12px}
.admin-menu-group{margin-bottom:5px}
.admin-menu-group>summary{display:flex;align-items:center;gap:11px;list-style:none;padding:12px 13px;border-radius:8px;color:var(--brand-light);font:500 14px/22px var(--font);cursor:pointer;user-select:none}
.admin-menu-group>summary::-webkit-details-marker{display:none}
.admin-menu-group>summary:hover,.admin-menu-group.is-active>summary{color:var(--card);background:var(--brand)}
.admin-menu-icon{width:18px;height:18px;flex:none;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.admin-menu-chevron{width:16px;height:16px;margin-left:auto;fill:none;stroke:currentColor;stroke-width:1.6;transition:transform .16s}
.admin-menu-group[open] .admin-menu-chevron{transform:rotate(180deg)}
.admin-submenu{position:relative;margin:5px 0 9px 22px;padding-left:12px;border-left:1px solid var(--brand)}
.admin-tree .admin-submenu>a{position:relative;display:flex;align-items:center;min-height:38px;margin:3px 0;padding:8px 12px;border:0;border-radius:6px;font-size:14px;line-height:22px;color:var(--brand-light);text-decoration:none}
.admin-tree .admin-submenu>a:hover{color:var(--card);background:var(--brand)}
.admin-tree .admin-submenu>a.on{color:var(--card);background:var(--brand);font-weight:600;border:0}
.admin-tree .admin-submenu>a.on:before{content:'';position:absolute;left:-15px;top:16px;width:5px;height:5px;background:var(--card);border-radius:50%}
.admin-tree :is(summary,a):focus-visible{outline:2px solid var(--brand-light);outline-offset:2px}
@media(prefers-reduced-motion:reduce){.admin-menu-chevron{transition:none}}
@media(max-width:900px){[data-app="admin"] .admin-side{width:216px}}
