:root {
  --bg: #ffffff; --panel: #f5f5f2; --ink: #1a1a1a; --ink2: #4a4a47; --ink3: #62625d;
  --rule: #d6d6d0; --rule2: #eaeae6; --sil: #262626; --acc: #1f4e8c; --accbg: #e8eef7;
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --serif: "Source Serif 4", Georgia, serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #141414; --panel: #1c1c1b; --ink: #ececE9; --ink2: #c4c4be; --ink3: #a2a29c;
    --rule: #3a3a37; --rule2: #262624; --sil: #e6e3dc; --acc: #9cbef0; --accbg: #1d2a3c;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 13px/1.45 var(--sans); }
a { color: var(--acc); }
a:hover { color: var(--ink); }
h1, h2, h3, p, dl, dd, ol, ul, figure, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; z-index: 10; background: var(--bg); padding: 6px 10px; }
.dim { color: var(--ink3); } .ink { color: var(--ink); } .ink2 { color: var(--ink2); }
.small { font-size: 12px; } .mono { font-family: var(--mono); font-size: 12px; }
.serif { font-family: var(--serif); } .sans { font-family: var(--sans); }
.nowrap { white-space: nowrap; }
.loading, .empty { padding: 32px 24px; color: var(--ink2); max-width: 60ch; }
.scroll-x { overflow-x: auto; }

.sil { display: block; overflow: visible; flex: none; }
.sil path { fill: var(--sil); stroke: var(--sil); }
.sil path:first-child { stroke: none; }
.sil path[fill="none"] { fill: none; }
.sil.sel path { fill: var(--acc); stroke: var(--acc); }
.sil.sel path[fill="none"] { fill: none; }

.tag { font: 10.5px/1.5 var(--sans); letter-spacing: 0.04em; text-transform: uppercase; border-radius: 2px; padding: 0 4px; white-space: nowrap; display: inline-block; }
.tag.dashed { color: var(--ink3); border: 1px dashed var(--ink3); }
.tag.solid { font-size: 11px; letter-spacing: 0; text-transform: none; color: var(--ink); background: var(--panel); border: 1px solid var(--rule); padding: 0 5px; }
.unv { border-bottom: 1px dashed var(--ink3); }
sup.cite { font: 10px/1 var(--sans); margin-left: 1px; }
sup.cite a { text-decoration: none; padding: 2px 1px; }
sup.cite a.ex { text-decoration: underline dashed; text-underline-offset: 2px; }

