@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    url(/assets/fonts/pt-serif-cyrillic-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    url(/assets/fonts/pt-serif-cyrillic-400-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    url(/assets/fonts/pt-serif-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    url(/assets/fonts/pt-serif-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src:
    url(/assets/fonts/pt-serif-cyrillic-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src:
    url(/assets/fonts/pt-serif-cyrillic-700-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src:
    url(/assets/fonts/pt-serif-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src:
    url(/assets/fonts/pt-serif-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PT Serif";
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src:
    url(/assets/fonts/pt-serif-cyrillic-ext-400-italic.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: "PT Serif";
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src:
    url(/assets/fonts/pt-serif-cyrillic-400-italic.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PT Serif";
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src:
    url(/assets/fonts/pt-serif-latin-ext-400-italic.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "PT Serif";
  font-style: italic;
  font-display: swap;
  font-weight: 400;
  src:
    url(/assets/fonts/pt-serif-latin-400-italic.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: PT Sans Narrow;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    url(/assets/fonts/pt-sans-narrow-cyrillic-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: PT Sans Narrow;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    url(/assets/fonts/pt-sans-narrow-cyrillic-400-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: PT Sans Narrow;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    url(/assets/fonts/pt-sans-narrow-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: PT Sans Narrow;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    url(/assets/fonts/pt-sans-narrow-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: PT Sans Narrow;
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src:
    url(/assets/fonts/pt-sans-narrow-cyrillic-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: PT Sans Narrow;
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src:
    url(/assets/fonts/pt-sans-narrow-cyrillic-700-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: PT Sans Narrow;
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src:
    url(/assets/fonts/pt-sans-narrow-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: PT Sans Narrow;
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src:
    url(/assets/fonts/pt-sans-narrow-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: PT Mono;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    url(/assets/fonts/pt-mono-cyrillic-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: PT Mono;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    url(/assets/fonts/pt-mono-cyrillic-400-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: PT Mono;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    url(/assets/fonts/pt-mono-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308,
    U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113,
    U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: PT Mono;
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    url(/assets/fonts/pt-mono-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304,
    U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  color-scheme: light;
  --card: #93a5a2;
  --card-deep: #7a8d8a;
  --card-line: rgba(34, 46, 44, 0.1);
  --paper: #e7d4a5;
  --paper-graph: #ede0ba;
  --paper-smz: #e8e6de;
  --paper-hi: rgba(255, 249, 228, 0.62);
  --grid-major: rgba(222, 128, 82, 0.4);
  --grid-minor: rgba(222, 128, 82, 0.15);
  --ink: #221a12;
  --ink-soft: #574a3b;
  --oxide: #8e2a14;
  --violet: #4b3d7a;
  --marker: #17110b;
  --drop: rgba(16, 24, 23, 0.55);
  --serif: "PT Serif", Georgia, "Times New Roman", serif;
  --narrow: "PT Sans Narrow", "Arial Narrow", Arial, sans-serif;
  --mono: "PT Mono", "Courier New", monospace;
  --page-max: 46rem;
  /* Paper textures. Pre-rendered tiles (they used to be SVG noise filters computed on
     the visitor's device, which was the main cause of jank on older phones). Mottle and
     edge are stored at reduced size and scaled up by background-size / mask-size. */
  --tx-grain: url(/assets/img/paper-grain.jpg);
  --tx-mottle: url(/assets/img/paper-mottle.png);
  --tx-fox: url(/assets/img/paper-fox.png);
  --tx-mask: url(/assets/img/paper-edge.png);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --card: #252f2d;
    --card-deep: #1c2422;
    --card-line: rgba(0, 0, 0, 0.25);
    --paper: #cdb98b;
    --paper-graph: #d3c49e;
    --paper-smz: #c9c6bc;
    --paper-hi: rgba(255, 244, 214, 0.34);
    --drop: rgba(0, 0, 0, 0.72);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --card: #252f2d;
  --card-deep: #1c2422;
  --card-line: rgba(0, 0, 0, 0.25);
  --paper: #cdb98b;
  --paper-graph: #d3c49e;
  --paper-smz: #c9c6bc;
  --paper-hi: rgba(255, 244, 214, 0.34);
  --drop: rgba(0, 0, 0, 0.72);
}
* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}
body {
  margin: 0;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background-color: var(--card);
  background-image: var(--tx-grain),
    repeating-linear-gradient(0deg, var(--card-line) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, var(--card-line) 0 1px, transparent 1px 3px);
  background-blend-mode: multiply, normal, normal;
  background-size: 220px, auto, auto;
  padding-inline: 16px;
  padding-block: max(1rem, env(safe-area-inset-top, 0px))
    calc(6rem + env(safe-area-inset-bottom, 0px));
  overflow-x: clip;
}
.desk {
  display: grid;
  justify-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.binding {
  display: none;
}
@media (min-width: 64rem) {
  .binding {
    display: block;
    position: fixed;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 22px;
    z-index: 0;
    pointer-events: none;
    background: conic-gradient(
        var(--card-deep) 25%,
        transparent 0 50%,
        var(--card-deep) 0 75%,
        transparent 0
      )
      0 0/11px 11px;
    opacity: 0.8;
  }
}
.sheet {
  --seed: 1;
  --tilt: 0deg;
  --verso: 0.06;
  position: relative;
  width: min(100%, var(--page-max));
  padding: clamp(1.5rem, 5vw, 3.2rem) clamp(1.1rem, 5vw, 2.8rem) clamp(2.5rem, 7vw, 4.5rem);
  border-radius: 1px;
  box-shadow:
    0 1px #281e0f40,
    0 2px 3px #1018172e,
    0 22px 44px -20px var(--drop);
  isolation: isolate;
  overflow: clip;
}
@media (min-width: 52rem) {
  .sheet {
    transform: rotate(var(--tilt));
  }
}
.sheet--manual {
  background-color: var(--paper);
  background-image: var(--tx-grain), var(--tx-fox), var(--tx-mottle),
    radial-gradient(ellipse 85% 65% at 45% 40%, var(--paper-hi), transparent 72%);
  background-blend-mode: multiply, multiply, multiply, normal;
  background-size:
    220px,
    740px,
    1000px,
    100% 100%;
  background-position:
    0 0,
    calc(var(--seed) * -173px) calc(var(--seed) * -97px),
    calc(var(--seed) * -311px) calc(var(--seed) * -211px),
    0 0;
}
.sheet--graph {
  --verso: 0.035;
  background-color: var(--paper-graph);
  background-image: var(--tx-grain), var(--tx-fox),
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px), var(--tx-mottle),
    radial-gradient(ellipse 85% 65% at 45% 40%, var(--paper-hi), transparent 72%);
  background-blend-mode: multiply, multiply, multiply, multiply, multiply, multiply, multiply,
    normal;
  background-size:
    220px,
    740px,
    72px 72px,
    72px 72px,
    7.2px 7.2px,
    7.2px 7.2px,
    1000px,
    100% 100%;
  background-position:
    0 0,
    calc(var(--seed) * -173px) calc(var(--seed) * -97px),
    -1px -1px,
    -1px -1px,
    -1px -1px,
    -1px -1px,
    calc(var(--seed) * -311px) calc(var(--seed) * -211px),
    0 0;
}
.sheet--samizdat {
  --verso: 0.14;
  background-color: var(--paper-smz);
  background-image: var(--tx-grain), var(--tx-fox),
    linear-gradient(
      to bottom,
      transparent calc(34% - 2px),
      rgba(70, 62, 45, 0.15) calc(34% - 1px),
      rgba(255, 255, 255, 0.42) 34%,
      transparent calc(34% + 3px)
    ),
    linear-gradient(
      to bottom,
      transparent calc(67% - 2px),
      rgba(70, 62, 45, 0.12) calc(67% - 1px),
      rgba(255, 255, 255, 0.36) 67%,
      transparent calc(67% + 3px)
    ),
    var(--tx-mottle),
    radial-gradient(ellipse 85% 65% at 45% 40%, rgba(255, 255, 250, 0.5), transparent 72%);
  background-blend-mode: multiply, luminosity, normal, normal, luminosity, normal;
  background-size:
    220px,
    740px,
    100% 100%,
    100% 100%,
    1000px,
    100% 100%;
  background-position:
    0 0,
    calc(var(--seed) * -173px) calc(var(--seed) * -97px),
    0 0,
    0 0,
    calc(var(--seed) * -311px) calc(var(--seed) * -211px),
    0 0;
}
.sheet:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow:
    inset 0 0 0 1px #6944186b,
    inset 0 0 7px 1px #82542080,
    inset 0 0 30px 4px #96693252,
    inset 0 0 72px 10px #a0783c1a;
  -webkit-mask-image: var(--tx-mask);
  mask-image: var(--tx-mask);
  -webkit-mask-size: 600px;
  mask-size: 600px;
  -webkit-mask-position: calc(var(--seed) * -137px) 0;
  mask-position: calc(var(--seed) * -137px) 0;
}
.sheet--samizdat:after {
  box-shadow:
    inset 0 0 0 1px #5a54465c,
    inset 0 0 7px 1px #6e66546b,
    inset 0 0 30px 4px #78705f40,
    inset 0 0 72px 10px #78705f14;
}
.verso {
  position: absolute;
  inset: clamp(1.5rem, 5vw, 3.2rem) clamp(1.1rem, 5vw, 2.8rem);
  z-index: 0;
  overflow: hidden;
  font: 12.5px/2.2 var(--mono);
  color: var(--ink);
  white-space: pre-line;
  transform: scaleX(-1) rotate(0.35deg);
  /* Fixed show-through: roughly the screen-average of the old moving lamp (0.4x to 1x). */
  opacity: calc(var(--verso) * 0.5);
  pointer-events: none;
  user-select: none;
}
.verso p {
  margin: 0 0 2.25em;
  text-indent: 3ch;
}
.verso h6 {
  font: inherit;
  text-align: center;
  margin: 0 0 2.25em;
  letter-spacing: 0.3em;
}
.sheet-body {
  position: relative;
  z-index: 2;
}
.inked {
  filter: url(#ink);
}
.stamp,
.classification {
  filter: url(#stamp);
}
.redact {
  filter: url(#marker);
}
.redact {
  display: inline-block;
  background: var(--marker);
  color: transparent;
  border-radius: 2px;
  line-height: 1.05;
  padding: 0 0.15em;
  transform: rotate(-0.4deg);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  user-select: none;
}
.redact.is-dev {
  color: #fff5dc80;
}
.redact-line {
  display: block;
  height: 0.95em;
  margin: 0.62em 0;
  background: var(--marker);
  border-radius: 2px;
  filter: url(#marker);
}
.cover {
  text-align: center;
  display: flex;
  flex-direction: column;
  min-height: calc(100svh - 4.4rem);
}
.cover .sheet-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cover-top,
.cover-mid,
.cover-foot {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cover-frame {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.4rem;
  container-type: inline-size;
  border: 2px solid var(--ink);
  padding: clamp(1.8rem, 6vw, 3.4rem) clamp(1rem, 4.5vw, 2.4rem) clamp(1.4rem, 4vw, 2.2rem);
}
.rule-inner {
  position: absolute;
  inset: 4px;
  pointer-events: none;
  color: var(--ink);
  background:
    linear-gradient(currentColor, currentColor) 25px 0 / calc(100% - 50px) 1px no-repeat,
    linear-gradient(currentColor, currentColor) 25px 100% / calc(100% - 50px) 1px no-repeat,
    linear-gradient(currentColor, currentColor) 0 25px/1px calc(100% - 50px) no-repeat,
    linear-gradient(currentColor, currentColor) 100% 25px/1px calc(100% - 50px) no-repeat;
}
.corner {
  position: absolute;
  width: 40px;
  height: 40px;
  overflow: visible;
  color: var(--ink);
}
.corner.tl {
  left: 0;
  top: 0;
}
.corner.tr {
  right: 0;
  top: 0;
  transform: scaleX(-1);
}
.corner.bl {
  left: 0;
  bottom: 0;
  transform: scaleY(-1);
}
.corner.br {
  right: 0;
  bottom: 0;
  transform: scale(-1);
}
.corner use {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
}
.ministry {
  font-family: var(--narrow);
  font-weight: 700;
  font-size: clamp(0.8rem, 3vw, 1.08rem);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.45;
  text-wrap: balance;
}
.ministry .ru {
  display: block;
  font-size: 0.8em;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  margin-top: 0.45rem;
}
.emblem {
  position: relative;
  width: 100%;
  margin: 0 auto clamp(1.3rem, 4vw, 2rem);
  height: clamp(84px, 19vw, 118px);
}
.star {
  height: 100%;
  width: auto;
  display: block;
  margin: 0 auto;
  overflow: visible;
}
.star .o {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.6;
  stroke-linejoin: round;
}
.star .o2 {
  stroke-width: 0.9;
}
.star .vial {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.star .dose {
  fill: var(--oxide);
}
.emblem .redact-bar {
  position: absolute;
  left: calc(50% + clamp(34px, 8vw, 52px));
  top: 4%;
  width: min(38%, 15rem);
  height: clamp(18px, 4.4vw, 28px);
  background: var(--marker);
  border-radius: 3px 6px 4px 2px;
  transform: rotate(-2deg);
  filter: url(#marker);
}
.copy {
  position: absolute;
  left: calc(50% + clamp(62px, 14vw, 96px));
  top: 44%;
  margin: 0;
  text-align: left;
  line-height: 1;
}
.copyno {
  display: flex;
  font-family: var(--mono);
  font-weight: 700;
  font-size: clamp(1.3rem, 5vw, 2rem);
  color: var(--ink);
  letter-spacing: 0.02em;
  filter: url(#stamp);
}
.copyno span {
  display: inline-block;
  transform: translateY(var(--dy, 0)) rotate(var(--dr, 0));
}
.copylbl {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}
.doctitle {
  font-family: var(--narrow);
  font-weight: 700;
  font-size: clamp(2rem, 12cqi, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
.subtitle {
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: clamp(0.95rem, 3.8vw, 1.35rem);
  line-height: 1.5;
  margin: 1rem 0 0;
  text-wrap: balance;
}
.subtitle .quiet {
  display: block;
  font-weight: 400;
  letter-spacing: 0.2em;
  font-size: 0.72em;
  color: var(--ink-soft);
  margin-top: 0.35rem;
}
.classification {
  display: inline-block;
  margin: clamp(1.6rem, 5vw, 2.6rem) 0 0;
  border: 2.5px solid var(--oxide);
  color: var(--oxide);
  outline: 1px solid var(--oxide);
  outline-offset: 3px;
  font-family: var(--narrow);
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 3.6vw, 1.25rem);
  padding: 0.4em 1.05em;
  --r: -1.6deg;
  transform: rotate(var(--r));
  mix-blend-mode: multiply;
}
.classification .gloss {
  display: block;
  font-size: 0.56em;
  letter-spacing: 0.12em;
  font-weight: 400;
  margin-top: 0.2em;
}
.notmedical {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  margin: 0;
  color: var(--ink-soft);
}
.imprint {
  margin: 1rem 0 0;
  font-family: var(--narrow);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--ink);
}
.imprint b {
  display: block;
  letter-spacing: 0.08em;
  font-size: 1.05em;
}
.imprint .year {
  display: block;
  font-family: var(--mono);
  letter-spacing: 0.3em;
  margin-top: 0.15rem;
}
.part-rule {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.3rem 0.8rem;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 0.35rem;
  margin: 0 0 1.6rem;
}
.part-rule h1,
.part-rule h2 {
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: clamp(1.15rem, 4.4vw, 1.6rem);
  margin: 0;
  text-wrap: balance;
}
.part-rule .no {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--oxide);
  margin-left: auto;
}
.sheet-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.sheet-top .backlink {
  margin: 0;
}
.stamp {
  position: relative;
  z-index: 3;
  flex: none;
  margin: 0 0 0 auto;
  font-family: var(--narrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--oxide);
  border: 2px solid currentColor;
  padding: 0.2em 0.55em;
  --r: 4deg;
  --o: 0.85;
  transform: rotate(var(--r));
  mix-blend-mode: multiply;
  opacity: var(--o);
}
.stamp--date {
  color: var(--violet);
  text-align: center;
  line-height: 1.25;
  padding: 0.35em 0.7em;
  --r: -3deg;
}
.stamp--date small {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  letter-spacing: 0.05em;
  font-size: 0.9em;
  text-transform: none;
}
.backlink {
  font-family: var(--mono);
  font-size: 0.8rem;
  display: inline-block;
  margin-bottom: 1.4rem;
  margin-top: 0.3rem;
  padding: 0.55rem 0 0.15rem;
  color: var(--oxide);
  text-decoration: none;
  border-bottom: 1px solid var(--oxide);
}
.backlink:hover,
.backlink:focus-visible {
  background: var(--oxide);
  color: var(--paper);
  outline: none;
}
.intro {
  max-width: 62ch;
}
.toc {
  list-style: none;
  margin: 0;
  padding: 0;
}
.toc a {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  text-decoration: none;
  color: inherit;
  padding: 0.62rem 0;
  border-bottom: 1px solid transparent;
}
.toc a:hover,
.toc a:focus-visible {
  border-bottom-color: var(--oxide);
  color: var(--oxide);
  outline: none;
}
.toc .num {
  font-family: var(--mono);
  font-size: 0.84rem;
  min-width: 2.6em;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.toc .name {
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 1.06rem;
}
.toc .leader {
  flex: 1;
  border-bottom: 1px dotted rgba(34, 26, 18, 0.55);
  transform: translateY(-0.24em);
  min-width: 1.5rem;
}
.toc .pg {
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.toc .sub {
  padding-left: 3.1em;
}
.toc .sub .name {
  font-family: var(--serif);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.97rem;
}
.toc .sub .redact {
  font-size: 0.9rem;
}
.entry {
  border-top: 1px solid rgba(34, 26, 18, 0.45);
  padding-top: 1.1rem;
  margin-top: 2rem;
  scroll-margin-top: 1.5rem;
}
.entry-head {
  display: flex;
  align-items: baseline;
  gap: 0.3rem 0.7rem;
  flex-wrap: wrap;
  margin-bottom: 0.15rem;
}
.entry-head h3 {
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 1.38rem;
  margin: 0;
}
.entry-head .code {
  font-family: var(--mono);
  font-size: 0.76rem;
  color: var(--oxide);
  letter-spacing: 0.05em;
}
.entry > p {
  margin: 0.6rem 0 0;
  max-width: 64ch;
}
.sheet--samizdat .entry > p {
  font-family: var(--mono);
  font-size: 0.88rem;
  line-height: 1.85;
  /* Worn-typewriter speckle: a pre-rendered mask instead of a live SVG noise filter. */
  -webkit-mask-image: url(/assets/img/type-speck.png);
  mask-image: url(/assets/img/type-speck.png);
  -webkit-mask-size: 128px;
  mask-size: 128px;
}
.entry--draft {
  position: relative;
}
.entry--draft .withheld {
  display: inline-block;
  margin-top: 1rem;
  font-family: var(--narrow);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--oxide);
  border: 2px solid currentColor;
  padding: 0.25em 0.7em;
  --r: -2deg;
  transform: rotate(var(--r));
  mix-blend-mode: multiply;
  filter: url(#stamp);
}
.entry--draft .withheld small {
  display: block;
  font-weight: 400;
  font-size: 0.8em;
  letter-spacing: 0.08em;
}
.spec {
  margin: 1.1rem 0 0;
  border: 1px solid rgba(34, 26, 18, 0.55);
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.5;
  background-image: linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 7.2px 7.2px;
  background-blend-mode: multiply;
}
.spec div {
  display: flex;
  gap: 0.7rem;
  padding: 0.4rem 0.65rem;
  border-bottom: 1px solid rgba(34, 26, 18, 0.28);
}
.spec div:last-child {
  border-bottom: 0;
}
.spec dt {
  flex: 0 0 7.6em;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  font-size: 0.92em;
}
.spec dd {
  margin: 0;
  flex: 1;
}
.plate {
  margin: 2rem 0 0;
}
.plate-sheet {
  position: relative;
  border: 1px solid var(--ink);
  padding: 0.6rem 0.5rem 0.4rem;
  background-color: var(--paper-graph);
  background-image: var(--tx-grain), linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-blend-mode: multiply, multiply, multiply, multiply, multiply;
  background-size:
    220px,
    60px 60px,
    60px 60px,
    6px 6px,
    6px 6px;
  background-position:
    0 0,
    -1px -1px,
    -1px -1px,
    -1px -1px,
    -1px -1px;
  box-shadow:
    0 1px 2px #281e0f40,
    0 8px 16px -10px #281e0f73;
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 0.5rem);
  z-index: 4;
}
.plate-sheet svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.plate figcaption {
  font-family: var(--mono);
  font-size: 0.76rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-top: 0.7rem;
  max-width: 64ch;
}
.plate figcaption b {
  color: var(--ink);
  font-weight: 700;
}
.fig-legend {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.1rem;
  font-size: 0.92rem;
}
.fig-legend li {
  display: grid;
  grid-template-columns: 1.9rem 1fr;
  align-content: start;
  gap: 0.2rem;
  padding: 0.7rem 0.5rem;
  border-radius: 2px;
  cursor: pointer;
  outline: none;
  transition:
    opacity 0.25s,
    background-color 0.25s,
    box-shadow 0.25s;
}
.plate.is-guided .fig-legend li {
  min-height: 30svh;
  opacity: 0.55;
}
.plate.is-guided .fig-legend li:last-child {
  min-height: 0;
  margin-bottom: 22svh;
}
.plate.is-guided .fig-legend li.is-on {
  opacity: 1;
}
.fig-legend li:focus-visible {
  box-shadow: inset 0 0 0 1px var(--oxide);
}
.fig-legend .n {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--oxide);
  font-variant-numeric: tabular-nums;
}
.fig-legend .t {
  font-family: var(--narrow);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.fig-legend .d {
  color: var(--ink-soft);
}
.fig-legend li.is-on {
  background: #8e2a1414;
  box-shadow: inset 3px 0 0 var(--oxide);
}
.dr {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.25;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.dr-thin {
  fill: none;
  stroke: var(--ink);
  stroke-width: 0.7;
  stroke-linecap: round;
}
.dr-soft {
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 0.6;
  stroke-linecap: round;
  opacity: 0.55;
}
.dr-flow {
  fill: none;
  stroke: var(--oxide);
  stroke-width: 0.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dr-vessel {
  fill: none;
  stroke: var(--oxide);
  stroke-width: 5.5;
  stroke-linecap: round;
  opacity: 0.55;
}
.dr-vessel-core {
  fill: none;
  stroke: var(--paper-graph);
  stroke-width: 2.6;
  stroke-linecap: round;
}
.dr-fill {
  fill: #ede0bae6;
  stroke: var(--ink);
  stroke-width: 1.25;
  stroke-linejoin: round;
}
.dr-shaft {
  fill: var(--ink-soft);
  stroke: var(--ink);
  stroke-width: 1;
}
.dr-medulla {
  fill: none;
  stroke: var(--paper-graph);
  stroke-width: 0.9;
  stroke-dasharray: 7 4;
  opacity: 0.8;
}
.dr-dot {
  fill: var(--ink);
}
.dr-text {
  font-family: var(--mono);
  font-size: 9px;
  fill: var(--ink);
}
.callout .ld {
  fill: none;
  stroke: var(--ink);
  stroke-width: 0.8;
  transition:
    stroke 0.2s,
    stroke-width 0.2s;
}
.callout .an {
  fill: var(--oxide);
  transition: r 0.2s;
}
.callout .nm {
  font-family: var(--mono);
  font-weight: 700;
  font-size: 17px;
  fill: var(--ink);
  transition: fill 0.2s;
}
.callout .hit {
  fill: transparent;
  cursor: default;
}
.callout.is-on .ld {
  stroke: var(--oxide);
  stroke-width: 1.5;
}
.callout.is-on .an {
  r: 4.5px;
}
.callout.is-on .nm {
  fill: var(--oxide);
}
.slip {
  margin-top: 2.8rem;
  position: relative;
  padding-top: 2.1rem;
}
.slip:before {
  content: "";
  position: absolute;
  left: -0.4rem;
  right: -0.4rem;
  top: 1.25rem;
  border-top: 1.5px dashed rgba(34, 26, 18, 0.6);
}
.slip .cut {
  position: absolute;
  top: 0;
  left: 0.2rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--ink-soft);
  background: transparent;
  letter-spacing: 0.08em;
}
.slip-box {
  border: 2px solid var(--ink);
  padding: 1.1rem 1.1rem 1.2rem;
}
.slip-box h2 {
  font-family: var(--narrow);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 1.1rem;
  margin: 0;
}
.slip-box h2 small {
  display: block;
  font-family: var(--mono);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--ink-soft);
  margin-top: 0.15rem;
}
.slip-box p {
  margin: 0.6rem 0 0;
  max-width: 56ch;
  font-size: 0.95rem;
}
.slip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.8rem 1rem;
  margin-top: 1rem;
}
.slip-field {
  flex: 1 1 15rem;
  display: grid;
  gap: 0.1rem;
}
.slip-field label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}
.slip-field input {
  font: 1rem var(--mono);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  padding: 0.35rem 0.1rem;
  border-radius: 0;
  width: 100%;
}
.slip-field input:focus-visible {
  outline: none;
  border-bottom-color: var(--oxide);
  background: #8e2a140f;
}
.slip-field input::placeholder {
  color: #574a3b99;
}
.enlist {
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 1rem;
  color: var(--oxide);
  background: transparent;
  border: 2.5px solid var(--oxide);
  padding: 0.45rem 1.1rem;
  cursor: pointer;
  transform: rotate(-1.2deg);
  mix-blend-mode: multiply;
  filter: url(#stamp);
}
.enlist:hover {
  background: #8e2a141a;
}
.enlist:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.enlist:active {
  transform: rotate(-1.2deg) scale(0.96);
}
.slip-status {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: var(--oxide);
  min-height: 1.2em;
  margin: 0.7rem 0 0;
}
.disclosure {
  border: 1px solid var(--ink-soft);
  padding: 0.8rem 1rem;
  margin: 2.4rem 0 0;
  font-family: var(--mono);
  font-size: 0.74rem;
  line-height: 1.6;
  color: var(--ink-soft);
}
/* Entrance effects (lamp flicker, stamp thud, frame jolt, page-turn transitions,
   scroll-in stamps and marker sweeps) were removed for performance: everything
   renders in its final state. */
.talon {
  display: flex;
  align-items: stretch;
  margin-top: 1.1rem;
  min-height: 4rem;
  border: 1.5px solid var(--ink);
  background: #fffaeb33;
}
.talon-go {
  flex: 1;
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 0.14rem;
  padding: 0.6rem 0.85rem;
  color: var(--ink);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.talon-k {
  font: 0.66rem/1.25 var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.talon-v {
  font: 700 1.16rem/1.15 var(--narrow);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.talon-hint {
  font: 0.68rem/1.3 var(--mono);
  color: var(--oxide);
}
.talon-code {
  position: relative;
  flex: none;
  display: grid;
  align-content: center;
  gap: 0.14rem;
  min-width: 6.6rem;
  padding: 0.6rem 0.9rem;
  background: transparent;
  border: 0;
  border-left: 1.5px dashed var(--ink);
  color: var(--oxide);
  text-align: left;
  font: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.talon-code .talon-v {
  font-family: var(--mono);
  font-weight: 400;
  letter-spacing: 0.14em;
  color: var(--oxide);
  transition: opacity 0.2s;
}
.talon-code .talon-k {
  transition: opacity 0.2s;
}
.talon-go:active,
.talon-code:active {
  background: #8e2a141a;
}
.talon-go:focus-visible,
.talon-code:focus-visible {
  outline: 2px solid var(--oxide);
  outline-offset: -5px;
}
.talon-done {
  position: absolute;
  left: 50%;
  top: 50%;
  padding: 0.35em 0.5em;
  white-space: nowrap;
  pointer-events: none;
  font: 700 0.74rem/1 var(--narrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oxide);
  border: 2px solid currentColor;
  transform: translate(-50%, -50%) rotate(-8deg);
  opacity: 0;
  mix-blend-mode: multiply;
  filter: url(#stamp);
}
.talon-code.is-copied .talon-done {
  opacity: 1;
  animation: thud-copy 0.38s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.talon-code.is-copied .talon-v,
.talon-code.is-copied .talon-k {
  opacity: 0.2;
}
@keyframes thud-copy {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-15deg) scale(1.7);
  }
}
.ribbon {
  position: fixed;
  z-index: 45;
  right: max(4px, env(safe-area-inset-right, 0px));
  bottom: 0;
  width: 36px;
  height: calc(78px + env(safe-area-inset-bottom, 0px));
  padding: 0 0 calc(14px + env(safe-area-inset-bottom, 0px));
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  color: var(--paper);
  font: 700 1.02rem/1 var(--narrow);
  letter-spacing: 0.05em;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.07) 0 1px, transparent 1px 3px),
    linear-gradient(90deg, #0000003d, #ffffff26 42%, #0000001a 62%, #0000004d), var(--oxide);
  clip-path: polygon(0 0, 50% 14px, 100% 0, 100% 100%, 0 100%);
  -webkit-tap-highlight-color: transparent;
  transition: height 0.18s ease-out;
}
.ribbon:active {
  height: calc(70px + env(safe-area-inset-bottom, 0px));
}
.ribbon:focus-visible {
  outline: none;
}
.ribbon:focus-visible .ribbon-mark {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
dialog.drawer {
  position: fixed;
  inset: auto 0 0;
  margin: 0 auto;
  width: 100%;
  max-width: var(--page-max);
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}
dialog.drawer::backdrop {
  background: #0e14138c;
}
.drawer-sheet {
  max-height: 86svh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1rem 1.25rem calc(1.4rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -12px 34px #00000059;
  font-size: 17px;
  line-height: 1.5;
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 0.2rem;
}
.drawer-head h2 {
  font: 700 1.1rem/1.2 var(--narrow);
  letter-spacing: 0.11em;
  text-transform: uppercase;
  margin: 0;
}
.drawer-close {
  min-height: 44px;
  padding: 0 0.2rem;
  background: transparent;
  border: 0;
  color: var(--oxide);
  font: 0.78rem var(--mono);
  cursor: pointer;
}
.drawer-close:focus-visible {
  outline: 2px solid var(--oxide);
  outline-offset: 2px;
}
.drawer-dispatch {
  display: block;
  margin-top: 1.1rem;
  padding: 0.85rem 1rem;
  border: 2px solid var(--oxide);
  color: var(--oxide);
  text-decoration: none;
  font: 700 0.95rem/1.2 var(--narrow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  filter: url(#stamp);
}
.drawer-dispatch:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: no-preference) {
  dialog.drawer[open] .drawer-sheet {
    animation: slide-up 0.34s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  dialog.drawer[open]::backdrop {
    animation: fade-in 0.3s ease-out;
  }
}
@keyframes slide-up {
  0% {
    transform: translateY(100%);
  }
}
@keyframes fade-in {
  0% {
    opacity: 0;
  }
}
@media (min-width: 52rem) {
  body {
    padding-block: 3rem 6rem;
  }
  .desk {
    gap: 3.5rem;
  }
  .sheet:after {
    box-shadow:
      inset 0 0 0 1px #6944186b,
      inset 0 0 10px 1px #8254208c,
      inset 0 0 50px 6px #9669325c,
      inset 0 0 130px 22px #a0783c21;
  }
  .sheet--samizdat:after {
    box-shadow:
      inset 0 0 0 1px #5a54465c,
      inset 0 0 10px 1px #6e665473,
      inset 0 0 50px 6px #78705f47,
      inset 0 0 130px 22px #78705f1a;
  }
  .verso {
    font-size: 14px;
    line-height: 2.25;
    filter: blur(0.55px);
  }
  .cover {
    min-height: min(calc(100svh - 6rem), 62rem);
  }
  .toc a {
    padding: 0.34rem 0;
  }
  .drawer .toc a {
    padding: 0.5rem 0;
  }
  .sheet--samizdat .entry > p {
    font-size: 0.95rem;
  }
  .plate-sheet {
    position: relative;
    top: auto;
    transform: rotate(-0.3deg);
  }
  .fig-legend li {
    padding: 0.3rem 0.4rem;
  }
  .ribbon {
    width: 42px;
    right: max(1.5rem, calc(50% - var(--page-max) / 2 - 4.75rem));
  }
}
@media (hover: hover) {
  .ribbon:hover {
    height: calc(88px + env(safe-area-inset-bottom, 0px));
  }
  .talon-go:hover,
  .talon-code:hover {
    background: #8e2a140f;
  }
}
.directive {
  font-family: var(--narrow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: clamp(0.76rem, 3.1vw, 0.98rem);
  line-height: 1.45;
  color: var(--ink);
  margin: 0.4rem 0 0;
  text-wrap: balance;
}
.classification {
  filter: url(#stamp-firm);
}
.classification .gloss {
  font-size: 0.62em;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-top: 0.25em;
}
.cover.cover--compact {
  min-height: 0;
  display: block;
}
.cover--compact .cover-frame {
  gap: 1.3rem;
  padding: 2.7rem 1.1rem 2.1rem;
}
.cover--compact .emblem {
  height: clamp(70px, 17vw, 100px);
  margin-bottom: 1.1rem;
}
.cover--compact .doctitle {
  font-size: clamp(2rem, 11cqi, 3.8rem);
}
.cover--compact .classification {
  margin-top: 1.5rem;
}
.cover--compact .subtitle {
  margin-top: 1.2rem;
}
.cover--compact .directive {
  margin-top: 0.55rem;
}
.asks {
  margin: 1.8rem 0 0;
}
.asks h2 {
  font-size: clamp(1rem, 4vw, 1.3rem);
}
.reqs {
  display: grid;
  gap: 1.7rem;
  margin-top: 1.3rem;
}
.req h2 {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  margin: 0 0 0.7rem;
  padding-bottom: 0.3rem;
  border-bottom: 1.5px solid var(--ink);
  font: 700 1.02rem/1.2 var(--narrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.req h2 .no {
  font: 0.8rem var(--mono);
  color: var(--oxide);
  letter-spacing: 0.04em;
}
.req h2 .ru {
  margin-left: auto;
  font: 0.72rem var(--mono);
  letter-spacing: 0.05em;
  text-transform: none;
  color: var(--ink-soft);
}
.coupon + .coupon {
  margin-top: 0.9rem;
}
.talon--link {
  position: relative;
  margin-top: 0;
  min-height: 4.6rem;
  box-shadow: 3px 3px #221a1259;
  transition:
    transform 0.08s,
    box-shadow 0.08s;
}
.talon--link:has(.talon-go:active),
.talon--link:has(.talon-code:active) {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px #221a1259;
}
.talon--link .talon-v {
  font-size: 1.3rem;
}
.talon-sub {
  font: 0.92rem/1.35 var(--serif);
  color: var(--ink-soft);
}
.talon-badge {
  position: absolute;
  right: 0.6rem;
  top: -0.85rem;
  --r: 5deg;
  transform: rotate(var(--r));
  font: 700 0.7rem/1 var(--narrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--oxide);
  border: 2px solid currentColor;
  padding: 0.32em 0.55em;
  mix-blend-mode: multiply;
  filter: url(#stamp-firm);
  pointer-events: none;
}
.coupon-more {
  display: inline-block;
  padding: 0.55rem 0 0.1rem;
  font: 0.76rem var(--mono);
  color: var(--oxide);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.coupon-more:hover,
.coupon-more:focus-visible {
  border-bottom-color: var(--oxide);
  outline: none;
}
.links-foot {
  display: grid;
  gap: 1rem;
  margin-top: 2.2rem;
}
.soon {
  margin: 0;
  font: 0.78rem/1.5 var(--mono);
  color: var(--ink-soft);
}
.manual-link {
  display: block;
  padding: 0.85rem 1rem;
  text-align: center;
  border: 2px solid var(--ink);
  color: var(--ink);
  text-decoration: none;
  font: 700 0.98rem/1.2 var(--narrow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.manual-link small {
  display: block;
  margin-top: 0.25rem;
  font: 0.7rem/1.35 var(--mono);
  letter-spacing: 0.03em;
  text-transform: none;
  color: var(--ink-soft);
}
.manual-link:hover,
.manual-link:focus-visible {
  background: #221a120f;
  outline: none;
}
.social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.6rem;
  margin: 0;
  font: 0.84rem var(--mono);
}
.social {
  align-items: center;
  gap: 0.9rem;
}
.social a {
  min-width: 44px;
  padding: 0.5rem 0.75rem;
  text-align: center;
  color: var(--oxide);
  text-decoration: none;
  border: 1.5px solid var(--oxide);
  font: 700 0.82rem/1 var(--narrow);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.social a:hover,
.social a:focus-visible {
  background: #8e2a1414;
  outline: none;
}
.social .handle {
  font: 0.84rem var(--mono);
  color: var(--ink);
}
.fine {
  margin: 0;
  font: 0.7rem/1.55 var(--mono);
  color: var(--ink-soft);
}
.talon--link .talon-code--long .talon-v {
  font-size: 1.02rem;
  letter-spacing: 0.06em;
}
/* A perk stub (no code to copy): same look as a code stub, but it's a link. */
.talon-code--perk {
  width: 6.6rem;
  padding-inline: 0.7rem;
  text-decoration: none;
}
.talon--link .talon-code--perk .talon-v {
  font-size: 1.02rem;
  letter-spacing: 0.06em;
}
