:root {
  color-scheme: light;
  --bg: #f6f8fb;
  --surface: #ffffff;
  --ink: #172033;
  --muted: #607086;
  --line: #d8e0ea;
  --accent: #0f8fa8;
  --accent-soft: #e2f7fb;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  margin: 0;
}

body {
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: var(--accent);
}

a:focus-visible {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
}

.page-shell {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.brand {
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 750;
}

.nav a {
  text-decoration: none;
}

.document {
  padding: clamp(20px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin: 30px 0 8px;
  font-size: 1.2rem;
}

p {
  margin: 0 0 12px;
}

ul,
ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.meta {
  margin-bottom: 24px;
  color: var(--muted);
  font-weight: 700;
}

.notice {
  padding: 14px 16px;
  border: 1px solid #b6dfe8;
  border-radius: 8px;
  background: var(--accent-soft);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th,
td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #eef3f8;
}

code {
  padding: 1px 4px;
  border-radius: 4px;
  background: #eef3f8;
}

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }
}

