@import url('/fonts.css');
:root{font-family:'DM Sans','Segoe UI',sans-serif;color:#283548;background:#f5f6f8;font-synthesis:none;font-weight:400;--primary:#333f50;--primary-hover:#263244;--muted:#737f8f;--accent:#c3d6f0}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:wait;opacity:.7}[hidden]{display:none!important}a{color:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #7798c0;outline-offset:4px}.login-shell{display:grid;grid-template-columns:46% 54%;min-height:100dvh}.story-panel{background:var(--primary);color:#fff;position:relative;overflow:hidden;padding:44px 56px 26px;display:flex;flex-direction:column;justify-content:space-between}.story-panel:after{content:'';position:absolute;width:650px;height:650px;border:1px solid #ffffff08;border-radius:50%;bottom:-430px;left:-200px;box-shadow:0 0 0 70px #ffffff03,0 0 0 140px #ffffff02;pointer-events:none}.brand{display:inline-flex;align-items:center;gap:12px;text-decoration:none;font-size:24px;font-weight:700;letter-spacing:-1px;width:fit-content;position:relative;z-index:1}.brand-light{font-weight:350}.brand small{display:block;font-size:8px;letter-spacing:2.5px;font-weight:500;margin-top:5px;color:#bdc9d9}.brand-icon{width:42px;height:42px;background:var(--accent);border-radius:11px;color:var(--primary);display:flex;justify-content:center;align-items:center;font-weight:800;letter-spacing:-5px;padding-right:4px;font-size:28px}.brand-icon span{transform:translateY(-2px)}.story-content{position:relative;z-index:1;margin:55px 0 44px;max-width:440px}.eyebrow{font-size:9px;letter-spacing:2px;font-weight:600;display:flex;align-items:center;gap:10px;color:#dae3ee}.eyebrow>span{width:6px;height:6px;background:var(--accent);border-radius:50%}.story-content h1{font-size:clamp(36px,3.8vw,58px);font-weight:400;line-height:1.12;letter-spacing:-2px;margin:26px 0 21px}.story-content em{font-style:normal;color:var(--accent)}.story-content>p{font-size:14px;line-height:1.8;color:#b9c6d7;max-width:340px}.event-illustration{border:1px solid #ffffff1a;border-radius:15px;background:linear-gradient(125deg,#ffffff09,#ffffff02);padding:20px 22px;margin-top:34px;max-width:380px}.illustration-heading{display:flex;justify-content:space-between;align-items:center;color:#aebed2;font-size:8px;letter-spacing:1.6px;margin-bottom:8px}.tiny-icon{font-size:18px;color:var(--accent)}.workflow-row{display:flex;align-items:center;gap:13px;padding:16px 0;border-bottom:1px solid #ffffff0c}.workflow-row:last-child{border:0;padding-bottom:4px}.workflow-icon{width:35px;height:35px;border-radius:9px;background:#c3d6f012;color:var(--accent);display:grid;place-items:center;font-size:19px}.workflow-row strong{display:block;font-size:12px;font-weight:500;color:#e9eef5}.workflow-row small{display:block;font-size:10px;color:#adbed2;margin-top:5px}.workflow-check{margin-left:auto;color:var(--accent);font-size:11px}.story-footer{position:relative;z-index:1;display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#b3c1d3}.footer-star{font-size:30px;color:var(--accent)}.form-panel{padding:38px 52px 26px;display:flex;flex-direction:column;background:#fafbfc}.form-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.edition{font-size:9px;color:#788393;font-weight:600;letter-spacing:1.8px}.mode{display:inline-flex;align-items:center;gap:7px;white-space:nowrap;font-size:10px;padding:7px 10px;border:1px solid #dce4ef;border-radius:25px;color:#526a89;background:#eef3fa}.mode>span{width:5px;height:5px;border-radius:50%;background:#6989b0}.form-content{width:100%;max-width:380px;margin:auto; padding:58px 0}.section-number{font-size:9px;letter-spacing:2px;font-weight:600;color:#647d9e}.form-content h2{font-size:34px;line-height:1.2;font-weight:500;letter-spacing:-1.2px;margin:16px 0 12px}.form-description{font-size:13px;line-height:1.7;color:var(--muted);max-width:320px;margin:0 0 32px}.field{margin-bottom:19px}.field label{display:block;font-size:12px;font-weight:600;margin-bottom:9px}.field input{width:100%;height:49px;border:1px solid #d9e0e9;border-radius:7px;background:#fff;padding:0 14px;font-size:13px;transition:border-color .2s,box-shadow .2s;color:#2d3d52}.field input::placeholder{color:#9ba5b3}.field input:focus{outline:none;border-color:#6d8fb7;box-shadow:0 0 0 3px #6d8fb71a}.field input[aria-invalid=true]{border-color:#aa493e}.field-error{display:block;font-size:11px;color:#a33d34;margin-top:6px}.field-error:empty{display:none}.label-row{display:flex;justify-content:space-between;align-items:baseline}.text-button{border:0;background:none;color:#4d6c95;padding:0;font-size:10px}.text-button:hover{text-decoration:underline}.password-field{position:relative}.password-field input{padding-right:50px}.password-toggle{position:absolute;right:4px;top:4px;height:41px;width:42px;display:grid;place-items:center;border:0;background:none;color:#7d8b9e;border-radius:5px}.password-toggle:hover{color:#333f50;background:#f0f3f8}.submit-button{display:flex;align-items:center;justify-content:space-between;width:100%;height:49px;border:0;border-radius:7px;background:var(--primary);color:#fff;padding:0 18px;font-size:12px;font-weight:500;transition:background .2s;margin-top:25px}.submit-button:hover{background:var(--primary-hover)}.submit-button>span:last-child{font-size:21px;font-weight:300}.form-alert{border:1px solid #ecd5ce;background:#fcf2ed;color:#8d3f32;padding:12px 14px;border-radius:7px;font-size:12px;line-height:1.6;margin-top:12px}.access-note{display:flex;align-items:center;justify-content:center;gap:10px;color:#7b8ba1;border-top:1px solid #e3e8ef;margin-top:28px;padding-top:22px}.access-note p{font-size:10px;line-height:1.8;margin:0}.access-note strong{font-weight:400;color:#718096}.form-footer{display:flex;justify-content:space-between;gap:16px;font-size:9px;color:#8590a0}.form-footer>span:first-child{font-weight:600}.account-shell{min-height:100dvh;background:#f5f6f8}.account-header{display:flex;align-items:center;justify-content:space-between;padding:24px 5vw;background:#fff;border-bottom:1px solid #e1e6ee;gap:18px}.brand-dark{color:var(--primary)}.account-actions{display:flex;align-items:center;gap:20px}.logout-button{border:1px solid #d5dfeb;border-radius:7px;background:#fff;padding:10px 15px;color:#3e587b;font-size:12px}.account-content{max-width:800px;margin:80px auto;padding:0 24px}.account-content h1{font-size:42px;font-weight:500;letter-spacing:-1.5px;margin-bottom:12px}.account-description{color:var(--muted);font-size:14px}.profile-card{margin-top:36px;background:#fff;border:1px solid #dfe6ef;border-radius:12px;padding:8px 26px}.profile-card>div{padding:22px 0;border-bottom:1px solid #edf0f5;display:grid;grid-template-columns:130px 1fr;gap:20px}.profile-card>div:last-child{border:0}.profile-card dt{color:#7a8ba2;font-size:12px}.profile-card dd{margin:0;font-size:14px;overflow-wrap:anywhere}.next-step{color:#75849a;font-size:12px;margin-top:28px}dialog{border:1px solid #dce4ef;border-radius:14px;padding:36px;max-width:440px;width:calc(100% - 32px);color:#2e3e54;box-shadow:0 20px 90px #26374e26}dialog::backdrop{background:#26374e88;backdrop-filter:blur(4px)}dialog h2{font-size:25px;font-weight:500;letter-spacing:-.5px}dialog p{font-size:13px;color:#738299;line-height:1.8}.dialog-close{position:absolute;right:15px;top:10px;border:0;background:none;font-size:26px;color:#738299}.loading{display:inline-block;animation:pulse 1s infinite}@keyframes pulse{50%{opacity:.3}}@media(min-width:1450px){.story-panel{padding-left:80px;padding-right:80px}.story-content{margin-left:auto;margin-right:auto;width:100%;max-width:470px}}@media(max-width:1000px){.story-panel{padding:35px 32px 24px}.form-panel{padding:30px 30px 24px}.story-content h1{font-size:42px}.event-illustration{padding:16px}.workflow-row small{font-size:9px}.story-footer{font-size:9px}.form-top .edition{display:none}}@media(max-width:720px){.login-shell{grid-template-columns:1fr}.story-panel{padding:24px;min-height:auto}.brand{font-size:21px}.brand-icon{height:35px;width:35px;font-size:25px}.brand small{font-size:7px}.story-content{margin:28px 0 5px;max-width:none}.story-content h1{font-size:32px;letter-spacing:-1px;margin:15px 0 10px}.story-content h1 br:nth-child(2){display:none}.story-content>p,.event-illustration,.story-footer{display:none}.eyebrow{font-size:8px;letter-spacing:1.3px}.form-panel{padding:22px 24px 24px}.form-top{justify-content:flex-end}.form-content{padding:28px 0 40px;max-width:420px}.form-content h2{font-size:29px}.form-description{margin-bottom:26px}.form-footer{font-size:8px}.account-header{padding:20px;flex-wrap:wrap}.account-actions{gap:10px}.account-content{margin:45px auto}.account-content h1{font-size:32px}.profile-card>div{grid-template-columns:1fr;gap:8px}.account-header .mode{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Ícone oficial fornecido pelo usuário, preservado sem alterações. */
img.brand-icon{display:block;object-fit:contain;background:transparent;border-radius:0;padding:0;flex-shrink:0}

.recovery-dialog{max-width:470px;max-height:calc(100dvh - 32px);overflow-y:auto;padding:34px}.recovery-dialog h2{margin:16px 0 22px;font-size:28px;letter-spacing:-.8px}.recovery-dialog .field{margin-bottom:17px}.recovery-dialog p{font-size:12px}.recovery-dialog .submit-button{margin-top:22px}.recovery-steps{display:flex;list-style:none;padding:0;margin:0 0 24px;gap:16px;border-bottom:1px solid #e1e6ee;padding-bottom:19px}.recovery-steps li{display:flex;align-items:center;gap:6px;font-size:10px;color:#8b96a5;white-space:nowrap}.recovery-steps li>span{display:grid;place-items:center;border:1px solid #dce3ed;width:22px;height:22px;border-radius:50%;font-size:10px}.recovery-steps li[aria-current]{color:var(--primary);font-weight:600}.recovery-steps li[aria-current]>span{background:var(--primary);color:#fff;border-color:var(--primary)}.recovery-steps .completed>span{background:#e8eef7;color:var(--primary)}.recovery-dialog .recovery-notice{padding:12px 14px;background:#eef2f7;border:1px solid #dce4ef;border-radius:7px;color:#536982;font-size:11px;line-height:1.7;margin-top:18px}.recovery-dialog .recovery-footnote{font-size:10px;color:#8793a3;line-height:1.7;margin-top:18px}.recovery-back,.recovery-secondary{display:block;border:0;background:none;color:#4d6c95;font-size:11px;padding:10px 0;margin:4px auto}.recovery-back{border-top:1px solid #e1e6ee;width:100%;padding-top:20px;margin-top:20px}.recovery-secondary:disabled{color:#95a0ae;cursor:default}.code-input{text-align:center;letter-spacing:10px;font-size:23px!important;height:58px!important;font-variant-numeric:tabular-nums}.code-expiry{text-align:center;font-size:11px!important;font-variant-numeric:tabular-nums}.code-verified{display:flex;align-items:center;gap:12px;background:#edf2f8;border:1px solid #dce4ef;border-radius:8px;padding:14px}.code-verified>span{border-radius:50%;background:var(--primary);color:#fff;display:grid;place-items:center;width:28px;height:28px}.code-verified strong{font-size:12px}.code-verified p{margin:4px 0 0;font-size:11px}.recovery-dialog input:disabled{background:#f0f2f5;color:#8c97a7;cursor:not-allowed}.recovery-dialog button:disabled{cursor:not-allowed}@media(max-width:480px){.recovery-dialog{padding:28px 22px}.recovery-dialog h2{font-size:25px}.recovery-steps{gap:10px}.recovery-steps li{font-size:9px;gap:4px}}

/* Marca oficial em destaque no acesso e na área autenticada. */
.brand{font-size:34px;gap:15px;letter-spacing:-1.2px}.brand-light{font-weight:500}.brand small{font-size:9px;letter-spacing:3px;margin-top:7px;color:#d5deeb}img.brand-icon{width:66px;height:66px}.brand-dark .brand-light{font-weight:500}@media(max-width:720px){.brand{font-size:29px;gap:12px}.brand small{font-size:8px;letter-spacing:2.3px}img.brand-icon{width:56px;height:56px}}

/* Identidade EventFinance: símbolo oficial e nome com maior presença. */
.story-panel>.brand{gap:20px;font-size:42px;letter-spacing:-1.6px;line-height:1.1}.story-panel>.brand .brand-light{color:#d2e2f8;font-weight:600}.story-panel>.brand>span{font-weight:700}.story-panel>.brand img.brand-icon{width:98px;height:98px;border:1px solid #c3d6f035;border-radius:25px;padding:8px;background:#ffffff06;box-shadow:0 8px 24px #14203222}.story-panel>.brand small{font-size:9px;letter-spacing:3.5px;line-height:1.7;margin-top:10px;color:#d5dfec}.brand-dark{font-size:30px}.mailbox-button{display:block;width:100%;border:1px solid #c4d3e5;color:#3d5b80;background:#eef4fc;border-radius:7px;padding:12px;margin:18px 0;font-size:12px}.test-mail-preview{background:#f4f7fc;border:1px dashed #b7c8dd;border-radius:8px;padding:16px;margin:14px 0;font-size:11px}.test-mail-preview strong{font-size:10px;color:#597393}.test-mail-preview p{white-space:pre-line}.show-passwords{display:flex;align-items:center;gap:8px;font-size:11px;color:#6c7d94;margin-top:12px}.show-passwords input{accent-color:var(--primary)}.success-symbol{display:grid;place-items:center;border-radius:50%;width:58px;height:58px;background:#e3eddf;color:#3b6137;font-size:28px;margin:24px auto 16px}#recovery-success{text-align:center}#recovery-success h3{font-size:23px;color:var(--primary);font-weight:600}#recovery-success p{line-height:1.8}@media(max-width:1000px){.story-panel>.brand{font-size:33px;gap:13px}.story-panel>.brand img.brand-icon{width:80px;height:80px}.story-panel>.brand small{font-size:8px;letter-spacing:2.6px}}@media(max-width:720px){.story-panel>.brand{font-size:35px;gap:16px}.story-panel>.brand img.brand-icon{width:82px;height:82px;border-radius:21px}.story-panel>.brand small{font-size:8px;letter-spacing:2.6px}}@media(max-width:390px){.story-panel>.brand{font-size:29px;gap:12px}.story-panel>.brand img.brand-icon{width:68px;height:68px}.story-panel>.brand small{font-size:7px;letter-spacing:2px}}

/* No celular, a identificação fica dentro dos campos; os rótulos seguem acessíveis. */
@media(max-width:720px){
#login-form label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
#login-form .label-row{justify-content:flex-end;margin-bottom:9px}
}
/* Acesso móvel direto: marca seguida pelos campos, sem apresentação. */
@media(max-width:720px){
.story-panel .story-content,.story-panel .story-footer{display:none}
.story-panel{padding:24px 24px 20px}
#login-view .form-content>.section-number,#login-view .form-content>h2,#login-view .form-description,#login-view .access-note,#login-view .form-footer{display:none}
#login-view .form-panel{padding:18px 24px 28px}
#login-view .form-content{padding:0;margin:0 auto}
#login-view .form-top{margin-bottom:16px}
#login-view .form-top:not(:has(.mode:not([hidden]))){display:none}
}
@media(max-width:720px){#login-view.login-shell{display:flex;flex-direction:column}#login-view .story-panel{flex:none}#login-view .form-panel{flex:1}#login-view .brand small{display:none}}
/* Ajustes móveis: marca centralizada, apresentação curta e acesso mais próximo. */
@media(max-width:720px){
#login-view .story-panel{padding:20px 24px 16px;text-align:center}
#login-view .story-panel>.brand{margin:0 auto;text-align:left}
#login-view .story-panel .story-content{display:block;margin:16px 0 0;max-width:none}
#login-view .story-content .eyebrow{display:none}
#login-view .story-content h1{font-size:24px;line-height:1.25;letter-spacing:-.6px;margin:0}
#login-view .story-content h1 br{display:none}
#login-view .story-panel .story-content>p,#login-view .event-illustration{display:none}
#login-view .form-panel{padding-top:12px}
#login-view .form-top{margin-bottom:10px}
#login-form .field{margin-bottom:14px}
#login-form .field:has(.password-field){display:flex;flex-direction:column}
#login-form .field:has(.password-field) .password-field{order:0}
#login-form .field:has(.password-field) .field-error{order:1}
#login-form .field:has(.password-field) .label-row{order:2;margin:8px 0 0;justify-content:flex-end}
#login-form .submit-button{margin-top:18px}
}
/* Referência visual móvel: acesso escuro, campos delineados e hierarquia simples. */
@media(max-width:720px){
body:has(#login-view:not([hidden])){background:#253142}
#login-view.login-shell{background:#253142;color:#f2f5fa;min-height:100dvh}
#login-view .story-panel{background:transparent;padding:34px 24px 20px;overflow:visible}
#login-view .story-panel:after{display:none}
#login-view .story-panel>.brand{font-size:32px;gap:14px}
#login-view .story-panel>.brand img.brand-icon{width:66px;height:66px;border-radius:17px;background:#ffffff05;box-shadow:none}
#login-view .story-panel .story-content{display:none}
#login-view .form-panel{background:transparent;padding:0 28px 30px;width:100%;max-width:446px;margin:0 auto}
#login-view .form-content{max-width:none}
#login-view .form-content>h2{display:block;font-size:26px;font-weight:650;letter-spacing:-.7px;margin:8px 0 10px;color:#f1f5fa}
#login-view .form-description{display:block;color:#b6c4d5;font-size:13px;line-height:1.65;margin:0 0 28px}
#login-view .form-top{margin:0 0 12px;justify-content:flex-end}
#login-view .mode{background:#ffffff05;border-color:#ffffff19;color:#aebfd4;font-size:9px}
#login-form .field{margin-bottom:21px}
#login-form label{position:static;width:auto;height:auto;padding:0;margin:0 0 9px;overflow:visible;clip-path:none;white-space:normal;color:#e7edf6;font-size:12px;font-weight:600}
#login-form .field input{height:49px;background:#ffffff04;border:1px solid #ffffff26;color:#f3f6fb;border-radius:10px;padding-left:15px;font-size:13px}
#login-form .field input::placeholder{color:#9bacbf}
#login-form .field input:focus{background:#ffffff07;border-color:#9cb9dc;box-shadow:0 0 0 3px #9cb9dc15}
#login-form .password-toggle{color:#b8c5d6}
#login-form .password-toggle:hover{background:#ffffff0b;color:#fff}
#login-form .field:has(.password-field){display:flex;flex-direction:column}
#login-form .field:has(.password-field) .label-row{display:contents}
#login-form .label-row label{order:-1}
#login-form .password-field{order:0}
#login-form .field:has(.password-field) .field-error{order:1}
#login-form #forgot-password{order:2;align-self:flex-start;margin:13px 0 0;color:#b9d4f5;font-size:12px;font-weight:600;padding:3px 0}
#login-form .submit-button{background:#bcd3ee;color:#243247;height:49px;border-radius:8px;margin-top:28px;font-weight:700;font-size:13px;justify-content:center;gap:12px}
#login-form .submit-button:hover{background:#d0e1f7}
#login-form .field-error{color:#ffb7ac}
#login-view .form-footer{display:flex;justify-content:center;border-top:1px solid #ffffff20;margin-top:34px;padding-top:20px;color:#9cadc2;font-size:10px}
#login-view .form-footer>span:first-child{display:none}
}
:root{font-family:'DM Sans','Segoe UI',sans-serif}
@media(min-width:721px){
#login-view .story-panel{background:#333f50}
#login-view .form-panel{background:#253142;color:#f1f5fa;border-left:1px solid #ffffff0b}
#login-view .form-content{max-width:390px}
#login-view .form-content h2{font-weight:650;font-size:30px;letter-spacing:-.8px}
#login-view .form-description{color:#b6c4d5}
#login-view .edition,#login-view .section-number{color:#93a8c2}
#login-view .mode{background:#ffffff05;border-color:#ffffff19;color:#aebfd4}
#login-form .field{margin-bottom:21px}
#login-form label{color:#e7edf6;font-size:13px;font-weight:550}
#login-form .field input{height:49px;background:#ffffff04;border:1px solid #ffffff26;color:#f3f6fb;border-radius:10px;font-size:14px}
#login-form .field input::placeholder{color:#9bacbf}
#login-form .field input:focus{background:#ffffff07;border-color:#9cb9dc;box-shadow:0 0 0 3px #9cb9dc15}
#login-form .password-toggle{color:#b8c5d6}
#login-form .password-toggle:hover{background:#ffffff0b;color:#fff}
#login-form .field:has(.password-field){display:flex;flex-direction:column}
#login-form .field:has(.password-field) .label-row{display:contents}
#login-form .label-row label{order:-1}
#login-form .password-field{order:0}
#login-form .field:has(.password-field) .field-error{order:1}
#login-form #forgot-password{order:2;align-self:flex-start;margin:13px 0 0;color:#b9d4f5;font-size:12px;font-weight:600;padding:3px 0}
#login-form .submit-button{background:#bcd3ee;color:#243247;height:49px;border-radius:8px;margin-top:28px;font-weight:700;font-size:14px;justify-content:center;gap:12px}
#login-form .submit-button:hover{background:#d0e1f7}
#login-form .field-error{color:#ffb7ac}
#login-view .access-note{border-color:#ffffff20;color:#9cadc2}
#login-view .form-footer{color:#9cadc2}
}
@media(max-width:720px){
#login-form label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
}
/* Símbolo oficial limpo, sem moldura adicional. */
#login-view .story-panel>.brand img.brand-icon{border:0;border-radius:0;padding:0;background:transparent;box-shadow:none;object-fit:contain;width:88px;height:88px}
#login-view .story-panel>.brand{gap:18px}
@media(max-width:720px){#login-view .story-panel>.brand img.brand-icon{width:72px;height:72px}#login-view .story-panel>.brand{gap:14px}}
/* Modos claro e escuro: a identidade da marca permanece azul. */
.theme-toggle{border:1px solid #ffffff26;background:transparent;color:#bdcce0;border-radius:20px;padding:7px 11px;font-size:11px;white-space:nowrap}
#login-view .form-top{display:flex;flex-wrap:wrap;gap:10px}
#login-view .form-top .edition{display:none}
html:not([data-theme=dark]) body{background:#f5f6f8;color:#283548}
html:not([data-theme=dark]) #login-view.login-shell{background:#fafbfc;color:#283548}
html:not([data-theme=dark]) #login-view .story-panel{background:#333f50;color:#fff}
html:not([data-theme=dark]) #login-view .form-panel{background:#fafbfc;color:#283548;border-color:#e3e8ef}
html:not([data-theme=dark]) #login-view .form-content h2{color:#283548}
html:not([data-theme=dark]) #login-view .form-description{color:#737f8f}
html:not([data-theme=dark]) #login-form label{color:#283548}
html:not([data-theme=dark]) #login-form .field input{background:#fff;border-color:#d9e0e9;color:#2d3d52}
html:not([data-theme=dark]) #login-form .field input::placeholder{color:#9ba5b3}
html:not([data-theme=dark]) #login-form .field input:focus{border-color:#6d8fb7;box-shadow:0 0 0 3px #6d8fb71a}
html:not([data-theme=dark]) #login-form .password-toggle{color:#7d8b9e}
html:not([data-theme=dark]) #login-form #forgot-password{color:#4d6c95}
html:not([data-theme=dark]) #login-form .submit-button{background:#333f50;color:#fff}
html:not([data-theme=dark]) #login-form .submit-button:hover{background:#263244}
html:not([data-theme=dark]) #login-view .mode{background:#eef3fa;border-color:#dce4ef;color:#526a89}
html:not([data-theme=dark]) #login-view .access-note,html:not([data-theme=dark]) #login-view .form-footer{border-color:#e3e8ef;color:#7b8ba1}
html:not([data-theme=dark]) .theme-toggle{border-color:#d9e0e9;color:#526a89;background:#fff}
html:not([data-theme=dark]) #login-form .field-error{color:#a33d34}
html[data-theme=dark] .recovery-dialog{background:#253142;color:#f1f5fa;border-color:#4c5a6e;color-scheme:dark}
html[data-theme=dark] .recovery-dialog h2,html[data-theme=dark] #recovery-success h3{color:#f1f5fa}
html[data-theme=dark] .recovery-dialog p{color:#b6c4d5}
html[data-theme=dark] .recovery-dialog .field input{background:#303d50;color:#fff;border-color:#536176}
html[data-theme=dark] .recovery-dialog .text-button,html[data-theme=dark] .recovery-back,html[data-theme=dark] .recovery-secondary{color:#b9d4f5}
@media(max-width:720px){#login-view .form-top{justify-content:space-between;margin-bottom:18px}#login-view .form-top:not(:has(.mode:not([hidden]))){display:flex}}
.theme-selector{display:inline-flex;gap:3px;border:1px solid #ffffff25;border-radius:10px;padding:3px;background:#ffffff04}
.theme-option{border:0;border-radius:7px;background:transparent;color:#b6c4d5;font-size:12px;padding:7px 11px;white-space:nowrap}
.theme-option[aria-pressed=true]{background:#bcd3ee;color:#243247;font-weight:600;box-shadow:0 1px 4px #0002}
html:not([data-theme=dark]) .theme-selector{border-color:#dce3ec;background:#edf1f6}
html:not([data-theme=dark]) .theme-option{color:#68798f}
html:not([data-theme=dark]) .theme-option[aria-pressed=true]{background:#fff;color:#333f50}
#login-view .theme-selector{align-self:center;justify-content:center;gap:6px;border:0;border-top:1px solid #ffffff20;border-radius:0;background:none;padding:14px 0 0;margin:0 auto;width:100%;max-width:390px}
#login-view .theme-option{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #ffffff25;background:#ffffff04;color:#bdc9d8;border-radius:8px}
#login-view .theme-option[aria-pressed=true]{background:#ffffff16;border-color:#aebed2;color:#fff;box-shadow:none}
html:not([data-theme=dark]) #login-view .theme-selector{background:none;border-color:#dce3ec}
html:not([data-theme=dark]) #login-view .theme-option{background:#f0f3f7;border-color:#dce3ec;color:#6b7c92}
html:not([data-theme=dark]) #login-view .theme-option[aria-pressed=true]{background:#fff;border-color:#71849f;color:#333f50}
@media(max-width:720px){#login-view .story-panel>.brand{margin-left:0;margin-right:auto}#login-view .theme-selector{margin-top:30px}#login-view .form-footer{margin-top:14px;padding-top:0;border-top:0}}
/* Tema escuro em cinza, seguindo a referência do Quinou. */
html[data-theme=dark] body,html[data-theme=dark] #login-view.login-shell{background:#202020;color:#ededed}
html[data-theme=dark] #login-view .story-panel{background:#262626;color:#f4f4f4}
html[data-theme=dark] #login-view .form-panel{background:#202020;color:#ededed;border-color:#ffffff0d}
html[data-theme=dark] #login-view .form-content h2{color:#f2f2f2}
html[data-theme=dark] #login-view .form-description,html[data-theme=dark] #login-view .story-content>p{color:#b6b6b6}
html[data-theme=dark] #login-view .brand-light,html[data-theme=dark] #login-view .story-content em{color:#dedede}
html[data-theme=dark] #login-form label{color:#e5e5e5}
html[data-theme=dark] #login-form .field input{background:#282828;border-color:#414141;color:#f2f2f2}
html[data-theme=dark] #login-form .field input::placeholder{color:#aaa}
html[data-theme=dark] #login-form .field input:focus{background:#2b2b2b;border-color:#929292;box-shadow:0 0 0 3px #ffffff0a}
html[data-theme=dark] #login-form .password-toggle{color:#b7b7b7}
html[data-theme=dark] #login-view .mode{background:#292929;border-color:#414141;color:#b7b7b7}
html[data-theme=dark] #login-view .theme-option{background:#282828;border-color:#414141;color:#b7b7b7}
html[data-theme=dark] #login-view .theme-option[aria-pressed=true]{background:#393939;border-color:#aaa;color:#fff}
html[data-theme=dark] #login-view .access-note,html[data-theme=dark] #login-view .form-footer{color:#999;border-color:#414141}
html[data-theme=dark] .recovery-dialog{background:#242424;border-color:#414141}
html[data-theme=dark] .recovery-dialog .field input{background:#2b2b2b;border-color:#484848}
@media(max-width:720px){html[data-theme=dark] #login-view .story-panel{background:#202020}}
/* Tipografia única em toda a aplicação, incluindo recuperação de acesso. */
html,body,button,input,select,textarea,dialog{font-family:'DM Sans','Segoe UI',sans-serif}
@media(max-width:720px){
.recovery-dialog .field label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
}
