.app-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 100vh;
  overflow: auto;
  background:
    linear-gradient(180deg, rgba(22, 163, 74, .14), rgba(37, 99, 235, .08) 28%, rgba(15, 31, 51, 0) 58%),
    #0f1f33;
  color: #e5edf7;
  border-right: 0;
  box-shadow: 14px 0 32px rgba(15, 23, 42, .18);
}

.brand {
  min-height: 86px;
  padding: 18px 16px;
  border-bottom: 1px solid rgba(226, 232, 240, .12);
}

.brand-main {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo,
.brand-mark {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255,255,255,.26);
  border-radius: 14px;
  background: #fff;
  color: #f4e558;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08);
}

.brand-logo.large {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
}

.brand strong {
  display: block;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
}

.brand em {
  display: block;
  margin-top: 3px;
  color: #a7f3d0;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.brand-session {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.brand-session span {
  min-width: 0;
  overflow: hidden;
  color: #bfdbfe;
  font-size: 11px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-session button {
  flex: 0 0 auto;
  min-height: 28px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: 0 10px;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  cursor: pointer;
}

.brand-session button:hover {
  background: rgba(239, 68, 68, .9);
  border-color: rgba(239, 68, 68, .9);
}

.sidebar nav {
  display: grid;
  gap: 2px;
  padding: 12px 10px 18px;
}

.sidebar h3 {
  margin: 18px 0 7px;
  padding: 7px 10px 8px;
  color: #8fb4d6;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.sidebar nav a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 38px;
  margin: 2px 0;
  border-radius: 8px;
  padding: 9px 10px;
  color: #dbeafe;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}

.sidebar nav a:hover {
  background: rgba(255,255,255,.09);
  color: #fff;
  transform: translateX(1px);
}

.sidebar nav a.active {
  background: linear-gradient(135deg, #15985f 0%, #0d7bea 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(13, 123, 234, .24);
}

.sidebar nav a.active::before {
  content: none;
}

.sidebar svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #93c5fd;
  stroke-width: 2.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-legacy-icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.sidebar nav a span {
  overflow: hidden;
  text-overflow: ellipsis;
}

.main {
  min-width: 0;
  padding: 18px 20px 28px;
}

.nav-toggle,
.sidebar-backdrop {
  display: none;
}
