:root {
  color-scheme: light;

  /* desk */
  --desk: #e7e2d4;
  --desk-2: #d9d3c2;

  /* paper */
  --paper: #faf8f2;
  --paper-2: #f4efe3;
  --paper-edge: #e3dccb;
  --rule: rgba(120,140,190,.30);
  --margin: #e8878b;

  /* ink */
  --ink-red: #b3262b;
  --ink-navy: #1d2a82;
  --ink-blue: #2147b3;
  --ink-green: #2c7a43;
  --ink-line: #2a2a36;
  --ink-soft: #55596f;

  /* pastel fills (icons, tinted nodes) */
  --tint-blue: #dfe8fb;
  --tint-purple: #e6e0fa;
  --tint-green: #dcf0e0;
  --tint-yellow: #fdf1bd;
  --tint-orange: #fde4cf;
  --tint-red: #f9dcdc;
  --hl-yellow: #fbf1c4;

  /* type */
  --f-title: "Patrick Hand SC", "Shadows Into Light Two", "Patrick Hand", "Mali", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  --f-body: "Patrick Hand", "Segoe Print", "Bradley Hand", "Comic Sans MS", "Chalkboard SE", cursive;
  --f-head: "Patrick Hand", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;

  /* sizes */
  --fs: 17px;
  --lh: 1.55;
  --rule-h: 28px;
  --bw: 1.6px;
  --r: 7px 9px 8px 10px / 9px 7px 10px 8px;

  /* page geometry */
  --pad-l: 98px;
  --pad-r: 30px;
  --margin-x: 78px;
  --spiral-w: 60px;
  --spiral-p: 34px;

  /* dashed 9-slice border images (data URIs) */
  --dash-ink: url("data:image/svg+xml,%3Csvg width=%2236%22 height=%2236%22 xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 36 36%22%3E%3Cpath stroke=%22%232a2a36%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M0.95 12 A11 11 0 0 1 12 0.95%22/%3E%3Cpath stroke=%22%232a2a36%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M24 0.95 A11 11 0 0 1 35.05 12%22/%3E%3Cpath stroke=%22%232a2a36%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M35.05 24 A11 11 0 0 1 24 35.05%22/%3E%3Cpath stroke=%22%232a2a36%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M12 35.05 A11 11 0 0 1 0.95 24%22/%3E%3Cpath stroke=%22%232a2a36%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M12 0.95 H24 M12 35.05 H24%22/%3E%3Cpath stroke=%22%232a2a36%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M0.95 12 V24 M35.05 12 V24%22/%3E%3C/svg%3E"); --dash-soft: url("data:image/svg+xml,%3Csvg width=%2236%22 height=%2236%22 xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 36 36%22%3E%3Cpath stroke=%22%2355596f%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M0.95 12 A11 11 0 0 1 12 0.95%22/%3E%3Cpath stroke=%22%2355596f%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M24 0.95 A11 11 0 0 1 35.05 12%22/%3E%3Cpath stroke=%22%2355596f%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M35.05 24 A11 11 0 0 1 24 35.05%22/%3E%3Cpath stroke=%22%2355596f%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M12 35.05 A11 11 0 0 1 0.95 24%22/%3E%3Cpath stroke=%22%2355596f%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M12 0.95 H24 M12 35.05 H24%22/%3E%3Cpath stroke=%22%2355596f%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M0.95 12 V24 M35.05 12 V24%22/%3E%3C/svg%3E"); --dash-green: url("data:image/svg+xml,%3Csvg width=%2236%22 height=%2236%22 xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 36 36%22%3E%3Cpath stroke=%22%232c7a43%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M0.95 12 A11 11 0 0 1 12 0.95%22/%3E%3Cpath stroke=%22%232c7a43%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M24 0.95 A11 11 0 0 1 35.05 12%22/%3E%3Cpath stroke=%22%232c7a43%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M35.05 24 A11 11 0 0 1 24 35.05%22/%3E%3Cpath stroke=%22%232c7a43%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M12 35.05 A11 11 0 0 1 0.95 24%22/%3E%3Cpath stroke=%22%232c7a43%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M12 0.95 H24 M12 35.05 H24%22/%3E%3Cpath stroke=%22%232c7a43%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M0.95 12 V24 M35.05 12 V24%22/%3E%3C/svg%3E");
  --dash-red: url("data:image/svg+xml,%3Csvg width=%2236%22 height=%2236%22 xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 36 36%22%3E%3Cpath stroke=%22%23b3262b%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M0.95 12 A11 11 0 0 1 12 0.95%22/%3E%3Cpath stroke=%22%23b3262b%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M24 0.95 A11 11 0 0 1 35.05 12%22/%3E%3Cpath stroke=%22%23b3262b%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M35.05 24 A11 11 0 0 1 24 35.05%22/%3E%3Cpath stroke=%22%23b3262b%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M12 35.05 A11 11 0 0 1 0.95 24%22/%3E%3Cpath stroke=%22%23b3262b%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M12 0.95 H24 M12 35.05 H24%22/%3E%3Cpath stroke=%22%23b3262b%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M0.95 12 V24 M35.05 12 V24%22/%3E%3C/svg%3E"); --dash-blue: url("data:image/svg+xml,%3Csvg width=%2236%22 height=%2236%22 xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 36 36%22%3E%3Cpath stroke=%22%232147b3%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M0.95 12 A11 11 0 0 1 12 0.95%22/%3E%3Cpath stroke=%22%232147b3%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M24 0.95 A11 11 0 0 1 35.05 12%22/%3E%3Cpath stroke=%22%232147b3%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M35.05 24 A11 11 0 0 1 24 35.05%22/%3E%3Cpath stroke=%22%232147b3%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M12 35.05 A11 11 0 0 1 0.95 24%22/%3E%3Cpath stroke=%22%232147b3%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M12 0.95 H24 M12 35.05 H24%22/%3E%3Cpath stroke=%22%232147b3%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M0.95 12 V24 M35.05 12 V24%22/%3E%3C/svg%3E");

  /* arrow masks (data URIs) */
  --m-r: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 16%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22  d=%22M2 8.4 C10 7.6 22 8.7 35 8%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M30 3 L37 8 L30 13%22/%3E%3C/svg%3E");   --m-rd: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 16%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-dasharray=%223.2 3.4%22 d=%22M2 8.4 C10 7.6 22 8.7 35 8%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M30 3 L37 8 L30 13%22/%3E%3C/svg%3E");
  --m-l: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 16%22%3E%3Cg transform=%22translate%2840 0%29 scale%28-1 1%29%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22  d=%22M2 8.4 C10 7.6 22 8.7 35 8%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M30 3 L37 8 L30 13%22/%3E%3C/g%3E%3C/svg%3E");   --m-ld: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 16%22%3E%3Cg transform=%22translate%2840 0%29 scale%28-1 1%29%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-dasharray=%223.2 3.4%22 d=%22M2 8.4 C10 7.6 22 8.7 35 8%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M30 3 L37 8 L30 13%22/%3E%3C/g%3E%3C/svg%3E");
  --m-d: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 40%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22  d=%22M8.4 2 C7.6 10 8.7 22 8 35%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 30 L8 37 L13 30%22/%3E%3C/svg%3E");   --m-dd: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 40%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-dasharray=%223.2 3.4%22 d=%22M8.4 2 C7.6 10 8.7 22 8 35%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 30 L8 37 L13 30%22/%3E%3C/svg%3E");
  --m-u: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 40%22%3E%3Cg transform=%22translate%280 40%29 scale%281 -1%29%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22  d=%22M8.4 2 C7.6 10 8.7 22 8 35%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 30 L8 37 L13 30%22/%3E%3C/g%3E%3C/svg%3E");   --m-ud: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 40%22%3E%3Cg transform=%22translate%280 40%29 scale%281 -1%29%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-dasharray=%223.2 3.4%22 d=%22M8.4 2 C7.6 10 8.7 22 8 35%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 30 L8 37 L13 30%22/%3E%3C/g%3E%3C/svg%3E");
  --m-2h: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 16%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22  d=%22M4 8.2 C12 7.6 26 8.6 36 8%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M9 3 L3 8 L9 13%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M31 3 L37 8 L31 13%22/%3E%3C/svg%3E"); --m-2hd: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 16%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-dasharray=%223.2 3.4%22 d=%22M4 8.2 C12 7.6 26 8.6 36 8%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M9 3 L3 8 L9 13%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M31 3 L37 8 L31 13%22/%3E%3C/svg%3E");
  --m-2v: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 40%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22  d=%22M8.2 4 C7.6 12 8.6 26 8 36%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 9 L8 3 L13 9%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 31 L8 37 L13 31%22/%3E%3C/svg%3E"); --m-2vd: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 40%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-dasharray=%223.2 3.4%22 d=%22M8.2 4 C7.6 12 8.6 26 8 36%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 9 L8 3 L13 9%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 31 L8 37 L13 31%22/%3E%3C/svg%3E");

  --lit-6a5bc0: #6a5bc0; --lit-3d63b8: #3d63b8; --lit-4a8a5a: #4a8a5a; --lit-9a7b1f: #9a7b1f; --lit-6c7592: #6c7592; --lit-c0392b: #c0392b; --lit-5b3fb0: #5b3fb0; --lit-b8960f: #b8960f; --lit-8a6d00: #8a6d00; --lit-c4631a: #c4631a; --zebra: rgba(255,255,255,.4); --hdr-bg: rgba(250,248,242,.94);
}
/* Kubernetes Notes: hand-drawn spiral notebook kit.
   Single look, light paper on a desk. Ink colours never change with host theme.
   Wobbly lines come from the #rough filter (symbols.svg) applied ONLY to border
   pseudo-elements and SVG strokes, never to text. */



*, *::before, *::after { box-sizing: border-box; }

html { background: var(--desk); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  padding: 0;
  background: var(--desk);
  color: var(--ink-navy);
  font-family: var(--f-body);
  font-size: var(--fs);
  line-height: var(--lh);
  letter-spacing: .045em;
  overflow-x: hidden;
}

/* ---------- notebook + page ---------- */

