body {
  margin: 0;
  background: #f6f7fb;
  color: #172033;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.sidebar {
  background: #ffffff;
  border-right: 1px solid #e7eaf0;
  padding: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 36px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #111827;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 15px;
}

.brand span {
  display: block;
  color: #778096;
  font-size: 12px;
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.nav-section {
  margin: 22px 0 6px;
  font-size: 11px;
  font-weight: 800;
  color: #9aa3b5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-link {
  padding: 11px 13px;
  border-radius: 10px;
  color: #30394f;
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
}

.nav-link.active {
  background: #eef2ff;
  color: #1d3ed8;
}

.nav-link.disabled {
  color: #a5adbd;
  cursor: default;
}

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

.topbar {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
}

.content-panel {
  padding: 0 32px 40px;
}

.signout-button {
  border: 1px solid #d9deea;
  background: #ffffff;
  color: #30394f;
  border-radius: 9px;
  padding: 9px 14px;
  font-weight: 700;
  cursor: pointer;
}

.flash {
  margin: 0 32px 18px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 650;
}

.flash.notice {
  background: #ecfdf5;
  color: #047857;
}

.flash.alert {
  background: #fef2f2;
  color: #b91c1c;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 6px;
  color: #1d4ed8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 900;
}

h1 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.04em;
}

.page-subtitle {
  margin: 8px 0 0;
  color: #6b7280;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  background: #ffffff;
  border: 1px solid #e7eaf0;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.stat-label {
  display: block;
  color: #788196;
  font-size: 13px;
  font-weight: 750;
  margin-bottom: 10px;
}

.stat-card strong {
  font-size: 32px;
  letter-spacing: -0.04em;
}

.nav-link {
  @apply block rounded-xl px-4 py-3 text-sm font-medium text-gray-700 transition-all duration-150;
}

.nav-link:hover {
  @apply bg-gray-50 text-gray-900 translate-x-1;
}

