*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:"Plus Jakarta Sans",Arial,sans-serif;background:#f4f7ff;color:#111936}
body{display:grid;place-items:center;padding:24px}
a{color:#0066ff;text-decoration:none}
a:hover{text-decoration:underline}
.auth-shell{width:min(980px,100%);display:grid;grid-template-columns:1fr 1fr;overflow:hidden;border:1px solid #e4e9f4;border-radius:26px;background:#fff;box-shadow:0 24px 80px rgba(19,30,80,.10)}
.auth-brand{padding:42px;background:linear-gradient(160deg,#0066ff,#00388c);color:#fff;display:flex;flex-direction:column;justify-content:space-between;min-height:640px}
.auth-brand-top{display:flex;align-items:center;gap:12px}
.auth-brand-logo{width:48px;height:48px;border-radius:13px;background:#fff;color:#0066ff;display:grid;place-items:center;font-weight:800;font-size: 26px}
.auth-brand strong{font-size: 24px}
.auth-brand p{max-width:390px;font-size: 17px;line-height:1.65;color:rgba(255,255,255,.80)}
.auth-brand small{color:rgba(255,255,255,.64);font-size: 14px}
.auth-panel{padding:42px;display:flex;align-items:center}
.auth-card{width:100%;max-width:420px;margin:0 auto}
.auth-card h1{margin:0 0 8px;font-size: 32px;line-height:1.15}
.auth-card>p{margin:0 0 26px;color:#6f7892;font-size: 16px;line-height:1.55}
.auth-field{display:block;margin:0 0 16px}
.auth-field span{display:block;margin:0 0 7px;font-size: 14px;font-weight:700;color:#48516a}
.auth-field input{width:100%;height:48px;padding:0 13px;border:1px solid #dfe5f1;border-radius:11px;background:#fff;color:#111936;font:inherit;font-size: 16px;outline:none}
.auth-field input:focus{border-color:#0066ff;box-shadow:0 0 0 3px rgba(0,102,255,.08)}
.auth-button{width:100%;height:48px;border:0;border-radius:11px;background:#0066ff;color:#fff;font:inherit;font-size: 15px;font-weight:800;cursor:pointer}
.auth-button:hover{background:#0057d9}
.auth-row{margin-top:16px;display:flex;align-items:center;justify-content:space-between;gap:16px;font-size: 14px}
.auth-help{margin-top:24px;padding-top:18px;border-top:1px solid #edf0f6;color:#78829c;font-size: 14px;line-height:1.5}
.auth-alert{margin:0 0 18px;padding:12px 14px;border-radius:10px;font-size: 14px;line-height:1.45}
.auth-alert.error{background:#fff0f1;color:#b63d49}
.auth-alert.success{background:#eaf8f2;color:#14744d}
.auth-alert.info{background:#eef2ff;color:#35415d}
.auth-password-hint{margin-top:6px;color:#8a93aa;font-size: 13px}
.auth-legal{margin-top:18px;color:#9199ad;font-size: 12px;line-height:1.5}
.auth-field-label{display:block;margin:0 0 7px;font-size: 14px;font-weight:700;color:#48516a}
.auth-password-control{position:relative}
.auth-password-control input{padding-right:84px}
.auth-password-toggle{position:absolute;right:5px;top:5px;min-height:38px;padding:0 10px;border:0;border-radius:7px;background:#f1f3ff;color:#0066ff;font:inherit;font-size: 14px;font-weight:700;cursor:pointer}
.auth-password-toggle:hover{background:#e6eaff}
.auth-password-toggle:focus-visible{outline:2px solid #0066ff;outline-offset:2px}
.auth-password-rules{list-style:none;padding:0;margin:10px 0 0;color:#68728b;font-size: 13px;line-height:1.8}
.auth-password-rules li:before{content:'○';display:inline-block;width:17px}
.auth-password-rules li.is-met{color:#14744d}
.auth-password-rules li.is-met:before{content:'✓'}
.auth-password-status{font-size: 13px;color:#48516a;line-height:1.5;margin:6px 0 0;min-height:1.5em}
@media(max-width:820px){.auth-shell{grid-template-columns:1fr}.auth-brand{min-height:auto;padding:28px}.auth-brand p{margin-bottom:0}.auth-panel{padding:28px}}

/* Identidade de acesso comum aos módulos — evolução do login Financeiro. */
.auth-page{padding:0;display:block;min-height:100vh;background:#f5f7fb}
.auth-shell{width:100%;min-height:100vh;border:0;border-radius:0;box-shadow:none;grid-template-columns:minmax(420px,48%) 1fr;background:#f8f9fc}
.auth-brand{min-height:100vh;padding:48px clamp(36px,5vw,86px);background:radial-gradient(ellipse at 100% 85%,#5599ff66,transparent 48%),linear-gradient(145deg,#0058dd,#003584 90%);position:relative;overflow:hidden}
.auth-brand:after{content:'';position:absolute;width:470px;height:470px;border:1px solid #ffffff0c;border-radius:50%;right:-290px;top:140px;pointer-events:none}
.auth-wordmark{display:block;width:220px;max-width:85%;margin-bottom:65px}.auth-wordmark img{display:block;width:100%;height:auto}
.auth-pitch{margin:auto 0;position:relative;z-index:1}.auth-eyebrow{font-size: 11px;font-weight:700;letter-spacing:2px;color:#b9d5ff}
.auth-brand h2{font-size:clamp(34px,3.6vw,56px);line-height:1.12;letter-spacing:-2px;font-weight:700;margin:20px 0 22px;color:#fff}
.auth-brand .auth-pitch>p{font-size: 15px;line-height:1.9;color:#c0d2ed;max-width:360px}
.auth-services{display:grid;gap:10px;max-width:380px;margin:34px 0 35px}.auth-services>div{display:grid;grid-template-columns:34px 1fr;align-items:center;gap:2px 12px;background:#ffffff0b;border:1px solid #ffffff16;padding:14px 17px;border-radius:12px}.auth-services span{grid-row:1/3;font-size: 13px;display:grid;place-items:center;color:#cce0ff;background:#ffffff12;border-radius:9px;width:32px;height:32px}.auth-services strong{font-size: 14px;font-weight:600;color:#fff}.auth-services small{font-size: 12px;color:#a8bfe1}.auth-brand .auth-caption{margin-top:40px;font-size: 12px;color:#9eb7dc}
.auth-panel{padding:50px clamp(26px,5vw,85px);display:flex;flex-direction:column;justify-content:center;min-height:100vh;position:relative}
.auth-card{width:100%;max-width:430px;margin:auto;padding:32px 0}.auth-card-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:34px}.auth-account-badge{color:#4c7ac0;background:#ebf3ff;padding:7px 10px;border-radius:7px;font-size: 11px;font-weight:800;letter-spacing:1px}.auth-theme-button{background:transparent;border:1px solid #e0e4ee;border-radius:10px;color:#747e96;width:34px;height:34px;font-size: 20px;cursor:pointer}
.auth-card h1{font-size: 31px;line-height:1.25;letter-spacing:-1px;color:#1b2440}.auth-card>p{font-size: 14px;line-height:1.8;color:#7d849a;margin-top:10px;margin-bottom:28px}.auth-field input{height:50px;font-size: 15px;background:#fff;border-color:#e1e5ee}.auth-field span,.auth-field-label{font-size: 13px;font-weight:600;color:#565f77}.auth-button{height:50px;font-size: 14px;background:#1368e8;margin-top:8px}.auth-button:hover{background:#0557d2}.auth-row{font-size: 13px;line-height:1.7}.auth-help{font-size: 12px;margin-top:28px}.auth-panel-footer{font-size: 11px;color:#9da5b7;text-align:center;width:100%;margin-top:auto;padding-top:25px}.auth-card .auth-security-note{font-size: 12px;text-align:center;margin:28px 0 0;color:#9ca4b6}
html[data-theme=dark] .auth-shell,html[data-theme=dark] .auth-panel{background:#11172a}html[data-theme=dark] .auth-card h1{color:#edf0fa}html[data-theme=dark] .auth-card>p{color:#a1abc3}html[data-theme=dark] .auth-field input{background:#1c253b;border-color:#344057;color:#edf0fa}html[data-theme=dark] .auth-field span,html[data-theme=dark] .auth-field-label{color:#b8c0d4}html[data-theme=dark] .auth-row,html[data-theme=dark] .auth-help{color:#a1abc3}html[data-theme=dark] .auth-row a,html[data-theme=dark] .auth-help a{color:#9fc5ff}html[data-theme=dark] .auth-help{border-color:#2d3650}html[data-theme=dark] .auth-password-toggle{background:#293952;color:#adceff}html[data-theme=dark] .auth-theme-button{border-color:#344057;color:#b9c2d8}html[data-theme=dark] .auth-account-badge{background:#283850;color:#b5d3ff}
@media(max-width:900px){.auth-shell{grid-template-columns:42% 58%}.auth-brand{padding:40px 28px}.auth-wordmark{width:180px}.auth-brand h2{font-size: 38px}.auth-services{margin-top:24px}.auth-panel{padding:30px}.auth-card h1{font-size: 28px}}
@media(max-width:680px){.auth-shell{display:block}.auth-brand{min-height:0;padding:26px}.auth-wordmark{width:175px;margin:0}.auth-pitch,.auth-caption{display:none}.auth-panel{min-height:calc(100vh - 90px);padding:25px}.auth-card{padding:15px 0}.auth-card-top{margin-bottom:26px}.auth-panel-footer{padding-top:32px}}

.auth-button{background:#0055ff!important}.auth-brand{background:linear-gradient(145deg,#0055ff,#0000a8)!important}

.auth-page .auth-google{display:flex;align-items:center;justify-content:center;gap:10px}.auth-google-icon{flex:none}

.auth-page .auth-google{color:#334155}html[data-theme=dark] .auth-page .auth-google{color:#edf0fa}

