.app-shell { display: grid; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); height: 100vh; min-height: 0; overflow: hidden; }
.sidebar {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: #e5edf7;
  background: var(--navy);
  border-right: 1px solid #081b33;
}
.brand { padding: 17px 18px 18px; border-bottom: 1px solid rgba(255,255,255,.09); }
.brand-title { font-size: 22px; line-height: 1.1; font-weight: 700; color: white; letter-spacing: .4px; }
.brand-subtitle { margin-top: 4px; font-size: 12px; color: #cbd5e1; }
.main-nav { flex: 1; overflow-y: auto; padding: 7px 0; }
.nav-item, .logout-button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 18px;
  color: #e5edf7;
  text-align: left;
  background: transparent;
  border: 0;
  border-left: 4px solid transparent;
}
.nav-item span, .logout-button span { width: 17px; text-align: center; font-size: 16px; }
.nav-item:hover, .logout-button:hover { color: white; background: var(--navy-hover); }
.nav-item.is-active { color: var(--navy); background: #fff; border-left-color: var(--blue); font-weight: 600; }
.nav-item.is-disabled { color: #8fa3ba; }
.nav-section { padding: 17px 18px 6px; color: #8fa3ba; font-size: 10px; font-weight: 700; letter-spacing: .6px; }
.logout-button { border-top: 1px solid rgba(255,255,255,.09); }
.version { padding: 8px 18px 12px; color: #8fa3ba; font-size: 10px; }
.workspace { min-width: 0; min-height: 0; overflow: hidden; display: grid; grid-template-rows: var(--topbar-height) minmax(0, 1fr) var(--statusbar-height); }
.topbar {
  display: flex;
  align-items: center;
  min-width: 0;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 2px rgba(16,42,76,.04);
}
.app-name { padding-left: 22px; font-size: 14px; font-weight: 600; color: #344054; }
.topbar-right { margin-left: auto; display: flex; align-items: center; height: 100%; }
.clock { min-width: 150px; padding: 0 17px; color: var(--muted); font-size: 12px; text-align: center; border-left: 1px solid #e7ebf0; }
.user-block { min-width: 150px; height: 100%; padding: 10px 18px; border-left: 1px solid #e7ebf0; }
.user-name { font-weight: 600; color: #344054; }
.user-profile { margin-top: 1px; color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .35px; }
.notification-button { height: 100%; padding: 0 15px; color: var(--info); background: transparent; border: 0; border-left: 1px solid #e7ebf0; }
.notification-button span { display: inline-block; min-width: 18px; padding: 1px 4px; color: white; background: var(--danger); border-radius: 8px; font-size: 10px; }
.main-content { min-width: 0; min-height: 0; height: 100%; overflow: auto; overscroll-behavior: contain; padding: 18px 22px 22px; }
.main-content > * { min-width: 0; }
.statusbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 11px;
  color: #536275;
  background: #e7ebf0;
  border-top: 1px solid #cdd5df;
  font-size: 11px;
}
.menu-toggle { display: none; margin-left: 8px; }
.screen-header { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 14px; }
.screen-heading { flex: 1; min-width: 0; }
.screen-title { margin: 0; color: var(--navy); font-size: 24px; line-height: 1.15; }
.screen-subtitle { margin: 3px 0 0; color: var(--muted); font-size: 12px; }
.screen-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.module-layout { display: grid; gap: 10px; }
