/* Consulta pública do Bolsa Esporte. */
.bpr-page {
  --bpr-ink: #132f46;
  --bpr-muted: #4b606b;
  --bpr-line: #cbd8d8;
  color: var(--bpr-ink);
  background: #f5f7f4;
}
.bpr-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap;
}
.bpr-hero {
  color: #fff; border-bottom: 4px solid #c8db54; background-color: #132e43;
  background-image: linear-gradient(92deg,#112e42 9%,rgba(16,44,63,.98) 39%,rgba(16,44,63,.70) 67%,rgba(16,44,63,.14)),url("quadra.webp");
  background-size: cover; background-position: center, center 48%;
}
.bpr-hero-inner {padding-block: 18px clamp(23px,3.1vw,39px)}
.bpr-trail {display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; margin-bottom: clamp(18px,2.3vw,28px); font-size: 14px; line-height: 1.4}
.bpr-trail a,.bpr-trail span[aria-current] {color: #f0f5f4}
.bpr-trail a:hover {color: #dcec75}
.bpr-trail span[aria-hidden] {color: #b7d365}
.bes-site .bpr-edition {font: 700 13px/1.3 var(--bes-body); letter-spacing: .06em; color: #d9ed78}
.bes-site .bpr-edition span {margin-inline: .18em}
.bes-site .bpr-hero h1 {color: white; font: 700 clamp(42px,5.1vw,70px)/1.02 var(--bes-display); letter-spacing: -.018em; margin: 6px 0 10px}
.bes-site .bpr-standfirst {color: #f0f5f4; font: 400 clamp(16px,1.55vw,20px)/1.42 var(--bes-body); max-width: 580px}
.bpr-content {padding-block: clamp(18px,2.1vw,30px) clamp(34px,4.3vw,60px)}
.bes-site .bpr-overview-title {font:700 16px/1.3 var(--bes-body); color:#294956; margin:0 0 8px}
.bpr-overview {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--bpr-line);
  border-radius: 8px; background: white; margin-bottom: clamp(20px,2.4vw,30px); overflow: hidden;
}
.bpr-metric {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: clamp(14px,1.9vw,24px); border-left: 1px solid var(--bpr-line); min-width: 0;
}
.bpr-metric:first-child {border-left: none}
.bpr-metric-label {display:flex; align-items:center; gap:9px; font:700 clamp(15px,1.3vw,18px)/1.22 var(--bes-body)}
.bpr-metric-label::before {content:""; width:4px; height:24px; border-radius:2px; flex:none; background:#3375a2}
.bpr-metric-tecnico .bpr-metric-label::before {background: #798328}
.bpr-metric-formacao .bpr-metric-label::before {background: #26806c}
.bpr-metric strong {font:700 clamp(30px,3vw,43px)/1 var(--bes-display); font-variant-numeric:tabular-nums}
.bpr-query {padding: clamp(16px,2vw,24px); border: 1px solid var(--bpr-line); border-radius: 8px; background: #fff; scroll-margin-top: 12px}
.bpr-query-head,.bpr-results-head {display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px 18px}
.bpr-query-head {margin-bottom: 12px}
.bes-site .bpr-query-head h2 {font:700 clamp(23px,2vw,29px)/1.12 var(--bes-display)}
.bpr-clear,.bpr-empty a {color:#174e75; font-weight:700; font-size:15px}
.bpr-form {display:grid; grid-template-columns:minmax(0,1.16fr) minmax(0,1fr) minmax(0,1.15fr) minmax(0,1fr) auto; gap:12px; align-items:end; margin:0}
.bpr-field {display:grid; gap:5px; min-width:0; color:#244354; font:700 15px/1.3 var(--bes-body)}
.bpr-field :is(input,select) {
  display:block; min-width:0; width:100%; height:44px; margin:0; padding:8px 10px; border-radius:4px;
  border:1px solid #7c9299; background:#fff; color:var(--bpr-ink); font:400 16px/1.3 var(--bes-body);
}
.bpr-field input::placeholder {color:#5b6f76; opacity:1}
.bpr-field select {padding-right:20px; text-overflow:ellipsis}
.bpr-field select option {font: inherit}
.bpr-apply {height:44px; padding:8px 15px; border-radius:4px; border:1px solid #153e59; cursor:pointer; color:#fff; background:#173f5f; font:700 15px/1.3 var(--bes-body)}
.bpr-apply:hover {background:#245775}
.bpr-results {margin-top:clamp(26px,3.5vw,48px); scroll-margin-top: 16px}
.bes-site .bpr-results-head h2 {font:700 clamp(31px,3.2vw,45px)/1.05 var(--bes-display); letter-spacing:-.017em}
.bes-site .bpr-results-head p {margin-top:5px; font-size:16px; color:var(--bpr-muted)}
.bpr-downloads,.bpr-legend {display:flex; flex-wrap:wrap; gap:8px}
.bpr-downloads a {display:inline-flex; align-items:center; justify-content:center; gap:8px; border:1px solid #899ca0; border-radius:4px; background:white; color:#1c4054; padding:8px 13px; min-height:42px; font:700 15px/1.25 var(--bes-body); text-decoration:none}
.bpr-downloads a:hover {background:#eaf2eb; border-color:#547e78}
.bpr-down-icon {font:700 17px/16px var(--bes-body); border-bottom:1.5px solid #365e66; padding:0 1px}
.bpr-legend {margin:14px 0 18px}
.bpr-cat-para {--bpr-accent:#17664e; --bpr-tint:#e5f2e9; --bpr-accent-line:#adcbb7}
.bpr-cat-demais {--bpr-accent:#23597c; --bpr-tint:#e8eff5; --bpr-accent-line:#b8cbd9}
.bpr-cat-nao_informada {--bpr-accent:#725528; --bpr-tint:#f7f0dd; --bpr-accent-line:#d8caab}
.bpr-chip {
  display:inline-flex; align-items:center; min-height:36px; gap:6px; padding:4px 9px; border:1px solid var(--bpr-accent-line);
  border-radius:999px; color:var(--bpr-accent); background:#fff; font:700 14px/1.3 var(--bes-body); text-decoration:none;
}
.bpr-chip:hover,.bpr-chip.bpr-selected {background:var(--bpr-tint)}
.bpr-chip i {width:8px; height:8px; border-radius:50%; background:var(--bpr-accent)}
.bpr-chip b {display:inline-grid; min-width:1.6em; padding:1px 5px; place-items:center; background:var(--bpr-tint); border-radius:12px; color:var(--bpr-accent); font-variant-numeric:tabular-nums}
.bpr-group {border:1px solid var(--bpr-line); border-radius:7px; background:#fff; overflow:hidden; margin-bottom:16px}
.bes-site .bpr-group h3 {border-left:5px solid var(--bpr-accent); padding:12px 14px; background:var(--bpr-tint); color:var(--bpr-accent); font:700 24px/1.1 var(--bes-display)}
.bpr-table {border:0; border-collapse:collapse; border-spacing:0; width:100%; margin:0; table-layout:fixed; font:400 16px/1.35 var(--bes-body)}
.bpr-table :is(th,td) {padding:10px 16px; text-align:left; vertical-align:middle; overflow-wrap:anywhere; color:var(--bpr-ink); border:0; border-bottom:1px solid #e0e7e4}
.bpr-table thead th {background:#f8faf8; color:#47606a; font:700 14px/1.3 var(--bes-body)}
.bpr-table thead th:first-child {width:39%}
.bpr-table thead th:nth-child(2) {width:38%}
.bpr-table tbody th {font-weight:700}
.bpr-table tbody tr:last-child :is(th,td) {border-bottom:0}
.bpr-table tbody tr:hover {background:#f6faf7}
.bpr-cell-label {display:none}
.bpr-pagination {display:flex; justify-content:flex-end; align-items:center; flex-wrap:wrap; gap:8px; margin-top:16px}
.bpr-pages {display:inline-flex; align-items:center; gap:4px}
.bpr-pagination :is(a,.bpr-current) {display:inline-flex; align-items:center; justify-content:center; min-width:36px; min-height:38px; border:1px solid var(--bpr-line); border-radius:4px; color:#1c4863; text-decoration:none; background:white; font:700 15px/1.3 var(--bes-body)}
.bpr-pagination .bpr-current {background:#193d52; border-color:#193d52; color:#fff}
.bpr-pagination a:hover {border-color:#557b81; background:#eef4ef}
.bpr-ellipsis {padding-inline:1px; color:var(--bpr-muted)}
.bpr-pagination .bpr-step {padding:5px 10px; gap:6px}
.bpr-empty {padding:24px; border:1px solid var(--bpr-line); border-radius:7px; background:white; margin-block:18px}
.bes-site .bpr-empty :is(h2,h3) {font:700 25px/1.15 var(--bes-display)}
.bes-site .bpr-empty p {color:var(--bpr-muted); margin:6px 0}
.bpr-note {margin-top:clamp(24px,3vw,36px); padding:14px 0 0; border-top:1px solid var(--bpr-line); color:var(--bpr-muted); font:400 15px/1.45 var(--bes-body)}
.bpr-note strong {color:#294956}
.bes-site .bpr-note p {margin:3px 0 0; max-width:930px}
@media (max-width: 1030px) {
  .bpr-form {grid-template-columns:repeat(2,minmax(0,1fr))}
  .bpr-apply {justify-self:start}
}
@media (max-width: 680px) {
  .bpr-hero {background-image:linear-gradient(90deg,rgba(17,46,66,.98) 4%,rgba(17,46,66,.88) 62%,rgba(17,46,66,.75)),url("quadra.webp"); background-position:center,62% center}
  .bpr-hero-inner {padding-top:14px}
  .bpr-trail {font-size:13px; margin-bottom:16px}
  .bpr-content {padding-top:16px}
  .bpr-metric {align-items:flex-start; flex-direction:column-reverse; justify-content:flex-end; gap:6px; padding:13px 10px}
  .bpr-metric-label {display:block; font-size:14px; line-height:1.2}
  .bpr-metric-label::before {display:none}
  .bpr-form {gap:10px}
  .bpr-query {padding:15px}
  .bpr-apply {justify-self:stretch; grid-column:1/-1}
  .bpr-downloads a {min-height:44px}
  .bpr-results-head {align-items:flex-start}
  .bpr-table, .bpr-table tbody {display:block}
  .bpr-table thead {position:absolute; height:1px; width:1px; overflow:hidden; clip-path:inset(50%)}
  .bpr-table tbody tr {display:grid; padding:12px 14px; gap:4px; border-bottom:1px solid #dbe4df}
  .bpr-table tbody tr:last-child {border-bottom:0}
  .bpr-table tbody :is(th,td) {display:block; border:0; padding:0}
  .bpr-table tbody td {color:#314f5c; font-size:15px}
  .bpr-cell-label {display:inline; color:#485d65; font-size:13px; font-weight:700; margin-right:.5em}
  .bpr-pagination {justify-content:flex-start; gap:6px}
  .bpr-pagination .bpr-step {min-height:40px}
}
@media (max-width: 410px) {
  .bpr-form {grid-template-columns:minmax(0,1fr)}
  .bpr-overview {grid-template-columns:repeat(3,minmax(0,1fr))}
  .bpr-metric {padding:10px 8px}
  .bpr-chip {min-height:38px}
  .bpr-pagination {row-gap:8px}
  .bpr-pages {gap:2px}
  .bpr-pagination .bpr-step {padding-inline:7px}
}
@media (max-width: 365px) {
  .bpr-overview {grid-template-columns:minmax(0,1fr)}
  .bpr-metric {flex-direction:row; align-items:center; justify-content:space-between; padding:8px 12px; gap:14px; border-left:0}
  .bpr-metric + .bpr-metric {border-top:1px solid var(--bpr-line)}
  .bpr-metric-label {display:flex; gap:8px}
  .bpr-metric-label::before {display:block; height:17px}
  .bpr-metric strong {font-size:27px}
}
@media (forced-colors: active) {
  .bpr-chip i,.bpr-metric-label::before {border:1px solid CanvasText}
}
