@font-face {
  font-family: Nunito;
  src: url('/ui/fonts/Nunito-Variable.ttf') format('truetype');
  font-weight: 200 900;
  font-display: swap;
}
:root {
  color-scheme: light;
  --cream: #fff6e8;
  --paper: #fffdf7;
  --ink: #43362a;
  --muted: #6d6255;
  --olive: #4e6238;
  --terra: #a94f35;
  --line: #dfccb0;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Nunito, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.7;
}
a {
  color: var(--olive);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--terra);
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 4px;
}
.site-header {
  background: var(--paper);
  border-bottom: 2px solid var(--line);
}
.header-inner {
  max-width: 1000px;
  margin: auto;
  padding: 18px 24px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.brand {
  font-weight: 900;
  text-decoration: none;
  color: var(--terra);
  font-size: 21px;
  line-height: 1.2;
}
.header-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.back-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-weight: 800;
}
.language {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}
.language button {
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  min-height: 48px;
  min-width: 64px;
  padding: 0 12px;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}
.language button[aria-pressed='true'] {
  background: var(--olive);
  color: white;
}
.document {
  max-width: 860px;
  margin: 0 auto;
  padding: 42px 24px 64px;
}
h1 {
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
  color: var(--terra);
}
h2 {
  font-size: 23px;
  line-height: 1.3;
  margin: 32px 0 12px;
}
h3 {
  font-size: 19px;
  line-height: 1.35;
  margin: 22px 0 8px;
}
p {
  margin: 0 0 16px;
}
.date {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 30px;
}
.lead {
  font-size: 19px;
  line-height: 1.6;
}
.note {
  padding: 17px 20px;
  background: var(--paper);
  border-left: 4px solid var(--olive);
  margin: 24px 0;
}
.note p:last-child {
  margin-bottom: 0;
}
.section {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 1px;
}
ul,
ol {
  padding-left: 24px;
  margin: 12px 0 20px;
}
li {
  margin: 8px 0;
}
.table-wrap {
  overflow-x: auto;
  margin: 18px 0;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.55;
}
th,
td {
  padding: 13px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
th {
  background: #efe4ce;
  font-weight: 900;
}
td:first-child {
  font-weight: 800;
  min-width: 125px;
}
code {
  font-size: 0.9em;
  overflow-wrap: anywhere;
}
.action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  background: var(--olive);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 900;
}
.action-link:hover {
  background: #3f522d;
  color: #fff;
}
.footer {
  max-width: 860px;
  margin: 0 auto;
  padding: 24px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer nav {
  display: flex;
  gap: 18px;
}
.footer a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
}
[hidden] {
  display: none !important;
}
@media (max-width: 520px) {
  .header-inner {
    padding: 14px 18px;
    gap: 8px;
  }
  .brand {
    font-size: 19px;
  }
  .header-links {
    width: 100%;
    justify-content: space-between;
  }
  .document {
    padding: 30px 18px 44px;
  }
  body {
    font-size: 16px;
  }
  .lead {
    font-size: 18px;
  }
  h2 {
    font-size: 21px;
  }
  .note {
    padding: 14px 16px;
  }
  th,
  td {
    padding: 10px 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
@media print {
  .header-links,
  .footer {
    display: none;
  }
  .document {
    max-width: none;
    padding: 0;
  }
  body {
    background: white;
    color: black;
  }
  h1,
  h2,
  a {
    color: black;
  }
  .note {
    border: 1px solid #aaa;
  }
  a {
    text-decoration: none;
  }
}
