.research-map{box-sizing:border-box;margin:1.25rem 0 1.8rem;padding:clamp(17px,2.8vw,35px);background:#f4f1e9;border:1px solid #d5cec0;border-radius:3px}
.research-map[hidden],.research-map button[hidden]{display:none}
.research-map-heading{display:flex;justify-content:space-between;align-items:start;gap:18px;margin-bottom:1.45rem}
.research-map summary{cursor:pointer;font:600 1rem/1.5 var(--sans);color:var(--wine)}
.research-map:not([open]){padding:.75rem 1.05rem;background:transparent}
.research-map[open] summary{margin-bottom:1rem}
.research-map summary:focus-visible{outline:2px solid var(--wine);outline-offset:3px}
.research-map-heading p{margin:.42rem 0 0;color:var(--muted);font-size:.96rem}
#map-clear{background:transparent;border:0;border-bottom:1px solid currentColor;padding:5px 0;white-space:nowrap;cursor:pointer;color:var(--wine);font:600 .9rem/1.4 var(--sans)}
.research-map-charts{display:grid;grid-template-columns:1.12fr 1fr;gap:clamp(24px,4vw,65px)}
.map-pane{container-type:inline-size;min-width:0}
.map-pane h2{margin:0;font:400 clamp(1.5rem,2.55vw,2.15rem)/1.14 var(--serif);color:var(--ink)}
.map-caption{color:var(--muted);font-size:.86rem;line-height:1.4;margin:6px 0 13px;min-height:1.4em}
.year-chart{display:grid;grid-template-columns:repeat(var(--year-columns),minmax(0,1fr));height:170px;padding-top:3px}
.year-slot{display:grid;grid-template-rows:minmax(0,1fr) auto;min-width:0;gap:7px;border:0;border-radius:2px;padding:0 1px 2px;background:transparent;font-family:var(--sans);color:var(--ink);text-align:center}
button.year-slot{cursor:pointer}
.year-stem{display:flex;flex-direction:column;align-items:center;justify-content:end;border-bottom:1px solid #a99e8f;min-width:0;position:relative;background:repeating-linear-gradient(to top,transparent 0,transparent calc(33.333% - 1px),#c6bfae52 calc(33.333% - 1px),#c6bfae52 33.333%)}
.year-bar{display:block;width:clamp(8px,58%,26px);height:var(--bar-height,0%);flex:none;background:#813e51;border-radius:2px 2px 0 0;transition:height .2s ease-out}
.year-count{font-size:.84rem;font-weight:650;line-height:1.2;margin-bottom:3px;font-variant-numeric:tabular-nums}
.year-year{font-size:.77rem;line-height:1.4;min-height:1.4em;font-variant-numeric:tabular-nums}
.year-short{display:none}
.year-slot[aria-pressed="true"] .year-year{font-weight:750;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px;color:#532437}
.year-slot[aria-pressed="true"] .year-bar{background:#522638}
.year-slot:disabled,.subject-row:disabled{opacity:.58;cursor:default}
.year-slot:enabled:hover .year-stem{background-color:#e7ddcf}
.subject-chart{display:grid;gap:5px}
.subject-row{display:grid;grid-template-columns:minmax(0,1fr) 2ch;grid-template-rows:auto 5px;gap:4px 10px;align-items:center;width:100%;padding:4px 6px 5px;border:0;border-radius:2px;background:transparent;color:var(--ink);text-align:left;cursor:pointer;font:400 .93rem/1.3 var(--sans)}
.subject-row b{font-weight:650;text-align:right;font-variant-numeric:tabular-nums}
.subject-track{display:block;height:5px;grid-column:1/-1;overflow:hidden;background:#dfd9cd;border-radius:3px}
.subject-ink{display:block;height:100%;width:var(--bar-width,0%);background:var(--subject-ink,#526b5c);border-radius:3px;transition:width .2s ease-out}
.subject-row:enabled:hover,.subject-row[aria-pressed="true"]{background:#e7e1d6}
.subject-row[aria-pressed="true"] .subject-name{font-weight:700;text-decoration:underline;text-underline-offset:3px}
.research-map button:focus-visible{outline:2px solid var(--wine);outline-offset:2px}
@container(max-width:440px){.year-long{display:none}.year-short{display:inline}}
@media(max-width:760px){.research-map-charts{grid-template-columns:1fr}.year-chart{height:137px}.subject-chart{gap:4px}.subject-row{min-height:38px}.research-map-heading{flex-wrap:wrap;gap:6px}}
@media(prefers-reduced-motion:reduce){.subject-ink,.year-bar{transition:none}}