/* Header */
header.site { display: flex; flex-wrap: wrap; align-items: center; gap: 0 28px; padding: 0 24px; border-bottom: 1px solid var(--rule); background: var(--bg); }
header.site .title { font: 600 18px var(--serif); color: var(--ink); text-decoration: none; padding: 12px 0; }
header.site nav { display: flex; flex-wrap: wrap; gap: 0 4px; }
header.site nav a { display: flex; align-items: center; gap: 6px; min-height: 48px; padding: 0 10px; color: var(--ink2); text-decoration: none; border-bottom: 2px solid transparent; }
header.site nav a:hover { color: var(--ink); }
header.site nav a[aria-current] { color: var(--ink); font-weight: 600; border-bottom-color: var(--ink); }
.count { font: 11px var(--mono); background: var(--accbg); color: var(--acc); padding: 1px 6px; border-radius: 8px; font-weight: 400; }
.search { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.search label { font-size: 12px; color: var(--ink3); }
input[type="search"], .years input, .year input { height: 32px; padding: 0 10px; border: 1px solid var(--rule); border-radius: 3px; background: var(--bg); color: var(--ink); }
.search input, #sq { width: 240px; max-width: 100%; }

/* Controls */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; padding: 14px 0; border-bottom: 1px solid var(--rule2); }
.toolbar h1 { font-size: 15px; font-weight: 600; }
.sub-count { font-weight: 400; }
.controls { margin-left: auto; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.controls.left { margin: 18px 0 0; }
.seg { display: flex; flex-wrap: wrap; border: 1px solid var(--rule); border-radius: 3px; overflow: hidden; }
.seg a { display: flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px; color: var(--ink); text-decoration: none; border-left: 1px solid var(--rule); margin-left: -1px; background: var(--bg); }
.seg a[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.handle-pick { display: flex; align-items: center; gap: 8px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 0 12px; border: 1px solid var(--rule); border-radius: 3px; background: var(--bg); color: var(--ink); text-decoration: none; }
.btn.sq { width: 36px; padding: 0; }
.btn.off { opacity: 0.35; }
.btn.bm-btn svg path { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; }
.btn.bm-btn[aria-pressed="true"] { border-color: var(--acc); background: var(--accbg); color: var(--acc); }
.btn.bm-btn[aria-pressed="true"] svg path { fill: currentColor; }
button.link { border: 0; background: none; color: var(--acc); padding: 4px 0; font-size: 12px; }
.bm { border: 0; background: none; padding: 6px; margin: -4px -6px 0 0; color: var(--ink3); flex: none; }
.bm svg { display: block; }
.bm path { fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linejoin: round; }
.bm[aria-pressed="true"] { color: var(--acc); }
.bm[aria-pressed="true"] path { fill: var(--acc); }
.check { display: flex; align-items: center; gap: 8px; min-height: 28px; }
.check input { accent-color: var(--acc); margin: 0; }
.check .n { margin-left: auto; font: 12px var(--mono); color: var(--ink3); }
.check.partial input { opacity: 0.6; }
.check.inline { min-height: 32px; }

/* Browse */
.browse { display: flex; align-items: flex-start; }
.browse > main { flex: 1; min-width: 0; padding: 0 24px 40px; }
.filters { flex: none; width: 272px; padding: 16px 20px 32px 24px; border-right: 1px solid var(--rule); display: flex; flex-direction: column; gap: 22px; align-self: stretch; }
.filters-head { display: flex; align-items: baseline; justify-content: space-between; }
.filters h2 { font-size: 13px; font-weight: 600; }
.filters fieldset { display: flex; flex-direction: column; gap: 2px; }
.filters legend { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink3); padding: 0 0 6px; }
.filters .sub { padding-left: 22px; display: flex; flex-direction: column; gap: 2px; }
.hist { display: flex; align-items: flex-end; gap: 2px; height: 36px; border-bottom: 1px solid var(--rule); }
.hist div { flex: 1; background: var(--rule); }
.hist div.in { background: var(--ink3); }
.hist-axis { display: flex; justify-content: space-between; font: 10px var(--mono); color: var(--ink3); margin: 4px 0 6px; }
.years { display: flex; align-items: center; gap: 6px; }
.years input { width: 0; flex: 1; height: 30px; padding: 0 8px; font: 12px var(--mono); }
.filters-btn { display: none; }

.shelf { list-style: none; padding: 24px 0 0; display: flex; flex-wrap: wrap; align-items: flex-end; row-gap: 32px; }
.shelf li { display: flex; flex-direction: column; min-width: 150px; flex: 0 0 auto; }
.shelf .stand { display: flex; justify-content: center; align-items: flex-end; padding: 0 16px; border-bottom: 1px solid var(--ink3); }
.shelf .cap { padding: 8px 12px 0; display: flex; flex-direction: column; gap: 1px; height: 104px; width: 0; min-width: 100%; overflow: hidden; }
.shelf .cult, .shelf .dates { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shelf .name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.shelf .name-row { display: flex; align-items: flex-start; gap: 4px; }
.shelf .name { font: 600 15px/1.25 var(--serif); color: var(--ink); text-decoration: none; flex: 1; }
.shelf .name:hover { color: var(--acc); }
.shelf .cult { color: var(--ink2); font-size: 12px; }
.shelf .dates { font: 11px var(--mono); color: var(--ink3); }
.shelf .meta { display: flex; gap: 10px; font: 11px var(--mono); color: var(--ink2); margin-top: 3px; }
.shelf.compact { padding-top: 20px; row-gap: 20px; }
.shelf.compact li { min-width: 112px; }
.shelf.compact .stand { padding: 8px 10px 0; }
.shelf.compact .cap { padding: 6px 8px; height: 74px; }
.shelf.compact .name { font-size: 13px; }
.shelf.compact .dates { font-size: 10.5px; }
.shelf.compact li.cur { background: var(--accbg); }
.shelf.compact li.cur .name { color: var(--acc); }

table.data { border-collapse: collapse; white-space: nowrap; min-width: 100%; }
table.data.wrap { white-space: normal; }
table.data th { text-align: left; padding: 8px 10px; font-size: 11px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink3); border-bottom: 1px solid var(--rule); white-space: nowrap; }
table.data th.sorted { font-weight: 600; color: var(--ink); }
table.data td { padding: 6px 10px; border-bottom: 1px solid var(--rule2); vertical-align: middle; color: var(--ink2); }
table.data td:first-child, table.data th:first-child { padding-left: 0; }
table.data .num { text-align: right; }
table.data td.mono, table.data td .name { color: var(--ink); }
table.data .prof { height: 60px; }
table.data .prof a { display: inline-block; }
table.data .name { font: 600 14px var(--serif); text-decoration: none; }
table.data .native { margin-left: 6px; }
table.data.wrap td { vertical-align: top; padding-top: 8px; padding-bottom: 8px; }
table.data td.serif { font-size: 14px; color: var(--ink); min-width: 200px; }
table.data td.cited { min-width: 220px; }

/* Record */
body.split { height: 100dvh; display: flex; flex-direction: column; overflow: hidden; }
body.split #app { flex: 1; min-height: 0; display: flex; }
.split-main { flex: 1 1 0; min-width: 0; overflow-y: auto; padding: 0 24px 40px; }
.split-panel { flex: 0 1 760px; min-width: 620px; overflow-y: auto; border-left: 1px solid var(--rule); padding: 0 32px 48px; }
.split-main .filters-btn { display: inline-flex; }
.split-main .filters { display: none; width: auto; border: 1px solid var(--rule); border-radius: 3px; margin-top: 12px; padding: 16px; }
.split-main .filters.open { display: flex; }
.record-page { max-width: 760px; margin: 0 auto; padding: 0 16px 48px; }
.rec-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--rule2); position: sticky; top: 0; background: var(--bg); z-index: 2; }
.rec-bar .right { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.rec-bar .close { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; color: var(--ink2); text-decoration: none; font-size: 20px; }
.rec-bar .back { text-decoration: none; padding: 6px 0; }
.rec-head { padding: 20px 0 4px; }
.rec-head h2 { font: 600 30px/1.15 var(--serif); margin-top: 2px; }
.rec-head .native { margin-top: 2px; font-size: 15px; color: var(--ink2); }
.rec-head .dates { margin-top: 6px; color: var(--ink2); }
.rec-controls { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
figure.profile { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px; padding: 20px 0 12px; border-top: 1px solid var(--rule2); border-bottom: 1px solid var(--rule2); }
.as-mug { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.as-mug figcaption { font-size: 12px; color: var(--ink3); }
.fig-notes { margin-left: auto; align-self: flex-start; text-align: right; font-size: 12px; color: var(--ink3); display: flex; flex-direction: column; gap: 2px; max-width: 220px; }
.photos { border-bottom: 1px solid var(--rule2); }
figure.photo { padding: 16px 0 14px; display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
figure.photo + figure.photo { border-top: 1px solid var(--rule2); }
figure.photo button { flex: none; width: 280px; max-width: 100%; padding: 0; border: 1px solid var(--rule); background: var(--panel); cursor: zoom-in; }
figure.photo img { display: block; width: 100%; height: auto; max-height: 340px; object-fit: contain; }
figure.photo figcaption, .photo-view figcaption { flex: 1 1 200px; min-width: 0; display: flex; flex-direction: column; gap: 3px; font-size: 12px; color: var(--ink2); }
figcaption .obj { font: 14px var(--serif); color: var(--ink); }
figcaption .note { font-family: var(--serif); font-size: 13.5px; }
.record section { padding-top: 24px; }
.record h3, .page-refs h3 { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink3); font-weight: 600; margin-bottom: 8px; }
.record p.serif { font-size: 15px; line-height: 1.55; margin-bottom: 12px; }
dl.fields { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 10px 16px; }
dl.fields dt { color: var(--ink3); }
dl.fields dd { font: 14.5px/1.5 var(--serif); }
dl.fields dd.plain, dl.fields.plain dd { font: 13px/1.45 var(--sans); }
dl.fields dd.meas { font: 12px/1.5 var(--mono); display: flex; flex-direction: column; gap: 2px; }
dl.fields .unit { font-family: var(--sans); }
dl.fields ol { padding-left: 18px; display: flex; flex-direction: column; gap: 3px; }
.lin-card { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--rule); border-radius: 3px; text-decoration: none; color: var(--ink); margin-bottom: 8px; }
.lin-card:hover { border-color: var(--ink3); }
.lin-head { display: flex; justify-content: space-between; gap: 12px; }
.lin-head .name { font: 600 15px var(--serif); }
.lin-strip { display: flex; align-items: flex-end; gap: 14px; border-bottom: 1px solid var(--ink3); padding: 0 4px; overflow: hidden; }
.lin-strip .gap { width: 20px; height: 40px; border: 1px dashed var(--rule); border-bottom: 0; }
ol.refs { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--ink2); overflow-wrap: anywhere; }
ol.refs li.flash, tr.flash { animation: flash 1.6s ease-out; }
@keyframes flash { from { background: var(--accbg); } to { background: transparent; } }
.ref-links { margin-top: 10px; display: flex; gap: 16px; font-size: 12px; }

/* Photograph viewer */
dialog.photo-view { border: 1px solid var(--rule); border-radius: 4px; padding: 0; background: var(--bg); color: var(--ink); width: min(1100px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); }
dialog.photo-view::backdrop { background: rgb(0 0 0 / 0.6); }
.photo-view figure { display: flex; flex-wrap: wrap; }
.photo-view .frame { flex: 3 1 420px; min-width: 0; background: var(--panel); display: flex; align-items: center; justify-content: center; }
.photo-view img { display: block; max-width: 100%; max-height: calc(100dvh - 26px); object-fit: contain; }
.photo-view figcaption { flex: 1 1 220px; padding: 48px 20px 20px; font-size: 13px; gap: 5px; }
.photo-view .close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 1px solid var(--rule); border-radius: 3px; background: var(--bg); font-size: 20px; line-height: 1; }

