*{box-sizing:border-box}body{font-family:Arial,Helvetica,sans-serif;margin:0;background:#f1f5fa;color:#162a42}header{background:white;border-bottom:1px solid #d6e0eb;padding:16px max(22px,calc((100% - 1120px)/2))}header a{color:#17618d;text-decoration:none;font-weight:700}main{max-width:1120px;margin:30px auto;padding:0 20px}h1{font-size:clamp(25px,4vw,39px);margin:0 0 12px}p{line-height:1.5}.panel{background:white;border:1px solid #dce5ef;border-radius:13px;padding:23px;margin:18px 0;box-shadow:0 4px 18px #102a4210}.tag{font-size:12px;letter-spacing:1px;font-weight:800;color:#126390;text-transform:uppercase}.sub{color:#5c7187}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:14px}th{background:#eaf1f8;text-align:left}th,td{padding:10px;border-bottom:1px solid #e5ebf2}td.num,th.num{text-align:right;white-space:nowrap}a{color:#0065a1}button,select,input{font:inherit;padding:10px;border:1px solid #b9c9d9;border-radius:8px}button{background:#096398;color:white;cursor:pointer}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:14px}.card{border:1px solid #d8e3ed;border-radius:12px;padding:16px;background:white}.card b{display:block;font-size:23px;color:#145c87;margin:7px 0}.bar{height:11px;border-radius:10px;background:#e7edf4;overflow:hidden}.bar span{display:block;height:100%;background:#1870b0}.actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0}@media print{header,.actions,button,input,select{display:none!important}body{background:white}main{max-width:100%;margin:0}.panel{box-shadow:none;border:0;padding:0}thead{display:table-header-group}tr{break-inside:avoid} @page{size:A4 portrait;margin:10mm}}
/* V9: identidade compartilhada das páginas internas */
body{font-family:system-ui,-apple-system,Segoe UI,Arial,sans-serif;background:#f3f7fc;color:#142744}header{padding:0 20px;position:sticky;top:0;z-index:20}header .inner{max-width:1240px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:12px 0}header .logo{width:225px;max-width:48vw;height:auto;display:block}header nav{display:flex;gap:15px;flex-wrap:wrap;font-size:13px}header nav a{color:#35506d;font-weight:700}main{max-width:1240px}.tag{letter-spacing:1.5px}.panel{border-radius:16px}.candidate-hero{display:grid;grid-template-columns:155px 1fr;gap:25px;align-items:center;background:white;border:1px solid #dce5f0;border-radius:17px;padding:22px;margin:18px 0;box-shadow:0 5px 20px #102a420c}.candidate-hero img{height:170px;width:155px;object-fit:contain;background:#eaf0f7;border-radius:11px}.candidate-hero h1{margin:5px 0 8px}.candidate-hero .bigvotes{font-size:24px;color:#174d83;font-weight:800}.candidate-hero .sub{margin:4px 0}.stats{display:flex;gap:12px;flex-wrap:wrap}.stat{padding:13px 17px;border:1px solid #dce5ef;background:#f4f8fc;border-radius:10px;min-width:160px}.stat b{display:block;font-size:22px;color:#174d83}.filterbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0}.filterbar input{min-width:240px;flex:1}.filterbar label{font-weight:700}.backlink{font-size:13px;font-weight:700}.tablewrap table tbody tr:hover{background:#f5faff}.num{font-variant-numeric:tabular-nums}.actions a{display:inline-flex;align-items:center;padding:10px 13px;border:1px solid #c9d8e8;border-radius:8px;text-decoration:none;font-weight:700;background:#eef5fb}.actions button{font-weight:700}.card a{font-weight:700}.no-photo{display:grid;place-items:center;color:#5c7187;font-size:12px}.candidate-hero .no-photo{height:170px;background:#edf3f9;border-radius:10px}@media(max-width:650px){header .inner{flex-direction:column;align-items:flex-start}header nav{gap:10px}main{margin:20px auto}.candidate-hero{grid-template-columns:95px 1fr;padding:13px;gap:13px}.candidate-hero img,.candidate-hero .no-photo{width:95px;height:118px}.candidate-hero h1{font-size:24px}.candidate-hero .bigvotes{font-size:19px}.panel{padding:14px}th,td{padding:9px 7px}}@media print{header,.filterbar,.actions,.backlink{display:none!important}.candidate-hero{box-shadow:none;padding:5px;border:0;margin:0 0 10px;grid-template-columns:95px 1fr}.candidate-hero img{height:105px;width:95px}.candidate-hero h1{font-size:23px}.candidate-hero .bigvotes{font-size:17px}.panel{margin:0}.stats{margin:8px 0}.stat{padding:6px 9px}.stat b{font-size:15px}th,td{padding:5px;font-size:11px}thead{display:table-header-group} @page{size:A4 portrait;margin:10mm}}
