:root {
  --bg: #0b1020;
  --panel: #111c34;
  --panel-soft: #1a2643;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --accent: #60a5fa;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: radial-gradient(circle at top right, #1e3a8a, var(--bg) 42%);
  color: var(--text);
}

.container.shell { width: min(1080px, 92%); margin: 0 auto; }
.topbar { border-bottom: 1px solid #28406a; }
.topbar .shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}
.brand { color: #fff; text-decoration: none; font-weight: 700; }
.nav-links { display: flex; gap: 14px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: #fff; }
.nav-links span { color: var(--text); font-weight: 600; }

main { padding: 28px 0 48px; }
.hero h1 { margin: 0; }
.hero p { color: var(--muted); }

.card-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

.card {
  background: linear-gradient(140deg, var(--panel), var(--panel-soft));
  border: 1px solid #32466f;
  border-radius: 14px;
  padding: 16px;
}
.listing-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid #32466f;
}

.listing h3 { margin-top: 0; margin-bottom: 8px; }
.muted { color: var(--muted); }

.form-grid { display: grid; gap: 12px; }
input {
  width: 100%;
  margin-top: 6px;
  background: #0a1530;
  border: 1px solid #32466f;
  color: var(--text);
  border-radius: 10px;
  padding: 10px;
}

.btn-primary {
  background: var(--accent);
  color: #0b1b34;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}
.btn-warn {
  background: #f59e0b;
  color: #1f2937;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}
.btn-danger {
  background: #ef4444;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}
.btn-secondary {
  background: #334155;
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}
.actions {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}
.btn-link {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  font-size: 1rem;
}
.btn-link:hover { color: #fff; }

.alert.err {
  margin-top: 12px;
  background: #3f1d25;
  border: 1px solid #7f1d1d;
  color: #fecaca;
  border-radius: 10px;
  padding: 10px 12px;
}
.field-validation {
  display: block;
  margin-top: 4px;
  color: #f87171;
  font-size: .86rem;
  font-weight: 600;
}
.field-validation-valid { display: none; }
.validation-summary-errors,
.validation-summary-valid {
  color: #f87171;
}

.footer {
  border-top: 1px solid #28406a;
  color: var(--muted);
  padding: 16px 0 24px;
}

.report-list {
  text-align: left;
  max-height: 320px;
  overflow: auto;
}
.report-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  margin-bottom: 10px;
  color: #334155;
}
.report-summary {
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
}
.report-filter input {
  width: 16px;
  height: 16px;
  margin: 0;
}
.report-item {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
}
.report-empty {
  color: #64748b;
  padding: 8px 2px;
}