/* Pages with a side index */
.with-index { display: flex; align-items: flex-start; }
.with-index > main { flex: 1; min-width: 0; padding: 20px 32px 48px; }
.side-index { flex: none; width: 250px; padding: 6px 20px 32px 24px; border-right: 1px solid var(--rule); align-self: stretch; }
.side-index h2 { margin: 14px 0 4px; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink3); font-weight: 600; }
.side-index ul { list-style: none; }
.side-index li a { display: flex; flex-direction: column; padding: 6px 8px; margin: 0 -8px; border-radius: 3px; text-decoration: none; color: var(--ink); }
.side-index li a[aria-current] { background: var(--accbg); }
.side-index li a[aria-current] .name { font-weight: 600; }
.side-index .row { display: flex; justify-content: space-between; gap: 8px; }
.side-index.contents { border: 0; padding-top: 32px; }
.side-index.contents ol { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }

.lineage h1 { font: 600 30px/1.15 var(--serif); margin-top: 2px; }
.lede { font: 16px/1.55 var(--serif); margin-top: 14px; max-width: 640px; }
.lin-wide { margin-top: 28px; }
.lin-row { display: grid; align-items: end; column-gap: 18px; }
.lin-row.base { border-bottom: 1px solid var(--ink3); }
.lin-row .cell { display: flex; justify-content: center; padding-top: 12px; }
.lin-row .cell.col { flex-direction: column; align-items: center; padding-top: 0; }
.tick { width: 1px; height: 8px; background: var(--ink3); }
.lin-row .date, .lin-dated .date { font: 12px var(--mono); padding-top: 2px; text-align: center; }
.no-sil { display: block; width: 60px; height: 100px; border: 1px dashed var(--rule); border-bottom: 0; }
.lin-dated { position: relative; height: 190px; margin-left: 104px; border-bottom: 1px solid var(--rule2); }
.lin-dated::after { content: ""; position: absolute; left: 0; right: 0; bottom: 30px; border-bottom: 1px solid var(--ink3); }
.lin-dated .at { position: absolute; bottom: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; }
.lin-dated .date { white-space: nowrap; height: 22px; }
.lin-table { margin-top: 18px; display: grid; column-gap: 18px; }
.lin-table dt { color: var(--ink3); }
.lin-table dt, .lin-table dd { padding: 10px 0; border-top: 1px solid var(--rule2); }
.lin-table dd.stage { font: 600 15px/1.3 var(--serif); }
.lin-table .k { font: 400 11px var(--mono); color: var(--ink3); margin-right: 6px; }
.lin-table dd.serif { font-size: 14px; line-height: 1.5; }
.lin-table .last, .sl-table .last { border-bottom: 1px solid var(--rule2); }
.page-refs { margin-top: 32px; max-width: 760px; }

