/* Shared enterprise surfaces. Keep layout rules separate from feature styles. */
:root{
  --bg:#0e141f;--surface:#161f2d;--ink:#edf2f9;--muted:#a9b8cc;
  --line:#344359;--border:#344359;--accent:#9ab8ff;--accent-dark:#9ab8ff;
  --tint:#243654;--shadow:0 12px 32px #050a1440;--glass-edge:none;
  --l360-bg-image:none;--navy:#edf2f9;
}
body{background:#0e141f;color:var(--ink);font-family:Inter,system-ui,sans-serif}
h1,h2,h3,.gl-kpi strong{font-family:Inter,system-ui,sans-serif;letter-spacing:-.025em}
body:not(.owner-shell) .app-header{background:#121b29;min-height:62px;backdrop-filter:none}
.layout>.nav{background:#121b29;border-color:var(--line);backdrop-filter:none;padding:14px 12px}
.nav .nav-section .nav-section-title{color:#a9b8cc;text-transform:none;letter-spacing:.01em;font-size:11px}
.nav .nav-section button.active{background:#253859;color:#e1ebff;border-color:#3d5580}
.nav button:focus-visible,.btn:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.main{padding:clamp(14px,2.4vw,32px)}
.gl-card,.card,.metric,.kpi,.stat,.login{background:var(--surface);border-color:var(--line);border-radius:12px;box-shadow:none;backdrop-filter:none}
.gl-page-head,.page-toolbar{padding-bottom:16px;border-bottom:1px solid var(--line)}
.gl-page-head h1{font-size:clamp(24px,3vw,32px);font-weight:720}
.gl-kicker,.kicker{color:#a9b8cc;letter-spacing:.04em}
.gl-gradient{background:none;color:var(--accent)}
.btn.primary,.owner-shell .owner-login .btn.primary{background:#9ab8ff;color:#0e1a33;border-color:transparent;box-shadow:none}
.btn{border-radius:8px}
.owner-shell:has(.owner-login){background:#0e141f}
.owner-shell .owner-login form{background:#161f2d;border:1px solid #344359;border-radius:12px}
.enterprise-auth{min-height:calc(100dvh - 62px);display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);align-items:stretch}
.enterprise-auth .login{align-self:center;width:min(100% - 36px,28rem);max-width:none;margin:24px auto;padding:clamp(20px,4vw,36px)}
.enterprise-auth .login h1{font-size:clamp(25px,3vw,34px);margin:0 0 12px}
.enterprise-auth-brand{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:16px;padding:clamp(24px,8vw,120px);background:#121b29;border-right:1px solid #344359}
.enterprise-auth-brand .nevo-logo{width:min(100%,295px);height:auto}
.enterprise-auth-brand p{font-size:clamp(21px,3vw,39px);line-height:1.18;letter-spacing:-.035em;font-weight:650;max-width:19ch;margin:0;color:#dce8ff}
.enterprise-auth #login-status:empty,.enterprise-auth #login-error:empty{display:none}
.enterprise-auth form{margin-top:20px}
.enterprise-auth form .row{margin-top:16px}
@media(max-width:740px){
  .enterprise-auth{display:block;min-height:0}
  .enterprise-auth-brand{padding:30px 18px 14px;border:0;background:none}
  .enterprise-auth-brand .portal-identity{display:none}
  .enterprise-auth-brand p{font-size:22px}
  .enterprise-auth .login{margin-top:10px}
}
.gl-command.enterprise-overview{display:block}
.enterprise-overview .gl-kpi-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px}
.enterprise-overview .gl-kpi{min-height:0}
.gl-dark,.dialog{background:#161f2d!important;border-color:#344359!important}
.gl-search-button{border-radius:8px;background:#182334;border-color:#344359}
html.gl-solid .gl-card,html.gl-solid .nav,html.gl-solid .app-header{background-color:#161f2d!important}

/* A light entry point, with a separate product introduction on wider screens. */
body.portal-auth{background:#f4f6fa;color:#172744}
.portal-auth #app{min-height:100dvh}
.auth-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px clamp(16px,5vw,72px);background:white;border-bottom:1px solid #dce4ee}
.auth-top a{font:600 .875rem Inter,sans-serif;color:#244e9c;text-decoration:none}
.auth-mark{background:#142849;border-radius:8px;padding:6px 10px;display:inline-flex}
.auth-mark .nevo-logo{width:clamp(122px,20vw,185px);height:24px}
.portal-auth .enterprise-auth{min-height:calc(100dvh - 74px);gap:clamp(24px,5vw,72px);padding:clamp(20px,4vw,56px);max-width:1510px;margin:auto}
.portal-auth .enterprise-auth-brand{position:relative;display:flex;justify-content:space-between;gap:36px;padding:clamp(26px,4vw,58px);border:0;border-radius:24px;background:radial-gradient(ellipse at 100% 0%,#315aa3,transparent 66%),#15284b;overflow:hidden}
.auth-intro h2{font-size:clamp(30px,4.5vw,60px);letter-spacing:-.055em;line-height:1.04;margin:0 0 18px;color:#fff}
.enterprise-auth-brand .auth-intro p{font-size:16px;font-weight:400;line-height:1.6;letter-spacing:0;color:#d8e4fa;max-width:34ch}
.auth-workflow{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;width:100%}
.auth-workflow>div{display:grid;align-content:start;gap:7px;padding:12px;background:#ffffff14;border:1px solid #ffffff30;border-radius:12px;color:white}
.auth-workflow span{font-size:22px;color:#b4d2ff}
.auth-workflow small{font-size:11px;color:#d8e4fa}
.portal-auth .enterprise-auth .login{background:white;color:#172744;border:1px solid #dce4ee;box-shadow:0 12px 35px #223d6810;width:min(100%,28rem)}
.portal-auth .login h1,.portal-auth .login label{color:#172744}
.portal-auth .login p{color:#485b77}
.portal-auth .login input{background:#f9fbfd;color:#172744;border:1px solid #a5b5cc;min-height:44px;max-width:23rem}
.portal-auth .login input[name=code]{max-width:12rem}
.portal-auth .login .btn.primary{background:#244f9c;color:white}
.portal-auth .login .btn:not(.primary){background:#eef3fc;color:#244f9c;border-color:#b8c8e1}
.portal-auth .login .error-text{color:#a22737}
@media(max-width:820px){.portal-auth .enterprise-auth{display:flex;flex-direction:column;gap:14px}.portal-auth .enterprise-auth-brand{padding:20px;border-radius:14px}.auth-intro h2{font-size:27px;margin-bottom:6px}.auth-intro h2 br{display:none}.auth-workflow{display:none}.portal-auth .enterprise-auth .login{margin:0 auto}}
