/* Gospel Tools: Temple Map */
.tm-main{max-width:1280px;margin:0 auto;padding:0 14px 30px}
.tm-status{text-align:center;font-style:italic}
.tm-lead{text-align:center;max-width:880px;margin:0 auto 4px;font-size:16px}
.tm-asof{text-align:center;font-style:italic;color:var(--ink2);margin:0 0 8px}
.tm-stats{display:flex;justify-content:center;gap:22px;flex-wrap:wrap;margin:0 0 10px;font-family:var(--sc);color:var(--ink2)}
.tm-stats b{font-family:Georgia,serif;font-size:26px;color:var(--red);margin-right:4px}
.tm-tools,.tm-year{display:flex;flex-wrap:wrap;gap:8px 12px;align-items:center;margin:0 0 8px}
.tm-chips{display:flex;flex-wrap:wrap;gap:4px 6px}
.kchip{font:inherit;font-size:13px;padding:2px 8px;border:1px solid var(--rule);background:#f7eed6;cursor:pointer;color:inherit;border-radius:12px;opacity:.55}
.kchip.on{opacity:1;background:#fbf5e4;box-shadow:inset 0 0 0 1px #5a3d22}
.kchip i,.tm-table i{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:4px;vertical-align:middle;border:1px solid rgba(0,0,0,.3)}
.tm-find input,.tm-country select{font:inherit;font-size:15px;padding:4px 8px;border:1px solid var(--rule);background:#fbf5e4}
.tm-find input{width:200px}
.tm-country select{max-width:220px}
.tm-shown{font-style:italic;color:var(--ink2);font-size:14px}
.tm-year input{width:min(420px,60vw);vertical-align:middle}
.tm-year b{display:inline-block;min-width:44px;font-size:18px;color:var(--red)}
.tm-wrap{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:14px}
.tm-map{height:min(70vh,640px);border:1px solid var(--rule);box-shadow:0 2px 6px var(--shadow)}
.tm-panel{border:1px solid var(--rule);background:linear-gradient(#f7eed6,#ecdcb4);padding:10px 14px;max-height:min(70vh,640px);overflow:auto;font-size:15px}
.tm-panel h3{margin:4px 0 6px;font-size:21px}
.tm-panel dl{display:grid;grid-template-columns:auto 1fr;gap:2px 10px;margin:0}
.tm-panel dt{font-family:var(--sc);color:var(--ink2)}
.tm-panel dd{margin:0}
.tm-badge{display:inline-block;margin:0;font-family:var(--sc);font-size:13px;color:#fff;background:var(--c);padding:1px 8px;border-radius:10px}
.tm-notep{font-style:italic;border-left:3px solid var(--rule);padding:4px 10px;background:rgba(255,255,255,.35)}
.tm-lab{background:rgba(251,245,228,.92);border:1px solid #c8b48a;box-shadow:none;font:12px Georgia,serif;padding:0 4px;color:#2a1a0c}
.tm-lab:before{display:none}
.tm-sec{margin-top:24px}
.tm-hist svg{width:100%;max-width:900px;display:block;margin:0 auto}
.tm-hist .bar{fill:#2f5a7a;cursor:pointer}.tm-hist .bar:hover{fill:#9b2d20}
.tm-hist .cum{fill:none;stroke:#c9a227;stroke-width:2}
.tm-hist text{font:11px Georgia,serif;fill:#5a3d22}
.tm-hist .cl{text-anchor:end;fill:#8a6a10;font-weight:bold}
.tm-hist .ml{text-anchor:end}
.tm-hist .gl{stroke:#e2d4b0}.tm-hist .axis{stroke:#5a3d22}
.tm-tablewrap{overflow:auto;max-height:560px;border:1px solid var(--rule)}
.tm-table{border-collapse:collapse;width:100%;font-size:14px;background:#fbf5e4}
.tm-table th{position:sticky;top:0;background:#efe2bf;font-family:var(--sc);font-weight:normal;text-align:left;padding:4px 8px}
.tm-table td{padding:3px 8px;border-top:1px solid rgba(138,106,60,.25)}
.tm-table tr.sel td{background:#f2dfae}
.tm-table button{font:inherit;border:0;background:none;padding:0;text-align:left;color:var(--red);cursor:pointer;text-decoration:underline}
.tm-src ul{columns:2;font-size:15px}
.tm-note{font-size:14px;font-style:italic;color:var(--ink2)}
@media (max-width:900px){
  .tm-wrap{grid-template-columns:1fr}
  .tm-map{height:58vh}
  .tm-panel{max-height:none}
  .tm-src ul{columns:1}
  .tm-table td:nth-child(2){font-size:12px}
}
