.bp-vote{font-family:inherit;color:#181C25;max-width:720px;margin:0 auto}
.bp-vote *,.bp-vote *::before,.bp-vote *::after{box-sizing:border-box}

.bp-vote .bp-card{background:#fff;border:1px solid #E8E6E1;border-radius:10px;padding:24px;margin:0 0 8px;overflow:visible}
.bp-vote .bp-sep{border:none;border-top:1px solid #E8E6E1;margin:28px 0}
.bp-vote .bp-card-top{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:0 0 18px;padding:0 0 14px;border-bottom:1px solid #E8E6E1}
.bp-vote .bp-card-title{font-size:13px;font-weight:600;color:#6B6D74;text-transform:uppercase;letter-spacing:.05em;margin:0;padding:0}
.bp-vote .bp-card-score{display:flex;align-items:center;gap:8px;font-size:13px}
.bp-vote .bp-mini-badge{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;padding:3px 10px;border-radius:4px;line-height:1.4}
.bp-vote .bp-mini-badge.oui{background:rgba(0,194,120,.1);color:#00A862}
.bp-vote .bp-mini-badge.non{background:rgba(246,46,83,.08);color:#D92848}
.bp-vote .bp-score-inline{font-weight:700}
.bp-vote .bp-score-inline .pour{color:#00A862}
.bp-vote .bp-score-inline .contre{color:#D92848}
.bp-vote .bp-score-inline .sep{color:#D0CEC9;font-weight:300;margin:0 2px}

/* Bar chart */
.bp-vote .bp-bar{display:flex;align-items:center;padding:7px 0 7px 12px;position:relative;cursor:default;transition:background .1s;border-left:4px solid transparent;margin:0;background:none}
.bp-vote .bp-bar:not(:last-of-type){border-bottom:1px solid #F2F1ED}
.bp-vote .bp-bar:hover{background:#F7F6F2}
.bp-vote .bp-bar-n{width:175px;text-align:right;padding-right:12px;flex-shrink:0;font-size:12px;line-height:1.25;color:#181C25}
.bp-vote .bp-bar-s{display:flex;height:16px;gap:1px;flex:1}
.bp-vote .bp-bar-v{padding-left:8px;font-size:11px;color:#6B6D74;white-space:nowrap;min-width:60px}
.bp-vote .bp-bar-lg{display:flex;gap:14px;margin-top:14px;font-size:11px;color:#6B6D74}
.bp-vote .bp-bar-lg span{display:flex;align-items:center;gap:4px}
.bp-vote .bp-bar-lg i{display:inline-block;width:12px;height:10px;border-radius:2px}
.bp-vote .bp-tip{display:none;position:absolute;bottom:calc(100% + 6px);left:50%;transform:translateX(-50%);z-index:10;background:#fff;border:1px solid #E8E6E1;border-radius:10px;padding:10px 16px;white-space:nowrap;font-size:13px;color:#181C25;line-height:1.6;box-shadow:0 2px 8px rgba(0,0,0,.06);pointer-events:none}
.bp-vote .bp-tip::after{content:'';position:absolute;top:100%;left:50%;transform:translateX(-50%);border:6px solid transparent;border-top-color:#fff}
.bp-vote .bp-bar:hover .bp-tip{display:block}
.bp-vote .bp-src{font-size:11px;color:#D0CEC9;font-style:italic;margin-top:6px}

/* Filters - force override Elementor button styles */
.bp-vote .bp-filters{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px;align-items:center}
.bp-vote .bp-filters .bp-pill{font-family:inherit!important;font-size:12px!important;font-weight:500!important;padding:5px 12px!important;border-radius:100px!important;border:1px solid #E8E6E1!important;background:#fff!important;color:#6B6D74!important;cursor:pointer;transition:all .15s;outline:none!important;line-height:1.4!important;min-height:auto!important;text-transform:none!important;letter-spacing:normal!important;box-shadow:none!important;margin:0!important}
.bp-vote .bp-filters .bp-pill:hover{border-color:#B0AEA8!important;color:#181C25!important;background:#fff!important}
.bp-vote .bp-filters .bp-pill.on{background:#181C25!important;color:#fff!important;border-color:#181C25!important}
.bp-vote .bp-filters .bp-pill.on-pour{background:#00A862!important;color:#fff!important;border-color:#00A862!important}
.bp-vote .bp-filters .bp-pill.on-contre{background:#D92848!important;color:#fff!important;border-color:#D92848!important}
.bp-vote .bp-filters .bp-pill.on-abst{background:#8a8882!important;color:#fff!important;border-color:#8a8882!important}

/* Search */
.bp-vote .bp-search{position:relative;margin-bottom:12px}
.bp-vote .bp-search svg{position:absolute;left:12px;top:50%;transform:translateY(-50%);pointer-events:none}
.bp-vote .bp-search input{width:100%;padding:10px 12px 10px 38px;font-family:inherit;font-size:14px;border:1px solid #E8E6E1;border-radius:6px;background:#FAFAF8;color:#181C25;outline:none;transition:border-color .2s,box-shadow .2s}
.bp-vote .bp-search input::placeholder{color:#B0AEA8}
.bp-vote .bp-search input:focus{border-color:#6B6D74;box-shadow:0 0 0 3px rgba(107,109,116,.06);background:#fff}

/* Scrollable table */
.bp-vote .bp-scroll{max-height:420px;overflow-y:auto;border:1px solid #E8E6E1;border-radius:6px}
.bp-vote .bp-scroll::-webkit-scrollbar{width:6px}
.bp-vote .bp-scroll::-webkit-scrollbar-track{background:#F7F6F2;border-radius:0 6px 6px 0}
.bp-vote .bp-scroll::-webkit-scrollbar-thumb{background:#D0CEC9;border-radius:3px}
.bp-vote .bp-scroll::-webkit-scrollbar-thumb:hover{background:#B0AEA8}
.bp-vote .bp-t{width:100%;border-collapse:collapse}
.bp-vote .bp-t thead{position:sticky;top:0;z-index:2}
.bp-vote .bp-t th{font-size:10px;font-weight:700;color:#6B6D74;text-transform:uppercase;letter-spacing:.06em;text-align:left;padding:8px 10px;background:#F7F6F2;border-bottom:2px solid #E8E6E1;cursor:pointer;user-select:none;white-space:nowrap}
.bp-vote .bp-t th:last-child{text-align:center}
.bp-vote .bp-t th:hover{color:#181C25}
.bp-vote .bp-t td{font-size:13px;color:#6B6D74;padding:9px 10px;border-bottom:1px solid #F2F1ED;vertical-align:middle}
.bp-vote .bp-t tr:nth-child(even) td{background:#FAFAF8}
.bp-vote .bp-t tr:hover td{background:#F2F1ED}
.bp-vote .bp-t td:first-child{font-weight:600;color:#181C25}
.bp-vote .bp-t td:last-child{text-align:center}
.bp-vote .bp-chip{display:inline-block;font-weight:600;font-size:11px;padding:3px 10px;border-radius:4px;border:1px solid;min-width:60px;text-align:center}
.bp-vote .bp-chip.p{color:#00A862;background:rgba(0,194,120,.07);border-color:rgba(0,194,120,.2)}
.bp-vote .bp-chip.c{color:#D92848;background:rgba(246,46,83,.06);border-color:rgba(246,46,83,.15)}
.bp-vote .bp-chip.a{color:#8a8882;background:rgba(208,206,201,.2);border-color:rgba(208,206,201,.5)}
.bp-vote .bp-gdot{display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:5px;vertical-align:middle}
.bp-vote .bp-count{font-size:12px;color:#B0AEA8;margin-top:10px}

@media(max-width:640px){
  .bp-vote .bp-card{padding:14px;border-radius:8px}
  .bp-vote .bp-card-top{flex-direction:column;align-items:flex-start;gap:6px}
  .bp-vote .bp-bar{padding:6px 0 6px 10px}
  .bp-vote .bp-bar-n{width:100px;font-size:10px;padding-right:8px}
  .bp-vote .bp-bar-v{min-width:36px;font-size:10px;padding-left:6px}
  .bp-vote .bp-bar-lg{margin-top:10px;font-size:10px;gap:10px}
  .bp-vote .bp-tip{display:none!important}
  .bp-vote .bp-filters .bp-pill{font-size:11px!important;padding:4px 9px!important}
  .bp-vote .bp-search input{font-size:13px;padding:8px 10px 8px 34px}
  .bp-vote .bp-search svg{left:10px;width:14px;height:14px}
  .bp-vote .bp-scroll{max-height:340px}
  .bp-vote .bp-t th,.bp-vote .bp-t td{padding:7px 6px;font-size:11px}
  .bp-vote .bp-t th:nth-child(3),.bp-vote .bp-t td:nth-child(3){display:none}
  .bp-vote .bp-chip{font-size:10px;padding:2px 7px;min-width:46px}
  .bp-vote .bp-gdot{width:6px;height:6px;margin-right:3px}
  .bp-vote .bp-count{font-size:11px}
  .bp-vote .bp-src{font-size:10px}
}
@media(max-width:420px){
  .bp-vote .bp-bar-n{width:70px;font-size:9px}
  .bp-vote .bp-bar-v{font-size:9px;min-width:28px}
  .bp-vote .bp-t th:nth-child(2),.bp-vote .bp-t td:nth-child(2){display:none}
  .bp-vote .bp-t th,.bp-vote .bp-t td{padding:6px 4px;font-size:11px}
  .bp-vote .bp-chip{font-size:9px;padding:2px 6px;min-width:38px}
  .bp-vote .bp-filters .bp-pill{font-size:10px!important;padding:3px 7px!important}
  .bp-vote .bp-card-title{font-size:12px}
  .bp-vote .bp-score-inline{font-size:12px}
  .bp-vote .bp-mini-badge{font-size:10px;padding:2px 8px}
}
