#app {
  width: 100%;
  height: 100%;
}
.app {
  display: grid;
  grid-template-columns: var(--sidebar-w) minmax(0, 1fr);
  width: 100%;
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
}
.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #111827;
  color: rgba(255,255,255,.76);
  border-right: 1px solid rgba(255,255,255,.06);
}
.sidebar-brand {
  height: 56px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--brand-600);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
}
.brand-text-title {
  font-size: 13px;
  color: white;
  font-weight: 600;
  line-height: 1.2;
}
.brand-text-sub {
  font-size: 11px;
  color: rgba(255,255,255,.45);
  line-height: 1.2;
}
.nav-section-title {
  padding: 14px 16px 6px;
  font-size: 10px;
  letter-spacing: .08em;
  color: rgba(255,255,255,.35);
  font-weight: 600;
}
.sidebar-nav {
  flex: 1;
  overflow: auto;
  padding: 12px 0 12px;
}
.sidebar-link-top {
  margin-bottom: 14px;
}
.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 8px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  color: rgba(255,255,255,.72);
  transition: .15s ease;
}
.sidebar-link:hover { background: rgba(255,255,255,.06); color: white; }
.sidebar-link.active {
  background: rgba(234,88,12,.18);
  color: white;
  box-shadow: inset 0 0 0 1px rgba(234,88,12,.35);
}
.sidebar-bottom {
  padding: 12px 12px 16px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.user-box {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  margin-bottom: 8px;
}
.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--brand-600);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.user-name { font-size: 13px; color: white; font-weight: 600; }
.user-role { font-size: 11px; color: rgba(255,255,255,.45); }
.main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}
.topbar {
  height: var(--topbar-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 24px;
}
.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--gray-500);
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--gray-500);
}
.main-scroll {
  flex: 1;
  overflow: auto;
  min-height: 0;
}
