.screen {
  display: none;
  min-height: 100vh;
}

.screen.active {
  display: flex;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.main {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
  min-height: 100vh;
  background: var(--color-bg-soft);
  color: var(--color-text);
}

.sidebar {
  width: 240px;
  background: var(--color-surface);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.page-hdr {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.page-title {
  font-size: 1.35rem;
  font-weight: 700;
}

.page-sub {
  font-size: 0.83rem;
  color: var(--color-text-light);
  margin-top: 0.2rem;
}

@media (max-width: 768px) {
  .sidebar {
    width: 200px;
  }

  .grid3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .sidebar {
    display: none;
  }

  .grid2,
  .grid3 {
    grid-template-columns: 1fr;
  }

  #client-screen .main {
    padding-bottom: 5rem;
  }
}