/* The official shell owns every native menu, permission, header and mobile drawer. */
.yushi-menu-group{box-sizing:border-box;display:flex;flex-direction:column;gap:4px;min-width:0;width:100%;padding:4px 8px}
.yushi-menu-heading{display:flex;align-items:center;height:32px;padding:0 8px;flex-shrink:0;font-size:11px;font-weight:500;letter-spacing:.05em;color:color-mix(in srgb,var(--muted-foreground,#737373) 70%,transparent)}
.yushi-menu-link{box-sizing:border-box;display:flex;align-items:center;gap:8px;width:100%;min-width:0;height:32px;padding:8px;border-radius:calc(var(--radius,1rem)*.8);font-family:inherit;font-size:14px;font-weight:400;line-height:20px;color:var(--sidebar-foreground,var(--foreground,#171717));text-decoration:none;overflow:hidden;white-space:nowrap;flex-shrink:0}
.yushi-menu-link svg{width:16px;height:16px;flex:0 0 16px;vertical-align:middle}
.yushi-menu-link span{overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}
.yushi-menu-link:hover{background:var(--muted,#f5f5f5);color:var(--sidebar-foreground,var(--foreground,#171717))}
.yushi-menu-link[aria-current=page]{background:var(--sidebar-accent,#eaf4ff);color:var(--sidebar-accent-foreground,#008cff);font-weight:500}
.yushi-menu-link:focus-visible{outline:2px solid var(--ring,#6caaff);outline-offset:2px}
[data-collapsible=icon] [data-yushi-links] .yushi-menu-heading,[data-collapsible=icon] [data-yushi-links] .yushi-menu-link span{display:none}
[data-collapsible=icon] [data-yushi-links] .yushi-menu-link{width:32px;height:32px;padding:8px}
html[data-yushi-active-app] [data-sidebar=content] a[data-active]:not([data-yushi-menu]){background:transparent;color:var(--sidebar-foreground);font-weight:400}
[data-yushi-app-host]>:not(#yushi-app-portal){display:none!important}
#yushi-app-portal{position:absolute;inset:0;min-width:0;min-height:0;overflow:hidden;border-radius:inherit;background:var(--background);z-index:1}
#yushi-app-frame{display:block;width:100%;height:100%;border:0;background:var(--background)}
.yushi-app-embedded{margin:0;min-height:100svh}
.yushi-app-embedded>.invoice-app,.yushi-app-embedded>main#app{margin:0;min-height:100svh;border:0;border-radius:0;box-shadow:none}
