:root {
  --blue: #075c9f;
  --ink: #16202a;
  --muted: #586674;
  --bg: #f4f7fb;
  --line: #d9e1ea;
  --focus: #f8b800;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  line-height: 1.5;
}
.wrap {
  width: min(1800px, calc(100% - clamp(24px, 4vw, 80px)));
  margin: auto;
}
main.wrap{display:flex;flex-direction:column;padding-bottom:48px}
.hero {
  padding: 48px 0;
  background: linear-gradient(115deg, #063c6b, #087dba);
  color: #fff;
}
.eyebrow {
  margin: 0 0 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.8;
}
h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.3rem);
}
.lead {
  max-width: 660px;
  margin: 10px 0 0;
  font-size: 1.1rem;
}
.search-card,
.details {
  background: #fff;
  margin-top: 20px;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 28px #0d35521a;
}
h2 {
  margin-top: 0;
}
.query-row {
  display: flex;
  gap: 10px;
}
.query-row input {
  flex: 1;
  min-width: 0;
}
.filters {
  display: flex;
  gap: 18px;
  margin-top: 16px;
  flex-wrap: wrap;
}
label {
  display: grid;
  gap: 6px;
  font-weight: 650;
}
input,
select,
button {
  font: inherit;
}
input,
select {
  border: 1px solid #aebbc8;
  border-radius: 7px;
  padding: 10px;
  background: #fff;
}
select {
  width: 100%;
  margin: 7px 0 14px;
}
button {
  border: 0;
  border-radius: 7px;
  background: var(--blue);
  color: #fff;
  padding: 10px 17px;
  font-weight: 700;
  cursor: pointer;
}
button:hover {
  background: #064d84;
}
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}
.status {
  min-height: 24px;
  color: var(--muted);
  margin: 18px 0 12px;
}
.table-wrap {
  overflow-x: auto;
  overflow-y: auto;
  overscroll-behavior-x: contain;
  scrollbar-gutter: stable both-edges;
  border: 1px solid var(--line);
  border-radius: 8px;
  max-height: 620px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9rem;
}
th,
td {
  padding: 9px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}
th {
  position: sticky;
  top: 0;
  background: #edf4f9;
}
@media (max-width: 560px) {
  .wrap {
    width: calc(100% - 24px);
  }
  .hero {
    padding: 34px 0;
  }
  .query-row {
    display: grid;
  }
  .query-row button {
    width: 100%;
  }
  .search-card,
  .details {
    padding: 18px;
  }
}
