*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  background: #dfe4ea;
  color: #12161c;
  font-family: "IBM Plex Sans", sans-serif;
}

a { color: inherit; text-decoration: none; }

.app {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}

aside {
  background: #12161c;
  color: #e8edf2;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.logo {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.logo span { color: #7aa2ff; }

aside nav { display: flex; flex-direction: column; gap: 0.35rem; }

aside nav a {
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  font-size: 0.9rem;
}

aside nav a.on,
aside nav a:hover { background: #243044; }

.status {
  margin-top: auto;
  font-size: 0.75rem;
  color: #9aa7b5;
}

main { padding: 1.5rem; }

header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.label {
  margin: 0 0 0.25rem;
  color: #5c6b7a;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 { margin: 0; font-size: 1.6rem; font-weight: 600; }

.btn {
  background: #2f6bff;
  color: #fff;
  padding: 0.55rem 0.9rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.cards article,
.panel {
  background: #f7f9fc;
  border: 1px solid #c9d3de;
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

.cards p:first-child {
  margin: 0;
  color: #5c6b7a;
  font-size: 0.75rem;
}

.cards h2 { margin: 0.35rem 0; font-size: 1.15rem; font-weight: 600; }

.panel { margin-top: 0.85rem; }
.panel h2 { margin: 0 0 0.4rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: #5c6b7a; }

.mail { margin: 1rem 0 0; }
.mail a { color: #2f6bff; font-weight: 500; }

@media (max-width: 800px) {
  .app { grid-template-columns: 1fr; }
  aside { flex-direction: row; align-items: center; }
  aside nav { flex-direction: row; }
  .status { display: none; }
  .cards { grid-template-columns: 1fr; }
}
