@font-face {
  font-family: "DM Sans";
  src: url("fonts/dm-sans-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --paper: #171717;
  --surface: #232323;
  --text: #f3eee7;
  --body: #ddd6cf;
  --muted: #beb7ae;
  --line: #46403c;
  --accent: #d79a68;
  --ink: #1c1713;
  --display: "Space Grotesk", Arial, sans-serif;
  font: 16px/1.6 "DM Sans", Arial, sans-serif;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); }
::selection { background: var(--accent); color: var(--ink); }
a { color: var(--accent); text-underline-offset: .21em; text-decoration-thickness: 1px; text-decoration-color: #ab8065; }
a:hover { color: #ffdbbf; text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skip { position: absolute; top: -7rem; left: 1rem; z-index: 2; padding: .5rem 1rem; background: var(--paper); }
.skip:focus { top: .4rem; }
.site-header { border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at 84% 0%, #44362e55, transparent 60%); }
.masthead, .guide-layout, .footer-links, .wiki-feedback { max-width: 88rem; padding-inline: clamp(1.25rem, 4vw, 3.5rem); margin-inline: auto; }
.site-footer { border-top: 1px solid var(--line); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; padding-block: 1.25rem; }
.footer-links a { display: inline-flex; align-items: center; min-height: 2.75rem; color: var(--muted); font-size: .9rem; text-underline-offset: .2em; }
.footer-links .footer-home { margin-right: auto; color: var(--text); font: 600 1.1rem/1.4 var(--display); text-decoration: none; }
.coffee-badge img { display: block; }
.footer-links a:hover { text-decoration: underline; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 5.125rem; }
.identity, .page-nav { display: flex; align-items: center; }
.identity { gap: .9rem; white-space: nowrap; }
.identity a, .page-nav a, .contents a { text-decoration: none; }
.wordmark { color: var(--text); font: 600 1.65rem/1 var(--display); letter-spacing: -.065em; }
.wordmark span { color: var(--accent); }
.wiki-name { padding-left: .9rem; border-left: 1px solid var(--line); color: var(--accent); font-size: .86rem; font-weight: 600; }
.page-nav { align-self: stretch; gap: clamp(.8rem, 1.6vw, 1.65rem); }
.page-nav a { display: grid; align-items: center; position: relative; min-height: 2.75rem; color: var(--muted); font-size: .88rem; white-space: nowrap; }
.page-nav a:hover, .contents a:hover { color: var(--text); }
.page-nav a[aria-current] { color: var(--accent); }
.page-nav a[aria-current]::after { content: ""; position: absolute; height: 2px; bottom: 0; width: 100%; background: var(--accent); }
.guide-layout { display: grid; grid-template-columns: clamp(12rem, 17vw, 14rem) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); align-items: start; padding-block: clamp(2.5rem, 4.5vw, 4.5rem) 4rem; }
main { grid-area: 1 / 2; min-width: 0; }
.contents { grid-area: 1 / 1; align-self: start; position: sticky; top: 1.5rem; max-height: calc(100vh - 3rem); overflow-y: auto; margin-top: .45rem; padding: .1rem .75rem .4rem .25rem; }
.contents nav > p, .mobile-jump { margin: 0 0 .75rem; font: 500 .9rem/1.4 var(--display); color: var(--muted); }
.contents ul { list-style: none; padding: 0; margin: 0; }
.contents li { margin: 0; padding: 0; }
.contents a { display: block; border-left: 2px solid var(--line); padding: .4rem .7rem; font-size: .9rem; line-height: 1.35; color: var(--muted); }
.contents a[aria-current] { color: var(--accent); border-color: var(--accent); font-weight: 600; }
.contents .depth-3 a { padding-left: 1.4rem; font-size: .84rem; }
.mobile-jump { display: none; }
main > :is(h1, h2, h3, p, ul, ol, table, blockquote, figure, .photo-pair) { margin-inline: 0; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; color: var(--text); }
h1 { max-width: 24ch; margin: 0 0 1.35rem; font-size: clamp(2.35rem, 4.5vw, 3.85rem); font-weight: 500; line-height: 1.065; letter-spacing: -.035em; }
h2 { margin: 2.8rem 0 .9rem; padding-top: 1.6rem; border-top: 1px solid var(--line); font-size: clamp(1.45rem, 2.15vw, 1.92rem); line-height: 1.22; letter-spacing: -.038em; font-weight: 480; }
h3 { margin: 1.9rem 0 .6rem; font-size: 1.26rem; line-height: 1.3; letter-spacing: -.025em; font-weight: 540; }
[id] { scroll-margin-top: 1.25rem; }
main p, main li { color: var(--body); }
main p, main ol, main ul, main table { max-width: 71ch; }
main p { margin: .75rem 0; }
main h1 + p { color: var(--text); font-size: 1.1rem; line-height: 1.65; max-width: 63ch; }
main strong { font-weight: 600; color: var(--text); }
ol, ul { padding-left: 1.45rem; }
li { padding-left: .25rem; margin-block: .5rem; }
li::marker { color: var(--accent); }
blockquote { margin: 1.1rem 0; border-left: 2px solid var(--accent); padding: .12rem 0 .12rem 1rem; }
blockquote p { margin: 0; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .94rem; }
td, th { padding: .55rem .85rem .55rem 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 500; }
td { color: var(--body); }
main img { display: block; max-width: 100%; height: auto; }
main p:has(> .figure-link:only-child), figure { max-width: none; margin-block: 1.35rem .8rem; }
.figure-link { display: inline-block; max-width: 100%; cursor: zoom-in; vertical-align: top; }
figure { margin: 1.4rem 0 2rem; }
figcaption { margin-top: .6rem; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-block: 1rem 2rem; }
.photo-pair figure { margin: 0; }
.photo-pair img { width: 100%; }
@media (max-width: 900px) {
  .masthead { display: block; padding-top: 1.1rem; }
  .page-nav { gap: 1.4rem; flex-wrap: wrap; margin-top: .5rem; }
  .guide-layout { display: flex; flex-direction: column; gap: 0; }
  .contents { position: static; width: 100%; max-height: none; overflow: visible; border: 0; padding: 0; margin: 0 0 1.2rem; }
  .has-section-picker .contents nav { display: none; }
  .has-section-picker .mobile-jump { display: inline-flex; margin: 0; align-items: center; gap: .7rem; }
  .mobile-jump select { max-width: 57vw; min-height: 44px; padding: .35rem .2rem; border: 0; border-bottom: 1px solid var(--line); background: var(--paper); color: var(--text); font: inherit; }
  main { width: 100%; }
}
@media (max-width: 560px) {
  .masthead, .guide-layout, .footer-links, .wiki-feedback { padding-inline: 1.15rem; }
  .footer-links .footer-home { flex-basis: 100%; }
  .page-nav { gap: 0 1.1rem; }
  .page-nav a { font-size: .84rem; }
  .guide-layout { padding-top: 1.5rem; }
  .identity { gap: .75rem; }
  h2 { margin-top: 2rem; }
  td, th { padding-right: .55rem; }
  .photo-pair { gap: .55rem; }
}
@media print {
  .site-header, .site-footer, .contents, .skip, .document-tools, dialog { display: none; }
  .guide-layout { display: block; padding: 0; }
  :root { color-scheme: light; --paper: white; --text: #171717; --body: #242424; --muted: #484848; --accent: #603c24; --line: #aaa; }
  .figure-link, figure { break-inside: avoid; }
}
.first-print { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.first-print h1 { max-width: 13ch; }
.first-print h2 { font-size: 1.55rem; margin-top: 1.5rem; padding-top: 1rem; }
.first-print .finished-print { margin: 0; }
.finished-print .figure-link { padding: clamp(.35rem, 1vw, .75rem); background: #eee6dc; }
.finished-print .figure-link, .finished-print img { width: 100%; }
.first-print .finished-print figcaption { max-width: 46ch; }
.backlit .photo-pair { max-width: 56rem; }
.mixed-aspects .figure-link { display: grid; place-items: center; width: 100%; aspect-ratio: 1; background: #1c1b1b; }
.mixed-aspects .figure-link img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 560px) {
  .mixed-aspects { grid-template-columns: 1fr; gap: 1.25rem; }
}
@media (max-width: 760px) {
  .first-print { display: block; }
  .first-print h1 { max-width: none; }
  .first-print .finished-print { max-width: 27rem; margin-block: 1.25rem 1.8rem; }
  .first-print .finished-print img { width: auto; max-height: 22rem; }
}
.slicer-views { display: grid; grid-template-columns: minmax(0, 1fr) minmax(7rem, .22fr); gap: 1.5rem 1rem; align-items: start; }
.slicer-views figure { margin: 0; }
.prepare-view { grid-column: 1 / -1; max-width: 27rem; }
/* Enlarge the layer slider at (2410, 312) in the original 2550 × 1511 window. */
.timeline-detail .figure-link { display: block; position: relative; overflow: hidden; width: min(100%, 10.5rem); aspect-ratio: 140 / 198; }
.timeline-detail .figure-link img { position: absolute; max-width: none; width: 1821.428571%; height: auto; left: -1721.428571%; top: -157.575758%; }
.listing-example { display: grid; grid-template-columns: minmax(12rem, .8fr) minmax(0, 1.2fr); align-items: start; gap: clamp(1.25rem, 3vw, 3rem); margin-top: 1.25rem; }
.listing-art { margin: 0; }
.listing-art img { width: 100%; }
.listing-instructions h3:first-child { margin-top: 0; }
.listing-instructions li { margin-block: .25rem; }
.document-tools { display: flex; flex-wrap: wrap; gap: .2rem 1.4rem; border-top: 1px solid var(--line); margin-top: 3rem; padding-top: .75rem; }
.document-tools a { display: inline-flex; min-height: 44px; align-items: center; color: var(--muted); font-size: .9rem; }
dialog { color: var(--text); background: var(--surface); width: min(50rem, 94vw); max-height: 88dvh; padding: 0; border: 1px solid var(--line); }
dialog::backdrop { background: rgb(0 0 0 / .76); }
html:has(dialog[open]) { overflow: hidden; }
.dialog-bar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .65rem 1.25rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.dialog-bar h2 { font-size: 1.3rem; margin: 0; padding: 0; border: 0; }
.dialog-bar button, .feedback-form button { font: 600 .95rem/1.3 var(--display); border: 1px solid var(--muted); border-radius: .2rem; padding: .55rem 1rem; min-height: 44px; background: transparent; color: var(--text); cursor: pointer; }
.dialog-bar button:hover { border-color: var(--accent); color: var(--accent); }
.section-content, .section-source { padding-inline: clamp(1rem, 3vw, 2rem); }
.section-content { color: var(--body); }
.section-content img { display: block; max-width: 100%; height: auto; }
.section-source { margin-block: 1.3rem; }
#photo-dialog { width: fit-content; max-width: 96vw; max-height: 96dvh; }
.photo-content img { display: block; max-width: 100%; max-height: 80dvh; object-fit: contain; margin: auto; }
.wiki-feedback { padding-block: 1rem; }
.wiki-feedback summary { width: fit-content; padding-block: .45rem; font: 500 1.3rem/1.5 var(--display); cursor: pointer; }
.wiki-feedback summary::marker { color: var(--accent); }
.feedback-form { max-width: 42rem; padding-block: 1rem; }
.feedback-form label { display: grid; gap: .35rem; margin-bottom: .9rem; }
.feedback-form :is(input, textarea) { width: 100%; min-width: 0; border: 1px solid #82786f; border-radius: .2rem; padding: .65rem .75rem; background: var(--paper); color: var(--text); font: inherit; }
.feedback-form textarea { resize: vertical; }
.feedback-byline { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.feedback-form small, .feedback-handoff { color: var(--muted); font-size: .875rem; }
.feedback-form small { display: block; margin: -.55rem 0 1rem; }
.feedback-form button { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.feedback-form button:hover { background: #ebaf7d; }
.feedback-form button:disabled { opacity: .6; cursor: wait; }
.feedback-status:empty { margin: 0; }
@media (max-width: 650px) {
  .listing-example, .feedback-byline { grid-template-columns: 1fr; gap: .5rem; }
  .listing-art { max-width: 20rem; margin-bottom: 1rem; }
  .slicer-views { grid-template-columns: 1fr; }
  .timeline-detail { display: flex; align-items: center; gap: 1rem; }
  .timeline-detail .figure-link { flex: none; width: 7rem; }
}


/* Article header, contents, and reference panels share the design preview palette. */
@media screen {
  body { background: radial-gradient(ellipse at 80% 0%, #392d26 0, var(--paper) 33rem); }
  .site-header { background: #171717e8; }
  .masthead, .guide-layout, .footer-links, .wiki-feedback { max-width: 84rem; }
  .masthead { gap: 1.5rem; min-height: 5.75rem; }
  .page-nav { align-self: center; gap: .25rem; padding: .25rem; border: 1px solid var(--line); border-radius: 5px; background: #1d1c1b; }
  .page-nav a { min-height: 2.75rem; padding-inline: .8rem; border-radius: 3px; }
  .page-nav a[aria-current] { color: var(--ink); background: var(--accent); font-weight: 650; }
  .page-nav a[aria-current]::after { content: none; }
  .guide-layout { grid-template-columns: minmax(11.5rem, 14rem) minmax(0, 1fr); gap: clamp(1.5rem, 3.5vw, 3.5rem); }
  .contents { padding: 1rem .55rem .8rem; margin-top: 0; background: #1e1d1c; border: 1px solid var(--line); border-radius: 5px; }
  .contents nav > p { padding-inline: .65rem; margin-bottom: .5rem; color: var(--text); }
  .contents a { border-color: transparent; padding-block: .53rem; }
  .contents a[aria-current] { background: #d79a6817; border-color: var(--accent); }
  .guide-hero { margin-bottom: clamp(1.35rem, 3vw, 2rem); padding: clamp(1rem, 2.5vw, 2rem); border: 1px solid #655044; border-top: 3px solid var(--accent); border-radius: 5px; background: radial-gradient(ellipse at 95% 0%, #4a362a, #25211e 65%); }
  .guide-hero h1 { max-width: 25ch; margin-bottom: .65rem; font-size: clamp(1.875rem, 3.05vw, 2.75rem); line-height: 1.1; letter-spacing: -.045em; }
  .guide-hero p { max-width: 60ch; margin-bottom: 0; color: var(--text); font-size: clamp(1rem, 1.2vw, 1.09rem); }
  .guide-hero-illustrated { display: grid; grid-template-columns: minmax(0, 1fr) minmax(11rem, 15rem); align-items: center; gap: clamp(.9rem, 2.6vw, 2rem); }
  .guide-hero .finished-print { margin: 0; }
  .guide-hero .finished-print .figure-link { padding: .35rem; border-radius: 3px; background: #e5d6c7; }
  .guide-hero .finished-print figcaption { color: var(--text); }
  main :is(h1, h2, h3), #section-dialog .dialog-bar h2 { color: #e0ad86; }
  main h2 { font-size: clamp(1.625rem, 2.05vw, 1.875rem); letter-spacing: -.04em; padding-top: clamp(1rem, 2vw, 1.5rem); }
  main h2:first-of-type { margin-top: 0; }
  main h3 { font-size: clamp(1.25rem, 1.55vw, 1.375rem); }
  :is(main, .section-content) blockquote { padding: .75rem 1rem; margin-block: 1.4rem; border-radius: 0 4px 4px 0; background: #d79a6817; }
  :is(main, .section-content) ol { padding-left: 2.85rem; padding-right: .8rem; border-radius: 4px; border: 1px solid var(--line); background: #22201e; }
  :is(main, .section-content) ol > li { padding: .7rem .28rem .7rem .24rem; margin: 0; }
  :is(main, .section-content) ol > li + li { border-top: 1px solid var(--line); }
  :is(main, .section-content) ol > li::marker { font-family: var(--display); font-weight: 700; }
  :is(main, .section-content) a[data-guide-reference] { text-decoration-style: dotted; }
  :is(main, .section-content) a[data-guide-reference]::after { content: " ↗" / ""; white-space: nowrap; font-size: .82em; }
  :is(main, .section-content) a[data-guide-reference]:hover { text-decoration-style: solid; }
  .section-source { margin: 0; padding-block: .65rem; border-top: 1px solid var(--line); }
  .section-source a { display: inline-flex; align-items: center; min-height: 2.75rem; }
  #section-dialog { width: min(40rem, calc(100% - 2rem)); max-height: min(74dvh, 40rem); border: 1px solid #80644f; border-radius: 6px; box-shadow: 0 20px 70px #000b; overflow: hidden; }
  #section-dialog[open] { display: flex; flex-direction: column; }
  #section-dialog::backdrop { background: #10101091; }
  #section-dialog .dialog-bar { align-items: center; }
  #section-dialog .dialog-bar h2 { font-size: clamp(1rem, 2.8vw, 1.3rem); }
  .reference-controls { display: flex; gap: .4rem; flex-shrink: 0; }
  .section-content { min-height: 0; overflow: auto; overscroll-behavior: contain; overflow-wrap: anywhere; }
  .section-content > :first-child { margin-top: .9rem; }
}
@media screen and (max-width: 900px) {
  .masthead { padding-top: 1rem; padding-bottom: .75rem; }
  .page-nav { margin-top: .9rem; }
  .contents { margin-bottom: 1rem; }
  .has-section-picker .mobile-jump { padding-inline: .65rem; }
  .guide-hero { margin-bottom: 1.35rem; }
}
@media screen and (max-width: 560px) {
  .page-nav { gap: .15rem; }
  .page-nav a { padding-inline: .48rem; font-size: .8rem; }
  .guide-layout { padding-top: 1rem; }
  .guide-hero-illustrated { grid-template-columns: 1fr; }
  .guide-hero-illustrated .finished-print { max-width: 13rem; }
  .guide-hero-illustrated .finished-print img { width: 100%; }
  #section-dialog { width: calc(100% - 1rem); max-height: 73dvh; margin: auto auto .5rem; }
  #section-dialog .dialog-bar { gap: .45rem; padding-inline: .85rem; }
  #section-dialog .dialog-bar button { font-size: .83rem; padding-inline: .55rem; }
}

.plate-recommendation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(6.5rem, 26%);
  align-items: center;
  gap: .75rem 1rem;
  max-width: 38rem;
  margin-block: 1rem 1.25rem;
  padding: .85rem;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 4px;
  background: var(--surface);
}
.plate-recommendation p { margin: .2rem 0; }
.plate-recommendation img { display: block; width: 100%; height: auto; border-radius: 3px; }
