.app-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 260px minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  display: flex;
  height: 100vh;
  flex-direction: column;
  background: var(--sidebar);
  color: #fff;
  padding: 18px;
}

.brand {
  display: flex;
  min-height: 54px;
  align-items: center;
  gap: 8px;
  border-radius: 8px;
  padding: 8px;
  font-weight: 800;
}

.brand.qclock-brand {
  gap: 3px;
}

.brand img {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-word {
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.sidebar nav {
  display: grid;
  gap: 6px;
  margin-top: 20px;
}

.nav-link {
  display: flex;
  align-items: center;
  border-radius: 8px;
  padding: 11px 12px;
  color: rgb(255 255 255 / 0.78);
  font-weight: 800;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.nav-link:hover,
.nav-link.active {
  background: var(--primary);
  color: #fff;
  transform: scale(1.02);
}

.sidebar-footer {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  margin-top: auto;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.08);
  padding: 10px;
}

.sidebar-footer strong,
.sidebar-footer span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-footer span {
  color: rgb(255 255 255 / 0.66);
  font-size: 12px;
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 900;
}

.workspace {
  min-width: 0;
  transition: opacity 140ms ease;
}

.workspace.is-navigating {
  opacity: 0.52;
  pointer-events: none;
}

.topbar {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: #fff;
  padding: 18px 26px;
}

.topbar h1 {
  margin: 0;
  font-size: 28px;
  letter-spacing: -0.02em;
}

.top-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

main {
  padding: 24px;
}

.eyebrow {
  margin: 0;
  color: var(--primary);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow.light { color: rgb(255 255 255 / 0.74); }
.muted { color: var(--muted-foreground); }
