/* Elevate R7 · shared application header. Presentation/navigation only. */
.dashboard-page .elevate-global-app-header{position:relative;z-index:9400;display:flex;align-items:center;justify-content:space-between;min-height:66px;padding:8px 18px;box-sizing:border-box;background:linear-gradient(180deg,#071522 0%,#06111d 100%);border-bottom:1px solid rgba(126,170,207,.16);overflow:visible}
/* Standalone pages (Home, public welcome, manual, Connections) do not wrap
   the shared header in the frozen workspace shell; pin it at every width. */
body.dashboard-page:not(.broker-workspace):not(.market-common-workspace) .elevate-global-app-header{position:sticky!important;top:0!important;z-index:9910!important}
.dashboard-page .elevate-global-brand{display:flex;align-items:center;gap:10px;min-width:0}
.elevate-public-welcome-link{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:0 10px;border:1px solid rgba(234,180,93,.34);border-radius:8px;background:rgba(234,180,93,.07);color:#eab45d;text-decoration:none;font-size:10px;font-weight:900;white-space:nowrap;box-sizing:border-box}.elevate-public-welcome-link:hover{border-color:rgba(234,180,93,.72);background:rgba(234,180,93,.13);color:#ffd27a}.elevate-public-welcome-link:focus-visible{outline:2px solid rgba(94,168,255,.8);outline-offset:2px}
.dashboard-page .elevate-global-logo{width:44px;height:44px;object-fit:contain;display:block}
.dashboard-page .elevate-global-wordmark{font-size:27px;line-height:1;letter-spacing:-.025em;color:#f1f5f9}
.dashboard-page .elevate-global-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;position:relative;min-width:0}
.dashboard-page .elevate-global-market-status{display:inline-flex;align-items:center;justify-content:center;min-height:30px;padding:5px 11px;border-radius:999px;font-size:10px;font-weight:900;letter-spacing:.02em;white-space:nowrap;border:1px solid rgba(67,216,154,.26);background:rgba(67,216,154,.10);color:#43d89a}
.dashboard-page .elevate-global-market-status.closed{border-color:rgba(148,163,184,.30);background:rgba(148,163,184,.10);color:#cbd5e1}
.dashboard-page .elevate-global-icon-button,.dashboard-page .elevate-global-profile-button{appearance:none;display:grid;place-items:center;padding:0;border:0;background:transparent;color:#dbe7f2;cursor:pointer}
.dashboard-page .elevate-global-icon-button{width:36px;height:36px;border:1px solid rgba(234,180,93,.25);border-radius:10px;background:linear-gradient(145deg,rgba(234,180,93,.09),rgba(8,21,34,.75));color:#efbc61;transition:color .18s ease,border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease}
.dashboard-page a.elevate-global-icon-button{text-decoration:none}
.dashboard-page .elevate-global-icon-button:focus-visible,.dashboard-page .elevate-global-help-button:focus-visible{outline:2px solid rgba(94,168,255,.8);outline-offset:2px}
.dashboard-page .elevate-global-icon-button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.dashboard-page .elevate-global-welcome{font-size:12px;font-weight:800;color:#e7eef6;white-space:nowrap}
.dashboard-page .elevate-global-profile-button{width:40px;height:40px}
.dashboard-page .elevate-global-profile-icon{width:36px;height:36px;border:1px solid rgba(220,232,245,.48);border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.025);box-sizing:border-box}
.dashboard-page .elevate-global-profile-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.dashboard-page .elevate-global-icon-button:hover,.dashboard-page .elevate-global-profile-button:hover .elevate-global-profile-icon{color:#ffe19a;border-color:rgba(245,188,98,.78);background:linear-gradient(145deg,rgba(234,180,93,.20),rgba(8,21,34,.92));box-shadow:0 0 16px rgba(234,180,93,.12);transform:translateY(-1px)}
.dashboard-page .elevate-global-icon-button[data-revealed="true"]{color:#ffe19a;border-color:rgba(245,188,98,.55);background:linear-gradient(145deg,rgba(234,180,93,.17),rgba(8,21,34,.88))}
.dashboard-page .elevate-global-icon-button svg{transition:transform .22s ease,opacity .22s ease}
.dashboard-page .elevate-global-icon-button:hover svg{transform:scale(1.07)}
.dashboard-page .elevate-global-market-status{gap:6px}
.dashboard-page .elevate-market-state-icon{width:15px;height:15px;flex:0 0 auto;fill:none;stroke:#f4c96d;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 3px rgba(244,201,109,.22));transition:transform .2s ease}
.dashboard-page .elevate-global-market-status.open .elevate-market-state-icon{transform:rotate(-7deg)}
.dashboard-page .elevate-global-market-status.closed .elevate-market-state-icon{transform:scale(.94)}
.dashboard-page .elevate-global-profile-panel{position:absolute;right:0;top:48px;width:292px;padding:10px;background:#091522;border:1px solid #294157;border-radius:10px;box-shadow:0 18px 42px rgba(0,0,0,.55);box-sizing:border-box;z-index:9500}
.elevate-global-menu-user{display:flex;align-items:center;gap:9px;padding:4px 5px 9px}
.elevate-global-menu-user-icon{width:34px;height:34px;border:1px solid rgba(220,232,245,.30);border-radius:50%;display:grid;place-items:center;color:#dce7f2;flex:0 0 auto}
.elevate-global-menu-user-icon svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.elevate-global-menu-eyebrow{display:block;font-size:8px;letter-spacing:.08em;color:#7f9ab0;font-weight:900}
.elevate-global-menu-user strong{display:block;font-size:12px;color:#f0f5fa}.elevate-global-menu-user small{display:block;margin-top:2px;color:#8ea5b9;font-size:9px}
.elevate-global-menu-group{display:grid;gap:2px}
.elevate-global-menu-group button,.dashboard-page .elevate-global-connection-status-list button{display:grid;grid-template-columns:22px minmax(0,1fr) auto;align-items:center;width:100%;min-height:36px;padding:7px 8px;border:0;border-radius:7px;background:transparent;color:#dbe6ef;font-size:11px;font-weight:700;text-align:left;cursor:pointer;box-sizing:border-box}
.elevate-global-menu-group button:hover,.dashboard-page .elevate-global-connection-status-list button:hover{background:#132638;color:#fff}
.elevate-global-menu-group button>span:first-child,.dashboard-page .elevate-global-connection-status-list button>span:first-child{display:inline-grid;place-items:center;width:20px;color:#b9cbe0;font-size:16px;line-height:1}
.dashboard-page .elevate-global-connections-action em{font-style:normal;font-size:8px;color:#55d9c8;white-space:nowrap}
.dashboard-page .elevate-global-connection-status-list{display:grid;gap:1px;margin:5px 4px;padding:5px 0;border-top:1px solid rgba(148,163,184,.12);border-bottom:1px solid rgba(148,163,184,.12)}
.dashboard-page .elevate-global-connection-status-list button{min-height:31px;padding:5px 5px;grid-template-columns:12px minmax(0,1fr) auto;font-size:10px;font-weight:700}
.dashboard-page .elevate-global-connection-status-list button>span:nth-child(2){color:#cdd9e4}
.dashboard-page .elevate-global-connection-status-list strong{font-size:9px;color:#8ea5b9}.dashboard-page .elevate-global-connection-status-list strong.good{color:#43d89a}
.dashboard-page .conn-dot{width:7px!important;height:7px!important;border-radius:50%;background:#ff707d;box-shadow:0 0 0 2px rgba(255,112,125,.08)}
.dashboard-page .conn-dot.good{background:#43d89a;box-shadow:0 0 0 2px rgba(67,216,154,.10)}
.elevate-global-menu-divider{height:1px;margin:7px 4px;background:rgba(148,163,184,.16)}
.elevate-global-menu-logout{color:#ffc1c7!important}.elevate-global-menu-logout>span:first-child{color:#ff707d!important}
/* Hide the old utility/status strip but preserve its status nodes for existing JS contracts. */
.dashboard-page .elevate-app-status-band{display:none!important}
/* The shared header replaces the duplicate brand/session block in product nav. */
.dashboard-page .elevate-product-nav-left>.elevate-product-nav-brand,.dashboard-page .elevate-product-nav>.elevate-product-session{display:none!important}
@media(max-width:768px){
 .dashboard-page .elevate-global-app-header{min-height:54px;padding:6px 9px}
 .dashboard-page .elevate-global-logo{width:34px;height:34px}.dashboard-page .elevate-global-wordmark{font-size:21px}
 .dashboard-page .elevate-global-actions{gap:5px}.dashboard-page .elevate-global-market-status{min-height:25px;padding:4px 7px;font-size:8px}.dashboard-page .elevate-global-welcome{font-size:9px;max-width:90px;overflow:hidden;text-overflow:ellipsis}.dashboard-page .elevate-global-profile-button{width:33px;height:33px}.dashboard-page .elevate-global-profile-icon{width:31px;height:31px}.dashboard-page .elevate-global-icon-button{width:31px;height:31px}
 .dashboard-page .elevate-global-profile-panel{top:39px;width:min(292px,calc(100vw - 18px))}
}
@media(max-width:430px){.dashboard-page .elevate-global-wordmark{font-size:18px}.dashboard-page .elevate-global-market-status{display:none}.dashboard-page .elevate-global-welcome{max-width:75px}}

/* R9 · keep the shared brand header compact on phones while retaining its controls. */
@media(max-width:600px){
 .dashboard-page .elevate-global-app-header{min-height:58px!important;flex-wrap:nowrap!important;justify-content:space-between!important;gap:6px;padding:4px 8px!important}
 .dashboard-page .elevate-global-brand{flex:0 1 auto!important;min-height:0!important;gap:7px!important}
 .dashboard-page .elevate-global-logo{width:40px!important;height:40px!important}
 .dashboard-page .elevate-global-brand-divider,.dashboard-page .elevate-global-tagline{display:none!important}
 .dashboard-page .elevate-global-brand-copy{gap:0!important}
 .dashboard-page .elevate-global-wordmark{font-size:22px!important}
 .dashboard-page .elevate-global-actions{flex:0 1 auto!important;min-width:0;gap:4px!important;overflow-x:auto;scrollbar-width:none}
 .dashboard-page .elevate-global-actions::-webkit-scrollbar{display:none}
 .dashboard-page .elevate-global-icon-button,.dashboard-page .elevate-global-help-button{width:32px!important;height:32px!important;flex:0 0 32px}
 .dashboard-page .elevate-global-menu-button{min-height:32px;padding:0 7px;font-size:0;gap:0;flex:0 0 34px;justify-content:center}
 .dashboard-page .elevate-global-menu-button::before{content:none!important}
}
@media(max-width:380px){.dashboard-page .elevate-global-logo{width:34px!important;height:34px!important}.dashboard-page .elevate-global-wordmark{font-size:19px!important}.dashboard-page .elevate-global-actions{gap:3px!important}.dashboard-page .elevate-global-icon-button,.dashboard-page .elevate-global-help-button{width:29px!important;height:29px!important;flex-basis:29px}.dashboard-page .elevate-global-menu-button{flex-basis:30px}}

/* Final phone override: declared after the reference header sizing above. */
@media(max-width:600px){
 .dashboard-page .elevate-global-app-header{min-height:58px!important;flex-wrap:nowrap!important;justify-content:space-between!important;gap:6px;padding:4px 8px!important}
 .dashboard-page .elevate-global-brand{flex:0 1 auto!important;min-height:0!important;gap:7px!important}
 .dashboard-page .elevate-global-logo{width:40px!important;height:40px!important}
 .dashboard-page .elevate-global-brand-divider,.dashboard-page .elevate-global-tagline{display:none!important}
 .dashboard-page .elevate-global-brand-copy{gap:0!important}
 .dashboard-page .elevate-global-wordmark{font-size:22px!important}
 .dashboard-page .elevate-global-actions{flex:0 1 auto!important;min-width:0;gap:4px!important;overflow-x:auto;scrollbar-width:none}
 .dashboard-page .elevate-global-actions::-webkit-scrollbar{display:none}
 .dashboard-page .elevate-global-icon-button,.dashboard-page .elevate-global-help-button{width:32px!important;height:32px!important;flex:0 0 32px}
 .dashboard-page .elevate-global-menu-button{min-height:32px;padding:0 7px;font-size:0;gap:0;flex:0 0 34px;justify-content:center}
 .dashboard-page .elevate-global-menu-button::before{content:"☰";font-size:17px}
}
@media(max-width:380px){.dashboard-page .elevate-global-logo{width:34px!important;height:34px!important}.dashboard-page .elevate-global-wordmark{font-size:19px!important}.dashboard-page .elevate-global-actions{gap:3px!important}.dashboard-page .elevate-global-icon-button,.dashboard-page .elevate-global-help-button{width:29px!important;height:29px!important;flex-basis:29px}.dashboard-page .elevate-global-menu-button{flex-basis:30px}}

/* Brand header follows the Elevate Market reference: emblem and wordmark at left, controls at right. */
.dashboard-page .elevate-global-app-header{min-height:88px!important;padding:6px 22px!important;border-bottom:1px solid rgba(224,166,55,.58)!important;box-shadow:inset 0 -1px 0 rgba(242,190,76,.18)}
.dashboard-page .elevate-global-app-header::after{content:"";position:absolute;left:30%;bottom:-2px;width:40%;height:3px;background:linear-gradient(90deg,transparent,rgba(255,218,117,.96),transparent);box-shadow:0 0 9px 2px rgba(234,176,59,.62);pointer-events:none}
.dashboard-page .elevate-global-brand{flex:0 1 auto;gap:20px;min-width:0}
.dashboard-page .elevate-global-logo{width:78px!important;height:78px!important;object-fit:contain;display:block;flex:0 0 auto}
.dashboard-page .elevate-global-brand-divider{width:1px;height:51px;flex:0 0 1px;background:linear-gradient(180deg,transparent,rgba(198,157,80,.48),transparent)}
.dashboard-page .elevate-global-brand-copy{display:flex;flex-direction:column;justify-content:center;gap:6px;min-width:0}
.dashboard-page .elevate-global-wordmark{font-family:Georgia,"Times New Roman",serif!important;font-size:36px!important;font-weight:500!important;line-height:.95;letter-spacing:.025em!important;color:#e9a936!important}
.dashboard-page .elevate-global-tagline{color:#f1f4f7;font-family:Arial,sans-serif;font-size:13px;font-weight:500;line-height:1;letter-spacing:.22em;white-space:nowrap}
.dashboard-page .elevate-global-actions{gap:12px}
.dashboard-page .elevate-global-market-status{min-height:39px;padding:5px 12px;border-color:rgba(223,165,48,.65);background:linear-gradient(180deg,rgba(226,171,56,.08),rgba(7,18,29,.9));color:#f5f6f8;font-size:11px}
.dashboard-page .elevate-global-market-status.closed{border-color:rgba(223,165,48,.65);background:linear-gradient(180deg,rgba(226,171,56,.08),rgba(7,18,29,.9));color:#f5f6f8}
.dashboard-page .elevate-market-state-dot{width:13px;height:13px;display:block;flex:0 0 13px;border-radius:50%;background:#ffc449;box-shadow:0 0 8px rgba(255,190,53,.38)}
.dashboard-page .elevate-global-market-status.open .elevate-market-state-dot{background:#34d399;box-shadow:0 0 8px rgba(52,211,153,.42)}
.dashboard-page .elevate-global-icon-button{width:42px;height:42px;border-radius:11px}
.dashboard-page .elevate-global-help-button{width:42px;height:42px;border-color:rgba(234,180,93,.45);border-radius:11px;background:linear-gradient(145deg,rgba(234,180,93,.08),rgba(8,21,34,.75));color:#efbc61}
@media(max-width:900px){
 .dashboard-page .elevate-global-app-header{padding:6px 12px!important}
 .dashboard-page .elevate-global-brand{gap:12px}
 .dashboard-page .elevate-global-logo{width:65px!important;height:65px!important}
 .dashboard-page .elevate-global-wordmark{font-size:30px!important}
 .dashboard-page .elevate-global-tagline{font-size:10px;letter-spacing:.16em}
 .dashboard-page .elevate-global-actions{gap:7px}
}
@media(max-width:600px){
 .dashboard-page .elevate-global-app-header{min-height:100px!important;flex-wrap:wrap;justify-content:flex-start;row-gap:2px;padding:4px 10px 6px!important}
 .dashboard-page .elevate-global-brand{flex:1 1 100%;gap:10px;min-height:54px}
 .dashboard-page .elevate-global-logo{width:53px!important;height:53px!important}
 .dashboard-page .elevate-global-brand-divider{height:39px}
 .dashboard-page .elevate-global-brand-copy{gap:4px}
 .dashboard-page .elevate-global-wordmark{font-size:24px!important}
 .dashboard-page .elevate-global-tagline{font-size:8px;letter-spacing:.12em}
 .dashboard-page .elevate-global-actions{flex:1 1 100%;justify-content:flex-end;gap:6px}
 .dashboard-page .elevate-global-icon-button,.dashboard-page .elevate-global-help-button{width:34px;height:34px}
 .dashboard-page .elevate-global-market-status{min-height:32px;padding:4px 8px;font-size:8px}
}

/* R8 · Full Elevate application menu. The menu is a navigation directory; it does not alter broker/business logic. */
.elevate-global-menu-button{appearance:none;display:flex;align-items:center;gap:7px;min-height:38px;padding:0 11px;border:1px solid rgba(220,232,245,.30);border-radius:9px;background:rgba(255,255,255,.035);color:#eef5fb;cursor:pointer;font-weight:900}
.elevate-global-menu-button:hover,.elevate-global-menu-button[aria-expanded="true"]{border-color:rgba(245,188,98,.75);background:rgba(245,188,98,.09);color:#f7c86f}
.elevate-global-menu-button-lines{display:grid;gap:4px;width:19px}.elevate-global-menu-button-lines i{display:block;height:2px;border-radius:2px;background:currentColor}.elevate-global-menu-button-label{font-size:11px;letter-spacing:.02em}
.elevate-global-menu-overlay{position:fixed;inset:0;z-index:12000;display:block}.elevate-global-menu-overlay[hidden]{display:none!important}.elevate-global-menu-backdrop{position:absolute;inset:0;background:rgba(1,7,13,.72);backdrop-filter:blur(3px)}
.elevate-global-menu-drawer{position:absolute;right:0;top:0;height:100%;width:min(700px,100vw);display:flex;flex-direction:column;background:linear-gradient(180deg,#081522 0%,#07111b 100%);border-left:1px solid rgba(126,170,207,.22);box-shadow:-22px 0 55px rgba(0,0,0,.55);box-sizing:border-box}
.elevate-global-menu-top{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px 13px;border-bottom:1px solid rgba(148,163,184,.13);flex:0 0 auto}.elevate-global-menu-kicker{display:block;color:#eab45d;font-size:9px;font-weight:900;letter-spacing:.16em}.elevate-global-menu-top h2{margin:2px 0 0;color:#f4f7fb;font-size:28px;line-height:1;font-weight:900}.elevate-global-menu-close{width:36px;height:36px;border:1px solid rgba(220,232,245,.25);border-radius:9px;background:rgba(255,255,255,.03);color:#dce7f2;font-size:25px;line-height:1;cursor:pointer}.elevate-global-menu-close:hover{border-color:#eab45d;color:#f6c96e}
.elevate-global-menu-search-wrap{display:flex;align-items:center;gap:9px;margin:15px 24px 10px;padding:0 12px;height:43px;border:1px solid rgba(126,170,207,.22);border-radius:10px;background:#0b1b2a;flex:0 0 auto}.elevate-global-menu-search-wrap svg{width:19px;height:19px;fill:none;stroke:#90a8bc;stroke-width:1.8;stroke-linecap:round}.elevate-global-menu-search-wrap input{width:100%;border:0;outline:0;background:transparent;color:#f3f7fb;font-size:13px}.elevate-global-menu-search-wrap input::placeholder{color:#70879b}
.elevate-global-menu-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;padding:0 24px 28px;display:block;position:relative;z-index:1}.elevate-global-menu-section{padding:11px 0 5px}.elevate-global-menu-section-head{display:flex;align-items:center;justify-content:space-between;margin:5px 0 9px;color:#eab45d;font-size:10px;font-weight:900;letter-spacing:.12em}.elevate-global-menu-section-head small{color:#70879b;font-size:9px;letter-spacing:0}.elevate-global-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.elevate-global-menu-card{position:relative;display:flex;align-items:center;gap:10px;min-height:62px;padding:10px 11px;border:1px solid rgba(126,170,207,.14);border-radius:10px;background:linear-gradient(180deg,rgba(17,37,54,.92),rgba(10,25,38,.92));color:#dce7f2;text-decoration:none;text-align:left;box-sizing:border-box;cursor:pointer}a.elevate-global-menu-card:hover,button.elevate-global-menu-card:hover{border-color:rgba(234,180,93,.56);background:linear-gradient(180deg,#132b3d,#0d2131);transform:translateY(-1px)}.elevate-global-menu-card>b{width:31px;height:31px;display:grid;place-items:center;flex:0 0 auto;border-radius:8px;background:rgba(234,180,93,.10);color:#efbc61;font-size:14px;font-weight:900}.elevate-global-menu-card>span{min-width:0}.elevate-global-menu-card strong{display:block;color:#f1f5f9;font-size:12px;line-height:1.15}.elevate-global-menu-card small{display:block;margin-top:4px;color:#8198aa;font-size:9px;line-height:1.25}.elevate-global-menu-card .menu-status{margin-left:auto;color:#647b8e;font-size:10px;font-style:normal}.elevate-global-menu-card .menu-soon{margin-left:auto;color:#eab45d;font-size:8px;font-style:normal;font-weight:900}.menu-card-wide{grid-column:1/-1}.elevate-global-menu-muted{margin:3px 2px 6px;color:#778c9f;font-size:10px;font-style:italic}.elevate-global-menu-empty{margin:0 24px 8px;padding:12px;border:1px dashed rgba(126,170,207,.20);border-radius:9px;color:#8ba0b2;font-size:11px}.elevate-global-menu-account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.elevate-global-menu-account-item{display:flex;align-items:center;gap:7px;min-height:42px;padding:8px;border:1px solid rgba(126,170,207,.12);border-radius:8px;background:#0b1b2a;color:#cbd8e3;text-decoration:none;font-size:10px;font-weight:800;cursor:pointer;box-sizing:border-box}.elevate-global-menu-account-item:hover{border-color:rgba(234,180,93,.55);color:#fff}.elevate-global-menu-account-item>b{color:#eab45d;font-size:13px}.elevate-global-menu-account-item.logout{color:#ffb9c0;border-color:rgba(255,112,125,.16);background:rgba(111,25,35,.14)}.elevate-global-menu-account-item.logout>b{color:#ff707d}
body.elevate-menu-open{overflow:hidden}.elevate-global-menu-scroll::-webkit-scrollbar{width:7px}.elevate-global-menu-scroll::-webkit-scrollbar-thumb{background:#294157;border-radius:8px}
@media(max-width:600px){.elevate-global-menu-button-label{display:none}.elevate-global-menu-button{width:36px;height:36px;padding:0;justify-content:center}.elevate-global-menu-top{padding:16px 15px 12px}.elevate-global-menu-top h2{font-size:24px}.elevate-global-menu-search-wrap{margin:12px 15px 8px}.elevate-global-menu-scroll{padding:0 15px 22px}.elevate-global-menu-grid{grid-template-columns:1fr}.elevate-global-menu-account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.elevate-global-menu-card{min-height:58px}.menu-card-wide{grid-column:auto}}
@media(max-width:380px){.dashboard-page .elevate-global-welcome{display:none}.elevate-global-menu-account-grid{grid-template-columns:1fr}}

/* Global Menu R5 — compact left-aligned section/submenu hierarchy. */
.elevate-global-menu-section-head{justify-content:flex-start!important;gap:9px!important;margin:12px 0 6px!important;min-height:24px!important;color:#eab45d!important;text-transform:none!important;letter-spacing:.08em!important;font-size:11px!important;text-align:left!important}
.elevate-global-menu-section-head .menu-section-icon{width:22px;height:22px;display:grid;place-items:center;flex:0 0 22px;border:1px solid rgba(234,180,93,.24);border-radius:6px;background:rgba(234,180,93,.08);color:#efbc61;font-size:12px;font-weight:900;line-height:1}
.elevate-global-menu-submenu{display:grid;gap:4px;margin-left:31px;padding-left:12px;border-left:1px solid rgba(126,170,207,.16)}
.elevate-global-menu-item{position:relative;display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;min-height:42px;padding:8px 11px;border:1px solid rgba(126,170,207,.12);border-radius:8px;background:rgba(10,27,42,.72);color:#dbe6ef;text-decoration:none;text-align:left;box-sizing:border-box;cursor:pointer;font:inherit}
.elevate-global-menu-item:hover,.elevate-global-menu-item:focus-visible{border-color:rgba(234,180,93,.55);background:linear-gradient(180deg,#132b3d,#0d2131);color:#fff;outline:none;transform:translateX(1px)}
.elevate-global-menu-item>b{width:26px;height:26px;display:grid;place-items:center;border-radius:6px;background:rgba(234,180,93,.09);color:#efbc61;font-size:11px;font-weight:900}
.elevate-global-menu-item>span{min-width:0;font-size:12px;font-weight:800;line-height:1.2;color:#edf3f8}
.elevate-global-menu-item>small{font-size:9px;color:#71889b;white-space:nowrap}
.recent-list{border-left:0;padding-left:0;margin-left:0;grid-template-columns:repeat(2,minmax(0,1fr))}
.recent-item{grid-template-columns:28px minmax(0,1fr) auto}
.elevate-global-menu-muted{margin-left:0!important;text-align:left!important}
@media(max-width:600px){.elevate-global-menu-submenu{margin-left:0;padding-left:8px}.recent-list{grid-template-columns:1fr}.elevate-global-menu-section-head{margin-top:10px!important}}
/* Global menu deep-link targets: land below the fixed/frozen application header. */
#market-pulse-anchor,
#market-factors,
#market-news-shell,
#oi-details-card,
#factor-technical-coming,
#my-profile,
#account-validity {
  scroll-margin-top: 92px;
}

/* Consistent miniature line icons and a single latest recent page. */
.elevate-global-menu-section-head .menu-section-icon svg,
.elevate-global-menu-item>b svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.elevate-global-menu-section-head .menu-section-icon svg{width:15px;height:15px}
.recent-list{grid-template-columns:minmax(0,1fr)!important}
.elevate-global-menu-item.recent-item small{display:none}
#mrx-regime,#mrx-technical,#mrx-global{scroll-margin-top:92px}
/* Reuse Home's Capital, Market and Trading artwork as compact menu marks. */
.elevate-global-menu-section-head .menu-section-icon.menu-section-art-icon{overflow:hidden;border-radius:6px;border-color:rgba(234,180,93,.38);background:#07121b}
.elevate-global-menu-section-head .menu-section-icon.menu-section-art-icon img{display:block;width:100%;height:100%;object-fit:cover}
/* Broker brand marks: Kite red on white; ICICI Direct orange and maroon. */
.elevate-global-menu-item>.broker-brand{overflow:hidden;border:1px solid rgba(255,255,255,.18);background:#fff}
.elevate-global-menu-item>.broker-brand svg{width:18px;height:18px;fill:none;stroke:none}
.elevate-global-menu-item>.zerodha-brand svg{fill:#e34b4b}
.elevate-global-menu-item>.icici-brand{background:#f15a24}
.elevate-global-menu-item>.icici-brand svg{stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
/* Official company hosted broker logos */
.elevate-global-menu-item>.broker-brand img{display:block;width:100%;height:100%;padding:3px;box-sizing:border-box;object-fit:contain}

.elevate-global-menu-item{grid-template-columns:40px minmax(0,1fr) auto}.elevate-global-menu-item>.broker-brand{width:38px;height:26px}.elevate-global-menu-item>.broker-brand.icici-brand{background:#f15a24}

/* Zerodha logo: transparent mark on a dark square, with full uncropped fit. */
.elevate-global-menu-item>.broker-brand.zerodha-brand{width:38px;height:38px;overflow:hidden;background:#07121b;border-color:rgba(234,180,93,.34)}
.elevate-global-menu-item>.broker-brand.zerodha-brand img{width:100%;height:100%;padding:1px;object-fit:contain}


/* Menu deep links target real Market page sections below the fixed header. */
#market-command-deck,#technical-factors,#factor-global{scroll-margin-top:92px}
