:root {
  --green: #0b5134;
  --gold: #c8a64a;
  --ink: #1f2933;
  --muted: #637083;
  --line: #d8dee6;
  --bg: #f6f8f7;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  background: var(--green);
  color: var(--white);
  border-bottom: 6px solid var(--gold);
  padding: 24px 0;
}

.site-header h1 {
  margin: 0;
  font-size: 28px;
}

.site-header p {
  margin: 4px 0 0;
}

.filters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 16px;
  margin: 24px 0;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
}

.actions {
  display: flex;
  align-items: end;
  gap: 10px;
  flex-wrap: wrap;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid var(--green);
  border-radius: 4px;
  background: var(--green);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button.secondary {
  background: var(--white);
  color: var(--green);
}

.summary {
  color: var(--muted);
}

.alert {
  margin: 20px 0;
  padding: 14px 16px;
  border: 1px solid #b83a3a;
  border-radius: 4px;
  background: #fff5f5;
  color: #7f1d1d;
}

.table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

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

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #edf2ef;
  color: #173b2c;
  font-size: 13px;
}

.numeric {
  text-align: right;
  white-space: nowrap;
}

.pagination {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 18px 0 36px;
}
