@font-face {
  font-family: 'AlbertSans';
  src: url('/assets/font/AlbertSans-Regular.woff2') format('woff2'),
    url('/assets/font/AlbertSans-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'AlbertSans';
  src: url('/assets/font/AlbertSans-Medium.woff2') format('woff2'),
    url('/assets/font/AlbertSans-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'AlbertSans';
  src: url('/assets/font/AlbertSans-Bold.woff2') format('woff2'),
    url('/assets/font/AlbertSans-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

:root {
  --text: #212121;
  --muted: #616161;
  --background: #ffffff;
  --surface: #f5f5f5;
  --border: #e0e0e0;
  --link: #1e88e5;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #eeeeee;
    --muted: #bdbdbd;
    --background: #121212;
    --surface: #1e1e1e;
    --border: #333333;
    --link: #64b5f6;
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: AlbertSans, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--background);
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 64px;
}

header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

header img {
  height: 40px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

nav a {
  font-weight: 500;
  text-decoration: none;
}

nav a[aria-current='page'] {
  color: var(--text);
  pointer-events: none;
}

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

h1 {
  font-size: 1.8rem;
  line-height: 1.3;
  margin: 0 0 4px;
}

h2 {
  font-size: 1.25rem;
  margin: 32px 0 8px;
}

.updated {
  color: var(--muted);
  margin-top: 0;
}

.related {
  padding: 12px 16px;
  background: var(--surface);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0;
  font-size: 0.95rem;
}

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

th {
  background: var(--surface);
}

@media (max-width: 600px) {
  table,
  thead,
  tbody,
  tr,
  th,
  td {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
  }

  td {
    border: none;
    padding: 2px 0;
  }

  td:first-child {
    font-weight: 500;
  }
}
