/* M06.2R: commercial content composition. Shell, kernel and POS remain authoritative. */
body.vx-premium-shell:not(.pos-active) #dashboardView.vx-executive-dashboard.active-view { gap: 12px; }
body.vx-premium-shell:not(.pos-active):has(#dashboardView.active-view) .vx-workspace-content > .notice { display: none; }
body.vx-premium-shell:not(.pos-active) #dashboardView .commercial-executive-context { display: grid; grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr); align-items: center; gap: 12px; min-width: 0; }
body.vx-premium-shell:not(.pos-active) #dashboardView .commercial-executive-context .vx-dashboard-controls { padding: 0; border: 0; gap: 8px; }
body.vx-premium-shell:not(.pos-active) #dashboardView .commercial-executive-context .vx-dashboard-overview { padding: 7px 10px; gap: 8px; }
body.vx-premium-shell:not(.pos-active) #dashboardView .commercial-executive-context .vx-dashboard-overview h2 { margin: 0; font-size: 17px; }
body.vx-premium-shell:not(.pos-active) #dashboardView .commercial-executive-context .vx-dashboard-overview p { font-size: 11px; }
body.vx-premium-shell:not(.pos-active) #dashboardView .commercial-executive-admin .capability-chips { padding: 8px 0; }
body.vx-premium-shell:not(.pos-active) #dashboardView .commercial-executive-admin .cards { margin: 6px 0 0; }
body.vx-premium-shell:not(.pos-active) #dashboardView .vx-dashboard-overview { padding: 10px 14px; border: 1px solid var(--vx-color-border-default); border-radius: var(--vx-radius-control); background: var(--vx-color-surface); }
body.vx-premium-shell:not(.pos-active) #dashboardView .vx-dashboard-overview h2 { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.15; }
body.vx-premium-shell:not(.pos-active) #dashboardView .vx-dashboard-kpis { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
body.vx-premium-shell:not(.pos-active) #dashboardView .vx-dashboard-kpi { min-width: 0; min-height: 86px; border: 1px solid var(--vx-color-border-default); border-top: 3px solid var(--vx-color-accent); background: var(--vx-color-surface); text-align: left; transition: border-color .15s ease, transform .15s ease; }
body.vx-premium-shell:not(.pos-active) #dashboardView button.vx-dashboard-kpi:not(:disabled):hover { border-color: var(--vx-color-accent); transform: translateY(-2px); }
body.vx-premium-shell:not(.pos-active) #dashboardView .vx-dashboard-kpi .vx-metric-value { font-size: clamp(16px, 1.25vw, 22px); overflow-wrap: anywhere; }
body.vx-premium-shell:not(.pos-active) #dashboardView .vx-dashboard-kpi .vx-metric-label { text-transform: uppercase; letter-spacing: .08em; }
body.vx-premium-shell:not(.pos-active) .commercial-command-board { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.18fr) minmax(240px, .82fr); gap: 10px; min-width: 0; }
body.vx-premium-shell:not(.pos-active) .commercial-command-panel { min-width: 0; display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 1px solid var(--vx-color-border-default); border-radius: var(--vx-radius-control); background: var(--vx-color-surface); }
body.vx-premium-shell:not(.pos-active) .commercial-command-head { display: flex; justify-content: space-between; align-items: start; gap: 8px; padding-bottom: 9px; border-bottom: 1px solid var(--vx-color-border-subtle); }
body.vx-premium-shell:not(.pos-active) .commercial-command-head h3 { margin: 2px 0 0; font-size: 16px; line-height: 1.2; }
body.vx-premium-shell:not(.pos-active) .commercial-command-head > small { max-width: 42%; text-align: right; color: var(--vx-color-text-muted); }
body.vx-premium-shell:not(.pos-active) .commercial-flow-chart { display: grid; align-content: center; gap: 14px; min-height: 174px; }
body.vx-premium-shell:not(.pos-active) .commercial-flow-group { display: grid; gap: 6px; min-width: 0; }
body.vx-premium-shell:not(.pos-active) .commercial-flow-group > strong { font-size: 11px; letter-spacing: .1em; color: var(--vx-color-text-secondary); }
body.vx-premium-shell:not(.pos-active) .commercial-flow-group > div { display: grid; grid-template-columns: 58px minmax(0, 1fr) minmax(95px, auto); align-items: center; gap: 7px; font-size: 12px; }
body.vx-premium-shell:not(.pos-active) .commercial-flow-group span { color: var(--vx-color-text-secondary); }
body.vx-premium-shell:not(.pos-active) .commercial-flow-group b { overflow: hidden; text-align: right; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; font-variant-numeric: tabular-nums; }
body.vx-premium-shell:not(.pos-active) .commercial-flow-track { height: 8px; overflow: hidden; border-radius: 20px; background: var(--vx-color-surface-hover); }
body.vx-premium-shell:not(.pos-active) .commercial-flow-track i { display: block; height: 100%; border-radius: inherit; background: var(--vx-color-accent); }
body.vx-premium-shell:not(.pos-active) .commercial-flow-track-collection i { background: var(--vx-status-success-fg); }
body.vx-premium-shell:not(.pos-active) .commercial-command-links { display: flex; gap: 8px; margin-top: auto; }
body.vx-premium-shell:not(.pos-active) .commercial-command-links button { min-height: 29px; padding: 4px 9px; font-size: 12px; }
body.vx-premium-shell:not(.pos-active) .commercial-recent-list { display: grid; align-content: start; gap: 0; min-width: 0; }
body.vx-premium-shell:not(.pos-active) .commercial-recent-list article { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-width: 0; padding: 7px 0; border-bottom: 1px solid var(--vx-color-border-subtle); }
body.vx-premium-shell:not(.pos-active) .commercial-recent-list article:last-child { border-bottom: 0; }
body.vx-premium-shell:not(.pos-active) .commercial-event-mark { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--vx-color-border-default); border-radius: var(--vx-radius-control); color: var(--vx-color-accent-text); font-size: 11px; font-weight: 700; }
body.vx-premium-shell:not(.pos-active) .commercial-recent-list article > div { min-width: 0; }
body.vx-premium-shell:not(.pos-active) .commercial-recent-list button { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.vx-premium-shell:not(.pos-active) .commercial-recent-list small { display: block; overflow: hidden; color: var(--vx-color-text-muted); text-overflow: ellipsis; white-space: nowrap; }
body.vx-premium-shell:not(.pos-active) .commercial-recent-list article > strong { text-align: right; white-space: nowrap; font-size: 12px; font-variant-numeric: tabular-nums; }
body.vx-premium-shell:not(.pos-active) .commercial-exposure-list { display: grid; align-content: start; gap: 0; min-height: 100px; }
body.vx-premium-shell:not(.pos-active) .commercial-exposure-list article { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 9px 0; border-bottom: 1px solid var(--vx-color-border-subtle); }
body.vx-premium-shell:not(.pos-active) .commercial-exposure-list article div { min-width: 0; }
body.vx-premium-shell:not(.pos-active) .commercial-exposure-list article strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
body.vx-premium-shell:not(.pos-active) .commercial-exposure-list small { display: block; overflow: hidden; color: var(--vx-color-text-muted); text-overflow: ellipsis; white-space: nowrap; }
body.vx-premium-shell:not(.pos-active) .commercial-exposure-panel > button { align-self: start; min-height: 29px; margin-top: auto; padding: 4px 9px; font-size: 12px; }
body.vx-premium-shell:not(.pos-active) .commercial-state { margin: 0; padding: 16px 5px; color: var(--vx-color-text-secondary); font-size: 13px; }
body.vx-premium-shell:not(.pos-active) .commercial-secondary-details { min-width: 0; border-top: 1px solid var(--vx-color-border-subtle); }
body.vx-premium-shell:not(.pos-active) .commercial-secondary-details > summary { padding: 9px 2px; color: var(--vx-color-text-secondary); font-size: 12px; cursor: pointer; }

body.vx-premium-shell:not(.pos-active) .commercial-core-workspace { min-width: 0; }
body.vx-premium-shell:not(.pos-active) .commercial-core-workspace > .panel-head { margin-bottom: 9px; padding-bottom: 9px; border-bottom: 1px solid var(--vx-color-border-subtle); }
body.vx-premium-shell:not(.pos-active) .commercial-core-workspace > .panel-head h2 { margin: 0; font-size: clamp(20px, 1.7vw, 26px); }
body.vx-premium-shell:not(.pos-active) .commercial-core-workspace > .panel-head p { margin: 2px 0 0; }
body.vx-premium-shell:not(.pos-active) .commercial-cycle-rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; margin-bottom: 10px; padding: 4px; border: 1px solid var(--vx-color-border-subtle); border-radius: var(--vx-radius-control); background: var(--vx-color-surface); }
body.vx-premium-shell:not(.pos-active) .commercial-cycle-rail button { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 35px; padding: 5px 9px; border: 1px solid transparent; border-radius: var(--vx-radius-control); background: transparent; color: var(--vx-color-text-secondary); text-align: left; cursor: pointer; }
body.vx-premium-shell:not(.pos-active) .commercial-cycle-rail button span { color: var(--vx-color-text-muted); font-size: 10px; letter-spacing: .08em; }
body.vx-premium-shell:not(.pos-active) .commercial-cycle-rail button.current { border-color: var(--vx-color-border-default); background: var(--vx-color-surface-hover); color: var(--vx-color-text-primary); font-weight: 700; }
body.vx-premium-shell:not(.pos-active) .commercial-cycle-rail button:not(.current):hover { color: var(--vx-color-text-primary); background: var(--vx-color-surface-hover); }
body.vx-premium-shell:not(.pos-active) .commercial-workspace-pulse { display: grid; grid-template-columns: minmax(130px, .75fr) minmax(90px, .5fr) minmax(180px, 1fr) minmax(170px, 1fr); min-width: 0; margin: 8px 0 10px; padding: 10px 12px; border: 1px solid var(--vx-color-border-default); border-left: 3px solid var(--vx-color-accent); border-radius: var(--vx-radius-control); background: var(--vx-color-surface); }
body.vx-premium-shell:not(.pos-active) .commercial-workspace-pulse:empty { display: none; }
body.vx-premium-shell:not(.pos-active) .commercial-workspace-pulse > div { display: grid; align-content: center; gap: 3px; min-width: 0; padding-inline: 12px; border-right: 1px solid var(--vx-color-border-subtle); }
body.vx-premium-shell:not(.pos-active) .commercial-workspace-pulse > div:first-child { padding-left: 0; }
body.vx-premium-shell:not(.pos-active) .commercial-workspace-pulse > div:last-child { border-right: 0; }
body.vx-premium-shell:not(.pos-active) .commercial-workspace-pulse small { color: var(--vx-color-text-muted); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
body.vx-premium-shell:not(.pos-active) .commercial-workspace-pulse strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-variant-numeric: tabular-nums; }
body.vx-premium-shell:not(.pos-active) .commercial-core-workspace .commercial-operational-kpis { margin: 4px 0 8px; gap: 7px; }
body.vx-premium-shell:not(.pos-active) .commercial-core-workspace .commercial-operational-kpis button { min-height: 60px; border-top: 2px solid var(--vx-color-accent); background: var(--vx-color-surface); }
body.vx-premium-shell:not(.pos-active) .commercial-core-workspace .commercial-operational-kpis strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 18px; }
body.vx-premium-shell:not(.pos-active) .commercial-core-workspace .commercial-operational-filters { gap: 6px; margin: 6px 0 10px; padding: 8px; border: 1px solid var(--vx-color-border-subtle); border-radius: var(--vx-radius-control); background: var(--vx-color-surface); }
body.vx-premium-shell:not(.pos-active) .commercial-core-workspace .commercial-operational-filters label { min-width: 0; }
body.vx-premium-shell:not(.pos-active) .commercial-core-workspace .commercial-operational-filters :is(input, select) { min-width: 0; }
body.vx-premium-shell:not(.pos-active) .commercial-core-workspace .commercial-operational-dataset { padding: 8px 10px 10px; border: 1px solid var(--vx-color-border-default); border-radius: var(--vx-radius-control); background: var(--vx-color-surface); }
body.vx-premium-shell:not(.pos-active) .commercial-core-workspace .commercial-operational-table .vx-table td { height: 39px; padding-block: 6px; }
body.vx-premium-shell:not(.pos-active) .commercial-core-workspace .commercial-operational-table .vx-table tbody tr:hover { background: var(--vx-color-surface-hover); }
body.vx-premium-shell:not(.pos-active) .commercial-core-workspace .commercial-operational-table .vx-table :is(th,td):first-child { width: 17%; }
body.vx-premium-shell:not(.pos-active) .commercial-core-workspace .commercial-operational-table .vx-table :is(th,td):nth-child(2) { width: 19%; }
body.vx-premium-shell:not(.pos-active) .commercial-core-workspace .commercial-operational-table .vx-table td[data-align='numeric'] { font-weight: 650; }
body.vx-premium-shell:not(.pos-active) .commercial-core-workspace .commercial-operational-table .commercial-customer-name { color: var(--vx-color-text-primary); font-weight: 600; }

