:root {
  --navy: #0b172d;
  --ink: #10213f;
  --muted: #4c5d76;
  --blue: #1b56d2;
  --blue-dark: #1648b4;
  --line: #dce5f1;
  --pale: #f3f7fc;
  --white: #fff;
  font: 100%/1.6 system-ui, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--pale);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
p { margin: 0; }
a { color: var(--blue-dark); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.site-header { background: var(--navy); }

.site-header-inner {
  width: min(1100px, 100% - 36px);
  min-height: 68px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header img { display: block; width: 132px; height: auto; }
.site-header a:focus-visible { outline-color: #b9d6ff; }
.back-link { color: #c5dfff; font-size: .9375rem; text-underline-offset: 4px; }

.page {
  width: min(var(--page-width), 100% - 32px);
  margin-inline: auto;
  padding-block: clamp(30px, 7vw, 70px);
}

.report-page { --page-width: 860px; }

h1 {
  margin: 0 0 20px;
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  letter-spacing: -.035em;
  line-height: 1.25;
}

.panel {
  padding: clamp(16px, 4.7vw, 32px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 12px 36px #10213f0a;
}

.field-label { display: block; margin-bottom: 6px; font-weight: 650; }

input[type="date"] {
  min-width: 0;
  min-height: 48px;
  padding: 9px 12px;
  border: 1px solid #9badc7;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid var(--blue);
  border-radius: 8px;
  background: var(--blue);
  color: var(--white);
  font: inherit;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
}

.button:hover { background: var(--blue-dark); }
.button-secondary { border-color: #b9c9e2; color: var(--blue-dark); background: var(--white); }
.button-secondary:hover { background: var(--pale); }
.report-toolbar, .report-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px 14px;
}

.report-toolbar { justify-content: space-between; }
.report-toolbar :disabled { opacity: .6; cursor: default; }
.report-unclaimed-filter, .report-claim { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.report-unclaimed-filter { min-height: 48px; font-weight: 650; cursor: pointer; }
.report :is(.report-unclaimed-filter, .report-claim) input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--blue);
  cursor: inherit;
}
.report-count { margin-block: 22px 12px; color: var(--muted); }
.report-empty { padding: 20px 12px; border-radius: 8px; background: var(--pale); color: var(--muted); }
.report-error { margin-bottom: 12px; color: #a62121; }
.report-table { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: start; }
th { background: var(--pale); }
.report-contact { overflow-wrap: anywhere; }
.report-date { white-space: nowrap; }
.report-claim-cell { text-align: end; }
.report-claim { min-height: 36px; min-width: 7.15em; padding: 4px 10px; font-size: .875rem; }
.report-claim:has(:checked) { background: var(--pale); }
.report-claim:has(:disabled) { cursor: default; }
.report-pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px; margin-top: 18px; }
.report-pagination a { display: inline-block; padding-block: 8px; }

@media (max-width: 480px) {
  .report table { font-size: .8125rem; }
  .report :is(th, td) { padding-inline: 3px; }
  .report th { white-space: nowrap; }
  .report-claim { min-width: 6.2em; padding-inline: 5px; gap: 4px; font-size: inherit; }
  .report .report-claim input { width: .8125rem; height: .8125rem; }
}
