/* OMNI-F10-E — Commerce final visual polish
 * Scope is intentionally restricted to the authenticated Commerce workspace.
 * No behavior, data, auth, backend, entitlement or write boundary is changed here.
 */

[data-mvx56-authenticated-commerce-exposure] {
  --f10e-panel: rgba(18, 11, 46, 0.88);
  --f10e-panel-soft: rgba(21, 14, 52, 0.68);
  --f10e-line: rgba(167, 139, 250, 0.16);
  --f10e-line-strong: rgba(167, 139, 250, 0.30);
  --f10e-glow: rgba(124, 58, 237, 0.20);
  background:
    radial-gradient(circle at 78% 8%, rgba(124, 58, 237, 0.10), transparent 29rem),
    radial-gradient(circle at 14% 42%, rgba(99, 102, 241, 0.06), transparent 34rem),
    #09051c !important;
}

/* Product-like top bar: keep the safety state, suppress gate/debug vocabulary. */
[data-mvx56-authenticated-commerce-exposure] > header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-color: rgba(167, 139, 250, 0.12) !important;
  background: rgba(10, 6, 28, 0.91) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px) saturate(135%);
}

[data-mvx56-authenticated-commerce-exposure] > header > div {
  min-height: 72px;
  max-width: 1536px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
}

[data-mvx56-authenticated-commerce-exposure] > header button {
  width: 42px !important;
  height: 42px !important;
  border-radius: 14px !important;
  border-color: var(--f10e-line) !important;
  background: linear-gradient(145deg, rgba(124, 58, 237, 0.14), rgba(18, 11, 46, 0.74)) !important;
}

[data-mvx56-authenticated-commerce-exposure] > header button + div::before {
  content: 'EROSIQ · COMMERCE INTELLIGENCE';
  display: block;
  margin-bottom: 4px;
  color: rgba(196, 181, 253, 0.78);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
}

[data-mvx56-authenticated-commerce-exposure] > header button + div > div:first-child {
  display: none !important;
}

[data-mvx56-authenticated-commerce-exposure] > header button + div > div:last-child {
  margin-top: 0 !important;
  font-size: 16px !important;
  letter-spacing: -0.015em;
}

[data-mvx56-authenticated-commerce-exposure] > header > div > div:last-child {
  border-color: rgba(52, 211, 153, 0.15) !important;
  background: rgba(16, 185, 129, 0.055) !important;
  padding: 8px 12px !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.01);
}

/* Overall density and width closer to the main iGaming dashboard. */
[data-mvx56-authenticated-commerce-exposure] > main {
  max-width: 1536px !important;
  padding-top: 24px !important;
  padding-bottom: 52px !important;
}

/* Executive hero. */
[data-mvx56-authenticated-commerce-exposure] > main > section:nth-of-type(1) {
  min-height: 218px;
  border-color: var(--f10e-line-strong) !important;
  background:
    radial-gradient(circle at 82% 20%, rgba(124, 58, 237, 0.19), transparent 18rem),
    linear-gradient(125deg, rgba(55, 25, 112, 0.34), rgba(18, 11, 46, 0.94) 48%, rgba(13, 8, 34, 0.96)) !important;
  box-shadow: 0 26px 70px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.025) !important;
}

[data-mvx56-authenticated-commerce-exposure] > main > section:nth-of-type(1) h1 {
  text-shadow: 0 8px 36px rgba(124, 58, 237, .18);
}

[data-mvx56-authenticated-commerce-exposure] > main > section:nth-of-type(1) > div > div:last-child {
  border-color: rgba(52, 211, 153, 0.14) !important;
  background: linear-gradient(145deg, rgba(16,185,129,.055), rgba(9,5,28,.50)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02);
}

/* KPI row: stronger visual weight while preserving real/unknown values. */
[data-mvx56-authenticated-commerce-exposure] > main > section:nth-of-type(2) > div {
  min-height: 146px;
  border-radius: 22px !important;
  border-color: rgba(167, 139, 250, 0.14) !important;
  background:
    linear-gradient(150deg, rgba(124,58,237,.055), rgba(18,11,46,.90) 45%, rgba(13,8,34,.94)) !important;
  box-shadow: 0 18px 42px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.02) !important;
}

[data-mvx56-authenticated-commerce-exposure] > main > section:nth-of-type(2) > div:hover {
  transform: translateY(-2px);
  border-color: rgba(167, 139, 250, 0.28) !important;
  box-shadow: 0 22px 50px rgba(0,0,0,.22), 0 0 30px rgba(124,58,237,.055) !important;
}

