/* Executive dashboard incremental layer: only .exec-* plus scoped host anchors.
   Deliberately no overrides to native charts, cards, tabs, notification wall, or apps. */
html[data-exec-person]{--exec-accent:#e7b76b;--exec-ink:#fff4db;--exec-surface:#19120d;--exec-border:rgba(231,183,107,.38)}
html[data-exec-person="dan"]{--exec-accent:#e4b761;--exec-ink:#f8f0de;--exec-surface:#111a2b;--exec-border:rgba(228,183,97,.38)}
html[data-exec-person][data-exec-mode="light"]{--exec-ink:#332b1f;--exec-surface:#fff9ed;--exec-border:rgba(137,94,35,.37)}
html[data-exec-person] .exec-launch-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:9px 12px;min-height:41px;min-width:41px;border:1px solid var(--exec-border);border-radius:12px;background:color-mix(in srgb,var(--exec-surface) 82%,transparent);color:var(--exec-ink);font:800 12px/1.15 Inter,system-ui,sans-serif;cursor:pointer;white-space:nowrap;isolation:isolate}
html[data-exec-person] .exec-launch-button svg{width:19px;height:19px;flex:none;color:var(--exec-accent)}
html[data-exec-person] .exec-launch-button:hover,html[data-exec-person] .exec-launch-button[aria-expanded="true"]{border-color:var(--exec-accent);box-shadow:0 0 0 3px color-mix(in srgb,var(--exec-accent) 18%,transparent)}
html[data-exec-person] .exec-app-popup{position:fixed;z-index:3500;top:clamp(62px,8vh,90px);right:16px;width:min(570px,calc(100vw - 24px));max-height:min(740px,calc(100dvh - 86px));display:flex;flex-direction:column;overflow:hidden;border:1px solid var(--exec-border);border-radius:20px;background:var(--exec-surface);color:var(--exec-ink);box-shadow:0 24px 85px #000a;font-family:Inter,system-ui,sans-serif}
html[data-exec-person] .exec-app-popup[hidden]{display:none!important}
html[data-exec-person] .exec-popup-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 19px 11px}
html[data-exec-person] .exec-popup-title h2{font:700 30px/1.1 Georgia,serif;margin:4px 0 0}
html[data-exec-person] .exec-popup-title small{font:850 9px Inter,system-ui;letter-spacing:.15em;color:var(--exec-accent)}
html[data-exec-person] .exec-close{border:1px solid var(--exec-border);background:transparent;color:var(--exec-ink);border-radius:10px;width:37px;height:37px;font:400 26px/1 system-ui;cursor:pointer}
html[data-exec-person] .exec-search-label{display:block;padding:0 19px 11px}
html[data-exec-person] #exec-app-filter{width:100%;height:45px;min-width:0;box-sizing:border-box;border:1px solid var(--exec-border);border-radius:10px;padding:9px 12px;background:color-mix(in srgb,var(--exec-surface) 87%,#888);color:var(--exec-ink);font:600 13px Inter,system-ui}
html[data-exec-person] .exec-app-groups{padding:0 13px 14px;overflow-y:auto;overscroll-behavior:contain;min-height:0}
html[data-exec-person] .exec-app-group h3{margin:13px 6px 8px;font:850 10px Inter,system-ui;color:var(--exec-accent);letter-spacing:.11em;text-transform:uppercase}
html[data-exec-person] .exec-app-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
html[data-exec-person] .exec-app-link{display:flex;flex-direction:column;justify-content:center;gap:4px;min-width:0;min-height:59px;box-sizing:border-box;text-decoration:none;border:1px solid var(--exec-border);border-radius:11px;padding:10px 12px;color:var(--exec-ink);background:color-mix(in srgb,var(--exec-surface) 70%,var(--exec-accent) 6%);}
html[data-exec-person] .exec-app-link:hover,html[data-exec-person] .exec-app-link:focus-visible{outline:2px solid var(--exec-accent);outline-offset:-2px}
html[data-exec-person] .exec-app-link strong{font:850 13px Inter,system-ui}
html[data-exec-person] .exec-app-link small{font:500 11px Inter,system-ui;opacity:.76}
html[data-exec-person] .exec-app-popup>p{font:600 11px Inter,system-ui;opacity:.75;padding:11px 19px 15px;margin:0;border-top:1px solid var(--exec-border)}
html[data-exec-person] .exec-sr-only{position:absolute;clip:rect(0,0,0,0);height:1px;width:1px;overflow:hidden}
html[data-exec-person="hucifer"] .exec-account-host{position:relative;flex:none}
html[data-exec-person="hucifer"] .exec-account-button{border:1px solid var(--exec-border);background:var(--exec-surface);color:var(--exec-ink);border-radius:12px;min-height:41px;padding:8px 12px;font:800 12px Inter,system-ui;cursor:pointer}
html[data-exec-person="hucifer"] .exec-account-menu{position:absolute;top:calc(100% + 9px);right:0;z-index:3501;width:225px;display:grid;gap:3px;padding:9px;border:1px solid var(--exec-border);border-radius:12px;background:var(--exec-surface);box-shadow:0 18px 50px #0009}
html[data-exec-person="hucifer"] .exec-account-menu[hidden]{display:none!important}
html[data-exec-person="hucifer"] .exec-account-menu :is(a,button){min-height:39px;border:0;border-radius:7px;background:transparent;color:var(--exec-ink);padding:9px;text-decoration:none;text-align:left;font:700 12px Inter,system-ui;cursor:pointer}
html[data-exec-person="hucifer"] .exec-account-menu :is(a,button):hover{background:color-mix(in srgb,var(--exec-accent) 15%,transparent)}
html[data-exec-person] .exec-film{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:65% center;pointer-events:none;opacity:.48;z-index:0;border-radius:inherit}
html[data-exec-person] .exec-hero-shade{position:absolute;inset:0;pointer-events:none;z-index:1;border-radius:inherit;background:linear-gradient(90deg,rgba(8,7,9,.91),rgba(9,7,12,.68) 52%,rgba(9,7,12,.12))}
html[data-exec-person][data-exec-mode="light"] .exec-hero-shade{background:linear-gradient(90deg,rgba(255,247,231,.94),rgba(255,247,231,.75) 54%,rgba(255,247,231,.21))}
html[data-exec-person="hucifer"] #panel-overview>.hero{position:relative;isolation:isolate;overflow:hidden;min-height:300px}
html[data-exec-person="hucifer"] #panel-overview>.hero .hero-copy{position:relative;z-index:3}
html[data-exec-person="hucifer"] #panel-overview>.hero .blackhole{position:relative;z-index:2}
html[data-exec-person="hucifer"][data-exec-mode="light"] #panel-overview>.hero .hero-copy :is(h1,p,.hero-caption){color:#2c251d}
html[data-exec-person="hucifer"] .exec-film{opacity:.5}
html[data-exec-person="dan"] .exec-dan-banner{position:relative;isolation:isolate;overflow:hidden;border:1px solid var(--exec-border);border-radius:23px;margin:15px 0 20px;min-height:245px;background:#13111a;box-shadow:0 16px 48px #0004}
html[data-exec-person="dan"][data-exec-mode="light"] .exec-dan-banner{background:#faf1dd}
html[data-exec-person="dan"] .exec-dan-banner .exec-hero-copy{position:relative;z-index:2;padding:clamp(26px,4vw,45px);max-width:690px}
html[data-exec-person="dan"] .exec-hero-copy small{color:var(--exec-accent);font:850 10px/1.3 Inter,system-ui;letter-spacing:.16em}
html[data-exec-person="dan"] .exec-hero-copy h1{font:700 clamp(34px,4vw,59px)/1.06 Georgia,serif;color:var(--exec-ink);letter-spacing:-.045em;margin:10px 0}
html[data-exec-person="dan"] .exec-hero-copy p{font:500 clamp(12px,1.4vw,16px)/1.5 Inter,system-ui;color:var(--exec-ink);opacity:.85;max-width:490px;margin:0}
html[data-exec-person] #exec-smart-search{box-sizing:border-box;max-width:100%;min-width:0;margin:18px 0 23px;padding:clamp(14px,2.4vw,24px);border:1px solid var(--exec-border);border-radius:19px;background:var(--exec-surface);color:var(--exec-ink);box-shadow:0 15px 45px #0003;font-family:Inter,system-ui,sans-serif}
html[data-exec-person] #exec-smart-search[hidden]{display:none!important}
html[data-exec-person] .exec-smart-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:16px}
html[data-exec-person] .exec-smart-head small{color:var(--exec-accent);font:850 10px Inter,system-ui;letter-spacing:.13em}
html[data-exec-person] .exec-smart-head h2{color:var(--exec-ink);font:700 clamp(24px,3vw,34px)/1.12 Georgia,serif;letter-spacing:-.03em;margin:6px 0}
html[data-exec-person] .exec-smart-head p{color:var(--exec-ink);opacity:.76;font:500 12px/1.55 Inter,system-ui;max-width:560px;margin:0}
html[data-exec-person] .exec-smart-head>span{padding:7px 10px;border-radius:99px;border:1px solid var(--exec-border);font:850 10px Inter,system-ui;color:var(--exec-accent)}
html[data-exec-person] .exec-smart-form{display:flex;gap:8px;align-items:center;min-width:0}
html[data-exec-person] .exec-smart-form input{height:47px;min-width:0;flex:1;padding:10px 12px;border:1px solid var(--exec-border);border-radius:11px;background:color-mix(in srgb,var(--exec-surface) 83%,#888);color:var(--exec-ink);font:600 13px Inter,system-ui}
html[data-exec-person] .exec-smart-form button{min-height:47px;padding:10px 18px;border:1px solid var(--exec-accent);border-radius:11px;background:var(--exec-accent);color:#20160a;font:850 13px Inter,system-ui;cursor:pointer}
html[data-exec-person] .exec-smart-prompts{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}
html[data-exec-person] .exec-smart-prompts button{border:1px solid var(--exec-border);color:var(--exec-ink);background:transparent;border-radius:99px;min-height:34px;padding:7px 11px;font:750 11px Inter,system-ui;cursor:pointer}
html[data-exec-person] .exec-smart-status{font:600 11px/1.5 Inter,system-ui;opacity:.77;margin:12px 0}
html[data-exec-person] .exec-smart-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:390px;overflow:auto;min-width:0}
html[data-exec-person] .exec-smart-hit{display:grid;gap:6px;min-width:0;padding:12px;border:1px solid var(--exec-border);border-radius:12px;color:var(--exec-ink);text-decoration:none;background:color-mix(in srgb,var(--exec-surface) 85%,#888)}
html[data-exec-person] .exec-smart-hit strong{font:800 13px Inter,system-ui;overflow-wrap:anywhere}
html[data-exec-person] .exec-smart-hit small{font:500 11px/1.4 Inter,system-ui;opacity:.78;overflow-wrap:anywhere}
html[data-exec-person] .exec-empty{font:500 12px/1.5 Inter,system-ui;opacity:.75}
@media(max-width:680px){
 html[data-exec-person] .exec-launch-button{width:40px;min-width:40px;padding:7px}
 html[data-exec-person] .exec-launch-button span{display:none}
 html[data-exec-person] .exec-app-popup{top:65px;right:9px;left:9px;width:auto;max-height:calc(100dvh - 76px);border-radius:16px}
 html[data-exec-person] .exec-app-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-exec-person="hucifer"] .exec-account-button{font-size:11px;min-height:40px;padding:8px}
 html[data-exec-person="hucifer"] #panel-overview>.hero{min-height:310px}
 html[data-exec-person="hucifer"] #panel-overview>.hero .blackhole{opacity:.3}
 html[data-exec-person] .exec-film{object-position:65% center}
 html[data-exec-person="dan"] .exec-dan-banner{min-height:255px;margin:12px 0 17px}
 html[data-exec-person="dan"] .exec-dan-banner .exec-hero-copy{padding:22px 19px}
 html[data-exec-person] .exec-smart-results{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:380px){
 html[data-exec-person] .exec-app-grid{grid-template-columns:minmax(0,1fr)}
 html[data-exec-person] .exec-app-popup{max-height:calc(100dvh - 70px)}
 html[data-exec-person] .exec-smart-form{flex-wrap:wrap}
 html[data-exec-person] .exec-smart-form input{flex-basis:100%}
 html[data-exec-person] .exec-smart-form button{width:100%}
}
@media(prefers-reduced-motion:reduce){
 html[data-exec-person] .exec-film{display:none}
}

html[data-exec-person] .exec-dan-banner[hidden],html[data-exec-person] .exec-app-popup[hidden]{display:none!important}

@media(max-width:420px){html[data-exec-person="hucifer"] .topbar .top-actions{min-width:0;flex-wrap:wrap;justify-content:flex-end}html[data-exec-person="hucifer"] .topbar .top-actions #poll-state{max-width:100%;overflow:hidden;text-overflow:ellipsis}html[data-exec-person="dan"] .dd-header-actions{gap:5px;min-width:0}}
/* Dan's native commandbar had an intrinsic min-content track larger than 320px.
   This is a mobile-only containment repair, preserving its nine original tabs. */
@media(max-width:1024px){
 html[data-exec-person="dan"] .dd-app{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;overflow-x:clip!important}
 html[data-exec-person="dan"] .dd-main{display:grid!important;grid-template-columns:minmax(0,1fr)!important;max-width:100%!important;min-width:0!important}
 html[data-exec-person="dan"] .dd-main>*,html[data-exec-person="dan"] .dd-commandbar,html[data-exec-person="dan"] .dd-quick-commands,
 html[data-exec-person="dan"] #dd-content,html[data-exec-person="dan"] #dd-statusline{
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important
 }
 html[data-exec-person="dan"] .dd-commandbar{position:relative!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;overflow:hidden!important}
 html[data-exec-person="dan"] .dd-commandbar .dd-tabs{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;grid-auto-flow:row!important;min-width:0!important;max-width:100%!important;overflow:visible!important;scroll-snap-type:none!important;gap:5px!important}
 html[data-exec-person="dan"] .dd-commandbar .dd-tab{width:100%!important;max-width:100%!important;min-width:0!important;flex:none!important;scroll-snap-align:none!important;min-height:54px!important}
 html[data-exec-person="dan"] .dd-commandbar .dd-tab span{white-space:normal!important;line-height:1.1!important;display:block!important}
 html[data-exec-person="dan"] .dd-scope-controls{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;width:100%;min-width:0!important}
 html[data-exec-person="dan"] .dd-scope-controls label{min-width:0!important}
 html[data-exec-person="dan"] .dd-scope-controls select{max-width:100%!important;min-width:0!important;width:100%!important}
 html[data-exec-person="dan"] .dd-header{display:flex;flex-wrap:wrap!important;gap:7px!important;min-width:0!important;max-width:100%!important}
 html[data-exec-person="dan"] .dd-header-actions{min-width:0!important;max-width:100%!important;flex-wrap:wrap;justify-content:flex-end}
 html[data-exec-person="dan"] .exec-smart-form{max-width:100%;min-width:0}
 html[data-exec-person="dan"] .exec-smart-form input{box-sizing:border-box;min-width:0!important}
}
html[data-exec-person="hucifer"][data-exec-mode="light"] #panel-overview>.hero .hero-copy h1 span{
  color:#5d4420!important;-webkit-text-fill-color:#5d4420!important;background:none!important;
}
