/* NM-149: the report page — a quiet table page next to the map, no JavaScript. */

:root {
  --nm-header: 64px;
  --nm-red: #c1121f;
  --nm-yellow: #e3a008;
  --nm-ink: #1d2327;
  --nm-muted: #5c666d;
  --nm-line: #d8dde1;
  --nm-paper: #f7f8f9;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font: 14px/1.45 system-ui, "Segoe UI", sans-serif;
  color: var(--nm-ink);
  background: var(--nm-paper);
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--nm-header);
  padding: 0 16px;
  background: #fff;
  border-bottom: 1px solid var(--nm-line);
}

.page-header h1 {
  margin: 0;
  font-size: 18px;
}

.report-navigation {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chip {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--nm-line);
  border-radius: 999px;
  color: var(--nm-ink);
  text-decoration: none;
  background: #fff;
}

.chip:hover {
  border-color: var(--nm-muted);
}

.report-main {
  max-width: 960px;
  margin: 24px auto;
  padding: 0 16px;
}

#nm-report {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--nm-line);
}

#nm-report caption {
  padding: 10px 12px;
  text-align: left;
  color: var(--nm-muted);
}

#nm-report th,
#nm-report td {
  padding: 8px 12px;
  border-top: 1px solid var(--nm-line);
  text-align: left;
}

#nm-report thead th {
  border-top: none;
  background: #eef1f3;
  font-weight: 600;
}

#nm-report .place,
#nm-report .hours {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

#nm-report .centre {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.swatch {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 6px;
  border-radius: 2px;
}

.swatch-red {
  background: var(--nm-red);
}

.swatch-yellow {
  background: var(--nm-yellow);
}

.report-note {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--nm-line);
  border-radius: 8px;
  color: var(--nm-muted);
}
