:root {
  color-scheme: light;
  --background: #f3f5f8;
  --surface: #ffffff;
  --line: #d8dee8;
  --text: #172033;
  --muted: #637086;
  --accent: #4357c7;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--text); background: var(--background); }
a { color: var(--accent); font-weight: 700; }
.site-header, main, footer { width: min(960px, calc(100% - 32px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 72px; border-bottom: 1px solid var(--line); }
.site-header > div { display: flex; align-items: center; gap: 10px; }
.site-header p { color: var(--muted); font-size: .9rem; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 9px; color: white; background: var(--accent); font-weight: 900; }
main { padding: 58px 0 80px; }
.page-heading { margin-bottom: 30px; }
.eyebrow, .report-id { color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
h1 { margin: 8px 0 10px; font-size: clamp(2rem, 6vw, 3.2rem); letter-spacing: -.04em; }
.page-heading > p:last-child, .report-card p { color: var(--muted); }
.report-list { display: grid; gap: 14px; }
.report-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); box-shadow: 0 8px 30px rgb(31 45 76 / 5%); }
.report-card h2 { margin: 5px 0 8px; font-size: 1.18rem; }
.report-card p { margin: 0; }
.card-actions { display: grid; justify-items: end; gap: 14px; }
.status { display: inline-flex; padding: 6px 10px; border-radius: 999px; color: #31419d; background: #e8ebff; font-size: .8rem; font-weight: 800; }
.detail-card { padding: 34px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 12px 40px rgb(31 45 76 / 6%); }
.detail-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.detail-heading h1 { font-size: clamp(1.8rem, 5vw, 2.8rem); }
dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 28px 0; border-top: 1px solid var(--line); }
dl div { padding: 18px 0; border-bottom: 1px solid var(--line); }
dt { margin-bottom: 5px; color: var(--muted); font-size: .82rem; }
dd { margin: 0; font-weight: 750; }
.memo { padding: 22px; border-radius: 10px; background: #f1f3fb; }
.memo h2 { margin: 0 0 10px; font-size: 1rem; }
.memo p { margin: 0; line-height: 1.7; overflow-wrap: anywhere; }
footer { padding: 24px 0 38px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }

@media (max-width: 620px) {
  .site-header { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; padding: 14px 0; }
  .site-header p { margin: 0; }
  main { padding-top: 38px; }
  .report-card, .detail-heading { align-items: flex-start; flex-direction: column; }
  .card-actions { justify-items: start; }
  .detail-card { padding: 22px; }
  dl { grid-template-columns: 1fr; }
}
