.app-sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--sidebar-bg);
  color: #fff;
  padding: 18px 16px;
  overflow-y: auto;
  z-index: 20;
}

.app-sidebar__brand {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
  padding: 6px 8px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.app-sidebar__user {
  margin-bottom: 18px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
}

.app-sidebar__user-name {
  font-size: 14px;
  font-weight: 700;
}

.app-sidebar__user-role {
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.82;
  text-transform: capitalize;
}

.app-sidebar__nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-nav-link {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.app-nav-link:hover {
  background: var(--sidebar-hover);
}

.app-nav-link--danger {
  margin-top: 8px;
  background: var(--danger-soft);
}

.app-main {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: var(--topbar-h);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.app-topbar__title {
  font-size: 20px;
  font-weight: 800;
}

.app-topbar__user {
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
}

.page-wrap {
  width: 100%;
  max-width: 1400px;
  padding: 24px;
}

.page-head {
  margin-bottom: 20px;
}

.page-title {
  margin: 0 0 6px;
  font-size: 30px;
  line-height: 1.15;
  font-weight: 800;
}

.page-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}