:root {
  color-scheme: light;
  --ink: #18314f;
  --muted: #63758a;
  --line: #dbe7f3;
  --accent: #4f8fd8;
  --accent-soft: #eaf4ff;
  --surface: #ffffff;
  --background: #f5f9fd;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.72;
}

a { color: #246dbb; }

.topbar {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 2;
  backdrop-filter: blur(12px);
}

.topbar-inner,
.page {
  width: min(920px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.links { display: flex; gap: 14px; font-size: 14px; }
.links a { text-decoration: none; font-weight: 700; }

.page { padding: 48px 0 72px; }

.hero {
  background: linear-gradient(135deg, #eaf4ff, #f8fbff);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(24px, 5vw, 44px);
  margin-bottom: 22px;
}

h1 { margin: 0 0 8px; font-size: clamp(28px, 5vw, 42px); line-height: 1.25; }
h2 { margin: 38px 0 12px; font-size: 21px; }
h3 { margin: 24px 0 8px; font-size: 17px; }
p, li { overflow-wrap: anywhere; }
.summary, .updated { color: var(--muted); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(22px, 4vw, 38px);
  box-shadow: 0 14px 40px rgba(44, 90, 136, 0.07);
}

.notice {
  padding: 16px 18px;
  background: var(--accent-soft);
  border-radius: 14px;
}

table { width: 100%; border-collapse: collapse; margin: 12px 0; }
th, td { border: 1px solid var(--line); padding: 12px; text-align: left; vertical-align: top; }
th { background: #f2f7fc; }

footer { margin-top: 28px; color: var(--muted); font-size: 14px; text-align: center; }

@media (max-width: 640px) {
  .topbar-inner { align-items: flex-start; padding: 12px 0; }
  .links { flex-direction: column; gap: 2px; text-align: right; }
  .page { padding-top: 24px; }
  table, thead, tbody, tr, th, td { display: block; }
  th { border-bottom: 0; }
  td { margin-bottom: 10px; }
}

