/* Engraved parchment essay maps: the shared chart chrome (card, stage, rhumbs, graticule,
   ornaments, loupes, scale, pan hint, rites/tellings table). Written by
   scripts/build-burnt-and-bald-map.py and scripts/build-mother-right-map.py through
   scripts/maps/engraved.py; each essay keeps its symbol and legend rules inline. The pages
   load this file with a ?v= content hash, so after editing it rerun both builders.
   Colours and faces are the house chart tokens (scripts/maps/palette.py): ink #3b2f22,
   ink-soft #5a4c3a, brick #7c2c22, sea #e3cf9c, land #f2e6c3; EB Garamond for every label,
   IM Fell English for the cartouche title. */
.research-page .em-map{
  width:min(100vw - 24px,1320px);
  margin:34px 0 26px;
  margin-left:50%;
  transform:translateX(-50%);
  padding:18px clamp(12px,2vw,24px) 16px;
  background:var(--card);
  border:1px solid var(--frame);
  border-radius:6px;
  box-shadow:0 1px 0 rgba(255,255,255,.6) inset,0 10px 28px -14px rgba(60,44,20,.32),0 2px 6px rgba(60,44,20,.08);
}
.em-kicker{margin:0 2px 12px;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--brick)}
.em-stage{position:relative;border:1px solid #b39d6d;border-radius:2px;overflow:hidden;background:#e3cf9c;box-shadow:0 1px 3px rgba(60,40,15,.25)}
.em-scroll{overflow-x:auto;scrollbar-width:thin}
.em-svg{display:block;width:100%;min-width:760px;height:auto}
.em-svg,.em-loupe-svg{font-family:"EB Garamond","Iowan Old Style","Palatino Linotype",Palatino,"Book Antiqua",Georgia,serif}
.em-grat{stroke:#3b2f22;stroke-opacity:.2;stroke-width:.6;fill:none}
.em-tropic{stroke:#3b2f22;stroke-opacity:.3;stroke-width:.7;fill:none;stroke-dasharray:8 3 2 3}
.em-eq{stroke:#7c2c22;stroke-opacity:.5;stroke-width:.9;fill:none}
.em-rhumbs path{fill:none;stroke:#3b2f22}
.em-rhumb-main{stroke-opacity:.32;stroke-width:.6}
.em-rhumb{stroke-opacity:.2;stroke-width:.45}
.em-grat-num text{font-size:11.5px;font-style:italic;fill:#3b2f22;fill-opacity:.72;text-anchor:middle;letter-spacing:.04em;paint-order:stroke;stroke:#e3cf9c;stroke-width:3px;stroke-linejoin:round}
.em-border-num text{font-size:10px;fill:#5a4c3a;text-anchor:middle;letter-spacing:.03em}
.em-border-num .em-side{font-size:9px}
.em-cartouche text{font-family:"IM Fell English","EB Garamond","Iowan Old Style",Palatino,Georgia,serif;font-size:15.5px;font-style:italic;fill:#3b2f22;text-anchor:middle;letter-spacing:.03em}
.em-ocean text{font-size:19px;font-style:italic;letter-spacing:.38em;fill:#3b2f22;fill-opacity:.62;text-anchor:middle}
.em-orn{pointer-events:none}
.em-motto{font-size:15px;font-style:italic;letter-spacing:.06em;fill:#3b2f22;fill-opacity:.8;text-anchor:middle}
.em-rose-n{font-size:12px;font-style:italic;fill:#3b2f22;text-anchor:middle}
.em-src-box rect{fill:none;stroke:#3b2f22;stroke-width:1.15;stroke-dasharray:4 2}
.em-src-box text{font-style:italic;font-weight:700;fill:#7c2c22}
.em-loupe-frame{fill:none;stroke:#3b2f22;stroke-width:.8;stroke-opacity:.7}
.em-leader{stroke:#3b2f22;stroke-opacity:.7;stroke-width:.7}
.em-pan{display:none;margin:6px 0 0;text-align:center;font-size:13px;color:var(--ink-soft)}
.em-loupes{display:flex;gap:12px;margin:12px 0 0;align-items:flex-start}
.research-page .em-loupe{flex:calc(var(--ar)) 1 0;min-width:0;margin:0}
.em-loupe-svg{display:block;width:100%;height:auto;border:1px solid #b39d6d;border-radius:2px;box-shadow:0 1px 3px rgba(60,40,15,.25)}
.research-page .em-loupe figcaption{margin:5px 2px 0;font-size:14.5px;font-variant:small-caps;letter-spacing:.05em;color:#5a4c3a}
.em-loupe-key{display:inline-block;margin-right:6px;font-weight:600;color:var(--brick)}
.em-scale path{stroke:#3b2f22;stroke-width:1.4;fill:none}
.em-scale text{font-size:13px;fill:#5a4c3a}
.research-page .em-table{margin:4px 0 30px;font-size:15px}
.research-page .em-table summary{min-height:44px;padding:10px 0;color:var(--brick);cursor:pointer}
@media (max-width:760px){
  .research-page .em-map{width:calc(100vw - 8px);padding:12px 8px}
  .em-pan{display:block}
  .em-loupes{flex-direction:column}
  .research-page .em-loupe{flex:none;width:100%}
}
