
/* Congresso — simulador de bancadas */
.bancada-heading{margin:40px 0 24px;padding:32px;border:1px solid #b79a5266;background:linear-gradient(125deg,#202c3d,#141c29)}.bancada-heading h1{font-size:clamp(29px,3.6vw,47px);margin:12px 0}.bancada-heading p{max-width:900px;color:var(--muted);margin-bottom:0}
.bancada-alert{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 18px;border-left:4px solid var(--gold);background:#253044;margin-bottom:18px;flex-wrap:wrap}.bancada-alert span{color:var(--muted);font-size:12px}
.bancada-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(300px,1fr);gap:16px;align-items:start}.bancada-visual,.bancada-zone{border:1px solid #b79a5244;background:#192331;border-radius:8px}.bancada-visual{padding:18px}.bancada-section-title{display:flex;justify-content:space-between;align-items:center}.bancada-section-title h2{font-size:22px;margin:0}.bancada-section-title span{font-size:12px;color:var(--muted)}.bancada-hemicycle{display:block;width:100%;max-height:360px;margin:20px auto 0}.bancada-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.bancada-legend span{display:flex;align-items:center;gap:6px}.bancada-legend i{display:inline-block;width:10px;height:10px;border-radius:2px}.bancada-help{font-size:12px;color:var(--muted);margin:13px 0}.bancada-scores{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.bancada-score{border:1px solid #b79a523b;border-top:3px solid #b79a52;background:#212d3d;padding:12px 9px;display:flex;flex-direction:column;min-width:0}.bancada-score.motta{border-top-color:#e65b57}.bancada-score.hattem{border-top-color:#4a95eb}.bancada-score.livre{border-top-color:#748194}.bancada-score span{font-size:10px;color:var(--muted);line-height:1.3;min-height:27px}.bancada-score strong{font-size:31px;line-height:1.4}.bancada-score small{font-size:10px;line-height:1.3;color:var(--muted)}
.bancada-sidebar{display:grid;gap:12px}.bancada-zone{padding:15px;min-height:125px}.bancada-zone.motta{border-color:#e65b5780}.bancada-zone.hattem{border-color:#4a95eb80}.bancada-zone.livre{border-color:#74819480}.bancada-zone.drag-over{outline:3px solid var(--gold)}.bancada-zone header{position:relative;padding-right:70px;margin-bottom:13px}.bancada-zone h3{font:600 19px/1.3 system-ui;margin:0}.bancada-zone p{margin:3px 0;font-size:12px;color:var(--muted)}.bancada-zone header strong{position:absolute;right:0;top:0;font-size:24px}.bancada-zone header small{font-size:11px;font-weight:400;color:var(--muted)}.bancada-chips{display:flex;gap:7px;flex-wrap:wrap}.bancada-chip{display:inline-flex;align-items:center;gap:7px;border:1px solid #8793a055;border-radius:24px;padding:6px 9px;background:#27364a;color:#f3f3f0;font-size:12px;font-weight:600;cursor:grab;max-width:100%}.bancada-chip.selected{outline:2px solid var(--gold);background:#36465c}.bancada-chip strong{border-radius:12px;background:#ffffff18;padding:0 6px;font-size:11px}.party-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0}.bancada-controls{display:flex;gap:8px;flex-wrap:wrap}.bancada-controls button{font-size:12px;padding:9px 12px}.bancada-disclaimer{margin:18px 0 50px;font-size:12px;color:var(--muted);line-height:1.7}.bancada-move{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:10px 0}.bancada-move span{font-size:12px;color:var(--muted)}.bancada-move button{font-size:11px;padding:5px 8px}
@media(max-width:850px){.bancada-layout{grid-template-columns:1fr}.bancada-heading{padding:22px;margin-top:22px}.bancada-scores{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.bancada-visual{padding:12px}.bancada-score strong{font-size:27px}.bancada-legend{gap:9px}.bancada-chip{font-size:11px}}

.congresso-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:26px 0 10px}.congresso-tabs .button{font-size:13px}

.congresso-modes{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 12px}.congresso-modes button{font-size:13px}.congresso-source{font-size:12px;color:var(--muted);margin:0 0 18px}.congresso-party-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin:18px 0}.congresso-party{display:flex;align-items:center;gap:8px;border:1px solid #b79a5244;padding:10px 12px;border-radius:5px;background:#253246;font-size:13px}.congresso-party strong{flex:1}.congresso-party>span:last-child{font-weight:700;font-size:18px}

/* Cabeçalhos de Câmara e Senado: altura alinhada às demais abas */
.bancada-heading{margin:12px 0 14px;padding:17px 24px}
.bancada-heading h1{font-size:clamp(29px,3.6vw,43px);line-height:1.12;margin:5px 0 7px}
.bancada-heading p{margin:0;line-height:1.4}
@media(max-width:850px){.bancada-heading{margin:12px 0 14px;padding:16px 20px}}
@media(max-width:480px){.bancada-heading{margin:10px 0 12px;padding:14px 16px}.bancada-heading h1{font-size:29px}}

@media(max-width:600px){
 .bancada-heading{padding:13px 14px;margin:9px 0 11px}
 .bancada-heading h1{font-size:26px;margin:5px 0}
 .bancada-heading p{font-size:12px;line-height:1.4}
 .bancada-alert{padding:10px 11px;gap:7px;font-size:12px}
 .bancada-visual{padding:10px}
 .bancada-section-title h2{font-size:18px}
 .bancada-section-title span,.bancada-legend,.bancada-help{font-size:10px}
 .bancada-hemicycle{margin-top:9px;max-height:260px}
 .bancada-scores{gap:5px}
 .bancada-score{padding:8px 6px}
 .bancada-score strong{font-size:24px;line-height:1.15}
 .bancada-score span,.bancada-score small{font-size:9px;min-height:0}
 .bancada-zone{padding:11px;min-height:95px}
 .bancada-zone h3{font-size:16px}
 .bancada-zone header strong{font-size:20px}
 .bancada-chip{font-size:10px;padding:5px 7px;gap:4px}
 .bancada-controls button,.congresso-modes button{font-size:11px;padding:7px 9px}
 .congresso-tabs{gap:6px;margin:12px 0 9px}
 .congresso-tabs .button{font-size:11px;padding:7px 9px}
 .congresso-party-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
 .congresso-party{padding:7px;font-size:11px;min-width:0}
 .congresso-party strong{overflow-wrap:anywhere}
 .bancada-disclaimer{font-size:11px;line-height:1.5;margin:12px 0 25px}
}

/* Congres​​so: visualização compacta e sem rolagem horizontal em telas pequenas */
@media(max-width:650px){
 .congresso-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:10px 0}
 .congresso-tabs .button{display:flex;align-items:center;justify-content:center;min-width:0;min-height:36px;padding:7px 5px;text-align:center;font-size:11px;line-height:1.25;white-space:normal;overflow-wrap:anywhere}
 .bancada-heading{margin:8px 0 10px;padding:12px}
 .bancada-heading h1{font-size:clamp(21px,5.5vw,25px)}
 .bancada-layout,.bancada-sidebar,.bancada-visual,.bancada-zone{min-width:0;max-width:100%}
 .bancada-section-title{gap:8px;flex-wrap:wrap}
 .bancada-section-title h2{font-size:17px}
 .bancada-hemicycle{width:100%;height:auto;max-height:230px}
 .bancada-scores{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
 .bancada-score{min-width:0;padding:8px}
 .bancada-score strong{font-size:22px}
 .bancada-zone header{padding-right:55px}
 .bancada-zone h3{font-size:15px;overflow-wrap:anywhere}
 .bancada-zone header strong{font-size:18px}
 .bancada-chip{max-width:100%;white-space:normal;overflow-wrap:anywhere}
 .congresso-party-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .congresso-party{min-width:0;overflow-wrap:anywhere}
 .congresso-modes{gap:6px}
 .congresso-modes button{font-size:11px;padding:7px}
}
