/* SICOP Intelligence 360 — Corporate Indigo design system 2026
 * Premium visual language for dashboards, capture, proposals and contracts.
 * Last stylesheet: overrides legacy neon without altering business logic.
 */
:root {
  color-scheme:dark;
  --bg:#0b1224;
  --panel:#141e34;
  --line:#303d59;
  --muted:#aab6d1;
  --accent:#9399ff;
  --canvas:#0b1224;
  --surface:#141e34;
  --surface-raised:#1a2742;
  --surface-soft:#202d4a;
  --border-soft:#33415f;
  --ink:#eef2ff;
  --ink-muted:#aab6d1;
  --indigo:#777eea;
  --indigo-deep:#525fca;
  --highlight:#abb0ff;
  --positive:#4dc7a8;
  --warning:#ffd191;
  --shadow-card:0 14px 34px rgba(3,10,26,.17);
}
body{background:var(--canvas);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;line-height:1.48}
body.loggedin{background:var(--canvas)}
small,p,label,dt,.scope{color:var(--ink-muted)}
a{color:var(--highlight);text-underline-offset:3px}
a:hover{color:#c5c8ff}
em,.brand em{color:#a7aafd!important;text-shadow:none!important}
:where(button,input,select,textarea){font:inherit}
button,input,select,textarea{border-color:var(--border-soft);background:var(--surface-raised);color:var(--ink)}
button{transition:background .15s,border-color .15s,box-shadow .15s}
button:hover:not(:disabled){border-color:#898ff1}
button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:2px solid var(--highlight);outline-offset:3px}
input,select,textarea{border-radius:10px}
input::placeholder,textarea::placeholder{color:#8e9dbd}
button:disabled{opacity:.48}
::selection{background:#727ae2;color:#fff}
#app>.sidebar{background:linear-gradient(115deg,#0e172a,#141b34 62%,#121d35);border-bottom-color:var(--border-soft);box-shadow:0 6px 28px rgba(0,0,0,.13)}
#app>.sidebar #primaryNav button{color:#b7c0d8}
#app>.sidebar #primaryNav button:hover{background:#283452;border-color:#485977;color:#f5f6ff}
#app>.sidebar #primaryNav button.active{background:#313b70;border-color:#737ce0;color:#f0f1ff;box-shadow:inset 0 -2px var(--highlight)}
#app>.sidebar #primaryNav button:focus-visible,#app>.section-nav button:focus-visible{outline-color:#a6aaff}
#app>.sidebar #logout{background:#1b2740;color:#d8def0;border-color:#405073}
#app>.sidebar #primaryCompact{background:#222f4f;border-color:#5c6d9b;color:#f1f3ff}
#app>.section-nav{background:#141e32;border-bottom-color:#34445e;box-shadow:0 5px 13px rgba(0,0,0,.13)}
#app>.section-nav button{color:#abb8d1}
#app>.section-nav button:hover{background:#243350;color:#fff;border-color:#516381}
#app>.section-nav button.active{background:#323c70;color:#e9ebff;border-color:#767feb}
#app>header{background:linear-gradient(105deg,#0f192c,#111b30);border-bottom-color:#2c3a55}
#app>header h1{letter-spacing:-.035em;font-size:clamp(23px,2vw,29px)}
.syncclock,#stamp{color:#b7c4e4}
#app>main{max-width:1740px}
#content{min-width:0}
#content>section,.card,section{background:var(--surface);border-color:var(--border-soft)}
#content>section{box-shadow:var(--shadow-card)}
#content h2{letter-spacing:-.02em}
#content .card{background:linear-gradient(145deg,#192540,#131d32);border:1px solid var(--border-soft);border-radius:15px;box-shadow:var(--shadow-card)}
#content .card strong,.totalbox b{color:#abb0ff}
#content .metricicon{background:#303963;color:#aeb4ff}
#content .summarycard:nth-child(2) .metricicon,#content .summarycard:nth-child(3) .metricicon{background:#2e395f;color:#b5baff}
#content .summarycard:nth-child(4) .metricicon{background:#393254;color:#c5bafa}
#content .moneymini,#content .bankamount{color:#b3b9ff}
#content .pill{background:#273b5a;color:#c9d6f9}
#content .totalbox{background:var(--surface-soft);border:1px solid var(--border-soft)}
#content .track{background:#2a3858}
#content .track i{background:linear-gradient(90deg,#636dcf,#aa9eff);box-shadow:none}
#content .daybars button{background:#737de7}
#content .daybars button:hover{background:#a0a7ff}
#content .periodbar{background:#131f35;border-color:#32405f;border-radius:14px}
#content .notice{background:#413526;border-color:#6d5935;color:#f3d9a5}
#content .quicklinks{gap:10px}
#content .quicklinks button{border-radius:10px}
#content table{background:transparent}
#content th{background:#222e4a;color:#d4ddff;letter-spacing:.015em;font-weight:650}
#content tr:hover td{background:#1b2942}
#content th,#content td{border-color:#35435e}
.scroll{border-radius:12px;scrollbar-color:#566487 #162239}
.pill,.badge{border-radius:7px}
#content .pager button,#content .toolbar button{background:#252f57;border-color:#5967a3;color:#e8ebff}
#content .toolbar button:hover{background:#35437b}
dialog{background:#161f35;border-color:#495777;color:#f0f2ff;box-shadow:0 32px 80px #02071195}
dialog .close{background:#263657}
.loginbox{background:linear-gradient(150deg,#1a2846,#11192f);border-color:#445575;box-shadow:0 25px 80px #0106145c}
.loginbox button[type=submit]{background:#636cd7;border-color:#818bf1;color:#fff;font-weight:700}
.loginbox h1{letter-spacing:-.045em}
.radar{background:radial-gradient(ellipse at 100% 0%,#5e58aa2a,transparent 55%),linear-gradient(130deg,#172a4d,#111a31);border-color:#43577b;box-shadow:var(--shadow-card)}
.radar::before{border-color:#9a9dec14;box-shadow:0 0 0 65px #9a9dec05,0 0 0 130px #9a9dec03}
.radar .radar-eyebrow,.radar .radar-badge{color:#aeb3ff}
.radar .radar-badge{border-color:#6c76c0;background:#27315a}
.radar h2 em{color:#b2b6ff!important;text-shadow:none!important}
.radar .radar-intro{color:#becbe4}
.radar .radar-primary{background:#777eea;border-color:#9196ff;color:#fff;box-shadow:none}
.radar .radar-primary:hover{background:#8c93f3}
.radar .radar-card{background:#151f38de;border-color:#415479;box-shadow:none}
.radar .radar-card button{background:#283758;border-color:#50638b}
.radar .radar-card button:hover,.radar .radar-chips button:hover{border-color:#909aff;color:#eff1ff}
.radar .radar-card button:focus-visible,.radar .radar-chips button:focus-visible{outline-color:#a5adff}
.radar .radar-number{color:#b2b6ff;text-shadow:none}
.radar .radar-chips button{background:#273456}
.radar .radar-services{border-color:#415478}
.radar .radar-heading{color:#b9c9e3}
#enterpriseStudio{--studio-accent:#969af8;color:var(--ink)}
#enterpriseStudio .studio-intro{background:radial-gradient(ellipse at 100% 0%,#6e6ac23a,transparent 55%),linear-gradient(135deg,#1a2c50,#101a32);border-color:#4d5d83;box-shadow:var(--shadow-card)}
#enterpriseStudio .studio-intro small{color:#adb2ff}
#enterpriseStudio .studio-intro p{color:#c3cde5}
#enterpriseStudio .studio-live{color:#d5d9ff;border-color:#636dac;background:#313968}
#enterpriseStudio .studio-tabs{background:#151f35;border-color:#384665}
#enterpriseStudio .studio-tabs button{color:#b7c2dc}
#enterpriseStudio .studio-tabs button:hover{background:#2a3554}
#enterpriseStudio .studio-tabs button[aria-selected=true]{background:linear-gradient(135deg,#3b477e,#2b3467);border-color:#868eef;color:#f3f4ff;box-shadow:inset 0 -2px #a4a9ff}
#enterpriseStudio .studio-launch{background:radial-gradient(circle at 100% 0%,#6c6bc32b,transparent 53%),linear-gradient(150deg,#202e4c,#111c34);border-color:#455474;box-shadow:var(--shadow-card)}
#enterpriseStudio .studio-launch:hover{border-color:#9097f2;box-shadow:0 18px 32px rgba(4,10,29,.33)}
#enterpriseStudio .studio-launch strong{color:#f3f4ff}
#enterpriseStudio .studio-launch small{color:#b4c3df}
#enterpriseStudio .studio-launch span{color:#acb1ff}
#enterpriseStudio .studio-panel-intro{background:linear-gradient(120deg,#223252,#17233b);border-color:#4a5d83}
#enterpriseStudio .studio-workspace{background:#131d32;border-color:#455475}
#enterpriseStudio .command-hero{background:radial-gradient(circle at 100% 0%,#6a67bd44,transparent 50%),linear-gradient(130deg,#203254,#121b32);border-color:#586793}
#enterpriseStudio .command-overline{color:#b1b5ff}
#enterpriseStudio .command-chip{background:#303b68;border-color:#646fc4;color:#e6e8ff}
#enterpriseStudio .command-kpis article{background:linear-gradient(155deg,#253352,#19243e);border-color:#435374}
#enterpriseStudio .command-kpis article strong{color:#b5b9ff}
#enterpriseStudio .command-kpis article small,#enterpriseStudio .command-kpis article span{color:#b7c5dc}
#enterpriseStudio .command-chart-card{background:radial-gradient(circle at 100% 0%,#6c63b636,transparent 55%),linear-gradient(150deg,#203052,#152039);border-color:#435574}
#enterpriseStudio .command-chart-card .command-section-head strong{color:#a8b4ff}
#enterpriseStudio .command-stage-label b{color:#b4b9ff}
#enterpriseStudio .command-stage-track{background:#334364}
#enterpriseStudio .command-stage-track i{background:linear-gradient(90deg,#6673d7,#b1a0fa);box-shadow:none}
#enterpriseStudio .command-activity-row{background:#1d2b49;border-color:#3b5071}
#enterpriseStudio .command-activity-row>span{color:#abb3ff}
#enterpriseStudio .command-activity-row strong{color:#eef1ff}
#enterpriseStudio .command-section{background:#152038;border-color:#415371}
#enterpriseStudio .command-lane{background:#111c30;border-color:#3a4a67}
#enterpriseStudio .command-lane h3 small{background:#343f72;color:#dce0ff}
#enterpriseStudio .command-deal{background:#202e4b;border-color:#465875}
#enterpriseStudio .command-table th{background:#263656;color:#d4dcff}
#enterpriseStudio .command-form{background:#1c2a46}
#enterpriseStudio .command-form button{background:#7079df;border-color:#9ca4ff;color:#fff}
#enterpriseStudio #enterpriseAssets section,#enterpriseStudio #enterpriseMatrix section{background:#1a2742;border-color:#495a7a}
#enterpriseStudio #enterpriseAssets section h2{color:#eef1ff}
#enterpriseStudio #enterpriseMatrix th{background:#293658;color:#d6dcff}
#enterpriseStudio #enterpriseMatrix #enterpriseReq,#enterpriseStudio #enterpriseAssets section form{background:#1c2a47;border-color:#4c5a7c}
#enterpriseStudio #bidGateCR .bid-gate-panel{background:#1a2a47!important;border-color:#6673ae!important;box-shadow:none}
#enterpriseStudio #abWorkspace>section{background:#1b2942;border-color:#52658b}
#enterpriseStudio #abWorkspace input[type=file]{border-color:#7480be}
#enterpriseStudio #abWorkspace button,#enterpriseStudio #abExport{border-color:#6e7cc9}
#enterpriseStudio #companyMatch section{background:#202c48}
#enterpriseStudio #sourceHub360 .source-hub{background:#1b2943;border-color:#4c5c82}
#enterpriseStudio .studio-winstage iframe{border-color:#526493;background:#131f34}
#enterpriseStudio .studio-tabs button:focus-visible{outline-color:#a6afff}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Optional neutral light workspace. Enabled only by explicit user action. */
body[data-theme=light]{color-scheme:light;--bg:#f4f6fc;--panel:#fff;--line:#d8dff0;--muted:#52627d;--accent:#535dc1;--canvas:#f4f6fc;--surface:#fff;--surface-raised:#f7f9fd;--surface-soft:#edf1fa;--border-soft:#d5ddeb;--ink:#202b46;--ink-muted:#53627b;--highlight:#495bc4;--shadow-card:0 10px 30px #263a6010}
body[data-theme=light],body[data-theme=light] #app{background:#f4f6fc;color:#22304b}
body[data-theme=light] :is(button,input,select,textarea){background:#fff;color:#22304b;border-color:#c8d4e5}
body[data-theme=light] a{color:#4a59b9}
body[data-theme=light] :is(.card,section,#content>section){background:#fff;color:#22304b;border-color:#d9dfed}
body[data-theme=light] :is(.card p,section p,.scope,small,label,dt){color:#56657e}
body[data-theme=light] #app>.sidebar{background:#fff;border-bottom-color:#dae0ed}
body[data-theme=light] #app>.sidebar #primaryNav button{color:#556179}
body[data-theme=light] #app>.sidebar #primaryNav button.active{background:#e9ecff;color:#3b47a9;border-color:#c4cafa}
body[data-theme=light] #app>.sidebar #logout{background:#f5f7fc;color:#3c4a64;border-color:#d0d9eb}
body[data-theme=light] #app>.section-nav{background:#f9faff;border-bottom-color:#d9e0ed}
body[data-theme=light] #app>.section-nav button{color:#51617d}
body[data-theme=light] #app>.section-nav button.active{background:#e8ebff;color:#3d49a8;border-color:#c3cbf5}
body[data-theme=light] #app>header{background:#fff;border-bottom-color:#d9dfed}
body[data-theme=light] #content th{background:#e9edf6;color:#34466d;border-color:#d7deeb}
body[data-theme=light] #content td{color:#243653;border-color:#e0e6f0}
body[data-theme=light] #content tr:hover td{background:#f5f7fd}
body[data-theme=light] #content .periodbar{background:#fff;border-color:#d9dfee}
body[data-theme=light] #content .card{background:#fff;border-color:#d9dfed}
body[data-theme=light] #content .card strong,body[data-theme=light] #content .totalbox b{color:#5561c6}
body[data-theme=light] #content .pill{background:#ecf1fc;color:#4f5d90}
body[data-theme=light] #enterpriseStudio{color:#23324d}
body[data-theme=light] #enterpriseStudio .studio-intro{background:linear-gradient(130deg,#f6f7ff,#e8ecfc);border-color:#d3daf1;color:#263656}
body[data-theme=light] #enterpriseStudio .studio-intro p{color:#5a6a85}
body[data-theme=light] #enterpriseStudio .studio-tabs{background:#fff;border-color:#d9e0ee}
body[data-theme=light] #enterpriseStudio .studio-tabs button{color:#66738e;background:transparent}
body[data-theme=light] #enterpriseStudio .studio-tabs button[aria-selected=true]{background:#e7ebff;color:#4352b7;border-color:#bfc9f6;box-shadow:inset 0 -2px #6573d9}
body[data-theme=light] #enterpriseStudio .studio-launch,
body[data-theme=light] #enterpriseStudio .command-kpis article,
body[data-theme=light] #enterpriseStudio .command-chart-card,
body[data-theme=light] #enterpriseStudio .command-section,
body[data-theme=light] #enterpriseStudio .studio-panel-intro,
body[data-theme=light] #enterpriseStudio .studio-workspace{background:#fff;border-color:#d7dfed;color:#223453}
body[data-theme=light] #enterpriseStudio :is(.studio-launch strong,.command-kpis article strong,.command-activity-row strong,.command-hero h2){color:#4355b4}
body[data-theme=light] #enterpriseStudio :is(.studio-launch small,.command-kpis article small,.command-kpis article span,.command-section-head p){color:#66758e}
body[data-theme=light] #enterpriseStudio .command-hero{background:linear-gradient(125deg,#e9edfe,#f7f8ff);border-color:#ccd5f4;color:#233453}
body[data-theme=light] #enterpriseStudio .command-deal,
body[data-theme=light] #enterpriseStudio .command-activity-row{background:#f4f6fc;border-color:#d7e0f0;color:#2e3d59}
body[data-theme=light] #enterpriseStudio .command-lane{background:#f8f9ff;border-color:#d8dfed;color:#2e3d59}
body[data-theme=light] #enterpriseStudio .command-form{background:#f5f7fd}
body[data-theme=light] #enterpriseStudio .command-table th{background:#e8ecf7;color:#354769}
body[data-theme=light] #enterpriseStudio :is(#enterpriseAssets section,#enterpriseMatrix section,#bidGateCR .bid-gate-panel,#abWorkspace>section,#companyMatch section){background:#fff!important;color:#263653;border-color:#d9e0ee!important}
body[data-theme=light] #enterpriseStudio #enterpriseAssets section h2{color:#243553}
body[data-theme=light] #enterpriseStudio #enterpriseMatrix th{background:#edf0fb;color:#3c4f72}
body[data-theme=light] dialog{background:#fff;color:#243653}
body[data-theme=light] .radar{background:linear-gradient(125deg,#edf1ff,#e1e8fa);border-color:#cbd8ef}
body[data-theme=light] .radar h2,body[data-theme=light] .radar .radar-number{color:#2e3d6c}
body[data-theme=light] .radar h2 em,body[data-theme=light] .radar .radar-eyebrow{color:#5561c4!important}
body[data-theme=light] .radar .radar-card{background:#fff;border-color:#d2dced}
body[data-theme=light] .radar .radar-primary{background:#5b65cf;color:#fff}
body[data-theme=light] .radar .radar-intro{color:#546583}

/* Keep appearance action accessible without crowding the top bar. */
#app>.sidebar #themeSwitch{flex:0 0 auto;margin-left:auto;padding:9px 13px;font-size:12px;white-space:nowrap;border:1px solid #46577e;background:#252f51;color:#dae0ff}
#app>.sidebar #themeSwitch:hover{background:#354577;border-color:#8996ed}
#app>.sidebar #logout{margin-left:0}
body[data-theme=light] #app>.sidebar #themeSwitch{background:#edf0fc;color:#4856a5;border-color:#cbd4ee}
@media(max-width:900px){
 #app>.sidebar #themeSwitch{width:38px;min-width:38px;height:38px;padding:0;font-size:0;display:grid;place-items:center}
 #app>.sidebar #themeSwitch::after{content:"☼";font-size:20px;line-height:1}
 body[data-theme=light] #app>.sidebar #themeSwitch::after{content:"☾"}
}
@media(max-width:440px){
 #app>.sidebar{gap:5px}
 #app>.sidebar #themeSwitch{width:32px;min-width:32px;height:34px}
}

/* GovCon-inspired next-action dock: not decorative, every action opens a module. */
#enterpriseStudio .command-next{display:flex;justify-content:space-between;align-items:center;gap:22px;padding:22px 25px;border:1px solid #495781;border-radius:15px;margin:18px 0;background:linear-gradient(112deg,#222e52,#18233d)}
#enterpriseStudio .command-next small{color:#aeb6ff;font-size:10px;font-weight:700;letter-spacing:.13em}
#enterpriseStudio .command-next h2{font-size:20px;margin:5px 0}
#enterpriseStudio .command-next p{margin:0;max-width:560px;font-size:12px}
#enterpriseStudio .command-next-actions{display:grid;grid-template-columns:repeat(2,minmax(140px,1fr));gap:8px;min-width:340px}
#enterpriseStudio .command-next-actions button{font-size:12px;font-weight:700;background:#323f73;border-color:#646fc5;color:#f2f3ff;padding:10px 12px;border-radius:9px}
#enterpriseStudio .command-next-actions button:hover{background:#505fb6}
body[data-theme=light] #enterpriseStudio .command-next{background:#f8f9ff;border-color:#d4dbef}
body[data-theme=light] #enterpriseStudio .command-next h2{color:#34427d}
body[data-theme=light] #enterpriseStudio .command-next-actions button{background:#e9ecff;border-color:#b9c3f0;color:#3f4aa8}
@media(max-width:1000px){#enterpriseStudio .command-next{flex-direction:column;align-items:stretch}#enterpriseStudio .command-next-actions{min-width:0}}
@media(max-width:450px){#enterpriseStudio .command-next{padding:15px}#enterpriseStudio .command-next-actions{grid-template-columns:1fr}}


/* Light theme accessibility pass — 2026-11-29.
   Explicit backgrounds AND foregrounds, especially controls formerly using
   dark buttons and neon colours. Do not force-enable disabled controls. */
body[data-theme="light"]{
  --ink:#1F2A44;
  --ink-muted:#43516B;
  --highlight:#4D63D6;
  --border-soft:#D8E0EF;
  --surface:#FFFFFF;
  --surface-raised:#FFFFFF;
  --surface-soft:#F7F9FD;
}
body[data-theme="light"] #app,
body[data-theme="light"] #content{
  color:var(--ink);
}
body[data-theme="light"] #content :is(h1,h2,h3,h4){
  color:#1D2A49;
}
body[data-theme="light"] #content :is(p,small,label,dt,.scope,.radar-proof,.radar-intro){
  color:#43516B;
}
body[data-theme="light"] #content :is(.radar-card,.radar,.radar-services,.periodbar){
  color:#1F2A44;
}
body[data-theme="light"] #content .radar{
  background:linear-gradient(125deg,#F2F5FF,#E9EFFB);
  border:1px solid #CCD7ED;
}
body[data-theme="light"] #content .radar .radar-card{
  background:#FFFFFF;
  color:#1F2A44;
  border:1px solid #D8E0EF;
  box-shadow:0 8px 24px rgba(31,42,68,.06);
}
body[data-theme="light"] #content .radar .radar-card h3{
  color:#1D2A49;
}
body[data-theme="light"] #content .radar .radar-card :is(p,small){
  color:#43516B;
}
body[data-theme="light"] #content .radar .radar-number,
body[data-theme="light"] #content .radar .radar-card .radar-number{
  color:#223B7A;
  text-shadow:none;
}
body[data-theme="light"] #content .radar .radar-eyebrow,
body[data-theme="light"] #content .radar .radar-heading{
  color:#3B4E85;
}
body[data-theme="light"] #content .radar .radar-badge{
  background:#E8EEFF;
  border:1px solid #BCC9EE;
  color:#334785;
}
body[data-theme="light"] #content .radar .radar-services{
  border-top-color:#CED7EA;
}
body[data-theme="light"] #content .radar :is(.radar-primary,.radar-actions .radar-primary){
  background:#4D63D6;
  border:1px solid #4D63D6;
  color:#FFFFFF;
  box-shadow:0 4px 12px rgba(63,85,199,.16);
  opacity:1;
}
body[data-theme="light"] #content .radar .radar-primary:hover:not(:disabled){
  background:#3F55C7;
  border-color:#3F55C7;
  color:#FFFFFF;
}
body[data-theme="light"] #content .radar .radar-card button,
body[data-theme="light"] #content .radar .radar-actions button:not(.radar-primary){
  background:#EEF2FF;
  border:1px solid #C8D2F0;
  color:#30406F;
  box-shadow:none;
  font-weight:600;
}
body[data-theme="light"] #content .radar .radar-card button:hover:not(:disabled),
body[data-theme="light"] #content .radar .radar-actions button:not(.radar-primary):hover:not(:disabled){
  background:#DDE6FF;
  border-color:#9CB2E9;
  color:#22345D;
}
body[data-theme="light"] #content .radar .radar-chips button{
  background:#EAF0FF;
  border:1px solid #CCD7F4;
  color:#33467A;
  opacity:1;
}
body[data-theme="light"] #content .radar .radar-chips button:hover:not(:disabled){
  background:#DDE6FF;
  border-color:#9DAFE2;
  color:#283B6B;
}
body[data-theme="light"] #content .radar button:disabled{
  opacity:.5;
  cursor:not-allowed;
}
body[data-theme="light"] #content :is(.radar .radar-card button,.radar .radar-chips button,.radar .radar-primary):focus-visible{
  outline:2px solid #4D63D6;
  outline-offset:3px;
}
body[data-theme="light"] #content :is(.moneymini,.bankamount,.totalbox b){
  color:#223B7A;
}
body[data-theme="light"] #content .quicklinks button,
body[data-theme="light"] #content .toolbar button,
body[data-theme="light"] #content .pager button{
  background:#EEF2FF;
  border:1px solid #C8D2F0;
  color:#30406F;
}
body[data-theme="light"] #content .quicklinks button:hover:not(:disabled),
body[data-theme="light"] #content .toolbar button:hover:not(:disabled),
body[data-theme="light"] #content .pager button:hover:not(:disabled){
  background:#DEE6FF;
  color:#243865;
}
body[data-theme="light"] #app :is(#stamp,#syncStatus,#syncClock){
  color:#43516B;
}
body[data-theme="light"] #app #periodStatus{
  color:#43516B;
}
/* Enterprise remains fully legible in light mode, including nested forms. */
body[data-theme="light"] #enterpriseStudio :is(.command-stage-label,.command-activity-row small,.command-deal small){
  color:#43516B;
}
body[data-theme="light"] #enterpriseStudio .command-stage-label b,
body[data-theme="light"] #enterpriseStudio .command-kpis article strong{
  color:#344B9F;
}
body[data-theme="light"] #enterpriseStudio .command-activity-row>span{
  color:#4D63D6;
}
body[data-theme="light"] #enterpriseStudio :is(.command-kpis article,.command-section,.command-lane,.command-deal) :is(h2,h3,strong,b){
  color:#1F2A44;
}
body[data-theme="light"] #enterpriseStudio #enterpriseMatrix #enterpriseReq,
body[data-theme="light"] #enterpriseStudio #enterpriseAssets section form{
  background:#F5F7FC;
  border-color:#D8E0EF;
}
body[data-theme="light"] #enterpriseStudio .command-form button,
body[data-theme="light"] #enterpriseStudio .studio-workspace button[type=submit]{
  background:#4D63D6;
  border-color:#4D63D6;
  color:#fff;
}
body[data-theme="light"] #enterpriseStudio .command-form button:hover:not(:disabled),
body[data-theme="light"] #enterpriseStudio .studio-workspace button[type=submit]:hover:not(:disabled){
  background:#3F55C7;
}
