html {
  font-size: 15px;
}

body {
  background: #f6f7f9;
  color: #1f2933;
  margin-bottom: 48px;
}

a {
  color: #1662a8;
}

code {
  background: #eef2f6;
  border-radius: 4px;
  padding: 2px 5px;
}

table {
  background: #fff;
  border-collapse: collapse;
  border: 1px solid #d9e0e8;
  width: 100%;
}

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

th {
  background: #eef2f6;
  font-weight: 700;
}

input,
select {
  border: 1px solid #c8d2de;
  border-radius: 6px;
  padding: 9px 10px;
  width: 100%;
}

button,
.button {
  background: #1d4f7a;
  border: 0;
  border-radius: 6px;
  color: #fff;
  display: inline-block;
  font-weight: 700;
  padding: 9px 14px;
  text-decoration: none;
}

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

.admin-shell.narrow {
  max-width: 680px;
}

.admin-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.panel {
  background: #fff;
  border: 1px solid #d9e0e8;
  border-radius: 8px;
  margin-bottom: 22px;
  padding: 18px;
}

.grid-form {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stacked-form {
  display: grid;
  gap: 10px;
}

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

.error {
  color: #a12727;
  font-weight: 700;
}

.success {
  border-color: #8abf9a;
}

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