
:root{font-family:Arial,Helvetica,sans-serif;color:#152443;background:#f3f6fb;font-synthesis:none;--blue:#123dbd;--yellow:#ffdf57}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}header{max-width:1240px;margin:auto;min-height:100px;padding:26px 40px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dce3ef}.brand{font-size:14px;font-weight:800;letter-spacing:.06em;display:flex;gap:13px;align-items:center}.mark{display:grid;place-items:center;width:36px;height:36px;border-radius:10px;background:var(--blue);color:var(--yellow);font-size:26px}.year{font-size:12px;background:#e4eafd;padding:7px 10px;border-radius:5px;color:var(--blue)}.personal{font-size:14px;color:#66718a}main{max-width:1140px;margin:54px auto 64px;display:grid;grid-template-columns:1.1fr .9fr;gap:88px;padding:0 24px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.08em;color:var(--blue);margin-bottom:20px}h1{font-size:64px;line-height:1.02;letter-spacing:-.055em;margin:0;font-weight:850}h1 span{color:var(--blue);position:relative;z-index:0}h1 span:after{content:"";position:absolute;bottom:3px;left:0;width:100%;height:12px;background:var(--yellow);z-index:-1}.intro{font-size:18px;color:#5b6780;margin:22px 0 28px}.steps{display:flex;gap:28px;padding-bottom:21px;margin-bottom:24px;border-bottom:1px solid #dce3ef;color:#7c869a;font-size:14px;font-weight:700}.steps .active{color:var(--blue)}fieldset{border:0;padding:0;margin:0 0 24px;min-width:0}legend{display:flex;align-items:center;gap:10px;font-size:16px;font-weight:700;margin-bottom:12px;padding:0}.order{width:25px;height:25px;display:inline-grid;place-items:center;border-radius:50%;background:#e3eafd;color:var(--blue);font-size:12px}.inputs{display:grid;grid-template-columns:1fr 155px;gap:12px}label{font-size:12px;color:#65718a;display:block}input{display:block;background:white;border:1px solid #ced7e7;border-radius:8px;min-width:0;width:100%;height:48px;padding:12px;margin-top:6px;color:#152443;font-size:16px;transition:border-color .15s}input::placeholder{color:#7e889b}input:focus{outline:3px solid #d5e0ff;border-color:var(--blue)}input.number{font-weight:800;letter-spacing:.25em;font-variant-numeric:tabular-nums}input[aria-invalid=true]{border-color:#b82537}.error{font-size:13px;color:#b82537;margin:7px 0 0}.helper{font-size:14px;line-height:1.5;color:#66718a;margin:4px 0 20px}button{cursor:pointer;min-height:48px;border-radius:8px;font-size:14px;font-weight:750;transition:background .15s}button:focus-visible{outline:3px solid #7195ff;outline-offset:3px}.primary{width:100%;background:var(--blue);color:white;border:0;padding:16px 20px;display:flex;justify-content:space-between;align-items:center}.primary:hover{background:#0d2f94}.primary span{font-size:22px;line-height:18px}button:disabled{opacity:.48;cursor:not-allowed}.form-footer{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#66718a;margin-top:6px}.text-button{background:none;border:none;color:#5c6982;padding:10px;font-size:12px}.preview{align-self:start;position:sticky;top:28px;background:#e9eef7;padding:24px;border-radius:18px}.preview-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px}.preview-heading h2{font-size:16px;margin:0}.preview-heading>span{font-size:11px;color:#566888;letter-spacing:.09em}canvas{display:block;width:100%;height:auto;aspect-ratio:9/16;box-shadow:0 12px 28px #20356616;border-radius:5px;background:#fff}.actions{display:grid;gap:10px;margin-top:20px}.secondary{border:1px solid #bdc9dd;background:transparent;color:#263d66}.secondary:hover{background:#dde5f4}.preview-note{text-align:center;font-size:12px;color:#66718a;margin:12px 0}.notice{display:flex;gap:12px;border-top:1px solid #cfd9e9;padding-top:18px;margin-top:20px;color:#4f607c}.notice>span{font-size:22px}.notice p{margin:0;font-size:14px;line-height:1.5}#status{font-size:14px;line-height:1.4;color:var(--blue);margin:10px 0}footer{max-width:1160px;border-top:1px solid #dce3ef;margin:auto;padding:26px 24px;display:flex;justify-content:space-between;font-size:12px;letter-spacing:.03em;color:#64718a}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(max-width:850px){header{padding:20px 24px}.personal{display:none}main{gap:32px;margin-top:34px;grid-template-columns:1fr 1fr}h1{font-size:52px}.inputs{grid-template-columns:1fr}.preview{padding:16px}.year{font-size:10px}.brand{font-size:12px}}@media(max-width:620px){header{padding:18px 20px;min-height:78px}.brand{gap:9px}.year{margin-left:auto}main{display:block;padding:0 20px;margin:30px auto 40px}.eyebrow{font-size:11px}h1{font-size:54px}.intro{font-size:16px}.inputs{grid-template-columns:minmax(0,1fr) 130px;gap:10px}.preview{position:static;margin-top:32px;padding:20px;scroll-margin-top:20px}.steps{gap:28px}.brand .mark{width:30px;height:30px}footer{display:block;font-size:11px}footer span{display:block;margin-top:9px}}@media print{@page{size:A4;margin:15mm}body{background:white}header,.editor,footer,.preview-heading,.actions,.preview-note,.notice,#status{display:none!important}main{display:block;margin:0;padding:0}.preview{padding:0;background:none;position:static;width:110mm;margin:0 auto}canvas{box-shadow:none;width:110mm;height:auto}}

.tse-panel{background:#e6edff;border:1px solid #ccdafb;border-radius:12px;padding:18px;margin-bottom:28px}.tse-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;color:#123dbd}.tse-heading span{font-size:12px;font-weight:700}.tse-panel p{font-size:14px;color:#506383;line-height:1.5;margin:10px 0 16px}.tse-panel label{font-size:14px}select{width:100%;min-height:48px;border-radius:8px;border:1px solid #bbcbed;background:white;color:#152443;font:inherit;padding:10px;margin-top:6px}select:focus-visible{outline:3px solid #7195ff}.source-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:8px}.source-footer a{font-size:12px;color:#123dbd;line-height:1.5}.source-footer button{border:0;background:transparent;color:#123dbd;font-size:12px;padding:8px}.tse-panel #tse-status{font-size:12px;margin:0;line-height:1.5}.search-candidate{border:0;background:transparent;color:#123dbd;padding:0 2px;min-height:36px;font-size:13px;margin-top:5px;text-decoration:underline;text-underline-offset:3px}dialog{border:0;border-radius:18px;width:min(560px,calc(100% - 32px));max-height:85dvh;padding:24px;color:#152443;box-shadow:0 25px 90px #0b204044}dialog::backdrop{background:#0b204080;backdrop-filter:blur(3px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:22px}.dialog-heading h2{font-size:22px;margin:8px 0 0}.dialog-heading .eyebrow{font-size:11px}.dialog-heading button{border:0;background:#ecf0f7;min-width:44px;font-size:26px}.dialog-footnote,#result-count{font-size:13px;color:#63718a;line-height:1.5}#candidate-results{display:grid;gap:8px;max-height:45dvh;overflow:auto}.candidate-option{text-align:left;border:1px solid #d7dfed;background:#f5f8ff;padding:14px;display:grid;gap:6px;width:100%;min-height:84px}.candidate-option:hover{background:#e5edff;border-color:#86a5f2}.candidate-option strong{font-size:15px}.candidate-option span{font-size:14px;color:#123dbd}.candidate-option small{font-size:12px;font-weight:400;color:#65718a}@media print{.tse-panel,dialog{display:none!important}}


.campaign-title{font-size:clamp(36px,4.5vw,59px);letter-spacing:-.04em;line-height:1.04}.campaign-title span{white-space:nowrap}.campaign-number{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--blue);color:#fff;padding:16px 20px;border-radius:12px;margin-top:24px}.campaign-number span{font-size:12px;font-weight:800;letter-spacing:.035em}.campaign-number small{display:block;font-size:11px;margin-top:7px;color:#dbe5ff}.campaign-number strong{color:var(--yellow);font-size:clamp(36px,5vw,54px);letter-spacing:-.035em}.campaign-choice{background:#e5ecff;border:1px solid #bed0ff;border-radius:12px;padding:16px;margin:28px 0}.campaign-choice legend{background:#e5ecff;border-radius:6px;padding:4px 8px}.campaign-choice input[readonly]{background:#f8faff;color:#123dbd;border-color:#b8c9ec}.campaign-choice input.number{background:#ffdf57;color:#132c6c}.campaign-choice:after{content:'Leandro do Hospital · 36555 · preenchimento automático';display:block;font-size:12px;line-height:1.5;color:#405b94;margin-top:12px}.tse-panel select:disabled{color:#31446b;opacity:1;background:#f2f5fc}@media(max-width:620px){.campaign-title{font-size:clamp(32px,8.8vw,52px)}.campaign-number{padding:14px 16px}.campaign-number strong{font-size:48px}.campaign-choice{padding:12px}.campaign-choice .inputs{grid-template-columns:minmax(0,1fr) 122px}}
.official-picker{background:#eaf0ff;border:1px solid #d5e0fa;border-radius:10px;padding:14px;margin-bottom:12px}.official-picker label{font-size:13px;color:#3f557d}.official-picker select{font-size:14px;margin:6px 0 0;max-width:100%}.official-picker input{margin-bottom:14px;font-size:14px}.official-picker select:disabled{opacity:.65}.search-candidate{display:none}