.notebook {
  width: 100%;
  min-width: 0;
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.page {
  position: relative;
  isolation: isolate;
  padding: 22px var(--pad-r) 12px var(--pad-l);
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, rgba(0,0,0,.16), rgba(0,0,0,.05) 9px, transparent 20px),
    url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22180%22 height=%22180%22%3E%3Cfilter id=%22g%22 x=%220%22 y=%220%22 width=%22100%25%22 height=%22100%25%22%3E%3CfeTurbulence type=%22fractalNoise%22 baseFrequency=%22.9%22 numOctaves=%223%22 seed=%225%22/%3E%3CfeColorMatrix values=%220 0 0 0 .45  0 0 0 0 .4  0 0 0 0 .3  0 0 0 .55 -.18%22/%3E%3C/filter%3E%3Crect width=%22180%22 height=%22180%22 filter=%22url(%23g)%22 opacity=%22.55%22/%3E%3C/svg%3E"),
    repeating-linear-gradient(to bottom,
      transparent 0, transparent calc(var(--rule-h) - 1px),
      var(--rule) calc(var(--rule-h) - 1px), var(--rule) var(--rule-h));
  background-repeat: no-repeat, repeat, repeat;
  background-size: 20px 100%, 180px 180px, auto;
  background-position: var(--spiral-w) 0, 0 0, 0 14px;
  border-right: 1px solid var(--paper-edge);
  border-bottom: 1px solid var(--paper-edge);
  overflow: hidden;
  min-width: 0;
  min-height: 1060px;
  color: var(--ink-navy);
}
/* red margin line */
.page::after {
  content: "";
  position: absolute; z-index: -1;
  top: 0; bottom: 0; left: var(--margin-x);
  width: 6px;
  background: linear-gradient(to right, var(--margin) 0 1.5px, transparent 1.5px 4px, rgba(232,135,139,.5) 4px 5px, transparent 5px);
  opacity: .95;
}
/* spiral binding: glossy coil tile repeated down the left edge, ends sit in punched holes */
.page::before {
  content: "";
  position: absolute; z-index: 1;
  top: 0; bottom: 0; left: 0;
  width: var(--spiral-w);
  background: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%2246%22%20height=%2226%22%20viewBox=%220%200%2046%2026%22%3E%3Cellipse%20cx=%2237%22%20cy=%2213.6%22%20rx=%226.4%22%20ry=%225.2%22%20fill=%22%23ddd5c2%22/%3E%3Cellipse%20cx=%2237%22%20cy=%2214%22%20rx=%225%22%20ry=%224%22%20fill=%22%233a362f%22/%3E%3Cpath%20d=%22M2%2019.6%20C11%2015.6%2023%2014.6%2035%2015.4%22%20fill=%22none%22%20stroke=%22%23000%22%20stroke-opacity=%22.16%22%20stroke-width=%224.4%22%20stroke-linecap=%22round%22/%3E%3Cpath%20d=%22M0%2016.4%20C10%2012%2022%2011%2036%2012.6%22%20fill=%22none%22%20stroke=%22%23111114%22%20stroke-width=%225.4%22%20stroke-linecap=%22round%22/%3E%3Cpath%20d=%22M2%2014.4%20C11%2010.6%2023%209.6%2035%2011%22%20fill=%22none%22%20stroke=%22%23a7a7b0%22%20stroke-width=%221.3%22%20stroke-linecap=%22round%22%20opacity=%22.85%22/%3E%3Cpath%20d=%22M1%2018.2%20C7%2016%2014%2014.8%2022%2014.4%22%20fill=%22none%22%20stroke=%22%233b3b44%22%20stroke-width=%221%22%20stroke-linecap=%22round%22%20opacity=%22.8%22/%3E%3Ccircle%20cx=%2237%22%20cy=%2212.9%22%20r=%223.9%22%20fill=%22%230b0b0d%22/%3E%3Cpath%20d=%22M34.6%2011.6%20C35.6%2010.4%2037.6%2010.2%2038.8%2011.2%22%20fill=%22none%22%20stroke=%22%238d8d96%22%20stroke-width=%221%22%20stroke-linecap=%22round%22/%3E%3C/svg%3E") repeat-y left top / var(--spiral-w) var(--spiral-p);
  background-position: 0 4px;
  pointer-events: none;
}

.page-title {
  margin: 4px calc(12px - var(--pad-r)) 0 calc(var(--spiral-w) + 6px - var(--pad-l));
  white-space: nowrap;
  display: flex; align-items: center; justify-content: center; gap: clamp(8px, 1.8vw, 14px);
  font-family: var(--f-title);
  font-weight: 400;
  font-size: clamp(24px, 6.8vw, 61px);
  line-height: 1.05;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--ink-red);
  text-align: center;
}
.page-title.mixed { text-transform: none; }
.page-title.wrap { white-space: normal; }
.page-title::before, .page-title::after {
  content: "";
  flex: none;
  width: clamp(20px, 3.6vw, 30px);
  height: clamp(20px, 3.6vw, 30px);
  background: var(--ink-blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2056%2056%22%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M50%209%20L9%201.5%22/%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M54%2028.4%20L4%2027.2%22/%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M50%2047%20L9%2054.5%22/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2056%2056%22%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M50%209%20L9%201.5%22/%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M54%2028.4%20L4%2027.2%22/%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M50%2047%20L9%2054.5%22/%3E%3C/svg%3E") center / contain no-repeat;
}
.page-title::after {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2056%2056%22%3E%3Cg%20transform=%22translate%2856%200%29%20scale%28-1%201%29%22%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M50%209%20L9%201.5%22/%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M54%2028.4%20L4%2027.2%22/%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M50%2047%20L9%2054.5%22/%3E%3C/g%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2056%2056%22%3E%3Cg%20transform=%22translate%2856%200%29%20scale%28-1%201%29%22%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M50%209%20L9%201.5%22/%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M54%2028.4%20L4%2027.2%22/%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M50%2047%20L9%2054.5%22/%3E%3C/g%3E%3C/svg%3E");
}
.page-no {
  margin: 2px calc(12px - var(--pad-r)) 14px calc(var(--spiral-w) + 6px - var(--pad-l));
  text-align: center;
  font-family: var(--f-head);
  font-size: 24px;
  line-height: 1.2;
  color: var(--ink-blue);
  letter-spacing: .06em;
}

/* ---------- sections + text ---------- */

.sec { margin: 0 0 12px; position: relative; }
.sec > p, .sec > ul, .sec > ol { margin-top: 0; }

.sec-h {
  margin: 0 0 8px;
  font-family: var(--f-head);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: .045em;
  color: var(--ink-red);
}
.sec-h .no { margin-right: .5em; }
.sec-h { display: flex; align-items: baseline; gap: .15em; }
.sec-h .no { flex: none; }
.sec-h .u { position: relative; display: block; width: fit-content; }
.sec-h .u::after {
  content: "";
  position: absolute; left: -2px; right: -3px; bottom: -4px;
  height: 18px;
  border-bottom: 1.8px solid var(--ink-red);
  transform: rotate(-.35deg);
  filter: url(#rough);
  pointer-events: none;
}
.sec-h.g, .sec-h.g .u::after { color: var(--ink-green); }
.sec-h.g .u::after { border-bottom-color: var(--ink-green); }
.sec-h.b { color: var(--ink-blue); }
.sec-h.b .u::after { border-bottom-color: var(--ink-blue); }

p { margin: 0 0 .5em; }
.sec p, .sec li { text-wrap: pretty; }
h1, h2, h3, h4 { margin: 0; }
b, strong { font-weight: 400; color: var(--ink-red); }
em, i { font-style: normal; color: var(--ink-blue); }
.small { font-size: .92em; line-height: 1.4; font-family: var(--f-body); color: inherit; }
.tiny  { font-size: max(14px, calc(13px * var(--type-k))); line-height: 1.3; }
.c { text-align: center; }
.r { color: var(--ink-red); }
.n { color: var(--ink-navy); }
.b { color: var(--ink-blue); }
.g { color: var(--ink-green); }
.soft { color: var(--ink-soft); }
.mt { margin-top: 8px; }
.mb { margin-bottom: 12px; }
.nowrap { white-space: nowrap; }
.hl { background: linear-gradient(transparent 55%, var(--hl-yellow) 55%); }

/* bullet lists */
ul.dots, ul.ticks, ul.dash, ul.plain { list-style: none; margin: 0 0 .5em; padding: 0; }
ul.dots > li, ul.ticks > li, ul.dash > li { position: relative; padding-left: 1.25em; margin: .12em 0; }
ul.dots > li::before {
  content: ""; position: absolute; left: .15em; top: .72em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-red);
}
ul.dots.g > li::before { background: var(--ink-green); }
ul.dots.b > li::before { background: var(--ink-blue); }
ul.dots.n > li::before { background: var(--ink-navy); }
ul.ticks > li { padding-left: 1.5em; }
ul.ticks > li::before {
  content: ""; position: absolute; left: 0; top: .32em;
  width: 1em; height: 1em;
  background: var(--ink-blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-width=%222.4%22 d=%22M3 10.5 C5 12.5 6.5 14.5 8 16.5 C10.5 10 13.5 6 17.5 3%22/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 20%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-width=%222.4%22 d=%22M3 10.5 C5 12.5 6.5 14.5 8 16.5 C10.5 10 13.5 6 17.5 3%22/%3E%3C/svg%3E") center / contain no-repeat;
}
ul.dash > li::before { content: "-"; position: absolute; left: .35em; top: 0; color: var(--ink-navy); }
ul.dash { margin-left: 1em; font-size: .94em; }
ul.dots ul.dash, ul.dots ul.dots { margin-top: 0; }
ol.num { margin: 0 0 .5em; padding-left: 1.6em; }
ol.num > li::marker { color: var(--ink-red); }

/* ---------- boxes ---------- */

.box, .node {
  position: relative;
  isolation: isolate;
  padding: 8px 12px;
  background: transparent;
}
.box::before, .node::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border: var(--bw) solid var(--ink-line);
  border-radius: var(--r);
  filter: url(#rough);
  pointer-events: none;
}
.box.dashed::before, .node.dashed::before, .group::before, pre.cmd::before, .tbl.dashed::before {
  border: 12px solid transparent;
  border-image: var(--dash, var(--dash-ink)) 12 round;
  border-radius: 0;
}
.dashed.green { --dash: var(--dash-green); }
.dashed.red { --dash: var(--dash-red); }
.dashed.blue { --dash: var(--dash-blue); }
.dashed.soft { --dash: var(--dash-soft); }
.box.navy::before { border-color: var(--ink-navy); }
.box.blue::before { border-color: var(--ink-blue); }
.box.green::before { border-color: var(--ink-green); }
.box.red::before { border-color: var(--ink-red); }
.box.solid-fill { background: var(--paper); }

.box-h {
  display: block;
  margin: 0 0 6px;
  text-align: center;
  font-family: var(--f-head);
  font-size: max(14px, calc(18px * var(--type-k)));
  line-height: 1.25;
  letter-spacing: .05em;
  color: var(--ink-red);
}
.box-h.u { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 5px; text-decoration-skip-ink: none; }
.box-h.g { color: var(--ink-green); }
.box-h.l { text-align: left; }
.box > p:last-child, .box > ul:last-child { margin-bottom: 0; }
.box.tight { padding: 6px 10px; }
.box.roomy { padding: 9px 14px; }

/* "In short :" double-bordered footer */
.box.double {
  margin-top: 12px;
  padding: 10px 20px;
  color: var(--ink-navy);
  text-align: center;
}
.box.double::before, .box.double::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  border: 1.8px solid var(--ink-blue);
  border-radius: 7px;
  filter: url(#rough);
}
.box.double::before { inset: 0; }
.box.double::after { inset: 5px; border-width: 1.3px; border-radius: 5px; }
.box.double .lbl { color: var(--ink-red); margin-right: .8em; white-space: nowrap; }

/* side-note callout: box + curly brace + text */
.callout {
  display: flex; align-items: stretch; gap: 8px;
}
.callout > .box, .callout > .node { flex: 0 1 auto; }
.callout > .grow { flex: 1 1 auto; min-width: 0; }
.callout > .side {
  align-self: center;
  color: var(--ink-navy);
  line-height: 1.35;
}
.brace {
  flex: none;
  align-self: stretch;
  width: 14px;
  min-height: 36px;
  background: var(--ink-line);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 100%22 preserveAspectRatio=%22none%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 vector-effect=%22non-scaling-stroke%22 d=%22M2 2 C9 2 8 8 8 18 L8 36 C8 46 10 49 14 50 C10 51 8 54 8 64 L8 82 C8 92 9 98 2 98%22/%3E%3C/svg%3E") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 100%22 preserveAspectRatio=%22none%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 vector-effect=%22non-scaling-stroke%22 d=%22M2 2 C9 2 8 8 8 18 L8 36 C8 46 10 49 14 50 C10 51 8 54 8 64 L8 82 C8 92 9 98 2 98%22/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
.brace.l { transform: scaleX(-1); }

/* dashed separators */
hr.sep {
  border: 0; height: 0; margin: 14px 0;
  border-top: 1.5px dashed var(--ink-soft);
  opacity: .8;
}
hr.sep.v { border: 0; border-left: 1.5px dashed var(--ink-soft); align-self: stretch; height: auto; margin: 0; }

/* ---------- columns ---------- */

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 22px;
  align-items: start;
  margin-bottom: 10px;
}
.cols.lw { grid-template-columns: 1.1fr .9fr; }
.cols.rw { grid-template-columns: .9fr 1.1fr; }
.cols.l2 { grid-template-columns: 1.25fr .75fr; }
.cols.r2 { grid-template-columns: .85fr 1.15fr; }
.cols.c3 { grid-template-columns: repeat(3, 1fr); }
.cols.c4 { grid-template-columns: repeat(4, 1fr); }
.cols.mid { align-items: center; }
.cols.stretch { align-items: stretch; }
.cols.div { position: relative; }
.cols.div > :nth-child(2)::before { content: none; }
.cols > * { min-width: 0; }
.cols.div { column-gap: 0; }
.cols.div > * { padding: 0 14px; }
.cols.div > :first-child { padding-left: 0; }
.cols.div > :last-child { padding-right: 0; }
.cols.div > * + * { border-left: 1.5px dashed var(--ink-soft); }
.cols .sec { margin-bottom: 8px; }

/* ---------- nodes, flows, arrows ---------- */

.node {
  text-align: center;
  font-size: max(14px, calc(15px * var(--type-k)));
  line-height: 1.3;
  min-width: 0;
  padding: 8px 10px;
}
.node .t { display: block; color: var(--ink-red); font-family: var(--f-head); font-size: max(14px, calc(16px * var(--type-k))); letter-spacing: .04em; margin-bottom: 2px; }
.node .d { display: block; color: var(--ink-navy); font-size: max(14px, calc(15px * var(--type-k))); }
.node.sm { font-size: max(14px, calc(14px * var(--type-k))); padding: 5px 8px; }
.node.sm .t { font-size: max(14px, calc(15px * var(--type-k))); }
.node.left { text-align: left; }
.node .ic { display: block; margin: 4px auto 0; }
.node[class*="tint-"] { background: transparent; }

.arrow {
  --img: var(--m-r);
  flex: none;
  display: block;
  width: 36px; height: 16px;
  align-self: center;
  background: var(--ink-line);
  -webkit-mask: var(--img) center / 100% 100% no-repeat;
          mask: var(--img) center / 100% 100% no-repeat;
}
.arrow.dash { --img: var(--m-rd); }
.arrow.left { --img: var(--m-l); }
.arrow.left.dash { --img: var(--m-ld); }
.arrow.two  { --img: var(--m-2h); }
.arrow.two.dash { --img: var(--m-2hd); }
.arrow.down, .arrow.up, .arrow.two-v { width: 16px; height: 34px; }
.arrow.down { --img: var(--m-d); }
.arrow.down.dash { --img: var(--m-dd); }
.arrow.up { --img: var(--m-u); }
.arrow.up.dash { --img: var(--m-ud); }
.arrow.two-v { --img: var(--m-2v); }
.arrow.two-v.dash { --img: var(--m-2vd); }
.arrow.long { width: 56px; }
.arrow.short { width: 26px; }
.arrow.red { background: var(--ink-red); }
.arrow.blue { background: var(--ink-blue); }

.flow {
  display: flex; flex-wrap: nowrap; align-items: stretch; justify-content: center;
  gap: 4px; margin: 4px 0 8px;
}
.flow > .node { flex: 1 1 0; display: flex; flex-direction: column; justify-content: center; }
.flow > .arrow { align-self: center; width: 30px; }
.flow > .node.sm { overflow-wrap: anywhere; padding: 4px 3px; letter-spacing: 0; }
.flow > .node.sm .t, .flow > .node.sm .d { letter-spacing: 0; }
.flow > .node.sm .d { font-size: max(14px, calc(13.5px * var(--type-k))); }
.flow > .arrow.short { width: 14px; }
.flow.wrap { flex-wrap: wrap; row-gap: 12px; }
.flow.wrap > .node { flex: 1 1 110px; }
.flow.v { flex-direction: column; align-items: center; gap: 2px; }
.flow.v > .node { flex: none; width: min(100%, 220px); }
.flow.v > .node.wide { width: min(100%, 360px); }
.flow.v > .arrow { --img: var(--m-d); width: 16px; height: 30px; }
.flow.v > .arrow.dash { --img: var(--m-dd); }
.flow.v > .arrow.two { --img: var(--m-2v); }
.flow.v > .arrow.two.dash { --img: var(--m-2vd); }
.flow > .arrow.back { --img: var(--m-l); }

/* dashed group box around a flow (flow diagrams p4, p9) */
.group { position: relative; isolation: isolate; padding: 8px 12px 8px; margin: 6px 0 8px; }
.group::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  filter: url(#rough); pointer-events: none;
}
.group.solid::before { border: var(--bw) solid var(--ink-line); border-image: none; border-radius: var(--r); }
.group.green { --dash: var(--dash-green); }
.group.solid.green::before { border-color: var(--ink-green); }
.group > .box-h { margin-bottom: 8px; }

/* grids of small boxes (control plane row etc.) */
.grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); margin-bottom: 8px; }
.grid.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.c3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid.c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid > .node { text-align: center; }
.grid > .node .d { font-size: max(14px, calc(15px * var(--type-k))); }

