:root {
  --bg: #f9f9f9;
  --surface: #ffffff;
  --text: #141312;
  --muted: #404142;
  --line: #dddddd;
  --green: #55783f;
  --blue: #426789;
  --link: #0a6fa8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.wrap { max-width: 960px; margin: 0 auto; padding: 0 20px; }
a { color: var(--link); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }

header.site { background: var(--surface); border-bottom: 1px solid var(--line); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.bar img { display: block; height: 38px; width: auto; }
nav { display: flex; gap: 20px; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
nav a:hover { color: var(--green); }

.hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 48px 0 40px; }
.hero h1 { margin: 0 0 16px; font-size: clamp(28px, 5vw, 40px); line-height: 1.2; color: var(--blue); }
.hero p { margin: 0 0 12px; max-width: 70ch; color: var(--muted); }

section.wrap { padding-top: 40px; padding-bottom: 8px; }
h2 { margin: 0 0 8px; font-size: 24px; color: var(--blue); }
section.wrap > p { margin: 0 0 20px; max-width: 70ch; color: var(--muted); }

.reports { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.report { display: flex; align-items: center; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 16px; }
.report img { flex: none; }
.report h3 { margin: 0 0 8px; font-size: 18px; }
.button { display: inline-block; padding: 6px 14px; border-radius: 6px; background: var(--green); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; }
.button:hover { background: #456432; }

.group { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; }
.group summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; cursor: pointer; font-weight: 600; }
.group summary:hover { color: var(--green); }
.count { color: var(--muted); font-weight: 400; font-size: 14px; white-space: nowrap; }
.group dl { margin: 0; padding: 0 16px 8px; border-top: 1px solid var(--line); }
.control { padding: 12px 0; border-bottom: 1px solid var(--line); }
.control:last-child { border-bottom: 0; }
.control dt { font-weight: 600; }
.control dd { margin: 4px 0 0; color: var(--muted); }

footer.site { margin-top: 48px; border-top: 1px solid var(--line); background: var(--surface); padding: 20px 0; color: var(--muted); font-size: 14px; }
footer.site p { margin: 4px 0; }

.notfound { padding: 80px 0; }
