@import url('https://fonts.googleapis.com/css2?family=DM+Mono&family=Manrope:wght@400;500;600;700;800&family=Source+Serif+4:opsz,wght@8..60,600;8..60,700&display=swap');
:root{--ink:#15251f;--muted:#61726b;--paper:#f5f7f3;--line:#dbe3de;--green:#087e5b;--deep:#063d30;--lime:#d9f99d;--yellow:#f7cb4d;--red:#9d2020}.header-link{margin-left:auto;color:var(--green);font-size:.78rem;font-weight:800;text-decoration:none}.auth-shell{width:min(100% - 2.5rem,1120px);min-height:calc(100vh - 76px);margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(390px,.9fr);gap:clamp(2.5rem,7vw,7rem);align-items:center;padding:4rem 0 6rem}.auth-shell.single{grid-template-columns:minmax(0,.85fr) minmax(390px,.85fr)}.auth-intro{padding:1rem 0}.auth-intro h1{margin:.7rem 0 1.4rem;font-size:clamp(3rem,5.1vw,4.8rem);line-height:.98;letter-spacing:-.08em}.auth-intro h1 em{font-family:'Source Serif 4',Georgia,serif;font-weight:600;color:var(--green)}.auth-intro>p:not(.eyebrow){max-width:510px;color:var(--muted);font-size:1.02rem}.auth-intro ul{display:grid;gap:.65rem;margin:2rem 0 0;padding:1.2rem 0 0;list-style:none;border-top:1px solid var(--line);color:#365448;font-size:.82rem}.auth-intro li:before{content:'✓';display:inline-grid;place-items:center;width:19px;height:19px;margin-right:.55rem;border-radius:50%;background:#ddf2e5;color:var(--green);font-size:.66rem}.auth-card{padding:clamp(1.6rem,4vw,3rem);border:1px solid #d6e4dc;border-radius:16px;background:rgba(255,255,255,.95);box-shadow:0 25px 55px rgba(10,48,35,.11)}.auth-card .back{margin-bottom:2.4rem}.auth-card .eyebrow{margin:0 0 .75rem}.auth-card h2{margin:0;font-size:2rem;line-height:1.05;letter-spacing:-.06em}.auth-copy{margin:1rem 0 0;color:var(--muted);font-size:.88rem;line-height:1.6}.auth-card form{margin-top:1.8rem;background:transparent;border:0;box-shadow:none;padding:0}.auth-card fieldset{margin-bottom:1.2rem;padding-bottom:1.25rem}.form-actions{display:flex;align-items:center;justify-content:space-between;gap:1rem}.form-actions a{color:var(--green);font-size:.76rem;font-weight:800;text-decoration:none}.dev-link{margin:1rem 0;padding:.8rem .9rem;border:1px dashed #91baa6;border-radius:6px;background:#f2faf5;color:#35594a;font-size:.78rem}.dev-link a{color:var(--green);font-weight:800}.auth-card .success,.auth-card .error{margin:1.25rem 0 0}@media(max-width:800px){.auth-shell,.auth-shell.single{grid-template-columns:1fr;gap:1.5rem;padding:3rem 0 4rem}.auth-intro{padding:0}.auth-intro h1{font-size:3.1rem}.auth-card{max-width:620px;width:100%}}@media(max-width:540px){.auth-shell,.auth-shell.single{width:min(100% - 2rem,1120px);padding-top:2rem}.auth-card{padding:1.4rem;border-radius:12px}.auth-intro h1{font-size:2.75rem}.form-actions{align-items:flex-start;flex-direction:column}.header-link{font-size:.72rem}}
:root{--ink:#15251f;--muted:#61726b;--paper:#f5f7f3;--line:#dbe3de;--green:#087e5b;--deep:#063d30;--lime:#d9f99d;--yellow:#f7cb4d;--red:#9d2020}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:radial-gradient(circle at 95% 7%,#dff1df 0,transparent 20rem),var(--paper);font:16px/1.6 Manrope,Arial,sans-serif}header{height:76px;background:#ffffffd9;backdrop-filter:blur(12px);border-bottom:1px solid var(--line);display:flex;align-items:center;padding:0 max(1.25rem,calc((100% - 1120px)/2))}.brand{display:flex;gap:.6rem;align-items:center;color:var(--ink);font-weight:800;letter-spacing:-.06em;text-decoration:none}.brand::before{content:'ET';display:grid;place-items:center;height:31px;width:31px;border-radius:50%;background:var(--green);color:#fff;font:700 .65rem 'DM Mono';letter-spacing:-.1em}.brand span{color:var(--green)}.form-wrap{width:min(100% - 2.5rem,860px);margin:0 auto;padding:4.5rem 0 7rem}.back{display:inline-flex;align-items:center;gap:.35rem;text-decoration:none;color:var(--ink);font-size:.82rem;font-weight:700;border-bottom:1px solid currentColor}.eyebrow{margin:2.8rem 0 .85rem;color:var(--green);font:500 .72rem 'DM Mono';letter-spacing:.11em}.form-wrap h1{max-width:700px;margin:0;letter-spacing:-.07em;line-height:1;font-size:clamp(2.8rem,6vw,4.7rem)}.lead{max-width:650px;margin:1.3rem 0 0;color:var(--muted);font-size:1.05rem}.form-wrap form{margin-top:2.5rem;background:#fff;border:1px solid var(--line);border-radius:8px;padding:clamp(1.4rem,4vw,2.7rem);box-shadow:0 18px 45px #12312613}fieldset{margin:0 0 2rem;padding:0 0 2rem;border:0;border-bottom:1px solid var(--line)}fieldset:last-of-type{margin-bottom:1.4rem}legend{font-size:1.15rem;font-weight:800;letter-spacing:-.03em;margin:0 0 1.2rem}legend small{color:var(--muted);font-size:.75rem;font-weight:500;letter-spacing:0}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.1rem 1rem}label{display:grid;gap:.4rem;font-size:.78rem;font-weight:800;letter-spacing:.01em}input,select{width:100%;min-height:46px;padding:.7rem .8rem;border:1px solid #b7c9bf;border-radius:4px;background:#fbfdfb;color:var(--ink);font:500 .92rem Manrope;outline:0;transition:border-color .15s,box-shadow .15s}input:focus,select:focus{border-color:var(--green);box-shadow:0 0 0 3px #087e5b20;background:#fff}.upload{padding:1.25rem;border:2px dashed #9cc5b1;border-radius:6px;background:#f5fbf6;color:var(--green);font-size:.9rem}.upload input{margin-top:.35rem;border:0;background:transparent;padding:.2rem;min-height:auto}.hint{color:var(--muted);font-size:.78rem;margin:.7rem 0 0}.hint a{color:var(--green);font-weight:800}.action{border:0;border-radius:4px;padding:.85rem 1.2rem;background:var(--green);color:#fff;font:700 .9rem Manrope;cursor:pointer;box-shadow:0 6px 14px #087e5b2c;transition:transform .15s,background .15s}.action:hover{background:#056c4d;transform:translateY(-1px)}.success,.error{margin:1.6rem 0 0;padding:.9rem 1rem;border-radius:4px;font-size:.88rem}.success{background:#dff5e8;color:#155b36;border-left:3px solid #087e5b}.error,.field-error{background:#ffe8e8;color:var(--red);border-left:3px solid #c34a4a}.field-error{padding:.5rem .7rem;font-size:.8rem}@media(max-width:600px){header{height:64px}.form-wrap{width:min(100% - 2rem,860px);padding-top:3rem}.eyebrow{margin-top:2rem}.grid{grid-template-columns:1fr}.form-wrap form{padding:1.25rem}.form-wrap h1{font-size:2.8rem}}
/* Cadastro eleitoral */
.registration{grid-template-columns:minmax(0,.82fr) minmax(470px,1.08fr)}.registration .auth-card{max-width:650px}.registration .grid .wide{grid-column:1/-1}.consent{grid-template-columns:18px 1fr;align-items:start;gap:.7rem;margin:0 0 1rem;color:#50685e;font-size:.76rem;font-weight:500;letter-spacing:0;line-height:1.5}.consent input{width:18px;min-height:auto;margin:.15rem 0 0;accent-color:#087e5b}.verification-note{margin:0 0 1.35rem;padding:.8rem .9rem;border-left:3px solid #e0b633;background:#fff8df;color:#675623;font-size:.76rem;line-height:1.55}.verification-note strong{color:#4e4014}@media(max-width:800px){.registration{grid-template-columns:1fr}.registration .auth-card{max-width:620px}}
/* Alinhamento do aviso no cadastro */
.auth-card .verification-note{display:block;width:100%;margin:0 0 1.35rem;padding:.85rem 1rem;border-left:3px solid #e0b633;background:#fff8df;color:#675623;font-size:.76rem;line-height:1.55;text-align:left}.auth-card .verification-note b{display:inline;color:#4e4014}
/* Cabeçalho das telas de acesso: mesmo padrão visual da navegação pública. */
header{height:72px;background:rgba(255,255,255,.88);border-bottom:1px solid rgba(207,225,214,.9);backdrop-filter:blur(18px);box-shadow:0 10px 30px rgba(13,47,35,.06)}header .brand{min-width:0;white-space:nowrap}header .brand::before{width:31px;height:31px;border-radius:9px;background:linear-gradient(135deg,#0a966d,#056247);box-shadow:0 6px 15px #087e5b33}header .header-link{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border:0;border-radius:999px;background:linear-gradient(135deg,#0b906a,#087e5b);padding:.5rem .9rem;color:#fff;font-size:.76rem;font-weight:850;line-height:1.1;text-decoration:none;white-space:nowrap;box-shadow:0 7px 15px #087e5b2e}header .header-link:hover{background:linear-gradient(135deg,#087e5b,#056247)}@media(max-width:600px){header{height:64px;gap:.5rem;padding-inline:.65rem}header .brand{overflow:hidden;text-overflow:ellipsis;font-size:.82rem}header .brand::before{flex:0 0 30px;width:30px;height:30px;margin-right:-.08rem}header .header-link{flex:0 0 auto;min-height:40px;padding:.5rem .72rem;font-size:.68rem}}
/* A navegação pública já está no cabeçalho; evite repetir esse link no cartão. */
.auth-card .back[href$="/"]{display:none}
.password-control{position:relative;display:block}.password-control input{padding-right:3rem}.password-visibility{position:absolute;top:50%;right:.55rem;display:grid;place-items:center;width:2rem;height:2rem;padding:0;border:0;border-radius:50%;background:transparent;color:#087e5b;transform:translateY(-50%);cursor:pointer}.password-visibility:hover{background:#e5f4eb}.password-visibility:focus-visible{outline:2px solid #087e5b;outline-offset:2px}.password-visibility svg{width:1.15rem;height:1.15rem;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}
/* Cabeçalho fixo e padronizado nas telas de acesso do colaborador. */
body:has(.auth-shell) {
    padding-top: 76px;
}

body:has(.auth-shell) > header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 80;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 max(2rem, calc((100% - 1180px) / 2));
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid #cfe1d6;
    box-shadow: 0 10px 30px rgba(13, 47, 35, .06);
    backdrop-filter: blur(18px);
}

body:has(.auth-shell) > header .brand {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    color: #093c2d;
    font-weight: 800;
    text-decoration: none;
}

body:has(.auth-shell) > header .header-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 1.05rem;
    border-radius: 999px;
    color: #fff;
    background: #07875f;
    box-shadow: 0 9px 18px rgba(7, 135, 95, .18);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

body:has(.auth-shell) > header .header-link:hover {
    color: #fff;
    background: #056d4c;
}

@media (max-width: 540px) {
    body:has(.auth-shell) {
        padding-top: 64px;
    }

    body:has(.auth-shell) > header {
        height: 64px;
        padding: 0 1rem;
    }

    body:has(.auth-shell) > header .brand {
        font-size: .9rem;
    }

    body:has(.auth-shell) > header .header-link {
        min-height: 40px;
        padding: 0 .9rem;
    }
}
