/* ==========================================================================
   Wandering Waveforms — Hybrid Postings & About Stylesheet (hyb8)
   Applies Every Landing-Page Concept Across All 33 Postings & About:
   - ZERO Thin Lines Anywhere (0 borders, 0 box-shadows, 0 rules, 0 underlines)
   - Exact Alt 10 Palette (#121212 Matte Carbon / #FCFCFA Archival Paper + SVG Inks)
   - Exact 48px Borderless Top Bar (16px Herbik 600 Masthead, 44px Pad-X, Index + Light/Dark)
   - Herbik Typography Throughout + WWMath Native MathML + WWMono Code Blocks
   - Hyphen ISO Dates (2026-12), Clean Extents ("4 modes"), Quiet Monochrome Sections
   - Frameless 580:440 Interactive Plates (--p-bg === --s1-bg, Calm Default Cursor)
   - Zero Blue UI Links (Neutral Ink/Muted Hierarchy + Soft Tonal Surfaces)
   ========================================================================== */

@font-face {
  font-family: 'Herbik';
  src: url('/fonts/Herbik.woff2') format('woff2');
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

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

/* 1. Exact Edition 10 Archival Paper Palette (Light Mode) */
html {
  --s1-bg: #fcfcfa;
  --s1-ink: #111111;
  --s1-summary: #262626;
  --s1-muted: #666666;
  --s1-faint: #8c8c8c;
  --s1-surface: #f4f4f0;
  --s1-surface-alt: #eeeeea;
  --s1-code-bg: #f4f4f0;
  --s1-code-head-bg: #ecece6;
  --s1-row-hover: rgba(17, 17, 17, 0.035);
  --s1-row-active: rgba(17, 17, 17, 0.062);
  --s1-track: rgba(17, 17, 17, 0.14);

  /* Exact Edition 10 Paper SVG Inks */
  --p-bg: #fcfcfa;
  --p-bg-warm: #f4f4f0;
  --p-bg-tint: #f2f2ee;
  --p-ink: #111111;
  --p-monolith: #111111;
  --p-ink-mid: rgba(17, 17, 17, 0.56);
  --p-ink-soft: rgba(17, 17, 17, 0.22);
  --p-ink-faint: rgba(17, 17, 17, 0.08);
  --p-blue: #0038cc;
  --p-blue-soft: rgba(0, 56, 204, 0.32);
  --p-red: #b8251e;
  --p-red-soft: rgba(184, 37, 30, 0.32);
  --p-green: #1f663b;
  --p-green-soft: rgba(31, 102, 59, 0.32);
  --p-ochre: #875a12;
  --p-ochre-soft: rgba(135, 90, 18, 0.32);
  --p-plum: #593b6e;
  --p-plum-soft: rgba(89, 59, 110, 0.32);
  --p-teal: #1b5c69;
  --p-teal-soft: rgba(27, 92, 105, 0.32);

  /* Quiet Monochrome Section Labels (Matching Landing Page) */
  --sec-Writings: var(--s1-muted);
  --sec-Lab: var(--s1-muted);
  --sec-Visuals: var(--s1-muted);
  --sec-Radio: var(--s1-muted);
  --sec-Fragments: var(--s1-muted);
  --sec-Artists: var(--s1-muted);
  --sec-Directory: var(--s1-muted);

  /* Syntax Highlighting Tokens (Edition 10 Light) */
  --tok-kw: #0038cc;
  --tok-bi: #1b5c69;
  --tok-fn: #7c5211;
  --tok-num: #593b6e;
  --tok-str: #1f663b;
  --tok-com: #70706c;
  --tok-op: #555552;

  --prose-lh: 1.66;
  --prose-track: 0em;

  background-color: var(--s1-bg);
  color: var(--s1-ink);
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 120, 120, 0.32) transparent;
}

