:root {
  --bg: #f4f6f8;
  --panel: #ffffff;
  --ink: #17202a;
  --muted: #667085;
  --line: #dce3ea;
  --header: #eef3f7;
  --blue: #0f4c81;
  --green: #166534;
  --red: #b91c1c;
  --amber: #92400e;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Segoe UI", sans-serif;
  line-height: 1.55;
}
main { max-width: 1180px; margin: 0 auto; padding: 30px 20px 48px; }
.hero { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; margin-bottom: 18px; }
h1 { margin: 0; font-size: clamp(26px, 3vw, 36px); line-height: 1.2; letter-spacing: 0; }
h2 { margin: 0 0 10px; font-size: 18px; }
.meta { color: var(--muted); font-size: 14px; max-width: 780px; }
.nav { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
.nav a { color: var(--blue); font-weight: 850; text-decoration: none; }
.nav a:hover { text-decoration: underline; }
.summary-grid { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 12px; margin: 18px 0; }
.summary-card, .block-card, .notice {
  background: var(--panel);
  border: 1px solid #d7e2ea;
  border-radius: 8px;
  padding: 16px;
}
.summary-label { color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.summary-value { font-weight: 850; font-size: 22px; line-height: 1.35; }
.block-grid { display: grid; grid-template-columns: repeat(2, minmax(260px, 1fr)); gap: 12px; margin: 18px 0; }
.block-card p { color: #344054; margin: 0 0 12px; }
.block-score { font-size: 28px; font-weight: 850; margin-bottom: 8px; }
dl { display: grid; grid-template-columns: 120px 1fr; gap: 6px 12px; margin: 0; font-size: 13px; }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 700; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; min-width: 980px; border-collapse: separate; border-spacing: 0; background: var(--panel); }
th, td { padding: 10px 12px; border-bottom: 1px solid #edf1f5; text-align: left; vertical-align: middle; font-size: 13px; }
th { background: var(--header); font-weight: 750; color: #344054; white-space: nowrap; }
.positive { color: var(--green); font-weight: 850; }
.negative { color: var(--red); font-weight: 850; }
.neutral { color: var(--amber); font-weight: 800; }
.notice { color: #5f3b00; background: #fff8e5; border-color: #ead08a; margin: 16px 0; }
@media (max-width: 760px) {
  main { padding: 22px 14px 38px; }
  .hero { display: block; }
  .nav { justify-content: flex-start; margin-top: 12px; }
  .summary-grid, .block-grid { grid-template-columns: 1fr; }
}