[data-mvx56-authenticated-commerce-exposure] > main > section:nth-of-type(2) > div > div:nth-child(2) {
  font-size: 34px !important;
  line-height: 1 !important;
}

/* Experience switcher: compact, premium segmented-control feel. */
[data-mvx56-authenticated-commerce-exposure] > main > section:nth-of-type(3) {
  border-color: rgba(167,139,250,.12) !important;
  background: rgba(15, 9, 39, .72) !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.12) !important;
}

[data-mvx56-authenticated-commerce-exposure] > main > section:nth-of-type(3) button {
  border-radius: 16px !important;
}

/* Main module surface. */
[data-mvx56-authenticated-commerce-exposure] > main > section:nth-of-type(4) {
  border-color: rgba(167,139,250,.17) !important;
  background: rgba(15, 9, 39, .84) !important;
  box-shadow: 0 28px 80px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.018) !important;
}

/* Replace internal wiring vocabulary in the visible shell with product language. */
[data-mvx56-authenticated-commerce-exposure] > main > section:nth-of-type(4) > div:first-child [class*="tracking-[0.26em]"] {
  font-size: 0 !important;
}

[data-mvx56-authenticated-commerce-exposure] > main > section:nth-of-type(4) > div:first-child [class*="tracking-[0.26em]"]::after {
  content: 'MÓDULOS COMMERCE';
  font-size: 9px;
  letter-spacing: .26em;
}

/* Sidebar hierarchy aligned to the iGaming navigation density. */
[data-mvx56-authenticated-commerce-exposure] > main > section:nth-of-type(4) nav {
  background:
    linear-gradient(180deg, rgba(26,16,61,.88), rgba(12,7,31,.72)) !important;
  padding: 16px 12px !important;
}

[data-mvx56-authenticated-commerce-exposure] > main > section:nth-of-type(4) nav button {
  min-height: 54px;
  border-radius: 14px !important;
  padding: 9px 11px !important;
}

[data-mvx56-authenticated-commerce-exposure] > main > section:nth-of-type(4) nav button > div:nth-child(2) > div:nth-child(2) {
  display: none !important;
}

