/* 01-layout */
.page-shell {
  min-height: 100vh;
}

.header {
  position: sticky;
  top: 0;
  z-index: 120;
  backdrop-filter: blur(18px) saturate(1.12);
  background:
    linear-gradient(90deg, rgba(124, 224, 211, 0.06), transparent 34%, rgba(111, 168, 255, 0.08)),
    linear-gradient(180deg, rgba(7, 12, 19, 0.94) 0%, rgba(9, 16, 25, 0.88) 100%);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
}

.header::after {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 224, 211, 0.35), transparent);
}

.header-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.header-brand-button {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  color: inherit;
  text-align: left;
  min-width: 0;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.header-brand-button:hover {
  transform: translateY(-1px);
  opacity: 0.96;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background:
    radial-gradient(circle at 35% 20%, rgba(255,255,255,0.16), transparent 30%),
    linear-gradient(145deg, rgba(111, 168, 255, 0.20), rgba(124, 224, 211, 0.12));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    0 0 0 1px rgba(255,255,255,0.05),
    0 14px 30px rgba(79, 139, 221, 0.22);
  position: relative;
  flex: 0 0 auto;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-wrap {
  padding: 6px;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25));
}

.brand-topline {
  color: var(--primary-2);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 4px;
}

.header-title h1 {
  color: var(--text);
  font-size: 1.72rem;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.header-title p {
  color: var(--text-soft);
  margin-top: 6px;
  font-size: 0.95rem;
}

.admin-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.admin-badge {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(87, 210, 140, 0.1);
  border: 1px solid rgba(87, 210, 140, 0.24);
  color: #8af0b4;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.container {
  max-width: 1480px;
  margin: 0 auto;
  padding: 30px 24px 38px;
}

.section {
  display: none;
}

.section.active {
  display: block;
}

.home-layout {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.home-sidebar {
  position: sticky;
  top: 112px;
}

.home-main {
  min-width: 0;
}
