:root{color-scheme:light;--bg:#f7f5ed;--paper:#fffdf6;--ink:#26372f;--green:#223d34;--muted:#5d665d;--line:#d4d2c5;--red:#984c37;--serif:Baskerville,"Iowan Old Style",Georgia,serif;--sans:"Gill Sans","Gill Sans MT",Arial,sans-serif;--mono:"Courier Prime","Courier New",monospace}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:1rem/1.45 var(--sans)}button,input,select{font:inherit;color:inherit}button,select{cursor:pointer}button:disabled{cursor:default;opacity:.35}button,a,select,input,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,[tabindex]:focus-visible{outline:3px solid #c37839;outline-offset:3px}a{color:inherit;text-decoration:none}button{background:none;border:0}.wrap{width:min(1430px,calc(100% - clamp(36px,9vw,148px)));margin-inline:auto}.skip{position:absolute;left:1rem;top:-5rem;background:white;padding:.5rem;z-index:20}.skip:focus{top:1rem}.masthead{background:var(--green);color:#fcf5e4;border-bottom:3px solid #beaa7c}.bar{min-height:76px;display:flex;align-items:stretch;justify-content:space-between;gap:1rem}.brand{display:flex;align-items:center;gap:.75rem;font:2rem/1 var(--serif);letter-spacing:-.045em}.brand-mark{display:grid;place-items:center;width:38px;height:32px;border:1px dashed #d7c295;color:#f2dfb3;transform:rotate(-5deg);font:25px Georgia;line-height:1}.bar nav{display:flex;gap:1.8rem;align-items:stretch}.bar nav a{display:flex;align-items:center;border-bottom:3px solid transparent;padding:.3rem .05rem 0;color:#d2dacf;font-size:1rem}.bar nav a[aria-current=page]{color:#fff7e7;border-color:#d7bd85}.bar nav a:hover{color:white}
.intro{display:flex;justify-content:space-between;gap:2rem;align-items:flex-end;padding:37px 0 28px;border-bottom:1px solid var(--line)}.kicker,.counter,.scan-label,.code,.page-heading,.result-count{font:600 .77rem/1.45 var(--mono);letter-spacing:.09em;text-transform:uppercase}.kicker{display:flex;align-items:center;gap:10px;color:var(--red)}.red-rule{width:26px;height:2px;background:var(--red)}h1,h2,h3,p,figure{margin:0}h1,h2,h3{font-family:var(--serif);font-weight:400}.intro h1,.collection-copy h1{margin:.32rem 0 .45rem;font-size:clamp(2.4rem,4.3vw,4.4rem);line-height:1.09;letter-spacing:-.048em;text-wrap:pretty}.intro h1 em,.result-title em{color:#677263;font-weight:400}.record-meta{display:flex;gap:.45rem 1.15rem;flex-wrap:wrap;color:var(--muted)}.record-meta span,.viewer-tools button,.letter-stepper a,.scan-steps button,.dialog-tools button{display:inline-flex;align-items:center;gap:7px}.icon{display:inline-block;width:17px;height:17px;flex:none;vertical-align:middle}.letter-stepper{display:flex;align-items:center;gap:12px;flex:none;font-size:.92rem;margin-bottom:3px}.letter-stepper span{height:14px;border-left:1px solid var(--line)}.letter-stepper a,.scan-steps button{min-height:36px}.letter-stepper a:hover,.caption-row button:hover:enabled,.notes a:hover{text-decoration:underline}.letter-stepper a:not([href]){color:#858981}.letter-stepper .icon{width:15px}
.reading-desk{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:clamp(24px,3.2vw,52px);margin:20px 0 56px}.scan-column,.reading-desk>section{min-width:0}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:46px;margin-bottom:12px}.panel-head h2{display:flex;gap:9px;align-items:center;font-size:1.7rem;letter-spacing:-.032em}.panel-head h2 .icon{color:var(--red);width:20px;height:20px}.counter{color:var(--muted);letter-spacing:.04em;font-weight:400}.gallery-mat{position:relative;background:#dcd9ca;border:1px solid #c6c5b8;border-radius:3px;overflow:hidden;background-image:radial-gradient(ellipse at 48% 42%,#ede9dc,#d5d1c3)}.scan-stage{height:clamp(365px,48vh,570px);display:flex;align-items:center;justify-content:center;padding:20px 22px 50px;overflow:hidden}.scan-stage img{display:block;object-fit:contain;box-shadow:1px 5px 12px #29271e40;transform:rotate(var(--angle,0deg));max-width:100%;max-height:100%}.viewer-tools{position:absolute;bottom:10px;right:10px;display:flex;border:1px solid #c7c5b7;background:#f9f7eef2;border-radius:4px;box-shadow:0 1px 4px #30302014}.viewer-tools button,.dialog-tools button{min-height:35px;padding:3px 11px;font-size:.87rem}.viewer-tools button+button{border-left:1px solid var(--line)}.viewer-tools button:hover,.scan-steps button:hover:enabled,.dialog-tools button:hover:enabled{background:#e6e6d9}.caption-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 0 8px}.caption-row strong{font-weight:500;font-size:1.02rem}.caption-row strong:first-letter{text-transform:uppercase}.caption-row strong{display:inline-block}.caption-row #scan-code{margin-left:9px;font:.78rem var(--mono);color:var(--muted)}.scan-steps{display:flex;gap:5px}.scan-steps button{justify-content:center;width:34px;height:34px;min-height:34px;border:1px solid var(--line);border-radius:3px}.assessment{font-size:.94rem;margin-bottom:8px;color:var(--muted)}.assessment:empty{display:none}.thumbs{display:flex;gap:9px;overflow-x:auto;padding:4px 2px 7px}.thumbs button{width:58px;height:64px;flex:0 0 58px;background:#e5e2d7;border:1px solid #c7c7bb;border-radius:2px;padding:4px}.thumbs img{width:100%;height:100%;object-fit:contain}.thumbs button[aria-pressed=true]{outline:2px solid var(--green);outline-offset:1px}
.edition-switch{display:flex;align-items:center;padding:3px;border:1px solid var(--line);border-radius:5px;background:#eae9df}.edition-switch button{font-size:.88rem;line-height:1.1;padding:7px 12px;border-radius:3px;color:var(--muted)}.edition-switch button[aria-pressed=true]{background:var(--green);color:#fffdf3}.paper{position:relative;max-height:clamp(475px,62vh,750px);overflow:auto;background:var(--paper);border:1px solid var(--line);border-top:3px solid #9d7655;border-radius:2px;padding:clamp(20px,2.5vw,42px) clamp(22px,3.2vw,48px);scrollbar-color:#bdbbac transparent;box-shadow:0 2px 3px #44362208;font:1.22rem/1.57 var(--serif);color:#31392f}.paper p{margin:0 0 .86em;white-space:pre-wrap;overflow-wrap:anywhere}.paper p:last-child{margin-bottom:0}.paper .page-heading{font-size:.75rem;color:var(--red);margin:1.6rem 0 1rem;letter-spacing:.12em}.paper .page-heading:first-child{margin-top:0}.paper mark{color:#76452c;background:#f1e5cd;border-radius:2px}.notes{margin-top:14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;padding:12px 2px;font-size:1rem;list-style:none}summary::-webkit-details-marker{display:none}summary span{font-size:1.2rem}details[open] summary span{transform:rotate(45deg)}.notes h3{font-size:1.25rem;margin:.8rem 0 .25rem}.notes p,.notes li{font-size:1rem;margin:.25rem 0 .75rem}.notes ul{padding-left:1.15rem}.notes a,.notes button,.empty a{color:var(--red);text-decoration:underline;text-underline-offset:2px}.notes button{padding:0}
.collection-intro{position:relative;display:flex;align-items:center;justify-content:space-between;isolation:isolate;overflow:hidden;border-bottom:1px solid var(--line);min-height:205px;gap:1rem}.collection-copy{padding:30px 0}.collection-copy p{color:var(--muted)}.collection-art{display:flex;align-self:stretch;width:min(34%,375px);position:relative;overflow:hidden}.collection-art img{position:absolute;width:48%;height:210px;object-fit:cover;object-position:top;top:48px;left:2%;transform:rotate(-12deg);border:5px solid #ece7d7;box-shadow:0 1px 12px #30291c38}.collection-art img+img{left:39%;top:34px;transform:rotate(10deg)}.searchbar{display:flex;align-items:end;gap:14px;margin:26px 0 16px}.search{position:relative;flex:1}.search span{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--muted)}input,select{background:#fffdf5;border:1px solid #c4c5b9;border-radius:4px;min-height:43px}.search input{padding:9px 12px 9px 39px;width:100%}.filter{display:flex;flex-direction:column;gap:3px}.filter span{font-size:.82rem;color:var(--muted)}select{padding:5px 26px 5px 10px}.result-count{padding:7px 0 12px;color:var(--muted)}.results{display:grid;grid-template-columns:1fr 1fr;gap:0 28px;margin-bottom:44px}.result{border-top:1px solid var(--line);display:grid;grid-template-columns:65px minmax(0,1fr);gap:16px;padding:18px 6px 18px 0;align-items:center}.result:hover{background:#eeede1}.result img{width:65px;height:78px;object-fit:cover;border:1px solid #c4c3b6}.code{font-weight:400;color:var(--red);font-size:.75rem}.result-title{font:1.38rem/1.15 var(--serif);margin:3px 0;letter-spacing:-.025em}.result-date{font-size:.93rem;color:var(--muted)}.empty{padding:2rem 0}.empty button{text-decoration:underline}.error{padding:3rem 0}
dialog{color:var(--ink);background:var(--bg);border:1px solid #9c9f91;border-radius:4px;padding:0;width:min(1150px,95vw);max-width:95vw;max-height:94vh}dialog::backdrop{background:#17251fe8}.dialog-head{display:flex;align-items:center;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:10px 14px}.dialog-head h2{font-size:1.3rem}.dialog-tools{display:flex;align-items:center;gap:4px}.dialog-tools button{border:1px solid var(--line);border-radius:3px}.image-scroll{height:72vh;overflow:auto;background:#dcd9cb}.zoom-canvas{position:relative;min-width:100%;min-height:100%}.zoom-canvas img{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(var(--angle));max-width:none}.dialog-assessment{padding:8px 14px;color:var(--muted);font-size:.95rem}.dialog-assessment:empty{display:none}
@media(max-width:850px){.wrap{width:calc(100% - 42px)}.reading-desk{gap:18px}.intro{gap:16px}.letter-stepper{font-size:.82rem;gap:6px}.paper{padding:22px}.panel-head h2{font-size:1.48rem}.edition-switch button{padding:7px 8px}}
@media(max-width:680px){.bar{min-height:62px}.brand{font-size:1.57rem;gap:.45rem}.brand-mark{width:28px;height:25px;font-size:19px}.bar nav{gap:.8rem}.bar nav a{font-size:.86rem}.wrap{width:calc(100% - 30px)}.intro{padding:24px 0 12px;align-items:start;flex-direction:column;gap:8px}.intro h1{font-size:2.6rem}.record-meta{font-size:.94rem}.letter-stepper{align-self:flex-end}.reading-desk{grid-template-columns:1fr;margin-top:8px;gap:20px}.scan-stage{height:clamp(270px,42vh,455px);padding:12px 12px 46px}.thumbs button{width:44px;flex-basis:44px;height:49px}.panel-head{margin-bottom:6px}.paper{max-height:none;font-size:1.17rem}.collection-intro{min-height:155px}.collection-art img{height:145px}.searchbar{flex-wrap:wrap;gap:8px}.search{flex:1 0 100%}.filter{flex:1}.results{grid-template-columns:1fr}.dialog-tools button{padding:4px 7px}.image-scroll{height:65vh}}
@media(max-width:380px){.bar nav{gap:.45rem}.brand-mark{display:none}.bar nav a{font-size:.8rem}}
.scan-stage img{max-width:none;max-height:none;flex:none}.scan-stage img[hidden]{display:none}.dialog-tools span{min-width:3.2em;text-align:center;font-variant-numeric:tabular-nums}
.stage-viewport{width:100%;height:100%;overflow:auto;scrollbar-width:thin}.stage-viewport .zoom-canvas img{transform:translate(-50%,-50%) rotate(var(--angle,0deg))}.scan-stage{position:relative}.scan-stage .load-error{position:absolute;inset:auto 1rem}.viewer-tools #desk-out,.viewer-tools #desk-in{justify-content:center;min-width:34px;font:1.12rem/1 var(--sans)}

/* Journey overview and source register */
.journey { padding-bottom: 60px; }
.journey .collection-copy { max-width: 64%; }
.journey .collection-copy p { max-width: 38em; }
.journey-tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); }
.journey-tabs a { padding: 16px 1px 12px; border-bottom: 3px solid transparent; color: var(--muted); }
.journey-tabs a[aria-current] { border-color: var(--green); color: var(--green); font-weight: 600; }
#journey-heading { margin: 26px 0 4px; font-size: 1.85rem; letter-spacing: -.03em; }
#journey-intro { color: var(--muted); max-width: 70ch; }
.journey-search { max-width: 42rem; margin-top: 16px; }
.journey-search .search { min-width: 0; }
.journey-search .result-count { padding-bottom: 0; }
.journey-list { list-style: none; margin: 22px 0 0; padding: 0; max-width: 1140px; }
.journey-row { display: grid; grid-template-columns: minmax(145px, .37fr) minmax(0,1fr); border-top: 1px solid var(--line); }
.journey-date { padding: 24px 22px 24px 0; font: 1.24rem/1.36 var(--serif); color: var(--green); }
.journey-date a { display: block; color: var(--red); font: .77rem/1.6 var(--mono); width: fit-content; margin-top: 4px; }
.journey-entry { position: relative; border-left: 1px solid #c7c8b8; padding: 22px 0 23px 30px; min-width: 0; }
.journey-entry::before { content: ""; position: absolute; top: 30px; left: -5px; width: 7px; height: 7px; border: 1px solid var(--red); background: var(--bg); border-radius: 50%; }
.journey-description { font: clamp(1.15rem,1.6vw,1.46rem)/1.4 var(--serif); max-width: 66ch; }
.journey-citations { line-height: 1.65; margin-top: 10px; overflow-wrap: anywhere; }
.journey-citations strong { font-weight: 500; color: var(--muted); margin-right: 3px; }
.journey-citations a,.journey-facts a,.journey-date a:hover { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.journey-facts { display: grid; grid-template-columns: auto 1fr; gap: 3px 14px; margin: 12px 0; font-size: .96rem; }
.journey-facts dt { color: var(--muted); }
.journey-facts dd { margin: 0; }
.journey-photos { margin-top: 8px; }
.journey-photos summary { color: var(--green); cursor: pointer; font-weight: 500; width: fit-content; }
.journey-source { margin-top: 14px; padding: 12px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 3px; }
.journey-source h3 { font-size: 1.17rem; }
.source-date,.source-assessment { font-size: .9rem; color: var(--muted); }
.source-scans { list-style: none; margin: 9px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,200px),1fr)); gap: 10px; }
.source-scans a { display: flex; gap: 9px; align-items: center; overflow-wrap: anywhere; line-height: 1.25; }
.source-scans a:hover strong { text-decoration: underline; }
.source-scans img { flex: none; width: 38px; height: 48px; object-fit: contain; background: #e7e4d9; }
.source-scans strong,.source-scans small { display: block; font-size: .82rem; color: var(--red); }
.source-assessment { margin-top: 5px; }
@media(max-width:680px) {
  .bar { flex-wrap: wrap; align-items: center; gap: 0 16px; padding-top: 10px; }
  .bar nav { gap: 1rem; min-height: 39px; }
  .journey .collection-copy { max-width: 70%; }
  .journey .collection-art { width: 27%; }
  .journey-tabs { gap: 17px; }
  .journey-row { display: block; position: relative; padding: 15px 0 15px 16px; border-left: 1px solid var(--line); }
  .journey-date { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding: 0; font-size: 1.05rem; color: var(--red); }
  .journey-date a { margin: 0; }
  .journey-entry { padding: 6px 0 0; border: 0; }
  .journey-entry::before { display: none; }
  .journey-row::before { content: ""; position: absolute; top: 21px; left: -4px; width: 6px; height: 6px; background: var(--red); border-radius: 50%; }
  .journey-facts { gap: 3px 9px; }
}
.visually-hidden { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
#journey-intro:not(:empty) { margin-top: 22px; }
.journey-citations button { padding:0; color:var(--red); text-decoration:underline; text-underline-offset:3px; }
.journey-photos summary::after { content:" +"; color:var(--muted); }
.journey-photos[open] summary::after { content:" −"; }
.journey-source h3 a:hover { text-decoration:underline; }

/* Geographic atlas */
.atlas {padding-bottom:48px;}
.atlas-heading {padding:32px 0 22px;border-bottom:1px solid var(--line);}
.atlas-heading h1 {margin:.35rem 0;font:normal clamp(2.6rem,4.3vw,4.3rem)/1.05 var(--serif);letter-spacing:-.05em;}
.atlas-heading>p,.atlas-index>p {color:var(--muted);}
.atlas-layout {display:grid;grid-template-columns:minmax(0,1.85fr) minmax(260px,.85fr);align-items:start;gap:clamp(20px,3vw,42px);margin-top:24px;}
.atlas-bar {display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;}
#atlas-regions {display:flex;border:1px solid #b6bdad;border-radius:4px;overflow:hidden;}
#atlas-regions a {padding:7px 12px;font-size:.91rem;}
#atlas-regions a[aria-current] {background:var(--green);color:var(--paper);}
.atlas-north {font:600 .85rem var(--mono);letter-spacing:.12em;}
.atlas-surface {background:#d4e3df;border:1px solid #a6b3a8;border-radius:3px;overflow:hidden;position:relative;}
.atlas-surface svg {display:block;width:100%;height:auto;}
.atlas-pin {cursor:pointer;}
.atlas-pin .symbol {stroke:var(--paper);stroke-width:1.7px;fill:#285746;}
.atlas-pin.mail .symbol {fill:#93492e;}
.atlas-pin.mention .symbol {fill:#fffaf1;stroke:#596775;stroke-width:2px;}
.atlas-pin.possible .symbol {fill:#fff8e5;stroke:#80602d;stroke-width:2px;}
.atlas-pin text {font:600 14px var(--sans);fill:#233e32;paint-order:stroke;stroke:#f3efde;stroke-linejoin:round;stroke-width:4;}
.atlas-pin:hover text,.atlas-pin:focus text,.atlas-pin.active text {text-decoration:underline;}
.atlas-pin .pin-halo {fill:#fdf7df;stroke:#35493f;stroke-width:1.5;}
.atlas-legend {display:flex;flex-wrap:wrap;gap:5px;margin:12px 0 7px;}
.atlas-legend a {display:inline-flex;align-items:center;gap:6px;font-size:.92rem;padding:4px 8px;border:1px solid transparent;border-radius:3px;}
.atlas-legend a[aria-current] {background:#edeedf;border-color:#9eaa98;}
.atlas-legend a:hover {text-decoration:underline;}
.atlas-legend span {font:1.1rem/1 var(--sans);}
.atlas-legend .present {color:#285746;}.atlas-legend .mail {color:#93492e;}.atlas-legend .possible {color:#80602d;}.atlas-legend .mention {color:#596775;}
.atlas-caption,.atlas-scope,.atlas-credit,.atlas-fold small {font-size:.92rem;color:var(--muted);}
.atlas-list {margin-top:10px;}
.atlas-list summary,.atlas-fold summary {cursor:pointer;color:var(--green);}
.atlas-list summary::after,.atlas-fold summary::after {content:" +";color:var(--muted);}
.atlas-list[open] summary::after,.atlas-fold[open] summary::after {content:" −";}
#atlas-visible,.atlas-unplaced {display:flex;flex-wrap:wrap;gap:7px 15px;margin:8px 0;}
.atlas-detail {border:1px solid var(--line);border-top:3px solid #947050;border-radius:3px;background:var(--paper);padding:clamp(16px,2vw,28px);min-width:0;overflow-wrap:anywhere;}
.atlas-detail h2,.atlas-index h2 {font:normal 2rem/1.15 var(--serif);letter-spacing:-.035em;}
.atlas-detail h2 {margin:5px 0;}
.atlas-detail>p {margin:7px 0 12px;}
.atlas-role {color:var(--red);font-size:.94rem;}
.atlas-finding {font:1.14rem/1.45 var(--serif);}
.atlas-fold {border-top:1px solid var(--line);padding:7px 0;}
.atlas-fold summary {font-weight:500;}
.atlas-fold p {margin:.35em 0 .6em;}
.atlas-fold ul:not(.source-scans) {margin:6px 0;padding-left:1.15em;}
.atlas-fold[open] {max-height:420px;overflow:auto;}
.atlas-fold[open] summary {position:sticky;top:-7px;background:var(--paper);padding:3px 0;}
.atlas-fold .journey-source {padding:7px;margin-top:8px;}
.atlas-detail a,.atlas-list a,.atlas-credit a {text-decoration:underline;text-underline-offset:2px;color:var(--red);}
.atlas-index {margin:30px 0 18px;padding-top:22px;border-top:1px solid var(--line);}
.atlas-filters {display:flex;gap:15px;align-items:end;max-width:750px;margin:15px 0 4px;}
.atlas-matches {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 20px;}
.atlas-matches a {display:block;border-top:1px solid var(--line);padding:8px 0;font:1.12rem/1.2 var(--serif);}
.atlas-matches a:hover {text-decoration:underline;}
.atlas-matches small {display:block;font:.81rem/1.35 var(--sans);color:var(--muted);}
#place-results>button {padding:6px 0;text-decoration:underline;color:var(--red);}
@media(max-width:960px){.atlas-layout{grid-template-columns:minmax(0,1.5fr) minmax(245px,.9fr);gap:16px;}}
@media(max-width:730px){.atlas-layout{grid-template-columns:1fr;gap:18px;}.atlas-heading{padding:22px 0 15px;}.atlas-matches{grid-template-columns:1fr 1fr;}.atlas-filters{flex-wrap:wrap;}.atlas-filters .search{flex:1 0 100%;}.atlas-legend a{padding:4px 6px;}.atlas-surface svg{min-width:0;}.atlas-surface{overflow-x:auto;}.atlas-surface:focus-within{outline:2px solid var(--green);}.atlas-layout{margin-top:16px;}}
.atlas-layout>section {min-width:0;}
.atlas-surface {aspect-ratio:820/480;overflow:auto;}
.atlas-surface svg {max-width:none;}
.atlas-tools {display:flex;gap:4px;align-items:center;}
.atlas-tools button {border:1px solid var(--line);border-radius:3px;min-width:30px;min-height:30px;font-size:1.1rem;}
#map-scale {font:.78rem var(--mono);min-width:3.5em;text-align:center;}
.atlas-north {margin-left:8px;}
@media(max-width:730px){.atlas-layout{grid-template-columns:minmax(0,1fr);}.atlas-surface{width:100%;}.atlas-bar{flex-wrap:wrap;gap:4px;}}
.atlas-pin.nearby .symbol {fill:#f6fbf8;stroke:#436e78;stroke-width:2px;}
.atlas-legend .nearby {color:#436e78;}

/* People and correspondence */
.people-view {padding-bottom:3rem;}
.person-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 24px;}
.person-card {display:block;padding:15px 4px 18px 0;border-top:1px solid var(--line);min-width:0;}
.person-card:hover {background:#eeede1;}
.person-card h2,.person-source h3,.appearance>a,.appearance h3 {font:1.42rem/1.18 var(--serif);letter-spacing:-.025em;}
.person-card h2 {margin:4px 0;}
.person-card p,.profile-heading>p {color:var(--muted);}
.name-flag {display:inline-block;margin-top:5px;font:.82rem/1.3 var(--sans);color:#805236;}
.name-flag::before {content:"◇ ";font-size:.96rem;}
.person-back,.person-fold a,.letter-people a,.literal-list a {color:var(--red);text-decoration:underline;text-underline-offset:3px;}
.person-back {display:inline-block;margin-top:19px;}
.profile-heading {padding:22px 0;border-bottom:1px solid var(--line);}
.profile-heading h1 {margin:5px 0;font:clamp(2.5rem,4.3vw,4.3rem)/1.08 var(--serif);letter-spacing:-.05em;}
.profile-layout {display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:clamp(20px,4vw,58px);margin-top:23px;}
.profile-layout h2 {font:1.85rem/1.25 var(--serif);margin-bottom:10px;}
.person-source {background:var(--paper);border:1px solid var(--line);border-top:3px solid #96795a;border-radius:3px;padding:18px 22px;margin-bottom:14px;overflow-wrap:anywhere;}
.person-source h3 {margin:5px 0 12px;}
.person-source dl {margin:0;}
.person-source dt {font-size:.85rem;color:var(--muted);margin:12px 0 2px;}
.person-source dd {margin:0;}
.person-source dd a {color:var(--red);text-decoration:underline;}
.person-fold {margin-top:8px;}
.person-fold summary {cursor:pointer;color:var(--green);font-weight:500;}
.person-fold summary::after {content:" +";color:var(--muted);}
.person-fold[open]>summary::after {content:" −";}
.person-fold p {margin:.45em 0;}
.appearance {border-top:1px solid var(--line);padding:12px 2px;overflow-wrap:anywhere;}
.appearance>a {display:inline-block;margin:4px 0;color:var(--green);}
.appearance>a:hover {text-decoration:underline;}
.person-role {color:var(--muted);font-size:.93rem;}
.person-caution {margin:5px 0;color:#785338;font-size:.94rem;}
.person-caution a {text-decoration:underline;color:var(--red);}
.letter-people small {display:block;color:var(--muted);font-size:.94rem;}
.literal-list {margin-top:18px;}
.people-view .search input {padding-left:12px;}
.family-links,.bio-citations {display:flex;flex-wrap:wrap;align-items:baseline;gap:.35rem .9rem;}
.family-links {margin:.8rem 0 .4rem;}
.family-links a,.bio-citations a {color:var(--green);text-decoration:underline;text-underline-offset:3px;}
.family-links a:hover,.bio-citations a:hover {color:var(--red);}
.person-biography,.person-service {margin-bottom:1.5rem;}
.person-biography {border-top:3px solid var(--green);padding-top:1rem;}
.person-service {border:1px solid var(--line);background:var(--paper);padding:clamp(14px,2vw,23px);}
.person-service h3 {font:1.3rem/1.4 var(--serif);margin:.3rem 0 .8rem;}
.service-number {white-space:nowrap;font-variant-numeric:tabular-nums;}
.cited-passage+.cited-passage {margin-top:1rem;}
.cited-passage>p {font:1.1rem/1.55 var(--serif);margin:0;}
.bio-citations {margin-top:.45rem;gap:.2rem .8rem;font-size:.9rem;line-height:1.5;}
.citation-label {color:var(--muted);}
.service-summary {display:block;font-size:.9rem;line-height:1.4;color:var(--green);margin-top:.4rem;}
.service-summary.probable,.service-summary.open {color:#794d28;}
.person-card .person-excerpt {display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.person-fold>.person-source {margin-top:1rem;}
@media(max-width:850px){.person-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:680px){.profile-layout{grid-template-columns:1fr;}.bar nav{flex-wrap:wrap;column-gap:.8rem;}.person-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 12px;}.person-card h2{font-size:1.18rem;}.person-source{padding:14px;}}
.person-picker {max-width:min(270px,100%);min-width:0;}
.person-picker select {width:100%;min-width:0;text-overflow:ellipsis;}
@media(max-width:680px){.people-view .searchbar{align-items:stretch;}.person-picker{max-width:52%;}}

/* Artifact inventory and recovered views */
.artifact-page {padding-bottom:3rem;}
.artifact-heading {padding:30px 0 20px;border-bottom:1px solid var(--line);}
.artifact-heading h1 {font:clamp(2.75rem,4.4vw,4.4rem)/1.1 var(--serif);letter-spacing:-.05em;margin:0 0 5px;}
.artifact-heading p,.artifact-card>p {color:var(--muted);}
.artifact-page .search input {padding-left:12px;}
.artifact-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px 22px;}
.artifact-card {display:block;min-width:0;overflow-wrap:anywhere;}
.artifact-card h2 {font:1.42rem/1.2 var(--serif);letter-spacing:-.025em;margin:4px 0;}
.artifact-card:hover h2 {text-decoration:underline;text-underline-offset:3px;}
.artifact-preview,.object-quote {width:100%;height:clamp(150px,16vw,240px);margin-bottom:9px;border:1px solid #c6c6b7;border-radius:3px;}
.artifact-preview,.artifact-stage {display:grid;place-items:center;background:radial-gradient(ellipse at 52% 44%,#edeadd,#d5d2c4);overflow:hidden;container-type:size;}
.artifact-preview img {width:calc(100cqw - 24px);height:calc(100cqh - 24px);object-fit:contain;}
.artifact-preview .upright-print {width:calc(100cqh - 24px);height:calc(100cqw - 24px);transform:rotate(-90deg);}
.object-quote {background:var(--paper);padding:clamp(12px,1.6vw,24px);display:flex;flex-direction:column;justify-content:center;}
.object-quote p {margin-top:6px;font:1.18rem/1.3 var(--serif);}
.artifact-more {margin:20px 0;}
.artifact-more>button,.artifact-tools button,.artifact-tools a {border:1px solid var(--line);border-radius:3px;background:var(--paper);padding:5px 10px;}
.artifact-layout {display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:clamp(20px,3vw,45px);margin-top:22px;}
.artifact-layout section {min-width:0;overflow-wrap:anywhere;}
.artifact-stage {height:clamp(310px,50vh,600px);border:1px solid #bdc0b1;border-radius:3px;}
.artifact-stage img {width:calc(100cqw - 24px);height:calc(100cqh - 24px);object-fit:contain;transform:rotate(var(--turn));}
.artifact-stage img.quarter {width:calc(100cqh - 24px);height:calc(100cqw - 24px);}
.artifact-figure figcaption {display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:9px;flex-wrap:wrap;}
.scan-text small,.artifact-source-line small {display:block;color:var(--muted);font-size:.88rem;}
.artifact-tools {display:flex;gap:5px;}
.artifact-views {display:flex;flex-wrap:wrap;gap:6px;margin:11px 0;}
.artifact-views a {display:flex;align-items:center;gap:5px;border:1px solid var(--line);border-radius:3px;padding:3px 7px;font-size:.87rem;}
.artifact-views a[aria-current]{border:2px solid var(--green);}
.artifact-views img {width:28px;height:32px;object-fit:contain;}
.artifact-assessment {margin-top:9px;color:#794e30;}
.artifact-info {background:var(--paper);border:1px solid var(--line);border-top:3px solid #917153;border-radius:3px;padding:16px 20px;align-self:start;}
.artifact-layout h2 {font:1.8rem/1.15 var(--serif);margin:2px 0 10px;letter-spacing:-.03em;}
.artifact-info>h3 {font:600 .84rem/1.4 var(--sans);color:var(--muted);margin:12px 0 3px;}
.artifact-info a,.artifact-support a,.artifact-fold a {color:var(--red);text-decoration:underline;text-underline-offset:2px;}
.artifact-source-line {padding:4px 0;}
.artifact-fold {padding:7px 0;border-top:1px solid var(--line);margin-top:10px;}
.artifact-fold summary {color:var(--green);font-weight:500;cursor:pointer;}
.artifact-fold summary::after {content:" +";color:var(--muted);}
.artifact-fold[open]>summary::after {content:" −";}
.artifact-fold ul {padding-left:1.2rem;}
.artifact-fold li {margin:5px 0;}
.artifact-missing {padding:22px;border:1px solid var(--line);background:var(--paper);}
.artifact-missing h2 {margin:8px 0;}
.artifact-support {margin-top:20px;}
.artifact-transcription {padding:16px;background:var(--paper);border:1px solid var(--line);font:1.08rem/1.55 var(--serif);white-space:pre-wrap;}
@media(max-width:850px){.artifact-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.artifact-layout{gap:16px;}}
@media(max-width:680px){.artifact-layout{grid-template-columns:1fr;}.artifact-grid{gap:18px 11px;}.artifact-preview,.object-quote{height:155px;}.object-quote p{font-size:.96rem;}.artifact-card h2{font-size:1.17rem;}.artifact-card>p{font-size:.92rem;}.artifact-layout .artifact-info{padding:14px;}.bar nav{gap:0 .7rem;}}
@media(max-width:390px){.object-quote{height:auto;min-height:155px;}.bar nav a{font-size:.82rem;}}
.artifact-preview,.artifact-stage {position:relative;}
.artifact-preview img,.artifact-stage img {position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) rotate(var(--turn,0deg));}
.artifact-preview .upright-print {--turn:-90deg;transform:translate(-50%,-50%) rotate(var(--turn));}

/* The family correspondence and the wider war share one reading sequence. */
.story-hero { background:linear-gradient(108deg,#eae5d6,#f3eedf 48%,#dcd7c4); overflow:hidden; border-bottom:1px solid #c8c4b2; }
.story-hero-inner { display:grid; grid-template-columns:1.1fr .9fr; gap:6%; min-height:330px; align-items:stretch; }
.story-hero-copy { align-self:center; padding:36px 0 40px; }
.story-eyebrow,.story-type,.story-map-date,.story-region,.story-photo-credit { font:600 .74rem/1.45 var(--mono); letter-spacing:.07em; }
.story-eyebrow,.story-type { color:var(--red); text-transform:uppercase; }
.story-hero h1 { font-size:clamp(3.1rem,6.1vw,6.4rem); letter-spacing:-.064em; line-height:.99; margin:12px 0 16px; }
.story-hero h1 em { display:inline-block; margin-left:0; color:#54644e; font-weight:400; }
.story-deck { font:1.12rem/1.5 var(--sans); max-width:52ch; }
.story-start { display:inline-block; padding:10px 18px; margin-top:19px; background:var(--green); color:var(--paper); border-radius:3px; }
.story-start:hover { background:#345545; }
.story-originals { position:relative; isolation:isolate; min-width:0; }
.story-image { position:absolute; display:block; box-shadow:0 6px 22px #33281044; background:#ded5b9; }
.story-image img { display:block; width:100%; height:100%; object-fit:cover; object-position:center 30%; }
.story-image.sheet { width:53%; height:115%; left:37%; top:11%; transform:rotate(9deg); }
.story-image.envelope { height:49%; width:62%; left:2%; top:35%; transform:rotate(-11deg); z-index:1; }
.story-image:focus-visible { z-index:3; }
.story-photo-credit { position:absolute; z-index:2; bottom:14px; right:0; padding:4px 8px; background:#fff9e9ed; color:#565340; font-size:.64rem; }
.story-tools { display:flex; justify-content:space-between; align-items:center; padding:16px 0; border-bottom:1px solid var(--line); gap:12px; }
.story-tools label { display:flex; gap:12px; align-items:center; font-size:.92rem; }
.story-tools select { max-width:100%; min-height:36px; }
.story-count { color:var(--muted); font-size:.9rem; }
.story-layout { display:grid; grid-template-columns:minmax(0,.87fr) minmax(0,1.13fr); align-items:start; gap:clamp(32px,5vw,85px); padding:30px 0 10vh; }
.story-map-panel { position:sticky; top:16px; border:1px solid #bcc0ae; border-radius:4px; background:var(--paper); overflow:hidden; }
.story-map-head { display:flex; justify-content:space-between; align-items:center; padding:9px 15px; background:var(--green); color:white; }
.story-map-head .story-eyebrow { color:#f4e6c4; }
.story-map-head button { color:#eff2e8; padding:3px 0 3px 12px; font-size:.82rem; text-decoration:underline; text-underline-offset:3px; }
.story-map-surface { position:relative; aspect-ratio:820/480; background:#cbdad4; }
.story-map-surface img { width:100%; height:100%; display:block; }
.story-region { position:absolute; left:8px; top:8px; padding:3px 7px; color:#35473c; background:#fffcecdb; font-size:.63rem; }
.story-marker { position:absolute; width:16px; height:16px; transform:translate(-50%,-50%); }
.story-dot { position:absolute; inset:2px; border-radius:50%; background:#284b3a; border:2px solid #fffbed; box-shadow:0 0 0 1px #284b3a; }
.story-marker.mail .story-dot { border-radius:1px; background:#9a592b; box-shadow:0 0 0 1px #814824; }
.story-marker.possible .story-dot { transform:rotate(45deg); border-radius:0; border:2px dashed #955c23; background:#fcf1ce; box-shadow:none; }
.story-marker.earlier .story-dot { background:#ececdf; border-color:#64726d; box-shadow:none; }
.map-place { position:absolute; left:100%; top:50%; transform:translateY(-50%); background:#fffdf0f2; color:#28372c; font:600 .72rem/1.15 var(--sans); padding:4px 6px; width:max-content; max-width:110px; box-shadow:0 1px 3px #29351c25; }
.west-label .map-place { left:auto; right:100%; }
.story-map-caption { padding:15px 18px 17px; }
.story-map-date { color:var(--muted); letter-spacing:.015em; }
.story-map-caption h3 { font-size:clamp(1.5rem,2.4vw,2.2rem); line-height:1.12; margin:2px 0 5px; }
.story-map-caption strong { display:block; font-size:.86rem; color:var(--red); }
.story-map-caption p { font-size:.96rem; margin:4px 0; }
.story-map-caption a,.story-card>a,.story-end a { color:var(--red); text-decoration:underline; text-underline-offset:3px; font-size:.9rem; }
.story-progress { height:3px; background:#dedecf; }
.story-progress i { display:block; height:100%; background:#8c5e3e; }
.story-map-panel.compact .story-map-surface { display:none; }
.story-chapter { margin:0 0 52px; }
.story-chapter h2 { font-size:clamp(2.2rem,3.4vw,3.7rem); letter-spacing:-.048em; line-height:1.06; margin:6px 0 9px; }
.story-chapter-intro { color:var(--muted); max-width:60ch; margin-bottom:22px; }
.story-card { position:relative; margin:0 0 12px 11px; padding:16px clamp(14px,2vw,32px) 18px; background:var(--paper); border:1px solid var(--line); border-radius:3px; }
.story-card::before { content:""; position:absolute; top:-14px; bottom:-2px; left:-12px; width:1px; background:#c5c6b6; }
.story-card::after { content:""; position:absolute; width:7px; height:7px; border:1px solid #a58a68; left:-16px; top:24px; border-radius:50%; background:var(--bg); }
.story-card.in-view::after { background:var(--red); }
.story-card.in-view { border-color:#aa9b82; }
.story-card-meta { display:flex; flex-wrap:wrap; justify-content:space-between; column-gap:12px; align-items:baseline; color:var(--muted); font-size:.85rem; }
.story-card h3 { font-size:clamp(1.55rem,2.3vw,2.3rem); letter-spacing:-.035em; line-height:1.14; margin:7px 0 9px; }
.story-card h3 em { color:#70776a; }
.story-card blockquote { font:1.15rem/1.5 var(--serif); margin:0 0 12px; overflow-wrap:anywhere; white-space:pre-line; }
.story-card p { margin:0 0 10px; }
.story-card mark { background:#f0e3c9; color:#76452c; }
.story-war { background:#e7ece5; }
.story-war .story-type { color:#3e6255; }
.story-service { background:#eeebdf; }
.story-transcription summary { display:inline-flex; font-size:.92rem; padding:4px 0; color:var(--green); font-weight:600; }
.story-transcription summary::before { content:"＋"; margin-right:5px; }
.story-transcription[open] summary::before { content:"−"; }
.story-transcription:not([open]) { display:inline-block; margin-right:17px; }
.story-body { margin:12px 0 14px; padding-top:12px; border-top:1px solid var(--line); }
.story-body p { white-space:pre-wrap; overflow-wrap:anywhere; font:1.18rem/1.52 var(--serif); margin:0 0 .8em; }
.story-body .page-heading { color:var(--red); margin:1em 0 .5em; }
.story-loose { margin:25px 0 12px; padding:8px 0; }
.story-loose h3 { font-size:1.5rem; }
.story-loose p { color:var(--muted); font-size:.94rem; }
.story-end { display:flex; justify-content:space-between; gap:14px; border-top:1px solid var(--line); padding-top:17px; }
@media(max-width:1050px){ .bar nav { column-gap:1rem; } }
@media(max-width:850px){ .bar { flex-wrap:wrap; gap:0 14px; align-items:center; padding-top:9px; } .bar nav { min-height:38px; flex-wrap:wrap; } .story-layout { gap:24px; } .story-hero-inner { gap:3%; } }
@media(max-width:730px){
  .story-hero-inner { grid-template-columns:minmax(0,1fr) 26%; gap:3%; min-height:235px; }
  .story-hero-copy { padding:24px 0; }
  .story-hero h1 { margin:9px 0 13px; font-size:clamp(2.65rem,7vw,3.6rem); }
  .story-hero h1 em { margin-left:0; display:block; }
  .story-deck { font-size:1rem; line-height:1.4; }
  .story-start { margin-top:13px; padding:8px 12px; }
  .story-image.sheet { width:155%; left:2%; top:12%; height:75%; }
  .story-image.envelope { width:145%; left:-18%; top:51%; height:31%; }
  .story-photo-credit { display:none; }
  .story-tools { flex-wrap:wrap; padding:12px 0; }
  .story-tools label { flex:1; min-width:0; flex-wrap:wrap; gap:4px 10px; }
  .story-tools select { width:100%; }
  .story-count { display:none; }
  .story-layout { display:block; padding-top:12px; }
  .story-map-panel { top:0; z-index:3; display:grid; grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr); align-items:center; box-shadow:0 2px 6px #26382c21; margin-bottom:20px; }
  .story-map-head,.story-progress { grid-column:1/-1; }
  .story-map-head { padding:4px 10px; }
  .story-map-caption { padding:6px 9px; }
  .story-map-caption h3 { margin:1px 0 2px; font-size:1.2rem; }
  .story-map-caption p { font-size:.77rem; line-height:1.22; margin:2px 0; }
  .story-map-caption strong,.story-map-date,.story-map-caption a { font-size:.72rem; }
  .story-map-surface { overflow:hidden; }
  .story-region { font-size:.52rem; left:3px; top:2px; padding:1px 3px; }
  .map-place { display:none; }
  .story-map-panel.compact .story-map-caption { grid-column:1/-1; }
  .story-map-panel.compact .story-map-caption p { display:none; }
  .story-card-meta { gap:3px 8px; }
}

#evidence-view { width:min(760px,94vw); max-height:90vh; max-height:90dvh; background:var(--paper); border-color:#9c9b87; }
#evidence-view[open] { display:flex; flex-direction:column; }
html:has(#evidence-view[open]) { overflow:hidden; }
.evidence-head { flex:none; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 22px; background:var(--green); color:var(--paper); }
.evidence-head .story-eyebrow { color:#e9d8b1; }
.evidence-head h2 { font-size:clamp(1.4rem,3vw,2.05rem); line-height:1.1; }
.evidence-head button { border:1px solid #bec5b5; border-radius:3px; color:inherit; padding:6px 13px; }
.evidence-scroll { min-height:0; overflow:auto; overscroll-behavior:contain; padding:18px clamp(16px,3vw,32px) 24px; }
.evidence-context { border-bottom:1px solid var(--line); padding-bottom:12px; margin-bottom:14px; }
#evidence-event { color:var(--muted); font-size:.85rem; margin-bottom:4px; }
#evidence-picker { display:grid; gap:3px; margin-bottom:15px; color:var(--muted); font-size:.88rem; }
#evidence-picker[hidden] { display:none; }
#evidence-picker select { width:100%; min-width:0; }
.evidence-source-head h3 { font-size:clamp(1.4rem,3vw,1.95rem); line-height:1.15; margin:4px 0 12px; }
.evidence-switch { width:fit-content; }
.evidence-text { margin-bottom:0; }
.evidence-text mark { background:#f0e3c9; color:#76452c; }
.evidence-content>img { display:block; width:100%; height:auto; }
.evidence-scan-bar { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:13px 0 8px; text-align:center; font-size:.9rem; }
.evidence-scan-bar button { flex:none; width:40px; height:36px; border:1px solid var(--line); border-radius:3px; font-size:1.4rem; line-height:1; }
.evidence-content .source-assessment:not(:empty) { margin-bottom:8px; }

/* Postal endpoints and successive records of Henry's whereabouts. */
.route-layer { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; color:#994d29; }
.route-layer.travel { color:#205b4e; }
.route-line,.route-underlay { fill:none; stroke:currentColor; stroke-width:2; vector-effect:non-scaling-stroke; }
.route-underlay { stroke:#fff8e8; stroke-width:4; }
.mail .route-line { stroke-dasharray:5 3; }
.route-start,.route-glyph { fill:#fffaf0; stroke:currentColor; stroke-width:2.6; }
.route-arrow,.route-core,.route-end { fill:currentColor; }
.route-end { stroke:#fffaf0; stroke-width:2; }
.route-traveler { animation:route-settle 3.2s linear forwards; }
@keyframes route-settle { 0%,83% {opacity:1} 100% {opacity:0} }
.story-region,.story-marker { z-index:1; }
.story-route-panel { padding:10px 18px 13px; border-top:1px solid var(--line); background:#f5f2e8; }
.story-route-panel:empty,.compact .story-route-panel { display:none; }
.route-controls { display:flex; align-items:center; gap:6px; margin-bottom:4px; }
.route-type,.route-controls button { font:600 .76rem/1.3 var(--sans); color:var(--green); }
.route-controls button { padding:4px 8px; border:1px solid #b4b6a6; border-radius:3px; }
.route-controls button[aria-pressed=true] { background:var(--green); color:var(--paper); border-color:var(--green); }
.route-controls .route-replay { margin-left:auto; padding:4px 0 4px 8px; border:0; text-decoration:underline; text-underline-offset:2px; }
.route-summary strong { display:block; font:600 1rem/1.2 var(--sans); }
.route-summary p { margin-top:3px; color:var(--muted); font-size:.86rem; line-height:1.35; }
@media(prefers-reduced-motion:reduce){ .route-traveler,.route-controls .route-replay { display:none; } }
@media(max-width:730px){
  .story-route-panel { grid-column:1/-1; padding:5px 10px 7px; }
  .route-controls { margin-bottom:2px; }
  .route-summary strong { font-size:.85rem; }
  .route-summary p { font-size:.74rem; line-height:1.2; }
  .route-glyph { transform:scale(1.9); }
}

.route-place { font:600 17px var(--sans); fill:var(--ink); stroke:#fffaf0; stroke-width:4px; stroke-linejoin:round; paint-order:stroke; }
.story-map-surface:has(.route-layer) .map-place { display:none; }
@media(max-width:730px){ .route-place { font-size:24px; } }
@media(max-width:730px){
  /* The map and the reading line move together when the caption changes height. */
  .scroll-story { overflow-anchor:none; }
}

.story-actions { display:flex; align-items:center; flex-wrap:wrap; gap:11px 20px; margin-top:18px; }
.story-actions .story-start { margin:0; }
.story-journey-link,.handwriting-link { color:var(--green);text-decoration:underline;text-underline-offset:.19em; }
.story-journey-link { padding:9px 0;font-weight:600; }
.handwriting-link { text-decoration-color:#8c7752;text-decoration-style:dotted; }
.handwriting-link:hover,.handwriting-link:focus-visible { text-decoration-style:solid;background:#eee6d2; }
.story-resume { display:flex; flex-direction:column; min-width:0; }
.story-resume strong { color:var(--green); font-size:.95rem; text-decoration:underline; text-underline-offset:3px; }
.story-resume small { color:var(--muted); font-size:.79rem; }
.story-exhibit-link { display:flex; gap:20px; align-items:center; padding:1px 0 1px 13px; border-left:3px solid var(--red); }
.story-exhibit-link small { display:block; font:600 .7rem/1.3 var(--mono); color:var(--red); text-transform:uppercase; letter-spacing:.06em; }
.story-exhibit-link strong { display:block; font:1.4rem/1.2 var(--serif); }
.exhibit-link-arrow { color:var(--red); }
.story-exhibit-link:hover strong,.reader-exhibit-link { text-decoration:underline; text-underline-offset:3px; }
.reader-exhibit-link { display:inline-block; font-size:.88rem; color:var(--red); margin-top:6px; }
@media(max-width:730px){
  .story-tools { align-items:stretch; }
  .story-exhibit-link { flex:1 0 100%; justify-content:space-between; }
  .story-actions { gap:8px 14px; margin-top:12px; }
}
.story-research { background:#ebece2; }
.story-marker.context .story-dot { border-radius:2px; background:#ececdf; border-color:#64726d; }
.atlas-research { padding:12px 0; border-top:1px solid var(--line); }
.atlas-research a { display:block; margin-top:6px; color:var(--red); text-decoration:underline; }
.journey-research-lead { margin-top:1rem; padding:.25rem 0 .25rem .85rem; border-left:3px solid var(--line); }
.journey-research-lead p { margin:.35rem 0 0; }
.journey-research-lead .journey-citations a { display:inline; }