body.vx-premium-shell:not(.pos-active) #peopleView.commercial-core-customers .customer-entity-directory { min-width: 0; padding: 10px; border: 1px solid var(--vx-color-border-default); border-radius: var(--vx-radius-control); background: var(--vx-color-surface); }
body.vx-premium-shell:not(.pos-active) #peopleView .customer-directory-search { display: flex; align-items: center; gap: 10px; margin: 8px 0; }
body.vx-premium-shell:not(.pos-active) #peopleView .customer-directory-search input { width: min(420px, 100%); }
body.vx-premium-shell:not(.pos-active) .commercial-customer-layout { display: grid; grid-template-columns: minmax(280px, .95fr) minmax(0, 1.45fr); gap: 10px; min-width: 0; }
body.vx-premium-shell:not(.pos-active) #commercialCustomerDirectory { display: grid; align-content: start; gap: 4px; min-width: 0; max-height: 600px; overflow-y: auto; }
body.vx-premium-shell:not(.pos-active) .commercial-customer-row { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; gap: 9px; width: 100%; min-width: 0; padding: 9px; border: 1px solid var(--vx-color-border-subtle); border-radius: var(--vx-radius-control); background: var(--vx-color-surface); color: var(--vx-color-text-primary); text-align: left; cursor: pointer; }
body.vx-premium-shell:not(.pos-active) .commercial-customer-row:hover, body.vx-premium-shell:not(.pos-active) .commercial-customer-row:focus-visible { border-color: var(--vx-color-accent); background: var(--vx-color-surface-hover); }
body.vx-premium-shell:not(.pos-active) .commercial-customer-row > span:nth-child(2) { min-width: 0; }
body.vx-premium-shell:not(.pos-active) .commercial-customer-row :is(strong,small) { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.vx-premium-shell:not(.pos-active) .commercial-customer-row small { color: var(--vx-color-text-muted); }
body.vx-premium-shell:not(.pos-active) .commercial-customer-avatar { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--vx-radius-control); background: var(--vx-color-surface-hover); color: var(--vx-color-accent-text); font-weight: 700; }
body.vx-premium-shell:not(.pos-active) .commercial-customer-tag { color: var(--vx-color-text-secondary); font-size: 11px; }
body.vx-premium-shell:not(.pos-active) .commercial-customer-graph { min-width: 0; padding: 16px; border: 1px solid var(--vx-color-border-default); border-radius: var(--vx-radius-control); background: var(--vx-color-surface); }
body.vx-premium-shell:not(.pos-active) .commercial-customer-graph h3 { margin: 3px 0; font-size: 20px; }
body.vx-premium-shell:not(.pos-active) .commercial-customer-graph p { color: var(--vx-color-text-secondary); }
body.vx-premium-shell:not(.pos-active) .commercial-customer-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 12px 0; }
body.vx-premium-shell:not(.pos-active) .commercial-customer-metrics button { display: grid; gap: 3px; min-width: 0; padding: 9px; border: 1px solid var(--vx-color-border-default); border-radius: var(--vx-radius-control); background: var(--vx-color-surface); color: var(--vx-color-text-primary); text-align: left; cursor: pointer; }
body.vx-premium-shell:not(.pos-active) .commercial-customer-metrics button:disabled { cursor: not-allowed; opacity: .65; }
body.vx-premium-shell:not(.pos-active) .commercial-customer-metrics button:not(:disabled):hover { border-color: var(--vx-color-accent); }
body.vx-premium-shell:not(.pos-active) .commercial-customer-metrics strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-variant-numeric: tabular-nums; }
body.vx-premium-shell:not(.pos-active) .commercial-customer-metrics :is(small,span), body.vx-premium-shell:not(.pos-active) .commercial-customer-basis { color: var(--vx-color-text-muted); font-size: 11px; }
body.vx-premium-shell:not(.pos-active) .commercial-customer-relations { display: grid; gap: 4px; }
body.vx-premium-shell:not(.pos-active) .commercial-customer-relations button { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; align-items: center; gap: 8px; min-width: 0; padding: 8px; border-bottom: 1px solid var(--vx-color-border-subtle); text-align: left; }
body.vx-premium-shell:not(.pos-active) .commercial-customer-relations strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
body.vx-premium-shell:not(.pos-active) .commercial-customer-master { margin-top: 10px; border-top: 1px solid var(--vx-color-border-subtle); }
body.vx-premium-shell:not(.pos-active) .commercial-customer-master > summary { padding: 10px 2px; color: var(--vx-color-text-secondary); cursor: pointer; }

