* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f4f7f6;
  color: #1f2933;
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: #0f766e;
  text-decoration: none;
}

.site-header {
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #d9e2e1;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 14px 28px;
}

.brand {
  color: #134e4a;
  font-size: 20px;
  font-weight: 700;
}

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

.nav form {
  margin: 0;
}

.container {
  margin: 0 auto;
  max-width: 1120px;
  padding: 28px;
}

.page-heading {
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin-bottom: 18px;
}

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card,
.panel,
.auth-card {
  background: #ffffff;
  border: 1px solid #d9e2e1;
  border-radius: 8px;
  padding: 20px;
}

.card {
  color: #1f2933;
  display: grid;
  gap: 8px;
}

.card strong {
  color: #134e4a;
}

.auth-card,
.panel {
  margin: 0 auto;
  max-width: 640px;
}

table {
  background: #ffffff;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  width: 100%;
}

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

th {
  background: #e6fffb;
  color: #134e4a;
}

.form p {
  display: grid;
  gap: 6px;
}

input,
select,
textarea {
  border: 1px solid #b6c2c0;
  border-radius: 6px;
  font: inherit;
  padding: 10px;
  width: 100%;
}

button,
.button {
  background: #0f766e;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font: inherit;
  padding: 10px 14px;
}

.danger {
  background: #b91c1c;
}

.actions {
  align-items: center;
  display: flex;
  gap: 12px;
}

.message {
  background: #dcfce7;
  border: 1px solid #86efac;
  border-radius: 6px;
  margin-bottom: 16px;
  padding: 12px;
}

@media (max-width: 760px) {
  .site-header,
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  table {
    display: block;
    overflow-x: auto;
  }
}