/* ---------- icons ---------- */

.ic { display: inline-block; width: 1.5em; height: 1.5em; vertical-align: -.35em; flex: none; overflow: visible; }
.ic.sm { width: 1.1em; height: 1.1em; vertical-align: -.2em; }
.ic.lg { width: 44px; height: 44px; }
.ic.xl { width: 64px; height: 64px; }
.ic.xxl { width: 96px; height: 96px; }
.ic-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; margin: 4px 0; }
.icon-card { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }

/* ---------- tables ---------- */

.tbl-wrap { max-width: 100%; overflow-x: auto; overflow-y: hidden; margin: 4px 0 8px; padding: 2px; -webkit-overflow-scrolling: touch; }
table.tbl {
  position: relative;
  width: 100%;
  border-collapse: separate; border-spacing: 0;
  font-size: max(14px, calc(15px * var(--type-k))); line-height: 1.35;
  letter-spacing: .03em;
  color: var(--ink-navy);
}
.tbl::before {
  content: ""; position: absolute; inset: 0; z-index: 2;
  border: var(--bw) solid var(--ink-line); border-radius: 6px 8px 7px 9px / 8px 6px 9px 7px;
  filter: url(#rough); pointer-events: none;
}
.tbl th, .tbl td { position: relative; padding: 6px 10px; text-align: center; vertical-align: middle; font-weight: 400; }
.tbl th {
  color: var(--ink-red);
  font-family: var(--f-head);
  font-size: max(14px, calc(16px * var(--type-k)));
  letter-spacing: .05em;
  background: transparent;
}
.tbl td.l, .tbl th.l { text-align: left; }
.tbl td::after, .tbl th::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  border-right: 1.2px solid var(--ink-line);
  border-bottom: 1.2px solid var(--ink-line);
  filter: url(#rough);
}
.tbl tr > :last-child::after { border-right: 0; }
.tbl tbody tr:last-child > *::after { border-bottom: 0; }
.tbl.thin td::after, .tbl.thin th::after { border-color: var(--ink-soft); }
.tbl.nogrid td::after { border-right: 0; }
.tbl.yellow thead th, .tbl.yellow tr:first-child th { background: var(--hl-yellow); }
.tbl.zebra tbody tr:nth-child(even) td { background: var(--zebra); }
.tbl td.k, .tbl td.cmd { font-family: var(--f-body); }
.tbl .cmd { background: none; padding: 0; border: 0; }
.tbl-wrap.min table.tbl { min-width: 560px; }
.tbl.cmds td { font-size: max(14px, calc(14px * var(--type-k))); text-align: left; letter-spacing: .02em; }
.tbl.cmds th { text-align: center; }
.tbl.cmds.stack td:nth-child(1), .tbl.cmds.stack td:nth-child(3) { font-size: max(14px, calc(12.5px * var(--type-k))); white-space: nowrap; }
.tbl.cmds.stack td:nth-child(1) { width: 34%; }
.tbl.cmds.stack.wrap td:nth-child(1), .tbl.cmds.stack.wrap td:nth-child(3) { white-space: normal; overflow-wrap: anywhere; }

/* ---------- commands + key/value + trees ---------- */

.cmd, code, kbd, samp {
  font-family: var(--f-body);
  font-size: .95em;
  letter-spacing: .03em;
  color: var(--ink-navy);
}
code.cmd, .cmd.inline, p code, li code { background: none; padding: 0; border-radius: 0; border-bottom: 1px dashed var(--ink-navy); }
pre.cmd {
  position: relative; isolation: isolate;
  margin: 6px 0 10px; padding: 8px 12px;
  white-space: pre-wrap; overflow-wrap: anywhere;
  line-height: 1.5; font-size: max(14px, calc(15px * var(--type-k)));
}
pre.cmd::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  filter: url(#rough); pointer-events: none;
}
pre.cmd .p { color: var(--ink-red); }
pre.cmd .c { color: var(--ink-soft); }
pre.cmd .y { color: var(--ink-green); }

ul.kv { list-style: none; margin: 0 0 .6em; padding: 0; display: grid; grid-template-columns: max-content 1fr; column-gap: 10px; row-gap: 4px; }
ul.kv > li { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; position: relative; padding-left: 1.2em; align-items: baseline; }
ul.kv > li::before {
  content: ""; position: absolute; left: .15em; top: .72em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--ink-red);
}
ul.kv > li > :first-child { display: block; color: var(--ink-red); white-space: nowrap; }
ul.kv > li > :first-child::after { content: " :"; color: var(--ink-navy); }
ul.kv > li > :nth-child(2) { display: block; }
ul.kv.n > li > :first-child { color: var(--ink-navy); }
ul.kv.g > li > :first-child { color: var(--ink-green); }
ul.kv.g > li::before { background: var(--ink-green); }
ul.kv.nodot > li { padding-left: 0; }
ul.kv.nodot > li::before { content: none; }
ul.kv.small { font-size: max(14px, calc(15px * var(--type-k))); }

ul.tree, ul.tree ul { list-style: none; margin: 0; padding: 0; }
ul.tree ul { margin-left: .7em; padding-left: 1.1em; border-left: 1.5px solid var(--ink-soft); }
ul.tree li { position: relative; margin: .15em 0; }
ul.tree ul > li::before {
  content: ""; position: absolute; left: -1.1em; top: .85em;
  width: .8em; border-top: 1.5px solid var(--ink-soft);
}
ul.tree ul > li:last-child { background: linear-gradient(var(--paper), var(--paper)) -1.2em 0 / 6px 0 no-repeat; }

/* ---------- tags ---------- */

.tag, .pill {
  display: inline-block; vertical-align: baseline;
  padding: 0 .55em; margin: 0 .1em;
  font-size: .82em; line-height: 1.5;
  border: 1.4px solid var(--ink-line); border-radius: 999px;
  color: var(--ink-navy); background: transparent;
  white-space: nowrap;
}
.tag.r { color: var(--ink-red); border-color: var(--ink-red); }
.tag.b { color: var(--ink-blue); border-color: var(--ink-blue); }
.tag.g { color: var(--ink-green); border-color: var(--ink-green); }
.tag.fill-r { background: var(--tint-red); }
.tag.fill-b { background: var(--tint-blue); }
.tag.fill-g { background: var(--tint-green); }
.tag.fill-y { background: var(--tint-yellow); }
.pill { border-radius: 8px; }

/* ---------- inline SVG diagram classes ---------- */