/* 2. Exact Edition 10 Matte Carbon Palette (Dark Mode — Default) */
html[data-theme="dark"] {
  --s1-bg: #121212;
  --s1-ink: #eaeaea;
  --s1-summary: #cccccc;
  --s1-muted: #8c8c8c;
  --s1-faint: #666666;
  --s1-surface: #181818;
  --s1-surface-alt: #1f1f1f;
  --s1-code-bg: #171717;
  --s1-code-head-bg: #1d1d1d;
  --s1-row-hover: rgba(234, 234, 234, 0.036);
  --s1-row-active: rgba(234, 234, 234, 0.068);
  --s1-track: rgba(234, 234, 234, 0.16);

  /* Exact Edition 10 Darkroom SVG Inks */
  --p-bg: #121212;
  --p-bg-warm: #1a1a1a;
  --p-bg-tint: #1c1c1c;
  --p-ink: #eaeaea;
  --p-monolith: #eaeaea;
  --p-ink-mid: rgba(234, 234, 234, 0.56);
  --p-ink-soft: rgba(234, 234, 234, 0.23);
  --p-ink-faint: rgba(234, 234, 234, 0.09);
  --p-blue: #7aa2ff;
  --p-blue-soft: rgba(122, 162, 255, 0.36);
  --p-red: #ef6f6c;
  --p-red-soft: rgba(239, 111, 108, 0.36);
  --p-green: #68c78e;
  --p-green-soft: rgba(104, 199, 142, 0.36);
  --p-ochre: #e0ae58;
  --p-ochre-soft: rgba(224, 174, 88, 0.36);
  --p-plum: #b594e0;
  --p-plum-soft: rgba(181, 148, 224, 0.36);
  --p-teal: #62bac9;
  --p-teal-soft: rgba(98, 186, 201, 0.36);

  /* Syntax Highlighting Tokens (Edition 10 Dark) */
  --tok-kw: #9db7ff;
  --tok-bi: #7cc5d4;
  --tok-fn: #e2b86b;
  --tok-num: #c9a7eb;
  --tok-str: #84cf9e;
  --tok-com: #7d7d7d;
  --tok-op: #a8a8a8;

  /* Dark-surface optical compensation against halation */
  --prose-lh: 1.72;
  --prose-track: 0.004em;
}

::selection {
  background: rgba(140, 140, 140, 0.26);
  color: var(--s1-ink);
}

body.pp-body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: var(--s1-bg);
  color: var(--s1-ink);
  font-family: 'Herbik', 'WWMathSym', 'WWSubSup', Georgia, serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  border: 0;
}

button,
input,
select {
  font-family: inherit;
  border: 0;
  box-shadow: none;
}

:focus-visible {
  outline: 1.5px solid var(--s1-muted);
  outline-offset: 3px;
}

/* ==========================================================================
   3. TOP BAR — Exact Match to Hybrid Landing Page (48px, 44px Pad-X, Zero Lines)
   ========================================================================== */
.pp-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 48px;
  padding: 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background-color: var(--s1-bg);
  border: 0;
  font-family: 'Herbik', 'WWMathSym', 'WWSubSup', Georgia, serif;
  font-size: 13.5px;
}

.pp-nav-left {
  display: flex;
  align-items: baseline;
  gap: 14px;
  min-width: 0;
}

.pp-site-name {
  font-family: 'Herbik', 'WWMathSym', 'WWSubSup', Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0em;
  color: var(--s1-ink);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 120ms cubic-bezier(0.2, 0, 0, 1);
}
.pp-site-name:hover {
  opacity: 0.76;
}

.pp-about-link {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--s1-muted);
  text-decoration: none;
  transition: color 120ms cubic-bezier(0.2, 0, 0, 1);
}
.pp-about-link:hover {
  color: var(--s1-ink);
}
.pp-about-link.is-active {
  color: var(--s1-ink);
  font-weight: 600;
}

.pp-nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.pp-nav-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 4px 0;
  margin: 0;
  font-family: 'Herbik', 'WWMathSym', 'WWSubSup', Georgia, serif;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--s1-muted);
  text-decoration: none;
  cursor: pointer;
  transition: color 120ms cubic-bezier(0.2, 0, 0, 1);
}
.pp-nav-btn:hover {
  color: var(--s1-ink);
}

