:root{--red:#ed1c24}body{font-family:Arial,Helvetica,sans-serif}.brand-mark{background:transparent!important;font-size:0!important;width:45px!important;height:50px!important;background-image:url('/assets/kingdom-vibe-mark.png')!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important}.sidebar{background:#090909}.brand{letter-spacing:.1em}.login-card{border-radius:0;border-top:5px solid #ed1c24;box-shadow:0 30px 80px #0001;padding:clamp(24px,5vw,60px)}.login-card h1,.auth-story h1,.auth-card h2{font-family:Impact,'Arial Narrow',sans-serif;text-transform:uppercase;font-weight:400;letter-spacing:-.02em}.btn,button,input,select,.card,.metric{border-radius:2px!important}.btn.primary{background:#ed1c24!important;border-color:#ed1c24!important}.sidebar nav button.active{border-left:3px solid #ed1c24}.auth-story .brand:before{content:'';display:block;width:74px;height:82px;background:url('/assets/kingdom-vibe-mark.png') center/contain no-repeat;margin-bottom:20px}.auth-layout{background:#fff}.auth-story{background:#090909}.auth-card button{border-radius:0}.auth-story .brand{margin-bottom:45px}.brand span{color:#ed1c24}.login-card .kicker{color:#ed1c24}@media(max-width:700px){.login-card{margin:20px 0}.auth-story .brand{margin-bottom:24px}}
.login-card{background:#fff!important;color:#111!important}.login-card h1,.login-card h2{color:#111!important}.login-card label{color:#333!important}.login-card input{background:#fff!important;color:#111!important;border:1px solid #bbb!important}.login-card .muted,.login-card p{color:#626262!important}.login-card .login-link{color:#a51620!important}.sidebar .brand{color:#fff!important}
/* Owner tools use the engine's complete dark palette. Keep foreground and
   surface tokens together so transparent actions and report labels stay visible. */
body:has(.dash){background:var(--bg,#090909);color:var(--text,#f7f7f3)}
body:has(.dash) .btn.primary{color:#fff!important}
body:has(.dash) .sidebar .btn{color:#f7f7f3}
body:has(.dash) .login-card .btn:not(.primary){color:#111;border-color:#aaa}
body:has(.dash) .login-card .btn.primary{color:#fff!important}
body:has(.dash) button:focus-visible,body:has(.dash) a:focus-visible{outline:3px solid #ff777c;outline-offset:3px}