svg.dg { display: block; height: auto; max-width: 100%; overflow: visible; }
svg.dg text { font-family: var(--f-body); font-size: calc(15px * var(--type-dk)); fill: var(--ink-navy); letter-spacing: .03em; }
svg.dg text.t { fill: var(--ink-red); font-family: var(--f-head); font-size: calc(16px * var(--type-dk)); }
svg.dg text.s { font-size: calc(13px * var(--type-dk)); }
svg.dg text.g { fill: var(--ink-green); }
svg.dg text.b { fill: var(--ink-blue); }
svg.dg .bx { fill: none; stroke: var(--ink-line); stroke-width: 1.5; filter: url(#rough); }
svg.dg .bx.fill { fill: var(--paper); }
svg.dg .bx.dsh, svg.dg .dsh { stroke-dasharray: 5 4; }
svg.dg .bx.blue { stroke: var(--ink-blue); }
svg.dg .bx.green { stroke: var(--ink-green); }
svg.dg .bx.red { stroke: var(--ink-red); }
svg.dg .tint-b { fill: var(--tint-blue); }
svg.dg .tint-g { fill: var(--tint-green); }
svg.dg .tint-p { fill: var(--tint-purple); }
svg.dg .tint-y { fill: var(--tint-yellow); }
svg.dg .tint-o { fill: var(--tint-orange); }
svg.dg .tint-r { fill: var(--tint-red); }
svg.dg .ln { fill: none; stroke: var(--ink-line); stroke-width: 1.4; stroke-linecap: round; filter: url(#rough-line); }
svg.dg .ln.a { marker-end: url(#arrowhead); }
svg.dg .ln.a2 { marker-start: url(#arrowhead); marker-end: url(#arrowhead); }
svg.dg .ln.dsh { stroke-dasharray: 5 4; }
svg.dg .ln.dsh.a { marker-end: url(#arrowhead-dash); }
svg.dg .ln.blue { stroke: var(--ink-blue); }
svg.dg .ln.red { stroke: var(--ink-red); }
svg.dg .ln.green { stroke: var(--ink-green); }
svg.dg .dot { fill: var(--ink-red); }
svg.dg .ink { fill: var(--ink-line); }

/* page-local tuning (backward compatible, opt-in classes) */
.cols.dgw { grid-template-columns: 1fr 1.05fr; }
.cols.dgw svg.dg text.s { font-size: calc(14.5px * var(--type-dk)); }
.cols.dgw svg.dg text { font-size: calc(16.5px * var(--type-dk)); }
.cols.dgw svg.dg text.t { font-size: calc(18px * var(--type-dk)); }
table.tbl.fit { font-size: max(14px, calc(14px * var(--type-k))); }
table.tbl.fit th { font-size: max(14px, calc(15px * var(--type-k))); }
table.tbl.fit td:first-child, table.tbl.fit th:first-child { white-space: nowrap; width: 26%; }
table.tbl.fit td, table.tbl.fit th { padding: 6px 6px; }
.sec-h.wrapok .u { display: inline; width: auto; }
.sec-h.wrapok .u::after { display: none; }
.sec-h.wrapok .u { text-decoration: underline; text-decoration-color: var(--ink-red); text-decoration-thickness: 1.8px; text-underline-offset: 5px; text-decoration-skip-ink: none; }
.sec-h.wrapok { display: block; }
.sec-h.wrapok .no { margin-right: .5em; }

/* ---------- cover helpers ---------- */

.cover .page-title { font-size: clamp(44px, 11.5vw, 104px); line-height: 1; flex-direction: column; gap: 0; margin: 18px 0 0; }
.cover .page-title > span { display: flex; justify-content: center; }
.cover .page-no { margin-left: 0; margin-right: 0; }
.cover .page-title::before, .cover .page-title::after { content: none; }
.cover .title-wrap { position: relative; display: flex; align-items: center; justify-content: center; gap: 14px; }
.cover .title-wrap::before, .cover .title-wrap::after {
  content: ""; flex: none; width: clamp(34px, 8vw, 74px); height: clamp(34px, 8vw, 74px);
  background: var(--ink-blue);
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2056%2056%22%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M50%209%20L9%201.5%22/%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M54%2028.4%20L4%2027.2%22/%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M50%2047%20L9%2054.5%22/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2056%2056%22%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M50%209%20L9%201.5%22/%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M54%2028.4%20L4%2027.2%22/%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M50%2047%20L9%2054.5%22/%3E%3C/svg%3E") center / contain no-repeat;
}
.cover .title-wrap::after { -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2056%2056%22%3E%3Cg%20transform=%22translate%2856%200%29%20scale%28-1%201%29%22%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M50%209%20L9%201.5%22/%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M54%2028.4%20L4%2027.2%22/%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M50%2047%20L9%2054.5%22/%3E%3C/g%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2056%2056%22%3E%3Cg%20transform=%22translate%2856%200%29%20scale%28-1%201%29%22%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M50%209%20L9%201.5%22/%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M54%2028.4%20L4%2027.2%22/%3E%3Cpath%20fill=%22none%22%20stroke=%22%23000%22%20stroke-width=%221.7%22%20stroke-linecap=%22round%22%20d=%22M50%2047%20L9%2054.5%22/%3E%3C/g%3E%3C/svg%3E"); }
.banner {
  position: relative; isolation: isolate; text-align: center;
  margin: 16px auto 10px; padding: 8px 18px; max-width: 94%;
  font-family: var(--f-head); font-size: clamp(17px, 3vw, 24px); letter-spacing: .08em; color: var(--ink-navy);
}
.banner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border: 2px solid var(--ink-navy); border-radius: 5px; filter: url(#rough);
}
.lede { text-align: center; max-width: 36em; margin: 8px auto 16px; letter-spacing: .06em; text-wrap: balance; }
.banner { text-wrap: balance; }

/* opt-in: aligned group boxes, dashed icon cards, centred double footer */
.grid.stretch { align-items: stretch; margin-bottom: 0; }
.grid.stretch > .group { display: flex; flex-direction: column; margin: 0; }
.grid.stretch > .group > .flow.v { flex: 1; justify-content: flex-start; }
.grid.stretch .node.sm .t { color: var(--ink-navy); font-size: max(14px, calc(14px * var(--type-k))); margin: 0; }
.grid.stretch .node.sm { transform: rotate(-.3deg); }
.grid.stretch .node.sm:nth-child(even) { transform: rotate(.35deg); }
.grid.stretch .node.sm::before { border-radius: 6px 9px 7px 10px; }
.grid.stretch .node.sm:nth-child(even)::before { border-radius: 9px 6px 10px 7px; }
.grid.stretch > .group:nth-child(odd)  { transform: rotate(-.2deg); }
.grid.stretch > .group:nth-child(even) { transform: rotate(.25deg); }
.grid.stretch .node.sm.dashed { font-size: max(14px, calc(13px * var(--type-k))); }
.flow.cards { align-items: stretch; }
.flow.cards > .arrow { align-self: center; flex: 0 1 80px; min-width: 18px; }
.flow.cards > .box { flex: 1 1 0; min-width: 0; padding: 8px 6px; }
.icon-card.tight { gap: 2px; line-height: 1.1; }
.icon-card.tight span { line-height: 1.1; }
.box.double.fl { display: flex; align-items: center; justify-content: center; gap: .6em; padding: 10px 14px; }
.box.double.fl > span { text-align: center; text-wrap: balance; }

/* ---------- responsive ---------- */

@media (max-width: 640px) {
  :root {
    --pad-l: 66px; --pad-r: 14px; --margin-x: 58px; --spiral-p: 28px; --spiral-w: 52px;
    --fs: 16px;
  }
  body { padding: 0; }
  .notebook { gap: 12px; margin: 0; }
  .page { padding-top: 16px; padding-bottom: 22px; min-height: 0; border-right: 0; }
  .page::before { background-position: 0 4px; }
  .page-no { font-size: 20px; margin-bottom: 10px; }
  .page-title { gap: 6px; }
  .sec-h { font-size: 19px; }

  .cols, .cols.lw, .cols.rw, .cols.l2, .cols.r2, .cols.dgw { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .cols.c3, .cols.c4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols.div > * { padding: 0; }
  .cols.div > * + * { border-left: 0; }
  .cols.div > :last-child { border-top: 1.5px dashed var(--ink-soft); padding-top: 8px; margin-top: 4px; }

  .flow { flex-direction: column; align-items: stretch; gap: 2px; }
  .flow > .node, .flow.wrap > .node { flex: none; }
  .flow > .arrow, .flow.wrap > .arrow { --img: var(--m-d); align-self: center; width: 16px; height: 28px; }
  .flow > .arrow.dash { --img: var(--m-dd); }
  .flow > .arrow.two { --img: var(--m-2v); }
  .flow > .arrow.two.dash { --img: var(--m-2vd); }
  .flow > .arrow.back { --img: var(--m-u); }
  .flow.keep { flex-direction: row; }
  .flow.keep > .node { flex: 1 1 0; }
  .flow.keep > .arrow { --img: var(--m-r); width: 20px; height: 16px; }
  .flow.keep.wrap { flex-wrap: wrap; row-gap: 8px; }
  .flow.keep.wrap > .node { flex: 1 1 28%; padding: 4px 4px; }
  ul.kv.keep { grid-template-columns: 38% 1fr; }
  ul.kv.keep > li { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; }
  ul.kv.keep > li > :first-child { display: block; white-space: normal; }
  ul.kv.keep > li > :nth-child(2) { display: block; }

  .callout { flex-wrap: wrap; }
  .callout > .box, .callout > .node, .callout > .grow { flex: 1 1 100%; }
  .callout > .brace { display: none; }
  .callout > .side { padding-left: 4px; }
  .callout.keep { flex-wrap: nowrap; }
  .callout.keep > .grow { flex: 1 1 auto; }
  .callout.keep > .brace { display: block; width: 12px; }
  .callout.keep > .side { flex: 0 0 4.2em; }
  .grid, .grid.c3, .grid.c4, .grid.c5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .box.double { padding: 10px 14px; text-align: left; }
  ul.kv { grid-template-columns: minmax(0, 1fr); }
  ul.kv > li { display: block; grid-column: auto; }
  ul.kv > li > :first-child { display: inline; }
  ul.kv > li > :first-child::after { margin: 0 .35em 0 0; }
  ul.kv > li > :nth-child(2) { display: inline; padding-left: 0; }
  .cover .title-wrap { gap: 6px; }
  .tbl.cmds th, .tbl.cmds td { font-size: max(14px, calc(12px * var(--type-k))); padding-left: 4px; padding-right: 4px; letter-spacing: 0; word-break: break-word; }
}

@media (max-width: 520px) {
  .tbl-wrap { overflow: visible; }
  .cols.c3 svg.dg, .cols.c4 svg.dg { max-width: 240px; margin: 0 auto; }
  table.tbl.stack, .tbl.stack tbody, .tbl.stack tr, .tbl.stack td { display: block; width: auto; }
  .tbl.stack thead { display: none; }
  .tbl.stack::before { display: none; }
  .tbl.stack tr { border: 1.5px solid var(--ink-line); border-radius: 6px; margin: 0 0 8px; padding: 3px 6px; }
  .tbl.stack td { text-align: left; padding: 2px 4px; }
  .tbl.stack td::after { display: none; }
  .tbl.stack td[data-l]::before { content: attr(data-l) " : "; color: var(--ink-red); font-family: var(--f-head); }
  .sec { margin-bottom: 8px; }
  svg.dg { width: 100%; }
  .cols.dgw svg.dg text { font-size: calc(17px * var(--type-dk)); }
  .cols.dgw svg.dg text.t { font-size: calc(18.5px * var(--type-dk)); }
  .cols.dgw svg.dg text.s { font-size: calc(16px * var(--type-dk)); }
  svg.dg text { font-size: calc(17px * var(--type-dk)); }
  svg.dg text.t { font-size: calc(17.5px * var(--type-dk)); }
  svg.dg text.s { font-size: calc(15px * var(--type-dk)); }
}

@media (max-width: 420px) {
  .grid, .grid.c3, .grid.c4, .grid.c5 { grid-template-columns: minmax(0, 1fr); }
  .grid.stretch { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .grid.stretch > .group { padding: 6px 6px; }
  .grid.stretch .box-h { font-size: max(14px, calc(15px * var(--type-k))); margin-bottom: 5px; }
  .grid.stretch .node.sm { font-size: max(14px, calc(12px * var(--type-k))); padding: 3px 4px; }
  .grid.stretch .node.sm .t { font-size: max(14px, calc(12.5px * var(--type-k))); letter-spacing: 0; overflow-wrap: anywhere; }
  .flow.cards .icon-card span { font-size: max(14px, calc(13px * var(--type-k))); }
  .flow.cards > .arrow { flex: 0 0 18px; }
  .flow.cards .ic.lg { width: 34px; height: 34px; }
  .flow.cards .ic.xl { width: 44px; height: 44px; }
  .cols.c3, .cols.c4 { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* table of contents rows: name, wobbly dotted leader, page number */
ul.toc { list-style: none; margin: 0 0 .4em; padding: 0; }
ul.toc > li { position: relative; padding-left: 1.25em; margin: .1em 0 .3em; }
ul.toc > li::before {
  content: ""; position: absolute; left: .2em; top: .62em;
  width: .42em; height: .42em; border-radius: 50%; background: var(--ink-red);
}
ul.toc a { display: flex; align-items: baseline; color: inherit; text-decoration: none; }
ul.toc .leader {
  flex: 1; min-width: 1em; height: 0; margin: 0 .4em;
  border-bottom: 2px dotted var(--ink-soft);
  transform: translateY(-.25em) rotate(-.3deg);
  filter: url(#rough-line);
}
ul.toc b { min-width: 1.6em; text-align: right; }
ul.toc .toc-d { display: block; font-size: .92em; line-height: 1.2; color: var(--ink-navy); }

/* ---------- additive: coloured headers, coloured dots, captioned steps ---------- */
.tbl th.g { color: var(--ink-green); }
.tbl th.b { color: var(--ink-navy); }
.tbl th.p { color: var(--lit-5b3fb0); }
ul.dots > li.g::before, ul.kv > li.g::before { background: var(--ink-green); }
ul.dots > li.b::before, ul.kv > li.b::before { background: var(--ink-blue); }
ul.dots > li.p::before, ul.kv > li.p::before { background: var(--lit-5b3fb0); }
ul.kv > li.g > :first-child { color: var(--ink-green); }
ul.kv > li.b > :first-child { color: var(--ink-blue); }
ul.kv > li.p > :first-child { color: var(--lit-5b3fb0); }
ul.kv.pad > li > :first-child { min-width: 4.5em; }
ul.kv.nowrap-v > li > :nth-child(2) { white-space: nowrap; }

.flow.steps { align-items: flex-start; }
.flow.steps > .step { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: stretch; }
.flow.steps > .arrow { margin-top: 14px; align-self: flex-start; }
.flow.steps .node { flex: none; padding: 6px 8px; }
.flow.steps .node .t { margin: 0; color: var(--ink-navy); }
.flow.steps .cap { margin: 6px 0 0; text-align: center; font-size: max(14px, calc(15px * var(--type-k))); line-height: 1.3; color: var(--ink-navy); }
.flow.steps .node.tint-yellow::before { border-color: var(--lit-b8960f); }
.flow.steps .node.tint-yellow .t { color: var(--lit-8a6d00); }
.flow.steps .node.tint-green::before { border-color: var(--ink-green); }
.flow.steps .node.tint-green .t { color: var(--ink-green); }
.flow.steps .node.tint-blue::before { border-color: var(--ink-blue); }
.flow.steps .node.tint-blue .t { color: var(--ink-blue); }
.flow.steps .node.tint-purple::before { border-color: var(--lit-5b3fb0); }
.flow.steps .node.tint-purple .t { color: var(--lit-5b3fb0); }
.flow.steps .node.tint-orange::before { border-color: var(--lit-c4631a); }
.flow.steps .node.tint-orange .t { color: var(--lit-c4631a); }
.flow.steps .node.tint-red::before { border-color: var(--ink-red); }
.flow.steps .node.tint-red .t { color: var(--ink-red); }
.cols.top { align-items: start; }

@media (max-width: 640px) {
  .flow.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 8px; align-items: start; }
  .flow.steps > .arrow { display: none; }
}
.tbl.nowrap-c td { white-space: nowrap; font-size: .8em; }
@media (max-width: 640px) { .tbl.nowrap-c td { white-space: normal; } }

/* ---------- page-9 refinements (additive modifiers) ---------- */
svg.dg.big-s text.s { font-size: calc(14.5px * var(--type-dk)); }
.tbl.cmp td:first-child { white-space: nowrap; min-width: 6.5em; }
.tbl.cmp td { text-align: left; padding: 3px 10px; font-size: max(14px, calc(14px * var(--type-k))); }
.tbl.cmp th { padding: 3px 10px; }
.flow.steps { gap: 2px; align-items: stretch; }
.flow.steps > .group { flex: 1 1 0; min-width: 0; box-sizing: border-box; padding: 6px 6px; margin: 6px 0 8px; }
.flow.steps > .arrow { width: 14px; flex: none; }
.flow.steps .node { padding: 4px 4px; }
.flow.steps .node .t { white-space: nowrap; font-size: max(14px, calc(14px * var(--type-k))); }
.flow.steps .ic-row { flex-wrap: nowrap; gap: 5px; }
.flow.steps .ic { width: 1.5em; height: 1.5em; margin: 0; }
.tag.sq {
  display: inline-block; width: 1.5em; height: 1.5em; padding: 0; margin: 0; box-sizing: border-box;
  border: 1.5px dashed var(--ink-red); border-radius: 3px; vertical-align: middle; flex: none;
}
.cols.l2.tight { grid-template-columns: 1.15fr .85fr; align-items: start; }
.cols.div.tight > * { padding: 0 10px; }
.cols.div.tight > :first-child { padding-left: 0; }
.cols.div.tight > :last-child { padding-right: 0; }
.flow.rb { align-items: stretch; gap: 2px; }
.flow.rb > .node.sm { flex: 1 1 0; min-width: 0; padding: 5px 6px; font-size: .85em; overflow-wrap: anywhere; }
.flow.rb > .arrow { width: 14px; flex: none; }
ul.dots.strat { font-size: .92em; line-height: 1.25; }
ul.dots.strat > li { margin: .06em 0; }
ul.dots.strat ul.dash { margin-bottom: .1em; line-height: 1.2; }
.cmdwrap table.cmds td { font-size: .78em; padding: 2px 6px; }
.cmdwrap table.cmds td:first-child { word-break: break-all; }
@media (max-width: 500px) {
  .tbl-wrap.min.cmdwrap table.tbl { min-width: 0; table-layout: fixed; }
  .cmds th:nth-child(3), .cmds td:nth-child(3) { display: none; }
  .tbl.cmds .exm { display: block; font-size: max(14px, calc(12.5px * var(--type-k))); opacity: .85; }
  .cmds td code { font-size: max(14px, calc(12.5px * var(--type-k))); }
  .cmds td { word-break: break-word; }
  .flow.steps { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .flow.q { display: grid; grid-template-columns: minmax(0,1fr) 22px minmax(0,1fr); align-items: stretch; column-gap: 2px; row-gap: 0; }
  .flow.q > .node { flex: none; }
  .flow.q > .arrow { --img: var(--m-r); width: 20px; height: 16px; justify-self: center; align-self: center; }
  .flow.q > :nth-child(1) { grid-area: 1 / 1; }
  .flow.q > :nth-child(2) { grid-area: 1 / 2; }
  .flow.q > :nth-child(3) { grid-area: 1 / 3; }
  .flow.q > :nth-child(4) { grid-area: 2 / 3; --img: var(--m-d); width: 16px; height: 20px; }
  .flow.q > :nth-child(5) { grid-area: 3 / 3; }
  .flow.q > :nth-child(6) { grid-area: 3 / 2; --img: var(--m-l); }
  .flow.q > :nth-child(7) { grid-area: 3 / 1; }
}
@media (max-width: 520px) {
  .tbl-wrap.min table.tbl.cmds.stack { min-width: 0; }
  .tbl.cmds.stack thead { display: none; }
  .tbl.cmds.stack, .tbl.cmds.stack tbody, .tbl.cmds.stack tr, .tbl.cmds.stack td { display: block; width: auto; }
  .tbl.cmds.stack tr { padding: 4px 0; }
  .tbl.cmds.stack td { padding: 1px 10px; white-space: normal !important; overflow-wrap: anywhere; font-size: max(14px, calc(13.5px * var(--type-k))) !important; width: auto !important; }
  .tbl.cmds.stack td::after { display: none; }
  .tbl.cmds.stack td::before { content: attr(data-l) " : "; color: var(--ink-red); font-family: var(--f-head); }
}

.tbl.cmds code { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 500px) { .tbl.cmds td { font-size: max(14px, calc(13px * var(--type-k))); padding: 5px 6px; } .tbl.cmds th { padding: 5px 6px; } }
.tbl.cmds td { font-size: max(14px, calc(15px * var(--type-k))); }
.tbl.cmds code { font-size: 1em; }

.node .t:empty { display: none; }
@media (max-width: 640px) {
  .cols.l2.tight { grid-template-columns: minmax(0, 1fr); }
  .cols.div.tight > * { padding-left: 0; padding-right: 0; }
}
@media (max-width: 500px) {
  .flow.steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .flow.steps > .arrow { display: block; --img: var(--m-d); width: 16px; height: 26px; margin: 0; justify-self: center; align-self: center; }
  .flow.steps .node .t { white-space: normal; }
  .tbl.cmp td, .tbl.cmp th { padding: 2px 5px; font-size: max(14px, calc(13px * var(--type-k))); }
  .tbl.cmp td:first-child { min-width: 0; width: 5.5em; }
}
.tbl.cmds { table-layout: fixed; width: 100%; }

/* .tbl.cards: command tables that become stacked cards on phones (td needs data-label) */
.tbl.cards td { font-size: max(14px, calc(16px * var(--type-k))); }
@media (max-width: 500px) {
  .tbl-wrap.min table.tbl.cards { min-width: 0; }
  .tbl.cards, .tbl.cards tbody, .tbl.cards tr, .tbl.cards td { display: block; width: auto; max-width: 100%; box-sizing: border-box; }
  .tbl.cards thead { display: none; }
  .tbl.cards tr { padding: 4px 2px; border-bottom: 1.5px dashed var(--ink-soft); }
  .tbl.cards tr:last-child { border-bottom: 0; }
  .tbl.cards td { border: 0; padding: 1px 6px; font-size: max(14px, calc(15px * var(--type-k))); word-break: break-word; overflow-wrap: anywhere; white-space: normal; }
  .tbl.cards td::after { display: none; }
  .tbl.cards td::before { content: attr(data-label) " : "; color: var(--ink-red); }
  .tbl.cards td:first-child::before { display: block; }
}
/* heavier marker title, matches the reference strokes */
.page-title { -webkit-text-stroke: .8px currentColor; font-size: clamp(26px, 7.6vw, 68px); }

/* handwritten code block variant */
pre.cmd.hand { font-family: var(--f-body); font-size: max(14px, calc(15px * var(--type-k))); letter-spacing: .03em; color: var(--ink-navy); }

/* soft filter for table lines, keeps borders continuous */
.tbl::before, .tbl td::after, .tbl th::after { filter: url(#rough-soft); }
.tbl.stack td { overflow-wrap: anywhere; }
.tbl.cmds.stack td:nth-child(1) { width: auto; }
.tbl.cmds.stack td:nth-child(1) code { font-size: max(14px, calc(12.5px * var(--type-k))); white-space: normal; }
.tbl.cmds.stack td:nth-child(2) { font-size: max(14px, calc(14px * var(--type-k))); }

/* two-box rows that keep their arrows on phones */
@media (max-width: 640px) {
  .flow.pairs { display: grid; grid-template-columns: minmax(0, 1fr) 24px minmax(0, 1fr); gap: 4px 4px; align-items: center; }
  .flow.pairs > .node { padding: 5px 6px; }
  .flow.pairs > .arrow { --img: var(--m-r); width: 22px; height: 16px; }
  .flow.pairs > .arrow:nth-of-type(2) { --img: var(--m-d); grid-column: 1 / -1; justify-self: center; width: 16px; height: 22px; }
}

.tbl.cmds code { overflow-wrap: anywhere; }
@media (max-width: 640px) { .tbl.cmds code { font-size: max(14px, calc(12px * var(--type-k))); } }

/* ---------- additive: compact tables, handwritten code, compact keep-flows ---------- */
.tbl.compact td, .tbl.compact th { padding: 3px 8px; line-height: 1.2; text-align: left; word-break: break-word; }
.tbl.compact th { text-align: center; }
.tbl.cmds.two td:first-child, .tbl.cmds.two th:first-child { width: 50%; }
.tbl.cmds.two td { word-break: break-word; }
pre.cmd.hand { font-family: var(--f-body); white-space: pre; overflow-x: auto; line-height: 1.35; font-size: max(14px, calc(15px * var(--type-k))); letter-spacing: .02em; }
.flow.keep.cp > .node { padding: 4px; }
.flow.keep.cp > .node .t { font-size: .85em; }
.flow.keep.cp > .node .d { font-size: .75em; }
@media (max-width: 640px) { .flow.keep.cp > .arrow { width: 16px; } }
.cols.dgw.wide { grid-template-columns: 1.5fr .7fr; }
.tbl.cmds.stack.wrapok td:nth-child(n) { white-space: normal; overflow-wrap: anywhere; font-size: max(14px, calc(13px * var(--type-k))); }
.tbl.cmds.stack.wrapok td:nth-child(1) { width: 38%; }
@media (max-width: 640px) { .cols.dgw.wide { grid-template-columns: minmax(0, 1fr); } }

/* ---------- additive: code inside a solid box, code-first 3-up row, 2-up wrapping flow ---------- */
.box > pre.raw { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--f-body); font-size: max(14px, calc(15px * var(--type-k))); line-height: 1.45; letter-spacing: .02em; color: var(--ink-navy); }
.cols.c3.cfirst { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols.c3.cfirst > :first-child { grid-column: 1 / -1; }
@media (max-width: 700px) { .cols.c3.cfirst { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .flow.wrap.g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .flow.wrap.g2 > .arrow { display: none; }
  .flow.wrap.g2 > .node { flex: none; }
}
@media (max-width: 520px) {
  .tbl.cmds.stack td:nth-child(n), .tbl.cmds.stack.wrapok td:nth-child(n) { width: auto; white-space: normal; overflow-wrap: anywhere; }
}

/* ---------- keep real tables on narrow screens (additive) ---------- */
.tbl.keep td, .tbl.keep th { overflow-wrap: normal; hyphens: none; }
.tbl.keep.cmds td { overflow-wrap: anywhere; }
@media (max-width: 520px) {
  .tbl-wrap:has(.tbl.keep) { overflow: hidden; }
  table.tbl.keep { table-layout: fixed; font-size: max(14px, calc(11.5px * var(--type-k))); letter-spacing: 0; }
  .tbl.keep th { font-size: max(14px, calc(12.5px * var(--type-k))); }
  .tbl.keep th, .tbl.keep td { padding: 4px 3px; word-break: break-word; }
  .tbl.keep td:first-child { white-space: normal; }
  .tbl.keep.cmds { min-width: 0; }
}

@media (max-width: 520px) {
  .cols.dgw.wide svg.dg text { font-size: calc(17px * var(--type-dk)); }
  .cols.dgw.wide svg.dg text.t { font-size: calc(17px * var(--type-dk)); }
  .cols.dgw.wide svg.dg text.s { font-size: calc(16px * var(--type-dk)); }
}

/* ---------- additive: unbreakable units, drawn double arrow, aligned mobile kv, wide keep-callout ---------- */
.nb { white-space: nowrap; }
svg.arr2 { display: inline-block; width: 1.7em; height: .7em; vertical-align: -.02em; margin: 0 .1em; overflow: visible; fill: none; stroke: var(--ink-red); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 640px) {
  ul.kv.al { grid-template-columns: max-content minmax(0, 1fr); }
  ul.kv.al > li { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; }
  ul.kv.al > li > :first-child { display: block; white-space: normal; max-width: 9.6em; }
  ul.kv.al > li > :first-child::after { margin: 0; }
  ul.kv.al > li > :nth-child(2) { display: block; }
  .callout.keep.wide > .side { flex: 0 0 6.2em; }
}

.cmds .exm { display: none; }
@media (min-width: 501px) { .tbl.kgcmds td:nth-child(1) code { white-space: nowrap; } }
svg.dg.big-d text { font-size: calc(15px * var(--type-dk)); }
svg.dg.big-d text.t { font-size: calc(16px * var(--type-dk)); }
svg.dg.big-d text.s { font-size: calc(13px * var(--type-dk)); }
.cols > svg.dg.big-d { width: 100%; }

/* ---------- additive: wobble, compact banner, fitted tables, narrow diagram variants ---------- */
.box:not(.dashed):not(.double)::before, .node:not(.dashed)::before { border-radius: 6px 9px 7px 10px / 9px 6px 10px 7px; }
.node:not(.dashed):nth-child(even)::before { border-radius: 9px 6px 10px 7px / 6px 10px 7px 9px; }
.banner.compact { padding: 3px 14px; margin: 0 auto 8px; font-size: clamp(15px, 2.6vw, 20px); letter-spacing: .06em; }
svg.dg text.halo { paint-order: stroke; stroke: var(--paper); stroke-width: 4px; stroke-linejoin: round; }
svg.dg.diag-narrow { display: none; }
.tbl.fit { table-layout: fixed; }
.tbl.fit td, .tbl.fit th { overflow-wrap: anywhere; word-break: break-word; }
.tbl.fit code { white-space: normal; overflow-wrap: anywhere; word-break: break-all; }
@media (max-width: 640px) {
  svg.dg.diag-wide { display: none; }
  svg.dg.diag-narrow { display: block; margin: 0 auto; }
  .tbl.fit { font-size: max(14px, calc(12px * var(--type-k))); }
  .tbl.fit td, .tbl.fit th { font-size: max(14px, calc(12px * var(--type-k))); padding: 3px 4px; }
  .tbl.fit code { font-size: max(14px, calc(11px * var(--type-k))); }
  .tbl.fit.crd td:nth-child(2), .tbl.fit.crd th:nth-child(2) { display: none; }
}
.tbl.fit td, .tbl.fit td code { white-space: normal !important; }
.tbl.fit td { min-width: 0; }
.sec > .box.dashed { margin-bottom: 8px; }
/* .dg.cap: on phones keep a small diagram at its natural size (max 300px) instead of stretching it, so labels stay body size */
@media (max-width: 640px) { svg.dg.cap { width: auto; max-width: min(100%, 300px); margin-left: auto; margin-right: auto; } }
/* pre.cmd as the body of a solid .box: the box is the frame, so drop the pre's own dashed border */
.box > pre.cmd { margin: 0; padding: 2px 2px 0; }
.box > pre.cmd::before { display: none; }

/* Website mode, loaded after style.css by tools/build-site.mjs.
   Layout: sticky header (brand, three dropdown menus, theme switch), then a single reading
   column: one chapter per page with prev/next, or every chapter on the one-page view (/all).
   No paper texture, no spiral.
   Themes: light tokens come from style.css; build-site.mjs derives the dark token set from
   COLOR_MAP and emits it for prefers-color-scheme, the host's data-theme and this page's
   own switch (data-mode on <html>), so pages never carry literal colours.

     .hdr-in (desktop)  [ brand | Core v · Beyond Core v · Advanced Concepts v | theme ]
     .hdr-in (<=760px)  [ brand ...................................... | theme ]
                        [ Core v · Beyond Core v · Advanced Concepts v         ]  */

:root {
  --pad-l: 0px; --pad-r: 0px; --spiral-w: 0px; --margin-x: 0px;
  --hdr-h: 112px;
  --col: 840px;
}
@media (max-width: 640px) {
  :root { --pad-l: 0px; --pad-r: 0px; --spiral-w: 0px; --margin-x: 0px; }
}

html { scroll-padding-top: var(--hdr-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
html, body { background: var(--paper); }
body { overflow-x: clip; }

/* ---------- header ---------- */
/* One pinned row: brand, three dropdown menus, theme switch. Panels hang under their button
   on desktop (build-site.mjs script keeps them inside the viewport); on phones the menus drop
   to a second row and every panel spans the header width. */
.site-hdr {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--hdr-bg);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--paper-edge);
}
.hdr-in {
  max-width: 1240px; margin: 0 auto; padding: 8px 24px;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 6px 28px; align-items: center;
  grid-template-areas: "brand menu theme";
}
.brand { grid-area: brand; }
.hdr-menu { grid-area: menu; }
.theme-switch { grid-area: theme; }
.brand {
  display: flex; align-items: center; gap: 10px; justify-self: start;
  font-family: var(--f-title); font-size: 24px; line-height: 1; letter-spacing: .03em;
  color: var(--ink-red); text-decoration: none; white-space: nowrap;
}
.brand .ic { width: 28px; height: 28px; flex: none; }

.hdr-menu { display: flex; align-items: center; gap: 6px; min-width: 0; }
.menu { position: relative; }
.menu-sep { color: var(--ink-soft); opacity: .7; }
.menu-btn {
  appearance: none; border: 0; background: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 6px;
  font-family: var(--f-head); font-size: max(14px, calc(18px * var(--type-k))); line-height: 1.3; letter-spacing: .03em; white-space: nowrap;
  color: var(--ink-navy); border-bottom: 2px solid transparent;
}
.menu-btn:hover { color: var(--ink-blue); }
.menu-btn.has-current { color: var(--ink-red); }
.menu-btn[aria-expanded="true"] { border-bottom-color: currentColor; }
.caret {
  width: 7px; height: 7px; flex: none; margin-top: -4px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
}
.menu-btn[aria-expanded="true"] .caret { transform: rotate(225deg); margin-top: 3px; }
@media (prefers-reduced-motion: no-preference) { .caret { transition: transform .15s ease; } }

.menu-panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 60;
  min-width: 260px; max-width: calc(100vw - 32px);
  max-height: calc(100dvh - var(--hdr-h) - 16px); overflow-y: auto;
  padding: 12px 14px;
  background: var(--paper); color: var(--ink-navy);
  border: 1.5px solid var(--ink-line); border-radius: var(--r);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .22);
}
.menu-panel.wide { width: 560px; }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.menu-list a {
  display: flex; align-items: baseline; gap: 10px; padding: 3px 8px; border-radius: 6px;
  font-size: max(14px, calc(16.5px * var(--type-k))); line-height: 1.4; color: var(--ink-navy); text-decoration: none;
}
.menu-list a:hover { background: var(--tint-blue); color: var(--ink-blue); }
.menu-list a[aria-current] { color: var(--ink-red); }
.menu-list .num { font-size: max(14px, calc(13px * var(--type-k))); color: var(--ink-soft); font-variant-numeric: tabular-nums; min-width: 1.4em; }
.menu-cols { columns: 2; column-gap: 20px; }
.menu-grp { break-inside: avoid; padding-bottom: 8px; }
.menu-grp-h {
  margin: 0 0 2px; padding: 0 8px;
  font-family: var(--f-head); font-size: max(14px, calc(12.5px * var(--type-k))); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-blue);
}
.menu-empty { margin: 0; padding: 2px 8px; font-size: max(14px, calc(16px * var(--type-k))); color: var(--ink-soft); }

a:focus-visible, .theme-switch button:focus-visible, .menu-btn:focus-visible { outline: 2px solid var(--ink-blue); outline-offset: 3px; border-radius: 3px; }

.theme-switch {
  display: inline-flex; gap: 2px; padding: 2px;
  border: 1.5px solid var(--ink-soft); border-radius: 999px;
}
.theme-switch button {
  appearance: none; border: 0; background: none; cursor: pointer;
  font-family: var(--f-head); font-size: max(14px, calc(15px * var(--type-k))); line-height: 1.3; letter-spacing: .04em;
  color: var(--ink-soft); padding: 2px 10px; border-radius: 999px;
}
.theme-switch button:hover { color: var(--ink-blue); }
.theme-switch button[aria-pressed="true"] { background: var(--ink-navy); color: var(--paper); }

@media (max-width: 760px) {
  .hdr-in { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "brand theme" "menu menu"; padding: 6px 16px 4px; gap: 2px 12px; }
  .theme-switch button { font-size: max(14px, calc(13.5px * var(--type-k))); padding: 1px 8px; }
  .brand { font-size: 21px; }
  .brand .ic { width: 24px; height: 24px; }
  .hdr-menu { gap: 2px; margin-left: -6px; }
  .menu-btn { font-size: max(14px, calc(16px * var(--type-k))); gap: 6px; }
  .menu { position: static; }
  .menu-panel, .menu-panel.wide { left: 16px; right: 16px; top: calc(100% + 4px); width: auto; min-width: 0; max-width: none; }
}
@media (max-width: 520px) { .menu-cols { columns: 1; } }

/* ---------- reading column ---------- */
.notebook.site-main {
  max-width: calc(var(--col) + 48px);
  padding: 8px 24px 64px;
  gap: 0;
}
@media (max-width: 640px) { .notebook.site-main { padding: 4px 16px 48px; } }

.page {
  padding: 0;
  background: none;
  border: 0;
  min-height: 0;
  overflow: visible;
}
.page::before, .page::after { content: none; }

.chapter { padding-block: 56px 8px; }
.chapter + .chapter { border-top: 1px dashed var(--paper-edge); }
.chapter.hero { padding-block: 28px 16px; }
.chapter.hero + .chapter, .chapter + .chapter.hero { border-top: 0; }
.chapter.hero.part { padding-top: 72px; }

.ch-head { text-align: center; margin-bottom: 22px; }
.ch-eyebrow {
  margin: 0 0 4px;
  font-family: var(--f-head); font-size: max(14px, calc(14px * var(--type-k))); letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-blue);
}
.ch-title.page-title {
  margin: 0; white-space: normal; text-wrap: balance;
  font-size: clamp(30px, 5.4vw, 46px);
}

hr.sheet-break {
  border: 0; height: 0; margin: 40px 0 32px;
  border-top: 1.5px dashed var(--paper-edge);
}

/* links to other chapters inside the notes: blue ink, a solid underline and a soft tint, so they
   stand apart from the dashed underline the notes use for terms. Colour, underline and background
   only, never width, so no sheet re-wraps. In the contents lists the link is a flex row (title,
   leader, page number), so only the title span gets the look. */
.page a[href]:not(ul.toc a), .page ul.toc a > span:first-child {
  color: var(--ink-blue); background: var(--tint-blue); border-radius: 3px;
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px;
  text-decoration-skip-ink: none; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.page a[href]:not(ul.toc a):hover, .page ul.toc a:hover > span:first-child { color: var(--ink-red); text-decoration-thickness: 2px; }
/* a link inside a diagram node (the part dividers' chapter pills) stretches over the whole node */
.page .node a[href]::after { content: ''; position: absolute; inset: 0; }

/* prev / next at the end of each chapter page */
.ch-nav {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 40px; padding-top: 28px; border-top: 1.5px dashed var(--paper-edge);
}
.ch-nav a {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 16px;
  border: 1.5px dashed var(--paper-edge); border-radius: 10px;
  color: var(--ink-navy); text-decoration: none;
}
.ch-nav a:hover { border-color: var(--ink-blue); }
.ch-nav a:hover .t { text-decoration: underline; }
.ch-nav .next { grid-column: 2; text-align: right; }
.ch-nav .dir {
  font-family: var(--f-head); font-size: max(14px, calc(13px * var(--type-k))); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-blue);
}
.ch-nav .t { font-size: max(14px, calc(18px * var(--type-k))); text-wrap: balance; }
@media (max-width: 640px) {
  .ch-nav { grid-template-columns: 1fr; gap: 12px; }
  .ch-nav .next { grid-column: 1; }
}

.site-foot {
  max-width: calc(var(--col) + 48px); margin: 0 auto; padding: 24px 24px 48px;
  border-top: 1px dashed var(--paper-edge);
  text-align: center; font-size: max(14px, calc(15px * var(--type-k))); color: var(--ink-soft);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]):not([data-mode="light"]) {
  color-scheme: dark;

  /* desk */
  --desk: #13161c;
  --desk-2: #1b1f27;

  /* paper */
  --paper: #13161c;
  --paper-2: #1c2029;
  --paper-edge: #2b303c;
  --rule: rgba(120,140,190,.30);
  --margin: #e8878b;

  /* ink */
  --ink-red: #ff7b72;
  --ink-navy: #dfe4f2;
  --ink-blue: #8fb2ff;
  --ink-green: #7fd69b;
  --ink-line: #aeb5c9;
  --ink-soft: #8c94aa;

  /* pastel fills (icons, tinted nodes) */
  --tint-blue: #1f2b46;
  --tint-purple: #2a2548;
  --tint-green: #1b3528;
  --tint-yellow: #383217;
  --tint-orange: #3c2a1b;
  --tint-red: #3d2125;
  --hl-yellow: #4a4116;

  /* type */
  --f-title: "Patrick Hand SC", "Shadows Into Light Two", "Patrick Hand", "Mali", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  --f-body: "Patrick Hand", "Segoe Print", "Bradley Hand", "Comic Sans MS", "Chalkboard SE", cursive;
  --f-head: "Patrick Hand", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;

  /* sizes */
  --fs: 17px;
  --lh: 1.55;
  --rule-h: 28px;
  --bw: 1.6px;
  --r: 7px 9px 8px 10px / 9px 7px 10px 8px;

  /* page geometry */
  --pad-l: 98px;
  --pad-r: 30px;
  --margin-x: 78px;
  --spiral-w: 60px;
  --spiral-p: 34px;

  /* dashed 9-slice border images (data URIs) */
  --dash-ink: url("data:image/svg+xml,%3Csvg width=%2236%22 height=%2236%22 xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 36 36%22%3E%3Cpath stroke=%22%23aeb5c9%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M0.95 12 A11 11 0 0 1 12 0.95%22/%3E%3Cpath stroke=%22%23aeb5c9%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M24 0.95 A11 11 0 0 1 35.05 12%22/%3E%3Cpath stroke=%22%23aeb5c9%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M35.05 24 A11 11 0 0 1 24 35.05%22/%3E%3Cpath stroke=%22%23aeb5c9%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M12 35.05 A11 11 0 0 1 0.95 24%22/%3E%3Cpath stroke=%22%23aeb5c9%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M12 0.95 H24 M12 35.05 H24%22/%3E%3Cpath stroke=%22%23aeb5c9%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M0.95 12 V24 M35.05 12 V24%22/%3E%3C/svg%3E"); --dash-soft: url("data:image/svg+xml,%3Csvg width=%2236%22 height=%2236%22 xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 36 36%22%3E%3Cpath stroke=%22%238c94aa%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M0.95 12 A11 11 0 0 1 12 0.95%22/%3E%3Cpath stroke=%22%238c94aa%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M24 0.95 A11 11 0 0 1 35.05 12%22/%3E%3Cpath stroke=%22%238c94aa%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M35.05 24 A11 11 0 0 1 24 35.05%22/%3E%3Cpath stroke=%22%238c94aa%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M12 35.05 A11 11 0 0 1 0.95 24%22/%3E%3Cpath stroke=%22%238c94aa%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M12 0.95 H24 M12 35.05 H24%22/%3E%3Cpath stroke=%22%238c94aa%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M0.95 12 V24 M35.05 12 V24%22/%3E%3C/svg%3E"); --dash-green: url("data:image/svg+xml,%3Csvg width=%2236%22 height=%2236%22 xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 36 36%22%3E%3Cpath stroke=%22%237fd69b%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M0.95 12 A11 11 0 0 1 12 0.95%22/%3E%3Cpath stroke=%22%237fd69b%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M24 0.95 A11 11 0 0 1 35.05 12%22/%3E%3Cpath stroke=%22%237fd69b%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M35.05 24 A11 11 0 0 1 24 35.05%22/%3E%3Cpath stroke=%22%237fd69b%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M12 35.05 A11 11 0 0 1 0.95 24%22/%3E%3Cpath stroke=%22%237fd69b%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M12 0.95 H24 M12 35.05 H24%22/%3E%3Cpath stroke=%22%237fd69b%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M0.95 12 V24 M35.05 12 V24%22/%3E%3C/svg%3E");
  --dash-red: url("data:image/svg+xml,%3Csvg width=%2236%22 height=%2236%22 xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 36 36%22%3E%3Cpath stroke=%22%23ff7b72%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M0.95 12 A11 11 0 0 1 12 0.95%22/%3E%3Cpath stroke=%22%23ff7b72%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M24 0.95 A11 11 0 0 1 35.05 12%22/%3E%3Cpath stroke=%22%23ff7b72%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M35.05 24 A11 11 0 0 1 24 35.05%22/%3E%3Cpath stroke=%22%23ff7b72%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M12 35.05 A11 11 0 0 1 0.95 24%22/%3E%3Cpath stroke=%22%23ff7b72%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M12 0.95 H24 M12 35.05 H24%22/%3E%3Cpath stroke=%22%23ff7b72%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M0.95 12 V24 M35.05 12 V24%22/%3E%3C/svg%3E"); --dash-blue: url("data:image/svg+xml,%3Csvg width=%2236%22 height=%2236%22 xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 36 36%22%3E%3Cpath stroke=%22%238fb2ff%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M0.95 12 A11 11 0 0 1 12 0.95%22/%3E%3Cpath stroke=%22%238fb2ff%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M24 0.95 A11 11 0 0 1 35.05 12%22/%3E%3Cpath stroke=%22%238fb2ff%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M35.05 24 A11 11 0 0 1 24 35.05%22/%3E%3Cpath stroke=%22%238fb2ff%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M12 35.05 A11 11 0 0 1 0.95 24%22/%3E%3Cpath stroke=%22%238fb2ff%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M12 0.95 H24 M12 35.05 H24%22/%3E%3Cpath stroke=%22%238fb2ff%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M0.95 12 V24 M35.05 12 V24%22/%3E%3C/svg%3E");

  /* arrow masks (data URIs) */
  --m-r: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 16%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22  d=%22M2 8.4 C10 7.6 22 8.7 35 8%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M30 3 L37 8 L30 13%22/%3E%3C/svg%3E");   --m-rd: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 16%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-dasharray=%223.2 3.4%22 d=%22M2 8.4 C10 7.6 22 8.7 35 8%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M30 3 L37 8 L30 13%22/%3E%3C/svg%3E");
  --m-l: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 16%22%3E%3Cg transform=%22translate%2840 0%29 scale%28-1 1%29%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22  d=%22M2 8.4 C10 7.6 22 8.7 35 8%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M30 3 L37 8 L30 13%22/%3E%3C/g%3E%3C/svg%3E");   --m-ld: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 16%22%3E%3Cg transform=%22translate%2840 0%29 scale%28-1 1%29%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-dasharray=%223.2 3.4%22 d=%22M2 8.4 C10 7.6 22 8.7 35 8%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M30 3 L37 8 L30 13%22/%3E%3C/g%3E%3C/svg%3E");
  --m-d: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 40%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22  d=%22M8.4 2 C7.6 10 8.7 22 8 35%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 30 L8 37 L13 30%22/%3E%3C/svg%3E");   --m-dd: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 40%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-dasharray=%223.2 3.4%22 d=%22M8.4 2 C7.6 10 8.7 22 8 35%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 30 L8 37 L13 30%22/%3E%3C/svg%3E");
  --m-u: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 40%22%3E%3Cg transform=%22translate%280 40%29 scale%281 -1%29%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22  d=%22M8.4 2 C7.6 10 8.7 22 8 35%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 30 L8 37 L13 30%22/%3E%3C/g%3E%3C/svg%3E");   --m-ud: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 40%22%3E%3Cg transform=%22translate%280 40%29 scale%281 -1%29%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-dasharray=%223.2 3.4%22 d=%22M8.4 2 C7.6 10 8.7 22 8 35%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 30 L8 37 L13 30%22/%3E%3C/g%3E%3C/svg%3E");
  --m-2h: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 16%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22  d=%22M4 8.2 C12 7.6 26 8.6 36 8%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M9 3 L3 8 L9 13%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M31 3 L37 8 L31 13%22/%3E%3C/svg%3E"); --m-2hd: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 16%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-dasharray=%223.2 3.4%22 d=%22M4 8.2 C12 7.6 26 8.6 36 8%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M9 3 L3 8 L9 13%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M31 3 L37 8 L31 13%22/%3E%3C/svg%3E");
  --m-2v: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 40%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22  d=%22M8.2 4 C7.6 12 8.6 26 8 36%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 9 L8 3 L13 9%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 31 L8 37 L13 31%22/%3E%3C/svg%3E"); --m-2vd: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 40%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-dasharray=%223.2 3.4%22 d=%22M8.2 4 C7.6 12 8.6 26 8 36%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 9 L8 3 L13 9%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 31 L8 37 L13 31%22/%3E%3C/svg%3E");

  --lit-6a5bc0: #a395f0; --lit-3d63b8: #7fa2ee; --lit-4a8a5a: #7fd69b; --lit-9a7b1f: #d9b93a; --lit-6c7592: #9aa3bd; --lit-c0392b: #ff7b72; --lit-5b3fb0: #b9a4ff; --lit-b8960f: #d9b93a; --lit-8a6d00: #e8cb5a; --lit-c4631a: #f4a261; --zebra: rgba(255,255,255,.035); --hdr-bg: rgba(19,22,28,.94);
  color-scheme: dark;
  }
}
:root[data-theme="dark"]:not([data-mode="light"]), :root[data-mode="dark"] {
  color-scheme: dark;

  /* desk */
  --desk: #13161c;
  --desk-2: #1b1f27;

  /* paper */
  --paper: #13161c;
  --paper-2: #1c2029;
  --paper-edge: #2b303c;
  --rule: rgba(120,140,190,.30);
  --margin: #e8878b;

  /* ink */
  --ink-red: #ff7b72;
  --ink-navy: #dfe4f2;
  --ink-blue: #8fb2ff;
  --ink-green: #7fd69b;
  --ink-line: #aeb5c9;
  --ink-soft: #8c94aa;

  /* pastel fills (icons, tinted nodes) */
  --tint-blue: #1f2b46;
  --tint-purple: #2a2548;
  --tint-green: #1b3528;
  --tint-yellow: #383217;
  --tint-orange: #3c2a1b;
  --tint-red: #3d2125;
  --hl-yellow: #4a4116;

  /* type */
  --f-title: "Patrick Hand SC", "Shadows Into Light Two", "Patrick Hand", "Mali", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
  --f-body: "Patrick Hand", "Segoe Print", "Bradley Hand", "Comic Sans MS", "Chalkboard SE", cursive;
  --f-head: "Patrick Hand", "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;

  /* sizes */
  --fs: 17px;
  --lh: 1.55;
  --rule-h: 28px;
  --bw: 1.6px;
  --r: 7px 9px 8px 10px / 9px 7px 10px 8px;

  /* page geometry */
  --pad-l: 98px;
  --pad-r: 30px;
  --margin-x: 78px;
  --spiral-w: 60px;
  --spiral-p: 34px;

  /* dashed 9-slice border images (data URIs) */
  --dash-ink: url("data:image/svg+xml,%3Csvg width=%2236%22 height=%2236%22 xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 36 36%22%3E%3Cpath stroke=%22%23aeb5c9%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M0.95 12 A11 11 0 0 1 12 0.95%22/%3E%3Cpath stroke=%22%23aeb5c9%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M24 0.95 A11 11 0 0 1 35.05 12%22/%3E%3Cpath stroke=%22%23aeb5c9%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M35.05 24 A11 11 0 0 1 24 35.05%22/%3E%3Cpath stroke=%22%23aeb5c9%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M12 35.05 A11 11 0 0 1 0.95 24%22/%3E%3Cpath stroke=%22%23aeb5c9%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M12 0.95 H24 M12 35.05 H24%22/%3E%3Cpath stroke=%22%23aeb5c9%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M0.95 12 V24 M35.05 12 V24%22/%3E%3C/svg%3E"); --dash-soft: url("data:image/svg+xml,%3Csvg width=%2236%22 height=%2236%22 xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 36 36%22%3E%3Cpath stroke=%22%238c94aa%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M0.95 12 A11 11 0 0 1 12 0.95%22/%3E%3Cpath stroke=%22%238c94aa%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M24 0.95 A11 11 0 0 1 35.05 12%22/%3E%3Cpath stroke=%22%238c94aa%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M35.05 24 A11 11 0 0 1 24 35.05%22/%3E%3Cpath stroke=%22%238c94aa%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M12 35.05 A11 11 0 0 1 0.95 24%22/%3E%3Cpath stroke=%22%238c94aa%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M12 0.95 H24 M12 35.05 H24%22/%3E%3Cpath stroke=%22%238c94aa%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M0.95 12 V24 M35.05 12 V24%22/%3E%3C/svg%3E"); --dash-green: url("data:image/svg+xml,%3Csvg width=%2236%22 height=%2236%22 xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 36 36%22%3E%3Cpath stroke=%22%237fd69b%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M0.95 12 A11 11 0 0 1 12 0.95%22/%3E%3Cpath stroke=%22%237fd69b%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M24 0.95 A11 11 0 0 1 35.05 12%22/%3E%3Cpath stroke=%22%237fd69b%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M35.05 24 A11 11 0 0 1 24 35.05%22/%3E%3Cpath stroke=%22%237fd69b%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M12 35.05 A11 11 0 0 1 0.95 24%22/%3E%3Cpath stroke=%22%237fd69b%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M12 0.95 H24 M12 35.05 H24%22/%3E%3Cpath stroke=%22%237fd69b%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M0.95 12 V24 M35.05 12 V24%22/%3E%3C/svg%3E");
  --dash-red: url("data:image/svg+xml,%3Csvg width=%2236%22 height=%2236%22 xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 36 36%22%3E%3Cpath stroke=%22%23ff7b72%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M0.95 12 A11 11 0 0 1 12 0.95%22/%3E%3Cpath stroke=%22%23ff7b72%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M24 0.95 A11 11 0 0 1 35.05 12%22/%3E%3Cpath stroke=%22%23ff7b72%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M35.05 24 A11 11 0 0 1 24 35.05%22/%3E%3Cpath stroke=%22%23ff7b72%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M12 35.05 A11 11 0 0 1 0.95 24%22/%3E%3Cpath stroke=%22%23ff7b72%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M12 0.95 H24 M12 35.05 H24%22/%3E%3Cpath stroke=%22%23ff7b72%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M0.95 12 V24 M35.05 12 V24%22/%3E%3C/svg%3E"); --dash-blue: url("data:image/svg+xml,%3Csvg width=%2236%22 height=%2236%22 xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 36 36%22%3E%3Cpath stroke=%22%238fb2ff%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M0.95 12 A11 11 0 0 1 12 0.95%22/%3E%3Cpath stroke=%22%238fb2ff%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M24 0.95 A11 11 0 0 1 35.05 12%22/%3E%3Cpath stroke=%22%238fb2ff%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M35.05 24 A11 11 0 0 1 24 35.05%22/%3E%3Cpath stroke=%22%238fb2ff%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 d=%22M12 35.05 A11 11 0 0 1 0.95 24%22/%3E%3Cpath stroke=%22%238fb2ff%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M12 0.95 H24 M12 35.05 H24%22/%3E%3Cpath stroke=%22%238fb2ff%22 stroke-width=%221.5%22 fill=%22none%22 stroke-linecap=%22round%22 stroke-dasharray=%227.5 4.5%22 d=%22M0.95 12 V24 M35.05 12 V24%22/%3E%3C/svg%3E");

  /* arrow masks (data URIs) */
  --m-r: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 16%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22  d=%22M2 8.4 C10 7.6 22 8.7 35 8%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M30 3 L37 8 L30 13%22/%3E%3C/svg%3E");   --m-rd: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 16%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-dasharray=%223.2 3.4%22 d=%22M2 8.4 C10 7.6 22 8.7 35 8%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M30 3 L37 8 L30 13%22/%3E%3C/svg%3E");
  --m-l: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 16%22%3E%3Cg transform=%22translate%2840 0%29 scale%28-1 1%29%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22  d=%22M2 8.4 C10 7.6 22 8.7 35 8%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M30 3 L37 8 L30 13%22/%3E%3C/g%3E%3C/svg%3E");   --m-ld: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 16%22%3E%3Cg transform=%22translate%2840 0%29 scale%28-1 1%29%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-dasharray=%223.2 3.4%22 d=%22M2 8.4 C10 7.6 22 8.7 35 8%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M30 3 L37 8 L30 13%22/%3E%3C/g%3E%3C/svg%3E");
  --m-d: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 40%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22  d=%22M8.4 2 C7.6 10 8.7 22 8 35%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 30 L8 37 L13 30%22/%3E%3C/svg%3E");   --m-dd: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 40%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-dasharray=%223.2 3.4%22 d=%22M8.4 2 C7.6 10 8.7 22 8 35%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 30 L8 37 L13 30%22/%3E%3C/svg%3E");
  --m-u: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 40%22%3E%3Cg transform=%22translate%280 40%29 scale%281 -1%29%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22  d=%22M8.4 2 C7.6 10 8.7 22 8 35%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 30 L8 37 L13 30%22/%3E%3C/g%3E%3C/svg%3E");   --m-ud: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 40%22%3E%3Cg transform=%22translate%280 40%29 scale%281 -1%29%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-dasharray=%223.2 3.4%22 d=%22M8.4 2 C7.6 10 8.7 22 8 35%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 30 L8 37 L13 30%22/%3E%3C/g%3E%3C/svg%3E");
  --m-2h: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 16%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22  d=%22M4 8.2 C12 7.6 26 8.6 36 8%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M9 3 L3 8 L9 13%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M31 3 L37 8 L31 13%22/%3E%3C/svg%3E"); --m-2hd: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 40 16%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-dasharray=%223.2 3.4%22 d=%22M4 8.2 C12 7.6 26 8.6 36 8%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M9 3 L3 8 L9 13%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M31 3 L37 8 L31 13%22/%3E%3C/svg%3E");
  --m-2v: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 40%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22  d=%22M8.2 4 C7.6 12 8.6 26 8 36%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 9 L8 3 L13 9%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 31 L8 37 L13 31%22/%3E%3C/svg%3E"); --m-2vd: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 16 40%22%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 stroke-dasharray=%223.2 3.4%22 d=%22M8.2 4 C7.6 12 8.6 26 8 36%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 9 L8 3 L13 9%22/%3E%3Cpath fill=%22none%22 stroke=%22%23000%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22 d=%22M3 31 L8 37 L13 31%22/%3E%3C/svg%3E");

  --lit-6a5bc0: #a395f0; --lit-3d63b8: #7fa2ee; --lit-4a8a5a: #7fd69b; --lit-9a7b1f: #d9b93a; --lit-6c7592: #9aa3bd; --lit-c0392b: #ff7b72; --lit-5b3fb0: #b9a4ff; --lit-b8960f: #d9b93a; --lit-8a6d00: #e8cb5a; --lit-c4631a: #f4a261; --zebra: rgba(255,255,255,.035); --hdr-bg: rgba(19,22,28,.94);
  color-scheme: dark;
}
:root[data-mode="light"] { color-scheme: light; }:root { --col: 966px; --fs: 19.5px; --type-k: 1.15; --type-dk: 1.08; }
@media (max-width: 800px) { :root { --type-k: 1.09; } }
@media (max-width: 640px) { :root { --fs: 17.5px; --type-dk: 1; } }
/* Site type layer, appended by tools/build-site.mjs after it lifts the font sizes (TYPE, liftCss).
   Only what larger text needs to keep fitting on narrow screens goes here. No font sizes: nothing in
   this file is lifted. The shop's pages do not load it. */

/* Long commands: below a full-width column a command may wrap, a flag may break from its value, and a
   long name mid-word. !important because the kit and some sheets pin these cells to one line. */
@media (max-width: 800px) {
  .tbl.cmds td, .tbl.cmds code, .tbl.cmds .nowrap, .tbl.cmds .nb { white-space: normal !important; overflow-wrap: anywhere; }
  main li, main p, main .box { overflow-wrap: break-word; }
  ul.kv > li > * { min-width: 0; overflow-wrap: anywhere; }
  main li :is(.nb, .nowrap) { white-space: normal; }
}

/* Three wide tables on phones: let any word break and tighten the cells. */
@media (max-width: 520px) {
  #p-core-04 .tbl.compact :is(td, th), #p-alertmanager-3 .tbl.thin :is(td, th), #p-pod-networking .tbl.thin :is(td, th) {
    overflow-wrap: anywhere; padding-left: 4px; padding-right: 4px;
  }
}

/* Diagrams whose labels have no room to grow: these sheets keep their label sizes as drawn. */
#p-cnpg-operator, #p-csi-3, #p-knative-2, #p-spiffe, #p-private-pki-3 { --type-dk: 1; }
