:root {
  font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', sans-serif;
  color: #202b2b;
  background: #fcfbf7;
  --ink: #202b2b;
  --muted: #68716c;
  --line: #dedfd6;
  --paper: #fcfbf7;
  --green: #476829;
  --gold: #927018;
  --header: 72px;
  scroll-padding-top: 104px;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
a:hover {
  color: #223912;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #688d3c;
  outline-offset: 4px;
}
button {
  border: 0;
  background: none;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
.js-only {
  display: none !important;
}
.document-enhanced .js-only {
  display: inline-flex !important;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  background: #f3ba2f;
  color: #202b2b;
  padding: 12px;
}
.skip-link:focus {
  top: 12px;
}
.document-header {
  height: var(--header);
  padding: 0 36px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid #303a3b;
  background: #111a1d;
  color: #edf0e6;
  position: sticky;
  top: 0;
  z-index: 30;
}
.document-brand {
  display: flex;
  align-items: center;
}
.document-brand img {
  display: block;
  object-fit: contain;
}
.header-title {
  font-size: 14px;
  letter-spacing: 0.04em;
  padding-left: 24px;
  border-left: 1px solid #3c4648;
}
.header-title span {
  color: #b5c692;
  font-size: 12px;
  margin-left: 10px;
}
.document-tools {
  margin-left: auto;
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: 13px;
}
.document-tools a {
  color: #d7ddd4;
  text-decoration: none;
  white-space: nowrap;
}
.document-tools a:hover {
  color: #b4ff38;
}
.document-tools .pdf-download {
  padding: 9px 14px;
  background: #e5edda;
  color: #24351e;
  border-radius: 4px;
}
.document-tools .pdf-download:hover {
  background: #b4ff38;
  color: #132300;
}
.document-tools span {
  margin-left: 6px;
}
.document-layout {
  max-width: 1296px;
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  column-gap: 76px;
  margin: 0 auto;
  padding: 0 32px;
}
.document-sidebar {
  position: sticky;
  top: var(--header);
  height: calc(100dvh - var(--header));
  padding: 35px 0 24px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.sidebar-heading {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  padding: 0 22px 22px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.toc-close {
  display: none !important;
}
.document-toc {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  padding-right: 18px;
  flex: 1;
}
.toc-group {
  margin-bottom: 5px;
}
.toc-main {
  display: flex;
  gap: 12px;
  padding: 11px 12px;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
  color: #5f6861;
  border-radius: 4px;
}
.toc-number {
  font-size: 10px;
  color: #89917f;
  min-width: 24px;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
}
.toc-main:hover {
  background: #f0f1e8;
}
.toc-main[aria-current] {
  color: #2f4c1c;
  background: #eaf0e0;
  font-weight: 600;
}
.toc-main[aria-current] .toc-number {
  color: #52722e;
}
.toc-sub {
  list-style: none;
  padding: 3px 6px 10px 46px;
  margin: 0;
}
.toc-sub a {
  display: block;
  padding: 7px 0;
  font-size: 12px;
  line-height: 1.5;
  text-decoration: none;
  color: #79816f;
}
.toc-sub a:hover {
  color: var(--green);
}
.document-enhanced .toc-sub {
  display: none;
}
.document-enhanced .is-current .toc-sub {
  display: block;
}
.sidebar-foot {
  padding: 20px 24px 0 12px;
  margin-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--muted);
}
.sidebar-foot a {
  text-decoration: none;
}
.document-main {
  min-width: 0;
  max-width: 780px;
  padding: 60px 0 34px;
}
.document-cover {
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}
.cover-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.07em;
}
.edition-dot {
  width: 7px;
  height: 7px;
  border-radius: 100%;
  background: #9b7b28;
}
.edition {
  margin-left: auto;
  letter-spacing: 0;
  border: 1px solid #d6d9ca;
  padding: 4px 9px;
  font-size: 11px;
  border-radius: 3px;
  color: var(--green);
}
h1 {
  font-size: 54px;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 30px 0 24px;
  font-weight: 600;
}
h1 span {
  display: block;
  font-size: 44px;
  margin-top: 8px;
  letter-spacing: -0.02em;
}
.cover-subtitle {
  font-size: 20px;
  line-height: 1.7;
  color: #667160;
  margin: 0;
}
.document-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 11px;
  color: #78816f;
  margin-top: 28px;
  line-height: 1.8;
}
.document-meta span + span {
  border-left: 1px solid #d3d8ca;
  padding-left: 18px;
}
.cover-principle {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 38px;
  font-size: 13px;
  font-weight: 500;
  color: #5a642e;
}
.principle-divider {
  font-weight: 300;
  color: #adb59d;
}
.document-section {
  padding-top: 62px;
  scroll-margin-top: 0;
}
.section-kicker {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: #8c794d;
  font-weight: 500;
  margin-bottom: 12px;
}
h2 {
  font-size: 29px;
  line-height: 1.45;
  letter-spacing: -0.025em;
  margin: 0 0 26px;
  font-weight: 600;
}
h3 {
  font-size: 19px;
  line-height: 1.5;
  margin: 35px 0 16px;
  letter-spacing: -0.01em;
  font-weight: 600;
  scroll-margin-top: 104px;
}
.heading-link {
  font-size: 14px;
  vertical-align: middle;
  text-decoration: none;
  font-weight: 400;
  margin-left: 12px;
  color: #a4ae99;
  opacity: 0;
}
.document-section h2:hover .heading-link,
h3:hover .heading-link,
.heading-link:focus-visible {
  opacity: 1;
}
p,
li {
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.005em;
}
p {
  margin: 16px 0;
}
strong {
  font-weight: 600;
  color: #253324;
}
.document-section > ul,
.document-section > ol {
  padding-left: 24px;
}
.document-section > ol > li,
.document-section > ul > li {
  margin: 9px 0;
  padding-left: 5px;
}
code {
  font-family: 'SFMono-Regular', Consolas, monospace;
  overflow-wrap: anywhere;
  font-size: 0.84em;
  background: #eff1e8;
  padding: 3px 5px;
  border-radius: 3px;
}
.citation {
  font-size: 12px;
  margin: 0 1px;
  text-decoration: none;
  vertical-align: super;
}
.note {
  margin: 24px 0;
  padding: 18px 22px;
  background: #f0f2e9;
  border: 1px solid #e2e5d6;
  border-radius: 4px;
}
.note p {
  font-size: 14px;
  line-height: 1.85;
  margin: 0;
}
.note-version {
  background: #f4f3ec;
}
.note-rule {
  background: #f7f2e3;
  border-color: #e9dfc0;
}
.note-example {
  background: #eef3e7;
  border-color: #dce7cd;
}
.table-scroll {
  margin: 22px 0;
  overflow-x: auto;
  max-width: 100%;
  border: 1px solid #d8ded0;
  border-radius: 5px;
  scrollbar-width: thin;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
  line-height: 1.8;
}
th,
td {
  padding: 13px 15px;
  vertical-align: top;
  border-bottom: 1px solid #e1e5d9;
}
th {
  background: #ecefe3;
  color: #3f4f32;
  font-weight: 600;
  white-space: nowrap;
}
td + td,
th + th {
  border-left: 1px solid #e2e5da;
}
tbody tr:last-child td {
  border-bottom: 0;
}
tbody tr:nth-child(even) {
  background: #f7f8f0;
}
td:first-child {
  min-width: 112px;
  color: #34422f;
  font-weight: 500;
}
#ai .table-scroll td:first-child {
  white-space: nowrap;
}
#appendix table {
  font-size: 13px;
}
.protocol-figure {
  margin: 32px 0;
  border: 1px solid #d8ddce;
  border-radius: 6px;
  overflow: hidden;
  break-inside: avoid;
  background: #fcfbf7;
}
.figure-top {
  display: flex;
  gap: 13px;
  align-items: center;
  border-bottom: 1px solid #e0e4d6;
  padding: 14px 18px;
  font-size: 12px;
  background: #f4f5ec;
}
.figure-top > span:first-child {
  font-size: 10px;
  color: #889674;
  font-variant-numeric: tabular-nums;
}
.figure-top > span:nth-child(2) {
  font-weight: 600;
  color: #3d4b31;
}
.figure-expand {
  margin-left: auto;
  font-size: 11px;
  color: var(--green);
  white-space: nowrap;
  padding: 4px;
}
.protocol-figure picture,
.protocol-figure picture img {
  display: block;
  width: 100%;
}
.figure-print {
  display: none;
}
figcaption {
  font-size: 12px;
  line-height: 1.75;
  padding: 14px 18px;
  color: #6a7361;
  border-top: 1px solid #e5e8dd;
  background: #f6f7ef;
}
.chapter-navigation {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  margin-top: 42px;
  padding-top: 22px;
}
.chapter-navigation a {
  max-width: 48%;
  text-decoration: none;
  font-size: 12px;
  line-height: 1.7;
}
.chapter-navigation a:last-child {
  text-align: right;
}
.chapter-navigation small {
  display: block;
  color: #939b88;
  font-size: 10px;
  margin-bottom: 6px;
}
.chapter-navigation span {
  display: block;
}
.document-footer {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding: 26px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 11px;
  color: var(--muted);
}
.document-footer a {
  text-decoration: none;
}
.print-contents {
  display: none;
}
.figure-dialog {
  border: 1px solid #c8cfbe;
  border-radius: 8px;
  padding: 0;
  width: min(1080px, 94vw);
  max-width: 94vw;
  max-height: 90dvh;
  overflow: hidden;
  background: var(--paper);
  color: var(--ink);
}
.figure-dialog::backdrop {
  background: #101a1bbb;
  backdrop-filter: blur(3px);
}
.dialog-bar {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.dialog-bar h2 {
  font-size: 16px;
  margin: 0;
}
.dialog-bar button {
  font-size: 13px;
  white-space: nowrap;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.dialog-content {
  overflow: auto;
  max-height: calc(90dvh - 128px);
  padding: 16px;
  overscroll-behavior: contain;
}
.dialog-content img {
  display: block;
  width: 100%;
  min-width: 720px;
  max-width: none;
}
.dialog-hint {
  font-size: 11px;
  margin: 0;
  padding: 10px 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}
.document-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 12px);
  background: #24331e;
  color: #f5f7ee;
  padding: 12px 22px;
  font-size: 13px;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  z-index: 100;
  transition:
    opacity 0.18s,
    transform 0.18s;
}
.document-toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.mobile-toc-bar,
.toc-backdrop {
  display: none;
}
@media (min-width: 1001px) {
  .document-enhanced .toc-close {
    display: none !important;
  }
}
@media (max-width: 1150px) and (min-width: 1001px) {
  .document-layout {
    column-gap: 40px;
    grid-template-columns: 230px minmax(0, 1fr);
    padding: 0 28px;
  }
  .document-main {
    padding-top: 48px;
  }
}
@media (max-width: 1000px) {
  :root {
    --header: 64px;
    scroll-padding-top: 138px;
  }
  .document-header {
    padding: 0 22px;
    gap: 15px;
  }
  .header-title {
    padding-left: 15px;
  }
  .document-tools {
    gap: 18px;
  }
  .document-layout {
    display: block;
    padding: 0 36px;
  }
  .document-main {
    margin: auto;
    padding-top: 42px;
  }
  .document-sidebar {
    position: static;
    height: auto;
    border: 1px solid var(--line);
    border-radius: 6px;
    margin-top: 24px;
    padding: 18px;
    max-height: 480px;
  }
  .document-enhanced .document-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    height: 100dvh;
    max-height: none;
    width: min(352px, 90vw);
    padding: 24px 16px;
    border: 0;
    border-radius: 0;
    margin: 0;
    background: var(--paper);
    z-index: 61;
    transform: translateX(-101%);
    visibility: hidden;
  }
  .document-enhanced.toc-open .document-sidebar {
    transform: translateX(0);
    visibility: visible;
  }
  .toc-open {
    overflow: hidden;
  }
  .document-enhanced .toc-close {
    display: inline-flex !important;
    font-size: 24px;
    padding: 0 8px;
  }
  .sidebar-heading {
    padding-left: 12px;
  }
  .document-enhanced .mobile-toc-bar {
    display: flex !important;
    position: sticky;
    top: var(--header);
    z-index: 29;
    background: #f1f3e9;
    border-bottom: 1px solid #dce0d1;
    height: 46px;
  }
  .mobile-toc-bar button {
    display: flex;
    width: 100%;
    padding: 0 24px;
    align-items: center;
    gap: 20px;
    font-size: 12px;
  }
  .mobile-toc-bar #current-chapter {
    color: var(--green);
    margin-right: auto;
  }
  .mobile-toc-bar button > span:last-child {
    font-size: 14px;
  }
  .toc-backdrop:not([hidden]) {
    display: block;
    position: fixed;
    inset: 0;
    background: #18211799;
    z-index: 60;
  }
  .document-section {
    padding-top: 48px;
  }
  h3 {
    scroll-margin-top: 140px;
  }
  .document-enhanced .toc-sub {
    display: block;
  }
  .document-toc {
    padding-right: 6px;
  }
  .document-footer {
    margin-top: 40px;
  }
}
@media (max-width: 640px) {
  :root {
    scroll-padding-top: 132px;
  }
  .document-header {
    padding: 0 16px;
    gap: 10px;
  }
  .document-brand img {
    width: 92px;
    height: 34px;
  }
  .header-title {
    font-size: 11px;
    padding-left: 11px;
  }
  .header-title span {
    display: none;
  }
  .document-tools {
    gap: 13px;
    font-size: 11px;
  }
  .document-tools .back-home {
    display: none;
  }
  .document-tools .pdf-download {
    padding: 8px 10px;
  }
  .document-tools span {
    margin-left: 2px;
  }
  .document-layout {
    padding: 0 22px;
  }
  .document-main {
    padding-top: 32px;
  }
  .document-cover {
    padding-bottom: 32px;
  }
  .cover-eyebrow {
    font-size: 10px;
  }
  .edition {
    font-size: 10px;
  }
  h1 {
    font-size: 40px;
    margin: 26px 0 20px;
  }
  h1 span {
    font-size: 34px;
  }
  .cover-subtitle {
    font-size: 17px;
  }
  .document-meta {
    font-size: 10px;
    gap: 10px;
    margin-top: 22px;
  }
  .document-meta span + span {
    padding-left: 10px;
  }
  .document-meta span:first-child {
    width: 100%;
  }
  .document-meta span:nth-child(2) {
    padding-left: 0;
    border: 0;
  }
  .cover-principle {
    gap: 14px;
    margin-top: 26px;
    font-size: 12px;
  }
  h2 {
    font-size: 25px;
    line-height: 1.5;
    margin-bottom: 22px;
  }
  h3 {
    font-size: 18px;
    margin-top: 28px;
  }
  .heading-link {
    opacity: 1;
    font-size: 12px;
    margin-left: 8px;
  }
  p,
  li {
    font-size: 16px;
    line-height: 1.9;
  }
  .note {
    padding: 15px;
    margin: 20px 0;
  }
  .note p {
    font-size: 13px;
  }
  .table-scroll {
    margin: 20px 0;
  }
  table,
  #appendix table {
    font-size: 12px;
    line-height: 1.8;
  }
  th,
  td {
    padding: 10px;
  }
  td:first-child {
    min-width: 78px;
  }
  #ai td:first-child {
    min-width: 92px;
  }
  .figure-top {
    padding: 12px;
    gap: 8px;
    font-size: 11px;
  }
  .figure-top > span:first-child {
    font-size: 9px;
  }
  .figure-expand {
    font-size: 10px;
    padding: 2px;
  }
  figcaption {
    padding: 12px;
    font-size: 11px;
  }
  .chapter-navigation {
    gap: 12px;
    margin-top: 30px;
  }
  .chapter-navigation a {
    font-size: 11px;
  }
  .document-footer {
    flex-direction: column;
    font-size: 10px;
  }
  .dialog-bar {
    padding: 12px;
  }
  .dialog-bar h2 {
    font-size: 14px;
  }
  .dialog-content {
    padding: 8px;
  }
  .dialog-hint {
    font-size: 10px;
  }
  .document-toast {
    width: max-content;
    max-width: 90vw;
    font-size: 12px;
    text-align: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@page {
  size: A4;
  margin: 18mm 16mm 20mm;
}
@media print {
  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  :root {
    background: white;
    color: #202b2b;
    font-size: 12pt;
  }
  body {
    margin: 0;
  }
  .document-header,
  .document-sidebar,
  .mobile-toc-bar,
  .toc-backdrop,
  .skip-link,
  .chapter-navigation,
  .heading-link,
  .document-toast,
  .figure-dialog,
  .document-enhanced .js-only {
    display: none !important;
  }
  .document-layout {
    display: block;
    max-width: none;
    padding: 0;
  }
  .document-main {
    padding: 0;
    max-width: none;
    margin: 0;
  }
  .document-cover {
    padding: 12mm 0 12mm;
  }
  .cover-eyebrow {
    font-size: 10pt;
  }
  h1 {
    font-size: 40pt;
  }
  h1 span {
    font-size: 32pt;
  }
  .cover-subtitle {
    font-size: 17pt;
  }
  .document-meta {
    font-size: 9pt;
  }
  .cover-principle {
    font-size: 11pt;
  }
  .print-contents {
    display: block;
    break-before: page;
    break-after: page;
    padding-top: 8mm;
  }
  .print-contents h2 {
    font-size: 25pt;
  }
  .print-contents ol {
    list-style: none;
    padding: 0;
  }
  .print-contents li {
    margin: 0;
    padding: 9px 0;
    border-bottom: 1px solid #e1e5d9;
    font-size: 12pt;
  }
  .print-contents a {
    text-decoration: none;
    color: var(--ink);
  }
  .document-section {
    padding-top: 0;
    break-before: page;
  }
  .section-kicker {
    font-size: 8pt;
    padding-top: 4mm;
  }
  h2 {
    font-size: 24pt;
    margin-bottom: 6mm;
  }
  h3 {
    font-size: 14pt;
    margin-top: 7mm;
    margin-bottom: 3mm;
    break-after: avoid;
  }
  p,
  li {
    font-size: 11.5pt;
    line-height: 1.8;
    orphans: 3;
    widows: 3;
  }
  p {
    margin: 3mm 0;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  .note {
    break-inside: avoid;
    padding: 4mm;
    margin: 5mm 0;
  }
  .note p {
    font-size: 10pt;
  }
  .table-scroll {
    overflow: visible;
    border-radius: 0;
    margin: 5mm 0;
  }
  table,
  #appendix table {
    font-size: 10pt;
    line-height: 1.7;
  }
  th,
  td {
    padding: 3mm;
  }
  thead {
    display: table-header-group;
  }
  tr {
    break-inside: avoid;
  }
  th {
    white-space: normal;
  }
  td:first-child {
    min-width: 0;
  }
  .protocol-figure {
    break-inside: avoid;
    margin: 6mm 0;
    max-width: 100%;
  }
  .protocol-figure picture {
    display: none;
  }
  .figure-print {
    display: block;
    width: 100%;
  }
  .figure-top {
    padding: 3mm 4mm;
    font-size: 10pt;
  }
  .figure-top > span:first-child {
    font-size: 8pt;
  }
  figcaption {
    font-size: 9pt;
    line-height: 1.6;
    padding: 3mm 4mm;
  }
  code {
    font-size: 9pt;
    overflow-wrap: anywhere;
  }
  .document-footer {
    font-size: 9pt;
    margin-top: 10mm;
    padding-top: 4mm;
  }
  .document-footer a {
    display: none;
  }
}

/* Desktop keeps the navigation in the sidebar; the compact bar is mobile-only. */
@media (min-width: 1001px) {
  .document-enhanced .mobile-toc-bar {
    display: none !important;
  }
}
@media print {
  .document-section {
    break-before: auto;
    padding-top: 8mm;
  }
  .document-section + .document-section {
    margin-top: 6mm;
    border-top: 1px solid #e1e5d9;
  }
  .section-kicker,
  h2 {
    break-after: avoid;
  }
  .document-section h2 {
    margin-bottom: 5mm;
  }
  p,
  li {
    font-size: 11.5pt;
    line-height: 1.75;
  }
  th,
  td {
    padding: 2.5mm 3mm;
  }
  #appendix table:first-of-type td:first-child {
    min-width: 22mm;
  }
}
@media print {
  .table-scroll:not(:has(tbody tr:nth-child(7))) {
    break-inside: avoid;
  }
  #appendix-2,
  #appendix-4 {
    break-before: page;
    padding-top: 4mm;
  }
  #appendix table td:nth-child(2) {
    min-width: 22mm;
  }
}

