/* layout: estilos compartilhados. */
.sidebar {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.sidebar .brand,
.sidebar .nav,
.sidebar .nav-item {
  flex-shrink: 0;
}
.shell {
  display: flex;
  min-height: 100vh;
  padding: 20px;
  gap: 28px;
}
.sidebar {
  width: 225px;
  flex-shrink: 0;
  background: var(--surface);
  border-radius: 24px;
  padding: 26px 14px 18px;
  position: sticky;
  top: 20px;
  height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 13px 28px;
  font-size: 22px;
  line-height: 1.1;
  letter-spacing: -0.6px;
}
.brand .icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
}
.brand span {
  display: block;
  font-size: 19px;
  font-weight: 450;
}
.nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.nav-item {
  border: 0;
  text-align: left;
  background: none;
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 13px 14px;
  border-radius: 13px;
  white-space: nowrap;
}
.nav-item:hover {
  background: var(--bg);
}
.nav-item.active {
  background: var(--soft);
  color: #6650a6;
  font-weight: 600;
}
.nav-item.bottom {
  margin-top: auto;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding-top: 20px;
}
.workspace {
  min-width: 0;
  flex: 1;
  padding: 8px 8px 30px 0;
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  height: 36px;
  margin-bottom: 25px;
}
.demo {
  margin-right: auto;
  font-size: 11px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 7px;
}
.demo i {
  width: 6px;
  height: 6px;
  background: #a99ad9;
  border-radius: 50%;
}
.profile {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  text-align: left;
  font-size: 12px;
}
.profile small {
  display: block;
  font-size: 10px;
}
.head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}
.head p {
  color: var(--muted);
  font-size: 15px;
  margin-top: 7px;
}
.page {
  animation: rise 0.3s ease;
}
.skip {
  position: fixed;
  top: -70px;
  left: 20px;
  padding: 12px;
  background: white;
  z-index: 999;
}
.skip:focus {
  top: 10px;
}
.mobile-menu {
  display: none;
}
.nav-item {
  font-size: calc(13px * var(--scale));
}
