:root { color-scheme: dark; font: 16px/1.65 system-ui, "Segoe UI", sans-serif; color: #f8efe7; background: #151210; }
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p { margin: 0; }
a { color: #ffc093; text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid #ffc093; outline-offset: 4px; }
.shell { width: min(52rem, calc(100% - 2rem)); margin-inline: auto; }
.site-head { border-bottom: 1px solid #49372c; background: #1b1511; }
.header-inner, .footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px; }
.brand { text-decoration: none; color: #fff2e5; font-weight: 800; letter-spacing: .05em; }
.brand span { color: #ffa267; }
.doc-links { display: flex; flex-wrap: wrap; gap: 8px; padding-block: 20px 14px; }
.doc-links a { padding: 7px 12px; min-height: 42px; border: 1px solid #594030; border-radius: 8px; text-decoration: none; }
.doc-links a:hover, .doc-links a[aria-current="page"] { background: #3a281e; border-color: #c67b48; }
.document { padding: clamp(14px, 4vw, 42px); border: 1px solid #49372c; border-radius: 17px; background: #211a16; }
.document-heading { padding-bottom: 17px; margin-bottom: 22px; border-bottom: 1px solid #4c382d; }
.document-heading p { color: #ffba88; margin-bottom: 5px; }
h1 { font-size: clamp(1.08rem, 4.45vw, 2rem); line-height: 1.22; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.12rem, 3vw, 1.38rem); color: #ffbd90; line-height: 1.3; margin-bottom: 10px; }
section + section { margin-top: 27px; }
section p + p { margin-top: .62rem; }
section ul { margin-block: .35rem .72rem; padding-inline-start: 1.35em; }
li + li { margin-top: .24rem; }
.footer { color: #c6b3a7; font-size: .9rem; }
@media print {
  :root, .document { background: white; color: black; }
  .site-head, .doc-links, .footer { display: none; }
  .shell { width: auto; }
  .document { padding: 0; border: 0; }
  h2, .document-heading p { color: black; }
  h2 { break-after: avoid; }
}
