/* Scopious Brand & Role UI R1 — additive and scoped; source: supplied brand guide */
:root {
  --sc-brand:#2C296D; --sc-brand-700:#242156; --sc-brand-800:#1D1B46;
  --sc-accent:#65BC46; --sc-accent-700:#477C2E; --sc-accent-soft:#F0F8EC;
  --sc-identity-gray:#98989A; --sc-muted:#667085; --sc-border:#E6E7F0; --sc-bg:#F6F7FB;
  --sc-surface:#FFF; --sc-radius:16px; --sc-radius-lg:22px;
  --sc-shadow-sm:0 6px 25px rgba(44,41,109,.045);
}
body.scopious-app{background:#F6F7FB}
.scopious-app .os-sidebar{background:linear-gradient(165deg,#2C296D 0%,#242156 68%,#1B193E 100%)}
.scopious-app .os-brand{padding:17px 19px;min-height:88px}
.scopious-app .os-brand-logo{border-radius:7px}
.scopious-app .os-nav-section{margin-block-end:13px}
.scopious-app .os-nav-label{font-size:10px;letter-spacing:.07em;color:rgba(255,255,255,.48);padding-bottom:5px}
.scopious-app .os-nav-link{min-height:43px;border-radius:12px;font-weight:650}
.scopious-app .os-nav-link.active{background:rgba(101,188,70,.13);border-color:rgba(101,188,70,.28);box-shadow:inset -3px 0 0 #65BC46}
.scopious-app .os-topbar{background:rgba(255,255,255,.95);border-color:#E9E9F1}
.scopious-app .os-section-eyebrow{font-size:10px;color:#728078;letter-spacing:.065em}
.scopious-app .os-section-title{color:#2C296D;letter-spacing:-.025em}
.scopious-app .os-content{padding-inline:clamp(12px,2vw,30px)}
.scopious-app .sce-page{max-width:1500px;margin:24px auto 48px;gap:20px}
.scopious-app .sce-hero{padding:clamp(22px,3vw,34px);border:0;box-shadow:0 15px 35px rgba(44,41,109,.11);background:linear-gradient(112deg,#242156,#36337D 76%,#454188)}
.scopious-app .sce-hero h1{font-size:clamp(25px,2.4vw,35px);font-weight:850;letter-spacing:-.04em}
.scopious-app .sce-hero p{line-height:1.5;max-width:58ch}
.scopious-app .sce-hero .sce-eyebrow{color:#A9DD96}
.scopious-app .sce-section,.scopious-app .sce-kpi,.scopious-app .sce-filter{border-color:#E8E8F1;box-shadow:0 6px 30px rgba(31,31,79,.035)}
.scopious-app .sce-shortcuts{order:0}
.scopious-app .sc-role-shortcuts .sce-shortcut-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.scopious-app .sc-role-shortcuts .sce-shortcut-grid a{position:relative;min-height:91px;align-content:center;padding:17px 19px;background:linear-gradient(140deg,#FFF,#FAFBFF);border:1px solid #E8E8F1;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.scopious-app .sc-role-shortcuts .sce-shortcut-grid a:before{content:"";position:absolute;inset-block:17px;inset-inline-start:0;width:3px;border-radius:6px;background:#65BC46}
.scopious-app .sc-role-shortcuts .sce-shortcut-grid a:hover{border-color:#BECFB5;box-shadow:0 10px 24px rgba(44,41,109,.075);transform:translateY(-2px)}
.scopious-app .sc-role-shortcuts .sce-shortcut-grid strong{font-size:15px}
.scopious-app .sc-role-shortcuts .sce-shortcut-grid span{font-size:12px}
.scopious-app .sce-section-kicker{color:#477C2E}
.scopious-app .sce-section-head h2{color:#2C296D}
.scopious-app :is(a,button,input,select,textarea):focus-visible,.scopious-auth :is(a,button,input):focus-visible{outline:3px solid rgba(101,188,70,.9);outline-offset:3px}
/* Minimal login: original approved logo asset, no new lettering or generated mark */
body.scopious-auth{background:#F6F7FB}
.scopious-auth .login-shell{padding:clamp(12px,3vw,34px);background:radial-gradient(circle at 0 0,rgba(101,188,70,.12),transparent 35%),#F6F7FB}
.scopious-auth .login-panel{width:min(870px,100%);min-height:510px;grid-template-columns:1fr 1fr;border:1px solid #E8E8F1;border-radius:28px;box-shadow:0 28px 80px rgba(44,41,109,.13)}
.scopious-auth .login-brand-panel{padding:clamp(30px,4vw,55px);background:#2C296D;justify-content:space-between}
.scopious-auth .login-brand-panel:after{width:230px;height:230px;border-color:rgba(101,188,70,.14);box-shadow:0 0 0 40px rgba(101,188,70,.035),0 0 0 80px rgba(101,188,70,.018)}
.scopious-auth .login-brand-logo{width:min(100%,300px);object-fit:contain;object-position:center}
.scopious-auth .login-brand-copy .eyebrow{letter-spacing:.14em;font-weight:750;font-size:11px;color:#ADDD9B}
.scopious-auth .login-brand-copy h1{font-size:clamp(34px,4vw,49px);line-height:1.2;font-weight:850;margin-top:15px}
.scopious-auth .login-form-panel{padding:clamp(24px,4vw,54px)}
.scopious-auth .login-form-wrap h2{font-size:25px;color:#2C296D;margin-bottom:29px}
.scopious-auth .login-form-wrap .field{margin-bottom:17px}
.scopious-auth .login-form-wrap .field label{font-size:13px}
.scopious-auth .login-btn{background:#2C296D!important;border-color:#2C296D!important;min-height:48px;margin-top:11px}
.scopious-auth .login-btn:hover{background:#242156!important}
/* Client portal: palette only; rights and workflow remain in portal controller */
.portal-body .portal-header{border-bottom-color:#E5E5EF}
.portal-body .portal-header .portal-nav a.active{color:#2C296D}
.portal-body .portal-main{max-width:1500px}
@media(max-width:1200px){.scopious-app .sc-role-shortcuts .sce-shortcut-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:880px){.scopious-app .sc-role-shortcuts .sce-shortcut-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scopious-auth .login-panel{grid-template-columns:1fr}.scopious-auth .login-brand-panel{min-height:230px;padding:30px}}
@media(max-width:560px){.scopious-app .sce-page{margin:14px auto 30px}.scopious-app .sc-role-shortcuts .sce-shortcut-grid{grid-template-columns:1fr}.scopious-auth .login-brand-panel{min-height:200px}.scopious-auth .login-brand-logo{max-width:230px}.scopious-auth .login-form-panel{padding:28px 23px}.scopious-auth .login-panel{border-radius:19px}}
@media(prefers-reduced-motion:reduce){.scopious-app .sc-role-shortcuts .sce-shortcut-grid a{transition:none}}
