:root{color-scheme:light;--bg:#f4f7fb;--panel:#fff;--line:#dbe5f0;--text:#071b3a;--muted:#60738d;--orange:#146bff;--orange-2:#0955d9;--green:#109779;--red:#d7435a;--yellow:#b77a00;--radius:14px}*{box-sizing:border-box}html,body{background:var(--bg)!important;color:var(--text)!important}body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif!important}body:before,.app-shell:before,.card:before{display:none!important}.app-shell{grid-template-columns:256px minmax(0,1fr)!important;background:var(--bg)!important;min-height:100vh!important}.sidebar{background:#061a38!important;border-right:1px solid #102d58!important;box-shadow:none!important;backdrop-filter:none!important;padding:14px 12px!important}.brand{font-size:0!important;min-height:44px!important;padding:6px 10px!important;gap:0!important}.brand:before{content:'';display:block;width:150px;height:34px;background:url('/stage-assets/azera-logo.png') left center/contain no-repeat}.brand small,.brand-mark{display:none!important}.side-nav{gap:3px!important;margin-top:18px!important}.side-nav a{color:#b9c8dd!important;border-radius:8px!important;border:1px solid transparent!important;padding:10px 11px!important;font-size:13px!important;font-weight:650!important}.side-nav a:hover{background:#0d315f!important;color:#fff!important;transform:none!important}.side-nav a.active{background:#146bff!important;color:#fff!important;border-color:#347fff!important;box-shadow:none!important}.sidebar-footer{border-top:1px solid #163866!important}.merchant-chip{background:#0c2a50!important;border:1px solid #1c4778!important;color:#eaf3ff!important}.topbar{min-height:64px!important;position:sticky!important;top:0!important;border:0!important;border-bottom:1px solid var(--line)!important;border-radius:0!important;background:rgba(255,255,255,.96)!important;box-shadow:none!important;backdrop-filter:blur(10px)!important}.topbar-title{font-size:16px!important;color:var(--text)!important}.topbar-title small,.muted{color:var(--muted)!important}.icon-button,.ghost-button{border-color:var(--line)!important;background:#fff!important;color:#21405f!important;border-radius:8px!important;box-shadow:none!important}.content{max-width:1480px!important;padding:28px 30px 48px!important}.page-head{margin:2px 0 20px!important;align-items:flex-end!important}.page-head h1{font-size:30px!important;line-height:1.15!important;letter-spacing:-.045em!important;color:var(--text)!important}.page-head p{color:var(--muted)!important;max-width:720px!important}.eyebrow{color:#146bff!important;font-size:11px!important;font-weight:800!important;letter-spacing:.08em!important}.card,.auth-card{background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:var(--radius)!important;box-shadow:0 6px 18px rgba(8,30,60,.055)!important;backdrop-filter:none!important}.card{padding:18px!important;animation:none!important}.card:hover{border-color:#9ec7f5!important;box-shadow:0 10px 26px rgba(8,30,60,.075)!important;transform:none!important}.grid{gap:14px!important}.metric{padding:17px!important}.metric .value,.money{font-size:25px!important;letter-spacing:-.035em!important;color:var(--text)!important}.metric .label{font-size:11px!important;font-weight:800!important;letter-spacing:.06em!important;color:var(--muted)!important}.status-badge,.security-pill{border-radius:999px!important;font-weight:750!important;box-shadow:none!important}.button,.btn{border-radius:8px!important;min-height:40px!important;font-weight:750!important;box-shadow:none!important}.button.primary,.btn.primary{background:#146bff!important;border-color:#146bff!important;color:#fff!important}.button.primary:hover,.btn.primary:hover{background:#0955d9!important;border-color:#0955d9!important;transform:none!important}.button.secondary,.btn.secondary{background:#fff!important;color:#146bff!important;border-color:#9bc3f2!important}.table-wrap{border:1px solid var(--line)!important;border-radius:12px!important;background:#fff!important;overflow:auto!important}table{font-size:13px!important}th{background:#f5f8fc!important;color:#52667f!important;font-size:10px!important;letter-spacing:.06em!important;text-transform:uppercase!important}td,th{border-color:#edf2f7!important;padding:12px 13px!important}tbody tr:hover{background:#f5f9ff!important}.chart{background:linear-gradient(180deg,#fff,#f8fbff)!important;border:1px solid var(--line)!important;border-radius:12px!important}.notice{border-radius:10px!important;border-color:#b7d7f9!important;background:#f1f8ff!important;color:#174a80!important}.auth-page{min-height:100vh!important;background:linear-gradient(140deg,#f7fbff 0%,#eef6ff 45%,#f8fbfe 100%)!important;padding:24px!important}.auth-nav{max-width:1180px!important;margin:0 auto 34px!important;background:transparent!important;border:0!important}.auth-nav .brand{background:none!important}.auth-card{max-width:560px!important;margin:0 auto!important;padding:30px!important}.auth-card h1{font-size:28px!important;letter-spacing:-.04em!important;color:var(--text)!important}.auth-card input,.auth-card select,input,select,textarea{border:1px solid #cfdbe9!important;border-radius:8px!important;background:#fff!important;color:#071b3a!important;min-height:44px!important;box-shadow:none!important}.auth-card input:focus,input:focus,select:focus,textarea:focus{outline:3px solid rgba(20,107,255,.15)!important;border-color:#146bff!important}.legal-footer{color:#61748b!important}.legal-footer a,.auth-card a{color:#146bff!important}.theme-toggle{border-color:var(--line)!important;color:#174a80!important;background:#fff!important}
:root[data-theme='dark']{--bg:#07101e;--panel:#0c1828;--line:#213752;--text:#f4f8ff;--muted:#9aaec5}:root[data-theme='dark'] body,:root[data-theme='dark'] .app-shell{background:#07101e!important}:root[data-theme='dark'] .topbar,:root[data-theme='dark'] .card,:root[data-theme='dark'] .auth-card,:root[data-theme='dark'] .table-wrap,:root[data-theme='dark'] input,:root[data-theme='dark'] select,:root[data-theme='dark'] textarea{background:#0c1828!important;color:#f4f8ff!important}:root[data-theme='dark'] th{background:#102037!important}:root[data-theme='dark'] tbody tr:hover{background:#10233d!important}:root[data-theme='dark'] .auth-page{background:linear-gradient(140deg,#07101e,#0b1d33)!important}
@media(max-width:860px){.app-shell{grid-template-columns:1fr!important}.sidebar{position:fixed!important;inset:0 auto 0 0!important;width:280px!important;transform:translateX(-102%)!important;z-index:70!important}.sidebar.open{transform:translateX(0)!important}.mobile-menu{display:inline-flex!important}.content{padding:18px 14px 36px!important}.topbar{padding:10px 14px!important}.topbar-title{font-size:14px!important}.page-head{display:block!important}.page-head h1{font-size:26px!important}.grid{grid-template-columns:1fr!important}.card{padding:15px!important}.auth-page{padding:14px!important}.auth-nav{margin-bottom:16px!important}.auth-card{padding:22px 16px!important}.brand:before{width:132px!important}.table-wrap{border-radius:10px!important}table{min-width:720px!important}}
/* Authentication layout correction for the existing markup */
.auth-page{min-height:auto!important;padding:24px 24px 0!important;background:transparent!important}.auth-card{margin:44px auto 64px!important}.auth-page+.auth-card{margin-top:44px!important}@media(max-width:860px){.auth-page{padding:14px 14px 0!important}.auth-card,.auth-page+.auth-card{margin:18px 14px 34px!important;max-width:none!important}}
.auth-nav .button{background:#146bff!important;border-color:#146bff!important;color:#fff!important}.auth-nav .button:hover{background:#0955d9!important;color:#fff!important}.auth-nav .brand:before{width:170px!important;height:38px!important;background-size:235px auto!important;background-position:center!important}
.auth-nav .brand:before{width:170px!important;height:38px!important;background-image:url('/stage-assets/azera-logo-crop.png')!important;background-size:contain!important;background-position:left center!important}
.auth-nav .brand:before{width:150px!important;height:34px!important;background-image:url('/stage-assets/azera-logo.png')!important;background-size:contain!important;background-position:left center!important}
/* Official brand asset: preserve its native 3:1 proportions. */
.auth-nav .brand:before{width:180px!important;height:54px!important;background-size:contain!important;background-position:left center!important}
@media(max-width:640px){.auth-nav .brand:before{width:142px!important;height:43px!important}.auth-nav{min-height:64px!important}.auth-nav .right{gap:10px!important}.auth-nav .right a:not(.button){display:none!important}}
/* Auth screens — faithful two-column technical composition from the approved board. */
@media (min-width:861px){
  body:has(.auth-card){min-height:100vh;background:#f4f7fb!important;overflow-x:hidden}
  body:has(.auth-card)::before{content:'OPERAÇÃO QUE ESCALA\A\AControle, liquidez e integrações para a sua operação crescer com clareza.';white-space:pre-line;position:fixed;inset:0 auto 0 0;width:43.5vw;padding:42vh 7vw 8vh;color:#eaf7ff;font-size:clamp(17px,1.5vw,23px);line-height:1.55;font-weight:500;z-index:0;background:linear-gradient(148deg,rgba(3,19,56,.90),rgba(5,52,133,.88)),radial-gradient(circle at 84% 14%,rgba(22,213,255,.55),transparent 30%),url('/stage-assets/azera-logo.png') 11% 12%/255px auto no-repeat,#061938;box-shadow:inset -1px 0 rgba(255,255,255,.14)}
  body:has(.auth-card)::after{content:'';position:fixed;left:7vw;bottom:12vh;width:210px;height:3px;background:linear-gradient(90deg,#1675ff,#12d6e8);z-index:1;box-shadow:0 0 24px rgba(18,214,232,.7)}
  .auth-page{position:relative;z-index:2;margin-left:43.5vw!important;padding:22px 5vw 0!important;min-height:0!important;background:transparent!important}
  .auth-nav{width:100%!important;min-height:56px!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;justify-content:flex-end!important}
  .auth-nav .brand{display:none!important}
  .auth-card{position:relative;z-index:2;max-width:510px!important;margin:76px 8vw 72px calc(43.5vw + 8vw)!important;padding:42px!important;border:1px solid #dce6f3!important;border-radius:20px!important;box-shadow:0 28px 68px rgba(7,27,58,.12)!important}
  .auth-card:before{content:'ACESSO SEGURO';display:block;margin-bottom:18px;color:#146bff;font-size:11px;font-weight:850;letter-spacing:.16em}
  .auth-card .eyebrow{display:none!important}
  .auth-card h1{font-size:clamp(30px,2.8vw,42px)!important;line-height:1.04!important;letter-spacing:-.045em!important;margin-bottom:14px!important}
  html[data-theme='dark'] body:has(.auth-card),body.dark:has(.auth-card){background:#07101e!important}
  html[data-theme='dark'] .auth-card,body.dark .auth-card{border-color:#203b63!important;box-shadow:0 28px 68px rgba(0,0,0,.38)!important}
}
@media (max-width:860px){
  body:has(.auth-card)::before,body:has(.auth-card)::after{display:none!important}
}
@media (min-width:861px){
 body:has(.auth-card){position:relative!important}
 body:has(.auth-card)::before{z-index:1!important;background-color:#061938!important}
 body:has(.auth-card)::after{z-index:1!important}
 .auth-page{width:56.5vw!important;box-sizing:border-box!important}
 .auth-card{width:auto!important;box-sizing:border-box!important;z-index:2!important}
}
@media (min-width:861px){
 body:has(.auth-card)::before,body:has(.auth-card)::after{display:none!important}
 .auth-page::before{content:'OPERAÇÃO QUE ESCALA\A\AControle, liquidez e integrações para a sua operação crescer com clareza.';white-space:pre-line;position:fixed;inset:0 auto 0 0;width:43.5vw;padding:42vh 7vw 8vh;box-sizing:border-box;color:#eaf7ff;font-size:clamp(17px,1.5vw,23px);line-height:1.55;font-weight:500;z-index:1;background:linear-gradient(148deg,rgba(3,19,56,.90),rgba(5,52,133,.88)),radial-gradient(circle at 84% 14%,rgba(22,213,255,.55),transparent 30%),url('/stage-assets/azera-logo.png') 11% 12%/255px auto no-repeat,#061938!important;box-shadow:inset -1px 0 rgba(255,255,255,.14)}
 .auth-page::after{content:'';position:fixed;left:7vw;bottom:12vh;width:210px;height:3px;background:linear-gradient(90deg,#1675ff,#12d6e8);z-index:2;box-shadow:0 0 24px rgba(18,214,232,.7)}
 .auth-nav{position:relative!important;z-index:3!important}
}
@media (min-width:861px){
 .auth-page{margin:0!important;padding:0!important;width:auto!important}
 .auth-page::before{content:'OPERAÇÃO QUE ESCALA'!important;padding:42vh 7vw 8vh!important;font-size:clamp(19px,1.8vw,27px)!important;font-weight:760!important;letter-spacing:-.035em!important}
 .auth-page::after{content:'Tecnologia financeira para uma operação mais simples.'!important;left:7vw!important;bottom:14vh!important;width:270px!important;height:auto!important;padding-top:20px!important;border-top:3px solid #19d7ee!important;background:none!important;color:#d9ecff!important;box-shadow:none!important;font-size:15px!important;line-height:1.5!important}
 .auth-nav{position:fixed!important;top:24px!important;right:6vw!important;width:auto!important;min-height:44px!important;z-index:5!important}
 .auth-nav .brand{display:block!important;position:fixed!important;left:7vw!important;top:52px!important;z-index:6!important;filter:brightness(0) invert(1)!important}
 .auth-nav .brand:before{width:225px!important;height:60px!important}
 .auth-card{position:fixed!important;top:142px!important;left:calc(43.5vw + 8vw)!important;right:8vw!important;width:auto!important;max-width:510px!important;margin:0!important;max-height:calc(100vh - 180px)!important;overflow:auto!important}
}
@media (min-width:861px){
 .auth-page::before{background:linear-gradient(148deg,rgba(3,19,56,.96),rgba(5,52,133,.91)),radial-gradient(circle at 84% 14%,rgba(22,213,255,.55),transparent 30%),#061938!important}
 .auth-nav .brand{display:block!important;position:fixed!important;left:7vw!important;top:52px!important;width:230px!important;height:60px!important;filter:none!important}
 .auth-nav .brand:before{content:''!important;display:block!important;position:absolute!important;inset:0!important;width:auto!important;height:auto!important;background:linear-gradient(90deg,#ffffff 0%,#c9f7ff 48%,#16d7ed 100%)!important;-webkit-mask:url('/stage-assets/azera-logo.png') left center/contain no-repeat!important;mask:url('/stage-assets/azera-logo.png') left center/contain no-repeat!important}
}
.stage-auth-logo{display:none}
@media (min-width:861px){
 .auth-nav .brand{display:none!important}
 body:has(.auth-card) .stage-auth-logo{display:block;position:fixed;left:7vw;top:52px;width:230px;height:auto;z-index:20;pointer-events:none}
 body:has(.auth-card) .stage-auth-logo img{display:block;width:100%;height:auto;filter:brightness(0) invert(1) drop-shadow(0 4px 18px rgba(0,0,0,.18))}
}
@media (min-width:861px){body:has(.auth-card) .stage-auth-logo img{filter:none!important}}
@media (max-width:860px){
 .auth-page{min-height:88px!important;height:88px!important;padding:0 18px!important;display:flex!important;align-items:center!important;background:linear-gradient(130deg,#061938,#0a3584)!important;box-shadow:0 8px 24px rgba(5,25,56,.16)!important}
 .auth-nav{width:100%!important;min-height:0!important;padding:0!important;background:transparent!important;box-shadow:none!important;border:0!important}
 .auth-nav .brand{display:none!important}
 .stage-auth-logo{display:block!important;position:absolute!important;left:27px!important;top:25px!important;width:145px!important;z-index:20!important;pointer-events:none!important}
 .stage-auth-logo img{display:block!important;width:100%!important;height:auto!important;filter:none!important}
 .auth-nav .right a:not(.button){display:none!important}
 .auth-nav .button{padding:10px 13px!important;font-size:13px!important}
 .auth-card{margin:18px 14px 34px!important;padding:28px 16px!important;border-radius:17px!important}
}
@media (max-width:860px){.auth-nav{position:relative!important}.auth-nav .right{position:absolute!important;right:0!important;top:-20px!important;margin:0!important;display:flex!important;align-items:center!important;gap:10px!important}.stage-auth-logo{width:118px!important;top:30px!important}}
@media (max-width:860px){.auth-nav .right{position:fixed!important;right:18px!important;top:18px!important;z-index:30!important}}
@media (max-width:860px){.auth-nav span.right{position:fixed!important;right:18px!important;top:18px!important;left:auto!important;width:auto!important;display:flex!important;z-index:99!important}}
