/* TaghvimBan 1.12.76 public cultural atlas. No side effects on main events. */
.tbh-page{--tbh-line:#e9e5ee;--tbh-soft:#f7f5fb;--tbh-ink:#272135;--tbh-accent:#7055c9;color:var(--tbh-ink);padding-block:8px 30px;min-width:0}
.tbh-page *{box-sizing:border-box}
.tbh-nav{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 16px}
.tbh-nav a{display:inline-flex;align-items:center;padding:8px 12px;border:1px solid #dad3ed;background:#f9f7fd;color:#4f359a;border-radius:10px;text-decoration:none;font-size:12px;line-height:1.5}
.tbh-nav a:hover,.tbh-nav a:focus-visible{background:#eee8fb;outline-offset:2px}
.tbh-head{margin:6px 0 16px}
.tbh-head h1{font-size:clamp(21px,3.4vw,29px);line-height:1.5;margin:0 0 6px;font-weight:800}
.tbh-head p{font-size:13px;line-height:1.9;margin:0;color:#5a5265}
.tbh-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:14px 0}
.tbh-metrics span{display:block;border:1px solid var(--tbh-line);border-radius:12px;padding:12px 14px;line-height:1.6;font-size:12px;background:white}
.tbh-metrics strong{display:block;color:#3f2e7e;font-size:22px;font-weight:800;font-variant-numeric:tabular-nums}
.tbh-filters{display:grid;grid-template-columns:minmax(170px,2fr) repeat(2,minmax(145px,1fr)) auto;gap:9px;align-items:end;padding:12px;border:1px solid var(--tbh-line);background:var(--tbh-soft);border-radius:14px;margin:14px 0}
.tbh-filters label,.tbh-member-actions label{font-size:12px;font-weight:600;display:grid;gap:5px;min-width:0}
.tbh-filters input,.tbh-filters select,.tbh-member-actions input,.tbh-member-actions textarea{width:100%;max-width:100%;min-width:0;font:inherit;line-height:1.5;border:1px solid #d6d0e4;border-radius:9px;background:#fff;padding:9px 10px;color:#2d2836}
.tbh-filters button,.tbh-member-actions button{border:0;border-radius:9px;cursor:pointer;padding:10px 12px;color:#fff;background:#6751bc;font-size:12px;font-weight:700;line-height:1.5}
.tbh-count{font-size:12px;color:#716a7d;margin:12px 0}
.tbh-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.tbh-card{min-width:0;border:1px solid var(--tbh-line);border-radius:13px;padding:15px;background:white;box-shadow:0 2px 8px #35204b08;overflow-wrap:anywhere}
.tbh-card h2{font-size:18px;line-height:1.6;font-weight:750;margin:7px 0 3px}
.tbh-card p{font-size:13px;line-height:1.85;margin:8px 0}
.tbh-card-top{display:flex;flex-wrap:wrap;gap:5px}
.tbh-chip{font-size:11px;line-height:1.55;background:#ede9f9;color:#5d4a8f;border-radius:999px;padding:3px 8px}
.tbh-chip.tbh-archive{background:#eff1f5;color:#6b6f7b}
.tbh-chip.tbh-context{background:#f9f0dc;color:#815f24}
.tbh-card .tbh-region{color:#605d66;margin:0 0 7px}
.tbh-card .tbh-time{border-inline-start:2px solid #d6c9eb;padding-inline-start:9px;color:#62538a}
.tbh-card .tbh-confirmed{border:1px solid #cfdece;background:#f6faf5;border-radius:9px;padding:9px;color:#315d34}
.tbh-links{font-size:12px;line-height:1.7}
.tbh-links a{color:#5c46b9;text-decoration:underline;text-underline-offset:3px}
.tbh-links span{color:#817a88}
.tbh-warning{border-top:1px dashed #ebe7ee;margin-top:12px!important;padding-top:8px;color:#796741}
.tbh-member-actions{display:grid;gap:9px;margin-top:10px}
.tbh-member-actions form{display:grid;gap:8px;margin:0}
.tbh-member-actions form:has(>button){display:block}
.tbh-member-actions details{border:1px solid #e8e5ee;background:#faf9fc;border-radius:9px;padding:8px 10px}
.tbh-member-actions summary{cursor:pointer;font-weight:700;font-size:12px;color:#5746a4}
.tbh-member-actions details form{margin-top:11px}
.tbh-pagination{display:flex;gap:10px;justify-content:center;margin:17px 0}
.tbh-pagination a{border-radius:9px;border:1px solid #ded7ed;padding:7px 12px;text-decoration:none;color:#513aa8}
.tbh-info,.tbh-login{padding:12px;border:1px solid #d7e2d5;border-radius:10px;background:#f8fcf7}
.tbh-foot{font-size:12px;line-height:1.8;color:#77706e;margin:18px 0}
.tbh-teaser{background:#f7f4fd;border:1px solid #e8e1f7;border-radius:14px;padding:15px;margin:16px 0 10px;line-height:1.75}
.tbh-teaser h2{font-size:17px;line-height:1.5;margin:0 0 6px}
.tbh-teaser p{font-size:12px;color:#59546b;margin:0 0 7px}
.tbh-teaser a{font-size:12px;font-weight:700;color:#5c44ae}
@media(max-width:850px){.tbh-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.tbh-grid{grid-template-columns:1fr}.tbh-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:540px){.tbh-page{padding-inline:9px}.tbh-filters{grid-template-columns:1fr}.tbh-metrics{grid-template-columns:1fr}.tbh-nav{display:grid;grid-template-columns:1fr 1fr}.tbh-nav a{text-align:center;justify-content:center}.tbh-card{padding:12px}.tbh-head h1{font-size:21px}}
