/* ═══ THE GEOMIC PROOF READER — proof-doc.css ═══
   Each proof set (G1–G8) renders in its own themed page; the voice
   reads the words and skips every number. */

/* the reading progress — a live readout, styled here (this page does
   not load legal-doc.css where the generic rule lives) */
.doc-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 1000;
  background: rgba(255, 255, 255, 0.06);
}
.doc-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, #d4a843, #fff8e8);
  box-shadow: 0 0 10px #d4a843;
  transition: width .2s ease-out;
}

/* the voice honesty line under the header */
.pdoc-voice-note {
  text-align: center; font-size: var(--phi-caption, 11px);
  color: var(--phi-text-dim, #8a8577); letter-spacing: .2em;
  padding: 4px var(--phi-space-lg) 0;
}

/* proof anchors: each numbered proof gets its own jump target */
.pdoc-proof-anchor { scroll-margin-top: 90px; }

/* proof header styling inside the rendered markdown */
.doc-body h2 { border-top: 1px dashed rgba(212,168,67,.35); padding-top: .9em; }

/* the ASCII geometry inside the proofs: monospace, no wrap, aligned */
.doc-body pre {
  overflow-x: auto; background: rgba(0,0,0,.35); padding: 14px; border-radius: 8px;
  font-family: 'Cascadia Mono', 'Consolas', 'Courier New', monospace;
  font-size: .8rem; line-height: 1.3; white-space: pre;
  border: 1px solid rgba(212,168,67,.22);
}
.doc-body pre code { background: none; padding: 0; font-size: inherit; }

/* highlight the proof the visitor jumped to */
.pdoc-flash {
  box-shadow: 0 0 0 2px rgba(212,168,67,.8) !important;
  transition: box-shadow 2.4s ease;
}

/* a deep-link that missed gets an honest note, never silence */
.pdoc-miss-note {
  margin: 0 0 1em; padding: 10px 14px;
  border: 1px solid rgba(212,168,67,.35); border-radius: 6px;
  color: var(--phi-text-dim, #8a8577); font-size: .88rem;
}

/* mobile: the header row + voice note + reader must stack cleanly */
@media (max-width: 720px) {
  .vdoc-header { flex-wrap: wrap; gap: 8px; padding: 12px 14px; }
  .doc-header-center { order: -1; width: 100%; justify-content: flex-start; }
  .doc-header-right { margin-left: auto; }
  .doc-tts-btn { font-size: .78rem; padding: 8px 12px; }
  .pdoc-voice-note { font-size: 10px; letter-spacing: .12em; }
  .doc-body { font-size: 15px; }
  .doc-body table { font-size: .8em; display: block; overflow-x: auto; }
}
