:root {
  --bc-bg: #f6f7f9;
  --bc-card: #ffffff;
  --bc-text: #17202a;
  --bc-muted: #667085;
  --bc-line: #d9dee7;
  --bc-soft: #eef2f7;
  --bc-strong: #111827;
}
.bc-app-shell { background: var(--bc-bg); border: 1px solid var(--bc-line); border-radius: 22px; overflow: hidden; margin: 24px 0; color: var(--bc-text); box-shadow: 0 18px 50px rgba(16,24,40,.08); }
.bc-shell-header { display: grid; grid-template-columns: 1.4fr 2fr auto; gap: 18px; align-items: center; padding: 18px 22px; background: var(--bc-card); border-bottom: 1px solid var(--bc-line); }
.bc-brand-mark { font-weight: 800; letter-spacing: -.03em; font-size: 22px; }
.bc-breadcrumb { font-size: 12px; color: var(--bc-muted); margin-top: 3px; }
.bc-context-strip { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.bc-context-strip span, .bc-context-bridge { font-size: 12px; border: 1px solid var(--bc-line); background: var(--bc-soft); padding: 7px 10px; border-radius: 999px; color: var(--bc-muted); }
.bc-sync-state { color: #155724 !important; background: #e8f5ee !important; border-color: #cfe8d8 !important; }
.bc-primary-cta { border: 0; border-radius: 999px; padding: 12px 18px; font-weight: 700; cursor: pointer; background: var(--bc-strong); color: #fff; }
.bc-shell-body { display: grid; grid-template-columns: 230px minmax(0,1fr) 280px; min-height: 620px; }
.bc-shell-menu { background: #111827; color: #fff; padding: 18px 14px; }
.bc-menu-group { margin-bottom: 18px; }
.bc-menu-group-title { font-size: 11px; opacity: .55; letter-spacing: .12em; margin: 8px 10px; }
.bc-menu-item { display: block; color: rgba(255,255,255,.82); text-decoration: none; padding: 10px 12px; border-radius: 12px; margin: 2px 0; font-size: 14px; }
.bc-menu-item:hover, .bc-menu-item.is-active { color: #fff; background: rgba(255,255,255,.12); }
.bc-shell-main { padding: 22px; min-width: 0; }
.bc-shell-content { background: var(--bc-card); border: 1px solid var(--bc-line); border-radius: 18px; padding: 20px; min-height: 420px; }
.bc-context-panel { background: var(--bc-card); border-left: 1px solid var(--bc-line); padding: 20px 16px; }
.bc-context-title { font-weight: 800; font-size: 18px; margin-bottom: 14px; }
.bc-context-row { border-bottom: 1px solid var(--bc-line); padding: 10px 0; }
.bc-context-row span { display: block; font-size: 11px; color: var(--bc-muted); text-transform: uppercase; letter-spacing: .07em; }
.bc-context-row strong { display: block; font-size: 13px; margin-top: 3px; }
.bc-dashboard-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.bc-dashboard-card { display: block; text-decoration: none; color: var(--bc-text); background: var(--bc-soft); border: 1px solid var(--bc-line); border-radius: 16px; padding: 18px; min-height: 96px; }
.bc-dashboard-card strong { display: block; font-size: 18px; }
.bc-dashboard-card span { display: block; color: var(--bc-muted); margin-top: 8px; }
.bc-operational-note { margin-top: 16px; border: 1px dashed var(--bc-line); border-radius: 16px; padding: 14px; background: #fff; color: var(--bc-muted); }
.bc-module-location { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; border: 1px dashed var(--bc-line); background: rgba(255,255,255,.75); border-radius: 14px; padding: 10px 12px; font-size: 12px; color: var(--bc-muted); }
.bc-module-location strong { color: var(--bc-text); }
.bc-module-location code { background: #111827; color: #fff; border-radius: 8px; padding: 4px 7px; }
.bc-context-bridge { margin: 0 22px 18px; display: inline-block; }
@media (max-width: 1100px) { .bc-shell-header, .bc-shell-body { grid-template-columns: 1fr; } .bc-context-panel { border-left: 0; border-top: 1px solid var(--bc-line); } .bc-context-strip { justify-content: flex-start; } }
@media (max-width: 720px) { .bc-dashboard-grid { grid-template-columns: 1fr; } .bc-shell-header { padding: 16px; } .bc-shell-main { padding: 14px; } }