@media (max-width: 1180px) {
  body.vx-premium-shell:not(.pos-active) #dashboardView .commercial-executive-context { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  body.vx-premium-shell:not(.pos-active) #dashboardView .commercial-executive-context .vx-dashboard-overview { display: block; }
  body.vx-premium-shell:not(.pos-active) #dashboardView .commercial-executive-context .vx-dashboard-overview p { margin: 0; }
  body.vx-premium-shell:not(.pos-active) .commercial-command-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.vx-premium-shell:not(.pos-active) .commercial-exposure-panel { grid-column: 1 / -1; }
  body.vx-premium-shell:not(.pos-active) #dashboardView .vx-dashboard-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  body.vx-premium-shell:not(.pos-active) .commercial-workspace-pulse { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.vx-premium-shell:not(.pos-active) .commercial-workspace-pulse > div:nth-child(2) { border-right: 0; }
  body.vx-premium-shell:not(.pos-active) .commercial-workspace-pulse > div { padding-block: 5px; }
  body.vx-premium-shell:not(.pos-active) .commercial-customer-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 620px) {
  body.vx-premium-shell:not(.pos-active) .commercial-command-board { grid-template-columns: minmax(0, 1fr); }
  body.vx-premium-shell:not(.pos-active) #dashboardView .vx-dashboard-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.vx-premium-shell:not(.pos-active) .commercial-cycle-rail button { justify-content: center; gap: 3px; padding-inline: 3px; font-size: 11px; }
  body.vx-premium-shell:not(.pos-active) .commercial-cycle-rail button span { display: none; }
  body.vx-premium-shell:not(.pos-active) .commercial-workspace-pulse { grid-template-columns: minmax(0, 1fr); }
  body.vx-premium-shell:not(.pos-active) .commercial-workspace-pulse > div { padding-inline: 0; border-right: 0; border-bottom: 1px solid var(--vx-color-border-subtle); }
  body.vx-premium-shell:not(.pos-active) .commercial-workspace-pulse > div:last-child { border-bottom: 0; }
  body.vx-premium-shell:not(.pos-active) .commercial-customer-metrics { grid-template-columns: minmax(0, 1fr); }
}
