/* OROX Command Hub V1 — dashboard-scoped visual layer. No shared routing/permission changes. */
#dashboardView.command-hub-v1{--hub-line:rgba(93,152,226,.24);--hub-surface:#0b1a32;--hub-text:#f4f8ff;--hub-muted:#bfd0eb;gap:12px;min-width:0;isolation:isolate}
#dashboardView.command-hub-v1>.hero{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:flex-start;min-height:204px;padding:24px clamp(18px,2.5vw,38px);overflow:hidden;border:1px solid #28649a77;border-radius:23px;color:#f7f9fc;background:radial-gradient(ellipse at 35% 60%,#167acd62,transparent 52%),radial-gradient(ellipse at 72% 12%,#623bc044,transparent 62%),linear-gradient(116deg,#071c42,#0b1940 46%,#061b3a);box-shadow:inset 0 1px 0 #a4d4fc29,0 12px 34px #020e2a47}
#dashboardView.command-hub-v1>.hero::before{content:"";position:absolute;inset:-120% 44% 0 -20%;pointer-events:none;background:radial-gradient(ellipse,#1caffd22,transparent 62%);transform:rotate(-19deg);z-index:0}
#dashboardView.command-hub-v1>.hero::after{content:"";position:absolute;inset-block-start:-160px;inset-inline-end:24%;width:300px;height:300px;border:2px solid #26b9df88;border-bottom-color:transparent;border-left-color:transparent;transform:rotate(26deg);border-radius:50%;filter:drop-shadow(0 0 7px #26b9df66);pointer-events:none}
#dashboardView .command-hub-copy{position:relative;z-index:2;width:min(64%,740px);display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:start}
#dashboardView .command-hub-copy .command-hub-label{display:inline-flex;align-items:center;border:1px solid #3ac4fa45;border-radius:999px;padding:4px 12px;font-size:11px;font-weight:800;letter-spacing:.02em;color:#dbf8ff;background:linear-gradient(90deg,#0c558a89,#152b6289);box-shadow:0 0 16px #006acb33}
#dashboardView .command-hub-copy #commandHubGreeting{font-size:clamp(22px,2.25vw,34px);color:#fff;line-height:1.3;margin:2px 0 0;font-weight:850;overflow-wrap:anywhere}
#dashboardView .command-hub-copy #dashboardHeroTitle{font-size:11px;font-weight:750;line-height:1.4;color:#80d9ff;margin:0}
#dashboardView .command-hub-copy #dashboardHeroIntro{font-size:clamp(11px,1.05vw,13px);line-height:1.7;color:#d5e3f7;max-width:650px;margin:0}
#dashboardView .command-hub-copy .command-hub-date{margin-top:4px;color:#e7f1ff;background:#122e577f;border:1px solid #b0dfff2a;border-radius:9px;padding:5px 10px;font-size:11px}
#dashboardView .command-hub-hero-art{position:absolute;z-index:1;left:-1%;bottom:-12px;width:47%;height:112%;object-fit:contain;object-position:left bottom;pointer-events:none;filter:drop-shadow(0 10px 16px #0009)}
html[dir="ltr"] #dashboardView .command-hub-hero-art{left:auto;right:-1%;transform:scaleX(-1)}
#dashboardView.command-hub-v1 #dashboardPriority{order:20;min-width:0}
#dashboardView.command-hub-v1 #dashboardWorkspaceToolbar{order:2}
#dashboardView.command-hub-v1 #dashboardFavorites{order:2}
#dashboardView.command-hub-v1 #dashboardDailyBrief{order:2}
#dashboardView.command-hub-v1 #dashboardMetrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:0}
/* Respect saved Workspace V2 widget sizing after changing the KPI grid to four columns. */
#dashboardView.command-hub-v1 #dashboardMetrics [data-workspace-size="large"]{grid-column:1/-1}
#dashboardView.command-hub-v1 #dashboardFinancial{gap:11px}
#dashboardView.command-hub-v1 .executive-kpi,
#dashboardView.command-hub-v1 .dashboard-secondary-section{position:relative;overflow:hidden;border:1px solid var(--hub-line);border-radius:17px;min-height:104px;background:radial-gradient(ellipse at 100% 0%,#155aa52d,transparent 55%),linear-gradient(130deg,#0d2243,#08172f)!important;box-shadow:inset 0 1px 0 #d9eaff11,0 8px 24px #06112b34;color:#edf5ff}
#dashboardView.command-hub-v1 .executive-kpi::before{content:"";position:absolute;width:130px;height:90px;inset-block-start:-55px;inset-inline-start:-30px;border-radius:50%;background:#1b91ff22;filter:blur(18px);pointer-events:none}
#dashboardView.command-hub-v1 .executive-kpi:hover,
#dashboardView.command-hub-v1 .dashboard-secondary-section:hover{border-color:#25b9df88;transform:translateY(-2px)}
#dashboardView.command-hub-v1 .executive-kpi-head{font-size:12px;color:#c5d7f0}
#dashboardView.command-hub-v1 .executive-kpi-value{font-variant-numeric:tabular-nums;color:#fff;font-weight:850}
#dashboardView.command-hub-v1 .executive-kpi .trend-up{color:#2be1a9}
#dashboardView.command-hub-v1 .executive-kpi .trend-down{color:#ff6789}
#dashboardView.command-hub-v1 #commandHubQuick{order:5;min-width:0;display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:1px 0 0;padding:3px 0;background:none;border:0}
#dashboardView #commandHubQuick .command-hub-quick-label{font-size:12px;line-height:1.4;font-weight:850;color:var(--text);white-space:nowrap}
#dashboardView #commandHubQuick .command-hub-quick-label::before{content:"ϟ";color:#e8b84d;margin-inline-end:7px;font-size:19px;vertical-align:middle}
#dashboardView #commandHubQuick #dashboardHeroActions{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:0}
#dashboardView #commandHubQuick #dashboardHeroActions .btn{min-height:38px;border:1px solid #2979ff55;border-radius:12px;background:linear-gradient(135deg,#132f61,#081b3a);box-shadow:inset 0 1px 0 #ffffff19;color:#f5f9ff;font-size:11px;padding:7px 13px;white-space:nowrap}
#dashboardView #commandHubQuick #dashboardHeroActions .btn:hover{border-color:#26b9df;filter:brightness(1.08)}
#dashboardView #commandHubQuick #dashboardHeroActions [data-ws-action="edit"]{border-color:#26d9ef!important;box-shadow:0 0 0 1px #29d5ff33,inset 0 0 16px #0876bb55}
#dashboardView #commandHubShortcuts{display:flex;flex:1;align-items:center;justify-content:flex-start;gap:8px;flex-wrap:wrap;min-width:0}
#dashboardView #commandHubShortcuts:empty{display:none}
#dashboardView .command-hub-shortcut{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;border:1px solid #3674bc55;border-radius:12px;padding:7px 12px;color:#f4f8ff;background:linear-gradient(135deg,#102850,#0a1b39);font:inherit;font-size:11px;font-weight:750;cursor:pointer;transition:transform .16s ease,border-color .16s ease}
#dashboardView .command-hub-shortcut:hover{border-color:#26b9df;transform:translateY(-1px)}
#dashboardView .command-hub-shortcut:focus-visible{outline:2px solid #24d7ee;outline-offset:3px}
#dashboardView .command-hub-shortcut-icon{display:grid;place-items:center;flex:none;width:23px;height:23px;border-radius:7px;color:#bdefff;background:linear-gradient(145deg,#1268c4,#073763);font-size:15px}
#dashboardView.command-hub-v1 #dashboardVisuals{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0;align-items:stretch}
#dashboardView #dashboardVisuals .dashboard-visual{position:relative;min-height:242px;border:1px solid #3374b65e;border-radius:18px;overflow:hidden;background:radial-gradient(circle at 55% 25%,#1d5cab88,#060f2b 75%);box-shadow:inset 0 1px 0 #ffffff19,0 9px 24px #030f2f43;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;display:flex;align-items:flex-end}
#dashboardView #dashboardVisuals .dashboard-visual:hover{transform:translateY(-3px);border-color:#35c9ee8f;box-shadow:0 12px 28px #010c2a66}
#dashboardView #dashboardVisuals .dashboard-visual-art{position:absolute;inset:0;width:100%;max-width:none;height:78%;object-fit:cover;object-position:center top;pointer-events:none;filter:drop-shadow(0 9px 17px #0005)}
#dashboardView #dashboardVisuals .dashboard-visual-copy{width:100%;min-width:0;position:relative;z-index:1;display:flex;flex-direction:column;justify-content:flex-end;gap:5px;padding:44px 12px 12px;background:linear-gradient(0deg,#050f29 1%,#071631f5 53%,transparent 100%)}
#dashboardView #dashboardVisuals .dashboard-visual-copy h3{font-size:15px;line-height:1.35;font-weight:850;color:#fff}
#dashboardView #dashboardVisuals .dashboard-visual-copy p{color:#bccfeb;font-size:10px;line-height:1.5;margin:2px 0 0}
#dashboardView #dashboardVisuals .dashboard-visual-stats{display:flex;gap:5px;flex-wrap:wrap;min-width:0}
#dashboardView #dashboardVisuals .dashboard-visual-stats:empty{display:none}
#dashboardView #dashboardVisuals .dashboard-visual-stat{display:flex;flex:1 1 82px;justify-content:space-between;align-items:center;gap:4px;padding:3px 6px;border-radius:8px;min-width:0;background:#09203ed9;border:1px solid #4284af33}
#dashboardView #dashboardVisuals .dashboard-visual-stat small{font-size:9px;color:#bddef1}
#dashboardView #dashboardVisuals .dashboard-visual-stat b{font-size:10px;white-space:nowrap;color:#e9fcff;margin:0}
#dashboardView #dashboardVisuals .dashboard-visual-actions{display:flex;justify-content:flex-end}
#dashboardView #dashboardVisuals .dashboard-visual-actions .btn{background:#163a6bd9;border:1px solid #2a87bb77;border-radius:9px;min-height:27px;font-size:10px;padding:4px 10px;color:#fff}
#dashboardView #dashboardVisuals .dashboard-visual-actions .btn:hover{background:#1264b5}
#dashboardView.command-hub-v1 #dashboardAnalytics,
#dashboardView.command-hub-v1 #dashboardFollowup{gap:12px}
#dashboardView.command-hub-v1 #dashboardAnalytics .executive-card,
#dashboardView.command-hub-v1 #dashboardFollowup .executive-card,
#dashboardView.command-hub-v1 #dashboardTail .card,
#dashboardView.command-hub-v1 #dashboardPriority>*{border:1px solid var(--hub-line);border-radius:18px;background:linear-gradient(140deg,#0d203f,#09152e)!important;box-shadow:inset 0 1px 0 #ffffff11,0 7px 22px #020c2940;color:#f3f7ff}
#dashboardView.command-hub-v1 #dashboardAnalytics .executive-card-title h3,
#dashboardView.command-hub-v1 #dashboardFollowup .executive-card-title h3{font-weight:800}
#dashboardView.command-hub-v1 #dashboardTail{gap:12px}
#dashboardView.command-hub-v1 #dashboardPriority{margin:0}
#dashboardView.command-hub-v1 #dashboardPriority:empty{display:none}
#dashboardView.command-hub-v1 .executive-card:focus-within,
#dashboardView.command-hub-v1 .dashboard-visual:focus-within{outline:2px solid #26b9df;outline-offset:2px}
html[data-theme="light"] #dashboardView.command-hub-v1{--hub-line:#c8d9f0}
html[data-theme="light"] #dashboardView.command-hub-v1 .executive-kpi,
html[data-theme="light"] #dashboardView.command-hub-v1 .dashboard-secondary-section,
html[data-theme="light"] #dashboardView.command-hub-v1 #dashboardAnalytics .executive-card,
html[data-theme="light"] #dashboardView.command-hub-v1 #dashboardFollowup .executive-card,
html[data-theme="light"] #dashboardView.command-hub-v1 #dashboardTail .card,
html[data-theme="light"] #dashboardView.command-hub-v1 #dashboardPriority>*{color:#10243f;background:linear-gradient(145deg,#fff,#edf5ff)!important;box-shadow:0 5px 18px #19457717}
html[data-theme="light"] #dashboardView.command-hub-v1 .executive-kpi-value{color:#143253}
html[data-theme="light"] #dashboardView .command-hub-shortcut,
html[data-theme="light"] #dashboardView #commandHubQuick #dashboardHeroActions .btn{color:#113663;background:linear-gradient(145deg,#e4f2ff,#f5f9ff);border-color:#a7c5e3}
html[data-theme="light"] #dashboardView .command-hub-shortcut-icon{color:#fff}
html[data-theme="light"] #dashboardView .command-hub-shortcut:hover{border-color:#287ee3}
body.command-hub-current:not(.platform-mode) #sidebar .nav-quick,
body.command-hub-current:not(.platform-mode) #sidebar .nav-section{background:transparent;box-shadow:none;border-color:transparent;border-radius:13px;margin-bottom:2px}
body.command-hub-current:not(.platform-mode) #sidebar .nav-section-toggle{min-height:44px}
body.command-hub-current:not(.platform-mode) #sidebar .nav-section:not(.open):not(.has-active):hover{background:#113c6b66;border-color:#2b70ad66}
body.command-hub-current:not(.platform-mode) #sidebar .nav-quick.active,
body.command-hub-current:not(.platform-mode) #sidebar .nav-section.has-active{border-color:#298ffd88;background:linear-gradient(108deg,#1559aa,#082d67 85%);box-shadow:inset 0 1px 0 #a8ceff30,0 0 17px #067cfa27}
body.command-hub-current:not(.platform-mode) #sidebar .nav-section-icon,
body.command-hub-current:not(.platform-mode) #sidebar .nav-quick .ico{border-color:transparent;box-shadow:none;background:transparent}
@media(max-width:1450px){
 #dashboardView.command-hub-v1 #dashboardVisuals{grid-template-columns:repeat(3,minmax(0,1fr))}
 #dashboardView #dashboardVisuals .dashboard-visual{min-height:228px}
}
@media(max-width:1000px){
 #dashboardView.command-hub-v1 #dashboardMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 #dashboardView.command-hub-v1 #dashboardVisuals{grid-template-columns:repeat(2,minmax(0,1fr))}
 #dashboardView .command-hub-copy{width:72%}
 #dashboardView .command-hub-hero-art{width:43%;opacity:.82}
}
/* Workspace V2 marks every visual with data-workspace-size, including auto.
   Override its <=760px full-row fallback only for automatic/small mobile cards. */
