/* Places, people and map overlay */
.overlay-controls { gap: 10px; }
.overlay-item { font-size: 13px; display: inline-flex; align-items: center; }
.overlay-item .dot { box-shadow: 0 0 0 1.5px var(--ink); }
.overlay-cluster { background: var(--panel); border: 2px solid var(--ink); border-radius: 50%; display: flex;
  align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--ink); }
.nearby .dot { margin-right: 4px; }
.role-block { margin: 6px 0 10px; }
.role-block > b { font-size: 13px; color: var(--muted); }
.sources { margin: 24px 0; font-size: 13px; color: var(--muted); }
.sources li { margin: 4px 0; }
.people-page { max-width: 1100px; }
.people-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; margin-top: 14px; }
.person { display: flex; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  padding: 12px; cursor: pointer; box-shadow: var(--shadow); }
.person:hover, .person:focus { border-color: var(--accent); }
.person:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.person img, .person .avatar { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; flex: none; }
.person .avatar { display: flex; align-items: center; justify-content: center; background: var(--accent-soft); font-size: 28px; }
.person h3 { margin: 0 0 2px; font-size: 16px; }
.person p { margin: 6px 0; font-size: 13px; line-height: 1.4; }
.person-links { display: flex; flex-wrap: wrap; gap: 4px; }
.person-links .tag-pill { text-decoration: none; color: var(--ink); }
.person-links .tag-pill:hover { background: var(--band-alt); }
.portrait { float: right; width: 120px; height: 150px; object-fit: cover; border-radius: 8px; margin: 0 0 8px 12px; }
.history-map { height: 460px; border: 1px solid var(--line); border-radius: 10px; margin: 8px 0 18px; }
.ev .ev-map { font-size: 12px; margin-left: 6px; }
@media (max-width: 640px) {
  .people-list { grid-template-columns: 1fr; }
  .portrait { width: 80px; height: 100px; }
  .history-map { height: 320px; }
}
.ev.flash { background: var(--accent-soft); transition: background .3s; }
.sources-box { margin: 12px 0; font-size: 14px; }
.sources-box summary { cursor: pointer; font-weight: 600; }
.sources-box ul { padding-left: 18px; margin: 6px 0; }
.check-corroborated, .check-referenced { color: var(--g6); font-weight: 600; }
.check-conflict { color: var(--g8); font-weight: 600; }
.check-single-source { color: var(--muted); }
.verify-ok { color: var(--g6); font-size: 12px; }
.verify-bad { color: var(--g8); font-size: 12px; }

/* "Then": paintings and prints of a building or place (then.js) */
.then-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; margin: 6px 0; }
.then-grid figure { margin: 0; }
.then-grid img { width: 100%; height: 110px; object-fit: cover; border-radius: 4px; background: var(--panel, #eee); }
.then-grid figcaption { font-size: 0.8rem; line-height: 1.3; margin-top: 3px; }

/* researched claims (evidence.js) */
.claim { border-left: 3px solid var(--accent, #8a6d1f); padding: 2px 0 2px 10px; margin: 8px 0; }
.evidence-sources { list-style: none; padding: 0; margin: 4px 0; }
.evidence-sources li { margin: 6px 0; }
.evidence-sources blockquote { margin: 3px 0 2px 12px; font-style: italic; }
