:root {
  font-family: Arial, sans-serif;
  color: #18212f;
  background: #f4f6f8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

.layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px 1fr;
}

.sidebar {
  background: #111827;
  color: #fff;
  padding: 24px 18px;
}

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

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

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 3px;
  color: #9ca3af;
}

nav {
  display: grid;
  gap: 7px;
}

nav a {
  color: #d1d5db;
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 8px;
}

nav a:hover,
nav a.active {
  color: #fff;
  background: #1f2937;
}

.menu-title {
  margin: 18px 12px 4px;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.content {
  padding: 34px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.eyebrow {
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
}

.status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(0,0,0,.05);
  font-size: 13px;
  font-weight: 700;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #22c55e;
}

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

.metric-card,
.panel {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(0,0,0,.05);
}

.metric-card {
  padding: 22px;
}

.metric-card span,
.metric-card small {
  display: block;
  color: #6b7280;
}

.metric-card strong {
  display: block;
  margin: 10px 0;
  font-size: 34px;
}

.panel {
  margin-top: 24px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.panel p {
  max-width: 650px;
  margin-bottom: 0;
  color: #6b7280;
  line-height: 1.6;
}

.button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 9px;
  background: #111827;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 950px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .sidebar {
    min-height: auto;
  }

  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .content {
    padding: 20px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .panel,
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
