/* Shared shell: do not let lazy module styles change sidebar geometry. */
.app > .sidebar .brand-mark { flex: 0 0 48px !important; width: 48px !important; min-width: 48px; height: 48px !important; box-sizing: border-box; }
.app > .sidebar .brand-logo { display: block; object-fit: contain; aspect-ratio: 1; background: transparent; box-shadow: none; border-radius: 12px; }
.app > .sidebar .brand-block > div { min-width: 0; }
.app > .sidebar .brand-title { white-space: normal; }
.app > .sidebar .sidebar-user-avatar { flex-shrink: 0; }
@media (min-width: 901px) {
 .app > .sidebar { box-sizing: border-box; width: 250px !important; min-width: 250px !important; flex: 0 0 250px !important; position: fixed !important; inset: 0 auto 0 0; height: 100vh; overflow-y: auto; z-index: 100; }
 .app > .content { box-sizing: border-box; min-width: 0; width: calc(100% - 250px); margin-left: 250px !important; flex: 1 1 0; }
 .app > .sidebar .menu > span:last-child { white-space: normal; overflow-wrap: anywhere; text-overflow: clip; }
}
@media (max-width: 900px) {
 .app { flex-direction: column; }
 .app > .sidebar { box-sizing: border-box; width: 100% !important; min-width: 0 !important; flex: none !important; position: static !important; height: auto; min-height: auto; overflow: visible; }
 .app > .content { box-sizing: border-box; width: 100%; min-width: 0; margin-left: 0 !important; }
}
