:root {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f7f8;
  color: #17212b;
}
* { box-sizing: border-box; }
body { margin: 0; }
main { min-height: 100vh; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button {
  border: 0;
  border-radius: 8px;
  padding: 11px 14px;
  background: #0f6b5f;
  color: #fff;
  font-weight: 700;
}
.secondary { background: #dfe7ee; color: #17212b; }
input, select, textarea {
  border: 1px solid #c9d3dc;
  border-radius: 8px;
  padding: 11px;
  background: #fff;
}
.checkLabel {
  display: flex;
  align-items: center;
  gap: 8px;
}
.checkLabel input {
  width: auto;
}
.hidden { display: none !important; }
.login {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 16px;
  width: min(420px, 100%);
  margin: 0 auto;
  padding: 24px;
}
.login form { display: grid; gap: 14px; }
label { display: grid; gap: 7px; color: #43515f; }
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  border-bottom: 1px solid #dfe7ee;
}
h1, h2 { margin: 0; }
h2 { font-size: 22px; }
nav { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
a { color: #0f6b5f; font-weight: 700; }
.band {
  display: grid;
  gap: 16px;
  padding: 22px 28px;
  border-bottom: 1px solid #dfe7ee;
}
.inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.tableWrap {
  width: 100%;
  overflow: auto;
  border: 1px solid #dfe7ee;
  border-radius: 8px;
  background: #fff;
}
table {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
}
.tableActions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tableActions button {
  padding: 8px 10px;
}
dialog {
  width: min(94vw, 520px);
  border: 0;
  border-radius: 8px;
  padding: 0;
}
dialog::backdrop { background: rgba(23, 33, 43, 0.55); }
#editUserForm {
  display: grid;
  gap: 14px;
  padding: 18px;
}
#editUserForm h2 { margin: 0; }
menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0;
  margin: 0;
}
th, td {
  border-bottom: 1px solid #dfe7ee;
  padding: 10px;
  text-align: left;
  vertical-align: top;
  font-size: 14px;
}
th { background: #f4f7f8; color: #43515f; position: sticky; top: 0; }
.highlightRow {
  animation: highlightRow 1800ms ease-out;
}
.error { color: #b52b22; }
.note { margin: 0; color: #637485; }
.danger { background: #fff8f8; }
.actionList {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 12px;
  max-width: 920px;
}
.actionItem {
  min-width: 0;
}
.actionItem button {
  width: 100%;
  min-width: 0;
  min-height: 46px;
}
@media (max-width: 720px) {
  header, .row { display: grid; }
  .band { padding: 18px 14px; }
  .actionList { grid-template-columns: 1fr; }
}

@keyframes highlightRow {
  0% { background: rgba(15, 107, 95, 0.18); }
  100% { background: transparent; }
}
