@import url("https://fonts.googleapis.com/css2?family=Special+Elite&family=Reenie+Beanie&family=Courier+Prime:ital,wght@0,400;0,700;1,400&display=swap");
/* HUMINT / Accounts pieces as classified reports (23 Nov 2026). Markup comes from scripts/accounts_build.py. */
.doc.humint { padding: 0; gap: 0; }
.doc.humint .h-band { border-top: 1px solid #c8321f; border-bottom: 1px solid #c8321f; padding: 6px 10px;
  background: repeating-linear-gradient(-45deg, rgba(200,50,31,.88) 0 12px, rgba(160,36,22,.88) 12px 24px);
  color: #fff4e6; text-align: center; font: 600 .72rem/1.3 var(--f-mono, monospace); letter-spacing: .22em; }
.doc.humint .h-head { display: grid; grid-template-columns: auto 1fr; gap: 3px 16px; margin: 0; padding: 16px 28px 12px;
  font: 500 .74rem/1.5 var(--f-mono, monospace); letter-spacing: .05em; border-bottom: 1px dashed rgba(0,0,0,.28); }
.doc.humint .h-head dt { text-transform: uppercase; opacity: .62; }
.doc.humint .h-head dd { margin: 0; }
.doc.humint .h-grade { display: inline-block; border: 1.5px solid #c8321f; color: #c8321f; padding: 0 6px; font-weight: 600; transform: rotate(-3deg); }
.doc.humint .h-body { padding: 8px 28px 6px; }
.doc.humint .h-body p { margin: 0 0 .75em; }
.doc.humint .h-comment { margin: 4px 28px 18px; border-left: 3px solid #c8321f; padding: 4px 12px; font-style: italic; opacity: .9; }
.doc.humint .h-comment b { display: block; font: 600 .66rem var(--f-mono, monospace); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: #c8321f; }
.doc.humint > .h-band:last-child { margin-top: 10px; }
@media (max-width: 560px) {
  .doc.humint .h-head { padding: 14px 16px 10px; gap: 2px 12px; }
  .doc.humint .h-body { padding: 6px 16px 4px; }
  .doc.humint .h-comment { margin: 4px 16px 16px; }
  .doc.humint .h-band { letter-spacing: .14em; font-size: .66rem; }
}

/* TECHINT pieces (25 Nov 2026): captured enemy documents, translated. Same report frame, graphite band, tables and figures. */
.doc.techint .h-band { border-color: #2a2b24; color: #f0d9a8;
  background: repeating-linear-gradient(-45deg, rgba(42,43,36,.94) 0 12px, rgba(64,62,50,.94) 12px 24px); }
.doc.techint .h-comment { border-left-color: #2a2b24; margin: 12px 28px 4px; }
.doc.techint .h-comment b { color: #5a5240; }
.doc.techint .h-body h3 { margin: 1.4em 0 .5em; font: 600 .8rem var(--f-mono, monospace); letter-spacing: .12em; text-transform: uppercase; }
.doc.techint .h-body ul, .doc.techint .h-body ol { margin: 0 0 .9em; padding-left: 1.3em; }
.doc.techint .h-body li { margin: 0 0 .35em; }
.doc.techint .h-body table { width: 100%; border-collapse: collapse; margin: .4em 0 1em; font: 500 .74rem/1.45 var(--f-mono, monospace); }
.doc.techint .h-body th, .doc.techint .h-body td { text-align: left; vertical-align: top; padding: 5px 8px; border-bottom: 1px dotted rgba(0,0,0,.3); }
.doc.techint .h-body th { border-bottom: 1.5px solid rgba(0,0,0,.55); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.doc.techint .t-eq { text-align: center; font: 600 1rem var(--f-mono, monospace); letter-spacing: .04em; margin: .6em 0 1em; }
.doc.techint .t-figure { margin: .8em 0 1.2em; padding: 10px 0 0; border-top: 1px dashed rgba(0,0,0,.28); }
.doc.techint .t-fig { display: block; width: 100%; height: auto; }
.doc.techint figcaption { font: 500 .68rem/1.45 var(--f-mono, monospace); letter-spacing: .04em; opacity: .7; margin-top: 4px; }
.doc.techint .h-body em { color: #2d4f7c; }
@media (max-width: 560px) {
  .doc.techint .h-body { overflow-x: auto; }
  .doc.techint .h-body table { font-size: .66rem; }
  .doc.techint .h-comment { margin: 10px 16px 4px; }
}
.doc.techint .h-body td:nth-child(-n+3) { white-space: nowrap; }

/* Glockenfibel layout (26 Nov 2026): plate beside text on wide screens, stacked on phones. */
.doc.techint .fb-page { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 18px; align-items: start; margin: .5em 0 1.6em; }
.doc.techint .fb-plate { margin: 0; }
.doc.techint .fb-plate img { display: block; width: 100%; height: auto; border: 1px solid rgba(0,0,0,.25); background: #efe6cf; }
.doc.techint .fb-plate figcaption { font: 500 .66rem var(--f-mono, monospace); letter-spacing: .1em; text-transform: uppercase; opacity: .6; margin-top: 4px; }
.doc.techint .fb-label { font: 600 .7rem var(--f-mono, monospace); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 .5em; opacity: .7; }
.doc.techint .fb-verse { font-style: italic; font-size: .92em; line-height: 1.45; color: #5a5240; margin: 0 0 .8em; padding-left: 10px; border-left: 2px solid #a8322a; }
.doc.techint .fb-key { font-weight: 600; margin: 0 0 .7em; }
.doc.techint .fb-details { margin: 0; padding-left: 1.2em; }
.doc.techint .fb-details li { margin: 0 0 .4em; }
.doc.techint .fb-sig { font: 500 .8rem var(--f-mono, monospace); margin: 0 0 .4em; }
.doc.techint .fb-note em, .doc.techint .fb-close .fb-note em { color: #2d4f7c; }
.doc.techint .fb-run { margin: .2em 0 .6em; padding: 12px 14px 10px 2.2em; border: 1.5px solid rgba(0,0,0,.45); background: rgba(255,255,255,.18); }
.doc.techint .fb-run li { margin: 0 0 .35em; }
.doc.techint .fb-ref { font: 500 .68rem var(--f-mono, monospace); letter-spacing: .06em; opacity: .65; margin-left: .4em; white-space: nowrap; }
.doc.techint .fb-runnote { font-size: .9em; opacity: .85; margin: 0 0 1.4em; }
.doc.techint .fb-close { max-width: 34em; margin: .3em 0 1em; }
@media (max-width: 720px) {
  .doc.techint .fb-page { grid-template-columns: 1fr; gap: 10px; }
}

/* Glockenfibel v2 (29 Nov 2026): the pamphlet pages as captured, each with a translate tab that lifts a typed
   onionskin translation over the page. Pure HTML <details>, no script (items are injected without running scripts).
   Square-bracket additions in the translation are styled .br. Markup comes from content/techint/...-glockenfibel.md. */
.doc.techint .fb2 { margin: 6px 0 34px; }
.doc.techint .fb2-sheet { position: relative; border-radius: 5px; overflow: hidden; box-shadow: 0 2px 3px rgba(0,0,0,.35), 0 14px 30px rgba(0,0,0,.35); }
.doc.techint .fb2-sheet > img { display: block; width: 100%; height: auto; aspect-ratio: 1083 / 1452; background: #d9c8a4; }
.doc.techint .fb2-cap { display: flex; justify-content: space-between; margin: 8px 2px 0; font: 500 .7rem var(--f-mono, monospace); letter-spacing: .08em; text-transform: uppercase; opacity: .65; }
.doc.techint .fb2-tr > summary { position: absolute; top: 20%; right: 0; z-index: 3; width: 50px; height: 54px; list-style: none; cursor: pointer;
  display: grid; place-items: center; background: #f6f3ea; color: #1f1d1a; border-radius: 8px 0 0 8px; box-shadow: -2px 3px 8px rgba(0,0,0,.45); transition: width .2s; }
.doc.techint .fb2-tr > summary::-webkit-details-marker { display: none; }
.doc.techint .fb2-tr > summary:hover { width: 58px; }
.doc.techint .fb2-tr > summary:focus-visible { outline: 3px solid #e2b04a; outline-offset: 2px; }
.doc.techint .fb2-tr > summary svg { width: 30px; height: 30px; }
.doc.techint .fb2-tr[open] > summary { background: #a3201b; color: #fff; }
.doc.techint .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.doc.techint .fb2-note { position: absolute; left: 5%; right: 9%; bottom: 3%; max-height: 86%; z-index: 2; overflow: auto; text-align: left;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.015) 0 2px, transparent 2px 4px), #f6f3ea; opacity: .97; color: #1f1d1a;
  padding: 40px 26px 26px; border-radius: 2px; box-shadow: 0 1px 2px rgba(0,0,0,.3), 0 14px 34px rgba(0,0,0,.45);
  transform: rotate(-.6deg); font: 15px/1.5 "Special Elite", "Courier Prime", ui-monospace, monospace; animation: fb2-in .3s ease-out; }
@keyframes fb2-in { from { opacity: 0; transform: translateY(18px) rotate(-.6deg); } }
.doc.techint .fb2-clip { position: absolute; top: -16px; left: 26px; width: 14px; height: 60px; border: 3px solid #8d9296; border-radius: 8px; border-bottom-color: transparent; }
.doc.techint .fb2-clip::after { content: ""; position: absolute; left: 2px; right: 2px; top: 6px; bottom: 10px; border: 2px solid #8d9296; border-top-color: transparent; border-radius: 0 0 6px 6px; }
.doc.techint .fb2-nhead { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; border-bottom: 1px solid #8c8676; padding-bottom: 8px; margin-bottom: 10px; }
.doc.techint .fb2-nhead b { font-weight: 400; font-size: 16px; }
.doc.techint .fb2-nhead small { display: block; font-size: 13px; color: #5d584d; }
.doc.techint .fb2-stamp { flex: none; border: 2.5px solid #a3201b; color: #a3201b; padding: 3px 8px; font: 700 12px/1.15 "Courier Prime", monospace; text-align: center; transform: rotate(-6deg); opacity: .85; border-radius: 3px; }
.doc.techint .fb2-note h4 { font: 400 14.5px/1.3 "Special Elite", monospace; margin: 16px 0 6px; color: #5d584d; letter-spacing: 0; text-transform: none; }
.doc.techint .fb2-note p { margin: 0 0 4px; }
.doc.techint .fb2-note .hdr { font-size: 13px; color: #5d584d; }
.doc.techint .fb2-note .lab { font: italic 13.5px/1.45 "Courier Prime", monospace; color: #5d584d; }
.doc.techint .fb2-note .verse { font: italic 15px/1.5 "Courier Prime", monospace; color: #5d584d; }
.doc.techint .fb2-note ol, .doc.techint .fb2-note ul { margin: 0; padding-left: 1.5em; }
.doc.techint .fb2-note li { margin: 5px 0; }
.doc.techint .fb2-note .br { display: block; margin-top: 2px; font: italic 14.5px/1.45 "Courier Prime", monospace; color: #4a4a7a; }
.doc.techint .fb2-note .hand { font: 400 26px/1 "Reenie Beanie", cursive; color: #23408e; margin: 14px 0 0; transform: rotate(-1.5deg); }
.doc.techint .fb2-note .tn { margin-top: 18px; border-top: 1px dashed #a6a08f; padding-top: 2px; }
@media (max-width: 600px) {
  /* phones: the page is too narrow to lay the note over it, so the note drops in below the page instead */
  .doc.techint .fb2-sheet { overflow: visible; }
  .doc.techint .fb2-sheet > img { border-radius: 5px; }
  .doc.techint .fb2-note { position: relative; left: auto; right: auto; bottom: auto; max-height: none; margin: 14px 4px 0;
    padding: 34px 16px 20px; font-size: 14px; transform: none; animation: none; }
  .doc.techint .fb2-tr > summary { width: 44px; height: 48px; top: 14%; }
  .doc.techint .fb2-nhead { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .doc.techint .fb2-note { animation: none; } }

/* Glockenfibel v3 (29 Nov 2026): pages as a grid of small thumbnails. Tap a page to open it in the site's zoom viewer
   (zoom and pan); tap the translate tab for the translator's note in a pop-up. Pure HTML <details>, no script. Note styles (.fb2-*) shared. */
.doc.techint .fb3-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 26px; margin: 10px 0 18px; }
.doc.techint .fb3 { position: relative; margin: 0; }
.doc.techint .fb3 summary { list-style: none; cursor: pointer; }
.doc.techint .fb3 summary::-webkit-details-marker { display: none; }
.doc.techint .fb3 summary:focus-visible { outline: 3px solid #e2b04a; outline-offset: 3px; }
.doc.techint .fb3-pg { position: relative; border-radius: 4px; overflow: hidden; box-shadow: 0 2px 3px rgba(0,0,0,.35), 0 8px 18px rgba(0,0,0,.3); transition: transform .15s; }
.doc.techint .fb3-pg:hover { transform: translateY(-2px); }
.doc.techint .fb3-th { display: block; width: 100%; height: auto; aspect-ratio: 1083 / 1452; background: #d9c8a4; cursor: zoom-in; }
.doc.techint .fb3-zi { position: absolute; left: 6px; bottom: 6px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(20,22,23,.72); color: #f2ecdd; pointer-events: none; }
.doc.techint .fb3-zi svg { width: 18px; height: 18px; }
/* the site's zoom viewer (assets/zoom-viewer.js) opens the page with zoom and pan; its big "View full size" tag is hidden here */
.doc.techint .fb3 .zv-tag { display: none; }
.doc.techint .fb3-x { display: none; }
.doc.techint .fb3-tr[open] > summary .fb3-x { display: block; position: fixed; z-index: 9003; right: 14px; top: 12px; padding: 9px 14px; border-radius: 4px; background: #f6f3ea; color: #1f1d1a; font: 700 14px/1 "Courier Prime", monospace; }
/* translate tab on the page's right edge */
.doc.techint .fb3-tr > summary { position: absolute; top: 14%; right: -8px; z-index: 3; width: 46px; height: 48px; display: grid; place-items: center; background: #f6f3ea; color: #1f1d1a; border-radius: 6px 3px 3px 6px; box-shadow: 2px 3px 7px rgba(0,0,0,.45); transition: transform .15s; }
.doc.techint .fb3-tr > summary:hover { transform: translateX(3px); }
.doc.techint .fb3-tr > summary svg { width: 28px; height: 28px; }
/* open: the tab becomes a full-screen dimmer (tap outside the note to close) and the note pops up over it */
.doc.techint .fb3-tr[open] > summary { position: fixed; inset: 0; width: auto; height: auto; top: 0; right: 0; z-index: 9001; border-radius: 0; background: rgba(10,11,12,.78); box-shadow: none; transform: none; cursor: default; }
.doc.techint .fb3-tr[open] > summary svg { display: none; }
.doc.techint .fb3-note { position: fixed; z-index: 9002; left: 50%; top: 50%; width: min(660px, 92vw); text-align: left; transform: translate(-50%, -50%);
  background: repeating-linear-gradient(0deg, rgba(0,0,0,.015) 0 2px, transparent 2px 4px), #f6f3ea; color: #1f1d1a; border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,.3), 0 20px 50px rgba(0,0,0,.6); font: 15px/1.5 "Special Elite", "Courier Prime", ui-monospace, monospace; animation: fb3-in .25s ease-out; }
/* the sheet itself stays square to the screen so its scroll bar runs straight; the text scrolls inside it */
.doc.techint .fb3-scroll { max-height: 86vh; overflow: auto; padding: 40px 28px 26px; overscroll-behavior: contain; scrollbar-color: #b8b09b transparent; }
/* paperclip: a Gem clip over the top edge, outside the scrolling area so it is never cut off */
.doc.techint .fb3-clip { position: absolute; z-index: 2; top: -30px; left: 34px; width: 24px; height: 84px; transform: rotate(4deg); filter: drop-shadow(1px 2px 1.5px rgba(0,0,0,.35)); pointer-events: none; }
@keyframes fb3-in { from { opacity: 0; transform: translate(-50%, -46%); } }
.doc.techint .fb3-cap { margin: 8px 2px 0; font: 500 .68rem/1.3 var(--f-mono, monospace); letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
@media (max-width: 560px) {
  .doc.techint .fb3-grid { gap: 18px 14px; }
  .doc.techint .fb3-note { width: 94vw; font-size: 14px; top: 52%; }
  .doc.techint .fb3-scroll { max-height: 82vh; padding: 36px 16px 20px; }
}
@media (prefers-reduced-motion: reduce) { .doc.techint .fb3-note { animation: none; } .doc.techint .fb3 summary { transition: none; } }
/* translation note typography for v3 */
.doc.techint .fb3-note h4 { font: 400 14.5px/1.3 "Special Elite", monospace; margin: 16px 0 6px; color: #5d584d; letter-spacing: 0; text-transform: none; }
.doc.techint .fb3-note p { margin: 0 0 4px; }
.doc.techint .fb3-note .hdr { font-size: 13px; color: #5d584d; }
.doc.techint .fb3-note .lab { font: italic 13.5px/1.45 "Courier Prime", monospace; color: #5d584d; }
.doc.techint .fb3-note .verse { font: italic 15px/1.5 "Courier Prime", monospace; color: #5d584d; }
.doc.techint .fb3-note ol, .doc.techint .fb3-note ul { margin: 0; padding-left: 1.5em; }
.doc.techint .fb3-note li { margin: 5px 0; }
.doc.techint .fb3-note .br { display: block; margin-top: 2px; font: italic 14.5px/1.45 "Courier Prime", monospace; color: #4a4a7a; }
.doc.techint .fb3-note .hand { font: 400 26px/1 "Reenie Beanie", cursive; color: #23408e; margin: 14px 0 0; transform: rotate(-1.5deg); }
.doc.techint .fb3-note .tn { margin-top: 18px; border-top: 1px dashed #a6a08f; padding-top: 2px; }
