/* Modern Executive · local review started 2026-09-27.
   Opt-in presentation only. Tenant identity, permissions and goal states stay server-owned. */
:root[data-style="executive"]{
  --bg:#F3F5F8;--bg2:#EAF0F6;--bg3:#DEE6EF;--sur:#FFFFFF;
  --bdr:#DCE2EA;--bdr2:#B5C2D3;
  --tx:#172337;--tx2:#526176;--tx3:#5C6B7F;--tx-inv:#FFFFFF;
  --pri:#1F3A5F;--blue:#2456A6;--blue-l:#EAF1FF;
  --teal:#0F6A55;--teal-l:#E5F3EE;--amber:#865909;--amber-l:#FCF1D9;
  --red:#A32332;--red-l:#FCEBED;
  --r:6px;--r2:10px;--r3:12px;
  --sh:0 2px 5px rgba(19,41,75,.035);
  --executive-header:#1F3A5F;--executive-header-ink:#FFFFFF;
  color-scheme:light;
}
:root[data-style="executive"][data-theme="midnight"]{
  --bg:#0B0D11;--bg2:#202C3C;--bg3:#2A394C;--sur:#151920;
  --bdr:#313C4C;--bdr2:#52647D;
  --tx:#E9EDF4;--tx2:#B5C1D1;--tx3:#A8B4C5;--tx-inv:#0B121C;
  --pri:#8FADCE;--blue:#8BB3FF;--blue-l:#1B2C47;
  --teal:#65DBB4;--teal-l:#14392E;--amber:#EDC578;--amber-l:#3B301B;
  --red:#FB8B98;--red-l:#3B2027;
  --sh:0 2px 5px rgba(0,0,0,.15);
  --executive-header:#172A43;--executive-header-ink:#E9EDF4;
  color-scheme:dark;
}
@media screen{
  :root[data-style="executive"] body{line-height:1.6;}
  :root[data-style="executive"] .wrap.app{max-width:1440px;padding:28px 30px;}
  :root[data-style="executive"] .tbar{max-width:1380px;gap:16px;}
  :root[data-style="executive"] .topbar{background:var(--executive-header);color:var(--executive-header-ink);border-bottom:0;box-shadow:none;padding:16px 30px;}
  :root[data-style="executive"] #tb-role{color:var(--executive-header-ink)!important;opacity:.85;}
  :root[data-style="executive"] .cdp-brand-header .cdp-brand-light{display:none;}
  :root[data-style="executive"] .cdp-brand-header .cdp-brand-dark{display:block;}
  :root[data-style="executive"] .header-actions{border-color:#FFFFFF40;}
  :root[data-style="executive"] .topbar .header-actions>select,
  :root[data-style="executive"] .topbar .header-actions>.btn,
  :root[data-style="executive"] #account-menu-button{background:var(--executive-header);border-color:#FFFFFF70;color:var(--executive-header-ink);}
  :root[data-style="executive"] .topbar option{background:var(--sur);color:var(--tx);}
  :root[data-style="executive"] .card{padding:24px;margin-bottom:18px;}
  :root[data-style="executive"] .card h2{letter-spacing:-.45px;}
  :root[data-style="executive"] .profile-section-header{margin-bottom:18px;}
  :root[data-style="executive"] .profile-section-header>h3,
  :root[data-style="executive"] .pv-section-header>.pv-heading{font-size:17px!important;letter-spacing:-.25px;}
  :root[data-style="executive"] .profile-identity-name{font-size:26px;letter-spacing:-.75px;line-height:1.25;}
  :root[data-style="executive"] .profile-identity-header{margin-bottom:16px;}
  :root[data-style="executive"] .profile-identity-actions{gap:10px;}
  :root[data-style="executive"] .slbl{font-size:11px;letter-spacing:.075em;color:var(--tx2);}
  :root[data-style="executive"] .bdg{border-radius:5px;padding:4px 8px;line-height:1.4;}
  :root[data-style="executive"] .btn{min-height:38px;padding:8px 13px;line-height:1.4;}
  :root[data-style="executive"] .btn:focus-visible,
  :root[data-style="executive"] :is(input,select,textarea,summary):focus-visible{outline:2px solid var(--blue);outline-offset:3px;}
  :root[data-style="executive"] :is(input,select,textarea){padding:10px 12px;min-height:40px;}
  :root[data-style="executive"] textarea{min-height:90px;resize:vertical;}
  :root[data-style="executive"] .grow{padding:20px 16px;border:1px solid var(--bdr);border-left:3px solid var(--blue);border-radius:var(--r);margin:12px 0;gap:12px;}
  :root[data-style="executive"] .grow:has(>.gc.dn){border-left-color:var(--teal);}
  :root[data-style="executive"] .grow:has(>.gc.aw){border-left-color:var(--amber);}
  :root[data-style="executive"] .grow>.gc{margin-top:3px;flex-shrink:0;}
  :root[data-style="executive"] .grow>div>div:first-child{font-size:14px!important;line-height:1.6;font-weight:500;}
  :root[data-style="executive"] .grow .btn{min-height:34px;font-size:12px!important;}
  :root[data-style="executive"] .grow .bdg{font-size:11px!important;}
  :root[data-style="executive"] .tftabs{gap:8px;padding-bottom:12px;border-bottom:1px solid var(--bdr);flex-wrap:wrap;}
  :root[data-style="executive"] .met{background:var(--sur);padding:20px;}
  :root[data-style="executive"] .met .num{font-size:28px;font-weight:600;font-variant-numeric:tabular-nums;}
  :root[data-style="executive"] .met .lbl{color:var(--tx2);letter-spacing:.025em;line-height:1.5;}
  :root[data-style="executive"] :is(.g2,.g3,.g4,.g5,.dashboard-grid){gap:16px;}
  :root[data-style="executive"] :is(th,td){padding:14px 12px;}
  :root[data-style="executive"] th{color:var(--tx2);letter-spacing:.025em;}
  :root[data-style="executive"] .view>.nprow{box-shadow:none;padding:8px;border-radius:var(--r2);margin-bottom:18px;}
  :root[data-style="executive"] #cmd-nav{background:var(--sur);border:0;border-bottom:1px solid var(--bdr);border-radius:0;padding:0 0 14px;}
  :root[data-style="executive"] .view>.nprow>.btn{border-color:transparent;min-height:44px;}
  :root[data-style="executive"] .view>.nprow>.btn.act{background:var(--bg2);color:var(--tx);border-color:var(--bdr);}
  :root[data-style="executive"] .login-wrap{max-width:460px;padding:44px 24px;}
  :root[data-style="executive"] .login-card{padding:28px;border-top:4px solid var(--pri);}
  :root[data-style="executive"] .login-card .btn{min-height:44px;}
  :root[data-style="executive"] .login-seal{width:88px;height:88px;box-shadow:none;}
  :root[data-style="executive"] .login-agency{font-size:18px;letter-spacing:-.3px;}
  :root[data-style="executive"] .account-menu-panel{padding:10px;}
  :root[data-style="executive"] .account-menu-panel .btn{border-radius:6px;}
  :root[data-style="executive"] .bk{border-width:1px;box-shadow:none;}
}
@media screen and (min-width:900px){
  :root[data-style="executive"] .view.active{position:relative;padding-left:208px;min-height:740px;}
  :root[data-style="executive"] :is(#cmd-nav-groups,#sup-nav,#emp-nav){position:absolute;left:0;top:0;width:184px;display:flex;flex-direction:column;gap:6px;background:var(--sur);padding:12px;}
  :root[data-style="executive"] :is(#cmd-nav-groups,#sup-nav,#emp-nav)>.btn{flex:none;justify-content:flex-start;text-align:left;font-size:13px;padding:12px 10px;}
  /* Keep labels aligned whether their trailing notification badge is visible or empty. */
  :root[data-style="executive"] :is(#cmd-nav-groups,#sup-nav,#emp-nav)>.nav-tab{grid-template-columns:16px minmax(0,1fr) auto;gap:8px;}
  :root[data-style="executive"] :is(#cmd-nav-groups,#sup-nav,#emp-nav) .nav-tab-label{text-align:left;}
  :root[data-style="executive"] :is(#cmd-nav-groups,#sup-nav,#emp-nav) .nav-tip::after{left:0;right:auto;transform:translate(0,-3px);}
}
@media screen and (max-width:700px){
  :root[data-style="executive"] .wrap.app{padding:18px 14px;}
  :root[data-style="executive"] .topbar{padding:14px;}
  :root[data-style="executive"] .card{padding:18px;margin-bottom:14px;}
  :root[data-style="executive"] .profile-identity-name{font-size:23px;}
  :root[data-style="executive"] :is(input,select,textarea){font-size:16px;}
  :root[data-style="executive"] .grow{flex-wrap:wrap;padding:15px 12px;gap:9px;}
  :root[data-style="executive"] .grow>div{flex-basis:calc(100% - 38px)!important;}
  :root[data-style="executive"] .grow>.btn{min-width:44px;min-height:44px;justify-content:center;}
  :root[data-style="executive"] .btn{min-height:44px;}
  :root[data-style="executive"] .login-wrap{padding:28px 16px;}
  :root[data-style="executive"] .login-card{padding:22px;}
}

/* Midnight demo/context badges — local review, 2026-09-27. */
@media screen{
  :root[data-theme="midnight"] #tb-sample,
  :root[data-theme="midnight"] #cng-home-badge,
  :root[data-theme="midnight"] #cn-ac-badge{
    background:#3B2027;
    color:#FB8B98;
  }
}
