/* Frontend Organization Dashboard shell. Components come from ui.css. Pure CSS, no scripts. */
.b2bp-shell { --b2bp-sidebar-bg: #11142A; display: grid; grid-template-columns: 248px minmax(0, 1fr); min-height: 72vh; margin: 0 auto; max-width: 1320px; background: var(--b2bp-surface-muted); border: 1px solid var(--b2bp-line); border-radius: var(--b2bp-radius); overflow: hidden; }
.b2bp-nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.b2bp-mobile-topbar { display: none; }
.b2bp-sidebar { display: flex; flex-direction: column; gap: 20px; padding: 20px 14px; background: var(--b2bp-sidebar-bg); color: #C9CEE8; }
.b2bp-brand { padding: 0 8px; color: #fff; font: 600 17px var(--b2bp-font-display); line-height: 1.3; }
.b2bp-brand small { display: block; margin-top: 2px; color: #8B92B8; font: 400 12px var(--b2bp-font); }
.b2bp-switch { padding: 0 4px; }
.b2bp-switch select { min-height: 36px; background: #1B1F3D; border-color: #2A2F55; color: #fff; }
.b2bp-nav { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.b2bp-nav a { display: block; padding: 9px 12px; border-radius: var(--b2bp-radius-sm); color: #C9CEE8; font-weight: 500; }
.b2bp-nav a:hover { background: #1B1F3D; color: #fff; }
.b2bp-nav a[aria-current="page"] { background: var(--b2bp-accent); color: #fff; }
.b2bp-nav a:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.b2bp-sidebar-foot { margin-top: auto; padding: 0 8px; color: #8B92B8; font-size: 13px; }
.b2bp-sidebar-foot a { color: #C9CEE8; text-decoration: underline; }
.b2bp-main { min-width: 0; padding: 28px; }
.b2bp-main > .b2bp-title { margin-bottom: 4px; }
.b2bp-login-card { max-width: 440px; margin: 40px auto; text-align: center; }

@media (max-width: 900px) {
	.b2bp-shell { display: block; position: relative; border-radius: 0; border-left: 0; border-right: 0; }
	.b2bp-mobile-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: var(--b2bp-sidebar-bg); color: #fff; font: 600 15px var(--b2bp-font-display); }
	.b2bp-burger { padding: 6px 12px; border: 1px solid #2A2F55; border-radius: var(--b2bp-radius-sm); cursor: pointer; font: 500 13px var(--b2bp-font); }
	.b2bp-sidebar { position: fixed; z-index: 99998; top: 0; bottom: 0; left: 0; width: 272px; max-width: 86vw; overflow-y: auto; transform: translateX(-100%); transition: transform .2s ease; }
	.b2bp-nav-toggle:checked ~ .b2bp-sidebar { transform: none; }
	.b2bp-nav-toggle:checked ~ .b2bp-scrim { display: block; }
	.b2bp-scrim { display: none; position: fixed; z-index: 99997; inset: 0; background: rgba(17,20,42,.5); }
	.b2bp-main { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .b2bp-sidebar { transition: none; } }