@media(max-width:760px){
 #dashboardView.command-hub-v1 #dashboardVisuals [data-workspace-size="auto"],
 #dashboardView.command-hub-v1 #dashboardVisuals [data-workspace-size="small"]{grid-column:auto}
 #dashboardView.command-hub-v1 #dashboardVisuals [data-workspace-size="medium"],
 #dashboardView.command-hub-v1 #dashboardVisuals [data-workspace-size="large"]{grid-column:1/-1}
}
@media(max-width:680px){
 #dashboardView.command-hub-v1>.hero{min-height:178px;padding:19px 16px;border-radius:17px}
 #dashboardView .command-hub-copy{width:100%;padding-inline-end:18%;gap:4px}
 #dashboardView .command-hub-copy #commandHubGreeting{font-size:22px}
 #dashboardView .command-hub-copy #dashboardHeroIntro{font-size:11px;line-height:1.6}
 #dashboardView .command-hub-copy .command-hub-date{font-size:10px}
 #dashboardView .command-hub-hero-art{width:58%;height:100%;opacity:.4}
 #dashboardView.command-hub-v1 #dashboardMetrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 #dashboardView.command-hub-v1 .executive-kpi{min-height:98px}
 #dashboardView #commandHubQuick{gap:8px}
 #dashboardView #commandHubQuick #dashboardHeroActions{flex:1 1 100%}
 #dashboardView #commandHubShortcuts{flex:1 1 100%}
 #dashboardView.command-hub-v1 #dashboardVisuals{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 #dashboardView #dashboardVisuals .dashboard-visual{min-height:204px}
 #dashboardView #dashboardVisuals .dashboard-visual-copy{padding:35px 9px 9px}
 #dashboardView #dashboardVisuals .dashboard-visual-art{height:73%}
 #dashboardView #dashboardVisuals .dashboard-visual-copy h3{font-size:12px}
 #dashboardView #dashboardVisuals .dashboard-visual-copy p{font-size:9px}
 #dashboardView #dashboardVisuals .dashboard-visual-stat{flex:1 1 100%}
 #dashboardView #dashboardVisuals .dashboard-visual-stat small{font-size:8px}
 #dashboardView #dashboardVisuals .dashboard-visual-stat b{font-size:9px}
}
@media(max-width:420px){
 #dashboardView .command-hub-copy{padding-inline-end:0}
 #dashboardView .command-hub-hero-art{opacity:.21}
 #dashboardView.command-hub-v1 #dashboardVisuals{grid-template-columns:1fr}
 #dashboardView #dashboardVisuals .dashboard-visual{min-height:197px}
 #dashboardView #dashboardVisuals .dashboard-visual-art{height:93%;width:100%;object-fit:contain;object-position:center 0}
}
@media(prefers-reduced-motion:reduce){
 #dashboardView.command-hub-v1 .executive-kpi,
 #dashboardView.command-hub-v1 .dashboard-visual,
 #dashboardView.command-hub-v1 .command-hub-shortcut{transition:none;transform:none}
}