/* ==========================================================================
   4. SHELL, MASTHEAD & FRAMELESS 580:440 HERO FIGURE
   ========================================================================== */
.pp-shell {
  max-width: 1040px;
  margin: 0 auto;
  padding: 32px 44px 88px;
}

.pp-masthead,
.pp-measure {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.pp-masthead {
  margin-bottom: 28px;
  text-align: left;
}

.pp-meta {
  font-family: 'Herbik', 'WWMathSym', 'WWSubSup', Georgia, serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--s1-muted);
  font-variant-numeric: tabular-nums;
  margin: 0 0 10px 0;
}

.pp-title {
  margin: 0 0 14px 0;
  font-family: 'Herbik', 'WWMathSym', 'WWSubSup', Georgia, serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.13;
  letter-spacing: -0.016em;
  color: var(--s1-ink);
  text-wrap: balance;
}

.pp-deck {
  margin: 0;
  font-family: 'Herbik', 'WWMathSym', 'WWSubSup', Georgia, serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.58;
  letter-spacing: var(--prose-track);
  color: var(--s1-summary);
  text-wrap: pretty;
}

/* Frameless Canonical 580:440 Interactive Stage */
.pp-figure {
  max-width: 680px;
  margin: 0 auto 32px;
}

.pp-well {
  width: 100%;
  aspect-ratio: 580 / 440;
  background-color: var(--p-bg);
  border: 0;
  overflow: hidden;
  cursor: default;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  contain: layout paint style;
}

.pp-well svg {
  display: block;
  width: 100%;
  height: 100%;
}

.pp-figcap {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.52;
  color: var(--s1-muted);
  text-wrap: pretty;
}

.pp-figcap strong {
  color: var(--s1-ink);
  font-weight: 600;
}

/* ==========================================================================
   5. ESSAY SECTIONS, RIGHT-MARGIN SIDENOTES, MATHML & CODE LISTINGS
   ========================================================================== */
.pp-sec {
  position: relative;
  max-width: 680px;
  margin: 40px auto 0;
}

.pp-sec.is-wide {
  max-width: 900px;
}

.pp-sec h2,
.pp-h2 {
  margin: 0 0 14px 0;
  font-family: 'Herbik', 'WWMathSym', 'WWSubSup', Georgia, serif;
  font-size: 21.5px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--s1-ink);
  text-wrap: balance;
}

/* Sidenotes: Float into right margin on wide desktop without shifting 680px spine */
.pp-sidenote {
  margin: -4px 0 16px 0;
  font-size: 13px;
  line-height: 1.52;
  color: var(--s1-muted);
  font-variant-numeric: tabular-nums;
  text-wrap: pretty;
  scroll-margin-top: 68px;
}

.pp-cite-tag,
.pp-cite-inline {
  display: inline-block;
  font-family: 'Herbik', 'WWMathSym', 'WWSubSup', Georgia, serif;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
  color: var(--s1-ink);
  background-color: var(--s1-surface);
  padding: 1px 5px;
  border-radius: 2px;
  border: 0;
  text-decoration: none;
  transition: background-color 120ms cubic-bezier(0.2, 0, 0, 1), opacity 120ms cubic-bezier(0.2, 0, 0, 1);
}

.pp-cite-tag {
  margin-right: 4px;
}

.pp-cite-inline {
  margin-left: 4px;
  vertical-align: 1px;
  scroll-margin-top: 68px;
}

.pp-cite-tag:hover,
.pp-cite-inline:hover,
.pp-sidenote:target .pp-cite-tag,
.pp-cite-inline:target {
  background-color: var(--s1-row-active);
  color: var(--s1-ink);
}

@media (min-width: 1240px) {
  .pp-sec:not(.is-wide) .pp-sidenote {
    position: absolute;
    left: calc(100% + 36px);
    top: 4px;
    width: 204px;
    margin: 0;
  }
}

