/* Shared dashboard navigation: retain the existing buttons, access checks and module handlers. */
body.ea-dashboard-shell78{--shell-page78:#050d13;--shell-panel78:#0a1620;--shell-border78:#263b49;--shell-muted78:#9cb0c2;--shell-text78:#e5edf7;--shell-cyan78:#25d9ff}
body.ea-dashboard-shell78.light{--shell-page78:#f3f7fa;--shell-panel78:#eaf1f6;--shell-border78:#c4d5df;--shell-muted78:#536b7c;--shell-text78:#173143;--shell-cyan78:#007d98}
body.ea-dashboard-shell78 #dashboard>.topbar{height:auto;min-height:0;border:0;border-bottom:1px solid var(--shell-border78);border-radius:0;overflow:visible;background:var(--shell-page78);box-shadow:none;backdrop-filter:none}
body.ea-dashboard-shell78 .topbar>.sovereign-windowbar{display:flex;position:absolute;top:0;left:0;width:95px;height:27px;padding:0 18px;background:transparent;border:0;pointer-events:none}
body.ea-dashboard-shell78 .sovereign-window-dots{gap:9px}
body.ea-dashboard-shell78 .sovereign-window-dots span{width:11px;height:11px;opacity:1}
body.ea-dashboard-shell78 .topbar-content{height:auto;min-height:107px;padding:26px clamp(22px,2.6vw,48px) 13px;align-items:flex-start;gap:24px;background:transparent}
body.ea-dashboard-shell78 .topbar-left{flex:1 1 0;gap:18px;align-items:center;max-width:none}
body.ea-dashboard-shell78 .topbar-left .sovereign-diamond{width:42px;height:42px;flex-basis:42px;color:var(--shell-cyan78)}
body.ea-dashboard-shell78 .workspace-mini{min-width:0;max-width:100%}
body.ea-dashboard-shell78 .sovereign-identity{display:grid;grid-template-columns:max-content auto minmax(0,1fr);gap:0 15px;align-items:baseline;font:700 26px/1.1 Rajdhani,sans-serif;letter-spacing:.01em}
body.ea-dashboard-shell78 .sovereign-label{color:var(--shell-text78);white-space:nowrap}
body.ea-dashboard-shell78 .sovereign-divider{display:block;margin:0;color:var(--shell-muted78);font-weight:500;opacity:.65}
body.ea-dashboard-shell78 .sovereign-company{color:var(--shell-cyan78);letter-spacing:.01em;white-space:normal;text-overflow:clip;overflow-wrap:anywhere;text-shadow:none}
body.ea-dashboard-shell78 .topbar .sovereign-identity :is(.sovereign-label,.sovereign-company){font-size:inherit;line-height:inherit;font-weight:700;letter-spacing:.01em;text-wrap:wrap;white-space:normal;overflow:visible;overflow-wrap:anywhere}
body.ea-dashboard-shell78 .topbar-actions78{display:flex;flex-direction:column;align-items:stretch;gap:8px;flex:0 1 auto;width:max-content;max-width:min(420px,43%);min-width:0}
body.ea-dashboard-shell78 .topbar-right{align-self:flex-end;gap:8px;margin:0;flex-wrap:nowrap}
body.ea-dashboard-shell78 .topbar-right button,body.ea-dashboard-shell78 .topbar-right select{height:39px;min-height:39px;max-width:100%;border:1px solid var(--shell-border78);border-radius:0;background:var(--shell-panel78);color:var(--shell-text78);font:600 13px/1.3 Rajdhani,sans-serif;letter-spacing:.08em;padding:8px 13px;white-space:nowrap}
body.ea-dashboard-shell78 .topbar-right select{width:100px;min-width:100px;font-size:13px;letter-spacing:0;padding:8px 10px;text-transform:none}
body.ea-dashboard-shell78 .topbar-right select option{background:var(--shell-panel78);color:var(--shell-text78)}
body.ea-dashboard-shell78 .topbar-right button:hover,body.ea-dashboard-shell78 .topbar-right select:hover{border-color:var(--shell-cyan78);color:var(--shell-cyan78)}
body.ea-dashboard-shell78 .topbar-right #navToggle78{width:38px;padding:8px 9px;color:var(--shell-muted78)}
#navToggle78 svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round}
body.ea-dashboard-shell78 .topbar-address78{margin:0;text-align:right;overflow-wrap:anywhere;color:var(--shell-muted78);font:500 13px/1.4 Rajdhani,sans-serif;letter-spacing:0}
body.ea-dashboard-shell78 #dashboard>.dashboard-grid{grid-template-columns:minmax(0,1fr);min-height:calc(100dvh - var(--dashboard-header-height,107px))}
body.ea-dashboard-shell78.navigation-open78 #dashboard>.dashboard-grid{grid-template-columns:228px minmax(0,1fr)}
body.ea-dashboard-shell78 #dashboard .rail{display:none;position:sticky;top:var(--dashboard-header-height,107px);height:calc(100dvh - var(--dashboard-header-height,107px));min-height:0;width:auto;padding:23px 18px 0;overflow:hidden;border-right:1px solid var(--shell-border78);background:var(--shell-page78);z-index:29}
body.ea-dashboard-shell78.navigation-open78 #dashboard .rail{display:flex;flex-direction:column}
body.ea-dashboard-shell78 .rail .rail-label{margin:0 10px 12px;color:var(--shell-muted78);font:700 9px/1.4 Rajdhani,sans-serif;letter-spacing:.2em}
body.ea-dashboard-shell78 .dashboard-menu78{flex:1;min-height:0;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--shell-border78) transparent}
body.ea-dashboard-shell78 .dashboard-menu78>.nav-btn,body.ea-dashboard-shell78 .dashboard-menu78>.dashboard-worker-request{display:block;width:100%;height:auto;min-height:43px;margin:2px 0;border:1px solid transparent;background:transparent;color:var(--shell-muted78);padding:10px 12px;text-align:left;text-decoration:none;font:600 15px/1.4 Rajdhani,sans-serif;letter-spacing:0;white-space:normal;opacity:1}
body.ea-dashboard-shell78 .dashboard-menu78>.active{color:var(--shell-cyan78);border-color:var(--shell-border78);background:color-mix(in srgb,var(--shell-cyan78) 5%,transparent)}
body.ea-dashboard-shell78 .dashboard-menu78>:hover{color:var(--shell-cyan78);background:color-mix(in srgb,var(--shell-cyan78) 5%,transparent)}
body.ea-dashboard-shell78 .rail>.rail-foot{position:static;inset:auto;flex:0 0 auto;min-height:63px;margin:10px -18px 0;padding:18px 22px;border:0;background:var(--shell-page78)}
body.ea-dashboard-shell78 .rail-foot .rail-version-text{display:none}
body.ea-dashboard-shell78 .rail-foot .protocol-link{display:flex;align-items:center;gap:10px;padding:5px 0;color:var(--shell-muted78);border:0;background:transparent;font:600 12px/1.4 Rajdhani,sans-serif;text-transform:none;letter-spacing:0}
body.ea-dashboard-shell78 #dashboard>.dashboard-grid>.main{padding:30px 32px 60px;min-width:0;max-width:none}
/* Non-modal Worker Protection page uses the same full-width content area as every engine. */
body.ea-dashboard-shell78 #workerProtectionView78{width:100%;min-width:0}
body.ea-dashboard-shell78 .ea-protection-page78{position:static;inset:auto;width:100%;max-width:none;max-height:none;margin:0;border:0;border-radius:0;padding:0;box-shadow:none;background:transparent;overflow:visible}
body.ea-dashboard-shell78 .ea-protection-page78[open]{display:flex;overflow:visible}
body.ea-dashboard-shell78 .ea-protection-page78>.ea69-head{padding:0 0 18px;align-items:center}
body.ea-dashboard-shell78 .ea-protection-page78>.ea69-head h2,body.ea-dashboard-shell78 .ea-protection-page78>.ea69-head .ea69-eyebrow{display:none}
body.ea-dashboard-shell78 .ea-protection-page78>.ea69-body{padding:8px 0 0;overflow:visible;max-height:none}
body.ea-dashboard-shell78 .topbar button:focus-visible,body.ea-dashboard-shell78 .topbar select:focus-visible,body.ea-dashboard-shell78 .rail button:focus-visible,body.ea-dashboard-shell78 .rail a:focus-visible{outline:2px solid var(--shell-cyan78);outline-offset:2px}
@media(max-width:1180px){body.ea-dashboard-shell78 .sovereign-identity{grid-template-columns:auto minmax(0,1fr);column-gap:11px;row-gap:5px;font-size:23px}body.ea-dashboard-shell78 .sovereign-label{grid-column:1/-1;grid-row:1}body.ea-dashboard-shell78 .sovereign-divider{grid-column:1;grid-row:2}body.ea-dashboard-shell78 .sovereign-company{grid-column:2;grid-row:2}}
@media(max-width:900px){body.ea-dashboard-shell78 .topbar-content{flex-wrap:wrap;padding-top:30px;padding-bottom:17px;gap:15px}body.ea-dashboard-shell78 .topbar-left{flex-basis:100%;width:100%}body.ea-dashboard-shell78 .topbar-actions78{max-width:100%;margin-left:auto}}
@media(max-width:760px){body.ea-dashboard-shell78.navigation-open78 #dashboard>.dashboard-grid{display:block}body.ea-dashboard-shell78 #dashboard .rail{position:relative;top:auto;height:auto;max-height:none;padding:19px 18px 0;border-right:0;border-bottom:1px solid var(--shell-border78);overflow:visible}body.ea-dashboard-shell78 .dashboard-menu78{display:grid;grid-template-columns:1fr 1fr;gap:5px;overflow:visible}body.ea-dashboard-shell78 .dashboard-menu78>.nav-btn,body.ea-dashboard-shell78 .dashboard-menu78>.dashboard-worker-request{font-size:14px;margin:0}body.ea-dashboard-shell78 #dashboard>.dashboard-grid>.main{padding:24px 18px 60px}}
@media(max-width:680px){body.ea-dashboard-shell78 .topbar-content{padding:32px 18px 16px;gap:15px}body.ea-dashboard-shell78 .topbar-left{gap:12px}body.ea-dashboard-shell78 .sovereign-identity{font-size:20px;line-height:1.2}body.ea-dashboard-shell78 .topbar-left .sovereign-diamond{width:37px;height:37px;flex-basis:37px}body.ea-dashboard-shell78 .topbar-actions78{width:100%;gap:8px}body.ea-dashboard-shell78 .topbar-right{gap:5px}body.ea-dashboard-shell78 .topbar-right button{font-size:11px;padding:7px 8px}body.ea-dashboard-shell78 .topbar-right select{font-size:12px;width:100px;padding:7px 8px}}
@media(prefers-reduced-motion:reduce){body.ea-dashboard-shell78 .sovereign-diamond{animation:none}}
