/* Executive treatment is limited to Home; existing navigation and access rules remain in place. */
body.home-executive-active {
    --home-shell-bg: #f4f5f7;
    --home-shell-surface: #fff;
    --home-shell-text: #172438;
    --home-shell-muted: #627083;
    --home-shell-line: #e3e7ed;
    background: var(--home-shell-bg) !important;
    background-image: none !important;
    color: var(--home-shell-text) !important;
}
:root[data-theme="dark"] body.home-executive-active {
    --home-shell-bg: #101722;
    --home-shell-surface: #182230;
    --home-shell-text: #ecf0f6;
    --home-shell-muted: #a6b5c8;
    --home-shell-line: #304052;
    background: var(--home-shell-bg) !important;
    background-image: none !important;
    color: var(--home-shell-text) !important;
}
body.home-executive-active:not(.is-login) #appContent > .sidebar {
    background: #172438;
    box-shadow: none;
    border-right: 1px solid #26374e;
}
body.home-executive-active .sidebar .sidebar-brand { padding: 20px 18px; }
body.home-executive-active .sidebar .sidebar-logo-pill { box-shadow: none; border-radius: 8px; }
body.home-executive-active .sidebar .sidebar-scroll { padding-top: 18px; }
body.home-executive-active .sidebar .nav-tab > .nav-btn { padding-top: 13px; padding-bottom: 13px; font-weight: 500; }
body.home-executive-active .sidebar .nav-tab > .nav-btn.active { background: #253a50 !important; border-left-color: #e05b69; }
body.home-executive-active .sidebar .nav-tab > .nav-btn:hover,
body.home-executive-active .sidebar .nav-dropdown-item:hover { background: #213249 !important; }
body.home-executive-active .sidebar .nav-btn:focus-visible,
body.home-executive-active .sidebar .nav-dropdown-item:focus-visible { outline: 2px solid #a4bed8; outline-offset: -3px; }
body.home-executive-active:not(.is-login) #appContent > .topbar {
    background: var(--home-shell-surface);
    color: var(--home-shell-text);
    border-bottom: 1px solid var(--home-shell-line) !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}
body.home-executive-active .topbar .store-select-wrap {
    padding: 0;
    background: none !important;
    box-shadow: none;
    border-radius: 8px;
    min-width: 0;
    max-width: 100%;
}
body.home-executive-active .topbar .store-select-wrap::after { content: none; }
body.home-executive-active .topbar .store-select {
    background-color: var(--home-shell-surface);
    color: var(--home-shell-text);
    border: 1px solid var(--home-shell-line);
    border-radius: 8px;
    padding: 10px 32px 10px 12px;
    min-width: 200px;
    max-width: 100%;
    font-weight: 600;
    letter-spacing: 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    text-shadow: none;
}
body.home-executive-active .topbar .store-select option { background: var(--home-shell-surface); color: var(--home-shell-text); }
body.home-executive-active .topbar .user-info { color: var(--home-shell-muted); }
body.home-executive-active .topbar .hub-return-link,
body.home-executive-active .topbar .btn-secondary {
    color: var(--home-shell-text);
    background: var(--home-shell-surface);
    border: 1px solid var(--home-shell-line);
    box-shadow: none;
    text-shadow: none;
}
body.home-executive-active .topbar .hub-return-link:hover,
body.home-executive-active .topbar .btn-secondary:hover { background: var(--home-shell-bg); }
body.home-executive-active .topbar .store-select:focus-visible,
body.home-executive-active .topbar .hub-return-link:focus-visible,
body.home-executive-active .topbar .btn-secondary:focus-visible { outline: 2px solid #6689ae; outline-offset: 3px; }
body.home-executive-active .topbar .hamburger span { background: var(--home-shell-text) !important; }
body.home-executive-active:not(.is-login) #appContent > .container { padding: 28px 32px 40px; }
#home .home-executive-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin: 8px 0 25px; }
#home .home-executive-kicker { margin: 0 0 8px; font-size: 10px; font-weight: 600; letter-spacing: 1.4px; color: var(--home-executive-muted); }
#home .home-executive-heading h2 { margin: 0; color: var(--home-executive-text); font-size: clamp(25px, 2.5vw, 34px); font-weight: 600; line-height: 1.2; letter-spacing: -.9px; }
#home .home-executive-intro { margin: 9px 0 0; font-size: 13px; color: var(--home-executive-muted); }
#home .home-executive-month { flex: 0 0 auto; }
#home .home-executive-month label { display: block; font-size: 11px; color: var(--home-executive-muted); margin-bottom: 6px; }
#home #homeMonthPicker { width: 178px; max-width: 100%; min-height: 39px; padding: 8px 10px; border: 1px solid var(--home-executive-line); border-radius: 8px; background: var(--home-executive-surface); color: var(--home-executive-text); font: inherit; font-size: 12px; }
#home #homeMonthPicker:focus-visible { outline: 2px solid #6689ae; outline-offset: 3px; }
#home .home-executive-layout { display: grid; gap: 18px; }
#home .report-refresh-status { margin-bottom: 16px; }
@media (max-width: 1100px) {
    body.home-executive-active:not(.is-login) #appContent > .container { padding: 22px; }
    body.home-executive-active .topbar { gap: 10px; padding: 0 18px; }
    body.home-executive-active .topbar .navbar-right { gap: 10px; }
}
@media (max-width: 600px) {
    body.home-executive-active:not(.is-login) #appContent > .container { padding: 18px 14px 28px; }
    #home .home-executive-heading { align-items: flex-start; flex-direction: column; gap: 17px; margin-top: 0; }
    #home .home-executive-month { width: 100%; }
    #home #homeMonthPicker { width: 100%; }
    body.home-executive-active .topbar .navbar-right { margin-left: 0; }
    body.home-executive-active .topbar .store-select { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
    body.home-executive-active .sidebar,
    body.home-executive-active .sidebar .nav-dropdown-menu,
    body.home-executive-active .sidebar .nav-btn { transition: none; }
}