.pp-prose p {
  margin: 0 0 18px 0;
  font-family: 'Herbik', 'WWMathSym', 'WWSubSup', Georgia, serif;
  font-size: 17.5px;
  line-height: var(--prose-lh);
  letter-spacing: var(--prose-track);
  color: var(--s1-summary);
  text-wrap: pretty;
}
.pp-prose p:last-child {
  margin-bottom: 0;
}

.pp-sub,
.pp-sup {
  font-size: 0.76em;
  line-height: 0;
}

.pp-overbar {
  text-decoration: overline;
}

/* Tonal Lineless Numbered MathML Equations */
.pp-formula {
  margin: 22px 0 24px;
  padding: 16px 20px;
  background-color: var(--s1-surface);
  border-radius: 3px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--s1-ink);
  overflow-x: auto;
}

.pp-formula-math {
  flex: 1 1 auto;
  text-align: center;
  font-family: 'WWMath', math, serif;
  font-size: 16.5px;
  line-height: 1.55;
}

.pp-formula-math math {
  font-family: 'WWMath', math, serif;
  display: inline-block;
}

.pp-eq-num {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--s1-muted);
  font-variant-numeric: tabular-nums;
}

/* 2-Up Static Comparison Plates (Essays) */
.pp-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 26px 0 10px;
}

.pp-compare-fig {
  margin: 0;
}

.pp-mini-well {
  width: 100%;
  aspect-ratio: 580 / 440;
  background-color: var(--p-bg);
  border: 0;
  overflow: hidden;
  contain: layout paint style;
}

.pp-mini-well svg {
  display: block;
  width: 100%;
  height: 100%;
}

.pp-compare-cap {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.48;
  color: var(--s1-muted);
}
.pp-compare-cap strong {
  color: var(--s1-ink);
  font-weight: 600;
}

/* Tonal Lineless Syntax-Highlighted Code Blocks */
.pp-listing {
  margin: 24px 0 28px;
}

.pp-code-wrap {
  background-color: var(--s1-code-bg);
  border-radius: 3px;
  overflow: hidden;
  border: 0;
}

.pp-code-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 16px;
  background-color: var(--s1-code-head-bg);
  font-size: 13px;
  color: var(--s1-muted);
}