/* Locale-specific line wrapping preserves the existing document system. */
:lang(en) .document-main {
  overflow-wrap: break-word;
}
:lang(en) .toc-main > span:last-child {
  min-width: 0;
}
:lang(en) .toc-number {
  min-width: 26px;
  font-size: 9px;
}
:lang(en) th {
  white-space: normal;
}
:lang(en) #ai .table-scroll td:first-child {
  white-space: normal;
}
:lang(en) .cover-principle {
  flex-wrap: wrap;
  gap: 12px;
}
:lang(en) .figure-top > span:first-child {
  flex-shrink: 0;
}
:lang(en) .figure-top > span:nth-child(2) {
  min-width: 0;
}
:lang(en) .figure-expand {
  flex-shrink: 0;
}
:lang(en) .chapter-navigation a {
  min-width: 0;
  overflow-wrap: break-word;
}
:lang(en) .sidebar-foot {
  gap: 8px;
  flex-wrap: wrap;
}
@media (max-width: 850px) {
  :lang(en) .header-title {
    display: none;
  }
}
@media (max-width: 640px) {
  .header-title {
    display: none;
  }
  :lang(en) .document-tools {
    gap: 10px;
  }
  :lang(en) .document-brand img {
    width: 80px;
  }
  :lang(en) .document-header {
    padding-inline: 12px;
  }
  :lang(en) .mobile-toc-bar button {
    gap: 12px;
    font-size: 11px;
  }
  :lang(en) .mobile-toc-bar #current-chapter {
    line-height: 1.25;
  }
  :lang(en) .cover-principle {
    font-size: 11px;
    gap: 8px;
  }
}
@media print {
  :lang(en) #appendix-3 {
    break-before: page;
    padding-top: 4mm;
  }
  :lang(en) #appendix .table-scroll:last-of-type td:nth-child(2) {
    white-space: nowrap;
  }
}
.cover-source-meta {
  margin-top: 14px;
  color: var(--muted);
}
.cover-source-meta p {
  font-size: 11px;
  line-height: 1.7;
  margin: 4px 0;
}
@media print {
  .cover-source-meta p {
    font-size: 9pt;
  }
}
/* Reserve responsive figure geometry before lazy assets load, including deep links. */
.protocol-figure picture {
  aspect-ratio: var(--figure-desktop-ratio);
}
.protocol-figure picture img {
  height: auto;
  aspect-ratio: inherit;
}
@media (max-width: 640px) {
  .protocol-figure picture {
    aspect-ratio: var(--figure-mobile-ratio);
  }
}