/* Timeline */
.timeline, .shortlist, .sources { padding: 0 24px 40px; }
.tl-wrap { display: flex; flex-wrap: wrap; gap: 24px; padding-top: 12px; }
.tl-scroll { flex: 999 1 640px; min-width: 0; }
.tl-axis { position: relative; height: 40px; }
.tl-plot { position: relative; border-top: 1px solid var(--ink3); }
.tl-axis .bc, .tl-plot .bc { position: absolute; top: 0; height: 40px; background: var(--panel); }
.tl-axis .tick { position: absolute; top: 28px; height: 12px; background: var(--rule); }
.tl-axis .tick.major { top: 22px; height: 18px; background: var(--ink3); }
.tlabel { position: absolute; top: 4px; width: 80px; text-align: center; font: 10.5px var(--mono); color: var(--ink2); }
.tl-plot .grid { position: absolute; top: 0; width: 1px; background: var(--rule2); }
.tl-plot .rule { position: absolute; left: 0; right: 0; height: 1px; background: var(--rule); }
.glabel { position: absolute; left: 0; width: 140px; }
.glabel .name { font-weight: 600; }
.tl-hit { position: absolute; top: 0; cursor: crosshair; }
.tl-plot .bar { position: absolute; height: 3px; background: var(--ink3); opacity: 0.55; pointer-events: none; }
.tl-plot .item { position: absolute; display: flex; align-items: flex-end; gap: 4px; text-decoration: none; color: var(--ink); white-space: nowrap; }
.tl-plot .item > span { display: flex; flex-direction: column; line-height: 1.2; padding-bottom: 2px; }
.tl-plot .item .n { font-size: 12px; }
.tl-plot .item:hover .n { color: var(--acc); }
.tl-plot .item .d { font: 10px var(--mono); color: var(--ink3); }
.cursor { position: absolute; top: -41px; width: 2px; background: var(--acc); pointer-events: none; }
.cursor-label { position: absolute; top: -38px; padding: 1px 6px; background: var(--acc); color: var(--bg); font: 11px var(--mono); border-radius: 2px; white-space: nowrap; }
.tl-side { flex: 1 1 220px; max-width: 280px; padding-top: 40px; }
.tl-side h2 { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink3); font-weight: 600; margin-bottom: 8px; }
.tl-side ul { list-style: none; }
.tl-side li { display: flex; align-items: flex-end; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--rule2); }
.tl-side li > span { display: flex; flex-direction: column; }
.tl-side li a { color: var(--ink); text-decoration: none; font: 600 14px var(--serif); }
.tl-side .year { margin-top: 12px; display: flex; align-items: center; gap: 6px; }
.tl-side .year label { font-size: 12px; color: var(--ink3); }
.year input { width: 150px; height: 30px; font: 12px var(--mono); padding: 0 8px; }
.tl-note { margin-top: 16px; max-width: 70ch; }

