:root {
  --bg: #f4f6f8;
  --card: #ffffff;
  --text: #18212b;
  --muted: #647383;
  --border: #dfe5ea;
  --accent: #1d5b3c;
  --accent-dark: #15442d;
  --danger: #a52828;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.site-header { background: #17241e; color: white; }
.header-inner {
  min-height: 64px; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.brand { color: white; font-weight: 750; font-size: 1.15rem; text-decoration: none; }
nav { display: flex; gap: 18px; }
nav a { color: #e8f1ec; text-decoration: none; }
.hero { padding: 44px 0 22px; }
.hero h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 4vw, 2.7rem); }
.hero p, .summary, .footer { color: var(--muted); }
.search {
  display: flex; gap: 10px; margin: 10px 0 18px;
  flex-wrap: wrap;
}
input, select, textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--border);
  border-radius: 8px; background: white; font: inherit;
}
.search input { flex: 1 1 360px; }
.search select { width: auto; min-width: 170px; }
button, .button {
  border: 0; border-radius: 8px; background: var(--accent); color: white;
  padding: 10px 15px; font: inherit; font-weight: 650; text-decoration: none;
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
}
button:hover, .button:hover { background: var(--accent-dark); }
.secondary { background: #647383; }
.danger { background: var(--danger); }
.summary { margin-bottom: 12px; }
.table-wrap {
  overflow-x: auto; background: var(--card); border: 1px solid var(--border);
  border-radius: 10px;
}
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 13px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { background: #eef2f0; font-size: .9rem; }
tr:last-child td { border-bottom: 0; }
code { white-space: nowrap; font-size: .95em; }
.empty { text-align: center; color: var(--muted); padding: 30px; }
.pagination { justify-content: space-between; margin: 22px 0; }
.pagination a { color: var(--accent); font-weight: 650; }
.footer { padding: 36px 0; text-align: center; }
.alert { padding: 12px; border-radius: 8px; margin-top: 18px; background: white; }
.alert-danger { border-left: 5px solid var(--danger); }
.alert-success { border-left: 5px solid var(--accent); }
.form-card {
  max-width: 720px; margin: 38px auto; padding: 26px;
  background: white; border: 1px solid var(--border); border-radius: 10px;
}
.form-card.narrow { max-width: 420px; }
.form-card form { display: grid; gap: 16px; }
.form-card label { display: grid; gap: 6px; font-weight: 650; }
textarea { min-height: 120px; resize: vertical; }
.actions { display: flex; flex-wrap: wrap; gap: 7px; }
.actions form { display: inline; }
.admin-title {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 32px;
}
.status {
  padding: 4px 7px; border-radius: 999px; font-size: .82rem; background: #e8ecef;
}
.status-verified { background: #dcefe4; }
.status-rejected { background: #f5dddd; }

@media (max-width: 700px) {
  .header-inner { align-items: flex-start; padding: 15px 0; flex-direction: column; }
  .header-inner nav { padding-bottom: 4px; }
  .table-wrap { border: 0; background: transparent; overflow: visible; }
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr {
    background: white; border: 1px solid var(--border);
    border-radius: 10px; margin-bottom: 12px; padding: 8px;
  }
  td { border: 0; padding: 7px 8px; }
  td::before {
    content: attr(data-label); display: block; color: var(--muted);
    font-size: .78rem; margin-bottom: 2px;
  }
  .admin-title { align-items: flex-start; gap: 16px; }
}
