/* Open Center shell: left menu + right content */
.shell {
  display: flex;
  min-height: 100vh;
  background: #f7f8fb;
}

.sidebar {
  position: sticky;
  top: 0;
  width: 232px;
  height: 100vh;
  flex: none;
  display: flex;
  flex-direction: column;
  padding: 24px 14px 18px;
  background: #fff;
  border-right: 1px solid #eef1f5;
}

.side-brand {
  padding: 0 10px 26px;
}
.side-brand .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: 18px;
}
.side-brand strong {
  display: block;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.side-brand p {
  margin: 2px 0 0;
  font-size: 9px;
  letter-spacing: 0.12em;
  color: #98a2b3;
  text-transform: uppercase;
}

.side-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #667085;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}
.nav-item svg {
  width: 19px;
  height: 19px;
  flex: none;
}
.nav-item:hover {
  background: #f7f8fb;
  color: #344054;
}
.nav-item.active {
  background: #eef2ff;
  color: #2f4fe0;
  font-weight: 600;
}

.side-bottom {
  margin-top: auto;
  padding: 14px 4px 0;
  border-top: 1px solid #eef1f5;
}
.side-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 10px;
  color: #667085;
  font-size: 12px;
  text-decoration: none;
}
.side-link:hover { background: #f7f8fb; color: #344054; }
.side-link svg { width: 17px; height: 17px; }

.side-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 12px 10px 7px;
}
.who { font-size: 11px; color: #667085; }
.side-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 10px;
}
.logout {
  border: 0;
  background: transparent;
  color: #98a2b3;
  font-size: 11px;
  cursor: pointer;
}
.logout:hover { color: #f04438; }

.content {
  flex: 1;
  min-width: 0;
  padding: 30px 38px 44px;
}
.page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  max-width: 1180px;
  margin: 0 auto 18px;
}
.eyebrow {
  margin: 0 0 6px;
  color: #98a2b3;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.page-head h2 {
  margin: 0;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.03em;
}
.page-sub {
  margin: 4px 0 0;
  color: #98a2b3;
  font-size: 12px;
}
.page-head__right {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-top: 14px;
  font-size: 11px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #12b76a;
}
.content .main {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0;
}
.content .cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.content .panel { margin-top: 16px; }

@media (max-width: 900px) {
  .sidebar { width: 76px; padding: 18px 10px; }
  .side-brand { padding: 0 8px 20px; }
  .side-brand div, .side-link span, .side-user .who, .side-foot .badge, .nav-item span { display: none; }
  .nav-item { justify-content: center; padding: 0; }
  .side-link { justify-content: center; padding: 10px 0; }
  .side-user { justify-content: center; padding: 10px 0 4px; }
  .side-foot { justify-content: center; }
  .content { padding: 24px 20px 36px; }
  .content .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .shell { display: block; }
  .sidebar {
    position: static;
    width: auto;
    height: auto;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid #eef1f5;
    overflow-x: auto;
  }
  .side-brand { padding: 0 6px 0 0; }
  .side-brand div { display: none; }
  .side-nav { flex-direction: row; gap: 2px; }
  .nav-item { width: 40px; height: 38px; }
  .nav-item span { display: none; }
  .side-bottom { display: flex; margin: 0 0 0 auto; padding: 0; border: 0; }
  .side-link, .side-user, .side-foot { display: none; }
  .content { padding: 20px 16px 32px; }
  .page-head h2 { font-size: 21px; }
  .page-head__right { display: none; }
}