[data-mvx56-authenticated-commerce-exposure] > main > section:nth-of-type(4) nav button[data-omni-f9d-live-bound="true"] > div:nth-child(2)::after {
  content: 'Leitura disponível';
  display: block;
  margin-top: 4px;
  color: rgba(110, 231, 183, .72);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

[data-mvx56-authenticated-commerce-exposure] > main > section:nth-of-type(4) nav button:not([data-omni-f9d-live-bound="true"]) > div:nth-child(2)::after {
  content: 'Visão do módulo';
  display: block;
  margin-top: 4px;
  color: rgba(148, 163, 184, .70);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Workspace content: suppress certification prose from the default commercial view. */
[data-mvx56-authenticated-commerce-exposure] [data-omni-f9d-active-workspace] {
  background:
    radial-gradient(circle at 92% 2%, rgba(124,58,237,.055), transparent 24rem);
}

[data-mvx56-authenticated-commerce-exposure] [data-omni-f9d-active-workspace] > div:first-child > div:first-child > div:last-child > div:first-child {
  font-size: 0 !important;
}

[data-mvx56-authenticated-commerce-exposure] [data-omni-f9d-active-workspace] > div:first-child > div:first-child > div:last-child > div:first-child::after {
  content: 'VISÃO EXECUTIVA';
  color: rgb(196 181 253);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .24em;
}

/* The explanatory auth/read-context panel remains in DOM for tests/audit but not as a dominant UI block. */
[data-mvx56-authenticated-commerce-exposure] [data-omni-f9d-active-workspace] > div:nth-child(2) {
  display: none !important;
}

/* Overview empty/composition state becomes an executive readiness canvas instead of a QA panel. */
[data-mvx56-authenticated-commerce-exposure] [data-omni-f9d-active-workspace="overview"] > div:nth-child(3) {
  grid-template-columns: minmax(0, 1fr) !important;
  margin-top: 28px !important;
}

[data-mvx56-authenticated-commerce-exposure] [data-omni-f9d-active-workspace="overview"] > div:nth-child(3) > div:first-child {
  min-height: 245px;
  border-radius: 24px !important;
  border-color: rgba(167,139,250,.18) !important;
  background:
    radial-gradient(circle at 90% 16%, rgba(124,58,237,.12), transparent 18rem),
    linear-gradient(145deg, rgba(124,58,237,.085), rgba(18,11,46,.88) 48%, rgba(13,8,34,.94)) !important;
  box-shadow: 0 22px 58px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.02);
}

[data-mvx56-authenticated-commerce-exposure] [data-omni-f9d-active-workspace="overview"] > div:nth-child(3) > div:last-child {
  display: none !important;
}

[data-mvx56-authenticated-commerce-exposure] [data-omni-f9d-active-workspace="overview"] > div:nth-child(3) > div:first-child > div:first-child > div:first-child > div:first-child {
  display: none !important;
}

[data-mvx56-authenticated-commerce-exposure] [data-omni-f9d-active-workspace="overview"] > div:nth-child(3) > div:first-child > div:first-child > div:first-child > div:nth-child(2) {
  font-size: 0 !important;
}

[data-mvx56-authenticated-commerce-exposure] [data-omni-f9d-active-workspace="overview"] > div:nth-child(3) > div:first-child > div:first-child > div:first-child > div:nth-child(2)::after {
  content: 'Visão executiva do módulo';
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.02em;
}

[data-mvx56-authenticated-commerce-exposure] [data-omni-f9d-active-workspace="overview"] > div:nth-child(3) > div:first-child > p {
  max-width: 780px !important;
  font-size: 0 !important;
}

[data-mvx56-authenticated-commerce-exposure] [data-omni-f9d-active-workspace="overview"] > div:nth-child(3) > div:first-child > p::after {
  content: 'A experiência está preparada para apresentar indicadores operacionais assim que a leitura certificada estiver disponível para este módulo.';
  color: rgb(148 163 184);
  font-size: 12px;
  line-height: 1.75;
}

[data-mvx56-authenticated-commerce-exposure] [data-omni-f9d-active-workspace="overview"] > div:nth-child(3) > div:first-child > div:last-child > div {
  min-height: 100px;
  border-radius: 16px !important;
  border-color: rgba(167,139,250,.13) !important;
  background: rgba(9,5,28,.42) !important;
  padding: 18px !important;
}

[data-mvx56-authenticated-commerce-exposure] [data-omni-f9d-active-workspace="overview"] > div:nth-child(3) > div:first-child > div:last-child > div > div:last-child {
  font-size: 0 !important;
}

[data-mvx56-authenticated-commerce-exposure] [data-omni-f9d-active-workspace="overview"] > div:nth-child(3) > div:first-child > div:last-child > div > div:last-child::after {
  content: 'Disponível nesta experiência';
  color: rgba(148,163,184,.78);
  font-size: 10px;
  line-height: 1.4;
}

/* Technical authority triplet is retained in DOM but removed from the default sales/product surface. */
[data-mvx56-authenticated-commerce-exposure] [data-omni-f9d-active-workspace] > div:last-child.grid {
  display: none !important;
}

/* Live data surfaces: remove backend implementation vocabulary and strengthen data cards. */
[data-mvx56-authenticated-commerce-exposure] [data-omni-f9d-active-workspace] table {
  font-variant-numeric: tabular-nums;
}

[data-mvx56-authenticated-commerce-exposure] [data-omni-f9d-active-workspace] [data-omni-f9d-analytics-snapshot] > div:last-child {
  display: none !important;
}

[data-mvx56-authenticated-commerce-exposure] [data-omni-f9d-active-workspace] [data-omni-f9d-analytics-snapshot] > div > div {
  border-radius: 20px !important;
  border-color: rgba(167,139,250,.14) !important;
  background: linear-gradient(145deg, rgba(124,58,237,.06), rgba(18,11,46,.86)) !important;
}

/* Certification footer remains in source/DOM for evidence but no longer dominates the commercial UI. */
[data-mvx56-authenticated-commerce-exposure] > main > footer {
  display: none !important;
}

/* Subtle responsive tightening. */
@media (max-width: 1023px) {
  [data-mvx56-authenticated-commerce-exposure] > main {
    padding-top: 18px !important;
  }

  [data-mvx56-authenticated-commerce-exposure] > main > section:nth-of-type(1) {
    min-height: 0;
  }

  [data-mvx56-authenticated-commerce-exposure] > main > section:nth-of-type(4) nav button > div:nth-child(2)::after {
    display: none !important;
  }
}

@media (max-width: 639px) {
  [data-mvx56-authenticated-commerce-exposure] > header > div {
    min-height: 62px;
  }

  [data-mvx56-authenticated-commerce-exposure] > header button + div::before {
    letter-spacing: .14em;
  }

  [data-mvx56-authenticated-commerce-exposure] > main > section:nth-of-type(2) > div {
    min-height: 126px;
  }

  [data-mvx56-authenticated-commerce-exposure] [data-omni-f9d-active-workspace="overview"] > div:nth-child(3) > div:first-child {
    min-height: 0;
  }
}
