.thep-app,.thep-combined{--thep-primary:#123b6d;--thep-secondary:#0a2540;--thep-accent:#f4b400;--thep-bg:#f4f7fb;--thep-card:#fff;--thep-text:#172033;--thep-muted:#637083;--thep-border:#dce3ed;--thep-progress-bg:#e8edf4;--thep-success:#138a52;--thep-warning:#9a6700;--thep-danger:#b42318;--thep-header-text:#fff;--thep-radius:6px;--thep-max-width:1200px;--thep-font:inherit;box-sizing:border-box;width:100%;font-family:var(--thep-font);color:var(--thep-text);line-height:1.45;-webkit-text-size-adjust:100%;text-size-adjust:100%}
.thep-app *,.thep-combined *{box-sizing:border-box}
.thep-app{max-width:var(--thep-max-width);margin:26px auto}
.thep-app.is-embedded{max-width:none;margin:0}
.thep-combined{max-width:var(--thep-max-width);margin:26px auto}
.thep-shell,.thep-combined-shell{background:var(--thep-card);border:1px solid var(--thep-border);border-top:5px solid var(--thep-primary);border-radius:var(--thep-radius);overflow:hidden}
.thep-combined-shell{background:var(--thep-bg)}
.thep-header,.thep-combined-header{display:flex;align-items:flex-end;justify-content:space-between;gap:30px;padding:28px 32px 25px;background:var(--thep-card);border-bottom:1px solid var(--thep-border)}
.thep-combined-header{display:block;padding:30px 32px 27px;background:var(--thep-card)}
.thep-section-header{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:22px 24px 18px;background:var(--thep-card);border-bottom:1px solid var(--thep-border)}
.thep-header-copy{min-width:0}
.thep-kicker{display:flex;align-items:center;gap:9px;margin:0 0 8px;color:var(--thep-primary);font-size:11px;font-weight:800;letter-spacing:.11em;text-transform:uppercase}
.thep-kicker>span:first-child{display:block;width:22px;height:3px;background:var(--thep-accent)}
.thep-header h2,.thep-combined-header h2,.thep-section-header h2{margin:0!important;color:var(--thep-text)!important;font-family:var(--thep-font)!important;font-size:clamp(27px,3.5vw,42px)!important;font-weight:800!important;line-height:1.08!important;letter-spacing:-.025em}
.thep-section-header h2{font-size:clamp(23px,2.7vw,32px)!important}
.thep-header p,.thep-combined-header p{max-width:720px;margin:8px 0 0!important;color:var(--thep-muted);font-size:15px}
.thep-header-progress{flex:0 0 auto;padding-left:22px;border-left:1px solid var(--thep-border);text-align:right}
.thep-header-progress strong{display:block;color:var(--thep-primary);font-size:34px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}
.thep-header-progress span{display:block;margin-top:6px;color:var(--thep-muted);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.thep-combined-panels{display:grid;gap:20px;padding:20px}
.thep-app.is-embedded .thep-shell{border-top-width:3px;border-radius:var(--thep-radius)}
.thep-controls{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 24px;background:var(--thep-bg);border-bottom:1px solid var(--thep-border)}
.thep-controls label{color:var(--thep-muted);font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.thep-controls select{min-width:min(100%,420px);height:40px;padding:0 38px 0 12px;border:1px solid var(--thep-border);border-radius:4px;background:var(--thep-card);color:var(--thep-text);font:inherit;font-size:14px}
.thep-update-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:17px 24px 13px;background:var(--thep-card)}
.thep-update-bar strong,.thep-update-bar span,.thep-updated-copy time{display:block}
.thep-update-bar strong{font-size:15px;font-weight:800}
.thep-update-bar span,.thep-updated-copy{color:var(--thep-muted);font-size:12px}
.thep-updated-copy{text-align:right}
.thep-updated-copy span{font-size:10px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.thep-updated-copy time{margin-top:2px;color:var(--thep-text);font-size:12px;font-variant-numeric:tabular-nums}
.thep-progress-track{height:6px;margin:0 24px 19px;background:var(--thep-progress-bg);overflow:hidden}
.thep-progress-track span{display:block;height:100%;background:var(--thep-primary);transition:width .35s ease}
.thep-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));margin:0 24px 21px;border-top:1px solid var(--thep-border);border-bottom:1px solid var(--thep-border);background:var(--thep-card)}
.thep-stats>div{min-width:0;padding:13px 14px;border-right:1px solid var(--thep-border)}
.thep-stats>div:last-child{border-right:0}
.thep-stats span{display:block;color:var(--thep-muted);font-size:11px;font-weight:700}
.thep-stats strong{display:block;margin-top:3px;color:var(--thep-text);font-size:18px;font-weight:800;font-variant-numeric:tabular-nums}
.thep-list-heading{display:flex;justify-content:space-between;gap:20px;padding:0 24px 8px;color:var(--thep-muted);font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.thep-candidates{padding:0 24px 24px}
.thep-candidate{display:grid;grid-template-columns:38px 64px minmax(0,1fr) minmax(125px,auto);gap:15px;align-items:center;padding:16px 0;border-top:1px solid var(--thep-border);background:var(--thep-card)}
.thep-candidate:last-child{border-bottom:1px solid var(--thep-border)}
.thep-candidate.is-elected{box-shadow:inset 4px 0 0 var(--thep-success);padding-left:12px}
.thep-rank{color:var(--thep-muted);font-size:13px;font-weight:800;text-align:center;font-variant-numeric:tabular-nums}
.thep-photo{display:grid;place-items:center;width:58px;height:58px;overflow:hidden;border:1px solid var(--thep-border);background:var(--thep-bg);color:var(--thep-primary);font-size:20px;font-weight:800}
.thep-photo-circle{border-radius:50%}.thep-photo-rounded{border-radius:5px}.thep-photo-square{border-radius:0}
.thep-photo img{width:100%;height:100%;object-fit:cover;object-position:50% 12%;display:block}
.thep-candidate-main{min-width:0}
.thep-candidate-title{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.thep-candidate h3{margin:0!important;color:var(--thep-text)!important;font-family:var(--thep-font)!important;font-size:18px!important;font-weight:800!important;line-height:1.2!important;letter-spacing:-.01em}
.thep-number,.thep-elected,.thep-candidate-status{display:inline-flex;align-items:center;min-height:21px;padding:2px 7px;border:1px solid var(--thep-border);border-radius:3px;background:var(--thep-card);font-size:10px;font-weight:800;line-height:1.2;text-transform:uppercase}
.thep-number{color:var(--thep-primary)}
.thep-elected{border-color:var(--thep-success);color:var(--thep-success)}
.thep-candidate-status{border-color:var(--thep-warning);color:var(--thep-warning)}
.thep-party,.thep-vice{margin:3px 0 0!important;color:var(--thep-muted);font-size:12px;line-height:1.35}
.thep-candidate-bar{height:5px;margin-top:10px;background:var(--thep-progress-bg);overflow:hidden}
.thep-candidate-bar span{display:block;height:100%;background:var(--thep-primary);transition:width .35s ease}
.thep-votes{min-width:125px;text-align:right}
.thep-votes strong,.thep-votes span{display:block}
.thep-votes strong{color:var(--thep-text);font-size:25px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}
.thep-votes span{margin-top:5px;color:var(--thep-muted);font-size:11px;font-variant-numeric:tabular-nums}
.thep-candidate-situation strong{max-width:190px;margin-left:auto;font-size:12px;line-height:1.25;text-transform:uppercase;overflow-wrap:anywhere}.thep-candidate-situation span{font-size:10px}
.thep-message,.thep-empty{padding:14px 16px;border:1px solid var(--thep-border);border-left:4px solid var(--thep-warning);background:var(--thep-card);color:var(--thep-text);font-size:14px}
.thep-message{margin:0 24px 19px}.thep-empty{max-width:var(--thep-max-width);margin:20px auto}
.thep-source-note{padding:15px 24px;border-top:1px solid var(--thep-border);background:var(--thep-card);color:var(--thep-muted);font-size:11px;line-height:1.55}
.thep-source-note strong{color:var(--thep-text)}
.thep-ad{width:100%;margin:18px auto;text-align:center;overflow:hidden}
.thep-ad-middle{grid-column:1/-1;margin:8px 0 12px;padding:10px 0;border-top:1px solid var(--thep-border);border-bottom:1px solid var(--thep-border)}
.thep-app [hidden],.thep-combined [hidden]{display:none!important}
@media(max-width:900px){.thep-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.thep-stats>div:nth-child(3){border-right:0}.thep-stats>div:nth-child(n+4){border-top:1px solid var(--thep-border)}.thep-candidate{grid-template-columns:34px 56px minmax(0,1fr)}.thep-photo{width:52px;height:52px}.thep-votes{grid-column:3;text-align:left;display:flex;align-items:baseline;gap:9px}.thep-votes span{margin-top:0}}
@media(max-width:700px){.thep-app,.thep-combined{margin:16px auto}.thep-header,.thep-combined-header,.thep-section-header{align-items:flex-start;padding:22px 18px 19px}.thep-header,.thep-section-header{display:block}.thep-header-progress{margin-top:17px;padding:0;border-left:0;text-align:left}.thep-header-progress strong{font-size:29px}.thep-controls,.thep-update-bar{padding-left:16px;padding-right:16px}.thep-controls{align-items:flex-start;flex-direction:column}.thep-controls select{width:100%}.thep-progress-track{margin-left:16px;margin-right:16px}.thep-stats{margin-left:16px;margin-right:16px}.thep-list-heading{padding-left:16px;padding-right:16px}.thep-candidates{padding-left:16px;padding-right:16px}.thep-combined-panels{padding:12px;gap:14px}.thep-source-note{padding-left:16px;padding-right:16px}}
@media(max-width:520px){.thep-update-bar{align-items:flex-start;flex-direction:column}.thep-updated-copy{text-align:left}.thep-stats{grid-template-columns:1fr 1fr}.thep-stats>div,.thep-stats>div:nth-child(3){border-right:1px solid var(--thep-border);border-top:1px solid var(--thep-border)}.thep-stats>div:nth-child(1),.thep-stats>div:nth-child(2){border-top:0}.thep-stats>div:nth-child(even){border-right:0}.thep-candidate{grid-template-columns:30px minmax(0,1fr);gap:10px;padding:14px 0}.thep-photo{display:none}.thep-votes{grid-column:2}.thep-list-heading span:last-child{display:none}.thep-candidate h3{font-size:16px!important}.thep-votes strong{font-size:22px}.thep-compact-mobile .thep-party,.thep-compact-mobile .thep-vice{display:none}}
.thep-state-dashboard{border:1px solid var(--thep-border);border-top:3px solid var(--thep-secondary);border-radius:var(--thep-radius);background:var(--thep-card);overflow:hidden}
.thep-state-dashboard-head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:22px 24px 18px;border-bottom:1px solid var(--thep-border);background:var(--thep-card)}
.thep-state-eyebrow{display:block;margin-bottom:4px;color:var(--thep-primary);font-size:10px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}
.thep-state-dashboard-head h3{margin:0!important;color:var(--thep-text)!important;font-family:var(--thep-font)!important;font-size:clamp(22px,2.6vw,31px)!important;font-weight:800!important;line-height:1.12!important;letter-spacing:-.02em}
.thep-state-mobile-select{display:none;color:var(--thep-muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}
.thep-state-mobile-select select{display:block;min-width:210px;height:40px;margin-top:5px;padding:0 34px 0 11px;border:1px solid var(--thep-border);border-radius:4px;background:var(--thep-card);color:var(--thep-text);font:inherit;font-size:14px;text-transform:none;letter-spacing:normal}
.thep-state-picker{padding:15px 18px 13px;border-bottom:1px solid var(--thep-border);background:var(--thep-bg)}
.thep-state-search{display:block;max-width:360px;margin:0 0 11px}
.thep-state-search input{width:100%;height:39px;padding:0 12px;border:1px solid var(--thep-border);border-radius:4px;background:var(--thep-card);color:var(--thep-text);font:inherit;font-size:13px}
.thep-state-tabs{display:flex;gap:0;overflow-x:auto;padding:0 0 3px;scrollbar-width:thin;scroll-snap-type:x proximity}
.thep-state-tab{flex:0 0 auto;min-width:105px;padding:10px 13px;border:0;border-right:1px solid var(--thep-border);border-bottom:3px solid transparent;background:transparent;color:var(--thep-muted);font:inherit;text-align:left;cursor:pointer;scroll-snap-align:start}
.thep-state-tab:first-child{border-left:1px solid var(--thep-border)}
.thep-state-tab:hover,.thep-state-tab:focus-visible{background:var(--thep-card);color:var(--thep-text);outline:none}
.thep-state-tab.is-active{border-bottom-color:var(--thep-primary);background:var(--thep-card);color:var(--thep-primary)}
.thep-state-tab strong,.thep-state-tab span{display:block}
.thep-state-tab strong{font-size:14px;font-weight:900;line-height:1.1}
.thep-state-tab span{max-width:120px;margin-top:3px;overflow:hidden;font-size:10px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.thep-state-empty-search{margin:9px 0 0!important;color:var(--thep-muted);font-size:12px}
.thep-office-tabs{display:flex;gap:0;overflow-x:auto;padding:0 22px;border-bottom:1px solid var(--thep-border);background:var(--thep-card);scrollbar-width:thin}
.thep-office-tab{flex:0 0 auto;padding:14px 16px 12px;border:0;border-bottom:3px solid transparent;background:transparent;color:var(--thep-muted);font:inherit;font-size:12px;font-weight:800;cursor:pointer;white-space:nowrap}
.thep-office-tab:hover,.thep-office-tab:focus-visible{color:var(--thep-text);outline:none}
.thep-office-tab.is-active{border-bottom-color:var(--thep-primary);color:var(--thep-primary)}
.thep-office-panels{padding:18px;background:var(--thep-bg)}
.thep-office-panel>.thep-app{margin:0}
.thep-office-panel .thep-section-header{padding-top:18px}
.thep-state-unavailable{margin:18px;padding:14px 16px;border-left:4px solid var(--thep-warning);background:var(--thep-bg);color:var(--thep-text);font-size:13px}
.thep-states-only .thep-state-dashboard{border-top-color:var(--thep-primary)}
@media(max-width:700px){.thep-state-dashboard-head{align-items:flex-start;padding:18px 16px}.thep-state-mobile-select{display:block}.thep-state-picker{padding:12px 0 10px}.thep-state-search{margin:0 14px 10px}.thep-state-tabs{padding-left:14px;padding-right:14px}.thep-state-tab{min-width:82px;padding:9px 10px}.thep-state-tab span{display:none}.thep-office-tabs{padding:0 8px}.thep-office-tab{padding:13px 11px 11px;font-size:11px}.thep-office-panels{padding:10px}.thep-state-dashboard-head h3{font-size:22px!important}}
@media(max-width:520px){.thep-state-dashboard-head{display:block}.thep-state-mobile-select{margin-top:14px}.thep-state-mobile-select select{width:100%;min-width:0}.thep-state-picker{display:none}.thep-office-tab{padding-left:10px;padding-right:10px}.thep-office-panels{padding:7px}.thep-state-dashboard .thep-section-header{padding-left:13px;padding-right:13px}}
.thep-combined .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* v1.5.0 — ficha oficial, comparação e stickbar */
.thep-candidate-actions{display:flex;flex-wrap:wrap;gap:7px;margin-top:9px}
.thep-candidate-action{appearance:none;border:1px solid var(--thep-border);border-radius:4px;background:var(--thep-card);color:var(--thep-primary);padding:5px 9px;font:inherit;font-size:10px;font-weight:800;line-height:1.2;cursor:pointer}
.thep-candidate-action:hover,.thep-candidate-action:focus-visible,.thep-candidate-action.is-selected{border-color:var(--thep-primary);background:var(--thep-bg);outline:none}
.thep-compare-bar{position:sticky;bottom:10px;z-index:4;display:flex;align-items:center;justify-content:center;gap:12px;margin:0 24px 20px;padding:10px 12px;border:1px solid var(--thep-border);border-radius:6px;background:var(--thep-secondary);color:#fff;box-shadow:0 10px 30px rgba(10,37,64,.16)}
.thep-compare-bar span{font-size:12px;font-weight:700}
.thep-compare-open,.thep-compare-clear{appearance:none;border:1px solid rgba(255,255,255,.4);border-radius:4px;background:#fff;color:var(--thep-secondary);padding:6px 10px;font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.thep-compare-open:disabled{opacity:.45;cursor:not-allowed}.thep-compare-clear{background:transparent;color:#fff}
.thep-modal-open{overflow:hidden}
.thep-modal-backdrop{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(10,20,35,.72);backdrop-filter:blur(2px)}
.thep-modal{width:min(920px,100%);max-height:min(88vh,940px);overflow:auto;border:1px solid #dce3ed;border-radius:10px;background:#fff;color:#172033;box-shadow:0 30px 80px rgba(0,0,0,.28);font-family:var(--thep-font,inherit)}
.thep-modal-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:17px 20px;border-bottom:1px solid #dce3ed;background:#fff}
.thep-modal-head h2{margin:0!important;font-size:21px!important;line-height:1.2!important}.thep-modal-close{appearance:none;width:34px;height:34px;border:1px solid #dce3ed;border-radius:50%;background:#fff;color:#172033;font-size:25px;line-height:1;cursor:pointer}
.thep-profile{padding:20px}.thep-profile-hero{display:flex;align-items:center;gap:16px;margin-bottom:18px}.thep-profile-hero img{width:92px;height:92px;object-fit:cover;object-position:50% 12%;border:1px solid #dce3ed;border-radius:8px;background:#f4f7fb}.thep-profile-hero h3{margin:0!important;font-size:24px!important}.thep-profile-hero p{margin:5px 0 0;color:#637083}
.thep-profile-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid #dce3ed;border-left:1px solid #dce3ed}.thep-profile-row{display:grid;grid-template-columns:minmax(120px,.8fr) minmax(0,1.2fr);gap:10px;padding:10px 12px;border-right:1px solid #dce3ed;border-bottom:1px solid #dce3ed}.thep-profile-row span{color:#637083;font-size:11px}.thep-profile-row strong{font-size:12px;overflow-wrap:anywhere}
.thep-profile-section{margin-top:20px}.thep-profile-section h4{margin:0 0 9px!important;font-size:15px!important}.thep-profile-section p{margin:5px 0!important}.thep-profile-warning{padding:12px;border-left:4px solid #b7791f;background:#fff8e6}
.thep-assets-list{display:grid;gap:6px}.thep-asset-item{display:grid;grid-template-columns:minmax(130px,.7fr) minmax(0,1.8fr) auto;gap:12px;padding:8px 10px;border:1px solid #e4e9f0;border-radius:5px;font-size:11px}.thep-asset-item span{color:#637083}.thep-asset-item b{white-space:nowrap}
.thep-social-links{display:flex;flex-wrap:wrap;gap:7px}.thep-social-links a{display:inline-flex;padding:6px 9px;border:1px solid #dce3ed;border-radius:4px;color:#123b6d;text-decoration:none;font-size:11px;font-weight:700}.thep-profile-source{margin:22px 0 0!important;padding-top:12px;border-top:1px solid #dce3ed;color:#637083;font-size:10px;line-height:1.5}
.thep-comparison{padding:20px;overflow-x:auto}.thep-comparison-grid{display:grid;grid-template-columns:minmax(130px,.7fr) repeat(var(--thep-compare-cols),minmax(160px,1fr));min-width:600px;border-top:1px solid #dce3ed;border-left:1px solid #dce3ed}.thep-comparison-grid>*{padding:10px;border-right:1px solid #dce3ed;border-bottom:1px solid #dce3ed;font-size:12px}.thep-comparison-label{background:#f4f7fb}
.thep-stickybar{--thep-sticky-primary:#0a2540;position:fixed;left:0;right:0;z-index:999990;background:var(--thep-sticky-primary);color:#fff;box-shadow:0 -8px 28px rgba(0,0,0,.15);font-family:inherit}.thep-stickybar[hidden]{display:none!important}.thep-stickybar-bottom{bottom:0}.thep-stickybar-top{top:0;box-shadow:0 8px 28px rgba(0,0,0,.15)}body.admin-bar .thep-stickybar-top{top:32px}
.thep-stickybar-inner{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(330px,2fr) auto auto auto;align-items:center;gap:16px;width:min(1200px,calc(100% - 28px));min-height:64px;margin:auto;padding:9px 0}.thep-stickybar-brand{min-width:0;display:grid;grid-template-columns:10px minmax(0,1fr);column-gap:8px}.thep-stickybar-live{grid-row:1/3;align-self:center;width:8px;height:8px;border-radius:50%;background:#f4b400;box-shadow:0 0 0 5px rgba(244,180,0,.13)}.thep-stickybar-brand strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}.thep-stickybar-brand small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:rgba(255,255,255,.68);font-size:9px}
.thep-stickybar-candidates{display:grid;grid-template-columns:1fr 1fr;gap:8px}.thep-sticky-candidate{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:6px;align-items:center;padding:6px 8px;border:1px solid rgba(255,255,255,.16);border-radius:5px;background:rgba(255,255,255,.06);font-size:10px}.thep-sticky-candidate span{color:rgba(255,255,255,.6)}.thep-sticky-candidate strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.thep-sticky-candidate b{font-size:12px}.thep-stickybar-progress{text-align:right}.thep-stickybar-progress strong{display:block;font-size:16px}.thep-stickybar-progress span{font-size:8px;text-transform:uppercase;color:rgba(255,255,255,.65)}.thep-stickybar-link{display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:0 12px;border-radius:4px;background:#f4b400;color:#172033!important;text-decoration:none!important;font-size:10px;font-weight:900;white-space:nowrap}.thep-stickybar-close{appearance:none;width:30px;height:30px;border:1px solid rgba(255,255,255,.25);border-radius:50%;background:transparent;color:#fff;font-size:20px;line-height:1;cursor:pointer}
body.thep-has-sticky-bottom{padding-bottom:var(--thep-sticky-push-bottom,0)!important}body.thep-has-sticky-top{padding-top:var(--thep-sticky-push-top,0)!important}
@media(max-width:780px){.thep-profile-grid{grid-template-columns:1fr}.thep-assets-list .thep-asset-item{grid-template-columns:1fr}.thep-stickybar-inner{grid-template-columns:minmax(0,1fr) auto auto;gap:9px;min-height:58px;width:calc(100% - 20px)}.thep-stickybar-candidates{grid-column:1/-1;grid-row:2;gap:5px}.thep-stickybar-progress{display:none}.thep-stickybar-brand small{display:none}.thep-stickybar-link{padding:0 9px}.thep-stickybar{padding-bottom:env(safe-area-inset-bottom)}body.admin-bar .thep-stickybar-top{top:46px}}
@media(max-width:520px){.thep-modal-backdrop{padding:8px}.thep-modal{max-height:94vh}.thep-profile{padding:14px}.thep-profile-hero img{width:74px;height:74px}.thep-profile-hero h3{font-size:20px!important}.thep-profile-row{grid-template-columns:1fr}.thep-compare-bar{margin-left:12px;margin-right:12px;flex-wrap:wrap}.thep-stickybar-candidates{grid-template-columns:1fr}.thep-sticky-candidate:nth-child(2){display:none}.thep-stickybar-brand strong{font-size:11px}}

.thep-profile-caption{color:#637083;font-size:10px;line-height:1.45}

/* v1.7.1 - President map mobile/Safari hardening + official IBGE geometry/TSE EA20 data */
.thep-president-map{--thep-map-neutral:#dfe5ec;margin:0 24px 24px;border:1px solid var(--thep-border);border-radius:var(--thep-radius);background:var(--thep-card);overflow:hidden}
.thep-president-map-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:18px 20px;border-bottom:1px solid var(--thep-border)}
.thep-president-map-head span{display:block;margin-bottom:3px;color:var(--thep-muted);font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.thep-president-map-head h3{margin:0!important;color:var(--thep-text)!important;font-family:var(--thep-font)!important;font-size:22px!important;font-weight:800!important;line-height:1.2!important}
.thep-president-map-head p{max-width:480px;margin:2px 0 0!important;color:var(--thep-muted);font-size:11px!important;line-height:1.45!important;text-align:right}
.thep-president-map-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.8fr);min-height:520px}
.thep-president-map-canvas{position:relative;display:flex;min-width:0;min-height:520px;flex-direction:column;justify-content:center;padding:18px;border-right:1px solid var(--thep-border);background:linear-gradient(180deg,var(--thep-card),var(--thep-bg))}
.thep-brazil-map-svg{display:block;width:100%;height:auto;min-height:320px;max-height:500px;aspect-ratio:660/620;margin:auto;overflow:visible;visibility:visible;opacity:1}
.thep-map-state{stroke:var(--thep-card);stroke-width:1.15;vector-effect:non-scaling-stroke;cursor:pointer;transition:filter .15s ease,opacity .15s ease,stroke .15s ease,stroke-width .15s ease}
.thep-map-state:hover,.thep-map-state:focus-visible{filter:brightness(.96);stroke:var(--thep-text);stroke-width:1.7;outline:none}
.thep-map-state.is-selected{stroke:var(--thep-text);stroke-width:2.6;filter:drop-shadow(0 2px 2px rgba(0,0,0,.16))}
.thep-map-state.is-tie{fill:var(--thep-map-neutral)!important;stroke-dasharray:3 2}
.thep-map-message{position:absolute;left:18px;right:18px;top:18px;z-index:2;padding:9px 11px;border:1px solid var(--thep-border);border-left:4px solid var(--thep-warning);background:rgba(255,255,255,.94);color:var(--thep-text);font-size:11px;box-shadow:0 4px 16px rgba(10,37,64,.08)}
.thep-map-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:7px 13px;padding-top:8px;color:var(--thep-muted);font-size:10px}
.thep-map-legend-item{display:inline-flex;align-items:center;gap:5px;min-width:0}
.thep-map-legend-item i,.thep-map-swatch{display:inline-block;flex:0 0 auto;width:11px;height:11px;border-radius:3px;background:var(--thep-map-neutral);border:1px solid rgba(0,0,0,.08)}
.thep-map-legend-item i.is-neutral{background:var(--thep-map-neutral)}
.thep-map-legend-item b{max-width:170px;overflow:hidden;color:var(--thep-text);font-size:10px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}
.thep-map-state-panel{min-width:0;max-height:590px;overflow:auto;padding:18px 19px;background:var(--thep-card)}
.thep-map-state-panel>strong{display:block;font-size:17px}.thep-map-state-panel>span{display:block;margin-top:5px;color:var(--thep-muted);font-size:11px;line-height:1.5}
.thep-map-state-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding-bottom:12px;border-bottom:1px solid var(--thep-border)}
.thep-map-state-head>div{min-width:0}.thep-map-state-head strong{display:block;color:var(--thep-text);font-size:18px;font-weight:850}.thep-map-state-head span{display:block;margin-top:2px;color:var(--thep-muted);font-size:10px}.thep-map-state-head b{flex:0 0 auto;color:var(--thep-primary);font-size:18px;font-variant-numeric:tabular-nums}
.thep-map-state-empty{margin:16px 0 0!important;padding:12px;border-left:3px solid var(--thep-warning);background:var(--thep-bg);color:var(--thep-muted);font-size:11px;line-height:1.5}
.thep-map-state-candidates{display:grid;gap:0;margin-top:6px}
.thep-map-state-candidate{display:grid;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:9px;padding:10px 0;border-bottom:1px solid var(--thep-border)}
.thep-map-state-candidate>div{min-width:0}.thep-map-state-candidate>div>strong{display:block;overflow:hidden;color:var(--thep-text);font-size:12px;font-weight:800;text-overflow:ellipsis;white-space:nowrap}.thep-map-state-candidate>div>span{display:block;margin-top:1px;color:var(--thep-muted);font-size:9px}
.thep-map-state-metric{text-align:right}.thep-map-state-metric strong{display:block;color:var(--thep-text);font-size:15px!important;font-weight:850!important;font-variant-numeric:tabular-nums}.thep-map-state-metric span{display:block!important;margin-top:1px!important;color:var(--thep-muted)!important;font-size:9px!important;font-variant-numeric:tabular-nums}
.thep-map-state-update{margin:12px 0 0!important;color:var(--thep-muted);font-size:9px;line-height:1.45}
.thep-president-map-source{padding:10px 16px;border-top:1px solid var(--thep-border);background:var(--thep-bg);color:var(--thep-muted);font-size:9px!important;line-height:1.45!important}.thep-president-map-source strong{color:var(--thep-text)}
@media(max-width:900px){.thep-president-map-grid{grid-template-columns:1fr;min-height:0}.thep-president-map-canvas{min-height:420px;border-right:0;border-bottom:1px solid var(--thep-border)}.thep-map-state-panel{max-height:440px}.thep-president-map-head{display:block}.thep-president-map-head p{margin-top:6px!important;text-align:left}}
@media(max-width:620px){.thep-president-map{margin-left:8px;margin-right:8px}.thep-president-map-head{padding:14px}.thep-president-map-head span{font-size:9px!important}.thep-president-map-head h3{font-size:19px!important}.thep-president-map-head p{font-size:11px!important}.thep-president-map-canvas{min-height:340px;padding:8px}.thep-brazil-map-svg{width:100%!important;height:auto!important;min-height:290px;max-height:none;aspect-ratio:660/620}.thep-map-message{left:8px;right:8px;top:8px;font-size:10px!important;line-height:1.4!important}.thep-map-legend{justify-content:flex-start;padding:8px 4px 0;font-size:9px!important}.thep-map-legend-item b{font-size:9px!important}.thep-map-state-panel{max-height:none;padding:14px}.thep-map-state-panel>strong{font-size:15px!important}.thep-map-state-panel>span{font-size:10px!important;line-height:1.45!important}.thep-map-state-candidate{grid-template-columns:11px minmax(0,1fr) auto;gap:7px}.thep-map-state-candidate>div>strong{font-size:11px!important}.thep-map-state-candidate>div>span{font-size:9px!important}.thep-map-state-metric strong{font-size:13px!important}.thep-president-map-source{padding:9px 12px;font-size:9px!important}}