.pp-code-head-left {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.pp-code-title {
  color: var(--s1-ink);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pp-code-head-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.pp-code-lang {
  font-family: 'WWMono', monospace;
  font-size: 11.5px;
  color: var(--s1-muted);
}

.pp-pre {
  margin: 0;
  padding: 14px 16px;
  background-color: var(--s1-code-bg);
  font-family: 'WWMono', 'WWMathSym', monospace;
  font-size: 12.8px;
  line-height: 1.64;
  color: var(--s1-ink);
  overflow-x: auto;
  tab-size: 2;
}

.pp-code-block {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-family: inherit;
}

.pp-code-line {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  column-gap: 14px;
  align-items: baseline;
}

.pp-code-ln {
  user-select: none;
  -webkit-user-select: none;
  font-size: 11.5px;
  color: var(--s1-faint);
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.pp-code-src {
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: normal;
  min-width: 0;
}

.tok-kw { color: var(--tok-kw); font-weight: 500; }
.tok-bi { color: var(--tok-bi); font-weight: 500; }
.tok-fn { color: var(--tok-fn); }
.tok-num { color: var(--tok-num); }
.tok-str { color: var(--tok-str); }
.tok-com { color: var(--tok-com); font-style: italic; }
.tok-op { color: var(--tok-op); }

.pp-nb-ref {
  margin: -16px 0 28px;
  font-size: 13.5px;
  color: var(--s1-muted);
}
.pp-nb-ref a {
  color: var(--s1-ink);
  font-weight: 600;
  transition: opacity 120ms cubic-bezier(0.2, 0, 0, 1);
}
.pp-nb-ref a:hover {
  opacity: 0.72;
}

/* Scholarly References List & BibTeX Citation Block (Lineless, Zero Borders) */
.pp-refs-sec,
.pp-cite-sec {
  scroll-margin-top: 68px;
}

.pp-ref-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pp-ref-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 10px;
  align-items: baseline;
  padding: 7px 10px;
  margin: 0 -10px;
  border-radius: 3px;
  font-size: 14.5px;
  line-height: 1.56;
  color: var(--s1-summary);
  scroll-margin-top: 68px;
  text-wrap: pretty;
  transition: background-color 160ms cubic-bezier(0.2, 0, 0, 1);
}

.pp-ref-item:hover {
  background-color: var(--s1-row-hover);
}

.pp-ref-item:target {
  background-color: var(--s1-row-active);
}

.pp-ref-item .pp-cite-tag {
  margin-right: 0;
  text-align: center;
}

.pp-ref-text em {
  font-style: italic;
  color: var(--s1-ink);
}

.pp-bibtex-listing {
  margin: 0;
}

.pp-bibtex-pre {
  white-space: pre;
  overflow-x: auto;
  font-size: 11.8px;
  line-height: 1.64;
}

.bib-type { color: var(--tok-kw); font-weight: 500; }
.bib-key { color: var(--s1-ink); font-weight: 500; }
.bib-field { color: var(--s1-muted); }
.bib-val { color: var(--s1-summary); }

/* ==========================================================================
   6. TONAL CONTROLS: LAB BENCH, FOLIO BAR, RADIO TRANSPORT & DIRECTORY FILTER
   ========================================================================== */
.pp-panel {
  max-width: 680px;
  margin: 0 auto 30px;
  padding: 16px 18px;
  background-color: var(--s1-surface);
  border-radius: 3px;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pp-panel.is-wide {
  max-width: 900px;
}

.pp-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.pp-pill-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3px;
}

.pp-pill-label {
  font-size: 12.5px;
  color: var(--s1-muted);
  margin-right: 4px;
}

.pp-btn {
  appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  color: var(--s1-muted);
  border: 0;
  box-shadow: none;
  border-radius: 3px;
  padding: 4px 8px;
  font-family: 'Herbik', 'WWMathSym', 'WWSubSup', Georgia, serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.25;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 120ms cubic-bezier(0.2, 0, 0, 1), color 120ms cubic-bezier(0.2, 0, 0, 1);
}

.pp-btn:hover {
  background-color: var(--s1-row-hover);
  color: var(--s1-ink);
}

.pp-btn.is-on {
  background-color: var(--s1-row-active);
  color: var(--s1-ink);
  font-weight: 600;
}

.pp-btn-tonal {
  background-color: var(--s1-surface-alt);
  color: var(--s1-ink);
}
.pp-btn-tonal:hover {
  opacity: 0.82;
}

/* Lab Parameter Sliders (Zero Borders, Soft Track + Clean Ink Thumb) */
.pp-sliders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 26px;
}

.pp-slider-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pp-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 13px;
  color: var(--s1-muted);
  font-variant-numeric: tabular-nums;
}

.pp-slider-val {
  color: var(--s1-ink);
  font-weight: 600;
}

.pp-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 18px;
  background: transparent;
  margin: 0;
  padding: 0;
  border: 0;
  box-shadow: none;
  cursor: pointer;
}

.pp-range::-webkit-slider-runnable-track {
  height: 3px;
  border-radius: 999px;
  background: var(--s1-track);
  border: 0;
}

.pp-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--s1-ink);
  border: 0;
  box-shadow: none;
}

.pp-range::-moz-range-track {
  height: 3px;
  border-radius: 999px;
  background: var(--s1-track);
  border: 0;
}

.pp-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--s1-ink);
  border: 0;
  box-shadow: none;
}

.pp-mode-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.54;
  color: var(--s1-summary);
}

/* 2-Column Lab & Radio Split */
.pp-two-col {
  max-width: 900px;
  margin: 38px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 38px;
  align-items: start;
}

.pp-two-col .pp-sec {
  max-width: none;
  margin: 0;
}