/* Shortlist */
.notice { margin: 12px 0 0; padding: 10px 12px; background: var(--panel); border: 1px solid var(--rule); border-radius: 3px; max-width: 80ch; }
.sl-row { display: grid; align-items: end; column-gap: 16px; border-bottom: 1px solid var(--ink3); padding-top: 28px; }
.sl-row .cell { display: flex; justify-content: center; }
.sl-table { display: grid; column-gap: 16px; }
.sl-table dt { color: var(--ink3); }
.sl-table dt, .sl-table dd { padding: 8px 0; border-top: 1px solid var(--rule2); }
.sl-table dd.head, .sl-table dt:first-child { border-top: 0; padding: 10px 0; }
.sl-table dd.head { display: flex; flex-direction: column; gap: 4px; }
.sl-table .name { font: 600 16px var(--serif); color: var(--ink); text-decoration: none; }
.sl-table .edit { display: flex; gap: 4px; align-items: center; }
.sl-table .edit .btn { width: 28px; min-height: 26px; color: var(--ink2); }
.sl-table dd.serif { font-size: 14px; }

/* Sources */
.sources section { padding-top: 20px; }
.sources h1, .sources h2 { font-size: 15px; font-weight: 600; }
.sources .intro { margin: 4px 0 12px; max-width: 80ch; }
.thumb { width: 52px; height: 52px; padding: 0; border: 1px solid var(--rule); background: var(--panel); cursor: zoom-in; display: block; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Essays */
.essay { max-width: 700px; font: 16.5px/1.65 var(--serif); }
.essay h1 { font-size: 30px; font-weight: 600; line-height: 1.2; margin: 2px 0 16px; }
.essay h2 { margin: 28px 0 8px; font-size: 19px; font-weight: 600; }
.essay p { margin-bottom: 12px; }
.essay .lede { font-size: 18px; margin: 0 0 8px; max-width: none; }
.essay .tag { vertical-align: 1px; }
.plain-list { list-style: none; font-size: 13px; display: flex; flex-direction: column; gap: 4px; }
.method .essay h2 { scroll-margin-top: 16px; }
.prose-page { max-width: 700px; padding: 32px 24px 64px; font: 16.5px/1.65 var(--serif); }
.prose-page h1 { font-size: 30px; font-weight: 600; margin-bottom: 12px; }
table.handles { border-collapse: collapse; margin: 8px 0 20px; font-size: 13px; line-height: 1.45; }
table.handles th { text-align: left; font-weight: 400; width: 230px; min-width: 210px; padding: 16px 16px 0 0; vertical-align: middle; }
table.handles th .name { font-weight: 600; font-size: 14px; }
table.handles th .desc { font: 13.5px/1.45 var(--serif); color: var(--ink2); margin-top: 4px; }
table.handles td { vertical-align: bottom; padding: 16px 12px 0; border-bottom: 1px solid var(--ink3); }
table.handles td .sil { margin: 0 auto; }
table.handles tr.names td { border: 0; text-align: center; font: 600 14px var(--serif); padding-top: 8px; }

/* Narrow screens */
@media (max-width: 860px) {
  header.site { padding: 0 16px; gap: 0 16px; }
  header.site nav a { min-height: 40px; padding: 0 8px; }
  header.site nav[aria-label="Views"] { order: 3; width: 100%; margin: 0 -8px; }
  header.site nav[aria-label="Reference"] { order: 4; margin: 0 -8px 0; }
  .search { order: 2; }
  .search label { display: none; }
  .search input { width: 170px; }
  .browse, .with-index { display: block; }
  .browse > main, .timeline, .shortlist, .sources { padding-left: 16px; padding-right: 16px; }
  .with-index > main { padding: 16px 16px 48px; }
  .filters { display: none; width: auto; border-right: 0; border-bottom: 1px solid var(--rule); padding: 16px; }
  .filters.open { display: flex; }
  .filters-btn { display: inline-flex; }
  .controls { margin-left: 0; gap: 10px 12px; }
  .side-index { width: auto; border-right: 0; border-bottom: 1px solid var(--rule); padding: 4px 16px 12px; }
  .side-index.contents { padding-top: 16px; }
  .shelf li { min-width: 0; flex: 0 0 50%; max-width: 50%; }
  .shelf .stand { padding: 0 8px; }
  dl.fields { grid-template-columns: 1fr; gap: 2px 0; }
  dl.fields dd { margin-bottom: 10px; }
  .fig-notes { margin-left: 0; text-align: left; max-width: none; width: 100%; }
  .essay, .prose-page { font-size: 16px; }
  .photo-view figcaption { padding: 16px; }
  .tl-side { max-width: none; padding-top: 0; }
}
