.plate-figure, .plate-compare {
  --plate-paper: #f7f5eb;
  background: var(--plate-paper);
  border: 1px solid #bcc9b8;
  border-radius: 8px;
  overflow: hidden;
}
.plate-figure {
  display: grid;
  grid-template-columns: minmax(0, 2.8fr) minmax(190px, 1fr);
  align-items: center;
}
.plate-stage { position: relative; width: 100%; aspect-ratio: 2; }
.plate-stage .plate-art, .plate-compare-item .plate-art, .plate-gallery .plate-art {
  display: block; width: 100%; height: auto; aspect-ratio: 2; object-fit: contain;
}
.plate-marker {
  position: absolute; transform: translate(-50%,-50%);
  width: 21px; height: 21px; background: transparent;
  border: 2px solid white; border-radius: 50%;
  box-shadow: 0 0 0 2px #294b3a, inset 0 0 0 1px #294b3a;
  pointer-events: none;
}
.plate-marker::after {
  content: attr(data-number); position: absolute; left: 83%; bottom: 78%;
  display: grid; place-content: center; width: 19px; height: 19px;
  border-radius: 50%; border: 1px solid white; background: #254635; color: white;
  font: 700 12px/1 system-ui,sans-serif;
}
.plate-traces { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; fill:none; stroke-linejoin:round; stroke-linecap:round; }
.plate-traces .outline { stroke:#173c3c; stroke-width:3.75px; }
.plate-traces .guide { stroke:#fff1b4; stroke-width:1.75px; }
.plate-stage .plate-marker { width:15px; height:15px; border-width:1.5px; box-shadow:0 0 0 1.5px #25413c; }
.plate-stage .plate-marker::after { left:100%; bottom:95%; }
.plate-stage .plate-marker-low::after { bottom:auto; top:95%; }
.plate-stage .plate-marker-left::after { left:auto; right:95%; }
.plate-caption { display: grid; gap: 8px; padding: clamp(12px,2vw,26px); }
.plate-view { color: #486152; font-size: .85rem; font-weight: 600; }
.plate-instruction { font-size: 1.12rem; }
.plate-choices { display: flex; flex-wrap: wrap; gap: 3px 5px; }
.plate-choice {
  min-height: 44px; display: inline-flex; gap: 8px; align-items: center;
  text-align: start; padding: 4px 8px 4px 3px; background: transparent;
  border: 1px solid transparent; color: #263e32; border-radius: 5px;
  font: inherit; font-weight: 600;
}
.plate-letter {
  display: grid; flex: 0 0 1.55em; width: 1.55em; height: 1.55em; place-content: center;
  border: 1px solid #78907f; border-radius: 50%; font: 700 .79em/1 system-ui,sans-serif;
}
.plate-choices .plate-choice { border-color:#bbc8b9; padding:5px 10px 5px 6px; border-radius:5px; background:#fcfcf6; }
.plate-choices .plate-choice[aria-pressed=true] { border-color:#476b53; background:#dbe6d8; }
.plate-choice:hover, .plate-choice:focus-visible { background: #e7ecdf; }
.plate-choice[aria-pressed=true] { color: #132f21; background: #e0e8d8; border-color: #a8b9a1; }
.plate-choice[aria-pressed=true] .plate-letter { background: #243e34; color: white; border-color: transparent; }
.plate-source { font-size: .85rem; color: #45604f; }
.plate-source summary { width: fit-content; min-height: 44px; padding-block: 11px; cursor: pointer; }
.plate-source p { line-height: 1.55; }
.plate-peers { display: flex; flex-wrap: wrap; align-items: center; gap: 0 15px; border-bottom: 1px solid #d4dbcf; }
.plate-peers strong { font-size: .89rem; }
.plate-peers a, .plate-return, .plate-scene-link {
  display: inline-flex; align-items: center; min-height: 44px; font-size: .94rem; font-weight: 650;
}
.plate-scene-link { margin-top: 3px; }
.plate-compare { padding: clamp(12px,2vw,24px); }
.plate-compare h2 { font-size: clamp(1.16rem,2.4vw,1.6rem); line-height: 1.45; }
.plate-compare-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin: 16px 0 11px; }
.plate-compare-item { min-width: 0; }
.plate-compare-item figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 3px 10px; padding: 2px 0 6px; }
.plate-compare-item figcaption strong { font-size: 1.18rem; }
.plate-compare-item .plate-art { background: #fcfbf6; border: 1px solid #cdd3c3; border-radius: 4px; }
.lib-reader .plate-compare-item p { margin-top: 6px; line-height: 1.55; }
.plate-reveal { display: inline-block; width: fit-content; min-height: 44px; margin: 2px 0 5px; padding: 5px 13px; color: #254a36; border: 1px solid #96aa9a; border-radius: 5px; background: #f8faf4; font: inherit; font-weight: 640; }
.plate-scale { color: #526358; font-size: .83rem; }
.plate-shelf { margin-bottom: 32px; }
.plate-shelf h2 { padding: 9px 0; font-size: 1.4rem; }
.plate-gallery { display: grid; grid-template-columns: repeat(auto-fill,minmax(min(180px,100%),1fr)); gap: 18px 14px; margin: 2px 0 14px; padding: 0; list-style: none; }
.plate-gallery li { min-width: 0; }
.plate-gallery a { display: block; text-decoration: none; color: var(--ink); font-weight: 680; }
.plate-gallery .plate-art { background: #f6f4e9; border-radius: 4px; border: 1px solid #c7d1c4; }
.plate-gallery a:hover strong, .plate-gallery a:focus-visible strong { text-decoration: underline; }
.plate-gallery strong { display: block; padding-top: 5px; }
.landform-choices img.plate-art { object-fit: contain; width: min(90px,30%); height: auto; aspect-ratio: 2; }
.look-picker { margin: 0; }
.lib-tabs { margin-bottom: 11px; }
.lib-reading { gap: 10px; }
@media (min-width:701px) {
  .plate-caption { border-left: 1px solid #d9decd; }
  .plate-choices { flex-direction: column; align-items: stretch; gap:5px; }
}
@media (max-width:760px) {
  .landform-choices img.plate-art { width: 100%; height: auto; }
}
@media (max-width:700px) {
  .plate-figure, .plate-compare-grid { grid-template-columns: 1fr; }
  .plate-stage { border-bottom: 1px solid #d9decd; }
  .plate-caption { gap: 1px; padding: 8px 12px 3px; }
  .plate-instruction { font-size: 1rem; }
  .plate-choices { gap:5px; margin:5px 0 2px; }
  .plate-choices .plate-choice { font-size:.94rem; line-height:1.32; }
  .plate-choice { font-size: .88rem; }
  .plate-compare-grid { gap: 15px; }
  .plate-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 8px; }
  .plate-source summary { padding-block: 10px; }
}
@media print {
  .plate-reveal, .plate-choice, .plate-source, .plate-peers, .plate-scene-link, .plate-return { display: none; }
  .plate-figure, .plate-compare { break-inside: avoid; }
  .plate-compare-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

.field-comparison {
  border: 1px solid #cbd3c3;
  border-radius: 12px;
  background: #fbfcf7;
  color: #263a2d;
}
.field-comparison summary {
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
}
.field-comparison .field-comparison-prompt {
  margin: 0;
  padding: 0 16px 12px;
  line-height: 1.55;
  word-break: keep-all;
}
.field-comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr));
  gap: 16px;
  padding: 0 16px 16px;
}
.field-comparison figure { min-width: 0; margin: 0; }
.field-comparison figcaption { margin-bottom: 6px; font-weight: 700; }
.field-comparison img { display: block; width: 100%; height: auto; }
.field-comparison figure p { margin: 8px 0 4px; line-height: 1.5; }
.field-comparison-enlarge { display: inline-block; padding-block: 6px; }
.field-comparison-credit { display: block; overflow-wrap: anywhere; }

/* Keep the pin in the same coordinate system as the printed and animated art. */
.plate-figure { --plate-paper:#fbf9f1; align-items:stretch; grid-template-columns:minmax(0,2.7fr) minmax(215px,1fr); }
.plate-figure .plate-stage { align-self:center; }
.plate-stage, .plate-stage .plate-art, .plate-compare-item .plate-art,
.plate-gallery .plate-art, .landform-choices img.plate-art { aspect-ratio:12 / 7; }
.plate-stage .plate-marker::after { width:21px; height:21px; font-size:13px; }
.plate-caption { display:flex; flex-direction:column; justify-content:center; align-items:stretch; gap:8px; padding:clamp(14px,2vw,24px); background:#fffef9; color:#243a36; }
.plate-view { font-size:.9rem; line-height:1.45; color:#486158; }
.plate-instruction { line-height:1.3; font-size:1.15rem; }
.plate-choices .plate-choice { line-height:1.45; min-height:44px; font-size:.96rem; }
.plate-choices .plate-choice[aria-pressed=true] { background:#dfebe3; color:#183d33; border-color:#3e695b; }
.plate-source { grid-column:1/-1; border-top:1px solid #cad3c8; background:#f7f8f2; color:#314b43; padding:0 16px; font-size:.94rem; }
.plate-source summary { font-weight:650; }
.plate-evidence { display:grid; gap:10px; margin:0 0 15px; padding-inline-start:20px; line-height:1.5; }
.plate-evidence a { display:block; width:fit-content; color:#244e73; padding-block:4px; }
.plate-expand { align-self:flex-start; cursor:pointer; min-height:44px; padding:6px 12px; border:1px solid #a8b8af; border-radius:4px; background:white; font:inherit; font-weight:650; color:#27483e; }
.plate-dialog { width:min(95vw,1100px); max-width:100vw; max-height:95dvh; box-sizing:border-box; margin:auto; padding:12px; border:1px solid #8c9c92; border-radius:8px; background:#fffef9; color:#213a33; }
.plate-dialog::backdrop { background:rgb(22 37 40 / .68); }
.plate-dialog-bar { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:8px; }
.plate-dialog-bar strong { line-height:1.35; }
.plate-dialog p { margin:8px 0 0; }
.plate-zoom-scroll { overflow:auto; max-height:70dvh; background:#fbf9f1; }
.plate-zoom-scroll .plate-stage { min-width:650px; }
.process-figure .plate-source { margin-top:12px; }
.process-image img { display:block; max-width:none; height:auto; }
@media (max-width:760px) {
  .plate-figure { grid-template-columns:minmax(0,1fr); }
  .plate-caption { border-left:0; border-top:1px solid #cad3c8; }
  .plate-choices { flex-direction:row; }
  .plate-evidence { padding-inline-start:14px; }
}
@media print {
  .plate-expand { display:none; }
  .plate-choices, .plate-choices .plate-choice { display:flex; flex-direction:row; flex-wrap:wrap; }
}
.process-point::after {
  content:attr(data-number); position:absolute; left:100%; bottom:80%; display:grid; place-content:center;
  min-width:19px; height:19px; border-radius:50%; background:#28493d; color:white; font:700 13px/1 system-ui,sans-serif;
}

.plate-zoom-scroll:focus-visible { outline:3px solid #245d70; outline-offset:-3px; }

.plate-pdf { display:inline-flex;align-items:center;min-height:44px;color:#254e73;font-weight:650; }

.film-grid .film-thumb { aspect-ratio:12 / 7; background:#fbf9f1; }
.film-grid .film-thumb img { width:100%; height:100%; object-fit:contain; transform:none; }
.process-compare { margin-top:12px; border-block-start:1px solid #cad3c8; }
.process-compare summary { min-height:44px; padding:9px 0; box-sizing:border-box; cursor:pointer; font-weight:650; }
.process-compare-titles { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; max-width:720px; font-size:.88rem; font-weight:650; line-height:1.4; }
.process-compare-titles label { display:grid; min-width:0; gap:3px; }
.process-compare-titles select { width:100%; min-width:0; min-height:44px; padding:4px 5px; border:1px solid #9eafa6; border-radius:4px; font:inherit; background:#fff; color:#29483b; }
.process-compare-art { position:relative; isolation:isolate; max-width:720px; margin:4px 0; overflow:hidden; background:#fbf9f1; }
.process-figure .process-compare-art img { position:absolute; inset:0; width:100%; height:100%; max-width:none; margin:0; object-fit:contain; }
.process-compare-art img:last-child { clip-path:inset(0 calc(100% - var(--first-width)) 0 0); }
.process-compare-art::after { content:''; position:absolute; inset-block:0; left:var(--first-width); width:2px; transform:translateX(-50%); background:#254e46; box-shadow:0 0 0 1px #fffc; pointer-events:none; }
.process-compare-control { display:flex; gap:12px; align-items:center; max-width:720px; min-height:44px; color:#2d483f; font-size:.93rem; }
.process-compare-control input { flex:1; min-width:60px; height:44px; margin:0 3px; accent-color:#285c50; }
.process-compare-control input:focus-visible { outline:2px solid #245d70; outline-offset:2px; }
