/* v19.14: compact representatives, uniform religion triangles and Shura context. */
.territory-sheet .v14-seat-legend{gap:2px!important}
.territory-sheet .v14-seat-legend .v12-seat-group{min-height:38px!important;padding:5px 9px!important;gap:8px!important;line-height:1.3!important}
.territory-sheet .v14-seat-legend .v12-seat-group span{line-height:1.3!important}
.territory-sheet .v16-seat-bloc{margin:6px 0 8px}
.territory-sheet .v16-bloc-header{padding:3px;margin-bottom:2px}
.territory-sheet [role="tabpanel"]:has(> .v12-institutions .v12-chamber)> .missing-box{display:none}
.v20-primary-party{margin:2px 0 10px!important;color:var(--panel-foreground,#263e4b)}
.v20-keywords-unavailable{font-size:12px;color:var(--panel-muted,#60727b);margin:0 0 10px}
.v20-religion-history{margin:24px 0;border:1px solid var(--border,#d6e2e4);border-radius:12px;padding:17px;background:var(--panel-surface,#fff)}
.v20-religion-history figcaption,.v20-religion-history h3{font-size:17px;font-weight:700;line-height:1.3;margin:0 0 12px;color:var(--panel-foreground,#183c44)}
.v20-religion-keys{display:flex;gap:16px;margin:3px 0 14px;font-size:11px;color:var(--panel-muted,#506b76)}
.v20-religion-keys span{display:inline-flex;gap:6px;align-items:center}
.v20-religion-keys i{width:12px;height:9px;border-radius:2px;background:#239878}
.v20-religion-keys span+span i{background:#adb9c4}
.v20-religion-rows{display:grid;gap:12px}
.v20-religion-heading{display:flex;align-items:center;gap:7px;min-height:22px;margin-bottom:4px}
.v20-religion-heading strong{font-size:12px}
.v21-religion-trend{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;flex:none;color:#17824d}
.v21-religion-trend.down{color:#c63a46}
.v21-religion-trend svg{width:15px;height:17px;fill:currentColor}
.v21-religion-trend.modest svg{opacity:.55}
.v21-religion-trend.down svg{transform:rotate(180deg)}
.v20-religion-pair{display:grid;grid-template-columns:minmax(0,1fr) 47px;gap:3px 9px;align-items:center;font-size:11px;font-variant-numeric:tabular-nums}
.v20-religion-bar{height:8px;border-radius:12px;background:var(--panel-soft,#edf3f2);overflow:hidden}
.v20-religion-bar i{display:block;height:100%;min-width:1px;border-radius:12px;background:#adb9c4}
.v20-religion-bar[data-year="2020"] i{background:#239878}
.v20-religion-history small{margin:15px 0 3px}
.v20-religion-status{margin:22px 0}
.v20-shura-note{border-left:3px solid #b98b43;background:var(--panel-soft,#f5f1e9);border-radius:8px;padding:12px 14px;margin:13px 0;color:var(--panel-foreground,#253c45);font-size:12px;line-height:1.5}
.v20-shura-note p{margin:7px 0}
@media(max-width:620px){.territory-sheet .v14-seat-legend .v12-seat-group{min-height:42px!important;padding:6px 9px!important}.v20-religion-history{padding:13px}}
