/* Copyright 2026 My Digital Sovereignty Ltd. All rights reserved. Proprietary and confidential; unauthorised copying, use or distribution is prohibited. */

/* ============================================================================
   provenance-bundle-spec.css: the Provenance bundle specification page
   (public/provenance-bundle-spec.html). Loaded after village-apps.css and
   provenance-verify.css, whose tokens, chrome and .prose rules it uses; this
   file adds only tables, code and the notice box.
   ============================================================================ */

.spec .prose > * { max-width: 52rem; }
.spec h3 { font-size: var(--t-l); margin: var(--s8) 0 var(--s3); }
.spec h4 { margin: var(--s6) 0 var(--s2); }
.spec p, .spec li { line-height: 1.6; }
.spec ol, .spec ul { padding-left: 1.4em; }
.spec li + li { margin-top: var(--s2); }
.spec code, .spec pre { font-family: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace; font-size: .92em; }
.spec code { overflow-wrap: anywhere; }
.spec td:first-child code { overflow-wrap: normal; white-space: nowrap; }
.spec pre { background: rgba(127, 127, 127, .08); border: 1px solid var(--line); border-radius: var(--r-s); padding: var(--s3) var(--s4); overflow-x: auto; white-space: pre; }
.spec-table-wrap { overflow-x: auto; margin: var(--s4) 0; max-width: 100%; }
.spec table { border-collapse: collapse; width: 100%; min-width: 34rem; font-size: .95em; }
.spec th, .spec td { border: 1px solid var(--line); padding: var(--s2) var(--s3); text-align: left; vertical-align: top; }
.spec th { background: rgba(127, 127, 127, .08); }
.spec-notice { margin-bottom: var(--s4); border: 1px solid var(--line); border-radius: var(--r-m); padding: var(--s4) var(--s6); background: rgba(127, 127, 127, .06); }
.spec-toc { columns: 2 18rem; list-style: none; padding-left: 0; }
.spec-toc li { break-inside: avoid; }
.spec .fingerprint { font-size: 1.02em; word-break: break-all; }
@media (max-width: 40rem) {
  .spec pre { font-size: .8em; }
  .spec th, .spec td { padding: var(--s1) var(--s2); }
}
