html[data-edition="paperworkpath"] {--desk:#f5eee0;--file-paper:#fffdf8;--file-ink:#2b342e;--file-edge:#baab90;--file-orange:#8b4528; color-scheme:light}
html[data-edition="paperworkpath"] body {background:var(--desk);color:var(--file-ink);font:1.03rem/1.6 system-ui,sans-serif}
html[data-edition="paperworkpath"] header {display:flex;align-items:baseline;gap:.52rem 1.05rem;flex-wrap:wrap;background:#293b36;padding:.95rem max(1.05rem,calc((100vw - 74rem)/2))}
html[data-edition="paperworkpath"] header a {color:white;margin:0}
html[data-edition="paperworkpath"] header a:first-child {font:bold 1.35rem/1.2 Georgia,serif;margin-right:auto}
html[data-edition="paperworkpath"] main {max-width:60rem;padding:1.4rem clamp(1rem,3vw,2.25rem)}
html[data-edition-home][data-edition="paperworkpath"] main {max-width:77rem}
html[data-edition="paperworkpath"] main a {color:#744027;text-underline-offset:.15em}
.document-file {position:relative;width:100%;padding:clamp(.5rem,1.4vw,1.2rem) 0 0}
.document-file h1 {font:600 clamp(2.55rem,4.8vw,4.5rem)/1.025 Georgia,serif;letter-spacing:-.055em;color:var(--file-ink);max-width:14ch;margin:0 0 1.25rem}
.document-file nav {display:flex;flex-wrap:wrap;align-items:flex-end;border-bottom:2px solid #695a40;gap:.22rem;padding-left:.25rem}
.document-file nav a {display:inline-block;background:#e4d5b8;border:1px solid #a99773;border-bottom:0;border-radius:.6rem .6rem 0 0;padding:.5rem .7rem;color:#3c392e;font:680 .91rem/1.4 system-ui,sans-serif;text-decoration:none}
.document-file nav a:first-child {background:#304c41;border-color:#304c41;color:white}
.document-file nav a:hover {text-decoration:underline}
html[data-edition="paperworkpath"] main > p {max-width:74ch}
html[data-edition="paperworkpath"] .nav-start {background:var(--file-paper);border:1px solid #a89a83;border-top:5px solid #759185;border-radius:.2rem;box-shadow:4px 4px 0 #d9cbb4;padding:clamp(1rem,2.4vw,1.7rem);margin:1.3rem 0}
html[data-edition="paperworkpath"] .nav-start h2 {margin:0;font:600 clamp(1.5rem,2.6vw,2.2rem)/1.14 Georgia,serif;letter-spacing:-.035em}
html[data-edition="paperworkpath"] .nav-start .meta {color:#4e5b51}
html[data-edition="paperworkpath"] .nav-start :where(input,select), html[data-edition="paperworkpath"] input#q {font:inherit;background:white;color:var(--file-ink);border:1px solid #8b958d;border-radius:.28rem}
html[data-edition="paperworkpath"] .nav-start button {background:#304c41;color:white;border:1px solid #304c41;border-radius:.25rem;font-weight:700}
html[data-edition="paperworkpath"] h2:not(#start-h) {font:600 clamp(1.6rem,2.7vw,2.25rem)/1.14 Georgia,serif;letter-spacing:-.035em}
html[data-edition="paperworkpath"] .idx {background:var(--file-paper);border:1px solid var(--file-edge);list-style:none;padding:.25rem 1.1rem}
html[data-edition="paperworkpath"] .idx li {border-bottom:1px solid #ded6c7;padding:.45rem 0;margin:0}
html[data-edition="paperworkpath"] .idx li:last-child {border-bottom:0}
html[data-edition="paperworkpath"] :focus-visible {outline:3px solid var(--file-orange);outline-offset:3px}
html[data-edition="paperworkpath"] :target {scroll-margin-block:1rem}
html[data-edition="paperworkpath"] footer {background:#293b36}
@media(min-width:900px){
  html[data-edition-home][data-edition="paperworkpath"] main {display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);column-gap:clamp(2rem,4vw,4rem);align-items:start;align-content:start}
  html[data-edition-home][data-edition="paperworkpath"] main > * {grid-column:1 / -1;min-width:0}
  html[data-edition-home][data-edition="paperworkpath"] main > .document-file {grid-column:1;grid-row:1}
  html[data-edition-home][data-edition="paperworkpath"] main > .document-file + p {grid-column:1;grid-row:2}
  html[data-edition-home][data-edition="paperworkpath"] main > label[for="q"] {grid-column:1;grid-row:3;align-self:end;font-weight:680}
  html[data-edition-home][data-edition="paperworkpath"] main > #q {grid-column:1;grid-row:4}
  html[data-edition-home][data-edition="paperworkpath"] main > #q-empty {grid-column:1;grid-row:5}
  html[data-edition-home][data-edition="paperworkpath"] main > #start {grid-column:2;grid-row:1 / 6;margin:0}
}
@media(max-width:390px){.document-file nav a{font-size:.84rem;padding:.45rem .46rem}}
.document-file .by-document {border-bottom:1px solid var(--file-edge);padding:.45rem .25rem}
.by-document summary {cursor:pointer;font-weight:650;text-underline-offset:.16em}
.by-document summary:hover {text-decoration:underline}
.by-document ul {display:flex;gap:.25rem 1.1rem;flex-wrap:wrap;list-style:none;padding:0;margin:.5rem 0 .25rem;font-size:.96rem}

/* Keep the original source record findable wherever a generator emits its freshness footer. */
html[data-edition] .data-last-checked a[href] {
  text-decoration-line: underline;
  text-decoration-thickness: .1em;
  text-underline-offset: .2em;
}
html[data-edition] .data-last-checked a[href]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
html[data-edition] .ed-cover :is(a[href], button, input, select):focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}
html[data-edition] a.edition-skip {
  position:absolute;left:.65rem;top:.5rem;z-index:1000;transform:translateY(-200%);
  padding:.7rem 1rem;background:white;color:#14221e;font:600 1rem/1.4 system-ui,sans-serif;
}
html[data-edition] a.edition-skip:focus {transform:none;outline:3px solid currentColor}