/* Visuals: 3-Column Frameless Plate Folio Grid */
.pp-folio-grid {
  max-width: 920px;
  margin: 22px auto 38px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pp-plate-item {
  padding: 10px;
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background-color 120ms cubic-bezier(0.2, 0, 0, 1);
}

.pp-plate-item:hover {
  background-color: var(--s1-row-hover);
}

.pp-plate-item.is-selected {
  background-color: var(--s1-row-active);
}

.pp-plate-thumb {
  width: 100%;
  aspect-ratio: 580 / 440;
  background-color: var(--p-bg);
  border: 0;
  overflow: hidden;
  contain: layout paint style;
}

.pp-plate-thumb svg {
  display: block;
  width: 100%;
  height: 100%;
}

.pp-plate-cap {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 12.5px;
  color: var(--s1-muted);
  font-variant-numeric: tabular-nums;
}

.pp-plate-cap strong {
  font-weight: 400;
  color: var(--s1-muted);
}

.pp-plate-item.is-selected .pp-plate-cap strong {
  font-weight: 600;
  color: var(--s1-ink);
}

/* Radio Recording Timeline & Log */
.pp-transport {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.pp-rec-time {
  font-size: 13px;
  color: var(--s1-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pp-rail-hit {
  height: 22px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.pp-rail {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background-color: var(--s1-track);
  position: relative;
}

.pp-rail-fill {
  height: 100%;
  border-radius: 999px;
  background-color: var(--s1-ink);
  width: 0%;
}

.pp-rail-tick {
  position: absolute;
  top: -2px;
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background-color: var(--s1-muted);
  opacity: 0.65;
}

.pp-log-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pp-log-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  column-gap: 14px;
  padding: 9px 10px;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 120ms cubic-bezier(0.2, 0, 0, 1);
}

.pp-log-row:hover {
  background-color: var(--s1-row-hover);
}

.pp-log-row.is-on {
  background-color: var(--s1-row-active);
}

.pp-log-time {
  font-size: 13px;
  color: var(--s1-muted);
  font-variant-numeric: tabular-nums;
}

.pp-log-row.is-on .pp-log-time {
  color: var(--s1-ink);
  font-weight: 600;
}

.pp-log-event {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--s1-ink);
}

.pp-log-detail {
  font-size: 13.5px;
  line-height: 1.48;
  color: var(--s1-muted);
  margin-top: 2px;
}

/* Fragments: Lineless Indented Proposition */
.pp-proposition {
  margin: 4px 0 26px;
  padding: 0 24px;
  border: 0;
  font-family: 'Herbik', 'WWMathSym', 'WWSubSup', Georgia, serif;
  font-size: 19.5px;
  font-style: italic;
  line-height: 1.56;
  color: var(--s1-ink);
  text-wrap: pretty;
}

/* ==========================================================================
   7. LINELESS TABLES, KV LISTS & 3-COLUMN DIRECTORY / RELATED LEDGER
   ========================================================================== */
.pp-kv-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pp-kv-row {
  display: grid;
  grid-template-columns: 38% minmax(0, 1fr);
  column-gap: 16px;
  padding: 8px 10px;
  border-radius: 3px;
  font-size: 14px;
  line-height: 1.48;
}

.pp-kv-row:nth-child(odd) {
  background-color: var(--s1-surface);
}

.pp-kv-key {
  color: var(--s1-muted);
}

.pp-kv-val {
  color: var(--s1-ink);
  font-variant-numeric: tabular-nums;
}

/* Wide Lineless Archival Tables (Artists Works, Temperament, Hardware, Sectors) */
.pp-table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.pp-wide-table {
  width: 100%;
  border-collapse: collapse;
  border: 0;
  font-size: 14px;
  line-height: 1.48;
}

.pp-wide-table thead tr {
  background-color: var(--s1-surface);
}

.pp-wide-table th {
  text-align: left;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--s1-muted);
  padding: 9px 12px;
  border: 0;
  white-space: nowrap;
}

.pp-wide-table td {
  padding: 10px 12px;
  border: 0;
  vertical-align: top;
  color: var(--s1-summary);
}

.pp-wide-table tbody tr:nth-child(even) td {
  background-color: rgba(128, 128, 128, 0.025);
}

.pp-click-row {
  cursor: pointer;
}

.pp-click-row:hover td {
  background-color: var(--s1-row-hover) !important;
}

.pp-click-row.is-on td {
  background-color: var(--s1-row-active) !important;
}

.pp-row-title {
  color: var(--s1-ink);
  font-weight: 500;
}

.pp-click-row.is-on .pp-row-title {
  font-weight: 600;
}

.pp-inline-link {
  color: var(--s1-ink);
  font-weight: 600;
  transition: opacity 120ms cubic-bezier(0.2, 0, 0, 1);
}
.pp-inline-link:hover {
  opacity: 0.72;
}

/* Directory Search & Node Select (Borderless Tonal Surfaces) */
.pp-search,
.pp-select {
  appearance: none;
  -webkit-appearance: none;
  background-color: var(--s1-surface-alt);
  color: var(--s1-ink);
  border: 0;
  box-shadow: none;
  border-radius: 3px;
  padding: 7px 12px;
  font-family: 'Herbik', 'WWMathSym', 'WWSubSup', Georgia, serif;
  font-size: 13.5px;
  line-height: 1.3;
  min-width: 220px;
}

.pp-search::placeholder {
  color: var(--s1-muted);
}

.pp-select {
  cursor: pointer;
  max-width: 100%;
}

/* Exact 3-Column Lineless Ledger Rows (Matching Hybrid Landing Page 1:1) */
.pp-ledger {
  display: flex;
  flex-direction: column;
}

.pp-ledger-row {
  display: grid;
  grid-template-columns: 62px 78px minmax(0, 1fr);
  column-gap: 12px;
  align-items: baseline;
  padding: 6px 8px;
  margin: 0 -8px;
  border-radius: 3px;
  border: 0;
  text-decoration: none;
  color: var(--s1-ink);
  transition: background-color 100ms cubic-bezier(0.2, 0, 0, 1);
}

.pp-ledger-row:hover {
  background-color: var(--s1-row-hover);
}

.pp-ledger-row[data-year-break="1"] {
  margin-top: 6px;
}

.pp-ledger-date {
  font-size: 12.5px;
  color: var(--s1-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.pp-dig {
  display: inline-block;
  width: 7.2px;
  text-align: center;
}

.pp-hyph {
  display: inline-block;
  width: 5.4px;
  text-align: center;
}

.pp-ledger-sec {
  font-size: 12.5px;
  color: var(--s1-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pp-ledger-title {
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--s1-ink);
  min-width: 0;
}

/* ==========================================================================
   8. FOOTER: RELATED ENTRIES, NEIGHBOR LINKS & COLOPHON (ZERO LINES)
   ========================================================================== */
.pp-footer {
  max-width: 680px;
  margin: 56px auto 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.pp-rel-block h2 {
  margin: 0 0 10px 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--s1-muted);
  letter-spacing: 0em;
}

.pp-prevnext {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.pp-pn-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  margin: 0 -12px;
  border-radius: 3px;
  text-decoration: none;
  transition: background-color 120ms cubic-bezier(0.2, 0, 0, 1);
}

.pp-pn-link:hover {
  background-color: var(--s1-row-hover);
}

.pp-pn-link.is-next {
  text-align: right;
  align-items: flex-end;
}

.pp-pn-label {
  font-size: 12.5px;
  color: var(--s1-muted);
  font-variant-numeric: tabular-nums;
}

.pp-pn-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.32;
  color: var(--s1-ink);
  text-wrap: balance;
}

.pp-colophon-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: 13px;
  color: var(--s1-muted);
}

.pp-colophon-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.pp-colophon-foot a {
  color: var(--s1-muted);
  transition: color 120ms cubic-bezier(0.2, 0, 0, 1);
}
.pp-colophon-foot a:hover {
  color: var(--s1-ink);
}

/* ==========================================================================
   9. ABOUT PAGE SPECIFIC ELEMENTS (LINELESS)
   ========================================================================== */
.ab-channel-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ab-channel {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  column-gap: 22px;
  padding: 16px 18px;
  background-color: var(--s1-surface);
  border-radius: 3px;
}

.ab-channel-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--s1-ink);
}

.ab-channel-kind {
  font-size: 12.5px;
  color: var(--s1-muted);
  margin-top: 2px;
}

.ab-channel-main {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.ab-endpoint-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.ab-endpoint-link {
  font-size: 15px;
  font-weight: 600;
  color: var(--s1-ink);
  word-break: break-all;
  transition: opacity 120ms cubic-bezier(0.2, 0, 0, 1);
}
.ab-endpoint-link:hover {
  opacity: 0.72;
}

.ab-channel-note {
  margin: 0;
  font-size: 15px;
  line-height: 1.56;
  color: var(--s1-summary);
}

.ab-fingerprint {
  display: inline-block;
  font-family: 'WWMono', monospace;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--s1-ink);
  background-color: var(--s1-surface-alt);
  padding: 6px 10px;
  border-radius: 3px;
  font-variant-numeric: tabular-nums;
}

.ab-pgp-disclosure summary {
  cursor: pointer;
  font-size: 13px;
  color: var(--s1-muted);
  user-select: none;
  width: fit-content;
}
.ab-pgp-disclosure summary:hover {
  color: var(--s1-ink);
}

.ab-pgp-pre {
  margin: 10px 0 0 0;
  padding: 12px 14px;
  background-color: var(--s1-surface-alt);
  border-radius: 3px;
  font-family: 'WWMono', monospace;
  font-size: 11.5px;
  line-height: 1.48;
  color: var(--s1-muted);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.ab-pigment-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.ab-pigment-chip {
  background-color: var(--s1-surface);
  border-radius: 3px;
  padding: 10px;
  font-size: 12.5px;
  color: var(--s1-muted);
}

.ab-pigment-bar {
  height: 14px;
  border-radius: 2px;
  margin-bottom: 7px;
}

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS (MATCHING HYBRID LANDING GEOMETRY)
   ========================================================================== */
@media (min-width: 960px) and (max-width: 1180px) {
  .pp-topbar {
    padding: 0 26px;
  }
  .pp-shell {
    padding: 28px 26px 76px;
  }
}

@media (max-width: 959px) {
  .pp-topbar {
    height: 44px;
    padding: 0 18px;
  }
  .pp-shell {
    padding: 24px 18px 68px;
  }
  .pp-two-col {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pp-folio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .ab-pigment-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 619px) {
  .pp-topbar {
    height: 42px;
    padding: 0 16px;
  }
  .pp-shell {
    padding: 20px 16px 60px;
  }
  .pp-title {
    font-size: 27px;
  }
  .pp-deck {
    font-size: 16px;
  }
  .pp-prose p {
    font-size: 16.5px;
  }
  .pp-compare-grid,
  .pp-sliders,
  .pp-prevnext,
  .ab-channel {
    grid-template-columns: 1fr;
  }
  .pp-pn-link.is-next {
    text-align: left;
    align-items: flex-start;
  }
  .pp-proposition {
    padding: 0 14px;
    font-size: 18px;
  }
  .pp-ledger-row {
    grid-template-columns: 58px 68px minmax(0, 1fr);
    column-gap: 8px;
  }
  .pp-search {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 479px) {
  .pp-topbar {
    height: 40px;
    padding: 0 16px;
  }
  .pp-site-name {
    font-size: 15px;
  }
  .pp-ledger-row {
    grid-template-columns: 56px 66px minmax(0, 1fr);
    column-gap: 8px;
  }
}

@media print {
  .pp-topbar .pp-nav-right,
  .pp-panel {
    display: none !important;
  }
  html,
  body.pp-body {
    background: #ffffff !important;
    color: #111111 !important;
  }
  .pp-well,
  .pp-mini-well,
  .pp-plate-thumb {
    contain: none !important;
  }
}
