/* Original identity. No remote assets; business and security contracts untouched. */
:root{--stj-bg:#0f172a;--stj-panel:#1e293b;--stj-line:#344256;--stj-muted:#a8b7cc;--stj-accent:#60a5fa}
body.bg-gray-100{background:#0f172a!important;color:#f1f5f9!important}
.stj-sidebar,.stj-topbar{background:#111b2e;border-color:#344256}
.stj-brand{gap:12px;font-size:15px;letter-spacing:0}.stj-brand small{font-size:11px;letter-spacing:0;color:#a8b7cc}
.stj-logo-plate{display:flex;align-items:center;justify-content:center;width:48px;height:76px;padding:5px;background:#fff;border-radius:5px;flex-shrink:0}
.stj-logo{display:block;width:100%;height:100%;object-fit:contain;max-width:100%}
.stj-nav-title{font-size:12px;letter-spacing:0;text-transform:none;color:#a8b7cc;margin-top:28px}
.stj-nav-links a{color:#bdcada}.stj-nav-links a:hover{background:#26354b}.stj-nav-links a[aria-current=page]{background:#1b3457;color:#bfdbfe;border-color:#305180;box-shadow:inset 3px 0 #60a5fa}.stj-nav-icon{color:#93c5fd}
.stj-avatar{background:#1b3457;color:#bfdbfe;border-color:#305180}.stj-menu{background:#26354b;border-color:#475569}.stj-topbar-title,.stj-brand,.stj-side-help strong{color:#f1f5f9}.stj-topbar{min-height:80px}
.stj-page-heading h1{font-weight:650;letter-spacing:-.5px}.stj-page-heading{border-bottom:1px solid #344256;padding-bottom:20px;margin-bottom:24px}
body .bg-white,body .bg-gray-50,body .bg-slate-50{background-color:#1e293b!important;color:#f1f5f9!important}
body .bg-gray-100{background-color:#172033!important}body .text-gray-800,body .text-gray-900,body .text-slate-800{color:#f1f5f9!important}body .text-gray-600,body .text-gray-500,body .text-gray-700{color:#a8b7cc!important}
.stj-content .bg-white{border-color:#344256;border-radius:10px;box-shadow:none}
.stj-content input:not([type=hidden]),.stj-content select,.stj-content textarea{background-color:#111827!important;color:#f1f5f9!important;border-color:#475569!important}
.stj-content input::placeholder,.stj-content textarea::placeholder{color:#94a3b8;opacity:1}
body .bg-blue-600,body .bg-blue-700{background-color:#2563eb!important;color:#fff!important}body .bg-blue-600:hover,body .bg-blue-700:hover{background-color:#1d4ed8!important}
body .text-blue-600,body .text-blue-700{color:#60a5fa!important}body .bg-blue-50,body .bg-blue-100{background-color:#172f50!important}body .border-blue-200,body .border-blue-500{border-color:#305180!important}
.stj-content th{background:#162135!important;color:#cbd5e1!important;text-transform:none;font-size:12px;letter-spacing:0;font-weight:650}.stj-content td{border-bottom-color:#34425680}.stj-content tbody tr:hover{background:#26354b!important}.stj-content .overflow-x-auto{scrollbar-color:#526580 #182235}
.stj-content .grid-cols-2.mb-6>div{background:#1e293b;border-color:#344256}.stj-content .grid-cols-2.mb-6>div p:first-child{text-transform:none;letter-spacing:0;font-size:12px}
.stj-content [id^=modal_].fixed{background:#060d18d9}.stj-content [id^=modal_].fixed>div{border-color:#475569;box-shadow:0 24px 80px #0008}
.stj-content button,.stj-content a[class*="bg-"]{min-height:42px}.stj-content #formLancar div:has(> input[name="quantidade"])>button{background:#1b3457;color:#bfdbfe;border-color:#305180;min-height:44px;height:44px}.stj-content #formLancar input[name="quantidade"][readonly]{min-height:44px;height:44px;font-size:18px;font-weight:700;color:#fff!important;padding:0!important}
body :is(a,button,input,select,textarea):focus-visible{outline:3px solid #60a5fa!important;outline-offset:3px;box-shadow:none!important}
.stj-login-body .stj-public-header{display:none}.stj-login-body .stj-main{min-height:100dvh;display:grid;place-items:center;padding:32px 20px}.stj-login-body .stj-main-inner{width:100%;max-width:440px}.stj-login-layout{margin:0;max-width:none}.stj-login-card{background:#1e293b;border:1px solid #344256;border-radius:14px;padding:30px 34px;box-shadow:none}
.stj-login-emblem{width:108px;height:182px;padding:9px;margin:0 auto 24px;background:white;border-radius:6px}.stj-login-card h2{font-family:Georgia,'Times New Roman',serif;font-size:28px;font-weight:400;text-align:center;color:#f1f5f9!important;line-height:1.2;margin-bottom:10px}.stj-login-card>p{text-align:center;margin-bottom:26px;color:#a8b7cc}.stj-login-card button{min-height:48px}.stj-login-card label{color:#cbd5e1!important}.stj-login-footer{color:#a8b7cc;font-size:11px;margin-top:20px}
@media(max-width:640px){.stj-login-body .stj-main{padding:24px 16px}.stj-login-card{padding:24px}.stj-login-emblem{width:90px;height:152px;margin-bottom:20px}.stj-content button{min-height:44px}.stj-page-heading{padding-bottom:16px}.stj-sidebar{padding-top:22px}.stj-topbar{min-height:72px}.stj-content [id^=modal_].fixed>div{max-width:100%}}
@media(max-width:480px){.stj-content #formLancar>.grid{grid-template-columns:minmax(0,1fr)}.stj-content #formLancar>.grid>div>div:first-child{aspect-ratio:auto;height:120px}.stj-content #formLancar div:has(> input[name="quantidade"]){grid-template-columns:44px minmax(48px,1fr) 44px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
