:root {
  color-scheme: light;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
  background: #f6f3ed;
}

body {
  margin: 0;
}

.shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px;
}

.hidden {
  display: none !important;
}

.login {
  max-width: 420px;
  margin: 12vh auto;
  padding: 28px;
  border: 1px solid #ded6c8;
  border-radius: 8px;
  background: #fffdfa;
}

h1 {
  margin: 0 0 8px;
  font-size: 24px;
}

p {
  color: #647083;
}

label {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  font-weight: 650;
}

input {
  height: 42px;
  border: 1px solid #d7cdbc;
  border-radius: 6px;
  padding: 0 12px;
  font-size: 15px;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #cbbfae;
  border-radius: 6px;
  background: #172033;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.message {
  margin-top: 12px;
  color: #a33021;
}

.topbar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}

.actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0;
}

.cards article {
  padding: 18px;
  border: 1px solid #ded6c8;
  border-radius: 8px;
  background: #fffdfa;
}

.cards span {
  display: block;
  font-size: 30px;
  font-weight: 800;
}

.cards small {
  color: #647083;
}

.tableWrap {
  overflow: auto;
  border: 1px solid #ded6c8;
  border-radius: 8px;
  background: #fffdfa;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid #eee7dc;
  text-align: left;
  vertical-align: middle;
}

th {
  background: #faf7f1;
  color: #445064;
}

td img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 6px;
  background: #f2eee6;
}

@media (max-width: 720px) {
  .shell {
    padding: 16px;
  }
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .cards {
    grid-template-columns: 1fr;
  }
}
