:root{--ink:#18342e;--muted:#747c76;--paper:#f6f7f2;--line:#e0e4db;--lime:#deedab;--forest:#153e32;--white:#fff;--rose:#ca6d62}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font-text);font-size:14px}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}a{color:inherit;text-decoration:none}button{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #839e44;outline-offset:4px}button{border:0}h1,h2,h3,p{margin:0}h1,h2,h3,.brand{font-family:var(--font-display)}svg{vertical-align:middle}.skip{position:fixed;top:-100px;background:white;padding:15px;z-index:100}.skip:focus{top:0}.header{height:88px;padding:0 4.2%;display:flex;align-items:center;gap:55px;background:var(--paper);border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:11px;font-size:27px;font-weight:800;letter-spacing:-1.3px;white-space:nowrap}.brand-dot{color:#6f8d45;margin-left:-12px}.brand-mark{width:33px;height:29px;display:flex;align-items:center;justify-content:center;gap:3px;transform:rotate(-16deg);margin-right:4px}.brand-mark i{display:block;width:5px;background:var(--forest);height:23px;border-radius:2px}.brand-mark i:first-child,.brand-mark i:last-child{height:16px}.header nav{display:flex;align-items:center;gap:31px;height:100%;flex:1}.header nav a{height:100%;display:flex;align-items:center;gap:8px;position:relative;font-size:13px;font-weight:600;white-space:nowrap;color:#686f69}.header nav a.active{color:var(--ink)}.header nav a.active:after{content:'';height:3px;background:var(--forest);position:absolute;bottom:0;left:0;right:0}.nav-year{font-size:11px;background:#e9ecdf;padding:3px 6px;border-radius:4px}.selection-button{border:1px solid #cfd5c9;border-radius:7px;background:transparent;padding:10px 13px;font-size:12px;font-weight:600;white-space:nowrap}.selection-button span{background:var(--ink);color:white;padding:2px 6px;border-radius:4px;margin-left:9px;font-size:10px}.hero{margin:28px 4.2% 0;background:#143b31;min-height:285px;border-radius:12px;position:relative;overflow:hidden;color:white;padding:36px 43px;display:flex;align-items:center;justify-content:space-between}.hero-copy{z-index:1}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:650;display:flex;align-items:center;gap:9px;margin-bottom:19px}.eyebrow:before{content:'';width:6px;height:6px;background:var(--lime);border-radius:50%}.hero h1{font-size:45px;line-height:1.17;letter-spacing:-2px;font-weight:600}.hero h1 em{color:var(--lime);font-style:normal}.hero p{font-size:13px;line-height:1.8;color:#c2d3c9;max-width:440px;margin-top:19px}.hero-visual{position:absolute;right:25px;top:13px;width:420px;height:290px;opacity:.9}.hero-visual svg{width:100%;height:100%}.visual-caption{position:absolute;bottom:26px;right:82px;font-size:9px;letter-spacing:2px;color:#adc6b7}.stats{margin:0 4.2%;display:grid;grid-template-columns:repeat(4,1fr);padding:23px 0 24px;border-bottom:1px solid var(--line)}.stat{display:flex;align-items:center;gap:13px;border-right:1px solid var(--line);padding-left:26px}.stat:first-child{padding-left:0}.stat:last-child{border:0}.stat strong{font-size:25px;font-family:var(--font-display);font-weight:750;letter-spacing:-1px}.stat span{font-size:11px;color:#667066;max-width:110px;line-height:1.5}.stat .stat-icon{width:35px;height:35px;display:grid;place-items:center;background:#e9eddf;border-radius:50%;color:#66814b}.workspace{display:grid;grid-template-columns:222px minmax(0,1fr);gap:32px;margin:32px 4.2% 60px}.filters{padding-right:24px;border-right:1px solid var(--line)}.filter-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:26px}.filter-heading h2{font-size:15px;font-weight:750;display:flex;gap:9px;align-items:center}.text-button{background:transparent;padding:0;color:#6a6f67;font-size:10px;text-decoration:underline}.filter-section{padding-bottom:24px;margin-bottom:22px;border-bottom:1px solid var(--line)}.filter-section:last-child{border:0}.filter-label{display:block;font-size:10px;letter-spacing:1.2px;font-weight:700;text-transform:uppercase;margin-bottom:14px}.filter-option{display:flex;align-items:center;gap:9px;font-size:12px;margin:13px 0;cursor:pointer}.filter-option input{accent-color:var(--forest);width:14px;height:14px;margin:0}.filter-option .count{margin-left:auto;font-size:10px;color:#6b6f68}.color-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--c,#637865);flex-shrink:0}.filters select,.filters input[type=date]{background:#fff;border:1px solid var(--line);border-radius:5px;width:100%;padding:10px 8px;color:var(--ink);font-size:11px}.hint{font-size:10px;color:#676e64;line-height:1.6;margin-top:8px}.search-bar{display:flex;align-items:center;background:white;border:1px solid var(--line);border-radius:7px;padding:0 14px;gap:10px;height:46px}.search-bar input{border:0;outline:0!important;width:100%;background:transparent;font-size:12px;color:var(--ink);height:100%;min-width:0}.search-bar .key{font-size:10px;border:1px solid var(--line);border-radius:4px;padding:1px 6px;color:#6b6d67}.browse-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:27px 0 18px}.browse-heading h2{font-size:20px;letter-spacing:-.6px}.subtle{color:#686f65;font-size:11px}.browse-heading h2 span{font-family:var(--font-text);font-size:11px;font-weight:400;color:#677063;letter-spacing:0;margin-left:10px}.tools{display:flex;align-items:center;gap:12px}.sort-select{background:transparent;border:0;font-size:11px;color:#676f62;max-width:165px}.view-toggle{display:flex;gap:2px;background:#e9ede3;padding:3px;border-radius:5px}.view-toggle button{padding:5px 6px;border-radius:3px;background:transparent;color:#686f62}.view-toggle button.active{background:white;color:var(--ink);box-shadow:0 1px 3px #0001}.chip-row{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:18px}.chip{border:1px solid var(--line);border-radius:30px;padding:6px 11px;background:transparent;font-size:10px;color:#687162}.chip.active{background:var(--ink);border-color:var(--ink);color:#fff}.card-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 17px}.person-wrap{min-width:0}.player-card{display:block;width:100%;height:280px;position:relative;text-align:left;border-radius:10px 10px 26px 26px;background:var(--card,#4a6451);padding:0;color:white;overflow:hidden;isolation:isolate;box-shadow:0 3px 10px #203c2312;transition:transform .2s,box-shadow .2s}.player-card:hover{transform:translateY(-5px);box-shadow:0 8px 25px #203c2325}.player-card:before{content:'';position:absolute;inset:7px;border:1px solid #ffffff45;border-radius:5px 5px 21px 21px;z-index:4;pointer-events:none}.player-card:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,var(--card) 10%,transparent 70%);z-index:1;pointer-events:none}.card-photo{position:absolute;left:0;top:12px;width:100%;height:239px;object-fit:cover;object-position:center 15%;mix-blend-mode:luminosity;filter:contrast(1.04);opacity:.91}.player-card .portrait-placeholder{position:absolute;top:70px;left:0;right:0;font-size:75px;text-align:center;opacity:.2;font-weight:800}.card-party{position:absolute;left:15px;top:17px;z-index:3;max-width:calc(100% - 57px);font-size:9px;font-weight:650;letter-spacing:.5px;padding:5px 7px;background:#11272270;backdrop-filter:blur(4px);border-radius:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.card-year{position:absolute;top:52px;left:16px;font-family:var(--font-display);font-size:25px;line-height:1;z-index:3;font-weight:700}.card-year small{display:block;font-family:var(--font-text);font-size:7px;font-weight:500;letter-spacing:1px;margin-top:5px;opacity:.7}.card-main{position:absolute;z-index:3;left:15px;right:15px;bottom:17px}.card-first{font-size:12px;opacity:.8}.card-last{font-family:var(--font-display);font-size:22px;font-weight:750;letter-spacing:-.6px;line-height:1.15;margin-top:2px;overflow-wrap:anywhere}.card-role{margin-top:7px;font-size:8px;letter-spacing:1.4px;text-transform:uppercase;opacity:.8}.card-divider{height:1px;background:#ffffff35;margin:12px 0 9px}.card-meta{display:flex;justify-content:space-between;gap:4px;font-size:8px;opacity:.8;align-items:center}.card-meta strong{font-size:11px;color:#fff;display:block;font-weight:550;margin-bottom:2px}.card-outer{position:relative}.compare-star{position:absolute;right:14px;top:15px;z-index:6;border:1px solid #ffffff50;width:25px;height:25px;display:grid;place-items:center;border-radius:50%;background:#203c3a40;color:white;font-size:14px}.compare-star.selected{background:var(--lime);color:var(--ink);border-color:var(--lime)}.person-caption{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:11px 3px 0;font-size:10px;color:#677161}.person-caption span{display:flex;align-items:center;gap:5px}.record-dot{width:5px;height:5px;border-radius:50%;background:#91a57e}.record-dot.warn{background:#c68f4e}.person-caption button{background:transparent;color:#5e7352;padding:0;font-size:14px}.data-note{display:flex;gap:9px;align-items:flex-start;background:#ecefe5;border:1px solid #e2e6d8;border-radius:6px;padding:11px 13px;font-size:10px;color:#67725e;line-height:1.6;margin:23px 0}.load-more{display:block;margin:30px auto 0;background:transparent;border:1px solid #cbd4bf;padding:12px 28px;border-radius:6px;font-size:12px;font-weight:550}.list-grid{display:block}.list-grid .person-wrap{display:flex;position:relative;background:white;padding:12px;border:1px solid var(--line);margin-bottom:8px;border-radius:7px;align-items:center}.list-grid .card-outer{flex:1}.list-grid .player-card{background:transparent;color:var(--ink);height:72px;box-shadow:none;border-radius:5px;overflow:visible}.list-grid .player-card:before,.list-grid .player-card:after,.list-grid .card-party,.list-grid .card-year,.list-grid .card-divider,.list-grid .card-meta{display:none}.list-grid .card-photo{width:55px;height:72px;top:0;border-radius:5px;mix-blend-mode:normal;opacity:1}.list-grid .card-main{left:72px;bottom:9px}.list-grid .card-first,.list-grid .card-last{display:inline;font-size:15px;letter-spacing:0}.list-grid .card-first{margin-right:5px}.list-grid .card-role{font-size:10px}.list-grid .compare-star{color:var(--ink);border-color:var(--line);background:#eef1e6;top:23px;right:12px}.list-grid .person-caption{min-width:100px;display:block;padding:0 8px}.list-grid .person-caption button{display:none}.empty{padding:50px 20px;text-align:center;border:1px dashed #cbd4bf;border-radius:8px;grid-column:1/-1}.empty h3{font-size:19px;margin-bottom:12px}.empty p{font-size:12px;color:var(--muted);line-height:1.8}.empty button{margin-top:18px}footer{border-top:1px solid var(--line);padding:31px 4.2%;display:flex;justify-content:space-between;align-items:center;gap:25px;font-size:10px;line-height:1.9;color:#697163}.footer-brand{font-family:var(--font-display);font-size:22px;letter-spacing:-1px;font-weight:800;color:var(--ink)}.footer-brand span{color:#7b914e}.footer-brand p{font-family:var(--font-text);font-size:10px;font-weight:400;letter-spacing:0;color:#6a7063;margin-top:3px}footer a{color:var(--ink);text-decoration:underline;text-underline-offset:3px}.footer-date{text-align:right}.page-content{margin:43px 6% 65px;max-width:1450px}.page-top{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;margin-bottom:28px}.page-top h1{font-size:39px;letter-spacing:-1.7px;line-height:1.15;margin-bottom:14px}.page-top p{color:var(--muted);max-width:640px;line-height:1.8;font-size:13px}.page-top .eyebrow{color:#69804f}.page-top .eyebrow:before{background:#869d62}.primary{background:var(--ink);color:white;padding:11px 17px;border-radius:6px;font-size:12px;font-weight:550;display:inline-flex;align-items:center;gap:8px}.secondary{background:white;border:1px solid var(--line);padding:10px 16px;border-radius:6px;font-size:12px;display:inline-flex;align-items:center;gap:7px}.party-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.party-tile{background:white;border:1px solid var(--line);border-radius:9px;padding:24px;text-align:left;position:relative;transition:transform .2s}.party-tile:hover{transform:translateY(-3px);border-color:#aab89a}.party-monogram{height:49px;width:49px;border-radius:50%;display:grid;place-items:center;background:color-mix(in srgb,var(--c) 12%,white);color:var(--c);font-weight:800;font-size:13px;margin-bottom:22px}.party-tile h3{font-size:16px;margin-bottom:8px;line-height:1.4;max-width:90%}.party-tile .tile-arrow{position:absolute;bottom:24px;right:23px;font-size:21px}.party-tile p{font-size:11px;color:var(--muted)}.toolbar{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0}.toolbar .search-bar{flex:1;min-width:220px}.toolbar select{background:white;border:1px solid var(--line);border-radius:6px;padding:10px 12px;max-width:250px;font-size:12px}.vote-list{display:flex;flex-direction:column;gap:10px}.vote-row{background:white;border:1px solid var(--line);border-radius:8px;display:grid;grid-template-columns:80px 1fr 190px 24px;gap:22px;align-items:center;width:100%;text-align:left;padding:21px}.vote-row:hover{border-color:#9cad85;box-shadow:0 2px 6px #173a2310}.vote-date{font-size:20px;font-family:var(--font-display);font-weight:700;letter-spacing:-.6px}.vote-date small{display:block;font-family:var(--font-text);font-size:10px;font-weight:400;color:var(--muted);letter-spacing:0;margin-top:5px}.vote-row h3{font-size:13px;line-height:1.65;font-family:var(--font-text);font-weight:550}.tag{display:inline-block;padding:4px 8px;border-radius:4px;font-size:9px;background:#ebf0e3;color:#61774d;margin-top:9px;margin-right:4px}.tag.rejected{background:#f7e9e5;color:#a06559}.tag.neutral{background:#f1f0eb;color:#6e6e5e}.vote-bars{height:7px;display:flex;border-radius:5px;overflow:hidden;gap:2px;background:#f4f4ee;margin-top:10px}.vote-bars i{display:block;height:100%}.yes{background:#729576}.no{background:#c77768}.abstain{background:#d6bd76}.vote-counts{display:flex;justify-content:space-between;gap:8px;font-size:11px;font-weight:600}.vote-counts small{font-size:9px;color:var(--muted);font-weight:400}.vote-legend{display:flex;gap:18px;font-size:10px;color:var(--muted);align-items:center}.vote-legend span:before{content:'';width:6px;height:6px;border-radius:50%;display:inline-block;background:var(--c);margin-right:5px}.program-banner{display:flex;align-items:center;gap:18px;background:#e9efdc;padding:22px;border-radius:8px;margin:25px 0}.program-banner .big{font-family:var(--font-display);font-size:39px;font-weight:750;color:#52683c}.program-banner h3{font-size:14px;margin-bottom:7px}.program-banner p{font-size:12px;color:#667058;line-height:1.7}.program-select{display:flex;gap:8px;flex-wrap:wrap;margin:20px 0}.program-select button{padding:9px 15px;border:1px solid var(--line);border-radius:6px;background:white;font-size:12px}.program-select button.active{background:var(--ink);color:white;border-color:var(--ink)}.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:8px;background:white}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}th,td{padding:20px;border-bottom:1px solid var(--line);vertical-align:top;line-height:1.7}th{background:#edf0e6;font-weight:650}td+td,th+th{border-left:1px solid var(--line)}tr:last-child td{border-bottom:0}.compare-table th:not(:first-child){min-width:220px}.compare-table td:first-child{width:170px;font-weight:600}.table-source{display:block;margin-top:12px;font-size:10px;text-decoration:underline;color:#62714e}.not-listed{color:#6b6f66;font-style:italic;font-size:11px}.source-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:20px}.source-box{padding:26px;border:1px solid var(--line);background:white;border-radius:8px}.source-box h2{font-size:18px;margin-bottom:15px}.source-box p,.source-box li{font-size:12px;line-height:1.9;color:#66705f}.source-box ul{padding-left:18px}.source-box a{color:var(--ink);text-decoration:underline}.source-box.full{grid-column:1/-1}.loading{min-height:380px;display:flex;justify-content:center;align-items:center;gap:14px;color:var(--muted)}.spinner{width:18px;height:18px;border:2px solid #c8d2b9;border-top-color:var(--ink);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}dialog{border:0;border-radius:12px;padding:0;width:min(900px,94vw);max-height:89vh;background:var(--paper);color:var(--ink);box-shadow:0 25px 100px #0004}dialog::backdrop{background:#08241ecc;backdrop-filter:blur(5px)}.close-dialog{position:sticky;float:right;top:15px;right:15px;margin:15px 15px -48px 0;z-index:10;width:32px;height:32px;border-radius:50%;background:#ffffffdd;color:var(--ink);font-size:24px}.profile-head{padding:37px 38px 30px;background:#e9eee1;display:flex;gap:24px;align-items:center}.profile-photo{width:97px;height:126px;border-radius:7px;object-fit:cover;object-position:top;background:#d9e0ce}.profile-head h2{font-size:29px;letter-spacing:-1px;line-height:1.2;margin-bottom:8px}.profile-head p{color:#647357;font-size:12px;line-height:1.8}.profile-tabs{display:flex;gap:23px;border-bottom:1px solid var(--line);padding:0 35px;overflow-x:auto;background:var(--paper)}.profile-tabs button{white-space:nowrap;background:transparent;padding:19px 0 16px;font-size:11px;color:#697061;border-bottom:2px solid transparent}.profile-tabs button.active{color:var(--ink);border-color:var(--forest);font-weight:600}.profile-body{padding:29px 36px 38px;min-height:240px}.profile-body h3{font-size:17px;margin-bottom:17px}.facts{display:grid;grid-template-columns:1fr 1fr;gap:19px 30px}.fact{border-bottom:1px solid var(--line);padding-bottom:13px}.fact small{display:block;font-size:10px;color:#687061;margin-bottom:7px}.fact span{font-size:13px;line-height:1.7}.source-link{font-size:11px;text-decoration:underline;color:#637a4c;display:inline-block;margin:15px 16px 0 0}.timeline{border-left:1px solid #cdd7c0;padding:0 0 0 22px;margin-left:5px}.timeline-item{position:relative;margin:0 0 23px}.timeline-item:before{content:'';width:7px;height:7px;background:#7b9360;border:4px solid var(--paper);box-sizing:content-box;border-radius:50%;position:absolute;left:-30px;top:0}.timeline-item time{font-size:10px;color:#66725b}.timeline-item h4{font-size:12px;margin:7px 0;line-height:1.7}.timeline-item p{font-size:11px;color:var(--muted);line-height:1.7}.legal-case{padding:19px;border:1px solid #e3d6c1;background:#f4f0e6;border-radius:7px;margin:13px 0}.legal-case h4{margin:0 0 12px;font-size:13px}.legal-case p{font-size:12px;line-height:1.8;margin-top:8px}.legal-case .source-link{margin-top:10px}.profile-note{font-size:11px;line-height:1.85;color:#68715e;background:#e9eee1;border-radius:6px;padding:16px;margin-top:20px}.profile-vote{display:block;text-align:left;width:100%;background:white;padding:15px;border:1px solid var(--line);border-radius:6px;font-size:12px;line-height:1.7;margin-bottom:8px}.profile-vote small{display:block;color:var(--muted);margin-bottom:4px}.compare-tray{position:fixed;bottom:23px;left:50%;transform:translateX(-50%);z-index:20;background:var(--ink);padding:12px 14px 12px 20px;display:flex;gap:24px;align-items:center;color:white;border-radius:9px;box-shadow:0 8px 30px #10281940;max-width:94vw;width:max-content}.compare-tray[hidden]{display:none}.compare-tray span{font-size:12px}.compare-tray button{background:var(--lime);color:var(--ink);padding:10px 15px;border-radius:5px;font-size:11px;font-weight:600}.compare-tray .clear{background:transparent;color:#b6c6b4;padding:0}#toast{position:fixed;bottom:85px;left:50%;transform:translateX(-50%);padding:13px 20px;background:var(--ink);border-radius:6px;color:white;font-size:12px;z-index:50;display:none;box-shadow:0 5px 25px #0002}.modal-heading{padding:38px 38px 24px;background:#e9eee1}.modal-heading h2{font-size:24px;letter-spacing:-.5px;line-height:1.5}.modal-heading p{font-size:11px;color:var(--muted);line-height:1.8;margin-top:10px}.vote-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin:20px 0}.vote-summary div{padding:17px;background:white;border:1px solid var(--line);border-radius:6px}.vote-summary strong{display:block;font-size:28px;font-family:var(--font-display);margin-bottom:5px}.vote-summary small{font-size:11px;color:var(--muted)}.group-vote{background:white;border:1px solid var(--line);border-radius:6px;padding:15px;margin:10px 0}.group-vote summary{cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:15px;font-size:12px}.group-vote summary .vote-counts{min-width:120px}.members{padding-top:15px;border-top:1px solid var(--line);margin-top:15px}.members h4{font-size:10px;color:var(--muted);text-transform:uppercase;letter-spacing:1px;margin:12px 0 8px}.members button{background:#edf1e6;border:1px solid var(--line);font-size:10px;padding:5px 7px;border-radius:4px;margin:3px}.mobile-filter-button{display:none}.export{font-size:10px;background:transparent;padding:0;color:#637059;text-decoration:underline}.profile-filters{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.profile-filters select{max-width:100%;padding:8px;border:1px solid var(--line);border-radius:4px;background:white;font-size:11px}.coverage-bar{padding:12px 4.2%;background:#e9eddf;color:#637357;font-size:10px;display:flex;justify-content:space-between;gap:20px}.coverage-bar a{text-decoration:underline}.party-kind{display:flex;gap:12px;margin:24px 0}.party-kind button{border:1px solid var(--line);background:white;border-radius:6px;padding:11px 16px;font-size:12px}.party-kind button.active{background:var(--ink);color:white}.section-subtitle{font-size:18px;margin:32px 0 18px}.election-note{font-size:12px;line-height:1.8;color:var(--muted)}.program-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:20px}.program-card{padding:21px;background:white;border:1px solid var(--line);border-radius:7px}.program-card h3{font-size:15px;margin:12px 0}.program-card p{font-size:11px;line-height:1.8;color:var(--muted)}
@media(min-width:1500px){.card-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.player-card{height:310px}.card-photo{height:267px}.hero h1{font-size:52px}.hero-visual{right:110px}}@media(max-width:1150px){.header{gap:25px}.header nav{gap:20px}.card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-visual{right:-40px;opacity:.6}.workspace{gap:23px;grid-template-columns:205px minmax(0,1fr)}.hero h1{font-size:40px}.player-card{height:285px}.stat{padding-left:17px}.stat strong{font-size:22px}.header .brand{font-size:24px}}@media(max-width:850px){.header{padding:0 5%;height:auto;min-height:80px;flex-wrap:wrap;gap:0;justify-content:space-between}.header nav{order:3;width:100%;justify-content:space-between;height:48px;flex:auto;gap:15px}.header nav a{font-size:11px}.brand{margin-top:17px;margin-bottom:12px}.selection-button{margin-top:6px}.hero{margin:20px 5% 0;padding:30px;min-height:275px}.hero-visual{right:-120px;opacity:.27}.hero h1{font-size:37px}.hero p{max-width:340px}.visual-caption{display:none}.stats{margin:0 5%;grid-template-columns:repeat(2,1fr);gap:20px}.stat:nth-child(2){border:0}.stat:nth-child(3){padding-left:0}.workspace{margin:26px 5% 40px;grid-template-columns:1fr}.filters{display:none;border:1px solid var(--line);border-radius:8px;padding:20px;background:#fff}.filters.open{display:block}.mobile-filter-button{display:inline-flex;background:white;border:1px solid var(--line);padding:8px 10px;border-radius:5px;font-size:11px;margin-bottom:12px}.card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.party-grid,.program-cards{grid-template-columns:repeat(2,1fr)}.page-content{margin:30px 5% 50px}.page-top h1{font-size:33px}.page-top{display:block}.page-top .primary{margin-top:20px}.vote-row{grid-template-columns:60px 1fr 16px;gap:15px}.vote-row .vote-breakdown{display:none}.source-grid{grid-template-columns:1fr}.source-box.full{grid-column:auto}.footer-date{display:none}.coverage-bar{padding:12px 5%}.stats .stat-icon{width:30px;height:30px}}
@media(max-width:540px){.hero{padding:27px 23px;min-height:280px}.hero h1{font-size:33px;letter-spacing:-1.5px}.hero p{font-size:12px;max-width:270px}.eyebrow{font-size:8px}.hero-visual{right:-175px}.stat{padding-left:14px;gap:9px}.stat strong{font-size:21px}.stat span{font-size:9px;max-width:83px}.stat .stat-icon{display:none}.card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}.player-card{height:265px}.card-photo{height:224px}.card-last{font-size:20px}.card-main{left:13px;right:13px}.card-party{left:13px;font-size:8px}.card-year{font-size:22px;left:14px}.card-meta{font-size:7px}.card-meta strong{font-size:10px}.person-caption{font-size:9px}.browse-heading{flex-wrap:wrap;margin-top:22px}.browse-heading h2{font-size:18px}.browse-heading .tools{margin-left:auto}.sort-select{max-width:130px}.view-toggle{display:none}.browse-heading h2 span{display:block;margin:5px 0 0}.card-role{font-size:7px}.party-grid,.program-cards{grid-template-columns:1fr}.profile-head{padding:30px 23px 23px;gap:16px}.profile-photo{width:73px;height:98px}.profile-head h2{font-size:23px}.profile-tabs{padding:0 23px;gap:20px}.profile-body{padding:24px 23px}.facts{gap:15px}.fact span{font-size:11px}.profile-head p{font-size:10px}.modal-heading{padding:40px 23px 24px}.modal-heading h2{font-size:20px}.group-vote summary{font-size:10px}.vote-summary{gap:7px}.vote-summary div{padding:12px}.vote-summary strong{font-size:24px}.vote-row{padding:16px;grid-template-columns:48px 1fr 12px;gap:12px}.vote-row h3{font-size:11px}.vote-date{font-size:18px}.vote-date small{font-size:9px}.program-banner{align-items:flex-start;padding:17px}.program-banner .big{font-size:28px}.program-banner p{font-size:11px}.compare-tray{gap:12px;padding:10px 12px}.compare-tray span{font-size:10px}.compare-tray button{font-size:10px;padding:9px 10px}.coverage-bar span{max-width:70%}.coverage-bar{font-size:9px}footer{padding:25px 5%;align-items:flex-start}footer>div:nth-child(2){font-size:9px;text-align:right;max-width:150px}.footer-brand{font-size:20px}.footer-brand p{font-size:9px;max-width:140px}.program-select button{font-size:10px}.list-grid .card-last,.list-grid .card-first{font-size:12px}.list-grid .person-caption{min-width:65px}.list-grid .card-role{font-size:8px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Page Stats : tableaux de chiffres compacts */
.stats-table th:not(:first-child){min-width:0}
.stats-table th,.stats-table td{padding:9px 12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.stats-table td:first-child{white-space:normal;min-width:190px}
.stats-table td.bar-cell{min-width:160px;width:200px}
.agreement td{text-align:center}
.agreement th{font-size:11px;white-space:normal;min-width:70px;vertical-align:bottom}

/* Chiffres cliquables et page Actualité */
.cell-link{background:none;border:0;padding:0;font:inherit;color:inherit;text-align:left;cursor:pointer;text-decoration:underline dotted;text-underline-offset:3px}
.cell-link:hover,.cell-link:focus-visible{text-decoration-style:solid;color:var(--forest)}
.news-item{padding:18px 0;border-bottom:1px solid var(--line)}
.news-item small{color:var(--muted);font-size:12px}
.news-item h3{font-size:17px;margin:6px 0 6px;line-height:1.35}
.news-item .news-link{color:var(--ink);text-decoration:none}
.news-item .news-link:hover{text-decoration:underline}
.news-item p{margin:0 0 8px;color:var(--muted);font-size:14px;line-height:1.5}
.news-people{display:flex;flex-wrap:wrap;gap:6px}
.news-people .chip{font-size:12px;padding:4px 10px}

/* Cartes : portrait en couleurs naturelles, couleur du groupe en bas de carte seulement, textes lisibles */
.card-photo{mix-blend-mode:normal;opacity:1;filter:saturate(.95) contrast(1.03);object-position:center 18%;top:0;height:100%;transition:transform .35s ease}
.player-card:hover .card-photo{transform:scale(1.035)}
.player-card:after{background:linear-gradient(180deg,rgba(9,22,19,.5) 0%,rgba(9,22,19,0) 24%),linear-gradient(0deg,var(--card) 0%,var(--card) 24%,color-mix(in srgb,var(--card) 70%,transparent) 38%,transparent 60%)}
.player-card .portrait-placeholder{opacity:.28;top:64px;letter-spacing:-2px}
.card-year{font-size:19px;top:48px;text-shadow:0 1px 8px rgba(0,0,0,.35)}
.card-year small{font-size:7px;opacity:.85}
.card-main{text-shadow:0 1px 10px rgba(0,0,0,.25)}
.card-role{opacity:.92}
.card-party{background:rgba(9,22,19,.55);letter-spacing:.6px}
.compare-star{background:rgba(9,22,19,.35);border-color:rgba(255,255,255,.55);transition:background .2s,transform .2s}
.compare-star:hover{transform:scale(1.08);background:rgba(9,22,19,.6)}
.person-caption{line-height:1.35}
.person-caption span{align-items:flex-start}
.record-dot{margin-top:4px;flex:none}
.list-grid .card-photo{height:72px;object-position:center 15%}
.list-grid .player-card:hover .card-photo{transform:none}
/* Portrait de la fiche détaillée : plus grand et net */
.profile-photo{object-fit:cover;object-position:center 15%}
/* Onglets des fiches : défilement horizontal sur petit écran, sans barre visible */
.profile-tabs{overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;scroll-snap-type:x proximity}
.profile-tabs::-webkit-scrollbar{display:none}
.profile-tabs button{flex:none;scroll-snap-align:start;white-space:nowrap}
/* Page Stats : anciens groupes repliés */
.older-groups{margin:4px 0 18px}
.older-groups summary{cursor:pointer;font-size:13px;color:var(--muted);padding:6px 0;list-style:none}
.older-groups summary::-webkit-details-marker{display:none}
.older-groups summary:before{content:'+ ';font-weight:700;color:var(--forest)}
.older-groups[open] summary:before{content:'− '}
.agreement td,.agreement th{padding:8px 6px}
@media(max-width:540px){.stats-table th,.stats-table td{padding:8px 9px}.stats-table td:first-child{min-width:150px}}
/* Tuiles des partis : visages des membres */
.tile-faces{display:flex;align-items:center;margin:14px 0 4px;padding-left:6px}
.tile-faces img{width:34px;height:34px;border-radius:50%;object-fit:cover;object-position:center 18%;border:2px solid var(--white);margin-left:-8px;background:#d9e0ce;box-shadow:0 1px 3px #1d3a2f22}
.tile-faces span{margin-left:8px;font-size:12px;color:var(--muted);font-weight:600}
/* Lisibilité : aucun texte de carte sous 9 px */
.card-role{font-size:9px;letter-spacing:1.1px}
.card-meta{font-size:9px}
.card-meta strong{font-size:12px}
.card-year small{font-size:8px;letter-spacing:.8px}
.card-party{font-size:10px}
.person-caption{font-size:11px}
.list-grid .card-role{font-size:11px}
/* Page Élections */
.el-suggest{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}
.el-head h2{font-family:var(--font-display);font-size:30px;margin:18px 0 4px;letter-spacing:-.6px}
.el-elus{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:10px;margin-top:10px}
.el-elu{background:var(--white);border:1px solid var(--line);border-radius:10px;padding:12px 14px;font-size:14px}
.el-elu small{display:block;color:var(--muted);font-size:11px;margin-bottom:4px}
.el-list{display:grid;gap:14px;margin-top:14px}
.el-card{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:16px 18px}
.el-card header{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 14px;margin-bottom:10px}
.el-card h4{margin:0;font-size:16px;font-family:var(--font-display)}
.el-card header .text-button{margin-left:auto;font-size:12px}
.el-row{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(80px,1fr) 92px;gap:12px;align-items:center;padding:5px 0;font-size:13px}
.el-name{overflow:hidden;text-overflow:ellipsis}
.el-bar{height:8px;background:#eef1e6;border-radius:5px;overflow:hidden}
.el-bar i{display:block;height:100%;background:var(--forest);border-radius:5px}
.el-num{text-align:right;line-height:1.2}
.el-num small{display:block;color:var(--muted);font-size:11px}
.el-more summary{cursor:pointer;color:var(--muted);font-size:12px;padding:6px 0}
@media(max-width:540px){.el-row{grid-template-columns:1fr 70px;}.el-bar{grid-column:1/-1;order:3}.el-head h2{font-size:24px}}

.share-btn{font-size:12px;margin-top:4px}

.hatvp-doc{display:flex;flex-wrap:wrap;gap:4px 12px;align-items:baseline;padding:4px 0}
/* Promesses présidentielles */
.prom-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px;margin-top:14px}
.prom-card{text-align:left;background:var(--white);border:1px solid var(--line);border-radius:14px;padding:18px;cursor:pointer;transition:border-color .2s,box-shadow .2s}
.prom-card.active{border-color:var(--forest);box-shadow:0 0 0 2px var(--forest) inset}
.prom-card h3{margin:6px 0 2px;font-family:var(--font-display);font-size:20px}
.prom-score{display:flex;gap:22px;margin:14px 0 8px}
.prom-score strong{display:block;font-family:var(--font-display);font-size:28px;letter-spacing:-.5px}
.prom-score small{color:var(--muted);font-size:11px}
.prom-bars{height:10px;margin:6px 0 8px}
.prom-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin-top:12px;font-size:12px;color:var(--muted)}
.prom-legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:6px;vertical-align:-1px}
.prom-list{display:grid;gap:8px;margin-top:12px}
.prom-row{display:grid;grid-template-columns:150px 1fr 20px;gap:14px;align-items:center;text-align:left;background:var(--white);border:1px solid var(--line);border-radius:10px;padding:12px 14px;cursor:pointer}
.prom-row:hover{border-color:var(--forest)}
.prom-status{font-size:11px;font-weight:650;color:#fff;background:var(--c);border-radius:20px;padding:5px 10px;text-align:center}
.prom-text b{display:block;font-weight:600;font-size:14px;line-height:1.35}
.prom-text small{color:var(--muted);font-size:12px}
.prom-quote{margin:8px 0 10px;padding:12px 16px;border-left:3px solid var(--forest);background:var(--paper);font-style:italic}
.prom-tracker{padding:8px 0;border-bottom:1px solid var(--line);font-size:14px}
@media(max-width:540px){.prom-row{grid-template-columns:1fr;gap:6px}.prom-row>span:last-child{display:none}.prom-status{justify-self:start}}

/* Typographie à la manière d'Apple : police système (SF Pro sur Apple, Segoe UI sur Windows, Roboto sur Android),
   titres semi-gras à l'espacement resserré, texte lissé. Aucune police téléchargée. */
:root{--font-text:-apple-system,BlinkMacSystemFont,"SF Pro Text","Helvetica Neue","Segoe UI",Roboto,"Noto Sans",Arial,sans-serif;--font-display:-apple-system,BlinkMacSystemFont,"SF Pro Display","Helvetica Neue","Segoe UI",Roboto,"Noto Sans",Arial,sans-serif}
html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}
body{font-family:var(--font-text);font-size:15px;line-height:1.47;letter-spacing:-.01em}
button,input,select,textarea{font-family:inherit;letter-spacing:inherit}
h1,h2,h3,h4,.card-last,.party-tile h3,.prom-card h3,.el-head h2{font-family:var(--font-display);font-weight:600}
h1{letter-spacing:-.028em;line-height:1.08}
h2{letter-spacing:-.018em}
h3,h4{letter-spacing:-.012em}
.eyebrow,.card-role,.card-year small,.filter-label{letter-spacing:.06em}
.card-meta{letter-spacing:.01em;gap:8px}
.card-meta>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.card-meta>span:last-child{max-width:58%}
.card-last{letter-spacing:-.02em;font-weight:700}
.stat strong,.prom-score strong,.vote-summary strong{font-family:var(--font-display);font-weight:600;letter-spacing:-.025em}
small,.hint,.subtle{letter-spacing:0}

/* Filtres de groupes : nom complet + sigle */
.filter-option.group-opt{align-items:flex-start;font-size:13px;line-height:1.32;margin:11px 0}.group-opt input{margin-top:1px}.group-opt .color-dot{width:11px;height:11px;margin-top:3px;box-shadow:0 0 0 1px rgba(0,0,0,.1)}.go-name{flex:1;min-width:0}.go-sigle{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;background:color-mix(in srgb,var(--c) 22%,#fff);border:1px solid color-mix(in srgb,var(--c) 45%,#fff);font-size:10.5px;font-weight:600;letter-spacing:.02em;color:var(--ink);vertical-align:1px;white-space:nowrap}.group-opt .count{font-size:11px;margin-top:2px}

/* Logo « Les rangs » */
.brand-mark{width:38px;height:auto;transform:none;margin-right:2px;color:var(--forest);display:inline-flex}.brand-mark svg{width:100%;height:auto;display:block}.mark-core{fill:#8fb23a}.brand-dot{color:#8fb23a}
.footer-brand .brand-mark{width:28px;margin-right:8px;vertical-align:-1px}.footer-brand>span.brand-mark{color:var(--forest)}
@media (max-width:700px){.brand-mark{width:32px}}

/* Légende de l’illustration sous les sièges, sans chevauchement */
.hero-visual{top:-10px}.visual-caption{bottom:12px;right:100px}

/* Page Stats en graphiques */
.stats-page h2{font-size:24px;letter-spacing:-.022em;margin:0 0 6px}
.stats-page h3{font-size:15px;letter-spacing:-.01em;margin:0 0 12px;font-weight:600}
.kpi-row{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin:26px 0 18px}
.kpi{all:unset;box-sizing:border-box;background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px 18px 16px;display:flex;flex-direction:column;gap:2px;cursor:default}
button.kpi{cursor:pointer;transition:border-color .15s,transform .15s}button.kpi:hover{border-color:#b9c7b0;transform:translateY(-1px)}
.kpi strong{font-family:var(--font-display);font-size:30px;font-weight:700;letter-spacing:-.03em;color:var(--forest);line-height:1.1}
.kpi span{font-size:13px;font-weight:600;color:var(--ink)}.kpi small{font-size:12px;color:var(--muted)}
.stats-nav{position:sticky;top:0;z-index:5;display:flex;gap:6px;overflow-x:auto;padding:10px 0;margin-bottom:8px;background:color-mix(in srgb,var(--paper) 92%,transparent);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);scrollbar-width:none}
.stats-nav button{all:unset;cursor:pointer;white-space:nowrap;font-size:13px;font-weight:500;padding:7px 14px;border-radius:999px;color:var(--ink);background:#fff;border:1px solid var(--line)}
.stats-nav button:hover{background:var(--forest);color:#fff;border-color:var(--forest)}
.chart-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:26px 28px;margin:18px 0;scroll-margin-top:64px}
.chart-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;flex-wrap:wrap;margin-bottom:14px}
.chart-head p{margin:0;color:var(--muted);font-size:14px;max-width:640px;line-height:1.5}
.chart-head .party-kind{margin:0}.chart-head select{max-width:320px}
.chart-sub{margin-top:28px!important}
.chart-card .toolbar{margin:0 0 14px}
.chart-legend{display:flex;flex-wrap:wrap;gap:6px 16px;margin:6px 0 14px;font-size:12.5px;color:var(--ink)}
.chart-legend span{display:inline-flex;align-items:center;gap:7px}.chart-legend i{width:11px;height:11px;border-radius:3px;display:inline-block}
.gchips{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:4px 0 10px}
.gchips-label{font-size:12px;color:var(--muted);margin-right:4px}
.gchip{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:600;padding:5px 11px 5px 9px;border-radius:999px;border:1px solid var(--line);background:#fff;color:#686e68;transition:all .15s}
.gchip i{width:9px;height:9px;border-radius:50%;background:var(--c);opacity:.35}
.gchip small{font-weight:500;font-size:11px;opacity:.7}
.gchip.active{color:var(--ink);border-color:color-mix(in srgb,var(--c) 55%,#fff);background:color-mix(in srgb,var(--c) 12%,#fff)}.gchip.active i{opacity:1}
.gchip:focus-visible,.sb-seg:focus-visible,.hb-bar:focus-visible,.heat button:focus-visible{outline:2px solid var(--forest);outline-offset:2px}
.gchip-act{all:unset;cursor:pointer;font-size:12px;color:var(--muted);text-decoration:underline;text-underline-offset:3px;padding:4px 6px}
.older-groups summary{font-size:12.5px;color:var(--muted);cursor:pointer;margin:2px 0 8px}
.sb-chart{display:flex;flex-direction:column;gap:9px;margin:4px 0 10px}
.sb-row,.hb-row{display:grid;grid-template-columns:minmax(150px,240px) 1fr 110px;align-items:center;gap:14px}
.sb-chart.compact .sb-row{grid-template-columns:minmax(120px,190px) 1fr 40px}
.sb-label{display:flex;align-items:center;gap:8px;font-size:13px;min-width:0}
.sb-label span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sb-label i{width:10px;height:10px;border-radius:50%;flex-shrink:0}
.sb-short{font-size:10.5px;font-weight:600;color:var(--muted);margin-left:auto;flex-shrink:0}
.sb-bar{display:flex;gap:2px;height:26px;border-radius:6px;overflow:hidden;background:#f2f3ee}
.sb-seg{all:unset;cursor:pointer;display:flex;align-items:center;justify-content:center;min-width:2px;font-size:11.5px;font-weight:600;transition:filter .15s}
.sb-seg:hover,.hb-bar:hover,.col-stack button:hover,.parity-bar:hover{filter:brightness(1.08) saturate(1.1)}
.sb-right{font-size:12.5px;text-align:right;white-space:nowrap}
.hb-chart{display:flex;flex-direction:column;gap:8px}
.hb-row{grid-template-columns:minmax(140px,220px) 1fr}
.hb-track{display:flex;align-items:center;gap:10px;min-width:0}
.hb-bar{all:unset;cursor:pointer;display:block;height:16px;border-radius:0 5px 5px 0;flex-shrink:0}
.hb-val{font-size:12.5px;white-space:nowrap;font-variant-numeric:tabular-nums}
.heat-wrap{overflow-x:auto;margin:0 -4px;padding:0 4px}
.heat{border-collapse:separate;border-spacing:3px;font-size:12px}
.heat thead th{font-weight:500;color:var(--muted);vertical-align:bottom;height:120px;padding:0 0 6px}
.heat thead th span{display:inline-block;writing-mode:vertical-rl;transform:rotate(180deg);white-space:nowrap;max-height:118px;overflow:hidden;text-overflow:ellipsis}
.heat tbody th{text-align:left;font-weight:600;white-space:nowrap;padding-right:8px;font-size:12px}
.heat th i{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px;vertical-align:0}
.heat td{padding:0}.heat td.na{text-align:center;color:#c1c6bd;width:42px}
.heat button{all:unset;cursor:pointer;display:grid;place-items:center;width:42px;height:32px;border-radius:6px;font-weight:600;font-size:11.5px;font-variant-numeric:tabular-nums}
.heat button.on{box-shadow:inset 0 0 0 2px var(--forest)}
.agree-heat thead th{height:auto;writing-mode:initial}.agree-heat .col-short{font-size:11px;white-space:nowrap;padding:0 2px 6px;text-align:center}.agree-heat .col-short i{display:block;margin:0 auto 4px}
.heat-scale{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--muted);margin-top:12px}
.heat-scale i{width:180px;height:9px;border-radius:5px;background:linear-gradient(90deg,#c4604f,#efeee8,#4f8a5e)}
.pairs-grid,.two-charts{display:grid;grid-template-columns:1fr 1fr;gap:36px}
.pair-row{display:grid;grid-template-columns:150px 1fr;gap:12px;align-items:center;margin-bottom:8px}
.pair-names{display:flex;align-items:center;gap:5px;font-size:12.5px;font-weight:600;white-space:nowrap}
.pair-names i{width:9px;height:9px;border-radius:50%}.pair-names em{font-style:normal;font-weight:400;color:var(--muted);margin:0 2px}
.col-chart,.histo{display:flex;align-items:flex-end;gap:10px;height:250px;padding-top:6px;border-bottom:1px solid var(--line);margin-bottom:34px}
.col{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;height:100%;position:relative;min-width:0}
.col-top{font-size:11.5px;color:var(--muted);margin-bottom:4px;font-variant-numeric:tabular-nums}
.col-stack{width:min(64px,80%);display:flex;flex-direction:column;gap:2px;border-radius:6px 6px 0 0;overflow:hidden}
.col-stack button{all:unset;cursor:pointer;display:block;min-height:2px}
.col-x{position:absolute;bottom:-22px;font-size:12px;font-weight:600}
.col-pct{position:absolute;bottom:-38px;font-size:11px;color:var(--muted);white-space:nowrap}
.histo{height:210px;margin-bottom:28px}.histo .col-stack{width:80%}
.histo-bar{display:block;height:100%;background:#4f8a5e;border-radius:6px 6px 0 0}
.histo .col-x{font-weight:500;font-size:11px}
.axis-title{font-size:12px;color:var(--muted);text-align:center;margin:0}
.rank-list{display:flex;flex-direction:column}
.rank-row{display:grid;grid-template-columns:34px minmax(150px,220px) minmax(120px,260px) 1fr;gap:12px;align-items:center;padding:8px 0;border-bottom:1px solid #eef0ea;font-size:13px}
.rank-n{font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums;text-align:right}
.rank-name{font-weight:600;text-align:left}.rank-meta{color:var(--muted);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rank-bar{background:#9cbf8a;height:10px;cursor:default}
.hemi-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.hemi-card{border:1px solid #eef0ea;border-radius:16px;padding:16px}
.hemi-card h3{font-size:14px;margin-bottom:6px}
.hemi-svg{width:100%;height:auto;display:block}
.hemi-total{font:700 15px var(--font-display);fill:var(--forest);letter-spacing:-.02em}.hemi-sub{font-size:6px;fill:var(--muted)}
.hemi-legend{display:flex;flex-wrap:wrap;gap:4px;margin-top:8px}
.hemi-legend button{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:5px;font-size:11.5px;padding:3px 8px;border-radius:999px;background:#f4f5f0}
.hemi-legend button:hover{background:#e7ebe1}.hemi-legend i{width:8px;height:8px;border-radius:50%}.hemi-legend b{font-weight:600}
.parity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:28px}
.parity-head{display:flex;justify-content:space-between;font-size:13px;font-weight:600;margin-bottom:10px;padding-bottom:6px;border-bottom:1px solid var(--line)}
.parity-row{display:grid;grid-template-columns:72px 1fr 48px;gap:8px;align-items:center;margin-bottom:6px;font-size:12px}
.parity-row span{display:flex;align-items:center;gap:6px;font-weight:600;white-space:nowrap;overflow:hidden}.parity-row span i{width:8px;height:8px;border-radius:50%;flex-shrink:0}
.parity-row em{font-style:normal;text-align:right;font-variant-numeric:tabular-nums}
.parity-track{position:relative;height:12px;background:#f0f1ec;border-radius:6px}
.parity-bar{all:unset;cursor:pointer;display:block;height:100%;background:#b0708f;border-radius:6px}
.parity-mid{position:absolute;left:50%;top:-3px;bottom:-3px;width:1.5px;background:var(--ink);opacity:.45}
.data-table{margin-top:14px}.data-table summary{cursor:pointer;font-size:13px;font-weight:500;color:var(--forest);padding:6px 0}.data-table[open] summary{margin-bottom:8px}
.empty-chart{color:var(--muted);font-size:13px;padding:12px 0}
.chart-tip{position:fixed;z-index:1000;display:none;pointer-events:none;max-width:300px;background:#10261f;color:#fff;font-size:12.5px;line-height:1.45;padding:9px 12px;border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.18);white-space:pre-line}
@media(max-width:1000px){.kpi-row{grid-template-columns:repeat(3,1fr)}.hemi-grid,.parity-grid{grid-template-columns:1fr}.pairs-grid,.two-charts{grid-template-columns:1fr;gap:24px}}
@media(max-width:640px){.kpi-row{grid-template-columns:1fr 1fr}.kpi strong{font-size:24px}.chart-card{padding:18px 16px;border-radius:18px}.sb-row{grid-template-columns:1fr 70px;gap:6px 10px}.sb-row .sb-label{grid-column:1/-1}.sb-row .sb-bar{grid-column:1}.hb-row{grid-template-columns:1fr;gap:4px}.rank-row{grid-template-columns:28px 1fr;}.rank-row .rank-meta{grid-column:2}.rank-row .hb-track{grid-column:2}.col-chart{gap:4px}.col-pct{display:none}.col-chart{margin-bottom:28px}.pair-row{grid-template-columns:1fr}}
.heat th,.heat td{background:none!important;border:0!important;padding:0;min-width:0}
.heat tbody th{padding:0 10px 0 0}.heat thead th{padding:0 0 6px}
.sb-row{grid-template-columns:minmax(180px,290px) 1fr 90px}
.sb-seg span{white-space:nowrap}

/* Page Actu */
.live-pill{display:inline-flex;align-items:center;gap:8px;margin-top:14px;font-size:12.5px;font-weight:500;color:var(--forest);background:#e9f0de;padding:6px 12px;border-radius:999px}
.live-pill i{width:8px;height:8px;border-radius:50%;background:#4f8a5e;box-shadow:0 0 0 0 rgba(79,138,94,.6);animation:livePulse 2s infinite}
@keyframes livePulse{0%{box-shadow:0 0 0 0 rgba(79,138,94,.55)}70%{box-shadow:0 0 0 8px rgba(79,138,94,0)}100%{box-shadow:0 0 0 0 rgba(79,138,94,0)}}
@media (prefers-reduced-motion:reduce){.live-pill i{animation:none}}
.actu-kpis{grid-template-columns:repeat(4,1fr)}
.pav{--s:40px;width:var(--s);height:var(--s);border-radius:50%;flex-shrink:0;display:inline-grid;place-items:center;overflow:hidden;background:color-mix(in srgb,var(--c) 18%,#fff);box-shadow:0 0 0 2px #fff,0 0 0 3.5px var(--c)}
.pav img{width:100%;height:100%;object-fit:cover;object-position:50% 18%}.pav b{font-size:calc(var(--s)*.36);font-weight:700;color:var(--ink)}
.pav.sm{--s:22px;box-shadow:0 0 0 1.5px var(--c)}.pav.lg{--s:68px}.pav.xl{--s:104px;box-shadow:0 0 0 4px var(--forest),0 0 0 6px var(--c)}
.une-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;grid-auto-rows:auto;gap:14px;margin-bottom:12px}
.une-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px;display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s}
.une-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(21,62,50,.08)}
.une-card.lead{grid-row:span 2;background:var(--forest);color:#fff;border-color:var(--forest);padding:26px;position:relative;overflow:hidden}
.une-card.lead::after{content:"";position:absolute;right:-90px;bottom:-120px;width:300px;height:300px;border-radius:50%;border:38px solid rgba(222,237,171,.07);pointer-events:none}
.une-faces{display:flex;margin-bottom:20px}.une-faces .pav+.pav{margin-left:-22px}
.une-body{display:flex;flex-direction:column;gap:10px;flex:1;position:relative;z-index:1}
.une-card h3{font-size:17px;line-height:1.3;letter-spacing:-.015em;margin:0;font-weight:600}
.une-card.lead h3{font-size:26px;line-height:1.18;letter-spacing:-.025em}
.une-card.lead .news-link{color:#fff}.une-card.lead p{color:#c9d8cf;font-size:15px;line-height:1.5;margin:0}
.une-card .news-link{color:var(--ink);text-decoration:none}.une-card .news-link:hover{text-decoration:underline;text-underline-offset:3px}
.une-sources{display:flex;flex-wrap:wrap;gap:5px}
.une-card.lead .src-pill{background:rgba(255,255,255,.1);color:#fff}
.une-card.lead .pchip{background:rgba(255,255,255,.1);color:#fff}.une-card.lead time{color:#a9bfb3}
.une-more{all:unset;cursor:pointer;margin-top:auto;padding-top:6px;font-size:13px;font-weight:600;color:var(--forest)}.une-card.lead .une-more{color:var(--lime)}.une-more:hover{text-decoration:underline}
.faces-row{display:flex;gap:10px;overflow-x:auto;padding:4px 2px 14px;scroll-snap-type:x proximity;scrollbar-width:thin}
.face{all:unset;cursor:pointer;scroll-snap-align:start;flex:0 0 118px;display:flex;flex-direction:column;align-items:center;gap:6px;text-align:center;background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 8px 12px;position:relative;transition:border-color .15s,transform .15s}
.face:hover{transform:translateY(-2px);border-color:#b9c7b0}.face.active{border-color:var(--forest);box-shadow:inset 0 0 0 1px var(--forest)}
.face b{font-size:12.5px;font-weight:600;line-height:1.25;color:var(--ink);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin-top:4px}
.face small{font-size:11.5px;color:var(--muted)}
.face-rank{position:absolute;top:8px;left:10px;font-size:11px;font-weight:700;color:var(--muted)}
.actu-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:28px;align-items:start}
.actu-side{position:sticky;top:16px;display:flex;flex-direction:column;gap:14px}
.side-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:16px 18px}
.side-card h3{font-size:13.5px;font-weight:600;margin:0 0 12px}
.mini-cols{display:flex;align-items:flex-end;gap:4px;height:70px}
.mc{flex:1;height:100%;display:flex;align-items:flex-end}.mc i{display:block;width:100%;background:#9cbf8a;border-radius:3px 3px 0 0}.mc:last-child i{background:var(--forest)}.mc:hover i{background:#4f8a5e}
.mini-axis{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin-top:6px}
.src-row{all:unset;cursor:pointer;display:grid;grid-template-columns:118px 1fr 32px;align-items:center;gap:8px;width:100%;padding:4px 0;font-size:12px}
.src-row:hover .src-pill{text-decoration:underline}.src-row b{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
.src-track{height:7px;background:#f0f1ec;border-radius:4px;overflow:hidden}.src-track i{display:block;height:100%;border-radius:4px}
.side-vote{all:unset;cursor:pointer;display:flex;flex-direction:column;gap:3px;padding:10px 0;border-top:1px solid #eef0ea;font-size:12.5px;line-height:1.4}
.side-vote:first-of-type{border-top:0;padding-top:0}.side-vote small{color:var(--muted);font-size:11px}.side-vote:hover span{text-decoration:underline}
.side-vote em{font-style:normal;font-size:11px;font-weight:600;align-self:flex-start;padding:1px 8px;border-radius:999px}.side-vote em.yes{background:#e3efe0;color:#2f6b4a}.side-vote em.no{background:#f6e1dc;color:#9a3b2c}
.src-pill{display:inline-flex;align-items:center;gap:6px;font-size:11.5px;font-weight:600;padding:3px 9px 3px 7px;border-radius:999px;background:color-mix(in srgb,var(--c) 10%,#fff);color:var(--ink);white-space:nowrap}
.src-pill i{width:7px;height:7px;border-radius:50%;background:var(--c)}
.seg-tabs{display:inline-flex;gap:2px;background:#eceee7;padding:3px;border-radius:12px;margin:2px 0 14px;flex-wrap:wrap}
.seg-tabs button{all:unset;cursor:pointer;font-size:13px;font-weight:500;padding:7px 14px;border-radius:9px;color:var(--muted)}
.seg-tabs button.active{background:#fff;color:var(--ink);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.filter-banner{display:flex;align-items:center;flex-wrap:wrap;gap:8px;background:#e9f0de;border-radius:12px;padding:10px 14px;font-size:13px;margin-bottom:12px}
.day-head{font-size:13px;font-weight:600;color:var(--muted);text-transform:none;letter-spacing:0;margin:22px 0 8px;padding-bottom:6px;border-bottom:1px solid var(--line)}
.news-card{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px 18px;margin-bottom:10px;transition:border-color .15s}
.news-card:hover{border-color:#c5d0bd}.news-card.is-statement{border-left:3px solid #7b4591}
.nc-meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:12px;color:var(--muted)}
.nc-meta time{font-variant-numeric:tabular-nums}
.news-card h3{font-size:16px;line-height:1.35;letter-spacing:-.012em;margin:9px 0 5px;font-weight:600}
.news-card h3 .news-link{color:var(--ink);text-decoration:none}.news-card h3 .news-link:hover{text-decoration:underline;text-underline-offset:3px}
.news-card p{margin:0;color:#59625b;font-size:13.5px;line-height:1.5}
.nc-badge{all:unset;font-size:11px;font-weight:600;padding:2px 8px;border-radius:999px;white-space:nowrap}
button.nc-badge{cursor:pointer}.nc-badge.ok{background:#e3efe0;color:#2f6b4a}.une-card.lead .nc-badge.ok{background:var(--lime);color:var(--forest)}
.nc-badge.solo{background:#f3efe2;color:#8a6d1f}.nc-badge.talk{background:#efe6f4;color:#6a3a85}
.nc-people{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.pchip{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:7px;font-size:12px;font-weight:500;padding:3px 10px 3px 3px;border-radius:999px;background:#f2f4ee}.pchip:hover{background:#e6ebe0}
@media(max-width:1050px){.actu-layout{grid-template-columns:1fr}.actu-side{position:static}.une-grid{grid-template-columns:1fr 1fr}.une-card.lead{grid-column:1/-1;grid-row:auto}}
@media(max-width:640px){.actu-kpis{grid-template-columns:1fr 1fr}.une-grid{grid-template-columns:1fr}.une-card.lead h3{font-size:21px}.pav.xl{--s:76px}}

/* Présidentielle 2027 */
.pav.md{--s:52px}
.party-mono b{font-size:11px;letter-spacing:.02em;color:#fff}.party-mono{background:var(--c)!important}
.prog-hero{display:grid;grid-template-columns:1.5fr 1fr;gap:34px;align-items:center;background:var(--forest);color:#fff;border-radius:26px;padding:44px 48px;margin:28px 0 30px;position:relative;overflow:hidden}
.prog-hero::after{content:"";position:absolute;right:-120px;top:-140px;width:420px;height:420px;border-radius:50%;border:60px solid rgba(222,237,171,.06);pointer-events:none}
.prog-hero .eyebrow{color:var(--lime)}.prog-hero h1{color:#fff;font-size:46px;margin:12px 0 14px}.prog-hero h1 em{font-style:normal;color:var(--lime)}
.prog-hero p{color:#c9d8cf;font-size:15.5px;line-height:1.55;max-width:560px;margin:0}
.prog-hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.hero-btn{all:unset;cursor:pointer;font-size:14px;font-weight:600;padding:11px 20px;border-radius:999px;background:var(--lime);color:var(--forest)}.hero-btn:hover{filter:brightness(1.05)}
.hero-btn.ghost{background:transparent;color:#fff;box-shadow:inset 0 0 0 1.5px rgba(255,255,255,.35)}.hero-btn.ghost:hover{box-shadow:inset 0 0 0 1.5px #fff}
.prog-hero-stats{display:grid;gap:12px;position:relative;z-index:1}
.prog-hero-stats div{display:flex;align-items:baseline;gap:14px;background:rgba(255,255,255,.06);border-radius:16px;padding:14px 18px}
.prog-hero-stats strong{font:700 38px var(--font-display);letter-spacing:-.03em;color:var(--lime);min-width:52px}.prog-hero-stats span{font-size:14px;color:#dbe6df}
.sec-head{margin:8px 0 16px}.sec-head h2{font-size:26px;letter-spacing:-.022em;margin:0 0 6px}.sec-head p{margin:0;color:var(--muted);font-size:14px;max-width:720px;line-height:1.5}
.board-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px;margin-bottom:12px}
.board-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;display:flex;flex-direction:column;gap:10px;position:relative;overflow:hidden}
.board-card::before{content:"";position:absolute;inset:0 0 auto 0;height:4px;background:var(--c)}
.board-card:not(.is-pub){background:#fbfbf8}.board-card:not(.is-pub) .pav{filter:saturate(.75)}
.board-top{display:flex;align-items:center;gap:12px}.board-top h3{margin:0;font-size:16px;letter-spacing:-.012em;line-height:1.2}.board-top small{color:var(--muted);font-size:12px}
.pub-badge{align-self:flex-start;font-size:11.5px;font-weight:600;padding:3px 10px;border-radius:999px;background:#eceee8;color:var(--muted)}.pub-badge.ok{background:#e3efe0;color:#2f6b4a}
.board-card p{margin:0;font-size:13px;line-height:1.5;color:#59625b;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.board-cover{display:flex;align-items:center;gap:4px;font-size:11.5px;color:var(--muted)}.board-cover i{width:18px;height:6px;border-radius:3px;background:#e4e7df}.board-cover i.on{background:var(--c)}.board-cover span{margin-left:6px}
.board-foot{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding-top:4px;font-size:12.5px}
.board-cmp{all:unset;cursor:pointer;font-size:12.5px;font-weight:600;padding:6px 12px;border-radius:999px;background:var(--forest);color:#fff}.board-cmp.on{background:#e3efe0;color:#2f6b4a}
.pick-row{display:flex;flex-wrap:wrap;gap:8px;margin:4px 0 20px}
.pick{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:10px;padding:6px 14px 6px 6px;border-radius:999px;border:1.5px solid var(--line);background:#fff;font-size:13.5px;font-weight:600}
.pick b{font-size:13px;color:var(--muted)}.pick.on{border-color:var(--c);background:color-mix(in srgb,var(--c) 9%,#fff)}.pick.on b{color:var(--c)}
.cmp-grid{display:grid;gap:10px}
.cmp-head,.cmp-row{display:grid;grid-template-columns:170px repeat(var(--n),minmax(0,1fr));gap:12px}
.cmp-head{position:sticky;top:0;z-index:3;background:#fff;padding:8px 0 12px;border-bottom:1px solid var(--line)}
.cmp-party{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:color-mix(in srgb,var(--c) 8%,#fff);border-top:4px solid var(--c)}
.cmp-party b{display:block;font-size:15px;letter-spacing:-.01em}.cmp-party small{display:block;font-size:11.5px;color:var(--muted);line-height:1.35;margin:2px 0 4px}
.cmp-topic{display:flex;align-items:flex-start;gap:10px;padding-top:14px;font-weight:600;font-size:14px}
.topic-ico{width:26px;height:26px;flex-shrink:0;padding:5px;border-radius:9px;background:#eef3e6;color:var(--forest)}
.cmp-cell{border:1px solid var(--line);border-left:4px solid var(--c);border-radius:12px;padding:14px 16px;background:#fff}
.cmp-cell p{margin:0 0 8px;font-size:14px;line-height:1.5}.cmp-cell.is-empty{border:1.5px dashed #d9ddd3;background:#fafbf7}.cmp-cell.is-empty p{color:#686d67;font-style:italic;font-size:13px;margin:0}
.cmp-cell-party{display:none;font-size:11px;font-weight:600;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px}
.prom-card{text-align:left}.prom-card-top{display:flex;align-items:center;gap:12px;margin-bottom:8px}.prom-card-top h3{margin:2px 0 0}
.prom-gauges{display:flex;gap:18px;margin:6px 0 12px}.prom-gauges>div{display:flex;flex-direction:column;align-items:center;gap:2px}.prom-gauges small{font-size:11.5px;color:var(--muted)}
.donut{width:86px;height:86px}.donut text{font:700 15px var(--font-display);fill:var(--forest);letter-spacing:-.02em}
.prom-card .tag{margin-top:8px;display:inline-block}
.prom-method{margin:6px 0 4px}.prom-method summary{cursor:pointer;font-size:13px;font-weight:500;color:var(--forest)}.prom-method p{font-size:13px;color:var(--muted);line-height:1.5;max-width:820px}
.prom-heat button{width:92px;height:40px;display:flex;flex-direction:column;gap:0;line-height:1.1}.prom-heat button small{font-size:10px;font-weight:500;opacity:.75}
.prom-heat thead th{height:auto}.prom-heat .col-short{text-align:center;font-size:12px;color:var(--ink);font-weight:600}
@media(max-width:900px){.prog-hero{grid-template-columns:1fr;padding:30px 24px}.prog-hero h1{font-size:34px}.cmp-head{display:none}.cmp-row{grid-template-columns:1fr}.cmp-cell-party{display:block}.cmp-topic{padding-top:18px}}
.prom-heat thead th span{writing-mode:initial;transform:none;display:inline}
.prom-heat tbody th{font-weight:500}
.heat{width:auto!important}.prom-heat tbody th{padding-right:22px}

/* Le test */
nav a.nav-quiz{color:var(--forest);font-weight:600}
a.hero-btn{text-decoration:none;display:inline-block}
.quiz-hero{background:var(--forest);color:#fff;border-radius:26px;padding:44px 48px;margin:28px 0 22px;position:relative;overflow:hidden}
.quiz-hero::after{content:"";position:absolute;right:-110px;bottom:-170px;width:420px;height:420px;border-radius:50%;border:60px solid rgba(222,237,171,.07)}
.quiz-hero .eyebrow{color:var(--lime)}.quiz-hero h1{color:#fff;font-size:46px;margin:10px 0 12px}.quiz-hero h1 em{font-style:normal;color:var(--lime)}.quiz-hero p{color:#c9d8cf;max-width:700px;font-size:15.5px;line-height:1.55;margin:0}
.quiz-choice{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.quiz-card{background:#fff;border:1px solid var(--line);border-radius:22px;padding:28px;display:flex;flex-direction:column;gap:12px}
.quiz-card h2{font-size:24px;letter-spacing:-.022em;margin:0;line-height:1.2}.quiz-card p{margin:0;color:#59625b;font-size:14.5px;line-height:1.55}
.quiz-dots{display:flex;gap:5px}.quiz-dots i{width:12px;height:12px;border-radius:50%}
.quiz-meta{display:flex;flex-wrap:wrap;gap:8px 16px;font-size:12.5px;color:var(--muted)}
.quiz-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:6px}
.quiz-card .hero-btn{background:var(--forest);color:#fff}.hero-btn.ghost-dark{background:#fff;color:var(--forest);box-shadow:inset 0 0 0 1.5px var(--forest)}
.quiz-method{margin:20px 0}.quiz-method summary{cursor:pointer;font-weight:600;color:var(--forest);font-size:14px}.quiz-method p{font-size:13.5px;color:#59625b;line-height:1.55;max-width:860px}
.q-top{display:flex;justify-content:space-between;align-items:center;margin:24px 0 12px;font-size:13px;color:var(--muted)}
.q-progress{margin-bottom:16px}.q-bar{height:6px;border-radius:3px;background:#e6e9e1;overflow:hidden}.q-bar i{display:block;height:100%;background:#4f8a5e;border-radius:3px;transition:width .3s}
.q-steps{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:8px;font-size:11.5px;color:#6b7069}.q-steps span.on{color:var(--forest);font-weight:600}
.q-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:34px 38px;max-width:860px;margin:0 auto;box-shadow:0 12px 34px rgba(21,62,50,.06)}
.q-meta{display:flex;justify-content:space-between;font-size:12.5px;color:var(--muted)}.q-theme{font-weight:600;color:var(--forest);background:#eef3e6;padding:3px 10px;border-radius:999px}
.q-statement{font-size:28px;line-height:1.25;letter-spacing:-.024em;margin:18px 0 18px;font-weight:600}
.q-context{background:#f6f7f2;border-radius:14px;padding:14px 18px;font-size:14px;line-height:1.55;color:#4d564f}.q-context b{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.q-context p{margin:4px 0 0}
.q-source{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 14px;margin-top:10px;font-size:12.5px;color:var(--muted)}
.q-answers{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:24px 0 18px}
.q-ans{all:unset;cursor:pointer;text-align:center;font-size:14px;font-weight:600;padding:16px 10px;border-radius:14px;border:1.5px solid var(--line);background:#fff;display:flex;flex-direction:column;align-items:center;gap:6px;transition:all .15s}
.q-ans kbd{font:600 11px var(--font-text);color:var(--muted);border:1px solid var(--line);border-radius:5px;padding:1px 6px}
.q-ans.agree:hover,.q-ans.agree.on{border-color:#4f8a5e;background:#eaf3e7;color:#2f6b4a}.q-ans.disagree:hover,.q-ans.disagree.on{border-color:#c4604f;background:#f8e9e5;color:#9a3b2c}
.q-ans:focus-visible{outline:2px solid var(--forest);outline-offset:2px}
.q-foot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;font-size:13px}.q-foot>div{display:flex;gap:16px}
.q-imp{display:flex;align-items:center;gap:8px;cursor:pointer}
.q-hint{text-align:center;font-size:12px;color:var(--muted);margin-top:16px}
.res-hero{display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center;background:#fff;border:1px solid var(--line);border-left:8px solid var(--c);border-radius:24px;padding:32px 36px;margin-bottom:16px}
.res-hero h1{font-size:34px;line-height:1.15;margin:8px 0 10px}.res-hero h1 em{font-style:normal;color:var(--c)}.res-hero p{color:#59625b;margin:0 0 14px}
.res-hero .donut{width:150px;height:150px}.res-hero .donut text{font-size:17px}
.res-actions{display:flex;gap:10px;flex-wrap:wrap}.res-hero .hero-btn{background:var(--forest);color:#fff}.res-hero .hero-btn.ghost{background:#fff;color:var(--forest);box-shadow:inset 0 0 0 1.5px var(--forest)}
.res-bars .hb-bar{height:22px}.res-bars .hb-row{grid-template-columns:minmax(160px,300px) 1fr}
.axes{display:flex;flex-direction:column;gap:22px;margin:8px 0 18px}
.axis-labels{display:flex;justify-content:space-between;font-size:12.5px;font-weight:600;margin-bottom:8px;gap:20px}.axis-labels span:last-child{text-align:right}
.axis-track{position:relative;height:28px;border-radius:14px;background:linear-gradient(90deg,#eef3e6,#f4f5f0 50%,#eef0f7)}
.axis-track::before{content:"";position:absolute;left:50%;top:4px;bottom:4px;width:1px;background:#c9cec3}
.axis-dot{position:absolute;top:50%;width:12px;height:12px;border-radius:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 2px #fff;opacity:.9}
.axis-you{position:absolute;top:50%;transform:translate(-50%,-50%);background:var(--forest);color:#fff;font-size:11px;font-weight:700;padding:4px 9px;border-radius:999px;box-shadow:0 2px 8px rgba(0,0,0,.2);z-index:2}
.res-heat button{width:62px}
.res-list{display:flex;flex-direction:column;gap:6px}
.res-q{border:1px solid var(--line);border-radius:14px;background:#fff}
.res-q summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:150px 1fr auto;gap:14px;align-items:center;padding:12px 16px;font-size:13.5px}
.res-q summary::-webkit-details-marker{display:none}
.res-your{font-size:11.5px;font-weight:600;padding:3px 9px;border-radius:999px;text-align:center}.res-your.agree{background:#e3efe0;color:#2f6b4a}.res-your.disagree{background:#f6e1dc;color:#9a3b2c}
.res-dots{display:flex;gap:4px}.res-dots i{width:12px;height:12px;border-radius:50%;border:2px solid var(--c)}.res-dots i.yes{background:var(--c)}.res-dots i.no{background:#fff}.res-dots i.mid{background:linear-gradient(90deg,var(--c) 50%,#fff 50%)}.res-dots i.none{border-style:dashed;opacity:.4}
.res-body{padding:0 16px 16px}.res-pos{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px;margin:10px 0}
.res-ent{border:1px solid var(--line);border-radius:10px;padding:8px 10px;font-size:12.5px;display:flex;flex-direction:column;gap:3px}.res-ent span{display:flex;align-items:center;gap:6px;font-weight:600}.res-ent span i{width:9px;height:9px;border-radius:50%}
.res-ent.match{background:#eef6eb;border-color:#b9d6b0}.res-ent.clash{background:#fbefec;border-color:#e6c1b8}.res-ent q{font-size:12px;color:#59625b;font-style:italic}
@media(max-width:800px){.quiz-choice{grid-template-columns:1fr}.quiz-hero{padding:30px 24px}.quiz-hero h1{font-size:34px}.q-card{padding:24px 18px}.q-statement{font-size:22px}.q-answers{grid-template-columns:1fr 1fr}.res-hero{grid-template-columns:1fr;padding:24px}.res-q summary{grid-template-columns:1fr;gap:6px}}
.res-heat thead th{height:auto}.res-heat .col-short{font-size:11px;text-align:center;padding:0 2px 6px;color:var(--ink);font-weight:600}.res-heat .col-short i{display:block;margin:0 auto 4px}
.axis-track{height:40px;border-radius:20px}

/* En-tête : trois liens principaux et menu « Plus » */
.nav-more{position:relative;height:100%;display:flex;align-items:center}
.nav-more-btn{all:unset;cursor:pointer;height:100%;display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#686f69;position:relative;white-space:nowrap}
.nav-more-btn svg{width:12px;height:12px;transition:transform .15s}.nav-more.open .nav-more-btn svg{transform:rotate(180deg)}
.nav-more-btn:hover,.nav-more.open .nav-more-btn{color:var(--ink)}
.nav-more.has-active .nav-more-btn{color:var(--ink)}.nav-more.has-active .nav-more-btn:after{content:'';height:3px;background:var(--forest);position:absolute;bottom:0;left:0;right:0}
.nav-more-btn:focus-visible{outline:2px solid var(--forest);outline-offset:4px;border-radius:4px}
.header nav .nav-menu{position:absolute;top:calc(100% - 8px);left:-14px;z-index:50;min-width:280px;background:#fff;border:1px solid var(--line);border-radius:16px;padding:6px;box-shadow:0 16px 40px rgba(21,62,50,.14);display:flex;flex-direction:column}
.header nav .nav-menu[hidden]{display:none}
.header nav .nav-menu a{height:auto;display:flex;flex-direction:column;align-items:flex-start;gap:1px;padding:10px 12px;border-radius:10px;color:var(--ink);white-space:normal}
.header nav .nav-menu a:hover,.header nav .nav-menu a:focus-visible{background:#f2f4ee}
.header nav .nav-menu a.active{background:#eaf1e2}.header nav .nav-menu a.active:after{display:none}
.header nav .nav-menu a b{font-size:13.5px;font-weight:600}.header nav .nav-menu a small{font-size:12px;font-weight:400;color:var(--muted)}
@media(max-width:850px){.nav-more-btn{font-size:11px}.header nav .nav-menu{left:auto;right:0}}
/* Retouches mobiles */
@media(hover:none){.q-ans.agree:hover:not(.on),.q-ans.disagree:hover:not(.on){border-color:var(--line);background:#fff;color:inherit}}
@media(max-width:640px){
.q-steps span:not(.on){display:none}.q-hint{display:none}
.board-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:10px;margin:0 0 12px;padding:2px 0 10px;scrollbar-width:none}
.board-grid::-webkit-scrollbar{display:none}.board-card{flex:0 0 82%;scroll-snap-align:start}
.hero .hero-visual,.hero-visual,.visual-caption{display:none}
.q-foot{flex-direction:column;align-items:flex-start}
}
.axis-track{height:auto;min-height:40px}.axis-dot{transform:translate(-50%,0)}

/* Typographie fluide : pas de mots orphelins, titres équilibrés */
p,li,.hint,.data-note{text-wrap:pretty}
h1,h2,.q-statement{text-wrap:balance}h3{text-wrap:pretty}
/* Mobile : tailles de texte minimales lisibles et débordements des graphiques */
@media(max-width:640px){
.eyebrow{font-size:10.5px}
.card-role,.card-meta>span,.card-year small{font-size:10.5px}.card-party{font-size:11px}
main small{font-size:11px}
.tag,.nc-badge{font-size:11px}
.table-source,.source-link{font-size:11.5px}
.data-note,.hint{font-size:12px;line-height:1.5}
.filter-label{font-size:11px}.chip{font-size:12px}
footer,footer a,footer p,.footer-date,.footer-brand p{font-size:12px}
.sb-row{grid-template-columns:minmax(0,1fr) auto}.sb-label{min-width:0}
.hb-row{grid-template-columns:minmax(0,1fr)}.hb-track{min-width:0}.hb-row .hb-bar{max-width:calc(100% - 104px)}
.page-top h1{font-size:34px;line-height:1.1}
}
@media(max-width:640px){
.hero p{font-size:15px;max-width:none;line-height:1.6}
.stat span{font-size:11px;max-width:130px}
.card-meta>span{white-space:normal;overflow:visible;text-overflow:clip;line-height:1.25}
.card-meta>span:last-child{max-width:60%}
}
@media(max-width:640px){
main small{font-size:11px!important}
.coverage-bar,.coverage-bar span,.coverage-bar a{font-size:11px!important}
main .text-button,main .export,main .key{font-size:11.5px}
}
@media(max-width:640px){.vote-row h3{font-size:13px;line-height:1.5}.vote-row{padding:14px;gap:10px}}
.col-x{white-space:nowrap}@media(max-width:640px){.histo .hx{display:none}.histo{gap:6px}}
@media(max-width:640px){
.res-hero{gap:14px}.res-hero .donut{width:92px;height:92px;order:-1}.res-hero h1{font-size:27px}
.res-pos{grid-template-columns:1fr 1fr;gap:6px}.res-ent{padding:6px 8px;font-size:12px}
.res-dots{flex-wrap:wrap}
}
.pair-row .hb-track{min-width:0}.pair-row .hb-bar{max-width:calc(100% - 66px)}
.rank-row .hb-track{min-width:0}.rank-row .hb-bar{max-width:calc(100% - 66px)}
@media(max-width:640px){.stat span br{display:none}}

/* ===== Version 2 ===== */
:root{--muted:#5f6862}
:focus-visible{outline:2px solid var(--forest);outline-offset:2px}
.todo{background:#fff3c4;color:#6b5200;padding:1px 6px;border-radius:5px;font-weight:600;font-size:.92em}
/* En-tête : recherche et mode sombre */
.header-tools{display:flex;align-items:center;gap:8px;margin-left:auto;margin-right:10px}
.icon-btn{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:8px;height:38px;padding:0 12px;border:1px solid var(--line);border-radius:10px;font-size:13px;color:var(--ink);background:transparent}
.icon-btn:hover{background:#eef1ea}.icon-btn kbd{font:600 10.5px var(--font-text);color:var(--muted);border:1px solid var(--line);border-radius:5px;padding:1px 5px}
#theme-toggle{width:38px;padding:0;justify-content:center;font-size:16px}
@media(max-width:850px){.gs-label,.icon-btn kbd{display:none}.header-tools{margin-right:6px}.icon-btn{height:36px;padding:0 10px}}
/* Accueil : trois entrées */
.home-entries{display:grid;grid-template-columns:1.45fr 1fr 1fr 1fr;gap:14px;margin:18px 0 6px}
.entry{display:flex;flex-direction:column;gap:8px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;text-decoration:none;color:var(--ink);transition:transform .15s,box-shadow .15s,border-color .15s}
a.entry:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(21,62,50,.08);border-color:#b9c7b0}
.entry h2{font-size:20px;margin:0;letter-spacing:-.02em}.entry p{margin:0;color:#5b645e;font-size:14px;line-height:1.5}
.entry-ico{width:38px;height:38px;border-radius:11px;background:#eef3e6;color:var(--forest);display:grid;place-items:center}
.entry-go{margin-top:auto;font-weight:600;font-size:14px;color:var(--forest)}
.entry-elus{background:var(--forest);border-color:var(--forest);color:#fff}.entry-elus h2{color:#fff}.entry-elus p{color:#c9d8cf}.entry-elus .entry-ico{background:rgba(222,237,171,.15);color:var(--lime)}
.entry-search{display:flex;gap:8px;margin-top:auto}.entry-search input{flex:1;min-width:0;height:44px;border-radius:12px;border:0;padding:0 14px;font-size:15px}.entry-search button{all:unset;cursor:pointer;padding:0 16px;border-radius:12px;background:var(--lime);color:var(--forest);font-weight:700;font-size:14px}
@media(max-width:900px){.home-entries{grid-template-columns:1fr}}
/* Recherche globale */
.gsearch{position:fixed;inset:0;z-index:2000;background:rgba(10,24,18,.45);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);display:none;align-items:flex-start;justify-content:center;padding:10vh 16px 16px}
.gsearch.open{display:flex}
.gs-panel{width:min(640px,100%);background:#fff;border-radius:18px;box-shadow:0 30px 80px rgba(0,0,0,.3);overflow:hidden;display:flex;flex-direction:column;max-height:76vh}
.gs-input{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--line);color:var(--muted)}
.gs-input input{flex:1;border:0;outline:none;font-size:17px;background:transparent;color:var(--ink)}.gs-input kbd{font:600 11px var(--font-text);border:1px solid var(--line);border-radius:5px;padding:2px 6px}
.gs-results{overflow:auto;padding:6px}.gs-kind{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);padding:10px 10px 4px}
.gs-item{all:unset;cursor:pointer;display:flex;flex-direction:column;gap:2px;width:100%;box-sizing:border-box;padding:9px 12px;border-radius:10px}.gs-item b{font-weight:600;font-size:14.5px}.gs-item small{color:var(--muted);font-size:12.5px}
.gs-item.on,.gs-item:hover{background:#eef3e6}.gs-empty{padding:18px;color:var(--muted);font-size:14px}.gs-hint{margin:0;padding:8px 14px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}
/* Pied de page */
.site-footer{display:grid;grid-template-columns:1.1fr 2fr;gap:40px;padding:44px 4.2% 30px;border-top:1px solid var(--line);background:#eef1ea;margin-top:30px}
.site-footer .footer-brand p{font-size:13px;max-width:260px;line-height:1.5}
.footer-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.footer-cols h4{font-size:12px;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);margin:0 0 10px}
.footer-cols a{display:block;font-size:14px;color:var(--ink);text-decoration:none;padding:4px 0}.footer-cols a:hover{text-decoration:underline;text-underline-offset:3px}
.site-footer .footer-date{grid-column:1/-1;font-size:12px;color:var(--muted);padding-top:16px;border-top:1px solid var(--line)}
@media(max-width:800px){.site-footer{grid-template-columns:1fr;gap:24px;padding:32px 16px 90px}.footer-cols{grid-template-columns:1fr 1fr}}
/* Glossaire */
.glossary-fab{position:fixed;left:16px;bottom:16px;z-index:40;all:unset;position:fixed;left:16px;bottom:16px;cursor:pointer;display:inline-flex;align-items:center;gap:8px;padding:9px 14px 9px 9px;border-radius:999px;background:#fff;border:1px solid var(--line);box-shadow:0 6px 18px rgba(0,0,0,.1);font-size:13px;font-weight:600;color:var(--ink)}
.glossary-fab span{width:22px;height:22px;border-radius:50%;background:var(--forest);color:#fff;display:grid;place-items:center;font-size:13px}
.glossary{margin:14px 0 0;display:grid;gap:8px}.gl-item{border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:#fff}.gl-item dt{font-weight:700;font-size:14.5px}.gl-item dd{margin:4px 0 0;color:#4f5852;font-size:14px;line-height:1.5}
.method-sec h2{font-size:21px;margin:0 0 10px}.method-sec p,.legal-page .chart-card p{font-size:14.5px;line-height:1.65;color:#3f4842;max-width:860px}.legal-page h2{font-size:20px;margin:0 0 8px}
/* Fiche personnalité enrichie */
.pf-insights{display:flex;flex-direction:column;gap:14px;margin-bottom:22px}
.pf-block{border:1px solid var(--line);border-radius:16px;padding:16px 18px;background:#fff}.pf-block h3{margin:0 0 12px;font-size:15.5px}
.pf-news .pf-art{display:block;padding:9px 0;border-top:1px solid #eef0ea;text-decoration:none;color:var(--ink)}.pf-news .pf-art:first-of-type{border-top:0;padding-top:0}.pf-art small{display:block;color:var(--muted);font-size:12px}.pf-art b{font-weight:600;font-size:14px;line-height:1.4}.pf-art:hover b{text-decoration:underline}
.pf-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.pf-kpis>div{background:#f4f6f1;border-radius:12px;padding:12px}.pf-kpis strong{display:block;font:700 24px var(--font-display);letter-spacing:-.02em;color:var(--forest)}.pf-kpis span{display:block;font-size:12.5px;line-height:1.35}.pf-kpis small{display:block;color:var(--muted);font-size:11.5px;margin-top:4px}
.pf-q summary{cursor:pointer;font-size:13.5px;font-weight:600;margin-top:10px}
.tl{display:flex;flex-direction:column;gap:7px}.tl-row{display:grid;grid-template-columns:130px 1fr;gap:10px;align-items:center}.tl-label{font-size:12.5px;font-weight:600}
.tl-track{position:relative;height:16px;background:#f0f2ec;border-radius:5px}.tl-track i{position:absolute;top:2px;bottom:2px;border-radius:4px;min-width:3px;opacity:.9}.tl-track i:hover{opacity:1;box-shadow:0 0 0 2px #fff,0 0 0 3px currentColor}
.tl-axis .tl-track{background:none;height:14px}.tl-axis b{position:absolute;font-size:11px;font-weight:500;color:var(--muted);transform:translateX(-50%)}
@media(max-width:640px){.pf-kpis{grid-template-columns:1fr 1fr}.tl-row{grid-template-columns:86px 1fr}.tl-label{font-size:11px}}
/* Chargements plus doux : squelettes animés */
.loading{color:var(--muted);font-size:14px;gap:12px;flex-direction:column}
.loading .spinner{width:120px;height:10px;border:0;border-radius:6px;background:linear-gradient(90deg,#e7eae2 0%,#f4f6f1 50%,#e7eae2 100%);background-size:200% 100%;animation:skel 1.2s ease-in-out infinite}
.sk-block{height:110px;border-radius:16px;background:linear-gradient(90deg,#eceee8 0%,#f6f7f3 50%,#eceee8 100%);background-size:200% 100%;animation:skel 1.2s ease-in-out infinite}.sk-block.short{height:60px}
@keyframes skel{0%{background-position:100% 0}100%{background-position:-100% 0}}
@media(prefers-reduced-motion:reduce){.loading .spinner,.sk-block{animation:none}}






















.home-entries{margin:16px 4.2% 4px}@media(max-width:1100px){.home-entries{margin:16px 5% 4px}}
#st-activite:empty,#st-lobby:empty{display:none}.lobby-ex{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:10px}.lobby-item{border:1px solid var(--line);border-radius:12px;padding:12px 14px}.lobby-item small{display:block;color:var(--muted);font-size:12px}.lobby-item b{display:block;font-size:13.5px;margin:3px 0}.lobby-item p{margin:0;font-size:13px;line-height:1.45;color:#4f5852}

/* Harmonisation : Sources et Votes */
.source-grid{gap:16px}
.source-box{border-radius:22px;padding:26px 28px}
.source-box h2{font-size:20px;letter-spacing:-.02em;margin-bottom:10px}
.source-box p,.source-box li{font-size:14px;line-height:1.6;color:#4f5852}
.source-box a{display:inline-flex;align-items:center;gap:4px;margin:3px 6px 3px 0;padding:5px 11px;border-radius:999px;background:#eef3e6;color:var(--forest);text-decoration:none;font-size:12.5px;font-weight:600}
.source-box a:hover{background:#e0ead4}
#vote-kpis{margin:18px 0 14px}#vote-kpis:empty{display:none}


.method-sec p,.legal-page .chart-card p{margin:0 0 10px}.method-sec p:last-child,.legal-page .chart-card p:last-child{margin-bottom:0}
@media(max-width:640px){
.header-tools{margin-right:6px;gap:6px}
.selection-button{font-size:0!important;padding:0 10px;height:36px;gap:0}
.selection-button::before{content:'Sélection';font-size:12px;font-weight:600}
.selection-button #selection-count{font-size:11px;margin-left:6px}
.home-entries{grid-template-columns:1fr 1fr;gap:10px}
.entry-elus{grid-column:1/-1}
a.entry{padding:16px}a.entry p{display:none}a.entry h2{font-size:16px}a.entry .entry-go{font-size:13px}
}











/* Clair uniquement */
:root{color-scheme:light}
/* Promesses : cartes, jauges, légende et barres cliquables */
.prom-card{cursor:pointer}.prom-card:focus-visible{outline:2px solid var(--forest);outline-offset:3px}
.prom-gauges button{all:unset;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:2px;border-radius:12px;padding:4px}.prom-gauges button:hover{background:#f2f5ee}
.prom-bars{height:12px;gap:2px}.prom-bars button{all:unset;cursor:pointer;height:100%;display:block;transition:filter .15s}.prom-bars button:hover{filter:brightness(1.1) saturate(1.2)}
.prom-count{margin-top:6px;font-size:12.5px}
.prom-legend button{all:unset;cursor:pointer;display:inline-flex;align-items:center;gap:6px;font-size:13px;padding:5px 10px;border-radius:999px;border:1px solid var(--line);background:#fff}.prom-legend button:hover{border-color:#b9c7b0}.prom-legend button b{font-weight:600;color:var(--muted)}.prom-legend button i{width:10px;height:10px;border-radius:3px;display:inline-block}
.prom-legend{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:14px 0}
/* Accomplissement par thème : grille lisible */
.pt-wrap{overflow-x:auto;margin:6px 0 4px}
.pt-grid{display:grid;grid-template-columns:200px repeat(var(--n),minmax(170px,1fr));min-width:720px}
.pt-head,.pt-row{display:contents}
.pt-head>*{padding:0 8px 12px;border-bottom:1px solid var(--line)}
.pt-col{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pt-col b{font-size:14px}.pt-col small{width:100%;color:var(--muted);font-size:12px;margin-left:30px;margin-top:-6px}
.pt-theme{display:flex;align-items:center;padding:10px 8px;font-size:14px;font-weight:600;border-bottom:1px solid #eef0ea}
.pt-row>.pt-cell,.pt-row>.pt-empty{margin:6px;border-bottom:0}
.pt-cell{all:unset;cursor:pointer;display:flex;flex-direction:column;gap:7px;padding:10px 12px;border-radius:12px;border:1px solid var(--line);background:#fff;transition:border-color .15s,box-shadow .15s}
.pt-cell:hover{border-color:#b9c7b0;box-shadow:0 4px 14px rgba(21,62,50,.08)}.pt-cell:focus-visible{outline:2px solid var(--forest);outline-offset:2px}
.pt-top{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.pt-top b{font:700 18px var(--font-display);letter-spacing:-.02em}.pt-top small{font-size:12px;color:var(--muted)}
.pt-cell .prom-bars{margin:0;height:7px}
.pt-empty{display:flex;align-items:center;justify-content:center;font-size:12px;color:#9aa198;border:1px dashed #dde1d8;border-radius:12px;margin:6px}
@media(max-width:640px){.pt-grid{grid-template-columns:120px repeat(var(--n),minmax(140px,1fr))}.pt-theme{font-size:12.5px}}

/* ===== Fiche personnalité : refonte visuelle ===== */
.profile-head{position:relative;background:linear-gradient(120deg,color-mix(in srgb,var(--pc,#2f6b4a) 16%,#f3f6ee) 0%,#f3f6ee 55%);padding:34px 38px 26px;gap:26px;border-bottom:1px solid var(--line)}
.profile-head::before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--pc,#2f6b4a)}
.profile-photo{width:112px;height:140px;border-radius:16px;box-shadow:0 8px 22px rgba(21,62,50,.18);border:3px solid #fff}
.profile-head h2{font-size:32px;letter-spacing:-.03em;margin:4px 0 6px}
.profile-head p{font-size:13.5px;color:#4f5a51;line-height:1.6}
.ph-badges{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.ph-group,.ph-badge{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px;background:#fff;border:1px solid var(--line);color:var(--ink)}
.ph-group i{width:9px;height:9px;border-radius:50%;background:var(--c)}
button.ph-badge{all:unset;cursor:pointer;display:inline-flex;align-items:center;font-size:12px;font-weight:600;padding:4px 10px;border-radius:999px}
.ph-badge.warn{background:#fbefe0;border:1px solid #efd3b1;color:#8a4d12}
.profile-tabs{position:sticky;top:0;z-index:4;gap:6px;padding:10px 32px;background:rgba(246,247,242,.95);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.profile-tabs button{padding:8px 14px;font-size:13px;font-weight:500;border-radius:999px;border:0;color:#58615a}
.profile-tabs button:hover{background:#eceee7;color:var(--ink)}
.profile-tabs button.active{background:var(--forest);color:#fff;border:0;font-weight:600}
.profile-body{padding:24px 32px 32px}
.profile-body>h3,.profile-body h3{font-size:17px;letter-spacing:-.015em;margin:0 0 14px}
/* Faits : petites cartes */
.facts{gap:10px;margin-top:4px}
.fact{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 14px}
.fact small{font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}
.fact span{font-size:14.5px;font-weight:500}
/* Frises (parcours, élections, procédures) */
.timeline{border-left:2px solid #dfe5d6;padding-left:22px;margin-left:8px}
.timeline-item{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 16px;margin:0 0 10px}
.timeline-item:before{width:10px;height:10px;border:3px solid var(--paper);left:-31px;top:16px;background:#9cb38a}
.timeline-item time{display:inline-block;font-size:11.5px;font-weight:600;color:#4f5a51;background:#f0f3eb;border-radius:999px;padding:2px 9px}
.timeline-item h4{font-size:14.5px;margin:8px 0 2px;line-height:1.4;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.timeline-item p{font-size:13px;color:#59625b;line-height:1.5;margin:2px 0 0}
.tl-assemblee:before{background:#2f6b4a}.tl-senat:before{background:#2B5CA8}.tl-pe:before{background:#1F6F78}.tl-ministere:before,.tl-gouvernement:before,.tl-presrep:before{background:#8A4FA3}.tl-maire:before,.tl-cd:before,.tl-cr:before,.tl-ma:before{background:#d39a3a}
.timeline-item.current{border-color:#b9d6b0;box-shadow:0 0 0 1px #b9d6b0 inset}
.el-res{font-size:11.5px;font-weight:700;padding:2px 9px;border-radius:999px;background:#e3efe0;color:#2f6b4a}
.el-item.lost .el-res{background:#f6e1dc;color:#9a3b2c}.el-item.mid .el-res{background:#f3efe2;color:#8a6d1f}.el-res.cur{background:#e3efe0;color:#2f6b4a}
.el-item.won:before{background:#4f8a5e}.el-item.lost:before{background:#c4604f}.el-item.mid:before{background:#d8b25a}
/* Votes */
.vote-summary{gap:10px;margin:14px 0 8px}
.vote-summary div{border-radius:14px;border-top:4px solid var(--line)}
.vote-summary .vs-for{border-top-color:#4f8a5e}.vote-summary .vs-against{border-top-color:#c4604f}.vote-summary .vs-abstain{border-top-color:#d8b25a}
.vote-summary strong{font-size:30px;letter-spacing:-.03em}.vote-summary small{font-size:12.5px;color:#4f5a51}
.vs-bar{display:flex;gap:2px;height:12px;border-radius:6px;overflow:hidden;margin:0 0 16px;background:#eef0ea}
.profile-vote{border-radius:12px;padding:12px 14px;margin-bottom:8px;font-size:13.5px;line-height:1.45}
.profile-vote small{font-size:12px}
/* Justice */
.legal-case{background:#fff;border:1px solid var(--line);border-left:5px solid #b9b2a3;border-radius:14px;padding:18px 20px}
.legal-case.pending{border-left-color:#d8b25a}.legal-case.convicted{border-left-color:#8f2f2a}.legal-case.cleared{border-left-color:#7fa88f}
.legal-case h4{font-size:16px;letter-spacing:-.01em}
.legal-case p{font-size:13.5px;line-height:1.6;color:#3f4842}
.legal-case .timeline{margin-top:12px}.legal-case .timeline-item{background:#f8f9f5}
/* Encarts déjà présents */
.pf-block{border-radius:18px}.pf-insights{gap:12px}
.profile-note{font-size:12.5px;line-height:1.55;background:#f2f4ee;border-radius:12px;padding:10px 14px}
@media(max-width:640px){.profile-head{padding:26px 18px 18px;gap:14px}.profile-photo{width:80px;height:100px;border-radius:12px}.profile-head h2{font-size:24px}.profile-tabs{padding:8px 12px}.profile-tabs button{padding:7px 11px;font-size:12.5px}.profile-body{padding:18px 16px 24px}.facts{grid-template-columns:1fr}}
@media(max-width:640px){.profile-head{align-items:flex-start;padding:22px 16px 16px 20px;gap:12px}.profile-photo{width:64px;height:80px;border-radius:12px;border-width:2px}.profile-head h2{font-size:22px;margin:2px 0 4px;padding-right:40px}.profile-head p{font-size:12.5px}.ph-badges{gap:5px;margin-top:8px}.ph-group,.ph-badge,button.ph-badge{font-size:11px;padding:3px 8px}}

/* Stats : sections repliables */
.stats-page>.chart-card.collapsed>:not(.chart-head){display:none!important}
.stats-page>.chart-card[data-acc]>.chart-head{cursor:pointer;align-items:center;margin-bottom:0}
.stats-page>.chart-card[data-acc]:not(.collapsed)>.chart-head{margin-bottom:16px}
.stats-page>.chart-card.collapsed{padding-top:20px;padding-bottom:20px;transition:box-shadow .15s,border-color .15s}
.stats-page>.chart-card.collapsed:hover{border-color:#b9c7b0;box-shadow:0 6px 18px rgba(21,62,50,.06)}
.acc-toggle{all:unset;cursor:pointer;margin-left:auto;display:inline-flex;align-items:center;gap:8px;padding:9px 16px;border-radius:999px;background:var(--forest);color:#fff;font-size:13px;font-weight:600;white-space:nowrap}
.acc-toggle svg{width:12px;height:12px;transition:transform .2s}
.chart-card:not(.collapsed) .acc-toggle{background:#eef3e6;color:var(--forest)}.chart-card:not(.collapsed) .acc-toggle svg{transform:rotate(180deg)}
.acc-toggle:focus-visible{outline:2px solid var(--forest);outline-offset:2px}
.stats-nav .nav-all{background:#eef3e6;border-color:#d6e2cb;font-weight:600}
@media(max-width:640px){.stats-page>.chart-card[data-acc]>.chart-head{flex-wrap:wrap}.acc-toggle{margin-left:0}}

/* Pages statiques des personnalités (/p/) */
.seo-body{background:var(--paper);color:var(--ink);font-family:var(--font-text);margin:0}
.seo-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 4.2%;border-bottom:1px solid var(--line)}
.seo-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font:800 24px var(--font-display);letter-spacing:-.04em}.seo-brand b{color:#8fb23a}
.seo-page{max-width:880px;margin:0 auto;padding:24px 20px 40px}
.seo-crumb{font-size:13px;color:var(--muted);margin-bottom:18px}.seo-crumb a{color:var(--muted)}
.seo-head{display:flex;gap:24px;align-items:center;background:#fff;border:1px solid var(--line);border-radius:22px;padding:24px}
.seo-head img{width:120px;height:150px;object-fit:cover;object-position:top;border-radius:16px;flex-shrink:0}
.seo-status{margin:0;font-size:12px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:#4f7a3a}
.seo-head h1{font:700 36px var(--font-display);letter-spacing:-.03em;margin:4px 0 6px}
.seo-sub,.seo-group{margin:2px 0;font-size:15px;color:#4f5852}
.seo-cta{display:inline-block;margin-top:14px;padding:11px 18px;border-radius:999px;background:var(--forest);color:#fff;text-decoration:none;font-weight:600;font-size:14px}
.seo-cta.ghost{margin:0;background:#fff;color:var(--forest);border:1px solid var(--line)}
.seo-bio{font-size:15.5px;line-height:1.65;color:#3f4842;margin:20px 4px}
.seo-facts{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}
.seo-fact{background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px 14px}.seo-fact small{display:block;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);margin-bottom:4px}.seo-fact span{font-size:15px}
.seo-block{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px 22px;margin:14px 0}.seo-block h2{font-size:19px;margin:0 0 10px}
.seo-mandates{list-style:none;margin:0;padding:0}.seo-mandates li{padding:9px 0;border-top:1px solid #eef0ea;font-size:14.5px}.seo-mandates li:first-child{border-top:0}.seo-mandates small{display:block;color:var(--muted);font-size:12.5px}
.seo-block a{color:var(--forest)}.seo-note{font-size:12.5px;color:var(--muted)}
.seo-foot{text-align:center;font-size:13px;color:var(--muted);padding:24px 16px 40px}.seo-foot a{color:var(--forest)}
@media(max-width:640px){.seo-head{flex-direction:column;align-items:flex-start;padding:18px}.seo-head h1{font-size:28px}.seo-facts{grid-template-columns:1fr}.seo-top .seo-cta{display:none}}

/* Candidats 2027 */
.cand-fam{margin:16px 0 4px}.cand-fam h3{display:flex;align-items:center;gap:8px;font-size:15px;margin:0 0 10px}.cand-fam h3 i{width:10px;height:10px;border-radius:50%}
.cand-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:8px}
.cand{all:unset;box-sizing:border-box;display:flex;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line);border-left:4px solid var(--c);border-radius:14px;background:#fff}
button.cand{cursor:pointer;transition:box-shadow .15s,border-color .15s}button.cand:hover{box-shadow:0 6px 16px rgba(21,62,50,.08)}button.cand:focus-visible{outline:2px solid var(--forest);outline-offset:2px}
.cand .pav.md{--s:46px}.cand-txt{display:flex;flex-direction:column;min-width:0;line-height:1.3}.cand-txt b{font-size:14.5px}.cand-txt small{font-size:12.5px;color:#4f5852}.cand-txt em{font-style:normal;font-size:11.5px;color:var(--muted)}
.cand-tag{align-self:flex-start;margin-top:3px;font-size:10.5px;font-weight:700;padding:1px 7px;border-radius:999px;background:#f3efe2;color:#8a6d1f}
.cand.pressenti{border-left-style:dashed;background:#fbfbf8}
.cand-pres{margin:16px 0 6px}.cand-pres summary{cursor:pointer;font-weight:600;font-size:14px;color:var(--forest);margin-bottom:10px}
.pub-badge.part{background:#f6ecd9;color:#8a5a12}.prog-hero-stats strong{min-width:44px}
.pvt-more{border:1px solid var(--line,#dfe3dc);background:#fff;border-radius:999px;padding:3px 10px;font:inherit;font-size:13px;color:inherit;cursor:pointer;white-space:nowrap}.pvt-more:hover{border-color:#2f6b4a;color:#2f6b4a}
#pvt-panel{margin-top:18px;border-top:1px solid #e3e6df;padding-top:16px}.pvt-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.pvt-head h4{margin:0;font-size:17px}.pvt-close{border:0;background:#eef1ec;border-radius:50%;width:32px;height:32px;font-size:20px;cursor:pointer;flex:none}
.pvt-list{display:grid;gap:8px;margin-top:12px}.pvt-vote{position:relative;padding-left:104px!important}.pvt-pos{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:12px;font-weight:700;border-radius:6px;padding:4px 0;width:80px;text-align:center}
@media(max-width:640px){.pvt-vote{padding-left:14px!important;padding-top:34px!important}.pvt-pos{top:10px;transform:none}}
.cand-credits{margin-top:10px;font-size:13px;color:var(--muted,#5d665f)}.cand-credits summary{cursor:pointer;font-weight:600}.cand-credits ul{margin:8px 0 0;padding-left:18px;display:grid;gap:4px}
/* Comparateur v2 */
dialog:has(.cmp-body){width:min(1180px,96vw)}
.cmp-body{display:grid;gap:8px}
.cmp-people{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:6px}
.cmp-person{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid var(--line);border-top:4px solid var(--c);border-radius:10px;padding:14px;position:relative}
.cmp-person b{display:block;font-size:15px;line-height:1.3}.cmp-person small{display:block;color:var(--muted);font-size:12px;margin:3px 0 6px}
.cmp-person-act{margin-left:auto;display:flex;flex-direction:column;gap:6px;align-items:flex-end}.cmp-person-act .secondary{padding:6px 10px;font-size:12px}
.cmp-remove{background:#eef1ec;width:28px;height:28px;border-radius:50%;font-size:17px;line-height:1}
.cmp-add{background:#fff;border:1px dashed #b9c3b0;border-radius:10px;padding:14px;position:relative}.cmp-add label{display:block;font-size:12px;font-weight:650;margin-bottom:8px}
.cmp-add input{width:100%;border:1px solid var(--line);border-radius:7px;padding:10px 12px;font-size:14px;background:var(--paper)}
.cmp-sugg{display:grid;gap:4px;margin-top:6px}.cmp-sugg button{display:flex;gap:10px;align-items:center;text-align:left;background:var(--paper);border-radius:7px;padding:6px 8px}.cmp-sugg button:hover{background:#e9eee1}.cmp-sugg b{display:block;font-size:13px}.cmp-sugg small{font-size:11px;color:var(--muted)}
.cmp-nav{position:sticky;top:0;z-index:5;display:flex;gap:6px;overflow-x:auto;background:var(--paper);padding:10px 0;border-bottom:1px solid var(--line);margin-bottom:6px}
.cmp-nav button{white-space:nowrap;border:1px solid var(--line);background:#fff;border-radius:999px;padding:7px 13px;font-size:13px}.cmp-nav button:hover{border-color:#2f6b4a;color:#2f6b4a}
.cmp-sec{scroll-margin-top:64px;margin-top:22px}.cmp-sec>h3{font-size:20px;margin-bottom:10px}
.cmp-table th{border-top:4px solid var(--c,transparent);font-size:13px}.cmp-table td{font-size:13px}.cmp-table td:first-child{color:#4f5a52}
.cmp-metrics,.cmp-themes{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:14px}
.cmp-metric,.cmp-theme{background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px 16px}.cmp-metric h4,.cmp-theme h4{font-size:14px;margin:0 0 10px}
.cmp-pairs{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}
.cmp-pair{background:#fff;border:1px solid var(--line);border-radius:10px;padding:16px}.cmp-pair-faces{display:flex;margin-bottom:8px}.cmp-pair-faces .pav+.pav{margin-left:-8px}
.cmp-pair>b{display:block;font-family:var(--font-display);font-size:30px;letter-spacing:-1px}.cmp-pair>span{display:block;font-weight:600;font-size:13px}.cmp-pair>small{display:block;color:var(--muted);font-size:12px;margin-top:3px}
.cmp-filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:6px}.cmp-filters .chip-row{margin:0}.cmp-filters .chip{font-size:12px;padding:7px 12px}.cmp-filters select{border:1px solid var(--line);border-radius:7px;padding:8px 10px;background:#fff;font-size:13px}
.cmp-vote{display:grid;gap:6px;width:100%;text-align:left;background:#fff;border:1px solid var(--line);border-radius:8px;padding:12px 14px;margin-bottom:8px}.cmp-vote:hover{border-color:#9cad85}
.cmp-vote small{color:var(--muted);font-size:11px}.cmp-vote-title{font-size:13px;line-height:1.6}.cmp-vote-pos{display:flex;flex-wrap:wrap;gap:6px 14px}
.cmp-who{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:600}.cmp-who i{width:8px;height:8px;border-radius:50%}
.cmp-pos{display:inline-block;font-size:11px;font-weight:700;border-radius:5px;padding:3px 8px;white-space:nowrap}.cmp-pos.none{background:#f0f1ec;color:#7a8078;font-weight:500}
.cmp-big td{vertical-align:middle;padding:12px 14px}.cmp-big .cell-link{text-align:left;font-size:13px;line-height:1.5}.cmp-date{display:block;color:var(--muted);font-size:11px;margin-top:3px}
.pf-actions{display:flex;flex-wrap:wrap;gap:8px 14px;align-items:center;margin:4px 0 10px}.cmp-prof{display:inline-flex;gap:8px;flex-wrap:wrap}
.cmp-prof-btn{background:var(--ink);color:#fff;border-radius:999px;padding:8px 14px;font-size:13px;font-weight:600}.cmp-prof-btn.selected{background:var(--lime);color:var(--ink)}
.cmp-prof-go{background:#fff;border:1px solid var(--ink);border-radius:999px;padding:7px 13px;font-size:13px;font-weight:600}
@media(max-width:640px){.cmp-person{flex-wrap:wrap}.cmp-metrics,.cmp-themes{grid-template-columns:1fr}.cmp-table th:not(:first-child){min-width:150px}}
.cmp-big td:first-child{width:auto;min-width:300px;font-weight:400}.cmp-big th:not(:first-child),.cmp-big td:not(:first-child){min-width:120px!important;width:150px;text-align:center}
@media(max-width:640px){.cmp-big td:first-child{min-width:220px}}
@media(max-width:640px){.data-note{flex-wrap:wrap}.data-note a,.source-link{overflow-wrap:anywhere}}
@media(max-width:640px){.hb-row{grid-template-columns:minmax(0,1fr)!important;gap:4px}.hb-row>.hb-track{grid-column:1!important}.hb-val{white-space:normal}.hb-row .tag{margin-top:0}}
.cmp-body>*,.cmp-sec,.cmp-sec>*{min-width:0}.cmp-body{grid-template-columns:minmax(0,1fr)}
@media(max-width:640px){.cmp-people{grid-template-columns:minmax(0,1fr)}.cmp-body{padding:20px 16px 30px}.cmp-sec>h3{font-size:18px}.cmp-person{padding:12px}.cmp-filters select{width:100%}.cmp-pairs{grid-template-columns:minmax(0,1fr)}.cmp-big th:not(:first-child),.cmp-big td:not(:first-child){min-width:96px!important;width:96px}.cmp-big td:first-child{min-width:200px}}
@media(max-width:640px){.cmp-nav{padding-right:52px}
.cmp-big thead{display:none}.cmp-big,.cmp-big tbody{display:block}.cmp-big tr{display:flex;flex-wrap:wrap;gap:6px 12px;padding:12px 14px;border-bottom:1px solid var(--line)}.cmp-big tr:last-child{border-bottom:0}
.cmp-big td{display:inline-flex;align-items:center;gap:6px;border:0!important;padding:0!important;width:auto!important;min-width:0!important;text-align:left!important}.cmp-big td:first-child{display:block;flex-basis:100%;margin-bottom:2px}
.cmp-big td[data-label]:before{content:attr(data-label);font-size:12px;font-weight:600;color:var(--ink)}}

.how-calc{display:block}.how-calc summary{cursor:pointer;font-weight:600;color:var(--ink)}.how-calc p{margin-top:8px}.histo-lead{font-size:12px;color:var(--ink);margin:0 0 4px}
.privacy-note{margin:18px 0;padding:14px 16px;border:1px solid #cfdcc0;background:#eef4e4;border-radius:8px;font-size:12px;line-height:1.7;color:var(--ink)}.privacy-note .text-button{font-size:11px;margin-left:6px}.privacy-mini{margin-top:12px}
.q-axes{margin-top:14px;padding:12px 14px;border-left:3px solid #c9d6b4;background:#f3f6ec;border-radius:0 6px 6px 0;font-size:12px;line-height:1.7}.q-axes p{margin-top:4px}.q-axes .subtle{font-size:11px}
.dossier-card{margin:16px 0 4px;padding:14px 16px;background:#eef4e4;border:1px solid #cfdcc0;border-radius:8px}.dossier-card small{display:block;font-size:10px;letter-spacing:1px;text-transform:uppercase;color:#5f7650;margin-bottom:4px}.dossier-card b{font-size:14px}.dossier-card p{font-size:12px;line-height:1.7;margin:6px 0 10px;color:#4f5c4b}.dossier-strip{margin:0 0 22px;padding:16px 18px;background:white;border:1px solid var(--line);border-radius:10px}.dossier-strip h2{font-size:17px}.dossier-chips{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}.dossier-body h3{margin-top:26px}.dossier-body h3:first-child{margin-top:0}.dossier-list{padding-left:18px;font-size:12px;line-height:1.8}.dossier-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:12px}.dossier-cols>*{min-width:0}.dossier-args h4{font-size:12px;margin:0 0 8px}.dossier-arg{background:white;border:1px solid var(--line);border-radius:6px;padding:10px 12px;margin-bottom:8px}.dossier-arg small{display:block;font-size:10px;color:var(--muted);margin-bottom:3px}.dossier-arg p{font-size:12px;line-height:1.65}.dossier-text{font-size:12px;line-height:1.8}.dossier-types{display:flex;flex-wrap:wrap;gap:4px;margin:8px 0 12px}.dossier-body .table-wrap td,.dossier-body .table-wrap th{padding:10px 12px}.dossier-body .source-link{overflow-wrap:anywhere}
@media(max-width:640px){.dossier-cols{grid-template-columns:minmax(0,1fr)}}
.dossier-body .compare-table th:not(:first-child){min-width:0}.dossier-body .compare-table td:first-child{width:auto}@media(max-width:640px){.dossier-body .compare-table th:nth-child(2),.dossier-body .compare-table td:nth-child(2){display:none}}

/* Résultat du test : accords et désaccords avec le plus proche */
.qz-cols{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.qz-col h3{font-size:15px;margin:0 0 8px;display:flex;align-items:center;gap:8px}
.qz-col h3::before{content:'';width:10px;height:10px;border-radius:50%;background:var(--c,#4f8a5e)}
.qz-col.ok{--c:#4f8a5e}.qz-col.ko{--c:#c0564a}
.qz-col ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.qz-col li{border-left:3px solid var(--c);padding:6px 0 6px 12px}
.qz-col li b{display:block;font-weight:600;line-height:1.35}
.qz-col li span{display:block;font-size:13px;opacity:.75;margin-top:3px}
@media (max-width:640px){.qz-cols{grid-template-columns:1fr}}

.entry-df{border-color:#0071e3}.entry-df .entry-go{color:#0066cc}
.df-cta{display:inline-flex;align-items:center;gap:6px;margin-top:12px;font-weight:600;font-size:14px;color:#0066cc;text-decoration:none;border-bottom:1px solid currentColor}.df-cta:hover{opacity:.8}
@media(max-width:1200px) and (min-width:901px){.home-entries{grid-template-columns:1fr 1fr}}
.prog-hero .df-cta{color:#e3f2b8}

/* Chiffres officiels (Données France) sous chaque sujet du comparateur */
.df-facts{display:flex;flex-direction:column;gap:6px;margin-top:10px;font-weight:400}
.df-title{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:#6b756f}
.df-fact{display:flex;flex-direction:column;gap:1px;padding:7px 9px;border-radius:10px;background:#f1f5f2;text-decoration:none;color:var(--ink);line-height:1.25}
.df-fact:hover{background:#e6eee8}
.df-fact b{font-size:15px;letter-spacing:-.01em}
.df-fact span{font-size:12px;color:#4d5650}
.df-fact small{font-size:11px;color:#7b847e}
.df-more{font-size:12px;font-weight:600;color:#0066cc;text-decoration:none}
.df-more:hover{text-decoration:underline}
.cmp-topic{flex-wrap:wrap;align-content:flex-start}.cmp-topic .df-facts{flex:1 0 100%}

/* Bouton Données France dans l'en-tête */
.df-head-btn{display:inline-flex;align-items:center;gap:7px;margin-right:10px;padding:8px 14px;border-radius:999px;background:#0071e3;color:#fff;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap;transition:background .2s,transform .2s}
.df-head-btn:hover{background:#0062c4;transform:scale(1.03)}
.df-head-flag{display:inline-flex;gap:1px}.df-head-flag i{width:3px;height:11px;border-radius:1px;background:#2a5cb8}.df-head-flag i:nth-child(1){background:#9ec5ff}.df-head-flag i:nth-child(2){background:#fff}.df-head-flag i:nth-child(3){background:#ff8a8a}
.df-head-short{display:none}
@media(max-width:1600px){.df-head-long{display:none}}
@media(max-width:1400px){.header{gap:30px}.df-head-btn{margin-right:6px}}
@media(max-width:700px){.df-head-btn{padding:6px 10px;font-size:12px;margin-right:6px}.df-head-flag{display:none}.df-head-main{display:none}.df-head-short{display:inline}}
@media(max-width:1400px){.df-head-main{display:none}.df-head-short{display:inline}}
@media(max-width:1150px){.header .gs-label,.header .global-search kbd{display:none}.df-head-flag{display:none}.df-head-btn{padding:7px 11px}}
@media(max-width:1150px){.header .icon-btn kbd{display:none}}
@media(min-width:851px) and (max-width:1000px){.header{gap:14px}.header nav{gap:14px}.df-head-btn{margin-right:4px;padding:6px 10px}}
@media(min-width:851px) and (max-width:900px){.header{padding:0 3%;gap:10px}.header nav{gap:11px}.df-head-btn{font-size:12px;padding:5px 9px}}

/* ================= Mobile (iPhone), 31/10/2026 ================= */
html{-webkit-text-size-adjust:100%}
button,a,summary,label{-webkit-tap-highlight-color:transparent}
@media(max-width:900px){.home-entries{grid-template-columns:1fr 1fr}.entry-elus,.entry-df{grid-column:1/-1}}
@media(max-width:850px){
  /* En-tête sur deux lignes : marque et outils, puis navigation */
  .header{padding:0 max(16px,env(safe-area-inset-left));row-gap:0}
  .header .brand{order:1}
  .header-tools{order:2;margin-left:auto;margin-right:6px}
  .df-head-btn{order:3}
  .selection-button{order:4;font-size:0;padding:8px 10px;display:inline-flex;align-items:center;gap:5px}
  .selection-button::before{content:"Fiches";font-size:12px}
  .selection-button #selection-count{font-size:11px}
  .header nav{order:5}
  .icon-btn kbd,.search-box kbd,kbd{display:none}
}
@media(max-width:540px){
  /* Tailles de texte lisibles (minimum ~11 px) */
  .hero p{font-size:14px;max-width:none}.eyebrow{font-size:10px}
  .stat span{font-size:11px;max-width:110px}
  .card-meta{font-size:9.5px}.card-meta strong{font-size:11px}.card-role{font-size:9px}.card-party{font-size:10px}
  .person-caption{font-size:11px}
  .profile-head p{font-size:12px}.fact span{font-size:12px}
  .group-vote summary{font-size:12px}.vote-row h3{font-size:13px}.vote-date small{font-size:10px}
  .program-banner p{font-size:13px}
  .compare-tray span{font-size:12px}.compare-tray button{font-size:12px}
  /* Champs : 16 px pour éviter le zoom automatique d'iOS */
  input[type=search],input[type=text],input:not([type]),select,textarea{font-size:16px}
  .entry-search{flex-direction:column}.entry-search input{height:46px}.entry-search button{height:44px}
  /* Bandeau de comparaison pleine largeur, au-dessus de la barre d'accueil */
  .compare-tray{left:12px;right:12px;transform:none;width:auto;max-width:none;bottom:calc(12px + env(safe-area-inset-bottom));justify-content:space-between}
  body:has(#compare-tray:not([hidden])) .glossary-fab{bottom:calc(84px + env(safe-area-inset-bottom))}
  .glossary-fab{bottom:calc(16px + env(safe-area-inset-bottom))}
  /* Présidentielle 2027 : listes défilantes */
  .pick-row{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:4px -16px 20px;padding:2px 16px}
  .pick-row::-webkit-scrollbar{display:none}
  .pick-row .pick{flex:none}
  .df-facts{flex-direction:row;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;gap:8px;padding-bottom:2px}
  .df-facts::-webkit-scrollbar{display:none}
  .df-facts .df-title{display:none}
  .df-fact{flex:0 0 46%;min-width:150px}
  .df-more{flex:none;align-self:center;white-space:nowrap}
}
@media(hover:none){.df-head-btn:hover,.entry:hover{transform:none}}
@media(max-width:540px){
  .header .brand{font-size:21px;gap:8px}
  .header .brand-mark svg{width:30px}
  .df-head-btn{padding:6px 9px;margin-right:4px}
  .header-tools{margin-right:4px}
  .header-tools .icon-btn{width:38px;height:38px;padding:0;justify-content:center}
  .selection-button{padding:7px 8px}
  .entry-search input{flex:none;height:46px}
  .entry-search button{flex:none;width:100%;height:44px}
  .compare-tray{padding:10px 10px 10px 14px;gap:10px}
  .compare-tray button{white-space:nowrap}
}
@media(max-width:380px){.selection-button::before{content:""}.df-head-btn{font-size:11px}}
@media(max-width:850px){.header{column-gap:8px}}
@media(max-width:540px){.header{column-gap:6px}.header .brand{font-size:19px;gap:7px}.header .brand-mark svg{width:27px}.selection-button{padding:7px}.selection-button::before{font-size:11.5px}.df-head-btn{margin-right:0}.header-tools{margin-right:0}}
@media(max-width:540px){.cmp-grid,.cmp-row,.cmp-row>*,.cmp-topic{min-width:0;max-width:100%}.df-facts{min-width:0;max-width:100%;width:100%}}
@media(max-width:540px){.entry-search button{box-sizing:border-box;text-align:center;display:flex;align-items:center;justify-content:center}}

/* ===== Revue iPhone, DA 31/10 ===== */
.cmp-cells{display:contents}
@media(max-width:850px){kbd{display:none!important}}
@media(max-width:540px){
  /* Bouton glossaire réduit à une pastille */
  .glossary-fab{font-size:0;padding:6px;gap:0}
  .glossary-fab>span{font-size:14px}
  /* Partis : onglets sur une ligne */
  .party-kind{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;margin:0 -5.3% 0;padding:2px 5.3%}
  .party-kind::-webkit-scrollbar{display:none}
  .party-kind button{flex:none;white-space:nowrap;padding:9px 15px;font-size:13px}
  /* Présidentielle : bloc d'en-tête plus compact, chiffres en 2 x 2 */
  .prog-hero{padding:26px 22px!important;gap:22px}
  .prog-hero-stats{grid-template-columns:1fr 1fr;gap:8px}
  .prog-hero-stats>div{padding:12px 14px!important;flex-direction:column;align-items:flex-start!important;gap:2px!important;min-height:0!important}
  .prog-hero-stats strong{font-size:28px!important}
  .prog-hero-stats span{font-size:12px!important;line-height:1.3}
  /* Candidats et promesses : défilement horizontal */
  .cand-grid,.prom-cards{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:10px;margin-left:-16px;margin-right:-16px;padding:2px 16px 6px;scroll-padding-inline:16px}
  .cand-grid::-webkit-scrollbar,.prom-cards::-webkit-scrollbar{display:none}
  .cand-grid>*{flex:0 0 82%;scroll-snap-align:start}
  .prom-cards>*{flex:0 0 86%;scroll-snap-align:start}
  /* Comparateur : propositions défilantes, parti par parti */
  .cmp-cells{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:10px;margin:0 -16px;padding:2px 16px 6px;scroll-padding-inline:16px}
  .cmp-cells::-webkit-scrollbar{display:none}
  .cmp-cells>.cmp-cell{flex:0 0 84%;scroll-snap-align:start}
  .cmp-row{gap:10px;padding-bottom:18px;border-bottom:1px solid var(--line)}
  /* Fiche personnalité : feuille plein écran, façon iOS */
  dialog#detail-dialog{width:100vw;max-width:100vw;height:calc(100dvh - 10px);max-height:none;margin:10px 0 0;border-radius:22px 22px 0 0}
  dialog#detail-dialog .profile-tabs{overflow-x:auto;scrollbar-width:none}
}
.more-btn{display:block;margin:14px auto 4px;border:0;background:var(--forest);color:#fff;font-weight:600;font-size:14px;padding:11px 22px;border-radius:999px}
@media(max-width:540px){
  .prom-row{padding:12px 14px!important;gap:10px!important}
  .prom-text b{font-size:14px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .prom-text small{font-size:11.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
}
/* Cartes de propositions : fond et liseré du parti conservés avec la nouvelle DA */
.cmp-cell{background:#fff!important;border:1px solid var(--line)!important;border-left:4px solid var(--c)!important}
.cmp-cell.is-empty{background:var(--paper)!important}
@media(max-width:540px){
  .party-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
  .party-tile{padding:14px!important;min-height:0!important;gap:6px}
  .party-tile .party-monogram{width:38px!important;height:38px!important;font-size:10px!important;margin-bottom:4px}
  .party-tile .tile-faces img,.party-tile .tile-faces span{width:24px!important;height:24px!important}
  .party-tile h3{font-size:14px!important;line-height:1.25}
  .party-tile p{font-size:11.5px!important;margin:0}
  .party-tile .tile-arrow{display:none}
}
.close-dialog:focus:not(:focus-visible){outline:none;box-shadow:none}
@media(max-width:540px){dialog#detail-dialog .profile-tabs{padding:0 16px!important;gap:8px}}
@media(max-width:400px){.header nav{gap:10px!important}.header nav a,.nav-more-btn{font-size:12px!important}}
@media(min-width:541px){.cmp-row{align-items:start}}
